@layer components{:where(.mk-profile-form,.mk-profile-form *){box-sizing:border-box}.mk-profile-form{width:100%;container:mk-profile-form/inline-size}.mk-profile-form form{display:grid}.mk-profile-form-section{border-block-end:1px solid var(--border);gap:1rem 3rem;padding-block:1.75rem;display:grid;&>div:first-child h2{margin:0;font-size:1rem;font-weight:600}&>div:first-child p{color:var(--muted-foreground);margin:.25rem 0 0;font-size:.875rem}}.mk-profile-form-fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:1rem;max-width:36rem;display:grid}.mk-profile-form-field{gap:.375rem;display:grid;&[data-span=full]{grid-column:1/-1}}.mk-profile-form-hint{color:var(--muted-foreground);font-size:.8125rem}.mk-profile-form-photo{flex-wrap:wrap;align-items:center;gap:1rem;display:flex;& .avatar{width:4rem;height:4rem}}.mk-profile-form-upload{position:relative;overflow:hidden;& input{opacity:0;cursor:pointer;position:absolute;inset:0}}.mk-profile-form-upload:has(input:focus-visible){outline:2px solid var(--ring);outline-offset:2px}.mk-profile-form-prefix{display:flex;& span{border:1px solid var(--input);border-radius:var(--radius-md) 0 0 var(--radius-md);background:var(--muted);color:var(--muted-foreground);border-inline-end:0;place-items:center;padding-inline:.75rem;font-size:.875rem;display:grid}& .input{border-start-start-radius:0;border-end-start-radius:0}}.mk-profile-form-actions{background:var(--background);justify-content:flex-end;gap:.5rem;padding-block:1rem;display:flex;position:sticky;bottom:0}@container mk-profile-form (width>=48rem){.mk-profile-form-section{grid-template-columns:16rem minmax(0,1fr)}}@media (forced-colors:active){.mk-profile-form-prefix span{border-color:canvastext}}}