/* One-row dispatch distribution. Data endpoint and calculation stay unchanged. */
.ods {
    --ods-ink: #263b36;
    --ods-muted: #65756f;
    --ods-strip-1: #4f8f83;
    --ods-strip-2: #2f6e63;
    --ods-strip-3: #4d7f88;
    --ods-strip-4: #647b8b;
    --ods-strip-5: #8b6f45;
    box-sizing: border-box;
    width: calc(100% - 48px);
    max-width: calc(100% - 48px);
    margin: 0 24px 20px;
    padding: 18px 22px 16px;
    overflow: hidden;
    border: 1px solid #e2e8e5;
    border-radius: 12px;
    color: var(--ods-ink);
    background: linear-gradient(125deg, #f5faf8 0%, #fff 68%);
    box-shadow: 0 8px 26px rgba(25, 62, 53, .055), inset 0 1px 0 rgba(255, 255, 255, .9);
    font-family: inherit;
    font-size: 13px;
    line-height: 1.6;
    text-align: left;
}

.ods * { box-sizing: border-box; }

.ods .ods-heading-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 18px;
    margin: 0 0 8px;
    padding: 0 0 10px;
    border-bottom: 1px solid #edf0ee;
}

.ods h2#ods-heading {
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--ods-ink);
    background: none;
    font-size: 18px;
    font-weight: 650;
    line-height: 1.45;
    letter-spacing: -.5px;
    word-break: keep-all;
}

.ods .ods-notice {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #74634d;
    font-size: 12px;
    line-height: 1.6;
    word-break: keep-all;
}
.ods .ods-notice::before {
    content: '';
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: #4f8f72;
    box-shadow: 0 0 0 3px rgba(79, 143, 114, .12);
}

.ods .ods-bars {
    display: flex;
    width: 100%;
    height: 54px;
    margin: 12px 0 0;
    overflow: hidden;
    border: 1px solid rgba(38, 59, 54, .12);
    border-radius: 9px;
    background: #eaf0ed;
    box-shadow: inset 0 1px 2px rgba(32, 66, 54, .055), 0 5px 15px rgba(35, 72, 63, .055);
}

.ods .ods-row,
.ods .ods-row-tail {
    position: relative;
    isolation: isolate;
    display: flex;
    width: var(--ods-share, 20%);
    min-width: 0;
    height: 100%;
    min-height: 0;
    flex: 0 1 var(--ods-share, 20%);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    margin: 0;
    padding: 5px 2px;
    overflow: hidden;
    border: 0;
    color: #fff;
    text-align: center;
    box-shadow: inset -1px 0 rgba(255, 255, 255, .32);
}

.ods .ods-row:last-child { box-shadow: none; }
.ods .ods-row:nth-child(1) { --ods-segment-color: var(--ods-strip-1); }
.ods .ods-row:nth-child(2) { --ods-segment-color: var(--ods-strip-2); }
.ods .ods-row:nth-child(3) { --ods-segment-color: var(--ods-strip-3); }
.ods .ods-row:nth-child(4) { --ods-segment-color: var(--ods-strip-4); }
.ods .ods-row:nth-child(5) { --ods-segment-color: var(--ods-strip-5); }

.ods .ods-track {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0;
    background: var(--ods-segment-color);
    box-shadow: none;
}

.ods .ods-fill {
    display: block;
    width: 100% !important;
    min-width: 100%;
    height: 100%;
    border-radius: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, .12), transparent 52%);
    box-shadow: inset 0 1px rgba(255, 255, 255, .17);
    transition: none;
}

.ods .ods-fill::after { display: none; }

.ods .ods-label,
.ods .ods-value {
    position: relative;
    z-index: 1;
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: inherit;
    text-align: center;
    text-overflow: clip;
    text-shadow: 0 1px 1px rgba(12, 31, 27, .18);
    white-space: nowrap;
}

.ods .ods-label {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.25px;
}

.ods .ods-value {
    font-size: 14px;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    line-height: 1.18;
    letter-spacing: -.2px;
}

.ods .ods-value small {
    padding-left: 1px;
    color: rgba(255, 255, 255, .82);
    font-size: 9px;
    font-weight: 500;
}

.ods .ods-footer {
    margin: 10px 0 0;
    padding: 10px 0 0;
    border-top: 1px solid #edf0ee;
    color: var(--ods-muted);
    font-size: 11px;
    line-height: 1.7;
    overflow-wrap: anywhere;
    word-break: keep-all;
}

.ods .ods-status {
    margin: 8px 0 0;
    color: #897047;
    font-size: 11px;
    line-height: 1.6;
}

@media (max-width: 760px) {
    .ods {
        width: calc(100% - 24px);
        max-width: calc(100% - 24px);
        margin: 0 12px 16px;
        padding: 14px 16px 12px;
        border-radius: 8px;
    }
    .ods .ods-heading-row {
        display: block;
        margin-bottom: 6px;
        padding-bottom: 9px;
    }
    .ods h2#ods-heading {
        font-size: 16px;
        letter-spacing: -.4px;
    }
    .ods .ods-notice {
        margin-top: 4px;
        font-size: 12px;
    }
    .ods .ods-bars {
        height: 50px;
        margin-top: 10px;
        border-radius: 8px;
    }
    .ods .ods-row,
    .ods .ods-row-tail {
        gap: 2px;
        padding: 5px 1px;
    }
    .ods .ods-label {
        font-size: 10px;
        letter-spacing: -.45px;
    }
    .ods .ods-value {
        font-size: 12px;
        letter-spacing: -.3px;
    }
    .ods .ods-value small { font-size: 8px; }
    .ods .ods-footer {
        margin-top: 8px;
        padding-top: 8px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .ods .ods-bars { height: 48px; }
    .ods .ods-label { font-size: 0; }
    .ods .ods-label::after {
        font-size: 9px;
        font-weight: 550;
        line-height: 1.15;
        letter-spacing: -.35px;
    }
    .ods .ods-row:nth-child(1) .ods-label::after { content: '≤5일'; }
    .ods .ods-row:nth-child(2) .ods-label::after { content: '6–10일'; }
    .ods .ods-row:nth-child(3) .ods-label::after { content: '11–15'; }
    .ods .ods-row:nth-child(4) .ods-label::after { content: '16–30'; }
    .ods .ods-row:nth-child(5) .ods-label::after { content: '30일+'; }
    .ods .ods-value {
        font-size: 10px;
        letter-spacing: -.35px;
    }
    .ods .ods-value small {
        padding-left: 0;
        font-size: 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ods .ods-fill,
    .ods .ods-fill::after {
        animation: none;
        transition: none;
    }
}
