.odo-shell,
.odo-shell * {
    box-sizing: border-box;
}
.odo-shell {
    display: grid;
    gap: var(--odo-space);
    max-width: 100%;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--brand-text, #111827);
}
.odo-shell > *, .odo-panel > *, .odo-header-copy { min-width: 0; }
.odo-panel, .odo-header-copy { overflow-wrap: anywhere; }
.odo-panel {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    color: var(--brand-text, #111827);
    border: 1px solid var(--odo-border);
    border-radius: var(--odo-radius);
    box-shadow: var(--odo-shadow);
    padding: var(--odo-space);
}
.odo-panel h2 {
    margin: 0 0 1rem;
    color: var(--brand-blue, #0F2A5F);
    font-size: 1.12rem;
    letter-spacing: 0;
}
.odo-header {
    display: grid;
    gap: 8px;
    padding: 4px 0 20px;
    border-bottom: 1px solid var(--odo-border);
}
.odo-header::before {
    content: none;
}
.odo-header-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.4rem;
}
.odo-title {
    margin: 0;
    color: var(--odo-petrol);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.2;
}
.odo-subtitle,
.odo-empty,
.odo-muted {
    color: var(--odo-muted);
    line-height: 1.45;
}
.odo-subtitle {
    margin: 0;
    max-width: 680px;
    color: var(--odo-muted);
}
.odo-view-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    border: 1px solid var(--odo-border);
    border-radius: var(--odo-radius);
    background: var(--odo-ice);
    padding: 16px 20px;
}
.odo-view-copy {
    min-width: 0;
    display: grid;
    gap: 0.2rem;
}
.odo-view-label {
    color: var(--odo-muted);
    font-size: 0.72rem;
    font-weight: 650;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.odo-view-plate {
    color: var(--brand-blue, #0F2A5F);
    font-size: 1.35rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    line-height: 1.05;
}
.odo-view-meta {
    color: var(--odo-muted);
    font-size: 0.86rem;
    line-height: 1.3;
}
.odo-view-back {
    width: auto;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: 1px solid var(--odo-border);
    border-radius: var(--odo-radius);
    background: #fff;
    color: var(--brand-blue, #0F2A5F);
    padding: 0.58rem 0.85rem;
    font-weight: 650;
    text-decoration: none;
    box-shadow: var(--odo-shadow);
}
.odo-view-back:hover {
    border-color: rgb(158 27 50 / 0.42);
    color: var(--brand-red, #D62839);
}
.odo-client-card {
    gap: var(--odo-space);
    background: var(--odo-surface);
}
.odo-start-card {
    background: var(--odo-surface);
}
.odo-start-actions {
    width: 100%;
}
.odo-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--odo-space);
    flex-wrap: wrap;
}
.odo-vehicle-top {
    display: grid;
    gap: 0.8rem;
    border: 1px solid var(--odo-border);
    border-radius: var(--odo-radius);
    background: var(--odo-surface);
    padding: 0.9rem;
}
.odo-card-title {
    display: grid;
    gap: 0.45rem;
}
.odo-card-title h2 {
    margin: 0;
}
.odo-vehicle-meta {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    flex-wrap: wrap;
}
.odo-km-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border: 1px solid var(--odo-border);
    border-radius: 999px;
    background: var(--odo-ice);
    padding: 0.4rem 0.7rem;
    color: #334155;
    font-weight: 650;
}
.odo-card-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
}
.odo-tool-button {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 136px;
    padding: 20px 12px;
    border: 1px solid var(--odo-border);
    border-radius: var(--odo-radius);
    background: var(--odo-surface);
    color: var(--odo-petrol);
    font-size: 0.9375rem;
    font-weight: 650;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
}
.odo-tool-button:hover,
.odo-tool-button.is-active {
    border-color: rgb(158 27 50 / 0.45);
    color: var(--brand-red, #D62839);
    transform: translateY(-1px);
}
.odo-tool-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}
.odo-card-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: var(--odo-space);
    align-items: start;
}
.odo-grid,
.odo-two-col,
.odo-status-grid {
    display: grid;
    gap: var(--odo-space);
}
.odo-two-col {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}
.odo-status-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
}
.odo-form {
    display: grid;
    gap: 0.8rem;
    align-content: start;
}
.odo-field label {
    display: block;
    margin-bottom: 0.35rem;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 650;
    letter-spacing: 0.02em;
}
.odo-panel input:not([type="checkbox"]),
.odo-panel select,
.odo-panel textarea,
.odo-panel button {
    width: 100%;
    max-width: 100%;
}
.odo-panel input:not([type="checkbox"]),
.odo-panel select,
.odo-panel textarea {
    display: block;
    min-height: 44px;
    border: 1px solid var(--odo-border);
    border-radius: var(--odo-radius);
    background: var(--odo-surface);
    padding: 0.65rem 0.75rem;
    color: #111827;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.odo-panel textarea {
    min-height: 96px;
}
.odo-panel input:not([type="checkbox"]):focus,
.odo-panel select:focus,
.odo-panel textarea:focus {
    outline: none;
    border-color: var(--odo-steel);
    background: #fff;
    box-shadow: var(--odo-shadow);
}
.odo-panel input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--brand-red, #D62839);
}
.odo-form > button {
    margin-top: 8px;
    min-height: 46px;
    border-radius: var(--odo-radius);
}
.odo-checklist #id_name,
.odo-checklist #id_services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
    gap: 0.6rem;
    max-height: 430px;
    overflow: auto;
    padding-right: 0.25rem;
}
.odo-checklist #id_name > div,
.odo-checklist #id_services > div {
    border: 1px solid var(--odo-border);
    border-radius: var(--odo-radius);
    background: var(--odo-surface);
    padding: 0.65rem;
}
.odo-checklist #id_name > div > label,
.odo-checklist #id_services > div > label {
    color: var(--brand-blue, #0F2A5F);
    font-size: 0.74rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.odo-checklist #id_name > div > div label,
.odo-checklist #id_services > div > div label {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    min-height: 44px;
    margin-top: 0.4rem;
    border: 1px solid var(--odo-border);
    border-radius: var(--odo-radius);
    background: #fff;
    padding: 0.5rem 0.55rem;
    color: #111827;
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.25;
    cursor: pointer;
}
.odo-checklist #id_name > div > div label:hover,
.odo-checklist #id_services > div > div label:hover {
    border-color: rgb(158 27 50 / 0.34);
    color: var(--brand-blue, #0F2A5F);
    box-shadow: inset 3px 0 0 rgb(158 27 50 / 0.68);
}
.odo-plate {
    font-weight: 650;
    color: var(--brand-blue, #0F2A5F);
    letter-spacing: 0.08em;
}
.odo-link-button {
    width: auto;
    min-height: 44px;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}
.odo-link-button:hover {
    color: var(--brand-red, #D62839);
}
.odo-search-field {
    min-width: min(100%, 320px);
}
.odo-search-field label {
    display: block;
    margin-bottom: 0.35rem;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 650;
    letter-spacing: 0.02em;
}
.odo-status-box {
    min-width: 0;
    border-left: 3px solid var(--odo-steel);
    background: var(--odo-ice);
    padding: 12px 16px;
}
.odo-status-box span {
    display: block;
    color: var(--odo-muted);
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.odo-status-box strong {
    display: block;
    margin-top: 0.35rem;
    color: var(--brand-text, #111827);
    line-height: 1.2;
}
.odo-status-box small {
    display: block;
    margin-top: 0.25rem;
    color: var(--odo-muted);
}
.odo-list {
    display: grid;
    margin-top: 12px;
}
.odo-row {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    border-bottom: 1px solid var(--odo-border);
    padding: 14px 0;
}
.odo-row:last-child {
    border-bottom: 0;
}
.odo-fuel-row {
    align-items: flex-start;
}
.odo-fuel-main {
    min-width: 0;
    flex: 1 1 0;
}
.odo-fuel-metrics {
    display: flex;
    flex: 1 1 0;
    gap: 0.75rem;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
}
.odo-fuel-metrics > div {
    min-width: 6rem;
    padding: 0.45rem 0.6rem;
    border-radius: var(--odo-radius);
    background: var(--odo-ice);
}
.odo-fuel-metrics span {
    display: block;
    color: var(--brand-red, #D62839);
    font-size: 0.74rem;
    font-weight: 650;
    line-height: 1.15;
    text-transform: uppercase;
}
.odo-fuel-metrics strong {
    display: block;
    margin-top: 0.2rem;
    color: var(--brand-blue, #0F2A5F);
    font-size: 0.95rem;
    line-height: 1.2;
    white-space: normal;
}
.odo-fuel-total {
    flex: 1 1 0;
    text-align: right;
}
.odo-client-fuel-shell {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: var(--odo-space);
    align-items: start;
}
.odo-client-workshop-updates { grid-column: 1 / -1; }
.odo-client-fuel-panel {
    grid-row: 1 / 3;
    gap: 20px;
    border-top: 3px solid var(--odo-blood);
    background: var(--odo-surface);
}
.odo-client-fuel-panel .odo-muted {
    color: var(--odo-muted);
}
.odo-client-fuel-panel label {
    color: var(--odo-ink);
}
.odo-client-fuel-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.odo-client-fuel-form .odo-field {
    gap: 0.3rem;
}
.odo-client-fuel-form input,
.odo-client-fuel-form select {
    min-height: 48px;
    font-size: 1rem;
    font-weight: 650;
}
.odo-client-fuel-form button {
    grid-column: 1 / -1;
    min-height: 50px;
    width: 100%;
    font-size: 1rem;
}
.odo-client-fuel-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.odo-client-fuel-links a {
    min-width: 0;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    border: 1px solid var(--odo-border);
    border-radius: var(--odo-radius);
    background: var(--odo-surface);
    color: var(--odo-petrol);
    padding: 12px 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}
.odo-client-fuel-links img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}
.odo-client-fuel-history {
    padding: 1rem;
}
.odo-client-fuel-history .odo-row {
    grid-template-columns: minmax(0, 1.2fr) auto auto;
    gap: 0.55rem;
    padding: 0.7rem;
}
.odo-client-fuel-history .odo-fuel-main {
    min-width: 0;
}
.odo-client-fuel-history .odo-fuel-main .odo-muted {
    font-size: 0.8rem;
    white-space: normal;
}
.odo-client-fuel-history .odo-fuel-metrics {
    justify-content: flex-end;
    text-align: right;
}
.odo-client-fuel-history .odo-fuel-metrics > div {
    min-width: 0;
    background: transparent;
    padding: 0;
}
.odo-client-fuel-history .odo-fuel-metrics strong {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.15;
}
.odo-client-fuel-history .odo-fuel-total {
    min-width: 4.5rem;
    text-align: right;
}
.odo-client-fuel-history .odo-fuel-total strong {
    font-size: 0.9rem;
    line-height: 1.15;
    white-space: normal;
}
.odo-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--odo-border);
    border-radius: var(--odo-radius);
}
table {
    box-shadow: none;
    margin: 0;
    border-radius: 0;
}
.odo-table-wrap table th {
    background: var(--odo-ice);
    color: #334155;
    font-size: 0.76rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.odo-table-wrap table td {
    background: #fff;
}
.odo-actions {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    flex-wrap: wrap;
}
.odo-actions form {
    margin: 0;
}
.odo-actions .btn {
    width: auto;
    min-height: 44px;
    padding: 0.45rem 0.75rem;
    border-radius: var(--odo-radius);
    white-space: normal;
}
.odo-document-group {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}
.odo-document-group + .odo-document-group {
    padding-top: 1rem;
    border-top: 1px solid var(--odo-border);
}
.odo-document-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.odo-document-heading .odo-muted {
    margin: 0;
}
@media (max-width: 900px) {
    .odo-header,
    .odo-two-col,
    .odo-card-grid,
    .odo-status-grid,
    .odo-checklist #id_name,
    .odo-checklist #id_services {
        grid-template-columns: 1fr;
    }
    .odo-card-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .odo-fuel-row {
        display: grid;
        gap: 0.5rem;
    }
    .odo-fuel-metrics {
        justify-content: flex-start;
        text-align: left;
        flex-wrap: wrap;
    }
    .odo-fuel-total {
        text-align: left;
    }
    .odo-row {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .odo-panel {
        padding: 1rem;
    }
    .odo-card-actions {
        grid-template-columns: 1fr 1fr;
    }
}

.odo-fuel-title { margin: 0; font-size: 1.25rem; letter-spacing: -0.025em; }
.odo-client-fuel-form .odo-fuel-vehicle-field,
.odo-client-fuel-form .odo-fuel-odometer-field,
.odo-client-fuel-form .odo-fuel-date-field { grid-column: 1 / -1; }
.odo-client-fuel-form .errorlist { grid-column: 1 / -1; }
.odo-client-fuel-history { min-width: 0; padding: var(--odo-space); }
.odo-client-fuel-links a:hover { background: var(--odo-ice); border-color: var(--odo-steel); }
.odo-tool-primary { border-color: var(--odo-steel); background: var(--odo-ice); }
.odo-management-nav { padding-bottom: 4px; }
.odo-field { min-width: 0; }
.odo-empty { margin: 0; padding-block: 12px; }
.odo-client-fuel-panel input, .odo-client-fuel-panel select { font-weight: 500; }
.odo-panel input:focus, .odo-panel select:focus, .odo-panel textarea:focus {
    border-color: var(--odo-steel);
    box-shadow: 0 0 0 3px var(--odo-ice);
}
.odo-list > .odo-row > * { min-width: 0; overflow-wrap: anywhere; }
.odo-fuel-row { grid-template-columns: minmax(0, 1fr) auto auto; }
.odo-checklist input[type="checkbox"] { flex-shrink: 0; }
@media (max-width: 900px) {
    .odo-client-fuel-shell { grid-template-columns: 1fr; }
    .odo-client-fuel-panel { grid-row: auto; }
    .odo-client-fuel-history { grid-row: auto; }
    .odo-fuel-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .odo-header { padding: 0 0 16px; }
    .odo-start-actions .odo-tool-primary { grid-column: 1 / -1; flex-direction: row; min-height: 76px; }
    .odo-tool-button { min-height: 112px; padding: 12px; font-size: 0.875rem; }
    .odo-tool-img { width: 40px; height: 40px; }
    .odo-start-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .odo-client-fuel-form { gap: 12px; }
    .odo-client-fuel-panel .odo-field label { margin-bottom: 4px; }
    .odo-client-fuel-form input, .odo-client-fuel-form select { min-height: 46px; }
    .odo-view-header { padding: 12px 16px; }
    .odo-client-fuel-history .odo-row { grid-template-columns: minmax(0, 1fr) auto; }
    .odo-client-fuel-history .odo-fuel-total { grid-column: 2; }
    .odo-client-fuel-history .odo-fuel-metrics { grid-column: 1; grid-row: 2; text-align: left; justify-content: flex-start; }
}
.odo-management-nav { gap: 4px; border-bottom: 1px solid var(--odo-border); }
.odo-management-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-bottom: 2px solid transparent;
    color: var(--odo-muted);
    font-weight: 600;
    text-decoration: none;
}
.odo-management-nav a:hover { color: var(--odo-petrol); background: var(--odo-ice); }
.odo-management-nav a[aria-current="page"] { border-color: var(--odo-blood); color: var(--odo-petrol); }
@media (max-width: 600px) {
    .odo-management-nav { gap: 0; }
    .odo-management-nav a { flex: 1 1 auto; justify-content: center; padding-inline: 10px; font-size: .8125rem; }
    .odo-record-data > div { min-width: 0; }
    .odo-record-data dd { overflow-wrap: anywhere; }
    .odo-actions > a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }
}

@media (max-width: 360px) {
    .odo-start-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .odo-start-actions .odo-tool-button:last-child { grid-column: 1 / -1; flex-direction: row; min-height: 76px; }
}
/* Short forms use the available desktop width without stretching each field. */
.odo-customer-form { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.odo-customer-form > button, .odo-customer-form > .errorlist { grid-column: 1 / -1; }
.odo-form > button { width: auto; justify-self: start; }
.odo-client-fuel-shell { grid-template-rows: auto 1fr; }
.odo-client-fuel-history h2 { margin-bottom: 8px; }
.odo-client-fuel-history .odo-list { margin-top: 0; }
@media (max-width: 900px) {
    .odo-client-fuel-shell { grid-template-rows: none; }
}
@media (max-width: 640px) {
    .odo-customer-form { grid-template-columns: 1fr; }
    .odo-form > button { width: 100%; }
}

/* Maintenance: bounded service selection and compact, expandable history. */
.odo-maintenance-layout { align-items: start; }
.odo-maintenance-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.odo-maintenance-form .odo-field-full, .odo-maintenance-form > .errorlist { grid-column: 1 / -1; }
.odo-maintenance-form .odo-field-full:empty { display: none; }
.odo-maintenance-form textarea { min-height: 76px; }
.odo-service-selector { border: 1px solid var(--odo-border); border-radius: 8px; }
.odo-service-selector > summary, .odo-service-group > summary {
    min-height: 44px;
    padding: 12px;
    cursor: pointer;
    color: var(--odo-petrol);
    font-size: 0.875rem;
    font-weight: 600;
}
.odo-service-count { display: block; padding-left: 16px; font-size: 0.8125rem; color: var(--odo-muted); font-weight: 400; }
.odo-service-selector-body { max-height: 260px; overflow: auto; overscroll-behavior: contain; border-top: 1px solid var(--odo-border); }
.odo-service-group + .odo-service-group { border-top: 1px solid var(--odo-border); }
.odo-service-group > summary { background: var(--odo-ice); font-size: 0.75rem; }
.odo-service-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; padding: 8px 12px; }
.odo-service-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 6px;
    font-size: 0.8125rem;
    font-weight: 400;
    cursor: pointer;
    border-radius: 6px;
    overflow-wrap: anywhere;
}
.odo-service-options label:has(input:checked) { background: var(--odo-ice); color: var(--odo-petrol); }
.odo-service-options input[type="checkbox"] { flex: 0 0 18px; width: 18px; height: 18px; margin: 0; }
.odo-maintenance-list { display: grid; }
.odo-maintenance-record + .odo-maintenance-record { border-top: 1px solid var(--odo-border); }
.odo-maintenance-record > summary { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 0; list-style: none; cursor: pointer; }
.odo-maintenance-record > summary::-webkit-details-marker { display: none; }
.odo-record-icon { flex: 0 0 24px; width: 24px; height: 24px; color: var(--odo-steel); }
.odo-record-heading { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.odo-record-heading time { color: var(--odo-petrol); font-weight: 650; font-size: 0.9375rem; }
.odo-record-heading > span { color: var(--odo-muted); font-size: 0.8125rem; }
.odo-record-chevron { margin-left: auto; color: var(--odo-steel); }
.odo-maintenance-record[open] .odo-record-chevron { transform: rotate(180deg); }
.odo-record-content { display: grid; gap: 16px; padding: 4px 0 16px 36px; }
.odo-record-data { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.odo-record-data dt { color: var(--odo-muted); font-size: 0.75rem; }
.odo-record-data dd { margin: 2px 0 0; color: var(--odo-ink); font-size: 0.875rem; overflow-wrap: anywhere; }
.odo-record-comments h3 { margin: 0 0 6px; font-size: 0.8125rem; }
.odo-record-comments p { margin: 0; font-size: 0.875rem; overflow-wrap: anywhere; }
.odo-record-content > .btn { justify-self: start; }
@media (max-width: 480px) {
    .odo-maintenance-form { grid-template-columns: 1fr; }
    .odo-service-options { grid-template-columns: 1fr; }
    .odo-record-content { padding-left: 0; }
}
.odo-maintenance-readonly { grid-template-columns: minmax(0, 1fr); }
.odo-record-work { min-width: 0; display: grid; gap: 12px; }
.odo-record-work + .odo-record-work { padding-top: 16px; border-top: 1px solid var(--odo-border); }
.odo-record-work > h3 { margin: 0; font-size: 0.9375rem; }
.odo-record-work > .btn { justify-self: start; }
.odo-record-content > p { margin: 0; font-size: 0.8125rem; }

/* A single page heading and progressive details keep vehicle views concise. */
.odo-page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.odo-page-heading .odo-view-back { flex-shrink: 0; box-shadow: none; }
.odo-two-col { align-items: start; }
.odo-vehicle-details { border-bottom: 1px solid var(--odo-border); padding-bottom: 8px; }
.odo-vehicle-details > summary { min-height: 44px; display: list-item; padding-block: 10px; color: var(--odo-muted); font-size: 0.8125rem; cursor: pointer; }
.odo-vehicle-details > .odo-record-data { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); padding: 8px 0 12px; }
.odo-record-heading > strong { color: var(--odo-petrol); font-size: 0.9375rem; font-weight: 650; }
.odo-maintenance-record .odo-record-content { padding-left: 0; }
.odo-record-data:empty { display: none; }
.odo-status-label { color: var(--odo-blood); font-size: 0.8125rem; font-weight: 600; }
.odo-client-fuel-history .odo-maintenance-list { margin-top: 0; }
@media (max-width: 480px) {
    .odo-page-heading { gap: 12px; }
    .odo-page-heading .odo-view-back { min-height: 44px; padding: 8px 12px; }
}
.odo-job-list { display: grid; gap: 4px; }
.odo-job-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.odo-job-row h3 { min-width: 0; margin: 0; font-size: 0.9375rem; overflow-wrap: anywhere; }
.odo-inline-edit { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.8125rem; flex-shrink: 0; }
.odo-panel input:not([type="checkbox"]):focus-visible,
.odo-panel select:focus-visible,
.odo-panel textarea:focus-visible { outline: 2px solid var(--odo-steel); outline-offset: 2px; }
