@layer base { :where(:root) { table { border-spacing: 0; table-layout: auto; width: 100%; thead th { background: var(--color-bg-muted); border: 1px solid var(--color-border); border-bottom-width: 0; border-right-width: 0; padding: 0.5rem; text-align: left; &:first-child { border-top-left-radius: var(--radius-sm); } &:last-child { border-right-width: 1px; border-top-right-radius: var(--radius-sm); } } tbody tr { td { border: 1px solid var(--color-border); border-bottom-width: 0; border-right-width: 0; padding: 0.5rem; vertical-align: top; &:last-child { border-right-width: 1px; } } &:last-child { td { border-bottom-width: 1px; } td:first-child { border-bottom-left-radius: var(--radius-sm); } td:last-child { border-bottom-right-radius: var(--radius-sm); } } } } } }