/* Business identity and saved invoice headers share the same embedded, network-free logo. */
.bp-view{max-width:1400px}.bp-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px}.bp-heading h1{margin:8px 0;font-size:36px;letter-spacing:-1px;color:#254e3a}.bp-heading p{color:#86a190;font-size:12px;line-height:1.8;max-width:780px}.bp-status{font-size:11px;color:#809d8b;line-height:1.8;min-height:20px;margin:12px 0 18px}.bp-status.is-error{color:#a46851}.bp-status.is-success{color:#4c845d}.bp-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(290px,.8fr);gap:22px;align-items:start}.bp-form,.bp-preview-card,.bp-history-card{padding:25px;border:1px solid #d9e7dd;border-radius:13px;background:#fff;box-shadow:0 8px 25px #244b3810;min-width:0}.bp-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.bp-card-heading h2,.bp-preview-card h2,.bp-history-card h2{margin:5px 0 16px;font-size:20px;color:#41664d}.bp-badge{display:inline-block;padding:8px 11px;border:1px solid #e8dbb9;border-radius:7px;background:#fff8e7;color:#a18445;font-size:10px;line-height:1.5;font-weight:800;white-space:nowrap}.bp-badge.is-locked{border-color:#c4ddcc;background:#edf7f0;color:#5a8868}.bp-notice{margin:15px 0;padding:13px 15px;border:1px solid #e9dfc3;border-radius:9px;background:#fffaf0;color:#9b895d;font-size:11px;line-height:1.8}.bp-help{font-size:11px;line-height:1.8;color:#8ca695;margin:9px 0 15px}.bp-fields{padding:0;margin:22px 0;border:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.bp-fields label,.bp-reason{display:flex;flex-direction:column;gap:8px;color:#6c8d76;font-size:11px;font-weight:700}.bp-fields label>span[aria-hidden]{display:none}.bp-fields input,.bp-fields textarea,.bp-reason textarea{box-sizing:border-box;width:100%;min-height:42px;border:1px solid #cadfd1;border-radius:8px;background:#fff;padding:10px 12px;color:#426b50;font:inherit;font-size:12px;font-weight:400}.bp-fields textarea{min-height:85px;resize:vertical}.bp-fields input:focus,.bp-fields textarea:focus,.bp-reason textarea:focus{outline:2px solid #a8ccb4;outline-offset:1px}.bp-fields input:disabled,.bp-fields textarea:disabled,.bp-fields input[readonly],.bp-fields textarea[readonly]{background:#f4f8f5;color:#809f8b;border-color:#e0ebe4;opacity:1}.bp-fields label small{color:#97ad9f;font-size:10px;font-weight:400;line-height:1.8}.bp-span-2{grid-column:1/-1}.bp-toggle{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:10px!important;font-size:11px!important;line-height:1.8;color:#7b9886!important;font-weight:400!important;margin:16px 0}.bp-toggle input{width:15px!important;min-height:15px!important;height:15px!important;flex:0 0 15px;margin:3px 0 0;accent-color:#58886a}.bp-fields .bp-toggle{margin:0}.bp-lock-confirm{padding:13px;background:#f6faf7;border:1px solid #d9e7dd;border-radius:8px}.bp-button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:39px;padding:9px 14px;border:1px solid #bed7c7;border-radius:8px;background:#fff;color:#547e61;font:inherit;font-size:11px;font-weight:700;cursor:pointer}.bp-primary{background:#558969;color:#fff;border-color:#558969}.bp-button:disabled{cursor:not-allowed;background:#f0f5f2;color:#a0b6a7;border-color:#e0e9e3}.bp-quiet{justify-self:start;font-size:10px;min-height:32px}.bp-preview-column{display:grid;gap:20px;position:sticky;top:15px}.bp-preview{padding:18px 0;border-block:1px solid #deebe2;margin-top:20px}.bp-invoice-header{display:flex;align-items:flex-start;gap:16px;min-width:0;color:#365e44;overflow-wrap:anywhere}.bp-invoice-header>div{min-width:0}.bp-invoice-header strong{display:block;font-size:24px;line-height:1.35;color:#315a40;letter-spacing:-.5px}.bp-invoice-legal{font-size:12px;line-height:1.7;font-weight:700;margin:5px 0;color:#668370}.bp-invoice-header p{font-size:10px!important;line-height:1.8!important;color:#829d8b!important;margin:5px 0!important;white-space:pre-line}.bp-invoice-logo{width:70px;height:70px;object-fit:contain;flex:0 0 70px}.bp-preview .bp-invoice-header{gap:12px}.bp-preview .bp-invoice-header strong{font-size:21px}.bp-preview .bp-invoice-logo{width:52px;height:52px;flex-basis:52px}.bp-history-row{padding:13px 0;border-bottom:1px solid #e7efe9}.bp-history-row:last-child{border:0}.bp-history-row strong{display:block;color:#74927d;font-size:11px}.bp-history-row small,.bp-history-row p{display:block;margin:7px 0 0;font-size:10px;line-height:1.8;color:#9bb0a2}.bp-platform-search{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:15px 0}.bp-platform-search input{flex:1;min-width:220px;padding:12px;border:1px solid #c4d9cd;border-radius:8px;font:inherit;font-size:12px;background:#fff}.bp-branches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:15px 0}.bp-branch-row{padding:14px;text-align:left;border:1px solid #dce8e1;border-radius:9px;background:#fff;cursor:pointer;color:#678975;line-height:1.7}.bp-branch-row.is-selected{background:#ecf7f0;border-color:#98c4aa}.bp-branch-row strong,.bp-branch-row span,.bp-branch-row small{display:block;overflow-wrap:anywhere}.bp-branch-row strong{font-size:12px}.bp-branch-row span,.bp-branch-row small{font-size:10px;color:#9aafa2;margin-top:5px}.bp-pager{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:12px 0 22px;font-size:11px;color:#8ea797}.bp-pager>div{display:flex;gap:8px}.bp-platform-view .bp-layout{margin-top:18px}.bp-platform-view .eyebrow{font-size:9px;letter-spacing:1.5px;color:#8aa593;font-weight:800}
@media(max-width:1100px){.bp-layout{grid-template-columns:minmax(0,1fr) 310px}.bp-form,.bp-preview-card,.bp-history-card{padding:19px}.bp-branches{grid-template-columns:repeat(2,minmax(0,1fr))}.bp-card-heading{flex-wrap:wrap}}
@media(max-width:800px){.bp-layout{grid-template-columns:1fr}.bp-preview-column{position:static}.bp-heading{flex-wrap:wrap}.bp-fields{gap:14px}.bp-heading h1{font-size:30px}}
@media(max-width:480px){.bp-fields,.bp-branches{grid-template-columns:1fr}.bp-span-2{grid-column:auto}.bp-invoice-header strong{font-size:20px}.bp-invoice-logo{width:50px;height:50px;flex-basis:50px}}
@media print{.bp-invoice-header{break-inside:avoid}.bp-invoice-header strong{color:#111}.bp-invoice-logo{max-width:70px;max-height:70px}.bp-invoice-header p{color:#333!important}}/* Hidden review controls must stay hidden even when their reusable label uses flex. */
#bpWorkspace [hidden]{display:none!important}