/* PATCH62 — écran de gestion indépendant ; aucune règle CSS globale */
#vc62Overlay{position:fixed;inset:0;z-index:2147483600;background:rgba(21,12,10,.72);overflow:auto;padding:20px 10px;font:16px/1.45 Georgia,serif;color:#3d2920}
#vc62Overlay[hidden]{display:none!important}#vc62Overlay *{box-sizing:border-box}
#vc62Overlay .vc62-shell{max-width:1120px;margin:auto;background:#fffaf1;border:2px solid #b9945d;border-radius:18px;box-shadow:0 20px 65px #180d0c70;padding:20px}
#vc62Overlay h2,#vc62Overlay h3{color:#741c20;margin:0 0 12px;font-family:Georgia,serif}
#vc62Overlay h2{font-size:28px}#vc62Overlay h3{font-size:21px;margin-top:16px}
#vc62Overlay .vc62-head{display:flex;gap:10px;justify-content:space-between;align-items:flex-start;flex-wrap:wrap}
#vc62Overlay button,#vc62Overlay .vc62-button{border:1px solid #a8764b;border-radius:9px;background:#f4e4c8;color:#17110f!important;padding:8px 12px;cursor:pointer;font-weight:700;font:700 15px/1.2 Georgia,serif}
#vc62Overlay button:hover{background:#edcfad}#vc62Overlay button:focus-visible,#vc62Overlay input:focus-visible,#vc62Overlay textarea:focus-visible,#vc62Overlay select:focus-visible{outline:3px solid #1b7188;outline-offset:1px}
#vc62Overlay button.vc62-primary{background:#741c20;color:#fff!important;border-color:#741c20}
#vc62Overlay .vc62-tabs,#vc62Overlay .vc62-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
#vc62Overlay .vc62-tabs button[aria-selected=true]{background:#741c20;color:#fff!important}
#vc62Overlay .vc62-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}#vc62Overlay .vc62-card{border:1px solid #ddc398;background:#fffdf8;border-radius:12px;padding:14px;min-width:0}
#vc62Overlay label{display:block;margin:10px 0 4px;font-weight:bold}#vc62Overlay input,#vc62Overlay textarea,#vc62Overlay select{background:#fff;border:1px solid #aa8c69;border-radius:8px;padding:9px;width:100%;font:16px/1.3 Georgia,serif;color:#211918}
#vc62Overlay input[type=file]{font-size:13px}#vc62Overlay textarea{min-height:105px;resize:vertical}
#vc62Overlay img.vc62-photo{display:block;width:100%;height:160px;object-fit:contain;border:1px solid #d7c7b2;background:#f7f2ea;border-radius:8px;margin:10px 0}
#vc62Overlay .vc62-small{font-size:13px;color:#6f584a}#vc62Overlay .vc62-hint{border-left:4px solid #b9945d;padding:7px 12px;margin:12px 0;background:#faf1e3}
#vc62Overlay #vc62Msg{border:1px solid #d7c7b2;background:#fff;padding:8px;border-radius:8px;min-height:40px;margin-bottom:12px;white-space:pre-wrap}
#vc62Overlay #vc62Msg.vc62-error{border-color:#b33434;color:#9b2222}#vc62Overlay #vc62Msg.vc62-success{border-color:#39783c;color:#25652b}
#vc62Overlay .vc62-parts{max-height:170px;overflow:auto}#vc62Overlay .vc62-parts .vc62-part{display:grid;grid-template-columns:minmax(0,1fr) 64px;gap:6px;align-items:center;margin:5px 0}
#vc62Overlay .vc62-parts .vc62-part input{padding:5px}#vc62Overlay .vc62-stock-alert{color:#9b2222;font-weight:bold}
#vc62Overlay .vc62-pieces{max-height:165px;overflow:auto;font-size:14px;background:#faf3e5;padding:10px;border-radius:8px;margin-top:8px}
#vc62Overlay .vc62-record{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:end}
#vc62ProdLaunch,#vc62TrayLaunch{background:#f6e3c4!important;color:#18120e!important;border:1px solid #b58a5e!important;border-radius:9px!important;font-weight:bold!important;padding:9px!important}
#vc62ProdLaunch{display:block;width:calc(100% - 20px);margin:10px}
@media(max-width:900px){#vc62Overlay .vc62-grid{grid-template-columns:1fr}#vc62Overlay .vc62-shell{padding:12px}#vc62Overlay .vc62-record{grid-template-columns:1fr}}

#vc62Overlay .vc63-lot{background:#fff5e7;border:1px solid #cbb184;border-radius:8px;padding:8px;margin:5px 0;line-height:1.5}#vc62Overlay .vc63-lot button{margin-left:5px}#vc62Overlay .vc63-loss-table{overflow:auto;max-height:290px}#vc62Overlay .vc63-loss-table table{border-collapse:collapse;width:100%;font-size:13px}#vc62Overlay .vc63-loss-table th,#vc62Overlay .vc63-loss-table td{padding:6px;border-bottom:1px solid #d6c4ad;text-align:left}#vc63LossLaunch{display:block;margin:10px;padding:8px;background:#f4e4c8;color:#111;border:1px solid #b9945d;border-radius:8px}

/* C10: compact, tactile, dynamic catalogue */
#vc62Overlay .vc62-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}#vc62Overlay details.vc62-card summary{cursor:pointer;min-height:78px;padding:14px;color:#780a24;line-height:1.5}#vc62Overlay .vc62-grid{scroll-behavior:smooth}#vc62Overlay .vc62-card{min-width:0}@media(max-width:1050px){#vc62Overlay .vc62-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){#vc62Overlay .vc62-grid{grid-template-columns:1fr}}
