/* Products from a document line (prodpick.js, app.js drawLines): the line's Product and Account boxes, and the
   product dialog. Logical properties, so Arabic mirrors without rtl.css. */

/* A line's product keeps its arrow (it opens the product in a dialog); an account box is a plain search box. */
.m2o.in-grid.with-open .m2o-open { display: inline-flex; }
.m2o.in-grid.with-open.can-open .m2o-text { padding-inline-end: 56px; }
.m2o.in-grid.with-open.can-open.ro .m2o-text { padding-inline-end: 30px; }
.m2o.in-grid.with-open.ro .m2o-open { inset-inline-end: 2px; }
table.lines td.col-account { min-width: 170px; }
.m2o-edit { border-top: 0; margin-top: 0; font-weight: 500; }
.m2o-new + .m2o-edit { border-radius: 0 0 6px 6px; }

.dlg.pp-dlg { width: 720px; max-width: 96vw; max-height: 92vh; overflow-y: auto; }
.pp-dlg .pp-name { width: 100%; font-size: 20px; font-weight: 600; padding: 10px 12px; margin-bottom: 10px; }
.pp-ticks { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 2px 0 12px; }
.pp-tick { display: inline-flex; align-items: center; gap: 7px; font-weight: 550; cursor: pointer; }
.pp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.pp-dlg .fieldrow { grid-template-columns: 128px 1fr; }
.pp-sub { margin: 18px 0 2px; font-size: 13px; font-weight: 650; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 640px) {
  .pp-cols { grid-template-columns: 1fr; }
  .pp-dlg .fieldrow { grid-template-columns: 1fr; }
}
