/* Turso T1-R3 · C1 · presentación */
@media screen {
 html.ea-c1-dialog-open,html.ea-c1-dialog-open body{overflow:hidden!important;overscroll-behavior:none;}
 html.ea-c1-dialog-open .sidebar{overflow:hidden!important;overscroll-behavior:none;}
 html.ea-c1-dialog-open #modal .overlay,
 html.ea-c1-dialog-open #modal .dialog,
 #ea5-select-list,#date-picker-panel,#price-menu{overscroll-behavior:contain;}
 #modal .dialoghead{position:sticky;top:0;z-index:6;background:var(--ea-surface,var(--panel,#fff));box-shadow:0 3px 0 var(--ea-surface,var(--panel,#fff));}
 #modal .dialoghead::before{content:"";position:absolute;inset:-18px -18px -4px;z-index:-1;background:var(--ea-surface,var(--panel,#fff));}
 :is(#content,#modal) .tablewrap table{border-collapse:separate;border-spacing:0;}
 :is(#content,#modal) .tablewrap thead th{position:sticky;top:0;z-index:3;background:var(--ea-soft,var(--panel,#fff))!important;}
 :is(#content,#modal) td.actions>button+button{margin-inline-start:10px;}
 :is(#content,#modal) td.actions>button~button.danger{margin-inline-start:18px;}
 #modal .foot{gap:12px;}
 #content>.ea-c1-sales-summary{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;}
 .ea-c1-sales-info{flex:1 1 260px;}
 .ea-c1-sales-info>h3{margin-top:0;}
 .ea-c1-sales-summary>.stat{flex:0 0 150px;min-width:100px;margin:0;padding:12px 16px;}
 .ea-c1-purchase-summary{display:flex;align-items:flex-end;justify-content:space-between;gap:12px 24px;margin:8px 0 12px;}
 .ea-c1-purchase-summary>.g6-projected-total{flex:0 0 auto;margin:0;gap:4px;}
 .ea-c1-purchase-actions{min-width:0;display:flex;flex-direction:column;align-items:flex-end;gap:8px;}
 html body #modal .ea-c1-purchase-actions>.document-total{margin:0!important;}
 .ea-c1-purchase-actions>.foot{margin:0!important;flex-wrap:wrap;justify-content:flex-end;}
 .ea-c1-purchase-actions>p:empty,#modal .modal-zoom>p:empty{display:none;}
 .ea-c1-purchase-actions>p{margin:0;}
 @media(min-width:801px){
  html{scrollbar-gutter:stable;}
  html:not(.ea-mobile-app-m2) .main>.topbar{position:sticky;top:8px;z-index:16;}
  html body #content .tablewrap.ea-c1-main-list{max-height:var(--ea-c1-list-height)!important;overflow:auto;}
 }
 @media(max-width:700px){
  .ea-c1-purchase-summary{flex-wrap:wrap;align-items:flex-start;gap:12px;}
  .ea-c1-purchase-actions{flex:1 1 100%;align-items:flex-end;}
  .ea-c1-sales-summary>.stat{flex-basis:100px;}
 }
}
