/* Shared only by the explicit locale contract; legacy pages keep their bytes. */
.lite-table-scroll{max-width:100%;min-width:0;overflow-x:auto;outline-offset:4px}
.lite-table-scroll table{width:100%;border-collapse:collapse}
.lite-table-scroll :is(th,td){padding:12px;text-align:left;vertical-align:top;overflow-wrap:anywhere;border-bottom:1px solid var(--line)}
.lite-table-scroll th{color:var(--text)}
.tool :is(label,select,textarea){min-width:0;overflow-wrap:anywhere}
.tool select{max-width:100%}

/* Authored tables use the same palette as generated task tables. */
.table-scroll table{width:100%;border-collapse:collapse;color:var(--text);background:var(--panel)}
.table-scroll :is(th,td){padding:10px 12px;text-align:start;vertical-align:top;border-bottom:1px solid var(--line)}
.table-scroll thead th{color:var(--text);background:color-mix(in srgb,var(--accent) 12%,var(--panel))}
.table-scroll tbody tr:nth-child(even){background:color-mix(in srgb,var(--text) 5%,var(--panel))}

@media(max-width:760px){
  html[lang|="de"] [data-canonical-layout] :is(.table-scroll,.lite-table-scroll){
    min-width:0;max-width:100%;overflow-x:auto;container-type:inline-size
  }
  html[lang|="de"] [data-canonical-layout] :is(.table-scroll,.lite-table-scroll) :is(th,td){
    word-break:normal;overflow-wrap:normal;hyphens:auto
  }
  html[lang|="de"] [data-canonical-layout] :is(.table-scroll,.lite-table-scroll) caption{
    max-inline-size:100cqi;text-align:start
  }
  html[lang|="de"] [data-canonical-layout] [data-compact-table] table{
    min-width:0;table-layout:fixed
  }
  html[lang|="de"] [data-canonical-layout] [data-compact-table] tr>:first-child{
    width:36%;min-width:0
  }
}
