import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{i as t,r as n}from"./markdown-Biq8ujIZ.js";import{n as r}from"./createLucideIcon-dIT_VeEb.js";import{pt as i}from"./index-B3ZlwJ0J.js";var a=e(t(),1),o=n();function s({children:e,className:t,padded:n=!0,...s}){let c=(0,a.useContext)(i);return(0,o.jsx)(`div`,{className:r(`rounded-2xl`,!c&&`border border-border bg-surface shadow-sm`,n&&(c?`p-3 sm:p-4`:`p-4 sm:p-5`),t),...s,children:e})}function c({title:e,action:t}){return(0,o.jsxs)(`div`,{className:`mb-4 flex items-center justify-between`,children:[(0,o.jsx)(`h3`,{className:`font-semibold text-text`,children:e}),t]})}export{c as n,s as t};