/* Fiche client et véhicule (fiche-ui.js). Mêmes repères que le Pilotage. */
#crm-screen.fc-mode #crm-find,#crm-screen.fc-mode #crm-feedback,#crm-screen.fc-mode #crm-lists{display:none!important}
.fc-search-wrap{display:grid;gap:14px;margin-top:6px}
.fc-search{display:flex;align-items:center;gap:12px;border:1px solid #2b4757;background:#0b1c29;border-radius:16px;padding:6px 18px}
.fc-search:focus-within{border-color:#1ce0b7}
.fc-search span{color:#7d9cab;font-size:20px}
.fc-search input{flex:1;border:0!important;background:transparent!important;font-size:18px;padding:10px 0!important;box-shadow:none!important;outline:none;color:#e9fbf6}
#fc-results{display:grid;gap:10px}
.fc-sec{font-size:12px;font-weight:800;letter-spacing:.06em;color:#93b3c2;text-transform:uppercase;margin:8px 0 0}
.fc-res{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid #243f4f;border-radius:14px;background:#0f2231;padding:14px 16px}
.fc-res:hover{border-color:#1ce0b7}
.fc-res b{font-size:16px}
.fc-res small{display:block;color:#93b3c2;font-size:13px;margin-top:3px}
.fc-cars{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.fc-car{display:inline-flex;align-items:center;gap:4px;border:1px solid #3b6b88;background:#11283a;border-radius:999px;padding:4px 10px;font-size:12.5px;color:#cfe3ea}
.fc-car.at{border-color:#23dcba;background:#153536;color:#bff8ea}
.fc-car em{font-style:normal;color:#7fdcc3;font-weight:700}
.fc-hl{background:rgba(35,220,186,.18);color:#bff8ea;border-radius:4px;padding:0 2px}
.fc-acts{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.fc-acts .btn,.fc-acts a.btn{text-decoration:none}
/* panneau */
.fc-layer{position:fixed;inset:0;z-index:75;background:rgba(3,12,18,.6)}
.fc-layer[hidden]{display:none}
.fc-panel{position:absolute;top:0;right:0;bottom:0;width:min(1180px,100vw);background:#0b1c29;border-left:1px solid #2b4757;box-shadow:-24px 0 48px rgba(0,0,0,.4);overflow:auto;padding:18px 26px 40px}
.fc-top{display:flex;justify-content:space-between;align-items:center;color:#93b3c2;font-size:13px;margin-bottom:6px}
.fc-x{background:none;border:0;color:#a8c0cc;font-size:28px;cursor:pointer;line-height:1}
.fc{display:grid;gap:16px}
.fc-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}
.fc-head h2{font-size:30px;font-weight:800;letter-spacing:-.02em;margin:0}
.fc-head p{margin:6px 0 0;color:#a8c0cc;font-size:15px}
.fc-head p.fc-note{color:#f3cb89;font-size:14px}
.fc-contact{text-align:right;display:grid;gap:4px;justify-items:end}
.fc-phone{font-size:26px;font-weight:800;color:#5ae9c7;letter-spacing:.02em}
.fc-small{color:#93b3c2;font-size:12.5px}
.fc-contact .fc-acts{margin-top:6px;justify-content:flex-end}
.fc-contact .btn{min-height:44px}
.fc-why{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;border:1px solid #2c9e86;background:#123a33;border-radius:16px;padding:16px 18px}
.fc-why.warn{border-color:#9d7948;background:#2b2a22}
.fc-why.small{padding:10px 16px;opacity:.9}
.fc-why .ico{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#1d5a4c;font-size:20px;font-weight:800}
.fc-why.warn .ico{background:#4a3a22;color:#ffe2b0}
.fc-why b{font-size:17px;display:block}
.fc-why small{color:#cfe3ea;font-size:13px}
.fc-tabs{display:flex;gap:8px;flex-wrap:wrap}
.fc-tab{display:flex;align-items:center;gap:10px;border:1px solid #2b4757;background:#0f2231;border-radius:14px;padding:10px 14px;font:inherit;font-size:14px;color:#cfe3ea;cursor:pointer;text-align:left}
.fc-tab.on{border-color:#1ce0b7;background:#153536;color:#f1fbf8}
.fc-tab small{display:block;color:#93b3c2;font-size:11.5px}
.fc-plate{display:inline-block;border:1px solid #6d8a99;border-radius:5px;padding:1px 6px;font-size:12px;letter-spacing:.04em;font-weight:700}
.fc-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.fc-fact{border:1px solid #243f4f;border-radius:12px;background:#0f2231;padding:10px 12px}
.fc-fact small{display:block;color:#93b3c2;font-size:11.5px}
.fc-fact b{display:block;font-size:17px;margin-top:3px}
.fc-fact em{font-style:normal;color:#f3cb89;font-size:12px}
.fc-grid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:16px;align-items:start}
.fc-card{border:1px solid #2b4757;background:#0f2231;border-radius:16px;padding:16px 18px;min-width:0}
.fc-card-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:12px}
.fc-card-head h3{margin:0;font-size:16px;font-weight:800}
.fc-card-head span{color:#93b3c2;font-size:12px}
.fc-tl{position:relative;padding-left:22px}
.fc-tl:before{content:'';position:absolute;left:7px;top:8px;bottom:8px;width:2px;background:#1d3646}
.fc-ev{position:relative;border:1px solid #243f4f;border-radius:12px;background:#0b1c29;padding:12px 14px;margin:0 0 10px}
.fc-ev:before{content:'';position:absolute;left:-20px;top:16px;width:12px;height:12px;border-radius:50%;background:#2c7d68;border:2px solid #0f2231}
.fc-ev.now{border-color:#2c9e86}
.fc-ev.now:before{background:#23dcba;box-shadow:0 0 0 4px rgba(35,220,186,.2)}
.fc-ev-h{display:flex;justify-content:space-between;gap:10px;align-items:baseline;flex-wrap:wrap}
.fc-ev-h b{font-size:15px}
.fc-ev-h span{color:#93b3c2;font-size:12.5px}
.fc-ev ul{margin:8px 0 0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:6px}
.fc-ev li{border:1px solid #2b4757;border-radius:8px;padding:3px 8px;font-size:12.5px;color:#cfe3ea;background:#0f2231}
.fc-src{font-size:11.5px;color:#7d9cab;margin-top:8px}
.fc-link{background:none;border:0;color:#7fdcc3;font:inherit;font-size:12px;cursor:pointer;padding:0 0 0 6px}
.fc-plan{display:flex;justify-content:space-between;align-items:center;gap:10px;border:1px solid #243f4f;border-radius:12px;background:#0b1c29;padding:11px 12px;margin:8px 0}
.fc-plan b{font-size:14px}
.fc-plan small{display:block;color:#93b3c2;font-size:12px;margin-top:2px}
.fc-plan small em{font-style:normal;color:#f3cb89}
.fc-plan .btn{min-height:34px;padding:6px 12px;font-size:13px;flex:none}
.fc-tag{display:inline-block;font-size:10px;font-weight:800;letter-spacing:.05em;border-radius:6px;padding:2px 7px;margin-right:6px;vertical-align:1px}
.fc-tag.later{background:#193848;color:#cdeaf6;border:1px solid #3b769b}
.fc-tag.ct{background:#3a2a1a;color:#ffe2b0;border:1px solid #9d7948}
.fc-tag.rev{background:#13362f;color:#a5e9d4;border:1px solid #2c7d68}
.fc-tag.rdv{background:#23dcba;color:#032c2d;border:1px solid #1ce0b7}
.fc-edit .fc-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.fc-form label{display:grid;gap:5px;font-size:12px;color:#93b3c2}
.fc-form .full{grid-column:1/-1}
.fc-msg{color:#ffc1a0;font-size:13px;min-height:1em}
@media (max-width:1100px){.fc-grid{grid-template-columns:1fr}.fc-facts{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.fc-panel{padding:14px 14px 40px}.fc-head h2{font-size:24px}.fc-contact{text-align:left;justify-items:start}.fc-contact .fc-acts{justify-content:flex-start}
  .fc-why{grid-template-columns:auto minmax(0,1fr)}.fc-why .fc-acts{grid-column:1/-1}.fc-res{grid-template-columns:1fr}.fc-edit .fc-form{grid-template-columns:1fr}}
