#anchor-cost-dialog{width:min(940px,calc(100vw - 24px));max-height:90vh;box-sizing:border-box;padding:24px}
#anchor-cost-dialog header{display:flex;justify-content:space-between;gap:16px;align-items:center;position:sticky;top:-24px;background:#fff;z-index:1;padding:12px 0}
#anchor-cost-dialog h2{font-size:20px;margin:0}#anchor-cost-dialog h3{font-size:16px}
#anchor-cost-dialog section{border-top:1px solid #dce4e1;margin-top:24px;padding-top:12px}
#anchor-cost-dialog p{font-size:13px;line-height:1.8;color:#64776e}
#anchor-cost-dialog form,.cost-date-range{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:12px 0}
#anchor-cost-dialog label{display:grid;gap:8px;font-size:13px;min-width:0}
#anchor-cost-dialog input,#anchor-cost-dialog select{max-width:100%;box-sizing:border-box;min-width:0}
#anchor-cost-dialog article{padding:16px 0;border-top:1px solid #e0e7e3}
#anchor-cost-dialog .cost-missing{display:flex;align-items:center;gap:8px}
#anchor-cost-dialog .cost-missing input{width:auto;flex:0 0 auto}
#anchor-cost-dialog [role=status]{color:#17654f}
#anchor-cost-dialog .cost-bulk{padding:16px;background:#f0f7f4;border:1px solid #cfe1d9;border-radius:6px;margin:16px 0}
#anchor-cost-dialog .cost-bulk h3{margin-top:0}
#anchor-cost-dialog .cost-bulk details{margin:12px 0;max-width:100%}
#anchor-cost-dialog .cost-bulk summary{cursor:pointer;font-size:13px}
#anchor-cost-dialog .cost-bulk .table-wrap{max-height:280px;overflow:auto;margin-top:10px}
@media(max-width:600px){#anchor-cost-dialog{padding:16px}#anchor-cost-dialog form>label{width:100%}#anchor-cost-dialog header{align-items:start}#anchor-cost-dialog h2{font-size:18px}}
