/* content-dialog — styles scoped to this block */

@media print {
body.printing-estimate > :not([data-block="content-dialog"]) { display:none!important }
body.printing-estimate > :where([data-block="content-dialog"]) { position:static!important;display:block!important;max-height:none!important;width:100%!important;max-width:none!important;box-shadow:none;border:0;padding:0;overflow:visible }
body.printing-estimate :where([data-block="content-dialog"]) .dialog-actions,
body.printing-estimate :where([data-block="content-dialog"]) .icon-button { display:none!important }
}
/* The calculator estimate becomes a list on narrow screens. */
@media screen and (max-width:760px) {
  :where([data-block="content-dialog"]) .calculation-table,
  :where([data-block="content-dialog"]) .calculation-table tbody,
  :where([data-block="content-dialog"]) .calculation-table tfoot {
    display:block;
    width:100%;
  }
  :where([data-block="content-dialog"]) .calculation-table thead {
    display:none;
  }
  :where([data-block="content-dialog"]) .calculation-table tr {
    display:grid;
    grid-template-columns:1fr auto;
    column-gap:12px;
    row-gap:8px;
    padding:16px 0;
    border-bottom:1px solid #e5e8eb;
  }
  :where([data-block="content-dialog"]) .calculation-table td,
  :where([data-block="content-dialog"]) .calculation-table th {
    border:0;
    padding:0;
    width:auto;
    font-size:14px;
  }
  :where([data-block="content-dialog"]) .calculation-table td:first-child {
    grid-column:1/-1;
    overflow-wrap:normal;
    font-size:15px;
  }
  :where([data-block="content-dialog"]) .calculation-table tbody td:nth-child(2) {
    color:#69737b;
  }
  :where([data-block="content-dialog"]) .calculation-table tbody td:nth-child(2):before {
    content:'Объем: ';
  }
  :where([data-block="content-dialog"]) .calculation-table tfoot th {
    text-align:left;
  }
  :where([data-block="content-dialog"]) .calculation-table td:last-child {
    text-align:right;
    white-space:nowrap;
  }
  :where([data-block="content-dialog"]) .calculation-table tfoot td:before {
    content:none;
  }
}
