/* Opt-in styles for the native Table block. */
:is(.is-style-fws-data-table,.is-style-fws-spec-table,.is-style-fws-comparison-matrix) {
  --table-accent:var(--fws-choice-accent,#002e5b);
  --table-hover-fill:color-mix(in srgb,var(--table-accent) 12%,white);
  --table-hover-mark:var(--table-accent);
  overflow-x:auto;
  border:1px solid #d7cbbf;
  border-radius:10px;
}
.wp-block-table:is(.is-style-fws-data-table,.is-style-fws-spec-table,.is-style-fws-comparison-matrix) table {
  width:100%;
  border-collapse:collapse;
  text-align:start;
}
:is(.is-style-fws-data-table,.is-style-fws-comparison-matrix) table { min-width:34rem; }
.wp-block-table:is(.is-style-fws-data-table,.is-style-fws-spec-table,.is-style-fws-comparison-matrix) :is(th,td) {
  padding:11px 13px;
  text-align:start;
  vertical-align:top;
  border:0;
  border-block-end:1px solid #e4d9ce;
}
.wp-block-table:is(.is-style-fws-data-table,.is-style-fws-spec-table,.is-style-fws-comparison-matrix) thead th {
  background:var(--table-accent);
  color:#fff;
}
.wp-block-table:is(.is-style-fws-data-table,.is-style-fws-spec-table,.is-style-fws-comparison-matrix) tbody th { background:#f5f1eb; }
.wp-block-table:is(.is-style-fws-data-table,.is-style-fws-spec-table,.is-style-fws-comparison-matrix) tbody tr:nth-child(even) td { background:#fcfaf6; }
.wp-block-table.is-style-fws-spec-table { border-inline-start:4px solid var(--table-accent); }
.wp-block-table.is-style-fws-spec-table tbody th { width:35%; color:var(--table-accent); }
.wp-block-table:is(.is-style-fws-data-table,.is-style-fws-spec-table,.is-style-fws-comparison-matrix) figcaption {
  margin:0;
  padding:10px 13px;
  background:#fcfaf6;
  color:#32200c;
  font-weight:700;
  text-align:start;
}
.wp-block-table:is(.is-style-fws-data-table,.is-style-fws-comparison-matrix):focus-visible { outline:3px solid #a23626; outline-offset:3px; }
.wp-block-table:is(.is-style-fws-data-table,.is-style-fws-spec-table,.is-style-fws-comparison-matrix).fws-choice-surface-inverse {
  --table-hover-fill:color-mix(in srgb,var(--table-accent) 72%,black);
  --table-hover-mark:#f3c95e;
  background:var(--table-accent);
  border-color:#ffedb8;
  color:#fff;
}
.wp-block-table:is(.is-style-fws-data-table,.is-style-fws-spec-table,.is-style-fws-comparison-matrix).fws-choice-surface-inverse :is(th,td) {
  background:var(--table-accent);
  color:#fff;
  border-block-end-color:#ffffff59;
}
.wp-block-table:is(.is-style-fws-data-table,.is-style-fws-spec-table,.is-style-fws-comparison-matrix).fws-choice-surface-inverse :is(thead th,tbody th,figcaption,tfoot :is(th,td)) {
  background:color-mix(in srgb,var(--table-accent) 78%,black);
  color:#ffedb8;
}
.wp-block-table:is(.is-style-fws-data-table,.is-style-fws-spec-table,.is-style-fws-comparison-matrix).fws-choice-surface-inverse tbody tr:nth-child(even) td {
  background:color-mix(in srgb,var(--table-accent) 89%,black);
}
.wp-block-table:is(.is-style-fws-data-table,.is-style-fws-spec-table,.is-style-fws-comparison-matrix).fws-choice-surface-inverse a {
  color:#ffedb8;
}
@media (hover:hover) and (pointer:fine) {
  .wp-block-table:is(.is-style-fws-data-table,.is-style-fws-spec-table,.is-style-fws-comparison-matrix):not(.fws-choice-hover-off) tbody tr:hover > :is(th,td) {
    background:var(--table-hover-fill);
  }
  .wp-block-table:is(.is-style-fws-data-table,.is-style-fws-spec-table,.is-style-fws-comparison-matrix):not(.fws-choice-hover-off) tbody tr:hover > :first-child {
    box-shadow:inset 3px 0 var(--table-hover-mark);
  }
  .wp-block-table:is(.is-style-fws-data-table,.is-style-fws-comparison-matrix):not(.fws-choice-hover-off) thead th:hover { box-shadow:inset 0 -4px #f3c95e; }
  .wp-block-table:is(.is-style-fws-data-table,.is-style-fws-comparison-matrix):not(.fws-choice-hover-off) tbody tr > :is(th,td).fws-table-column-hover { background:var(--table-hover-fill); }
}
