@layer gammal {
  .frame .page .f6 table :is(th, td)[data-tabell-justering] {
    text-align: left !important;
  }
  .frame .page .f6 table :is(th, td)[data-tabell-tal=true] {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }
  .frame .page .f6 table thead th a,
  .fri-spalt:is(#fri-formlas, .fri-spalt) table thead th a {
    color: inherit !important;
  }
  .frame .page .f6 table thead th a:hover {
    text-decoration: underline !important;
  }
  .frame .page .f6 table :is(th, td):has(a.btn6) {
    width: 234px;
    min-width: 234px;
    vertical-align: middle;
    text-align: left;
  }
  .frame .page .f6 table a.btn6 {
    display: inline-flex;
    flex: none;
    box-sizing: border-box;
    width: 210px;
    height: 44px;
    min-height: 44px;
    padding: 0 14px;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    line-height: 1;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
  }
  .frame .page .f6 table a.btn6:hover {
    text-decoration: underline;
  }
  .frame .page .f6 .tbl .logo-cell {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    white-space: normal;
    min-width: 0;
  }
  .frame .page .f6 .tbl .logo-cell:not(:has(img))::before {
    content: "";
    width: 84px;
    height: 20px;
  }
  .frame .page .f6 .tbl .logo-cell > span {
    white-space: normal;
    overflow-wrap: break-word;
  }
  .frame .page .f6 table :is(th, td) {
    white-space: normal;
    overflow-wrap: break-word;
    hyphens: none;
    word-break: normal;
  }
  .frame .page .f6 .tbl-wrap.fri-tabellram {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
  }
  @container page (max-width:699px) {
    .frame .page .f6 .tbl-wrap.fri-tabellram > .qx {
      min-width: 600px;
      table-layout: auto;
    }
    .frame .page .f6 .tbl-wrap.fri-tabellram > .qx :is(th, td) {
      overflow-wrap: normal;
      word-break: normal;
    }
  }
  .frame .page .f6 .tbl-wrap {
    overflow-x: auto;
    max-width: 100%;
    min-width: 0;
    border: 1px solid var(--rule);
    box-shadow: none;
  }
  .frame .page .f6 .tbl-wrap table :is(th, td):first-child {
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 1;
    border-right: 1px solid var(--rule);
  }
  .frame .page .f6 .tbl-wrap table .alt-wr > td:first-child {
    position: static;
    border-right: 0;
  }
  .frame .page .f6 .rikaste tr > :first-child {
    position: static;
  }
  .frame .page .f6 table :is(th, td) {
    text-align: left !important;
  }
  .frame .page .f6 table :is(th, td):has(a.btn6) {
    padding-left: 12px;
    padding-right: 12px;
  }
  .frame .page .f6 .tbl-wrap :is(.cmp4, .cmp-plats) tr > :first-child {
    position: static;
  }
  .frame .page .f6 .tbl-wrap :is(.cmp4, .cmp-plats) tr > :nth-child(2) {
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 1;
    border-right: 1px solid var(--rule);
  }
  .frame .page .f6 .tbl-wrap tfoot td:first-child {
    position: static;
  }
  .f6 .tabell-yta {
    border: 1px solid #E5E7EB;
    background: #fff;
    min-width: 0;
  }
  .f6 .riskfot {
    border: 1px solid #E5E7EB;
    background: #fff;
    padding: 6px 8px;
    margin: 0;
    font: 400 12px/1.4 var(--f);
    color: var(--muted);
    text-align: left;
    overflow-wrap: normal;
  }
  .f6 .riskfot p {
    margin: 0;
    font: inherit;
    line-height: 1.4;
  }
  .f6 .riskfot p + p {
    margin-top: 4px;
  }
  .f6 .riskfot strong {
    font-weight: 650;
  }
  .frame .page .f6 :is(.tpk-risk, .tpk-not, .alt1-w, .alt-w, .alt-risk, .buy-w, .buy-risk) {
    font-size: 12px;
    line-height: 1.4;
    border: 1px solid #E5E7EB;
    background: #fff;
    padding: 4px;
    margin-block: 0;
  }
  .f6 .tbl.produkt-tbl {
    table-layout: fixed;
    min-width: 560px;
    width: 100%;
  }
  .f6 .tbl.produkt-tbl th:first-child {
    width: 38%;
  }
  .f6 .tbl.produkt-tbl :is(th, td) {
    white-space: normal;
    overflow-wrap: break-word;
  }
  .f6 .tbl.produkt-tbl thead th:last-child,
  .f6 .tbl.produkt-tbl .bt {
    width: 234px;
  }
  .f6 .prod-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
  }
  .f6 .prod-action {
    width: 210px;
    max-width: 100%;
  }
  .frame .page .f6 .prod-text .prod-aktornamn {
    display: inline-block;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
  @media (max-width: 600px) {
    .frame .page .f6 .tbl.cmp-partner.produkt-smal a.btn6 {
      white-space: nowrap;
      overflow-wrap: normal;
      word-break: normal;
      hyphens: none;
    }
  }
  .frame .page .f6 .tbl th,
  .frame .page .f6 .tbl th[data-tabell-justering],
  .frame .page .f6 .tbl th :is(a, span, div),
  .frame .page .f6 .tbl th[data-tabell-justering] :is(a, span, div) {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
  .frame .page .f6 .tbl th .logo-cell {
    grid-template-columns: 84px minmax(min-content, 1fr);
  }
  .frame .page .f6 .tbl th .logo-cell > span {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
  .frame .page .f6 .tbl.produkt-tbl {
    table-layout: auto;
  }
  .frame .page .f6 :is(.cmp4, .cmp-plats) th.pos {
    white-space: nowrap;
  }
  @media (max-width: 600px) {
    .frame .page .f6 .tabell-yta {
      max-width: 100%;
      min-width: 0;
    }
    .frame .page .f6 .tbl-wrap {
      box-sizing: border-box;
      max-width: 100%;
      min-width: 0;
      overflow-x: auto;
    }
    .frame .page .f6 .tbl:is(.cmp, .cmp4, .produkt-tbl) {
      table-layout: auto;
      min-width: 640px;
      width: 100%;
    }
    .frame .page .f6 .tbl.produkt-tbl {
      min-width: 720px;
    }
    .frame .page .f6 .tbl:is(.cmp, .cmp4, .produkt-tbl) th[scope=row] {
      width: 170px;
      min-width: 120px;
      max-width: 170px;
    }
    .frame .page .f6 .tbl.produkt-tbl th:first-child {
      width: 170px;
    }
    .frame .page .f6 .tbl:is(.cmp, .cmp4, .produkt-tbl) :is(th, td) {
      white-space: normal;
      overflow-wrap: normal;
      word-break: normal;
      hyphens: none;
    }
    .frame .page .f6 .tbl:is(.cmp, .cmp4, .produkt-tbl) td.tx {
      min-width: 150px;
    }
    .frame .page .f6 .tbl:is(.cmp, .cmp4, .produkt-tbl) :is(td.n, td.pos, td[data-tabell-tal=true], td [data-faktum]) {
      white-space: nowrap;
    }
    .frame .page .f6 .tbl:is(.cmp, .cmp4, .produkt-tbl) .bt {
      width: 234px;
      min-width: 234px;
    }
    .frame .page .f6 .tbl:is(.cmp, .cmp4, .produkt-tbl) .prod-action {
      width: 210px;
    }
    .frame .page .f6 .tbl:is(.cmp, .cmp4, .produkt-tbl) a.btn6 {
      width: 210px;
      min-width: 210px;
      max-width: none;
      padding: 0 14px;
      white-space: nowrap;
      line-height: 1;
    }
    .frame .page .f6 .tbl:is(.cmp, .cmp4, .produkt-tbl) a.btn6::after {
      display: block;
    }
  }
  .frame .page .f6 .tbl.tabell-form,
  .frame .page .f6 .tbl.alt-tbl {
    table-layout: auto;
  }
  .frame .page .f6 .tbl .logo-cell,
  .frame .page .f6 .tbl.alt-tbl .logo-cell {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }
  .frame .page .f6 .tbl .logo-cell:not(:has(img))::before,
  .frame .page .f6 .tbl.alt-tbl .logo-cell:not(:has(img))::before {
    display: none;
  }
  .frame .page .f6 .tbl:has(tbody .logo-cell img) .logo-cell {
    display: grid;
    grid-template-columns: 84px minmax(min-content, 1fr);
  }
  .frame .page .f6 .tbl:has(tbody .logo-cell img) .logo-cell:not(:has(img))::before {
    display: block;
    content: "";
    width: 84px;
    height: 20px;
  }
  .frame .page .f6 .tbl .logo-cell img {
    flex: none;
    max-width: 84px;
    max-height: 20px;
    object-fit: contain;
  }
  .frame .page .f6 .tbl.tabell-form th[scope=row] {
    width: auto;
    min-width: min-content;
    max-width: 300px;
  }
  .frame .page .f6 .tbl.tabell-form th[scope=row] .logo-cell > span {
    max-width: 300px;
  }
  .frame .page .f6 .tbl.alt-tbl tr:not(.alt-wr) > :first-child {
    width: auto;
    min-width: min-content;
    max-width: 300px;
  }
  .frame .page .f6 .tbl.alt-tbl .logo-cell > span {
    max-width: 300px;
  }
  .frame .page .f6 .tbl-wrap .tbl:is(.cmp, .cmp4, .cmp6r, .produkt-tbl, .hh) tbody tr {
    background: #fff;
  }
  .frame .page .f6 .tbl-wrap .tbl:is(.cmp, .cmp4, .produkt-tbl) tbody tr:nth-child(even) {
    background: #F4F6F9;
  }
  .frame .page .f6 .tbl-wrap .tbl:is(.cmp, .cmp4, .cmp6r, .produkt-tbl, .hh) tr > :first-child,
  .frame .page .f6 .tbl-wrap .tbl:is(.cmp4, .cmp-plats, .rikaste) tr > :nth-child(2) {
    background: inherit;
  }
  .frame .page .f6 .tbl-wrap .tbl:is(.cmp, .cmp4, .cmp6r, .produkt-tbl, .hh) thead tr {
    background: #fff;
  }
  .frame .page .f6 .tbl-wrap .tbl:is(.cmp, .cmp4, .cmp6r, .produkt-tbl, .hh) tr > :first-child,
  .frame .page .f6 .tbl-wrap .tbl:is(.cmp4, .cmp-plats, .rikaste) tr > :nth-child(2) {
    box-shadow: none;
    border-right: 0;
  }
  @media (max-width: 600px) {
    .frame .page .f6 .tbl-wrap .tbl:is(.cmp, .cmp6r, .produkt-tbl, .hh):not(.cmp4, .cmp-plats, .rikaste) tr > :first-child,
    .frame .page .f6 .tbl-wrap .tbl:is(.cmp4, .cmp-plats, .rikaste) tr > :nth-child(2) {
      border-right: 1px solid var(--rule);
    }
  }
  .frame .page .f6 .tbl-wrap .tbl:is(.cmp, .cmp4, .cmp6r, .produkt-tbl, .hh) tbody tr.me {
    background: var(--soft);
  }
}
