.joint-effects-entry{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:28px;padding:24px;border:1px solid #d9dfeb;background:#f5f7fb}
.joint-effects-entry h2{margin:0 0 6px;font-size:24px;color:#2a4071}.joint-effects-entry p{margin:0;color:#59667b;line-height:1.5}.joint-effects-entry .button{min-width:180px;flex-shrink:0}
#jointEffectsDialog{width:min(1080px,calc(100vw - 32px));max-width:1080px;max-height:92vh;max-height:92svh;padding:28px;overflow:auto;border:0;color:#263b63}
#jointEffectsDialog::backdrop{background:#101b2ab5}#jointEffectsDialog h2{margin:0 44px 5px 0;font-size:30px}#jointEffectsMaterial{margin:0 44px 20px 0;color:#59667b}
.joint-effects-swatches{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.joint-effect-swatch{display:flex;align-items:center;gap:8px;min-height:42px;padding:8px 14px;border:1px solid #cdd3dc;background:#fff;color:#354764;font:inherit;font-size:14px;cursor:pointer}
.joint-effect-swatch.selected{border-color:#2a4071;box-shadow:inset 0 0 0 1px #2a4071;background:#eff3f9}.joint-effect-swatch:hover{background:#f5f7fb}.joint-effect-swatch:focus-visible{outline:3px solid #2a4071;outline-offset:3px}
.joint-effect-dot{width:22px;height:22px;flex:0 0 22px;border-radius:50%;box-shadow:inset 0 0 0 1px #0002}.joint-effect-dot.original{background:linear-gradient(135deg,#c5c0b5 50%,#727774 50%)}
.joint-effects-view{display:flex;align-items:center;justify-content:center;min-height:180px;background:#f1efeb}.joint-effects-view canvas{display:block;max-width:100%;width:100%;height:auto;max-height:58vh;max-height:58svh;object-fit:contain}.joint-effects-view canvas[hidden]{display:none}
#jointEffectsStatus{padding:24px;text-align:center;font-size:15px;line-height:1.6;color:#53627b}.joint-effects-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px}.joint-effects-footer p{margin:0;max-width:600px;color:#657085;font-size:13px;line-height:1.5}.joint-effects-footer .button{flex-shrink:0}
@media(max-width:640px){.joint-effects-entry{align-items:stretch;flex-direction:column;gap:16px;padding:20px}.joint-effects-entry .button{width:100%}#jointEffectsDialog{padding:20px 14px}.joint-effect-swatch{flex:1 0 auto;justify-content:center;padding:8px 10px}.joint-effects-footer{align-items:stretch;flex-direction:column}.joint-effects-footer .button{width:100%}}

.joint-effects-zoom{display:flex;align-items:center;gap:14px;margin:0 0 16px;color:#59667b;font-size:13px}.joint-effects-zoom input{width:180px;max-width:42%;accent-color:#2a4071}.joint-effects-zoom span:first-child{font-weight:700}
