.offinz-tools,.offinz-tools *,.offinz-tools::before,.offinz-tools::after,.offinz-tools *::before,.offinz-tools *::after{box-sizing:border-box}
.offinz-tools{background:#fff;color:#182232;border:1px solid #dce3eb;border-radius:20px;padding:24px;margin:20px 0;min-width:0}
.offinz-tools summary{font-weight:800;cursor:pointer;overflow-wrap:anywhere}
.offinz-tools h3:not(:where(#toolsSuppliers h3)){font-size:1.2rem;font-weight:800;margin-bottom:12px}
.offinz-tools p:not(:where(#toolsSuppliers p)){font-size:.88rem;line-height:1.5;margin:8px 0;overflow-wrap:anywhere}
.offinz-tools form,.offinz-tools .tools-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
.offinz-tools form>*,.offinz-tools .tools-grid>*{min-width:0}
.offinz-tools label{font-size:.82rem;font-weight:600;display:block;min-width:0;overflow-wrap:anywhere}
.offinz-tools input,.offinz-tools textarea,.offinz-tools select{display:block;width:100%;max-width:100%;min-width:0;padding:10px;margin:5px 0 0;border:1px solid #cfd8e4;border-radius:10px;background:#f8fafc;color:#182232}
.offinz-tools input[type=hidden]{display:none!important}
.offinz-tools .tools-check{display:flex;align-items:flex-start;gap:8px;align-self:end;padding:10px 0}
.offinz-tools input[type=checkbox]{display:inline-block;flex:0 0 18px;width:18px;height:18px;min-width:18px;margin:1px 0 0;padding:0;accent-color:#7660dc}
.offinz-tools button,.offinz-tools a{display:inline-block;max-width:100%;padding:9px 13px;margin:4px 6px 4px 0;border:1px solid #dce3eb;border-radius:10px;font-size:.85rem;font-weight:600;background:#f4f6fb;color:#34425b;overflow-wrap:anywhere}
.offinz-tools button:disabled{opacity:.5}
.offinz-tools :focus-visible{outline:3px solid #8371ed;outline-offset:3px}
.offinz-tools .tools-wide{grid-column:1/-1}
.offinz-tools article{padding:16px 0;border-bottom:1px solid #dce3eb}
.offinz-tools [role=status]{white-space:pre-wrap;overflow-wrap:anywhere}
.dark-mode .offinz-tools{background:#151c26;color:#e7edf6;border-color:#344054}
.dark-mode .offinz-tools input,.dark-mode .offinz-tools textarea,.dark-mode .offinz-tools select,.dark-mode .offinz-tools button,.dark-mode .offinz-tools a{background:#202a38;color:#edf3fa;border-color:#455269}
@media(max-width:600px){.offinz-tools{padding:18px}.offinz-tools form,.offinz-tools .tools-grid{grid-template-columns:minmax(0,1fr)}}
.offinz-tools [hidden],.offinz-tools[hidden]{display:none!important}

.offinz-briefing-insert{display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:0;max-width:100%;min-height:36px;height:auto;padding:8px 12px;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:10px;background:#eff6ff;color:#1d4ed8;font-family:inherit;font-size:.8rem;font-weight:600;line-height:1.4;white-space:normal;overflow-wrap:normal;text-align:center;flex-shrink:0;cursor:pointer}
.offinz-briefing-insert:focus-visible{outline:3px solid #8371ed;outline-offset:3px}
.offinz-briefing-insert:disabled{opacity:.55;cursor:wait}
.dark-mode .offinz-briefing-insert{background:#1e293b;color:#bfdbfe;border-color:#475569}
#jobBriefingInsert{width:auto!important;height:auto!important;min-width:0;max-width:100%;padding:8px 12px!important;white-space:normal!important;line-height:1.4!important}
#jobForm .offinz-briefing-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:8px}
html body #jobModal>div>.sticky{background:#f8fafc!important}
html body.dark-mode #jobModal>div>.sticky{background:#18202c!important}
html body.dark-mode #jobModal>div{background:#151c26!important;color:#e7edf6!important}
html body.dark-mode #jobForm input,html body.dark-mode #jobForm select,html body.dark-mode #jobForm textarea{background:#202a38!important;color:#edf3fa!important;border-color:#455269!important}

.offinz-fx-attribution{display:block;font-size:12px;line-height:1.5;text-decoration:underline;color:inherit;overflow-wrap:anywhere;grid-column:1/-1}

html body.dark-mode #documentModal :is(#documentCloseTop,#documentCloseBottom){background:#263346!important;color:#f1f5f9!important;border-color:#617087!important}
html body.dark-mode #documentModal :is(#documentCloseTop,#documentCloseBottom) i{color:#f1f5f9!important}
#documentModal #documentCloseTop{flex-shrink:0}
/* Supplier directory uses the customer toolbar, cards and list styles. */
#offinzBusinessTools{min-width:0;margin:0}
#offinzBusinessTools [hidden],#offinzBusinessTools[hidden]{display:none!important}
#toolsStatus:not([hidden]){margin:0 0 20px;font-size:.9rem;color:var(--ui-muted);overflow-wrap:anywhere;white-space:pre-wrap}
#toolsSuppliers .supplier-card-content details{margin:12px 0;font-size:.82rem;overflow-wrap:anywhere}
#toolsSuppliers .supplier-card-content summary{cursor:pointer;font-weight:600}
#toolsSuppliers .supplier-card-content details p{margin:8px 0;white-space:normal;overflow-wrap:anywhere}
#toolsSupplierForm{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;scroll-margin-top:90px}
#toolsSupplierForm>*{min-width:0}
.supplier-payments{border-top:1px solid #dce3eb;padding-top:16px}.supplier-payments legend{font-weight:800}.supplier-payment-row{border:1px solid #dce3eb;border-radius:14px;padding:16px;margin:12px 0}.supplier-payment-row legend{font-size:.82rem;padding:0 6px}.supplier-payment-row .tools-grid{margin-top:0}
.dark-mode #toolsSupplierForm{background:#151c26;border-color:#455269}.dark-mode .supplier-payment-row,.dark-mode .supplier-payments{border-color:#455269}

@media(max-width:600px){#toolsSupplierForm{padding:16px;grid-template-columns:minmax(0,1fr)}}
