@layer arche.base;@layer arche.components{.arche-table{box-sizing:border-box;overscroll-behavior-x:contain;border:1px solid var(--arche-color-border-subtle);border-radius:var(--arche-radius-lg);--arche-table-cell-x:var(--arche-spacing-4);--arche-table-cell-y:var(--arche-spacing-3);--arche-table-heading-y:var(--arche-spacing-2);--arche-table-hint-line:var(--arche-color-border-strong);--arche-table-hint-fill:var(--arche-color-hover);--arche-table-hint-cover:var(--arche-table-surface,var(--arche-color-bg));--arche-table-hint-width:1.5rem;--arche-table-hint-start-side:left;--arche-table-hint-end-side:right;--arche-table-hint-inward-start:to right;--arche-table-hint-inward-end:to left;max-inline-size:100%;position:relative;overflow:auto}.arche-table:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){--arche-table-hint-start-side:right;--arche-table-hint-end-side:left;--arche-table-hint-inward-start:to left;--arche-table-hint-inward-end:to right}.arche-table[data-size=sm]{--arche-table-cell-x:var(--arche-spacing-3);--arche-table-cell-y:var(--arche-spacing-1);--arche-table-heading-y:var(--arche-spacing-1)}.arche-table__table{border-collapse:separate;border-spacing:0;inline-size:100%;font:var(--arche-typography-body);color:var(--arche-color-text);margin:0}.arche-table__caption{padding:var(--arche-table-cell-y) var(--arche-table-cell-x);caption-side:top;text-align:start;font-weight:var(--arche-font-weight-medium);color:var(--arche-color-text-strong);border-block-end:1px solid var(--arche-color-border-subtle)}.arche-table__caption-text{max-inline-size:100%;display:inline-block;position:sticky;inset-inline-start:var(--arche-table-cell-x)}.arche-table__caption[data-visually-hidden],.arche-table__label[data-visually-hidden]{clip-path:inset(50%);white-space:nowrap;border:0;block-size:1px;inline-size:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.arche-table__table>thead>tr>:is(th,td){padding:var(--arche-table-heading-y) var(--arche-table-cell-x);text-align:start;vertical-align:middle;white-space:nowrap;font-size:var(--arche-font-size-xs);font-weight:var(--arche-font-weight-medium);color:var(--arche-color-text-muted);background:var(--arche-color-surface);border-block-end:1px solid var(--arche-color-border-subtle)}.arche-table__table>tbody>tr>*{padding:var(--arche-table-cell-y) var(--arche-table-cell-x);text-align:start;vertical-align:middle;white-space:nowrap;font-weight:var(--arche-font-weight-regular);border-block-end:1px solid var(--arche-color-border-subtle)}.arche-table__table>tbody>tr:last-child>*{border-block-end:0}.arche-table__table>tbody>tr>th{font-weight:var(--arche-font-weight-medium);color:var(--arche-color-text-strong)}.arche-table__table>*>tr>[data-align=end]{text-align:end}.arche-table__cell[data-numeric]{font-family:var(--arche-font-family-mono);font-variant-numeric:tabular-nums}.arche-table__table>tbody>tr>[data-wrap],.arche-table__table>tbody>tr>.arche-table__empty{white-space:normal}.arche-table__table>*>tr>.arche-table__select{inline-size:1.5rem;padding-inline-end:0}.arche-table__select>.arche-checkbox{padding-block:0}.arche-table[data-sticky-header] thead>tr>th{z-index:var(--arche-z-index-raised);position:sticky;inset-block-start:0}.arche-table__row{transition:background-color var(--arche-duration-fast) var(--arche-easing-standard)}.arche-table__row:hover{background-image:linear-gradient(var(--arche-color-hover), var(--arche-color-hover))}.arche-table__row:has(>.arche-table__select input:checked){background-color:var(--arche-color-selected-soft)}.arche-table__row:has(>.arche-table__select input:checked)>:first-child{box-shadow:inset 2px 0 0 var(--arche-color-selected)}.arche-table__row:has(>.arche-table__select input:checked)>:first-child:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){box-shadow:inset -2px 0 0 var(--arche-color-selected)}.arche-table__sort{align-items:center;gap:var(--arche-spacing-1);vertical-align:top;min-block-size:1.5rem;font:inherit;color:inherit;white-space:nowrap;border-radius:var(--arche-radius-md);cursor:pointer;transition:color var(--arche-duration-fast) var(--arche-easing-standard);background:0 0;border:0;margin:0;padding:0;display:inline-flex}.arche-table__heading[data-align=end] .arche-table__sort{flex-direction:row-reverse}.arche-table__sort:hover,.arche-table__heading[aria-sort] .arche-table__sort{color:var(--arche-color-text-strong)}.arche-table__sort-icon{color:var(--arche-color-text-subtle);transition:color var(--arche-duration-fast) var(--arche-easing-standard);flex:none}.arche-table__sort:hover .arche-table__sort-icon,.arche-table__heading[aria-sort] .arche-table__sort-icon{color:currentColor}.arche-table__table>tbody>tr>.arche-table__empty{padding-block:var(--arche-spacing-8);text-align:center;color:var(--arche-color-text-muted)}.arche-table__mark{inline-size:var(--arche-spacing-4);block-size:var(--arche-spacing-4);vertical-align:middle;color:var(--arche-color-text-muted);justify-content:center;align-items:center;margin-inline-start:var(--arche-spacing-1);display:inline-flex}.arche-table__cell[data-decorative]{color:var(--arche-color-text-muted)}.arche-table[data-hide-header]>.arche-table__table>thead>tr>*{border-block-width:0;block-size:0;padding-block:0}.arche-table[data-hide-header]>.arche-table__table>thead>tr>*>*{clip-path:inset(50%);white-space:nowrap;border:0;block-size:1px;inline-size:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.arche-table[data-appearance=plain]{--arche-table-focus-room:var(--arche-spacing-1);--arche-table-rule:var(--arche-row-rule-color,var(--arche-color-border-subtle));--arche-table-close:var(--arche-row-close-width,1px);max-inline-size:calc(100% + 2 * var(--arche-table-focus-room));margin-inline:calc(var(--arche-table-focus-room) * -1);padding-inline:var(--arche-table-focus-room);border:0;border-radius:0}.arche-table[data-appearance=plain]:focus-visible{outline-offset:-1.5px}.arche-table[data-appearance=plain] .arche-table__caption{padding:0 0 var(--arche-spacing-2);font:var(--arche-typography-label);font-stretch:var(--arche-typography-label-font-width);letter-spacing:var(--arche-typography-label-letter-spacing);text-transform:var(--arche-typography-label-text-transform);color:var(--arche-color-text-muted);border-block-end:0}.arche-table[data-appearance=plain] .arche-table__caption-text{inset-inline-start:0}.arche-table[data-appearance=plain]>.arche-table__table>thead>tr>*{border-block-end-color:var(--arche-table-rule);background:0 0}.arche-table[data-appearance=plain]>.arche-table__table>tbody>tr>*{border-block-end-color:var(--arche-table-rule)}.arche-table[data-appearance=plain]>.arche-table__table>*>tr>:first-child{padding-inline-start:0}.arche-table[data-appearance=plain]>.arche-table__table>*>tr>:last-child{padding-inline-end:0}@media (width<48rem){.arche-table[data-appearance=plain]{--arche-table-cell-x:var(--arche-spacing-2)}}.arche-table[data-appearance=plain]>.arche-table__table>tbody>tr:last-child>*{border-block-end:var(--arche-table-close) solid var(--arche-table-rule)}.arche-table[data-appearance=plain]:has(+:is(.arche-row,.arche-rows),+[hidden]+:is(.arche-row,.arche-rows))>.arche-table__table>tbody>tr:last-child>*{border-block-end-width:0}:is(.arche-row>.arche-disclosure__content>.arche-table[data-appearance=plain]:last-child,.arche-row>.arche-disclosure__content>:last-child>.arche-table[data-appearance=plain]:last-child,.arche-row>.arche-disclosure__content>.arche-section:last-child>.arche-section__body>.arche-table[data-appearance=plain]:last-child,.arche-row>.arche-disclosure__content>:last-child>.arche-section:last-child>.arche-section__body>.arche-table[data-appearance=plain]:last-child)>.arche-table__table>tbody>tr:last-child>*{border-block-end-width:0}.arche-table[data-appearance=plain]:is(:is(.arche-row,.arche-rows)+*,:is(.arche-row,.arche-rows)+[hidden]+*)>.arche-table__table>.arche-table__caption:not([data-visually-hidden]){border-block-start:1px solid var(--arche-table-rule);padding-block-start:var(--arche-spacing-section-half)}.arche-table[data-appearance=plain]:is(:is(.arche-row,.arche-rows)+*,:is(.arche-row,.arche-rows)+[hidden]+*):not([data-hide-header],:has(>.arche-table__table>.arche-table__caption:not([data-visually-hidden])))>.arche-table__table>thead>tr>*{border-block-start:1px solid var(--arche-table-rule)}.arche-table[data-appearance=plain][data-hide-header]:is(:is(.arche-row,.arche-rows)+*,:is(.arche-row,.arche-rows)+[hidden]+*):not(:has(>.arche-table__table>.arche-table__caption:not([data-visually-hidden])))>.arche-table__table>tbody>tr:first-child>*{border-block-start:1px solid var(--arche-table-rule)}@keyframes arche-table-hints{0%{--arche-table-hint-start:transparent;--arche-table-hint-start-fill:transparent;--arche-table-hint-end:var(--arche-table-hint-line);--arche-table-hint-end-fill:var(--arche-table-hint-fill)}2%{--arche-table-hint-start:var(--arche-table-hint-line);--arche-table-hint-start-fill:var(--arche-table-hint-fill)}98%{--arche-table-hint-end:var(--arche-table-hint-line);--arche-table-hint-end-fill:var(--arche-table-hint-fill)}to{--arche-table-hint-start:var(--arche-table-hint-line);--arche-table-hint-start-fill:var(--arche-table-hint-fill);--arche-table-hint-end:transparent;--arche-table-hint-end-fill:transparent}}@supports (animation-timeline:scroll()){.arche-table{background-image:linear-gradient(var(--arche-table-hint-start), var(--arche-table-hint-start)), linear-gradient(var(--arche-table-hint-inward-start), var(--arche-table-hint-start-fill,transparent), transparent), linear-gradient(var(--arche-table-hint-end), var(--arche-table-hint-end)), linear-gradient(var(--arche-table-hint-inward-end), var(--arche-table-hint-end-fill,transparent), transparent);background-position:var(--arche-table-hint-start-side) var(--arche-table-hint-offset,0px), var(--arche-table-hint-start-side) var(--arche-table-hint-offset,0px), var(--arche-table-hint-end-side) var(--arche-table-hint-offset,0px), var(--arche-table-hint-end-side) var(--arche-table-hint-offset,0px);background-size:1px calc(100% - var(--arche-table-hint-offset,0px)), var(--arche-table-hint-width) calc(100% - var(--arche-table-hint-offset,0px)), 1px calc(100% - var(--arche-table-hint-offset,0px)), var(--arche-table-hint-width) calc(100% - var(--arche-table-hint-offset,0px));background-repeat:no-repeat;animation:linear both arche-table-hints;animation-timeline:scroll(self inline)}}@supports not (animation-timeline:scroll()){.arche-table{background-image:linear-gradient(var(--arche-table-hint-cover), var(--arche-table-hint-cover)), linear-gradient(var(--arche-table-hint-cover), var(--arche-table-hint-cover)), linear-gradient(var(--arche-table-hint-line), var(--arche-table-hint-line)), linear-gradient(var(--arche-table-hint-inward-start), var(--arche-table-hint-fill), transparent), linear-gradient(var(--arche-table-hint-line), var(--arche-table-hint-line)), linear-gradient(var(--arche-table-hint-inward-end), var(--arche-table-hint-fill), transparent);background-position:var(--arche-table-hint-start-side) top, var(--arche-table-hint-end-side) top, var(--arche-table-hint-start-side) var(--arche-table-hint-offset,0px), var(--arche-table-hint-start-side) var(--arche-table-hint-offset,0px), var(--arche-table-hint-end-side) var(--arche-table-hint-offset,0px), var(--arche-table-hint-end-side) var(--arche-table-hint-offset,0px);background-size:var(--arche-table-hint-width) 100%, var(--arche-table-hint-width) 100%, 1px calc(100% - var(--arche-table-hint-offset,0px)), var(--arche-table-hint-width) calc(100% - var(--arche-table-hint-offset,0px)), 1px calc(100% - var(--arche-table-hint-offset,0px)), var(--arche-table-hint-width) calc(100% - var(--arche-table-hint-offset,0px));background-repeat:no-repeat;background-attachment:local,local,scroll,scroll,scroll,scroll}}@media (forced-colors:active){.arche-table__sort-icon{color:inherit}.arche-table__row:has(>.arche-table__select input:checked){outline-offset:-2px;outline:2px solid highlight}.arche-table{--arche-table-hint-line:CanvasText;--arche-table-hint-fill:transparent;--arche-table-hint-cover:Canvas;forced-color-adjust:none;border-color:canvastext}.arche-table>*{forced-color-adjust:auto}.arche-table:focus-visible{box-shadow:none;outline-color:highlight}.arche-table__table>*>tr>*{border-color:canvastext}}}@layer arche.utilities;@property --arche-table-hint-start{syntax:"<color>";inherits:false;initial-value:#0000}@property --arche-table-hint-end{syntax:"<color>";inherits:false;initial-value:#0000}
