/* Vehicle completion uses the same theme colours as the surrounding app. */
.vehicle-shell #dialog{box-sizing:border-box;width:min(960px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:var(--ink);background:var(--panel)}
.vehicle-shell #completion-review,.vehicle-shell #completion-fields{min-width:0;width:100%;box-sizing:border-box}
.vehicle-shell #completion-review .card{background:var(--panel);color:var(--ink);padding:16px 0;border:0;border-top:1px solid var(--line);box-shadow:none}
.vehicle-shell #completion-review table{width:100%;border-collapse:collapse;table-layout:fixed;background:var(--panel)!important;color:var(--ink)!important}
.vehicle-shell #completion-review thead,.vehicle-shell #completion-review tbody,.vehicle-shell #completion-review tr,.vehicle-shell #completion-review td{background:var(--panel)!important;color:var(--ink)!important}
.vehicle-shell #completion-review th{background:var(--soft)!important;color:var(--ink)!important;text-align:left;font-weight:600}
.vehicle-shell #completion-review th,.vehicle-shell #completion-review td{padding:12px 10px;border:0;border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere;font-size:14px;line-height:1.5}
.vehicle-shell #completion-review th:first-child{width:58%}.vehicle-shell #completion-review th:nth-child(2){width:16%}.vehicle-shell #completion-review th:last-child{width:26%}
.vehicle-shell #completion-review td:nth-child(2),.vehicle-shell #completion-review td:last-child{text-align:right;font-variant-numeric:tabular-nums}
.vehicle-shell #completion-review .error{background:var(--badbg,#542a34);color:var(--bad,#ffbdc5);padding:12px 14px;border-radius:6px;line-height:1.5}
.vehicle-shell #completion-fields output{display:block;padding:12px;background:var(--soft);border:1px solid var(--line);border-radius:6px;line-height:1.5}
@media(max-width:600px){.vehicle-shell #dialog{padding:16px;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.vehicle-shell #completion-review th,.vehicle-shell #completion-review td{padding:10px 6px;font-size:12px}}
