#modal-depot-auto .modal-content{width:min(1180px,96vw);max-height:92dvh;overflow:auto}
.proforma-hub{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}
.proforma-hub button{min-height:150px;padding:20px;border:1px solid rgba(75,229,255,.55);border-radius:20px;color:#eaffff;background:linear-gradient(145deg,rgba(3,31,48,.46),rgba(4,15,29,.24));box-shadow:inset 0 0 0 1px rgba(111,244,255,.08),0 12px 30px rgba(0,0,0,.22);backdrop-filter:blur(14px);cursor:pointer;text-align:left;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.proforma-hub button:hover,.proforma-hub button:focus-visible{transform:translateY(-3px);border-color:#75f4ff;box-shadow:0 0 28px rgba(24,219,255,.22)}
.proforma-hub i{display:block;margin-bottom:14px;font-size:1.8rem;color:#68efff}.proforma-hub strong,.proforma-hub span{display:block}.proforma-hub strong{font-size:1rem}.proforma-hub span{margin-top:8px;line-height:1.45;color:rgba(229,251,255,.76)}
.proforma-section-host{display:block!important}.proforma-submodal{display:none!important;position:relative;width:min(780px,100%);margin:12px auto;padding:clamp(18px,3vw,30px)!important;border:1px solid rgba(87,235,255,.58)!important;border-radius:24px!important;background:linear-gradient(145deg,rgba(2,23,38,.58),rgba(3,42,55,.3))!important;box-shadow:0 0 34px rgba(0,216,255,.18);backdrop-filter:blur(18px)}
.proforma-submodal.is-open{display:block!important}.proforma-submodal-close{position:sticky;z-index:3;top:0;float:right;min-width:42px;min-height:42px;border:1px solid rgba(95,239,255,.7);border-radius:13px;color:#efffff;background:rgba(3,34,49,.7);cursor:pointer}.proforma-submodal .scroller-futuriste{min-height:90px;max-height:300px}
.proforma-category-register-title{margin:18px 0 8px;color:#8ff6ff;font-size:.86rem;text-transform:uppercase;letter-spacing:.08em}
.proforma-registry-entry{width:100%;margin-top:12px;min-height:44px}.proforma-registry-modal{position:fixed;inset:0;z-index:2147482000;display:grid;place-items:center;padding:18px;background:rgba(0,8,18,.28);backdrop-filter:blur(10px)}.proforma-registry-modal[hidden]{display:none!important}.proforma-registry-shell{width:min(1040px,96vw);height:min(780px,90dvh);display:grid;grid-template-rows:auto auto minmax(0,1fr);overflow:hidden;border:1px solid rgba(73,231,255,.72);border-radius:24px;color:#eaffff;background:linear-gradient(145deg,rgba(2,20,36,.86),rgba(3,43,57,.7));box-shadow:0 0 42px rgba(0,220,255,.25)}.proforma-registry-shell>header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid rgba(85,231,255,.22)}.proforma-registry-shell h2{margin:3px 0 0;color:#89f7ff}.proforma-registry-shell>header button{width:42px;height:42px;border:1px solid #69efff;border-radius:13px;color:#efffff;background:rgba(4,38,53,.5);font-size:1.4rem}.proforma-registry-tabs{display:flex;gap:8px;padding:10px 18px}.proforma-registry-tabs button{flex:1;min-height:40px;border:1px solid rgba(88,226,255,.35);border-radius:12px;color:#dffcff;background:rgba(3,31,48,.4)}.proforma-registry-tabs button.is-active{color:#001820;background:#71efff}.proforma-registry-panels{min-height:0;padding:0 18px 18px}.proforma-registry-panels>[data-registry-panel]{display:none;height:100%}.proforma-registry-panels>[data-registry-panel].is-active{display:block}.proforma-dedicated-list{width:100%!important;height:100%!important;max-height:none!important;overflow:auto!important;padding:10px!important}.proforma-dedicated-list .proforma-item{width:100%;box-sizing:border-box;cursor:pointer;border:1px solid rgba(80,229,255,.35)}.proforma-dedicated-list .proforma-item:focus-visible{outline:2px solid #72f5ff;outline-offset:2px}
@media(max-width:760px){.proforma-registry-modal{padding:6px}.proforma-registry-shell{width:calc(100vw - 12px);height:94dvh;border-radius:18px}.proforma-registry-shell>header{padding:12px}.proforma-registry-tabs{padding:8px;gap:5px}.proforma-registry-tabs button{font-size:.7rem;padding:5px}.proforma-registry-panels{padding:0 8px 8px}.proforma-dedicated-list .proforma-item{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px!important;margin:6px 0!important;transform:none!important;overflow:visible}.proforma-dedicated-list .proforma-item .qr-thumb-button{grid-column:1;width:58px!important;height:58px!important;justify-self:center}.proforma-dedicated-list .proforma-item .qr-thumb-button img{width:58px!important;height:58px!important}.proforma-dedicated-list .proforma-item .item-info{grid-column:2;min-width:0;font-size:.68rem;overflow-wrap:anywhere}.proforma-dedicated-list .proforma-item>a,.proforma-dedicated-list .proforma-item>button:not(.qr-thumb-button){grid-column:auto!important;width:100%;min-height:38px;margin:0!important;padding:6px!important;font-size:.64rem;white-space:normal}}
@media(max-width:760px){#modal-depot-auto .modal-content{width:calc(100vw - 12px);max-height:94dvh;padding:14px}.proforma-hub{grid-template-columns:1fr;gap:9px}.proforma-hub button{min-height:92px;padding:14px 16px}.proforma-hub i{display:inline-block;margin:0 10px 0 0}.proforma-submodal{margin:6px 0;padding:16px 12px!important;border-radius:18px!important}.deposit-usage-grid{grid-template-columns:1fr!important}.proforma-submodal .scroller-futuriste{width:100%;max-height:310px;overflow:auto}.proforma-submodal .proforma-item{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%;max-width:100%;margin:7px 0!important;padding:8px!important;transform:none!important;overflow:hidden}.proforma-submodal .proforma-item .qr-thumb-button{grid-column:1;width:60px!important;height:60px!important;justify-self:center}.proforma-submodal .proforma-item .qr-thumb-button img{width:60px!important;height:60px!important}.proforma-submodal .proforma-item .item-info{grid-column:2;min-width:0;font-size:.7rem;line-height:1.3;overflow-wrap:anywhere}.proforma-submodal .proforma-item>a,.proforma-submodal .proforma-item>button:not(.qr-thumb-button){grid-column:auto;width:100%;min-height:38px;margin:0!important;padding:6px!important;font-size:.66rem;line-height:1.15;white-space:normal}.proforma-submodal .proforma-copy-link{order:1}}

/* Le QR depot reste le repere dominant; les actions secondaires sont compactes. */
.proforma-dedicated-list .proforma-item{display:grid!important;grid-template-columns:minmax(118px,150px) minmax(180px,1fr) repeat(3,minmax(108px,auto));gap:8px;align-items:center}
.proforma-dedicated-list .proforma-item .qr-thumb-button{width:clamp(112px,12vw,148px)!important;height:clamp(112px,12vw,148px)!important;padding:5px!important;grid-row:span 2;border:1px solid rgba(102,242,255,.8);box-shadow:0 0 24px rgba(34,224,255,.22)}
.proforma-dedicated-list .proforma-item .qr-thumb-button img{width:100%!important;height:100%!important;object-fit:contain}
.proforma-dedicated-list .proforma-item>a,.proforma-dedicated-list .proforma-item>button:not(.qr-thumb-button){min-height:34px!important;padding:5px 8px!important;font-size:.69rem!important;line-height:1.15}
@media(max-width:760px){.proforma-dedicated-list .proforma-item{grid-template-columns:132px minmax(0,1fr)!important}.proforma-dedicated-list .proforma-item .qr-thumb-button{grid-column:1!important;grid-row:1 / span 5!important;width:126px!important;height:126px!important}.proforma-dedicated-list .proforma-item .item-info,.proforma-dedicated-list .proforma-item>a,.proforma-dedicated-list .proforma-item>button:not(.qr-thumb-button){grid-column:2!important}.proforma-dedicated-list .proforma-item>a,.proforma-dedicated-list .proforma-item>button:not(.qr-thumb-button){min-height:30px!important;padding:4px 5px!important;font-size:.6rem!important}}
