/* Existing Tyre Performance page styles, extracted from Razor. */
.tp-archive-details {
    margin-top: 9px;
    padding: 9px 12px;
    border: 1px solid #d6dde6;
    border-radius: 6px;
}

    .tp-archive-details > summary {
        cursor: pointer;
        font-size: 11px;
        color: #536174;
    }

.tp-lost-switch {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

    .tp-lost-switch span {
        font-size: 10px;
        font-weight: 600;
    }


/* =========================================================
                               PAGE
                               ========================================================= */

.tp-page-header {
    margin-bottom: 18px;
}

.tp-page-title {
    font-size: 24px;
    font-weight: 700;
    color: #222;
}

.tp-page-subtitle {
    margin-top: 3px;
    font-size: 13px;
    color: #777;
}

.tp-workspace {
    width: 100%;
}


/* =========================================================
                               STORE OVERVIEW DASHBOARD
                               ========================================================= */

.tp-store-overview {
    margin: 0 0 20px;
}

.tp-store-overview-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.tp-store-overview-title {
    font-size: 17px;
    font-weight: 750;
    color: #1f2940;
}

.tp-store-overview-subtitle {
    margin-top: 3px;
    color: #64748b;
    font-size: 12px;
}

.tp-store-overview-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.tp-store-overview-card {
    min-width: 0;
    background: #fff;
    border: 1px solid #dde3eb;
    border-top: 4px solid #2544a2;
    border-radius: 9px;
    padding: 17px 18px 15px;
    box-shadow: 0 2px 9px rgba(30, 45, 75, 0.04);
}

    .tp-store-overview-card.trucks {
        border-top-color: #00be44;
    }

.tp-store-overview-card-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.45px;
    color: #5a6679;
}

.tp-store-overview-card-number {
    color: #2443a2;
    font-size: 35px;
    font-weight: 800;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    margin: 9px 0 5px;
}

.tp-store-overview-card.trucks .tp-store-overview-card-number {
    color: #008d39;
}

.tp-store-overview-card-caption {
    color: #7d8795;
    font-size: 11px;
}

.tp-store-overview-alert {
    font-size: 12px;
    color: #9b3d25;
    padding: 8px 2px;
}

@media (max-width: 700px) {
    .tp-store-overview-cards {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .tp-store-overview-card {
        padding: 11px 14px;
    }

    .tp-store-overview-card-number {
        font-size: 27px;
        margin: 5px 0 3px;
    }
}

/* =========================================================
                               SEARCH
                               ========================================================= */

.tp-search-panel {
    padding: 8px 4px;
}

.tp-search-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.tp-search-description {
    font-size: 12px;
    color: #777;
    line-height: 1.5;
    margin-bottom: 20px;
}

.tp-search-field {
    margin-bottom: 16px;
}

    .tp-search-field label {
        display: block;
        font-size: 12px;
        font-weight: 700;
        color: #444;
        margin-bottom: 6px;
    }

.tp-search-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
}

.tp-active-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* =========================================================
                               GENERAL CARDS
                               ========================================================= */

.tp-content-card {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    overflow: hidden;
}

.tp-section-header {
    min-height: 72px;
    padding: 15px 18px;
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.tp-section-title {
    font-size: 17px;
    font-weight: 700;
}

.tp-section-subtitle {
    color: #777;
    font-size: 12px;
    margin-top: 3px;
}


/* =========================================================
                               ACTIVE FLEET BANNER
                               ========================================================= */

.tp-active-fleet {
    padding: 17px 20px;
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    margin-bottom: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.tp-active-fleet-left {
    display: flex;
    align-items: stretch;
    gap: 13px;
    min-width: 0;
}

.tp-active-indicator {
    width: 5px;
    min-height: 62px;
    flex: 0 0 5px;
    border-radius: 5px;
    background: #2d9c5a;
}

.tp-active-label {
    font-size: 10px;
    font-weight: 700;
    color: #777;
    letter-spacing: .8px;
}

.tp-active-name {
    font-size: 23px;
    font-weight: 700;
    margin-top: 2px;
}

.tp-active-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-top: 6px;
    font-size: 12px;
    color: #666;
}

.tp-meta-divider {
    color: #aaa;
}

.tp-active-fleet-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}


/* =========================================================
                               STATUS
                               ========================================================= */

.tp-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
}

.tp-status-active {
    background: #e8f6ed;
    color: #267646;
}

.tp-status-inactive {
    background: #f0f0f0;
    color: #666;
}


/* =========================================================
                               DASHBOARD STATS
                               ========================================================= */

.tp-stats {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 46px;
    flex-wrap: wrap;
    margin: 28px 0 30px 0;
}

.tp-stat-wrapper {
    border: none;
    background: transparent;
    padding: 0;
    text-align: center;
    color: inherit;
    font: inherit;
}

button.tp-stat-wrapper {
    cursor: pointer;
}

.tp-stat-circle {
    width: 128px;
    height: 128px;
    border: 5px solid #d9e5ef;
    border-radius: 50%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
}

    .tp-stat-circle strong {
        font-size: 31px;
        line-height: 1;
        color: #222;
    }

    .tp-stat-circle span {
        font-size: 11px;
        font-weight: 700;
        margin-top: 7px;
        text-transform: uppercase;
        color: #777;
    }

.tp-stat-caption {
    font-size: 11px;
    color: #777;
    margin-top: 8px;
}


/* =========================================================
                               DASHBOARD ACTIONS
                               ========================================================= */

.tp-dashboard-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.tp-history-card {
    margin-top: 8px;
}


/* =========================================================
                               WINDOWS
                               ========================================================= */

.tp-edit-wrapper {
    padding: 10px;
}

.tp-reference-box {
    background: #f5f7f9;
    border: 1px solid #e2e5e8;
    border-radius: 6px;
    padding: 11px 14px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .tp-reference-box span {
        color: #777;
        font-size: 11px;
        font-weight: 600;
    }

    .tp-reference-box strong {
        font-size: 14px;
    }

.tp-edit-table {
    width: 100%;
}

    .tp-edit-table td:first-child {
        width: 190px;
        vertical-align: top;
        font-weight: 600;
        padding-top: 10px;
    }

    .tp-edit-table td:last-child {
        width: auto;
    }

.tp-field-help {
    margin-top: 5px;
    color: #888;
    font-size: 11px;
}

.tp-switch-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tp-window-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 22px;
    padding-top: 15px;
    border-top: 1px solid #e3e3e3;
}

.tp-truck-window {
    padding: 4px;
}

.tp-window-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.tp-window-heading-title {
    font-size: 18px;
    font-weight: 700;
}

.tp-window-heading-subtitle {
    font-size: 11px;
    color: #777;
    margin-top: 3px;
}


/* =========================================================
                               ASSESSMENT CONTEXT
                               ========================================================= */

.tp-assessment-context {
    padding: 16px 19px;
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.tp-assessment-fleet {
    font-size: 22px;
    font-weight: 700;
    margin-top: 2px;
}

.tp-assessment-truck {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

.tp-assessment-body {
    padding: 18px;
}


/* =========================================================
                               ASSESSMENT SELECTOR
                               ========================================================= */

.tp-assessment-selector-card {
    background: #f7f9fb;
    border: 1px solid #e0e5e9;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.tp-assessment-question {
    font-size: 16px;
    font-weight: 700;
}

.tp-assessment-help {
    margin-top: 3px;
    font-size: 11px;
    color: #777;
    line-height: 1.45;
}

.tp-assessment-section-selector {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}


/* =========================================================
                               ASSESSMENT GROUPS
                               ========================================================= */

.tp-assessment-group {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e4e4e4;
}

    .tp-assessment-group:first-of-type {
        margin-top: 8px;
    }

.tp-assessment-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 14px;
}

.tp-assessment-group-title {
    font-size: 19px;
    font-weight: 700;
}

.tp-assessment-group-subtitle {
    font-size: 11px;
    color: #777;
    margin-top: 2px;
}

.tp-axle-block {
    padding: 12px 0 4px 0;
}

.tp-axle-heading {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 9px;
    padding-left: 2px;
}

.tp-position-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.tp-assessment-empty {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #888;
    font-size: 13px;
}

.tp-assessment-bottom-actions {
    position: sticky;
    bottom: 0;
    z-index: 5;
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid #e0e0e0;
    margin: 22px -18px -18px -18px;
    padding: 12px 18px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}


/* =========================================================
                               EMPTY
                               ========================================================= */

.tp-empty-state {
    min-height: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #888;
    gap: 8px;
}

    .tp-empty-state .k-svg-icon,
    .tp-empty-state .k-font-icon {
        font-size: 34px;
    }

.tp-empty-small {
    min-height: 220px;
}

.tp-empty-history {
    min-height: 170px;
}

.tp-empty-title {
    color: #333;
    font-size: 16px;
    font-weight: 700;
}

.tp-empty-text {
    font-size: 12px;
    max-width: 390px;
    line-height: 1.5;
    margin-bottom: 6px;
}


/* =========================================================
                               VALIDATION
                               ========================================================= */

.tp-validation {
    padding: 10px 12px;
    background: #fff0f0;
    color: #a4262c;
    border: 1px solid #f2c4c4;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 12px;
    font-weight: 600;
}




/* =========================================================
                               ASSESSMENT HISTORY / DETAILS
                               ========================================================= */

.tp-assessment-history-grid {
    padding: 15px;
}

.tp-assessment-details {
    padding: 8px;
}

.tp-assessment-detail-header {
    border: 1px solid #dfe3e7;
    border-radius: 9px;
    background: #f7f8f9;
    padding: 16px;
    margin-bottom: 18px;
}

.tp-assessment-detail-reference {
    margin-bottom: 15px;
}

    .tp-assessment-detail-reference span {
        display: block;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        color: #777;
        margin-bottom: 3px;
    }

    .tp-assessment-detail-reference strong {
        font-size: 21px;
    }

.tp-assessment-detail-info {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

    .tp-assessment-detail-info > div {
        min-width: 0;
    }

    .tp-assessment-detail-info span {
        display: block;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        color: #888;
        margin-bottom: 3px;
    }

    .tp-assessment-detail-info strong {
        font-size: 13px;
    }

.tp-assessment-detail-section {
    margin-top: 10px;
}

.tp-assessment-detail-section-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
}

.tp-assessment-detail-grid {
    width: 100%;
    overflow-x: auto;
}

/* =========================================================
                               TABLET
                               ========================================================= */

@media (max-width: 1000px) {

    .tp-active-fleet {
        align-items: flex-start;
        flex-direction: column;
    }

    .tp-active-fleet-right {
        width: 100%;
    }

    .tp-assessment-selector-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .tp-assessment-section-selector {
        justify-content: flex-start;
    }

    .tp-assessment-detail-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
                               MOBILE
                               ========================================================= */

@media (max-width: 700px) {

    .tp-page-title {
        font-size: 20px;
    }

    .tp-active-fleet {
        padding: 13px;
    }

    .tp-active-name {
        font-size: 20px;
    }

    .tp-active-fleet-right {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 7px;
    }

        .tp-active-fleet-right .tp-status {
            grid-column: 1 / -1;
            justify-self: start;
        }


    .tp-stats {
        gap: 14px;
        justify-content: space-around;
        margin: 20px 0;
    }

    .tp-stat-circle {
        width: 94px;
        height: 94px;
        border-width: 4px;
    }

        .tp-stat-circle strong {
            font-size: 24px;
        }

        .tp-stat-circle span {
            font-size: 9px;
        }

    .tp-stat-caption {
        max-width: 100px;
        font-size: 9px;
    }


    .tp-dashboard-actions {
        display: grid;
        grid-template-columns: 1fr;
    }


    .tp-assessment-context {
        flex-direction: column;
        align-items: stretch;
    }

    .tp-assessment-fleet {
        font-size: 19px;
    }


    .tp-assessment-body {
        padding: 12px;
    }

    .tp-assessment-section-selector {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

        .tp-assessment-section-selector .k-button {
            width: 100%;
        }


    .tp-assessment-group-header {
        align-items: stretch;
        flex-direction: column;
    }

    .tp-position-grid {
        grid-template-columns: 1fr;
    }

    .tp-assessment-bottom-actions {
        margin-left: -12px;
        margin-right: -12px;
        margin-bottom: -12px;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }


    .tp-edit-table,
    .tp-edit-table tbody,
    .tp-edit-table tr,
    .tp-edit-table td {
        display: block;
        width: 100% !important;
    }

        .tp-edit-table td:first-child {
            padding-bottom: 4px;
        }

        .tp-edit-table td:last-child {
            padding-top: 0;
            margin-bottom: 9px;
        }

    .tp-window-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .tp-assessment-detail-info {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
                               VIRTUAL TRUCK
                         ========================================================= */

.tp-axle-configuration {
    width: 100%;
    max-width: 760px;
    margin: 0 auto 18px auto;
    padding: 14px;
    border: 1px solid #e0e5e9;
    border-radius: 8px;
    background: #f7f9fb;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.tp-axle-config-field {
    min-width: 0;
}

/* Shared assessment panel: centered axle controls inside the blue box. */
.tp-assessment-axle-panel {
    width: min(100%, 880px);
    box-sizing: border-box;
    margin: 4px auto 10px;
    padding: 15px 18px 18px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid #cbddeb;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(27, 75, 111, .055);
}

.tp-assessment-axle-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 13px;
    text-align: center;
}

    .tp-assessment-axle-heading strong {
        font-size: 12px;
        letter-spacing: .06em;
        color: #254c68;
    }

    .tp-assessment-axle-heading span {
        font-size: 11px;
        color: #6b7c8d;
    }

.tp-assessment-axle-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.tp-assessment-axle-card {
    min-width: 0;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #dce7f0;
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

    .tp-assessment-axle-card label {
        display: block;
        margin-bottom: 10px;
        color: #29475d;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .025em;
    }

    .tp-assessment-axle-card > span {
        display: block;
        margin-top: 9px;
        min-height: 16px;
        color: #738499;
        font-size: 10px;
        line-height: 1.45;
    }

.tp-assessment-axle-select {
    width: 100%;
    min-width: 0;
}

    /* Contain the Telerik input and arrow on ONE line, even with site-wide KPS styles. */
    .tp-assessment-axle-select .k-picker,
    .tp-assessment-axle-select .k-dropdownlist {
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        width: 100% !important;
        min-height: 42px !important;
        height: 42px !important;
        box-sizing: border-box;
        overflow: hidden;
        border: 1px solid #bed1e0;
        border-radius: 7px;
        background: #fff;
        font-size: 12px;
    }

    .tp-assessment-axle-select .k-input-inner {
        display: flex !important;
        flex: 1 1 auto !important;
        align-items: center;
        justify-content: center;
        min-width: 0;
        height: 100% !important;
        padding: 0 12px !important;
        line-height: 1.2 !important;
        text-align: center;
        white-space: nowrap;
    }

    .tp-assessment-axle-select .k-input-button {
        display: inline-flex !important;
        flex: 0 0 42px !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px !important;
        min-width: 42px !important;
        height: 40px !important;
        margin: 0 !important;
        border-radius: 0 !important;
        border-left: 1px solid #e2eaf1;
    }

    .tp-assessment-axle-select .k-picker:focus-within {
        outline: 2px solid #78afd5;
        outline-offset: 1px;
    }

@media (max-width: 700px) {
    .tp-assessment-axle-panel {
        padding: 12px;
    }

    .tp-assessment-axle-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.tp-axle-config-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #444;
}

.tp-axle-config-field span {
    display: block;
    margin-top: 5px;
    font-size: 9px;
    color: #888;
}

.tp-virtual-section-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.tp-wheel-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 24px;
    font-size: 11px;
    color: #666;
}

    .tp-wheel-legend > div {
        display: flex;
        align-items: center;
        gap: 6px;
    }

.tp-legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
}

.tp-legend-empty {
    background: #4b5563;
}

.tp-legend-partial {
    background: #eab308;
}

.tp-legend-complete {
    background: #16a34a;
}


.tp-virtual-truck-wrap {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 12px 0 25px 0;
}


.tp-virtual-direction {
    display: grid;
    grid-template-columns: 1fr 180px 1fr;
    align-items: center;
    text-align: center;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
    color: #555;
}

.tp-virtual-direction-bottom {
    margin-top: 16px;
    margin-bottom: 0;
}


.tp-virtual-row {
    display: grid;
    grid-template-columns: minmax(170px, 1fr) 180px minmax(170px, 1fr);
    align-items: center;
    min-height: 74px;
}


.tp-wheel-side {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tp-wheel-side-left {
    justify-content: flex-end;
}

.tp-wheel-side-right {
    justify-content: flex-start;
}

.tp-wheel-unit {
    min-width: 66px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}


.tp-wheel-position-label {
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}


.tp-tyre-wheel {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 1px #c8c8c8;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease;
}

    .tp-tyre-wheel:hover {
        transform: scale(1.08);
    }

.tp-tyre-wheel-empty {
    background: #4b5563;
}

.tp-tyre-wheel-test-active {
    background: #1674d1;
}

.tp-legend-test-active {
    background: #1674d1;
}

.tp-assessment-trailer-status {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px;
    margin: 8px 0;
    background: #eef6ff;
    border: 1px solid #bdd8f5;
    border-radius: 6px;
}

.tp-tyre-wheel-partial {
    background: #eab308;
}

.tp-tyre-wheel-complete {
    background: #16a34a;
}

.tp-tyre-wheel-selected {
    box-shadow: 0 0 0 3px #2e78c7, 0 0 0 5px white;
}


.tp-truck-section {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 700;
    border-radius: 3px;
    color: #fff;
}

.tp-truck-steer {
    background: #5661d8;
}

.tp-truck-drive {
    background: #3698a2;
    border-bottom: 2px solid #24727b;
}

.tp-truck-trailer {
    color: #333;
    background: #d5d5d5;
}


.tp-virtual-section-gap {
    height: 18px;
}


.tp-virtual-axle-actions {
    width: 100%;
    max-width: 560px;
    margin: 9px auto 6px auto;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.tp-max-axle-message {
    text-align: center;
    font-size: 10px;
    color: #888;
    margin-top: 5px;
}


.tp-position-popup {
    padding: 5px;
}


.tp-remove-confirm {
    padding: 15px;
}

.tp-remove-confirm-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.tp-remove-confirm-message {
    font-size: 13px;
    line-height: 1.5;
}

.tp-remove-confirm-warning {
    margin-top: 9px;
    padding: 8px 10px;
    border-radius: 5px;
    background: #fff6dd;
    color: #705900;
    font-size: 11px;
}



@media (max-width: 700px) {

    .tp-axle-configuration {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .tp-virtual-truck-wrap {
        max-width: 100%;
    }

    .tp-virtual-direction {
        grid-template-columns: 1fr 120px 1fr;
    }

    .tp-virtual-row {
        grid-template-columns: minmax(88px, 1fr) 120px minmax(88px, 1fr);
        min-height: 68px;
    }

    .tp-truck-section {
        min-height: 58px;
        font-size: 14px;
    }

    .tp-tyre-wheel {
        width: 34px;
        height: 34px;
        min-width: 34px;
        border-width: 3px;
    }

    .tp-wheel-position-label {
        font-size: 9px;
    }

    .tp-wheel-side {
        gap: 4px;
    }

    .tp-wheel-unit {
        min-width: 48px;
        gap: 3px;
    }

    .tp-virtual-axle-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .tp-virtual-section-buttons {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

        .tp-virtual-section-buttons .k-button {
            width: 100%;
        }

    .tp-wheel-legend {
        gap: 9px;
        font-size: 9px;
    }
}


/* Required fields and assessment completion - compact above each input/wheel. */
.tp-required-star {
    color: #c62828;
    font-weight: 800;
}

.tp-capture-incomplete, .tp-capture-complete {
    font-size: 10px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 4px;
}

.tp-capture-incomplete {
    color: #be212b;
}

.tp-capture-complete {
    color: #13803d;
}

.tp-position-indicator {
    display: block;
    text-align: center;
    max-width: 120px;
    margin: 2px auto 5px;
}

.tp-assessment-odometer:focus, [tabindex="-1"]:focus {
    outline: 2px solid #be212b;
    outline-offset: 2px;
}

.tp-quick-notes {
    padding: 12px 14px;
    border: 1px solid #dce4ec;
    border-radius: 8px;
    margin: 0 0 16px;
}

.tp-quick-note-entry {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 7px 0;
}

    .tp-quick-note-entry input {
        flex: 1;
        min-width: 0;
        padding: 8px 10px;
        border: 1px solid #c9d5dd;
        border-radius: 4px;
    }

.tp-captured-notes {
    margin: 8px 0 6px;
    padding-left: 24px;
    font-size: 12px;
}

    .tp-captured-notes li {
        margin: 4px 0;
        overflow-wrap: anywhere;
    }




/* Fleet creator information */

.tp-fleet-creator-info {
    margin-top: 24px;
    margin-left: 6px;
    padding: 12px 14px;
    max-width: 430px;
    color: #222;
    font-size: 13px;
    line-height: 1.8;
}

.tp-fleet-creator-title {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
}

.tp-fleet-creator-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 3px;
}

    .tp-fleet-creator-row strong {
        flex: 0 0 105px;
        font-weight: 600;
    }

    .tp-fleet-creator-row span {
        flex: 1;
        overflow-wrap: anywhere;
    }
