.ekp-ot-tracking {
    margin: 24px 0;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fafafa;
}

.ekp-ot-title {
    margin: 0 0 8px;
    font-size: 1.2em;
}

.ekp-ot-meta {
    margin: 0 0 18px;
    color: #555;
}

.ekp-ot-number {
    font-family: monospace;
    font-weight: 600;
}

.ekp-ot-empty {
    color: #777;
    margin: 0;
}

.ekp-ot-alert {
    padding: 12px 14px;
    margin-bottom: 14px;
    border-radius: 6px;
    background: #fdecea;
    border: 1px solid #f5c2c0;
    color: #7a2a20;
}

.ekp-ot-alert p {
    margin: 6px 0 0;
}

.ekp-ot-steps {
    display: flex;
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}

.ekp-ot-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.ekp-ot-step::before {
    content: "";
    position: absolute;
    top: 7px;
    inset-inline-start: -50%;
    width: 100%;
    height: 2px;
    background: #dcdcdc;
    z-index: 0;
}

.ekp-ot-step:first-child::before {
    content: none;
}

.ekp-ot-step--done::before,
.ekp-ot-step--active::before {
    background: #4caf50;
}

.ekp-ot-step-dot {
    display: block;
    width: 16px;
    height: 16px;
    margin: 0 auto 6px;
    border-radius: 50%;
    background: #dcdcdc;
    position: relative;
    z-index: 1;
}

.ekp-ot-step--done .ekp-ot-step-dot {
    background: #4caf50;
}

.ekp-ot-step--active .ekp-ot-step-dot {
    background: #2271b1;
    box-shadow: 0 0 0 4px rgba(34, 113, 177, 0.15);
}

.ekp-ot-step-label {
    display: block;
    font-size: 0.8em;
    color: #555;
}

.ekp-ot-step--active .ekp-ot-step-label {
    color: #2271b1;
    font-weight: 600;
}

.ekp-ot-status-line {
    font-size: 1.05em;
    font-weight: 600;
    margin: 4px 0;
}

.ekp-ot-synced {
    margin: 0 0 10px;
    color: #777;
    font-size: 0.85em;
}

.ekp-ot-history summary {
    cursor: pointer;
    color: #2271b1;
    font-size: 0.9em;
}

.ekp-ot-history ul {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    border-inline-start: 2px solid #e0e0e0;
}

.ekp-ot-history li {
    padding: 0 0 12px 14px;
    margin-inline-start: -1px;
    padding-inline-start: 14px;
}

.ekp-ot-event-time {
    display: block;
    font-size: 0.78em;
    color: #999;
    font-family: monospace;
}

.ekp-ot-event-desc {
    display: block;
    font-size: 0.92em;
    color: #333;
}

@media (max-width: 480px) {
    .ekp-ot-step-label {
        font-size: 0.7em;
    }
}
