/* Vehicle-sale confirmations are independent from purchases of lead contacts. */
.vehicle-buyout-badge{display:flex;flex-direction:column;gap:3px;width:fit-content;max-width:100%;margin:10px 0;padding:10px 13px;border:1px solid #3c9c65;border-radius:8px;background:#e0f6e8;color:#106239;line-height:1.3}
.vehicle-buyout-badge strong{display:block;font-size:16px;font-weight:850;letter-spacing:.025em;overflow-wrap:normal}
.vehicle-buyout-badge small{display:block;font-size:13px;font-weight:650;color:inherit}
.vehicle-buyout-notice{margin:0 0 24px;padding:16px;border:1px solid #7ebc91;border-radius:10px;background:#edf8f0}
.vehicle-buyout-notice .vehicle-buyout-badge{margin:0;border:0;padding:0;background:transparent}
.vehicle-buyout-badge-large strong{font-size:clamp(21px,2.5vw,29px)}
.vehicle-buyout-badge-large small{font-size:16px}
.vehicle-buyout-notice p{font-size:13px;line-height:1.55;margin:12px 0 0}
.market-row.vehicle-bought{border-color:#737a7945;background:#f4f5f5}
.market-row.vehicle-bought *{color:#8b929b!important}
.market-row.vehicle-bought .vehicle-buyout-badge,.market-row.vehicle-bought .vehicle-buyout-badge *{color:#106239!important}
.market-row.vehicle-bought :is(.market-gem,.market-source,.market-grade,.market-phone-preview,.market-expand-hint,.market-expand-arrow){background:#e8eaeb!important;border-color:#cdd1d5!important}
.market-row.vehicle-bought :is(.market-character,.market-character-scene){filter:grayscale(1);opacity:.5}
.market-row.vehicle-bought .market-price{font-size:16px}
.market-row.vehicle-bought .market-body{background:#f1f3f3;border-color:#d9dddf}
.market-row.vehicle-bought .market-buy .vehicle-buyout-disabled{color:#858c94!important;background:#e0e3e5!important;border:1px solid #c9cdd1!important;box-shadow:inset 0 2px 4px #0000000c!important;cursor:not-allowed;opacity:1;transform:none!important;max-width:190px;white-space:normal;line-height:1.45}
.vehicle-buyout-report{margin:22px 0;padding:18px;border:1px solid #84b993;border-radius:12px;background:#f1f9f3}
.vehicle-buyout-report h3{margin:0 0 8px;font-size:18px}
.vehicle-buyout-report>p{line-height:1.55}
.vehicle-buyout-report-state{font-size:13px;font-weight:700;line-height:1.6}
.vehicle-buyout-form,.vehicle-buyout-search{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px}
.vehicle-buyout-form .field{flex:1 1 210px;min-width:0}
.vehicle-buyout-form .field small{font-size:12px;font-weight:400}
.vehicle-buyout-form input{width:100%;min-width:0}
.vehicle-buyout-form .vehicle-buyout-submit{min-height:49px;min-width:135px}
.button.vehicle-buyout-submit{background:#177844;border-color:#177844;color:#fff}
.button.vehicle-buyout-submit:hover{background:#106336;border-color:#106336}
.vehicle-buyout-admin-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:20px 0}
.vehicle-buyout-admin-summary h2{margin:0}
.vehicle-buyout-admin-summary p{margin:9px 0 0}
.vehicle-buyout-admin-manual{margin:22px 0}
.vehicle-buyout-admin-manual .stack{max-width:680px;margin-top:18px}
.vehicle-buyout-search{margin:16px 0}
.vehicle-buyout-search .field{flex:1 1 220px;max-width:540px}
.vehicle-buyout-admin-report{margin:16px 0}
.vehicle-buyout-admin-report-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.vehicle-buyout-admin-report-head h3{margin:0}
.vehicle-buyout-admin-report .stack{max-width:760px;margin:20px 0 0}
.vehicle-buyout-admin-report .buttons{flex-wrap:wrap}
.vehicle-buyout-admin-details{margin:16px 0;padding:14px;border:1px solid #d8e0eb;border-radius:9px}
.vehicle-buyout-admin-details>summary{cursor:pointer;font-weight:700}
.vehicle-buyout-admin-details .market-fields{margin-top:16px}
.vehicle-buyout-admin-details p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6}
.vehicle-buyout-admin-link{margin:18px 0}
.black-label .vehicle-buyout-badge{color:#8df1b4;background:#143526;border-color:#35895a;box-shadow:0 0 19px #1d9e4f10}
.black-label .vehicle-buyout-notice{background:#14251d;border-color:#315b40}
.black-label .vehicle-buyout-notice .vehicle-buyout-badge{background:transparent;box-shadow:none}
.black-label .market-row.vehicle-bought{background:linear-gradient(112deg,#202224,#191b1d);border-color:#3d4345}
.black-label .market-row.vehicle-bought:hover{border-color:#64706a}
.black-label .market-row.vehicle-bought *{color:#92979c!important}
.black-label .market-row.vehicle-bought .vehicle-buyout-badge,.black-label .market-row.vehicle-bought .vehicle-buyout-badge *{color:#8df1b4!important}
.black-label .market-row.vehicle-bought :is(.market-gem,.market-source,.market-grade,.market-phone-preview,.market-expand-hint,.market-expand-arrow){background:#2b2f31!important;border-color:#42484b!important}
.black-label .market-row.vehicle-bought .market-body{background:#191c1e;border-color:#3c4346}
.black-label .market-row.vehicle-bought .market-buy .vehicle-buyout-disabled{color:#9a9fa3!important;background:#303538!important;border-color:#454d50!important;box-shadow:inset 0 2px 5px #0005!important}
.black-label .vehicle-buyout-report{color:#d4dfd6;background:#15271e;border-color:#3a5d45}
.black-label .vehicle-buyout-report h3{color:#a7e7bb;font-family:inherit;font-size:18px;font-weight:750}
.black-label .vehicle-buyout-report p,.black-label .vehicle-buyout-form .field{color:#bfcec1}
.black-label .vehicle-buyout-form .vehicle-buyout-submit{color:#102017;background:linear-gradient(110deg,#8ed7a3,#67ba82);border-color:#83cd9a;box-shadow:0 4px 14px #0b140c44}
@media(max-width:760px){
 .vehicle-buyout-badge{padding:8px 9px;margin:9px 0;gap:3px}
 .vehicle-buyout-badge strong{font-size:16px;letter-spacing:.01em}
 .vehicle-buyout-badge small{font-size:12px}
 .vehicle-buyout-badge-large strong{font-size:23px}
 .vehicle-buyout-badge-large small{font-size:15px}
 .vehicle-buyout-notice{padding:14px;margin-bottom:18px}
 .market-row.vehicle-bought .market-price,.black-label .market-row.vehicle-bought .market-price{font-size:15px}
 .market-row.vehicle-bought .market-buy .vehicle-buyout-disabled{max-width:none;min-height:47px}
 .vehicle-buyout-report{padding:14px;margin:18px 0}
 .vehicle-buyout-form{display:grid;grid-template-columns:minmax(0,1fr)}
 .vehicle-buyout-form .vehicle-buyout-submit{width:100%;min-height:48px}
 .vehicle-buyout-admin-summary{display:block}
 .vehicle-buyout-admin-summary .button{margin-top:15px}
 .vehicle-buyout-admin-report .buttons{display:grid;grid-template-columns:minmax(0,1fr)}
 .vehicle-buyout-admin-report .buttons .button{width:100%;white-space:normal}
 .vehicle-buyout-admin-details .market-fields{grid-template-columns:1fr}
}
