/* Ver659: portal-styled date fields for fresh customer API results. */
body #customerFleetRoot .fleet-live-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0 20px;padding:16px;border:1px solid #d9e4ed;border-radius:12px;background:#f6f9fb;min-width:0}
body #customerFleetRoot .fleet-live-dates label{display:flex;flex-direction:column;gap:8px;min-width:0;font-weight:700}
body #customerFleetRoot .fleet-live-dates input{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:var(--wooten-action-button-height,44px);margin:0;padding:10px 13px;border:1px solid #bccddd;border-radius:10px;background:#fff;color:#193953;font:inherit;font-size:16px;font-weight:400;line-height:1.4;color-scheme:light}
body #customerFleetRoot .fleet-live-dates input:focus-visible{outline:3px solid #66a6d8;outline-offset:-3px;box-shadow:none}
body #customerFleetRoot .fleet-live-dates input::-webkit-date-and-time-value{min-width:0;text-align:left}
body #customerFleetRoot .fleet-live-date-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;grid-column:1/-1}
body #customerFleetRoot .fleet-live-date-actions button{width:100%;min-width:0}
body #customerFleetRoot .fleet-live-dates p{grid-column:1/-1;margin:0;font-size:13px;line-height:1.5;color:#526b83}
body #customerFleetRoot .fleet-live-status{margin:12px 0 18px;padding:12px 16px;border-radius:12px;background:#f0f5f9;line-height:1.5;color:#244660}
body #customerFleetRoot .fleet-live-status[data-state="success"]{background:#eaf7ef;color:#176d3e}
body #customerFleetRoot .fleet-live-status[data-state="error"]{background:#fff2f3;color:#962444}
body #customerFleetRoot .fleet-live-status[hidden]{display:none!important}
@media(max-width:600px){body #customerFleetRoot .fleet-live-dates,body #customerFleetRoot .fleet-live-date-actions{grid-template-columns:minmax(0,1fr)}}
body #customerFleetRoot .fleet-summary{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body #customerFleetRoot .fleet-summary .fleet-stat{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;padding:12px}
body #customerFleetRoot .fleet-stat strong{font-size:24px;overflow-wrap:anywhere}
body #customerFleetRoot .fleet-stat span{font-size:13px;line-height:1.4}
body #customerFleetRoot .fleet-table-wrap table{min-width:1100px}
body #customerFleetRoot .fleet-table-wrap th{font-weight:700!important;white-space:nowrap}
body #customerFleetRoot .fleet-table-wrap th button{font-weight:700!important;display:flex;align-items:center;gap:12px;white-space:nowrap;width:100%;min-width:max-content}
body #customerFleetRoot [data-fleet-align="right"]{text-align:right!important;font-variant-numeric:tabular-nums}
body #customerFleetRoot th[data-fleet-align="right"] button{justify-content:flex-end!important}
body #customerFleetRoot [data-fleet-align="left"]{text-align:left!important}
body #customerFleetRoot th[data-fleet-align="left"] button{justify-content:flex-start!important}
body #customerFleetRoot .fleet-card-link{font-weight:700;background:transparent;border:0;color:inherit;padding:0;text-decoration:none}
body #customerFleetRoot .fleet-card-link:hover{ text-decoration:underline }
body #customerFleetRoot .fleet-meta{white-space:normal;line-height:1.6}
body .fleet-transaction-dialog .fleet-product-table{overflow-x:auto;margin:16px 0}
body .fleet-transaction-dialog .fleet-product-table table{width:100%;min-width:650px;border-collapse:collapse}
body .fleet-transaction-dialog .fleet-product-table th{font-weight:700;text-align:left;white-space:nowrap}
body .fleet-transaction-dialog .fleet-product-table :is(th,td){padding:12px;border-bottom:1px solid #dde6ee}
body .fleet-transaction-dialog .fleet-product-table :is(th,td):nth-child(3){text-align:right;font-variant-numeric:tabular-nums}
body .fleet-transaction-dialog .fleet-product-info{margin:16px 0;padding:14px;background:#f6f9fb;border:1px solid #d9e4ed;border-radius:12px}
body .fleet-transaction-dialog .fleet-product-info summary{cursor:pointer;font-weight:700}
body .fleet-transaction-dialog dd{overflow-wrap:anywhere}
@media(max-width:760px){
 body #customerFleetRoot .fleet-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body #customerFleetRoot .fleet-summary .fleet-stat{padding:8px}
 body #customerFleetRoot .fleet-stat strong{font-size:21px}
 body #customerFleetRoot .fleet-meta{font-size:12px}
}

/* Ver661: saved card lists have no transaction date or quantity controls. */
body #customerFleetRoot .fleet-live-dates[hidden],body #customerFleetRoot .fleet-stat[hidden]{display:none!important}
body #customerFleetRoot[data-kind="cards"] .fleet-summary{grid-template-columns:repeat(2,minmax(0,1fr))}

/* Ver676: quantity fills the last row when customer transaction metrics stack. */
@media(max-width:760px){body #customerFleetRoot[data-kind="transactions"] .fleet-summary .fleet-stat:last-child{grid-column:1/-1}}
