/* Finance and E-Invoicing extend the shared corporate demo presentation. */
.finance-einvoicing-content :is(.financesteps, .einvsteps) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-block: 24px;
}
.finance-einvoicing-content :is(.financesteps, .einvsteps) button {
  min-width: 0;
  min-height: 80px;
  padding: 16px;
  border: 1px solid #dce2f1;
  border-radius: 10px;
  color: #243961;
  background: #fff;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.finance-einvoicing-content :is(.financesteps, .einvsteps) button b { color: #53617b; }
.finance-einvoicing-content :is(.financesteps, .einvsteps) button[aria-selected="true"] {
  color: #fff;
  border-color: #3155ce;
  background: #3155ce;
}
.finance-einvoicing-content :is(.financesteps, .einvsteps) button[aria-selected="true"] b { color: #fff; }
.finance-einvoicing-content :is(.financeboard, .einvhero, .salespreview) {
  min-width: 0;
  padding: 24px;
  border: 1px solid #dce2f1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(23, 40, 74, .05);
}
.finance-einvoicing-content :is(.financebalance, .einvdocument) {
  min-width: 0;
  padding: 24px;
  border-color: #dce2f1;
  background: #f8faff;
}
.finance-einvoicing-content .demo-document-title {
  margin-block: 20px;
  color: #17284a;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}
.finance-einvoicing-content .financemetrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.finance-einvoicing-content :is(.financemetrics > div, .einvline, .einvstatus span) { color: #53617b; }
.finance-einvoicing-content :is(.financemetrics b, .balance, .einvline strong) { color: #3155ce; }
.finance-einvoicing-content .finance-note { color: #53617b !important; }
.finance-einvoicing-content :is(.financebalance .row, .einvline, .docline) { flex-wrap: wrap; gap: 12px; }
.finance-einvoicing-content :is(.financebalance .row, .einvline) > * { min-width: 0; overflow-wrap: anywhere; }
.finance-einvoicing-content .financebalance .row { color: #53617b; }
.finance-einvoicing-content .einvoutcome button {
  min-height: 44px;
  padding: 12px 16px;
  color: #243961;
  border-color: #dce2f1;
}
.finance-einvoicing-content .einvoutcome button[aria-pressed="true"] {
  color: #fff;
  border-color: #3155ce;
  background: #3155ce;
}
.finance-einvoicing-content .einvfeedback { color: #243961; background: #e9efff; }
.finance-einvoicing-content :is(.salesfeatures, .saleslinks, .financedistinction, .einvsides) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.finance-einvoicing-content :is(.salesfeatures, .saleslinks, .financedistinction, .einvsides) > * {
  min-width: 0;
  padding: 24px;
  border: 1px solid #dce2f1;
  border-radius: 12px;
  background: #fff;
}
.finance-einvoicing-content .einvspecs { border-color: #dce2f1; }
.finance-einvoicing-content .einvspecs table { min-width: 0; table-layout: fixed; }
.finance-einvoicing-content .einvspecs :is(th, td) { padding: 16px; color: #53617b; overflow-wrap: anywhere; }
.finance-einvoicing-content .einvspecs th { color: #243961; background: #eef2fc; }
.finance-einvoicing-content .einvspecs :is(th, td):first-child { width: 32%; }
.finance-einvoicing-content :is(.financeboard, .einvhero, .salesexample, .financemetrics, .einvfeedback) { overflow-wrap: anywhere; }
@media (min-width: 700px) {
  .finance-einvoicing-content :is(.salesfeatures, .saleslinks, .financedistinction, .einvsides) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  .finance-einvoicing-content :is(.financesteps, .einvsteps) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .finance-einvoicing-content .salesfeatures { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .finance-einvoicing-content :is(.financeboard, .einvhero, .salespreview, .financebalance, .einvdocument) { padding: 20px; }
  .finance-einvoicing-content .financemetrics > div { padding: 16px 12px; }
  .finance-einvoicing-content .einvspecs :is(th, td) { padding: 12px; }
}
