import{j as i,B as o,ac as d,b as a,q as t,a0 as x}from"./index-ktJf6c6X.js";function c({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 h({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{h as I,c as S};
