I have put a table inside a tcolorbox using this post by @Ignasi.
However, I am having trouble putting a footnote—or really any text—below the table. Whatever text I write after \end{tabular} is put to the RIGHT of the table, but I want this text to be BELOW the table.
If possible, I would like to keep the tcolorbox within a minipage, as I have found it easier to align 2 minipages than to align 2 tcolorboxs. (But maybe there is an easy way to align 2 tcolorboxs, and I am just ignorant of it.)
Any thoughts on how to get text that is written after the \end{tabular} command to appear BELOW the table?
\documentclass{article}
\usepackage[table]{xcolor}
\usepackage{booktabs}
\usepackage[left=19mm, right=19mm,top=18mm,bottom=18mm,includehead=true]{geometry}
\usepackage{caption}
\usepackage{tcolorbox, varwidth}
\tcbuselibrary{theorems}
\tcbuselibrary{skins}
\newtcolorbox[blend into=tables]{TableStyle1}[2][]{title={#2}, before upper=\centering, #1}
\begin{document}
Some introductory text....
\begin{minipage}{0.33\textwidth}
\begin{TableStyle1}[capture=hbox, colback=white, colframe=blue!15, coltitle=black, fonttitle=\bfseries]{Proposed frequency of CT scans}
\setlength{\extrarowheight}{4mm}
\renewcommand{\tabcolsep}{3mm}
\begin{tabular}{m{24mm} m{24mm} m{16mm}}
Date & Scan & mSv \
\midrule
early Jan 2024 & CT CAP & 24 mSv \
May 2024 & CT AP | CXR & 16 mSv \
Nov 2024 & CT AP | CXR & 16 mSv\
Aug 2025 & CT CAP & 24 mSv \
Aug 2026 & CT AP | CXR & 16 mSv \
Aug 2027 & CT AP | CXR & 16 mSv\
Aug 2028 & CT AP | CXR & 16 mSv \
\textbf{TOTAL}& & \textbf{176 mSv} \
\end{tabular}
This total includes the 48 mSv already obtained from previous scans.
\end{TableStyle1}
\vspace{5mm}
\end{minipage}
Some more text....
\end{document}
Here is a screenshot of what I am getting currently:



To be honest, I did not really understand the command
– Sam Nov 28 '23 at 00:03[capture=hbox]when I included that command in my code. What does this command do?