#quickbooksContent{max-width:1200px;margin:auto;padding:8px 0 40px;color:var(--ink,#17323b)}
#quickbooksContent *,#quickbooksDialog *{box-sizing:border-box;min-width:0}
.qb-heading>button{flex-shrink:0;white-space:nowrap}
.qb-heading,.qb-row,.qb-actions,.qb-invoice,.qb-candidate{display:flex;align-items:center;justify-content:space-between;gap:14px}
.qb-heading{margin-bottom:22px;align-items:flex-start}.qb-heading h1{margin:5px 0;font-size:30px}.qb-heading p,.qb-company p,.qb-section>p{color:#52666d;margin:8px 0;line-height:1.5}.qb-eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:800;color:#52666d}
.qb-notice{background:#edf4f6;border:1px solid #bfd2d9;border-left:4px solid #326575;border-radius:10px;padding:16px 18px;margin:0 0 22px;line-height:1.55}.qb-notice p{margin:6px 0 0}
.qb-companies{display:grid;grid-template-columns:1fr 1fr;gap:18px}.qb-company,.qb-section{border:1px solid #d5e0e3;border-radius:14px;background:#fff;padding:20px;margin-bottom:20px}.qb-company h2,.qb-section h2{font-size:19px;margin:0}.qb-company-name{min-height:24px;overflow-wrap:anywhere}.qb-badge{font-size:11px;font-weight:700;line-height:1.4;border-radius:6px;background:#edf3f3;padding:5px 8px;color:#34555d;white-space:normal}.qb-attention{background:#fff1d7;color:#81551b}.qb-actions{flex-wrap:wrap;justify-content:flex-start}.qb-actions button{font-size:12px}.qb-count{color:#657980;font-size:14px;margin-left:5px}
.qb-company dl,.qb-invoice-summary dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.qb-company dt,.qb-invoice-summary dt{font-size:11px;color:#61777d;margin-bottom:5px}.qb-company dd,.qb-invoice-summary dd{font-size:13px;margin:0;overflow-wrap:anywhere}
.qb-filters,.qb-form-grid{display:grid;grid-template-columns:1fr 2fr;gap:16px;margin:18px 0}.qb-filters label,.qb-dialog label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700}.qb-filters input,.qb-filters select,.qb-dialog input:not([type=checkbox]),.qb-dialog select{width:100%;border:1px solid #b9c9ce;border-radius:7px;padding:10px;background:#fff;color:#18353e;font:inherit;min-height:42px}.qb-filters input:focus,.qb-filters select:focus,.qb-dialog input:focus,.qb-dialog select:focus{outline:2px solid #2f778c;outline-offset:2px}
.qb-invoice,.qb-candidate{padding:17px 0;border-bottom:1px solid #e1e8ea}.qb-invoice:last-child,.qb-candidate:last-child{border:0}.qb-invoice h3{margin:0;font-size:15px}.qb-invoice .qb-row{justify-content:flex-start;flex-wrap:wrap}.qb-invoice p,.qb-candidate p{font-size:13px;margin:7px 0;overflow-wrap:anywhere}.qb-invoice small,.qb-candidate small,.qb-muted{font-size:12px;color:#5c7279;line-height:1.5}.qb-invoice-end{text-align:right;display:grid;gap:9px}.qb-invoice-end>strong{font-size:18px}.qb-invoice-end button,.qb-candidate button{font-size:12px;white-space:normal}.qb-empty{padding:22px 4px;color:#60737a;line-height:1.6}
.qb-error,.qb-form-error{color:#a23029;font-size:13px;line-height:1.5}.qb-form-error{background:#fff0ee;border-radius:8px;padding:12px}.qb-section summary{cursor:pointer;font-weight:700}.qb-help li{margin:12px 0;line-height:1.6}.qb-help ol{padding-left:20px}.qb-help p{line-height:1.6;font-size:13px;color:#516970}.qb-activity{padding:0;list-style:none}.qb-activity li{padding:12px 0;border-bottom:1px solid #e3e9eb;font-size:13px}.qb-activity span{display:block;color:#61777d;margin-top:5px;font-size:12px}
dialog.qb-dialog{width:min(600px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:22px;border:1px solid #c0d0d6;border-radius:15px;color:#18353e;background:#fff;overflow:auto;box-shadow:0 22px 80px #112f3d40}dialog.qb-dialog::backdrop{background:#122f3e88}.qb-dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:20px}.qb-dialog-heading h2{font-size:20px;line-height:1.4;margin:0}.qb-dialog p{line-height:1.6;overflow-wrap:anywhere}.qb-dialog form>label{margin:17px 0}.qb-dialog label small{font-weight:400;line-height:1.5;color:#5c7279}.qb-dialog label.qb-confirm{display:flex;flex-direction:row;align-items:flex-start;gap:10px;line-height:1.5}.qb-confirm input{flex:0 0 auto;margin-top:2px;width:18px;height:18px}.qb-amounts{border-top:1px solid #d5e0e3;margin:18px 0;padding:10px 0}.qb-amounts>div{display:flex;justify-content:space-between;gap:20px;padding:9px 0;font-size:13px}.qb-amounts .qb-total{border-top:2px solid #244e5b;margin-top:6px;padding-top:14px;font-size:18px}.qb-notes{white-space:pre-wrap;font-size:13px}.qb-invoice-summary p{color:#59727a;font-size:13px}.qb-dialog [type=submit]{margin-top:10px}.qb-dialog button:disabled,#quickbooksContent button:disabled{opacity:.5;cursor:default}
@media(max-width:680px){.qb-companies{grid-template-columns:1fr;gap:0}.qb-heading h1{font-size:25px}.qb-heading{gap:8px}.qb-company,.qb-section{padding:16px}.qb-filters,.qb-form-grid{grid-template-columns:1fr}.qb-invoice,.qb-candidate{align-items:flex-start;flex-direction:column}.qb-invoice-end{width:100%;display:flex;justify-content:space-between;align-items:center;text-align:left}.qb-invoice-end button{max-width:58%}.qb-row{flex-wrap:wrap}.qb-actions button{flex:1 1 140px}.qb-company .qb-row{gap:8px}.qb-dialog-heading h2{font-size:18px}dialog.qb-dialog{padding:16px}.qb-notice{padding:14px;font-size:13px}.qb-help ol{padding-left:16px}}
.qb-party-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}.qb-party-grid section,.qb-match{padding:14px;background:#f1f6f7;border:1px solid #d5e0e3;border-radius:9px;overflow-wrap:anywhere}.qb-party-grid h3,.qb-match h3{font-size:12px;color:#587079;margin:0 0 10px}.qb-party-grid strong{font-size:14px}.qb-party-grid p,.qb-match p{font-size:13px;margin:8px 0}.qb-party-grid small,.qb-match small{font-size:12px;color:#526a72}.qb-dialog details{margin:20px 0}.qb-dialog details label{margin-top:12px}.qb-dialog .qb-actions{margin:18px 0}@media(max-width:520px){.qb-party-grid{grid-template-columns:1fr}}
.qb-dialog-heading>button{flex-shrink:0;white-space:nowrap}
.qb-candidate-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}.qb-exclude{display:flex;align-items:center;gap:8px;font-size:12px;white-space:nowrap}.qb-exclude input{width:18px;height:18px;flex:0 0 18px}.qb-candidate-actions>small{max-width:210px}.qb-entry-dialog{width:min(850px,calc(100vw - 24px))!important}.qb-entry-line{display:grid;grid-template-columns:minmax(150px,3fr) minmax(75px,1fr) minmax(90px,1fr) minmax(80px,1fr) auto;gap:10px;align-items:end;margin:14px 0;padding:14px 0;border-bottom:1px solid #d5e0e3}.qb-line-amount{display:grid;gap:12px;padding-bottom:10px;font-size:12px}.qb-entry-line button{font-size:11px}.qb-dialog textarea{width:100%;padding:10px;border:1px solid #b9c9ce;border-radius:7px;font:inherit;resize:vertical}.qb-dialog [hidden]{display:none!important}
@media(max-width:680px){.qb-candidate-actions{justify-content:flex-start;gap:12px;width:100%}.qb-invoice-end{flex-wrap:wrap}.qb-invoice-end button{max-width:100%}.qb-entry-line{grid-template-columns:1fr 1fr}.qb-entry-line>label:first-child{grid-column:1/-1}.qb-line-amount{align-self:center;padding:0}.qb-entry-line>button{grid-column:2}.qb-heading>.qb-actions{max-width:46%;justify-content:flex-end}.qb-heading>.qb-actions button{flex:0 1 auto}}
