import{j as i,B as o,a3 as d,b as a,s as t,W as x}from"./index-BiWH3VAt.js";function h({title:e,icon:r,action:n,children:s,sx:l}){return i(x,{variant:"outlined",sx:{borderRadius:2,p:{xs:1.5,md:2},height:"100%",borderColor:"divider",transition:"box-shadow .2s","&:hover":{boxShadow:"0 2px 10px rgba(0,0,0,0.06)"},...l},children:[(e||n)&&i(o,{sx:{display:"flex",alignItems:"center",gap:1,mb:1.5},children:[r&&d.cloneElement(r,{fontSize:"small",color:"primary"}),e&&a(t,{variant:"subtitle2",fontWeight:700,sx:{letterSpacing:.2},children:e}),n&&a(o,{sx:{ml:"auto"},children:n})]}),s]})}function c({label:e,value:r}){return i(o,{sx:{display:"flex",gap:1.5,py:.6,alignItems:"baseline"},children:[a(t,{variant:"caption",color:"text.secondary",sx:{minWidth:96,flexShrink:0,fontWeight:600,textTransform:"uppercase",letterSpacing:.3,fontSize:10.5},children:e}),a(t,{variant:"body2",sx:{fontWeight:500,wordBreak:"break-word"},children:r??"—"})]})}export{c as I,h as S};
