.spf-representative { min-width: 0; margin: 18px 0; padding: 14px; border: 1px solid #ccc; color: #333; }
.spf-representative legend { padding: 0 6px; font-weight: bold; }
.spf-representative p { margin: 8px 0; font-size: 13px; line-height: 1.5; }
.spf-representative__choices { display: flex; flex-wrap: wrap; gap: 12px; }
.spf-representative__choices > label { display: flex; align-items: center; gap: 8px; max-width: 100%; margin: 0; padding: 8px; border: 1px solid #ddd; font-size: 13px; overflow-wrap: anywhere; cursor: pointer; }
.spf-representative input[type="radio"] { flex: 0 0 auto; box-sizing: border-box; width: 18px; height: 18px; min-height: 18px; margin: 0; padding: 0; }
.spf-representative img { display: block; width: 80px; height: 60px; max-width: 100%; object-fit: contain; background: #f4f4f4; }
.spf-representative__current { margin-bottom: 10px; }
.spf-representative button { min-height: 40px; padding: 8px 12px; border: 1px solid #aaa; background: #eee; color: #333; cursor: pointer; }
.spf-representative [hidden] { display: none !important; }
@media (max-width: 600px) { .spf-representative__choices { flex-direction: column; } }
.spf-member-thumbnail-files { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.spf-member-thumbnail-files [file-name] { display: block; min-width: 0; }
.spf-member-thumbnail { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.spf-member-thumbnail p { margin: 0; }
.spf-member-thumbnail [role="status"]:empty { display: none; }
.spf-member-thumbnail-files:empty { display: none; }
.spf-member-thumbnail__item { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 100%; }
.spf-member-thumbnail__media { position: relative; width: 180px; max-width: 100%; height: 135px; }
.spf-member-thumbnail .spf-member-thumbnail__delete { position: absolute; top: 4px; right: 4px; display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 28px; height: 28px; min-height: 28px; padding: 0; border: 1px solid #c3cad2; border-radius: 50%; background: #fff; color: #333; }
.spf-member-thumbnail__delete svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.spf-member-thumbnail:not(:disabled) .spf-member-thumbnail__delete:hover { background: #eef4fa; border-color: #245c96; }
.spf-member-thumbnail .spf-member-thumbnail__preview { display: block; width: 180px; max-width: 100%; height: 135px; padding: 0; overflow: hidden; background: #f4f4f4; }
.spf-member-thumbnail .spf-member-thumbnail__preview img { width: 100%; height: 100%; object-fit: contain; }
.spf-member-thumbnail .spf-member-thumbnail__pick { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 180px; max-width: 100%; height: 135px; border: 1px dashed #8995a3; background: #f8fafc; color: #40536a; }
.spf-member-thumbnail__pick svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.spf-member-thumbnail__pick span { font-size: 14px; }
.spf-member-thumbnail:not(:disabled) .spf-member-thumbnail__pick:hover { border-color: #245c96; background: #eef4fa; }
.spf-member-thumbnail button:focus-visible { outline: 2px solid #245c96; outline-offset: 3px; }
.spf-member-thumbnail:disabled button { cursor: default; opacity: .6; }
