.team-plan-dialog{width:min(640px,calc(100vw - 32px));max-height:85dvh;overflow:auto;border:1px solid #dce5ed;border-radius:14px;padding:24px;color:#102d4e;box-shadow:0 16px 60px #102d4e33;font:inherit}
.team-plan-dialog::backdrop{background:#102d4e77}
.team-plan-dialog h2{margin-top:0;font-size:1.25rem}
.team-plan-dialog p{font-size:.9rem;line-height:1.5}
.team-plan-dialog label{display:flex;align-items:baseline;gap:10px;padding:10px 0;font-size:.95rem}
.team-plan-dialog input{flex:none}
.team-plan-dialog fieldset{max-height:250px;overflow:auto;border:1px solid #dce5ed;border-radius:8px}
.team-plan-dialog [hidden]{display:none}
.team-plan-dialog [data-warnings]:not(:empty){background:#fff8e7;border:1px solid #f0d59a;border-radius:8px;padding:14px;font-size:.9rem}
.team-plan-dialog [data-error]{color:#a13030}
.team-plan-dialog footer{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin-top:18px}
.team-plan-dialog button{font:inherit;min-height:42px;padding:8px 16px;border:1px solid #dce5ed;border-radius:8px;background:#fff;color:#102d4e;cursor:pointer}
.team-plan-dialog button.agency-primary{background:#102d4e;color:white}
