.wf-milestones{color:#101010;container-type:inline-size;min-width:0;font:inherit}
.wf-milestones-summary{font-size:16px;line-height:1.45}
.wf-milestones-progress{font-size:13px;margin:4px 0 10px}
.wf-milestones-plot{position:relative;padding-top:40px}
.wf-milestones-track{height:40px;display:flex;border:2px solid #101010;border-radius:999px;overflow:hidden;background:#e9ecef;box-sizing:border-box}
.wf-milestones-segment{height:100%;flex-shrink:0;border-right:2px solid #101010;box-sizing:border-box}
.wf-milestones-memberships{background:#5db8a0}
.wf-milestones-contributions{background:#c4f1df}
.wf-milestones-marker{position:absolute;bottom:0;width:0;height:52px;border-left:2px solid #101010}
.wf-milestones-flag{position:absolute;left:-2px;bottom:calc(100% - 2px);display:grid;place-items:center;width:26px;height:26px;border:2px solid #101010;border-radius:0 4px 4px 0;background:#fbfaf7;font-size:12px;line-height:1;font-weight:800;box-sizing:border-box}
.wf-milestones-marker.is-reached .wf-milestones-flag,.wf-milestones-badge.is-reached{background:#bae8cc}
.wf-milestones-axis{display:flex;justify-content:space-between;gap:6px;font-size:12px;color:#565260;margin:5px 0 10px}
.wf-milestones-legend,.wf-milestones-note{font-size:12px;color:#565260;line-height:1.5;margin:10px 0}
.wf-milestones-details summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;border-top:1px solid #bdb8c4;font-size:14px;font-weight:800;cursor:pointer}
.wf-milestones-details summary::-webkit-details-marker{display:none}
.wf-milestones-details summary:focus-visible{outline:3px solid #0172ad;outline-offset:3px}
.wf-milestones-expand:before{content:'+';font-size:20px}
.wf-milestones-details[open] .wf-milestones-expand:before{content:'−'}
.wf-milestones-details ol{list-style:none;padding:0;margin:0;display:grid;gap:0}
.wf-milestones-details li{display:flex;gap:10px;align-items:flex-start;border-top:1px solid #cfccd2;padding:12px 0;min-width:0}
.wf-milestones-details li>div{min-width:0}
.wf-milestones-badge{width:26px;height:26px;flex-shrink:0;border:2px solid #101010;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:800;box-sizing:border-box}
.wf-milestones-details strong{font-size:14px;line-height:1.45}
.wf-milestones-status{display:block;font-size:12px;font-weight:700;color:#565260;margin-top:3px}
.wf-milestones-label{display:block;overflow-wrap:anywhere;white-space:pre-line;font-size:14px;line-height:1.5;margin-top:4px}
@container(min-width:580px){.wf-milestones-details ol{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}
.wf-milestone-editor{margin:24px 0;padding:20px;border:2px solid #101010;border-radius:16px;background:#fbfaf7}
.wf-milestone-editor fieldset{border:0;border-top:1px solid #cfccd2;padding:16px 0;margin:0;min-width:0}
.wf-milestone-editor legend{font-weight:800;font-size:16px;padding-top:12px}
.wf-milestone-editor label{display:block;font-weight:700;font-size:14px;margin-bottom:8px}
.wf-milestone-editor input,.wf-milestone-editor textarea{width:100%;padding:10px;border:2px solid #101010;border-radius:8px;box-sizing:border-box;font:inherit;background:white}
.wf-milestone-editor textarea{resize:vertical;min-height:66px}
.wf-milestone-editor [aria-invalid=true]{border-color:#a12d29}
.wf-milestone-editor .errorlist,.wf-milestone-editor-error{color:#942a27;font-size:14px}
.wf-milestone-editor-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:12px 0}
.wf-milestone-editor button{min-height:44px;padding:8px 14px;border:2px solid;border-radius:24px;background:white;color:#101010;font:inherit;cursor:pointer}
.wf-milestone-editor button:disabled{opacity:.4;cursor:not-allowed}
.wf-milestone-editor-row{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,2fr);gap:14px}
.wf-milestone-preview{max-width:100%;margin:16px auto}
.wf-milestone-preview.is-narrow{max-width:300px}
.wf-milestone-preview .wf-milestones{padding:16px;border:2px dashed;border-radius:16px;box-sizing:border-box}
@media(max-width:600px){.wf-milestone-editor{padding:14px}.wf-milestone-editor-row{grid-template-columns:1fr}}
