.rab-budget-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border:1px solid #dce5ef;border-radius:12px;background:#f6f9fd;color:#183550;font-size:12px}
.rab-budget-strip b{font-weight:600}.rab-budget-strip small{display:block;color:#62758a;margin-top:4px;font-size:11px;line-height:1.5}.rab-budget-strip button,.rab-budget-task-actions button{border:1px solid #cbd9e7;border-radius:8px;background:white;color:#234e82;padding:7px 12px;cursor:pointer;white-space:nowrap;font:inherit}
#rabBudgetSummary{margin:0 16px 10px;flex:none}.rab-budget-values{display:flex;gap:14px;flex-wrap:wrap;color:#60758b}.rab-budget-values b{color:#163951}.rab-budget-task-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;width:100%;padding-top:8px}.rab-budget-task-actions small{color:#82613e;line-height:1.5;font-size:11px}.rab-budget-task-actions button:disabled{opacity:.55;cursor:default}.bb-view-task:has(.rab-budget-task-actions){flex-wrap:wrap}.rab-budget-note{font-size:12px;color:#63768b;line-height:1.6;margin:8px 0}
.rab-budget-dialog{width:min(440px,calc(100vw - 32px));box-sizing:border-box;max-height:85dvh;overflow:auto;border:1px solid #dbe2eb;border-radius:20px;padding:26px;background:#fff;color:#193249;box-shadow:0 30px 90px #112b4933;font:14px/1.6 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.rab-budget-dialog::backdrop{background:#0d233966;backdrop-filter:blur(5px)}.rab-budget-dialog header{display:flex;justify-content:space-between;align-items:flex-start}.rab-budget-dialog h2{font-size:24px;letter-spacing:-.5px;margin:5px 0 10px}.rab-budget-dialog header small{font-size:10px;letter-spacing:1.5px;color:#66809b}.rab-budget-dialog header button{border:0;background:none;font-size:24px;padding:0 4px;color:#64768a}.rab-budget-dialog p{color:#627285;font-size:13px}.rab-budget-dialog label{display:block;margin-top:18px;font-size:13px}.rab-budget-dialog label>span{display:block;font-size:11px;color:#77899d}.rab-budget-dialog select,.rab-budget-dialog input[type=number]{box-sizing:border-box;width:100%;padding:10px 12px;border:1px solid #ccd7e3;border-radius:9px;background:#f9fbfd;font:inherit;color:#193249;margin-top:6px}.rab-budget-dialog .rab-budget-confirm{display:flex;align-items:flex-start;gap:8px;font-size:12px;color:#53687e}.rab-budget-confirm input{flex:none;margin-top:5px}.rab-budget-dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.rab-budget-dialog footer button{font:inherit;font-size:13px;padding:9px 16px;border:1px solid #d6dfe9;border-radius:9px;background:#fff;color:#45617e;cursor:pointer}.rab-budget-dialog footer [type=submit]{background:#1b477e;color:#fff;border-color:#1b477e}.rab-budget-dialog button:disabled{opacity:.5;cursor:default}.rab-budget-dialog :focus-visible,.rab-budget-strip :focus-visible,.rab-budget-task-actions :focus-visible{outline:3px solid #8eb6ef;outline-offset:3px}
.rab-budget-dialog{margin:auto;max-height:85dvh;overflow:auto}.rab-requirements-dialog{width:620px}.rab-requirements-dialog textarea{box-sizing:border-box;width:100%;min-height:120px;margin-top:8px;padding:12px;border:1px solid #ccd7e3;border-radius:10px;font:inherit;resize:vertical}.rab-requirements-dialog fieldset{margin-top:20px;border:1px solid #dce3ec;border-radius:12px;padding:12px 16px}.rab-requirements-dialog legend{font-size:13px;color:#53687e}.rab-requirements-dialog fieldset label{margin:8px 0}.rab-requirements-diff section{border:1px solid #dce3ec;border-radius:12px;padding:14px;margin:12px 0}.rab-requirements-diff h3{font-size:14px;margin:0 0 12px}.rab-requirements-diff p,.rab-requirement-text{white-space:pre-wrap;overflow-wrap:anywhere}.rab-requirements-diff summary,.rab-requirements-diff strong{font-size:12px;color:#53687e}.rab-requirements-diff details{margin-bottom:14px}
.rab-requirements-dialog{max-width:calc(100vw - 32px)}
#rabBudgetSummary,.rab-budget-strip,.rab-budget-task-actions,.rab-budget-dialog{min-width:0;overflow-wrap:anywhere}
.rab-budget-task-actions>small{flex-basis:100%;min-width:0}
.rab-budget-dialog header>div{min-width:0}.rab-budget-dialog header>button{flex:none}
.rab-budget-dialog fieldset{min-inline-size:0}.rab-budget-dialog select{min-width:0;max-width:100%}
.rab-budget-dialog footer{flex-wrap:wrap}.rab-budget-dialog footer button{max-width:100%;white-space:normal}
.rab-budget-strip button,.rab-budget-task-actions button{max-width:100%;white-space:normal}
@media(max-width:640px){.rab-budget-strip{align-items:flex-start;flex-wrap:wrap;padding:10px 12px}.rab-budget-values{width:100%;gap:12px}#rabBudgetSummary{margin-inline:10px}.rab-budget-dialog{padding:20px}.rab-budget-dialog h2{font-size:22px}}
