/* Comptoir Auto V7.3.8 — Mobile Polish & stabilisation. Additive presentation only. */
:root{--v738-mobile-nav-clearance:calc(78px + env(safe-area-inset-bottom))}
.tx733-dossier,.subscription-v735,.access-guide-card-v736{min-width:0}
.tx733-dossier button,.subscription-v735 button,.access-guide-card-v736 button{touch-action:manipulation}
@media(max-width:760px){
  /* Transaction dossier: one continuous reading flow, no horizontal escape. */
  #modal.show:has(.tx733-dossier){padding:0;overscroll-behavior:contain}
  #modal.show:has(.tx733-dossier) .modal-card{height:100dvh;max-height:100dvh;overflow:hidden}
  #modal.show:has(.tx733-dossier) #modalForm{height:100%;max-height:none;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding-bottom:calc(92px + env(safe-area-inset-bottom))}
  .tx733-dossier{width:100%;overflow:hidden;gap:14px}
  .tx733-summary,.tx733-section,.tx733-action{min-width:0}
  .tx733-summary h2,.tx733-parties strong,.tx733-facts strong{overflow-wrap:anywhere}
  .tx733-section-head{align-items:flex-start;flex-wrap:wrap}
  .tx733-actions-inline{display:grid;grid-template-columns:1fr;gap:9px}
  .tx733-actions-inline button,.tx733-actions-inline a{width:100%;min-height:46px;white-space:normal}
  .tx733-footer{position:sticky;bottom:0;z-index:8;margin:0 -1px;padding:12px 0 calc(10px + env(safe-area-inset-bottom));box-shadow:0 -10px 24px rgba(21,42,34,.08)}
  .tx733-footer button{min-width:0;white-space:normal}
  /* V7.3.4 documents: stacked actions and readable explanations. */
  .tx734-documents,.tx734-doc-grid,.tx734-doc-actions{min-width:0;max-width:100%}
  .tx734-doc-actions{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
  .tx734-doc-actions button,.tx734-doc-actions a{width:100%;min-height:46px;white-space:normal}
  /* Subscription pages: compact, thumb-friendly, never hidden by fixed navigation. */
  .subscription-v735{width:100%;max-width:100%;overflow-x:hidden;padding-bottom:var(--v738-mobile-nav-clearance)}
  .subscription-hero-v735,.plans-v735{min-width:0}
  .plan-v735{min-width:0}.plan-v735 li{overflow-wrap:anywhere}
  .subscription-compare-v735 button,.plan-v735>button{min-height:48px}
  /* Access explanation remains above the persistent navigation and safe area. */
  .access-guide-v736{z-index:10050;padding:0;align-items:end}
  .access-guide-card-v736{max-height:calc(100dvh - env(safe-area-inset-top));overflow-y:auto;overscroll-behavior:contain;padding-bottom:calc(22px + env(safe-area-inset-bottom))}
  .access-guide-actions-v736 button{min-height:48px}
}
@media(max-width:420px){
  .tx733-summary{padding:14px}.tx733-section{padding:14px}.tx733-summary h2{font-size:21px}
  .tx733-footer{grid-template-columns:1fr}
  .subscription-hero-v735 h1{font-size:31px}.plan-v735 h2{font-size:28px}
  .access-guide-card-v736{padding-left:16px;padding-right:16px}.access-guide-card-v736 h2{font-size:24px}
}
@media(prefers-reduced-motion:reduce){.tx733-dossier *,.subscription-v735 *,.access-guide-v736 *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
