.tjc-client-vehicles-manager{margin:18px 0!important;padding:14px!important;border:1px solid #d8e5f2!important;border-radius:14px!important;background:#f8fbff!important;box-sizing:border-box}
.tjc-client-vehicles-head{display:flex;align-items:center;justify-content:space-between;gap:18px}
.tjc-client-vehicles-copy{min-width:0}
.tjc-client-vehicles-copy strong{display:block;color:#23395d;font-size:13px;font-weight:900;line-height:1.25}
.tjc-client-vehicles-copy small{display:block;margin-top:3px;color:#6b7f96;font-size:11px;font-weight:500;line-height:1.4}
.tjc-client-vehicles-switch{position:relative;display:inline-flex;align-items:center;flex:0 0 auto;cursor:pointer;margin:0}
.tjc-client-vehicles-switch input{position:absolute;opacity:0;pointer-events:none}
.tjc-client-vehicles-switch-track{position:relative;display:block;width:44px;height:24px;border:1px solid #b9c8d8;border-radius:999px;background:#dfe7ef;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease;box-sizing:border-box}
.tjc-client-vehicles-switch-track>span{position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(15,23,42,.22);transition:transform .18s ease}
.tjc-client-vehicles-switch input:checked+.tjc-client-vehicles-switch-track{background:#1473e6;border-color:#1473e6}
.tjc-client-vehicles-switch input:checked+.tjc-client-vehicles-switch-track>span{transform:translateX(20px)}
.tjc-client-vehicles-switch input:focus-visible+.tjc-client-vehicles-switch-track{box-shadow:0 0 0 3px rgba(20,115,230,.16)}
.tjc-client-vehicles-body{margin-top:14px;padding-top:14px;border-top:1px solid #dbe7f3}
.tjc-client-vehicles-body[hidden]{display:none!important}
.tjc-client-vehicle-rows{display:grid;gap:10px}
.tjc-client-vehicle-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:end;margin:0;padding:12px;border:1px solid #d7e3ef;border-radius:11px;background:#fff;box-shadow:0 2px 7px rgba(15,23,42,.03);box-sizing:border-box}
.tjc-client-vehicle-field{display:flex;flex-direction:column;gap:4px;min-width:0;margin:0}
.tjc-client-vehicle-field>span{color:#64748b;font-size:9px;font-weight:900;letter-spacing:.055em;text-transform:uppercase}
.tjc-client-vehicle-field input[type=text]{width:100%;min-width:0;min-height:36px;height:36px;padding:0 10px;border:1px solid #cad7e5;border-radius:8px;background:#fff;color:#10233c;font-size:12px;box-sizing:border-box}
.tjc-client-vehicle-field input[type=text]:focus{outline:0;border-color:#7aa9df;box-shadow:0 0 0 3px rgba(37,99,235,.09)}
.tjc-vehicle-remove{display:inline-flex;align-items:center;gap:6px;min-height:36px;margin:0;color:#a43b4e;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}
.tjc-vehicle-remove input{margin:0}
.tjc-client-vehicle-add{display:inline-flex;align-items:center;justify-content:center;min-height:36px;margin-top:10px;padding:0 12px;border:1px solid #b8cce4;border-radius:8px;background:#fff;color:#245ca6;font-size:11px;font-weight:900;cursor:pointer;box-shadow:none}
.tjc-client-vehicle-add:hover{border-color:#8fb0d8;background:#f4f8fd;color:#174a8d}
.tjc-vehicle-picker[hidden]{display:none!important}
.tjc-vehicle-picker{display:flex;align-items:flex-end;gap:8px;min-width:220px}.tjc-vehicle-picker label{flex:1}.tjc-vehicle-picker select{width:100%}.tjc-vehicle-quick-add{min-height:40px;padding:0 12px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#0f3d66;font-weight:700;cursor:pointer}.tjc-vehicle-dialog{width:min(620px,calc(100vw - 28px));border:0;border-radius:12px;padding:0;box-shadow:0 22px 60px rgba(15,23,42,.25)}.tjc-vehicle-dialog::backdrop{background:rgba(15,23,42,.45)}.tjc-vehicle-dialog-head{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid #e5e7eb}.tjc-vehicle-dialog-body{padding:18px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.tjc-vehicle-dialog-body label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:700;color:#475569}.tjc-vehicle-dialog-body input{min-height:40px;border:1px solid #cbd5e1;border-radius:7px;padding:8px 10px}.tjc-vehicle-dialog-actions{display:flex;justify-content:flex-end;gap:8px;padding:0 18px 18px}.tjc-client-vehicle-summary-list{display:grid;gap:8px}.tjc-client-vehicle-summary-row{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:10px 0;border-bottom:1px solid #e5e7eb}.tjc-client-vehicle-summary-row:last-child{border-bottom:0}.tjc-client-vehicle-summary-row strong{display:block;color:#0f172a}.tjc-client-vehicle-summary-row span{display:block;color:#64748b;font-size:12px;margin-top:2px}.tjc-client-vehicle-summary-identifiers{text-align:right;max-width:52%}
body.tjc-office-dashboard-active .tjc-client-notes-panel{margin-top:2px}
body.tjc-office-dashboard-active .tjc-client-notes-panel .tjc-client-settings-panel-head{margin-bottom:8px}
body.tjc-office-dashboard-active .tjc-client-notes-field{display:block;margin:0}
body.tjc-office-dashboard-active .tjc-client-notes-field textarea{display:block;width:100%;min-height:78px;padding:10px 11px;border:1px solid #cfd9e6;border-radius:9px;background:#fff;color:#10233c;font-size:12px;line-height:1.45;resize:vertical;box-sizing:border-box}
body.tjc-office-dashboard-active .tjc-client-notes-field textarea:focus{outline:0;border-color:#7aa9df;box-shadow:0 0 0 3px rgba(37,99,235,.09)}
@media(max-width:900px){.tjc-client-vehicle-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.tjc-client-vehicles-manager{padding:12px!important}.tjc-client-vehicles-head{gap:12px}.tjc-client-vehicle-row{grid-template-columns:1fr 1fr;padding:10px}.tjc-vehicle-picker{align-items:stretch;flex-direction:column}.tjc-vehicle-dialog-body{grid-template-columns:1fr}}
@media(max-width:520px){.tjc-client-vehicle-row{grid-template-columns:1fr}.tjc-client-vehicles-copy small{max-width:250px}.tjc-client-vehicle-summary-row{display:block}.tjc-client-vehicle-summary-identifiers{text-align:left;max-width:none;margin-top:6px}}


/* Quote -> Job Card -> Invoice reconciliation */
.tjc-reconciliation-shell{max-width:1120px;margin:0 auto;padding:18px!important}
.tjc-reconciliation-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:13px;border-bottom:1px solid #e2e8f0}
.tjc-reconciliation-head .tjc-section-title{font-size:19px;line-height:1.2}
.tjc-reconciliation-source{display:flex;align-items:center;gap:7px;margin:4px 0 0;color:#64748b;font-size:12px}
.tjc-reconciliation-source strong{color:#0b6ffb;font-weight:800}
.tjc-reconciliation-summary{display:flex;align-items:center;gap:14px;padding-top:2px;font-size:12px;font-weight:750;white-space:nowrap}
.tjc-reconciliation-summary span{display:inline-flex;align-items:center;gap:6px}
.tjc-reconciliation-summary i{width:7px;height:7px;border-radius:50%;display:inline-block}
.tjc-reconciliation-summary-good{color:#15803d}.tjc-reconciliation-summary-good i{background:#16a34a}
.tjc-reconciliation-summary-warn{color:#a16207}.tjc-reconciliation-summary-warn i{background:#eab308}
.tjc-reconciliation-section-label{margin:15px 0 7px;font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#64748b}
.tjc-reconciliation-list{display:grid;gap:7px;margin:0}
.tjc-reconciliation-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:10px 12px;border:1px solid #dbe3ec;border-left:3px solid #eab308;border-radius:7px;background:#fff}
.tjc-reconciliation-missing{border-left-color:#dc2626}
.tjc-reconciliation-copy{min-width:0;display:flex;flex-direction:column;gap:2px}
.tjc-reconciliation-copy strong{font-size:14px;line-height:1.3;color:#172b4d}
.tjc-reconciliation-copy span{font-size:11.5px;color:#64748b}
.tjc-reconciliation-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap}
.tjc-reconciliation-actions label{display:inline-flex;align-items:center;gap:5px;margin:0;font-size:12px;font-weight:700;color:#334155;cursor:pointer;white-space:nowrap}
.tjc-reconciliation-actions input[type=radio]{width:14px;height:14px;margin:0;accent-color:#0b6ffb}
.tjc-reconciliation-all-match{display:flex;align-items:center;gap:8px;margin:15px 0 0;padding:10px 12px;border:1px solid #dbe3ec;border-radius:7px;color:#166534;font-size:12.5px;font-weight:700;background:#fff}
.tjc-reconciliation-all-match span,.tjc-reconciliation-match-dot{width:7px;height:7px;border-radius:50%;background:#16a34a;display:inline-block;flex:none}
.tjc-reconciliation-matched-group{margin-top:10px;border-top:1px solid #e2e8f0;padding-top:9px}
.tjc-reconciliation-matched-group summary{width:max-content;max-width:100%;cursor:pointer;color:#475569;font-size:12px;font-weight:750;list-style:none}
.tjc-reconciliation-matched-group summary::-webkit-details-marker{display:none}
.tjc-reconciliation-matched-group summary:after{content:' ▾';color:#94a3b8}
.tjc-reconciliation-matched-group[open] summary:after{content:' ▴'}
.tjc-reconciliation-matched-list{display:grid;margin-top:7px;border:1px solid #e2e8f0;border-radius:7px;overflow:hidden}
.tjc-reconciliation-matched-row{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:7px;padding:7px 10px;background:#fff;border-bottom:1px solid #eef2f7;font-size:11.5px;color:#64748b}
.tjc-reconciliation-matched-row:last-child{border-bottom:0}
.tjc-reconciliation-matched-row strong{color:#334155;font-size:12px}
.tjc-reconciliation-footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid #e2e8f0}
.tjc-reconciliation-footer .tjc-link-btn,.tjc-reconciliation-footer .tjc-office-primary-action{min-height:36px;padding:7px 12px;border-radius:7px}

@media(max-width:720px){
  .tjc-reconciliation-shell{padding:13px!important}
  .tjc-reconciliation-head{flex-direction:column;gap:8px}
  .tjc-reconciliation-summary{gap:10px}
  .tjc-reconciliation-row{grid-template-columns:1fr;gap:8px;padding:10px}
  .tjc-reconciliation-actions{justify-content:flex-start;gap:10px 14px}
  .tjc-reconciliation-source{flex-wrap:wrap}
  .tjc-reconciliation-footer{justify-content:space-between}
}

/* v0.13.96: Office UI uses a more-specific display:flex!important rule on
 * .tjc-form-field. Keep disabled/unselected vehicle pickers genuinely hidden. */
body.tjc-office-dashboard-active .tjc-sales-form .tjc-vehicle-picker[hidden],
body.tjc-office-dashboard-active .tjc-vehicle-picker[hidden] {
  display: none !important;
}
