/* Shared document editor styles. Matching declarations are defined once; document-specific font and layout rules retain their original selectors and order. */
@font-face { font-family: "BB Display"; src: url("/wp-content/uploads/_files/invoice/assets/fonts/BB-Light.ttf") format("truetype"); font-style: normal; font-weight: 300; font-display: swap; }
@font-face { font-family: "BB Display"; src: url("/wp-content/uploads/_files/invoice/assets/fonts/BB.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "BB Display"; src: url("/wp-content/uploads/_files/invoice/assets/fonts/BB-Medium.ttf") format("truetype"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "BB Display"; src: url("/wp-content/uploads/_files/invoice/assets/fonts/BB-Semibold.ttf") format("truetype"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "BB Display"; src: url("/wp-content/uploads/_files/invoice/assets/fonts/BB-Bold.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "BB Text"; src: url("/wp-content/uploads/_files/invoice/assets/fonts/BB-Text.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "BB Text"; src: url("/wp-content/uploads/_files/invoice/assets/fonts/BB-Text-Semibold.ttf") format("truetype"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "BB Receipt Display"; src: url("/wp-content/uploads/_files/receipt/assets/fonts/BB-Light.ttf") format("truetype"), url("/wp-content/uploads/_files/invoice/assets/fonts/BB-Light.ttf") format("truetype"); font-style: normal; font-weight: 300; font-display: swap; }
@font-face { font-family: "BB Receipt Display"; src: url("/wp-content/uploads/_files/receipt/assets/fonts/BB.ttf") format("truetype"), url("/wp-content/uploads/_files/invoice/assets/fonts/BB.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "BB Receipt Display"; src: url("/wp-content/uploads/_files/receipt/assets/fonts/BB-Medium.ttf") format("truetype"), url("/wp-content/uploads/_files/invoice/assets/fonts/BB-Medium.ttf") format("truetype"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "BB Receipt Display"; src: url("/wp-content/uploads/_files/receipt/assets/fonts/BB-Semibold.ttf") format("truetype"), url("/wp-content/uploads/_files/invoice/assets/fonts/BB-Semibold.ttf") format("truetype"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "BB Receipt Display"; src: url("/wp-content/uploads/_files/receipt/assets/fonts/BB-Bold.ttf") format("truetype"), url("/wp-content/uploads/_files/invoice/assets/fonts/BB-Bold.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "BB Receipt Text"; src: url("/wp-content/uploads/_files/receipt/assets/fonts/BB-Text.ttf") format("truetype"), url("/wp-content/uploads/_files/invoice/assets/fonts/BB-Text.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "BB Receipt Text"; src: url("/wp-content/uploads/_files/receipt/assets/fonts/BB-Text-Semibold.ttf") format("truetype"), url("/wp-content/uploads/_files/invoice/assets/fonts/BB-Text-Semibold.ttf") format("truetype"); font-style: normal; font-weight: 600; font-display: swap; }
.bb-invoice-app,
.bbrs-receipt-app {
            --bbdm-focus-color:var(--accent,var(--theme-color-focus,var(--border-focus,var(--focus-ring,var(--bb-theme-focus,var(--theme-color,var(--accent,var(--bb-theme-accent,var(--accent-color,var(--link-global,var(--link-color,#0071e3)))))))))));
            --page-width: 612px;
            --page-height: 792px;
            --page-padding: 50px;
            --content-width: 512px;
            --content-height: 692px;
            --black: #333336;
            --body-text: #383838;
            --gray: #99999F;
            --light-gray: #aaaaaa;
            --line: #e5e5e8;
            --table-bg: #f7f7f7;
            --link: #0066dd; }
.bb-invoice-app,
        .bb-invoice-app *,
.bbrs-receipt-app,
        .bbrs-receipt-app * {
            box-sizing: border-box; }
.bb-invoice-app,
.bbrs-receipt-app {
            position: relative;
            width: 100%;
            isolation: isolate; }
.bb-invoice-stage,
.bbrs-receipt-stage {
            min-height: 852px;
            background: #ededed;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            padding: 30px 0; }
.bb-invoice-stage {
            font-family: "BB Text", sans-serif; }
.bbrs-receipt-stage {
            font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .invoice-page,
.bbrs-receipt-app .receipt-page {
            width: var(--page-width);
            height: var(--page-height);
            min-width: var(--page-width);
            min-height: var(--page-height);
            padding: var(--page-padding);
            background: #fff;
            color: var(--body-text); }
.bb-invoice-app .invoice-page {
            font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .receipt-page {
            font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .invoice-page,
.bbrs-receipt-app .receipt-page {
            font-size: 10px;
            line-height: 12px;
            font-weight: 400;
            letter-spacing: -0.01em;
            display: flex;
            flex-direction: column;
            overflow: hidden; }
.bb-invoice-app .text {
            font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .text {
            font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .text,
.bbrs-receipt-app .text {
            font-size: 10px;
            line-height: 12px;
            font-weight: 400;
            letter-spacing: -0.01em; }
.bb-invoice-app .text-strong {
            font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .text-strong {
            font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .text-strong,
.bbrs-receipt-app .text-strong {
            font-size: 10px;
            line-height: 12px;
            font-weight: 600;
            letter-spacing: -0.01em; }
.bb-invoice-app .label {
            font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .label {
            font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .label,
.bbrs-receipt-app .label {
            font-size: 10px;
            line-height: 12px;
            font-weight: 400;
            letter-spacing: -0.01em;
            color: var(--gray); }
.bb-invoice-app .invoice-header,
.bbrs-receipt-app .receipt-header {
            width: 100%;
            min-height: 70px;
            display: grid;
            grid-template-columns: 64px minmax(0, 1fr) 42px;
            column-gap: 13px;
            align-items: start;
            flex-shrink: 0; }
.bb-invoice-app .brand-logo,
.bbrs-receipt-app .brand-logo {
            display: block;
            width: 64px;
            height: 64px;
            object-fit: contain; }
.bb-invoice-app .brand-info,
.bbrs-receipt-app .brand-info {
            min-width: 0;
            padding-top: 1px; }
.bb-invoice-app .brand-name,
.bbrs-receipt-app .brand-name {
            margin: 0; }
.bb-invoice-app .brand-name {
            font-family: "BB Display", sans-serif; }
.bbrs-receipt-app .brand-name {
            font-family: "BB Receipt Display", sans-serif; }
.bb-invoice-app .brand-name,
.bbrs-receipt-app .brand-name {
            font-size: 20px;
            line-height: 24px;
            font-weight: 600;
            letter-spacing: .01em;
            color: var(--black); }
.bb-invoice-app .brand-subtitle,
.bbrs-receipt-app .brand-subtitle {
            margin: 3px 0 0; }
.bb-invoice-app .brand-subtitle {
            font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .brand-subtitle {
            font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .brand-subtitle,
.bbrs-receipt-app .brand-subtitle {
            font-size: 13px;
            line-height: 17px;
            font-weight: 300;
            letter-spacing: -.01em;
            color: var(--gray); }
.bb-invoice-app .brand-contact,
.bbrs-receipt-app .brand-contact {
            margin-top: 6px; }
.bb-invoice-app .brand-contact {
            font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .brand-contact {
            font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .brand-contact,
.bbrs-receipt-app .brand-contact {
            font-size: 10px;
            line-height: 12px;
            font-weight: 400;
            letter-spacing: -.01em;
            color: var(--gray);
            white-space: nowrap; }
.bb-invoice-app .qr-center-link,
.bbrs-receipt-app .qr-center-link {
            
            left: 50%;
            top: 21px; }
.bb-invoice-app .qr-bottom-link,
.bbrs-receipt-app .qr-bottom-link {
            
            
            
            
            
            margin-top: 2px;
            
            
            
            
            
            
            color: #999; }
.bb-invoice-app .invoice-summary,
.bbrs-receipt-app .receipt-summary {
            width: 100%;
            min-height: 92px;
            margin-top: 40px;
            display: grid;
            grid-template-columns: 220px 257px;
            column-gap: 35px;
            align-items: start;
            flex-shrink: 0; }
.bb-invoice-app .summary-left,
.bbrs-receipt-app .summary-left {
            width: 220px; }
.bb-invoice-app .invoice-title,
.bbrs-receipt-app .receipt-title {
            margin: 0; }
.bb-invoice-app .invoice-title {
            font-family: "BB Display", sans-serif; }
.bbrs-receipt-app .receipt-title {
            font-family: "BB Receipt Display", sans-serif; }
.bb-invoice-app .invoice-title,
.bbrs-receipt-app .receipt-title {
            font-size: 23px;
            line-height: 28px;
            font-weight: 600;
            letter-spacing: .005em;
            color: #929292; }
.bb-invoice-app .invoice-meta,
.bbrs-receipt-app .receipt-meta {
            width: 210px;
            margin-top: 11px; }
.bb-invoice-app .meta-row,
.bbrs-receipt-app .meta-row {
            display: grid;
            grid-template-columns: 95px 1fr;
            min-height: 16px;
            padding-top: 4px; }
.bb-invoice-app .meta-label {
            font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .meta-label {
            font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .meta-label,
.bbrs-receipt-app .meta-label {
            font-size: 10px;
            line-height: 12px;
            font-weight: 400;
            letter-spacing: -.01em;
            color: var(--gray); }
.bb-invoice-app .meta-value {
            font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .meta-value {
            font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .meta-value,
.bbrs-receipt-app .meta-value {
            font-size: 10px;
            line-height: 12px;
            font-weight: 400;
            letter-spacing: -.01em;
            color: var(--black); }
.bb-invoice-app .bill-to,
.bbrs-receipt-app .bill-to {
            width: 257px;
            margin-top: 13px; }
.bb-invoice-app .section-title,
.bbrs-receipt-app .section-title {
            margin: 0; }
.bb-invoice-app .section-title {
            font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .section-title {
            font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .section-title,
.bbrs-receipt-app .section-title {
            font-size: 13px;
            line-height: 17px;
            font-weight: 600;
            letter-spacing: .005em;
            color: var(--black); }
.bb-invoice-app .bill-title,
.bbrs-receipt-app .bill-title {
            padding-bottom: 3px;
            border-bottom: 1px solid var(--line); }
.bb-invoice-app .bill-details,
.bbrs-receipt-app .bill-details {
            margin-top: 9px; }
.bb-invoice-app .bill-details {
            font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .bill-details {
            font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .bill-details,
.bbrs-receipt-app .bill-details {
            font-size: 10px;
            line-height: 12px;
            font-weight: 400;
            letter-spacing: -.01em;
            color: var(--black); }
.bb-invoice-app .bill-name,
.bbrs-receipt-app .bill-name {
            margin-bottom: 2px;
            font-weight: 600; }
.bb-invoice-app .invoice-items,
.bbrs-receipt-app .receipt-items {
            width: 100%;
            
            flex-shrink: 0; }
.bb-invoice-app .item-header,
.bbrs-receipt-app .item-header {
            width: 100%;
            height: 18px;
            display: grid;
            grid-template-columns: 245px 112px 76px 79px;
            align-items: center;
            background: var(--table-bg);
            border-radius: 3px; }
.bb-invoice-app .item-header {
            font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .item-header {
            font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .item-header,
.bbrs-receipt-app .item-header {
            font-size: 10px;
            line-height: 12px;
            font-weight: 400;
            letter-spacing: -.01em;
            color: var(--gray); }
.bb-invoice-app .item-header>div,
.bbrs-receipt-app .item-header>div {
            padding-left: 9px; }
.bb-invoice-app .item-header .quantity,
        .bb-invoice-app .item-header .price,
.bbrs-receipt-app .item-header .quantity,
        .bbrs-receipt-app .item-header .price {
            padding-left: 0;
            padding-right: 9px; }
.bb-invoice-app .item-header .price,
.bbrs-receipt-app .item-header .price {
            text-align: right; }
.bb-invoice-app .item-row,
.bbrs-receipt-app .item-row {
            width: 100%;
            height: 33px;
            display: grid;
            grid-template-columns: 245px 112px 76px 79px;
            align-items: center;
            border-bottom: 1px solid var(--line); }
.bb-invoice-app .item-row {
            font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .item-row {
            font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .item-row,
.bbrs-receipt-app .item-row {
            font-size: 10px;
            line-height: 12px;
            font-weight: 400;
            letter-spacing: -.01em;
            color: var(--black); }
.bb-invoice-app .item-row>div,
.bbrs-receipt-app .item-row>div {
            padding-left: 9px; }
.bb-invoice-app .item-type,
.bbrs-receipt-app .item-type {
            color: var(--gray); }
.bb-invoice-app .item-row .quantity,
.bbrs-receipt-app .item-row .quantity {
            padding-left: 0;
            padding-right: 9px;
            text-align: left;
            color: var(--gray); }
.bb-invoice-app .item-row .price,
.bbrs-receipt-app .item-row .price {
            padding-left: 0;
            padding-right: 9px;
            text-align: right; }
.bb-invoice-app .invoice-total,
.bbrs-receipt-app .receipt-total {
            width: 257px;
            margin-left: auto; }
.bb-invoice-app .total-row,
.bbrs-receipt-app .total-row {
            width: 257px;
            min-height: 34px;
            display: grid;
            grid-template-columns: 151px 106px;
            align-items: center;
            border-bottom: 1px solid var(--line); }
.bb-invoice-app .total-label,
.bbrs-receipt-app .total-label {
            height: 34px;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            padding-right: 17px;
            border-right: 1px solid var(--line); }
.bb-invoice-app .total-label {
            font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .total-label {
            font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .total-label,
.bbrs-receipt-app .total-label {
            font-size: 10px;
            line-height: 12px;
            font-weight: 400;
            letter-spacing: -.01em;
            color: var(--gray); }
.bb-invoice-app .total-amount,
.bbrs-receipt-app .total-amount {
            padding-right: 9px;
            text-align: right; }
.bb-invoice-app .total-amount {
            font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .total-amount {
            font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .total-amount,
.bbrs-receipt-app .total-amount {
            font-size: 18px;
            line-height: 22px;
            font-weight: 600;
            letter-spacing: -.022em;
            color: var(--black); }
.bb-invoice-app .amount-in-words,
.bbrs-receipt-app .amount-in-words {
            padding-top: 7px;
            padding-right: 9px;
            text-align: right; }
.bb-invoice-app .amount-in-words {
            font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .amount-in-words {
            font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .amount-in-words,
.bbrs-receipt-app .amount-in-words {
            font-size: 10px;
            line-height: 12px;
            font-weight: 400;
            letter-spacing: -.01em;
            color: var(--gray); }
.bb-invoice-app .payment-information,
.bbrs-receipt-app .payment-information {
            width: 100%;
            
            flex-shrink: 0; }
.bb-invoice-app .payment-title,
.bbrs-receipt-app .payment-title {
            padding-bottom: 6px;
            border-bottom: 1px solid var(--line); }
.bb-invoice-app .payment-body,
.bbrs-receipt-app .payment-body {
            width: 100%;
            display: grid;
            grid-template-columns: 245px 257px;
            column-gap: 10px;
            align-items: start;
            padding-top: 10px; }
.bb-invoice-app .payment-left,
.bbrs-receipt-app .payment-left {
            width: 245px; }
.bb-invoice-app .payment-row,
.bbrs-receipt-app .payment-row {
            display: grid;
            grid-template-columns: 101px 144px;
            min-height: 16px;
            align-items: start; }
.bb-invoice-app .payment-row+.payment-row,
.bbrs-receipt-app .payment-row+.payment-row {
            margin-top: 1px; }
.bb-invoice-app .payment-right,
.bbrs-receipt-app .payment-right {
            width: 257px; }
.bb-invoice-app .info-row,
.bbrs-receipt-app .info-row {
            display: grid;
            grid-template-columns: 94px 163px;
            min-height: 16px;
            padding-top: 4px; }
.bb-invoice-app .info-label {
            font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .info-label {
            font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .info-label,
.bbrs-receipt-app .info-label {
            font-size: 10px;
            line-height: 12px;
            font-weight: 400;
            letter-spacing: -.01em;
            color: var(--gray); }
.bb-invoice-app .info-value {
            font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .info-value {
            font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .info-value,
.bbrs-receipt-app .info-value {
            font-size: 10px;
            line-height: 12px;
            font-weight: 400;
            letter-spacing: -.01em;
            color: var(--black); }
.bb-invoice-app .bottom-area,
.bbrs-receipt-app .bottom-area {
            width: 100%;
            min-height: 105px;
            margin-top: auto;
            flex-shrink: 0; }
.bb-invoice-app .invoice-footer,
.bbrs-receipt-app .receipt-footer {
            width: 380px; }
.bb-invoice-app .footer-text,
.bbrs-receipt-app .footer-text {
            margin: 0 0 5px; }
.bb-invoice-app .footer-text {
            font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .footer-text {
            font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .footer-text,
.bbrs-receipt-app .footer-text {
            font-size: 7px;
            line-height: 9px;
            font-weight: 400;
            letter-spacing: -.006em;
            color: #999; }
.bb-invoice-app .footer-text a,
.bbrs-receipt-app .footer-text a {
            color: var(--link);
            text-decoration: none; }
.bb-invoice-app .bb-verification-link,
.bbrs-receipt-app .bbrs-verification-link {
            cursor: pointer;
            white-space: nowrap; }
.bb-invoice-app [data-bb-invoice-number][aria-invalid="true"],
.bbrs-receipt-app [data-bbrs-receipt-number][aria-invalid="true"] {
            outline: 1px dashed #b42318;
            outline-offset: 1px; }
.bb-invoice-app .thank-you,
.bbrs-receipt-app .thank-you {
            margin-top: 13px;
            color: var(--black); }
.bb-invoice-app .signature-image,
.bbrs-receipt-app .signature-image {
            display: block;
            width: 70px;
            height: auto;
            margin-bottom: 6px;
            color: var(--gray); }
.bb-invoice-app .signature-line,
.bbrs-receipt-app .signature-line {
            width: 120px;
            height: 1px;
            margin-bottom: 6px;
            background-image: radial-gradient(circle, #bebebe .5px, transparent .55px);
            background-size: 3px 1px;
            background-repeat: repeat-x;
            background-position: left center; }
.bb-invoice-app .signature-name,
.bbrs-receipt-app .signature-name {
            margin: 0; }
.bb-invoice-app .signature-name {
            font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .signature-name {
            font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .signature-name,
.bbrs-receipt-app .signature-name {
            font-size: 10px;
            line-height: 12px;
            font-weight: 400;
            letter-spacing: -.01em;
            color: var(--black); }
.bb-invoice-app .invoice-editable,
.bbrs-receipt-app .receipt-editable {
            cursor: text;
            outline: none;
            caret-color: currentColor; }
.bb-invoice-app .invoice-editable:focus,
.bbrs-receipt-app .receipt-editable:focus {
            outline: 1px dashed var(--bbdm-focus-color);
            outline-offset: 1px; }
.bb-invoice-app button.pdf-export-btn,
.bbrs-receipt-app button.pdf-export-btn {
            position: fixed;
            top: 24px;
            right: 24px;
            z-index: 9999;
            padding: 10px 16px;
            border: 0;
            border-radius: 6px; }
.bb-invoice-app button.pdf-export-btn {
            
            
            font-family: "BB Text", sans-serif; }
.bbrs-receipt-app button.pdf-export-btn {
            
            
            font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app button.pdf-export-btn,
.bbrs-receipt-app button.pdf-export-btn {
            
            line-height: 16px;
            font-weight: 600;
            letter-spacing: -.01em;
            cursor: pointer; }
.bb-invoice-app button.pdf-export-btn:disabled,
.bbrs-receipt-app button.pdf-export-btn:disabled {
            opacity: .45;
            cursor: wait; }
@media screen and (max-width: 650px) {
 .bb-invoice-stage,
.bbrs-receipt-stage {
                display: block;
                padding: 0;
                overflow-x: auto; }
 .bb-invoice-app .invoice-page,
.bbrs-receipt-app .receipt-page {
                margin: 0 auto;
                box-shadow: none; } }
.bb-invoice-app .bb-invoice-status,
.bbrs-receipt-app .bbrs-receipt-status {
            padding: 8px 10px;
            border-radius: 6px;
            background: rgba(48, 48, 48, .92);
            color: #fff; }
.bb-invoice-app .bb-invoice-status {
            font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .bbrs-receipt-status {
            font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .bb-invoice-status,
.bbrs-receipt-app .bbrs-receipt-status {
            font-size: 11px;
            line-height: 15px;
            opacity: 0;
            pointer-events: none;
            transform: translateY(-4px);
            transition: opacity .16s ease, transform .16s ease; }
.bb-invoice-app .bb-invoice-status.is-visible,
.bbrs-receipt-app .bbrs-receipt-status.is-visible {
            opacity: 1;
            transform: translateY(0); }
.bb-invoice-app .bb-invoice-status.is-error,
.bbrs-receipt-app .bbrs-receipt-status.is-error {
            background: rgba(145, 28, 28, .96); }
@media print {
 .bb-invoice-app button.pdf-export-btn,
            .bb-invoice-app .bb-invoice-status,
.bbrs-receipt-app button.pdf-export-btn,
            .bbrs-receipt-app .bbrs-receipt-status {
                display: none; }
 .bb-invoice-stage,
.bbrs-receipt-stage {
                min-height: 0;
                padding: 0;
                background: #fff;
                display: block; }
 .bb-invoice-app .invoice-page,
.bbrs-receipt-app .receipt-page {
                
                margin: 0; } }
.bb-invoice-app .screen-reader-text,
.bbrs-receipt-app .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0; }
.bb-invoice-app .bb-canvas-toolbar {
    
    
    
    
    
    
    
    font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .bbrs-canvas-toolbar {
    
    
    
    
    
    
    
    font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .bb-tool-group:last-child,
.bb-invoice-app .bb-export-group,
.bbrs-receipt-app .bbrs-tool-group:last-child,
.bbrs-receipt-app .bbrs-export-group {
    border-right: 0;
    padding-right: 0; }
.bb-invoice-app button.bb-tool-btn,
.bb-invoice-app button.pdf-export-btn,
.bbrs-receipt-app button.bbrs-tool-btn,
.bbrs-receipt-app button.pdf-export-btn {
    -webkit-appearance: none;
    
    box-sizing: border-box;
    background-image: none;
    text-decoration: none;
    text-transform: none;
    text-shadow: none;
    font-style: normal; }
.bb-invoice-app button.bb-tool-btn,
.bb-invoice-app button.pdf-export-btn,
.bbrs-receipt-app button.bbrs-tool-btn,
.bbrs-receipt-app button.pdf-export-btn {
    appearance: none;
    position: static;
    inset: auto;
    z-index: auto;
    
    margin: 0;
    
    border: 1px solid #d8d8d8;
    
    background: #fff;
    color: #303030; }
.bb-invoice-app button.bb-tool-btn,
.bb-invoice-app button.pdf-export-btn {
    font-family: "BB Text", sans-serif; }
.bbrs-receipt-app button.bbrs-tool-btn,
.bbrs-receipt-app button.pdf-export-btn {
    font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app button.bb-tool-btn,
.bb-invoice-app button.pdf-export-btn,
.bbrs-receipt-app button.bbrs-tool-btn,
.bbrs-receipt-app button.pdf-export-btn {
    
    
    
    letter-spacing: 0;
    white-space: nowrap;
    cursor: pointer;
    transition: background .14s ease, border-color .14s ease, opacity .14s ease; }
.bb-invoice-app button.bb-tool-btn:hover,
.bbrs-receipt-app button.bbrs-tool-btn:hover {
    background: var(--bg-hover,var(--bb-theme-hover,var(--bg-light,#f5f5f5)));
    border-color: var(--border-global,var(--bb-theme-border,var(--border-color,#c8c8c8))); }
.bb-invoice-app button.bb-tool-btn:focus-visible,
.bb-invoice-app button.pdf-export-btn:focus-visible,
.bb-invoice-app .bb-zoom-number-wrap input:focus,
.bb-invoice-app .bb-zoom-slider-wrap input:focus-visible,
.bb-invoice-app .bb-canvas-viewport:focus-visible,
.bbrs-receipt-app button.bbrs-tool-btn:focus-visible,
.bbrs-receipt-app button.pdf-export-btn:focus-visible,
.bbrs-receipt-app .bbrs-zoom-number-wrap input:focus,
.bbrs-receipt-app .bbrs-zoom-slider-wrap input:focus-visible,
.bbrs-receipt-app .bbrs-canvas-viewport:focus-visible {
    outline: 2px solid var(--bbdm-focus-color);
    outline-offset: 2px; }
.bb-invoice-app button.bb-tool-btn.is-active,
.bbrs-receipt-app button.bbrs-tool-btn.is-active {
    background: #303030;
    border-color: #303030;
    color: #fff; }
.bb-invoice-app button.bb-icon-btn,
.bbrs-receipt-app button.bbrs-icon-btn {
    
    
    padding-left: 0;
    padding-right: 0;
    text-align: center; }
.bb-invoice-app button.pdf-export-btn,
.bbrs-receipt-app button.pdf-export-btn {
    border-color: #303030;
    background: #303030;
    color: #fff;
    padding-left: 13px;
    padding-right: 13px; }
.bb-invoice-app button.pdf-export-btn:hover,
.bbrs-receipt-app button.pdf-export-btn:hover {
    opacity: .86; }
.bb-invoice-app button.pdf-export-btn:disabled,
.bb-invoice-app button.bb-tool-btn:disabled,
.bbrs-receipt-app button.pdf-export-btn:disabled,
.bbrs-receipt-app button.bbrs-tool-btn:disabled {
    opacity: .45;
    cursor: wait; }
.bb-invoice-app .bb-zoom-number-wrap,
.bbrs-receipt-app .bbrs-zoom-number-wrap {
    display: inline-flex;
    align-items: center;
    
    
    
    border: 1px solid #d8d8d8;
    
    background: var(--bg-very-light,var(--bb-theme-surface,var(--bg-very-light,#fff)));
    color: var(--color-global,var(--bb-theme-text,var(--text-color,#555))); }
.bb-invoice-app .bb-zoom-number-wrap {
    font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .bbrs-zoom-number-wrap {
    font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .bb-zoom-number-wrap input,
.bbrs-receipt-app .bbrs-zoom-number-wrap input {
    
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--color-global,var(--bb-theme-text,var(--text-color,#303030)));
    font: inherit;
    font-weight: 600;
    text-align: right; }
.bb-invoice-app .bb-zoom-number-wrap input::-webkit-inner-spin-button,
.bb-invoice-app .bb-zoom-number-wrap input::-webkit-outer-spin-button,
.bbrs-receipt-app .bbrs-zoom-number-wrap input::-webkit-inner-spin-button,
.bbrs-receipt-app .bbrs-zoom-number-wrap input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none; }
.bb-invoice-app .bb-zoom-slider-wrap,
.bbrs-receipt-app .bbrs-zoom-slider-wrap {
    
    align-items: center; }
.bb-invoice-app .bb-zoom-slider-wrap input,
.bbrs-receipt-app .bbrs-zoom-slider-wrap input {
    width: 100%;
    cursor: pointer; }
.bb-invoice-app .bb-invoice-status,
.bbrs-receipt-app .bbrs-receipt-status {
    position: fixed;
    
    
    z-index: 10040; }
.bb-invoice-app .bb-canvas-shell,
.bbrs-receipt-app .bbrs-canvas-shell {
    position: relative;
    
    border: 1px solid #d7d7d7;
    
    overflow: hidden;
    background: var(--bg-very-light,var(--bb-theme-surface,var(--bg-very-light,#dcdcdc)));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.bb-invoice-app .bb-canvas-shell {
    font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .bbrs-canvas-shell {
    font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .bb-canvas-viewport,
.bbrs-receipt-app .bbrs-canvas-viewport {
    position: relative;
    width: 100%;
    
    overflow: hidden;
    background-color: var(--bg-very-light,var(--bb-theme-surface,var(--bg-very-light,#e9e9e9)));
    background-image: radial-gradient(circle at center, rgba(0, 0, 0, .055) 1px, transparent 1px);
    background-size: 18px 18px;
    touch-action: none;
    user-select: none;
    cursor: grab;
    overscroll-behavior: contain; }
.bb-invoice-app .bb-canvas-viewport.is-panning,
.bbrs-receipt-app .bbrs-canvas-viewport.is-panning {
    cursor: grabbing; }
.bb-invoice-app .bb-canvas-world,
.bbrs-receipt-app .bbrs-canvas-world {
    
    
    
    
    
    
    
    backface-visibility: visible; }
.bb-invoice-app .bb-canvas-world.is-transform-fallback,
.bbrs-receipt-app .bbrs-canvas-world.is-transform-fallback {
    left: 0;
    top: 0; }
.bb-invoice-app .invoice-page,
.bbrs-receipt-app .receipt-page {
    position: relative;
    
    box-shadow: 0 10px 34px rgba(0, 0, 0, .20);
    user-select: text;
    content-visibility: visible;
    contain: none;
    isolation: isolate;
    text-rendering: geometricPrecision; }
.bb-invoice-app .invoice-page *,
.bbrs-receipt-app .receipt-page * {
    content-visibility: visible; }
.bb-invoice-app .brand-logo,
.bb-invoice-app .invoice-qr,
.bb-invoice-app .signature-image,
.bbrs-receipt-app .brand-logo,
.bbrs-receipt-app .receipt-qr,
.bbrs-receipt-app .signature-image {
    max-width: none;
    image-rendering: auto; }
.bb-invoice-app .invoice-editable,
.bbrs-receipt-app .receipt-editable {
    position: relative;
    z-index: 2;
    user-select: text; }
.bb-invoice-app .invoice-editable:hover,
.bbrs-receipt-app .receipt-editable:hover {
    box-shadow: inset 0 -1px rgba(56, 124, 192, .24); }
.bb-invoice-app .bb-canvas-grid,
.bbrs-receipt-app .bbrs-canvas-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: none;
    pointer-events: none;
    opacity: .48;
    background-image:
        linear-gradient(to right, rgba(48, 48, 48, .13) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(48, 48, 48, .13) 1px, transparent 1px),
        linear-gradient(to right, rgba(48, 48, 48, .055) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(48, 48, 48, .055) 1px, transparent 1px); }
.bb-invoice-app .bb-canvas-grid {
    background-size:
        var(--bb-grid-major, 100px) var(--bb-grid-major, 100px),
        var(--bb-grid-major, 100px) var(--bb-grid-major, 100px),
        var(--bb-grid-minor, 20px) var(--bb-grid-minor, 20px),
        var(--bb-grid-minor, 20px) var(--bb-grid-minor, 20px);
    background-position:
        var(--bb-grid-x, 0px) var(--bb-grid-y, 0px),
        var(--bb-grid-x, 0px) var(--bb-grid-y, 0px),
        var(--bb-grid-x, 0px) var(--bb-grid-y, 0px),
        var(--bb-grid-x, 0px) var(--bb-grid-y, 0px); }
.bbrs-receipt-app .bbrs-canvas-grid {
    background-size:
        var(--bbrs-grid-major, 100px) var(--bbrs-grid-major, 100px),
        var(--bbrs-grid-major, 100px) var(--bbrs-grid-major, 100px),
        var(--bbrs-grid-minor, 20px) var(--bbrs-grid-minor, 20px),
        var(--bbrs-grid-minor, 20px) var(--bbrs-grid-minor, 20px);
    background-position:
        var(--bbrs-grid-x, 0px) var(--bbrs-grid-y, 0px),
        var(--bbrs-grid-x, 0px) var(--bbrs-grid-y, 0px),
        var(--bbrs-grid-x, 0px) var(--bbrs-grid-y, 0px),
        var(--bbrs-grid-x, 0px) var(--bbrs-grid-y, 0px); }
.bb-invoice-app .bb-canvas-shell.show-grid .bb-canvas-grid,
.bbrs-receipt-app .bbrs-canvas-shell.show-grid .bbrs-canvas-grid {
    display: block; }
.bb-invoice-app .bb-ruler,
.bb-invoice-app .bb-ruler-corner,
.bbrs-receipt-app .bbrs-ruler,
.bbrs-receipt-app .bbrs-ruler-corner {
    position: absolute;
    z-index: 10015;
    display: none;
    pointer-events: none;
    background: var(--bg-very-light,var(--bb-theme-surface,var(--bg-very-light,rgba(255, 255, 255, .95))));
    color: var(--color-global,var(--bb-theme-text,var(--text-color,#666)));
    border-color: var(--border-global,var(--bb-theme-border,var(--border-color,#d8d8d8))); }
.bb-invoice-app .bb-ruler,
.bb-invoice-app .bb-ruler-corner {
    font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .bbrs-ruler,
.bbrs-receipt-app .bbrs-ruler-corner {
    font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .bb-ruler,
.bb-invoice-app .bb-ruler-corner,
.bbrs-receipt-app .bbrs-ruler,
.bbrs-receipt-app .bbrs-ruler-corner {
    font-size: 8px;
    line-height: 10px; }
.bb-invoice-app .bb-canvas-shell.show-rulers .bb-ruler,
.bb-invoice-app .bb-canvas-shell.show-rulers .bb-ruler-corner,
.bbrs-receipt-app .bbrs-canvas-shell.show-rulers .bbrs-ruler,
.bbrs-receipt-app .bbrs-canvas-shell.show-rulers .bbrs-ruler-corner {
    display: block; }
.bb-invoice-app .bb-ruler-corner,
.bbrs-receipt-app .bbrs-ruler-corner {
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    border-right: 1px solid #d8d8d8;
    border-bottom: 1px solid #d8d8d8; }
.bb-invoice-app .bb-ruler-x,
.bbrs-receipt-app .bbrs-ruler-x {
    left: 25px;
    right: 0;
    top: 0;
    height: 25px;
    overflow: hidden;
    border-bottom: 1px solid #d8d8d8; }
.bb-invoice-app .bb-ruler-y,
.bbrs-receipt-app .bbrs-ruler-y {
    left: 0;
    top: 25px;
    bottom: 0;
    width: 25px;
    overflow: hidden;
    border-right: 1px solid #d8d8d8; }
.bb-invoice-app .bb-ruler-labels,
.bbrs-receipt-app .bbrs-ruler-labels {
    position: absolute;
    inset: 0;
    overflow: hidden; }
.bb-invoice-app .bb-ruler-mark,
.bbrs-receipt-app .bbrs-ruler-mark {
    position: absolute;
    color: var(--color-global,var(--bb-theme-text,var(--text-color,#666)));
    white-space: nowrap; }
.bb-invoice-app .bb-ruler-mark::after,
.bbrs-receipt-app .bbrs-ruler-mark::after {
    content: "";
    position: absolute;
    background: #a9a9a9; }
.bb-invoice-app .bb-ruler-x .bb-ruler-mark,
.bbrs-receipt-app .bbrs-ruler-x .bbrs-ruler-mark {
    top: 2px;
    transform: translateX(-1px); }
.bb-invoice-app .bb-ruler-x .bb-ruler-mark::after,
.bbrs-receipt-app .bbrs-ruler-x .bbrs-ruler-mark::after {
    left: 0;
    top: 11px;
    width: 1px;
    height: 10px; }
.bb-invoice-app .bb-ruler-y .bb-ruler-mark,
.bbrs-receipt-app .bbrs-ruler-y .bbrs-ruler-mark {
    left: 2px;
    writing-mode: vertical-rl;
    transform: translateY(-1px); }
.bb-invoice-app .bb-ruler-y .bb-ruler-mark::after,
.bbrs-receipt-app .bbrs-ruler-y .bbrs-ruler-mark::after {
    left: 11px;
    top: 0;
    width: 10px;
    height: 1px; }
.bb-invoice-app .bb-canvas-hud,
.bbrs-receipt-app .bbrs-canvas-hud {
    position: absolute;
    
    
    z-index: 10010;
    
    border: 1px solid rgba(0, 0, 0, .12);
    
    background: rgba(255, 255, 255, .88);
    color: #505050; }
.bb-invoice-app .bb-canvas-hud {
    font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .bbrs-canvas-hud {
    font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .bb-canvas-hud,
.bbrs-receipt-app .bbrs-canvas-hud {
    
    
    pointer-events: none;
    backdrop-filter: blur(5px); }
.bb-invoice-app .bb-canvas-minimap,
.bbrs-receipt-app .bbrs-canvas-minimap {
    position: absolute;
    
    
    z-index: 10010; }
.bb-invoice-app .bb-minimap-page,
.bbrs-receipt-app .bbrs-minimap-page {
    position: absolute; }
.bb-invoice-app .bb-minimap-view,
.bbrs-receipt-app .bbrs-minimap-view {
    position: absolute; }
.bb-invoice-app .bb-shortcuts-dialog,
.bbrs-receipt-app .bbrs-shortcuts-dialog {
    width: min(540px, calc(100vw - 28px));
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #303030; }
.bb-invoice-app .bb-shortcuts-dialog::backdrop,
.bbrs-receipt-app .bbrs-shortcuts-dialog::backdrop {
    background: rgba(0, 0, 0, .34); }
.bb-invoice-app .bb-shortcuts-card,
.bbrs-receipt-app .bbrs-shortcuts-card {
    padding: 14px;
    border-radius: 10px;
    background: var(--bg-very-light,var(--bb-theme-surface,var(--bg-very-light,#fff)));
    box-shadow: 0 16px 50px rgba(0, 0, 0, .22); }
.bb-invoice-app .bb-shortcuts-card {
    font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .bbrs-shortcuts-card {
    font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .bb-shortcuts-head,
.bbrs-receipt-app .bbrs-shortcuts-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px; }
.bb-invoice-app .bb-shortcuts-grid,
.bbrs-receipt-app .bbrs-shortcuts-grid {
    display: grid;
    grid-template-columns: minmax(120px, .8fr) minmax(0, 1.2fr);
    gap: 7px 14px;
    font-size: 12px;
    line-height: 16px; }
.bb-invoice-app kbd,
.bbrs-receipt-app kbd {
    display: inline-block;
    min-width: 21px;
    padding: 2px 5px;
    border: 1px solid #d1d1d1;
    border-bottom-width: 2px;
    border-radius: 4px;
    background: #f7f7f7;
    color: #333;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10px;
    line-height: 14px;
    text-align: center; }
.bb-invoice-app:fullscreen,
.bb-invoice-app.is-fullscreen-fallback,
.bbrs-receipt-app:fullscreen,
.bbrs-receipt-app.is-fullscreen-fallback {
    
    height: 100%;
    padding: 8px;
    background: #e4e4e4; }
.bb-invoice-app:fullscreen .bb-canvas-toolbar,
.bb-invoice-app.is-fullscreen-fallback .bb-canvas-toolbar,
.bb-invoice-app:fullscreen .bb-canvas-shell,
.bb-invoice-app.is-fullscreen-fallback .bb-canvas-shell,
.bbrs-receipt-app:fullscreen .bbrs-canvas-toolbar,
.bbrs-receipt-app.is-fullscreen-fallback .bbrs-canvas-toolbar,
.bbrs-receipt-app:fullscreen .bbrs-canvas-shell,
.bbrs-receipt-app.is-fullscreen-fallback .bbrs-canvas-shell {
    width: 100%; }
@media (max-width: 900px) {
 .bb-invoice-app .bb-canvas-toolbar,
    .bb-invoice-app .bb-canvas-shell,
.bbrs-receipt-app .bbrs-canvas-toolbar,
    .bbrs-receipt-app .bbrs-canvas-shell {
        width: calc(100% - 12px); }
 .bb-invoice-app .bb-tool-group,
.bbrs-receipt-app .bbrs-tool-group {
        border-right: 0;
        padding-right: 0; }
 .bb-invoice-app .bb-export-group,
.bbrs-receipt-app .bbrs-export-group {
        margin-left: 0; }
 .bb-invoice-app .bb-zoom-slider-wrap,
.bbrs-receipt-app .bbrs-zoom-slider-wrap {
        width: 86px; } }
@media (max-width: 600px) {
 .bb-invoice-app .bb-shortcuts-grid,
.bbrs-receipt-app .bbrs-shortcuts-grid {
        grid-template-columns: 1fr 1fr;
        gap: 7px 10px;
        font-size: 11px; } }
@media print {
 .bb-invoice-app .bb-canvas-toolbar,
    .bb-invoice-app .bb-invoice-status,
    .bb-invoice-app .bb-canvas-hud,
    .bb-invoice-app .bb-canvas-minimap,
    .bb-invoice-app .bb-ruler,
    .bb-invoice-app .bb-ruler-corner,
    .bb-invoice-app .bb-canvas-grid,
    .bb-invoice-app .bb-shortcuts-dialog,
.bbrs-receipt-app .bbrs-canvas-toolbar,
    .bbrs-receipt-app .bbrs-receipt-status,
    .bbrs-receipt-app .bbrs-canvas-hud,
    .bbrs-receipt-app .bbrs-canvas-minimap,
    .bbrs-receipt-app .bbrs-ruler,
    .bbrs-receipt-app .bbrs-ruler-corner,
    .bbrs-receipt-app .bbrs-canvas-grid,
    .bbrs-receipt-app .bbrs-shortcuts-dialog {
        display: none; }
 .bb-invoice-app .bb-canvas-shell,
    .bb-invoice-app .bb-canvas-viewport,
.bbrs-receipt-app .bbrs-canvas-shell,
    .bbrs-receipt-app .bbrs-canvas-viewport {
        width: 612px;
        height: 792px;
        min-height: 0;
        margin: 0;
        padding: 0;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: var(--bg-very-light,var(--bb-theme-surface,var(--bg-very-light,#fff)));
        box-shadow: none; }
 .bb-invoice-app .bb-canvas-world,
.bbrs-receipt-app .bbrs-canvas-world {
        left: 0;
        top: 0;
        transform: none; }
 .bb-invoice-app .bb-canvas-rotation,
.bbrs-receipt-app .bbrs-canvas-rotation {
        zoom: 1; }
 .bb-invoice-app .invoice-page,
.bbrs-receipt-app .receipt-page {
        box-shadow: none; } }
.bb-invoice-app .brand-logo,
.bb-invoice-app .invoice-qr,
.bb-invoice-app .signature-image,
.bbrs-receipt-app .brand-logo,
.bbrs-receipt-app .receipt-qr,
.bbrs-receipt-app .signature-image {
    -webkit-user-drag: none;
    user-drag: none; }
.bb-invoice-app.bb-is-booting .bb-canvas-world,
.bbrs-receipt-app.bbrs-is-booting .bbrs-canvas-world {
    visibility: hidden;
    opacity: 0; }
.bb-invoice-app.bb-is-booting .bb-canvas-toolbar,
.bbrs-receipt-app.bbrs-is-booting .bbrs-canvas-toolbar {
    pointer-events: none;
    opacity: .72; }
.bb-invoice-app.bb-is-ready .bb-canvas-world,
.bbrs-receipt-app.bbrs-is-ready .bbrs-canvas-world {
    visibility: visible;
    opacity: 1; }
.bb-invoice-app .bb-canvas-preloader,
.bbrs-receipt-app .bbrs-canvas-preloader {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 24px;
    padding: 4px 8px;
    border: 1px solid rgba(0, 0, 0, .10);
    border-radius: 5px;
    background: rgba(255, 255, 255, .90);
    color: #666; }
.bb-invoice-app .bb-canvas-preloader {
    font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .bbrs-canvas-preloader {
    font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .bb-canvas-preloader,
.bbrs-receipt-app .bbrs-canvas-preloader {
    font-size: 9px;
    line-height: 12px;
    transform: translate(-50%, -50%);
    pointer-events: none; }
.bb-invoice-app.bb-is-ready .bb-canvas-preloader,
.bbrs-receipt-app.bbrs-is-ready .bbrs-canvas-preloader {
    display: none; }
.bb-invoice-app .bb-canvas-loader-dot,
.bbrs-receipt-app .bbrs-canvas-loader-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor; }
.bb-invoice-app .bb-canvas-loader-dot {
    animation: bb-invoice-loader-pulse .85s ease-in-out infinite alternate; }
.bbrs-receipt-app .bbrs-canvas-loader-dot {
    animation: bbrs-receipt-loader-pulse .85s ease-in-out infinite alternate; }
@keyframes bb-invoice-loader-pulse {
    from { opacity: .25; transform: scale(.75); }
    to { opacity: .9; transform: scale(1); }
}
@keyframes bbrs-receipt-loader-pulse {
    from { opacity: .25; transform: scale(.75); }
    to { opacity: .9; transform: scale(1); }
}
.bb-invoice-app .bb-canvas-toolbar,
.bbrs-receipt-app .bbrs-canvas-toolbar {
    
    top: 4px; }
.bb-invoice-app .bb-toolbar-scroll::-webkit-scrollbar-thumb,
.bbrs-receipt-app .bbrs-toolbar-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(0, 0, 0, .18); }
.bb-invoice-app .bb-tool-group,
.bbrs-receipt-app .bbrs-tool-group {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    min-width: max-content;
    padding-right: 3px;
    border-right: 1px solid #e7e7e7; }
.bb-invoice-app .bb-export-group,
.bbrs-receipt-app .bbrs-export-group {
    margin-left: 0;
    padding-right: 0;
    border-right: 0; }
.bb-invoice-app button.bb-tool-btn,
.bb-invoice-app button.pdf-export-btn,
.bbrs-receipt-app button.bbrs-tool-btn,
.bbrs-receipt-app button.pdf-export-btn {
    min-width: 24px;
    min-height: 24px;
    height: 24px;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 9px;
    line-height: 18px;
    font-weight: 600; }
.bb-invoice-app button.bb-icon-btn,
.bbrs-receipt-app button.bbrs-icon-btn {
    width: 24px;
    min-width: 24px;
    height: 24px;
    padding: 0;
    font-size: 13px;
    line-height: 22px; }
.bb-invoice-app button.bb-compact-text,
.bbrs-receipt-app button.bbrs-compact-text {
    min-width: 24px;
    padding-inline: 5px; }
.bb-invoice-app button.pdf-export-btn,
.bbrs-receipt-app button.pdf-export-btn {
    min-width: 34px;
    padding-inline: 7px;
    font-size: 9px; }
.bb-invoice-app .bb-zoom-number-wrap,
.bbrs-receipt-app .bbrs-zoom-number-wrap {
    height: 24px;
    padding: 0 4px;
    gap: 1px;
    border-radius: 4px;
    font-size: 9px;
    line-height: 18px; }
.bb-invoice-app .bb-zoom-number-wrap input,
.bbrs-receipt-app .bbrs-zoom-number-wrap input {
    width: 31px;
    font-size: 9px; }
.bb-invoice-app .bb-zoom-slider-wrap,
.bbrs-receipt-app .bbrs-zoom-slider-wrap {
    width: 76px;
    height: 24px; }
.bb-invoice-app .bb-zoom-slider-wrap input,
.bbrs-receipt-app .bbrs-zoom-slider-wrap input {
    margin: 0; }
.bb-invoice-app .bb-canvas-shell,
.bbrs-receipt-app .bbrs-canvas-shell {
    width: min(1180px, calc(100% - 8px));
    margin: 0 auto 8px;
    border-radius: 6px; }
.bb-invoice-app .bb-canvas-viewport,
.bbrs-receipt-app .bbrs-canvas-viewport {
    height: clamp(520px, calc(100vh - 76px), 940px);
    min-height: 420px; }
.bb-invoice-app .bb-canvas-world,
.bbrs-receipt-app .bbrs-canvas-world {
    position: absolute;
    left: 0;
    top: 0;
    width: var(--page-width);
    height: var(--page-height);
    overflow: visible;
    transform: none;
    transform-origin: 0 0;
    contain: none;
    will-change: auto; }
.bb-invoice-app .bb-canvas-scale,
.bbrs-receipt-app .bbrs-canvas-scale {
    position: relative;
    width: var(--page-width);
    height: var(--page-height);
    overflow: visible;
    transform: none;
    transform-origin: 0 0;
    backface-visibility: visible;
    contain: none; }
.bb-invoice-app .bb-canvas-world.is-transform-fallback .bb-canvas-scale,
.bbrs-receipt-app .bbrs-canvas-world.is-transform-fallback .bbrs-canvas-scale {
    transform-origin: 0 0; }
.bb-invoice-app .bb-canvas-rotation,
.bbrs-receipt-app .bbrs-canvas-rotation {
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--page-width);
    height: var(--page-height);
    overflow: visible;
    zoom: 1;
    transform: translate(-50%, -50%) rotate(0deg);
    transform-origin: 50% 50%;
    transform-style: flat;
    backface-visibility: visible;
    contain: none; }
.bb-invoice-app .invoice-page,
.bbrs-receipt-app .receipt-page {
    left: 0;
    top: 20px;
    margin: 0; }
.bb-invoice-app.bb-export-measurement,
.bbrs-receipt-app.bbrs-export-measurement {
    position: fixed;
    left: -100000px;
    top: 0;
    z-index: -2147483647;
    display: block;
    width: 612px;
    height: 792px;
    margin: 0;
    padding: 0;
    overflow: visible;
    opacity: 0;
    pointer-events: none; }
.bb-invoice-app.bb-export-measurement .invoice-page,
.bbrs-receipt-app.bbrs-export-measurement .receipt-page {
    width: 612px;
    height: 792px;
    min-width: 612px;
    min-height: 792px;
    margin: 0;
    box-shadow: none;
    transform: none;
    zoom: 1; }
.bb-invoice-app .bb-canvas-hud,
.bbrs-receipt-app .bbrs-canvas-hud {
    left: 5px;
    bottom: 5px;
    padding: 3px 5px;
    border-radius: 4px;
    font-size: 8px;
    line-height: 10px; }
.bb-invoice-app .bb-minimap-title,
.bbrs-receipt-app .bbrs-minimap-title {
    margin-bottom: 3px; }
.bb-invoice-app .bb-invoice-status,
.bbrs-receipt-app .bbrs-receipt-status {
    top: 48px;
    right: 12px;
    max-width: min(420px, calc(100vw - 24px)); }
.bb-invoice-app:fullscreen .bb-canvas-viewport,
.bb-invoice-app.is-fullscreen-fallback .bb-canvas-viewport,
.bbrs-receipt-app:fullscreen .bbrs-canvas-viewport,
.bbrs-receipt-app.is-fullscreen-fallback .bbrs-canvas-viewport {
    height: calc(100vh - 42px); }
@media (max-width: 600px) {
 .bb-invoice-app .bb-canvas-toolbar,
.bbrs-receipt-app .bbrs-canvas-toolbar {
        position: sticky;
        top: 2px; }
 .bb-invoice-app button.bb-tool-btn,
    .bb-invoice-app button.pdf-export-btn,
    .bb-invoice-app button.bb-icon-btn,
.bbrs-receipt-app button.bbrs-tool-btn,
    .bbrs-receipt-app button.pdf-export-btn,
    .bbrs-receipt-app button.bbrs-icon-btn {
        min-height: 24px;
        height: 24px; }
 .bb-invoice-app .bb-canvas-shell,
.bbrs-receipt-app .bbrs-canvas-shell {
        width: calc(100% - 4px);
        margin-bottom: 4px; }
 .bb-invoice-app .bb-canvas-viewport,
.bbrs-receipt-app .bbrs-canvas-viewport {
        height: 72vh;
        min-height: 400px; } }
@media (prefers-reduced-motion: reduce) {
 .bb-invoice-app .bb-canvas-loader-dot,
.bbrs-receipt-app .bbrs-canvas-loader-dot {
        animation: none; } }
@media print {
 .bb-invoice-app .bb-canvas-preloader,
.bbrs-receipt-app .bbrs-canvas-preloader {
        display: none; }
 .bb-invoice-app .bb-canvas-world,
.bbrs-receipt-app .bbrs-canvas-world {
        visibility: visible;
        opacity: 1;
        width: 612px;
        height: 792px; }
 .bb-invoice-app .bb-canvas-scale,
.bbrs-receipt-app .bbrs-canvas-scale {
        width: 612px;
        height: 792px;
        zoom: 1;
        transform: none; }
 .bb-invoice-app .bb-canvas-rotation,
.bbrs-receipt-app .bbrs-canvas-rotation {
        left: 0;
        top: 0;
        transform: none; } }
@media (max-width: 760px) {
 .bb-invoice-app .bb-toolbar-scroll,
.bbrs-receipt-app .bbrs-toolbar-scroll {
        scrollbar-width: none;
        -ms-overflow-style: none; }
 .bb-invoice-app .bb-toolbar-scroll::-webkit-scrollbar,
.bbrs-receipt-app .bbrs-toolbar-scroll::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0; } }
.bb-invoice-app .bb-canvas-toolbar,
.bbrs-receipt-app .bbrs-canvas-toolbar {
    position: sticky;
    top: max(4px, env(safe-area-inset-top));
    z-index: 10020;
    display: flex;
    
    
    
    width: min(1180px, calc(100% - 8px));
    margin: 4px auto;
    
    
    border: 1px solid rgba(0, 0, 0, .10);
    border-radius: 6px;
    
    box-shadow: 0 2px 9px rgba(0, 0, 0, .07);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); }
.bb-invoice-app .bb-toolbar-scroll,
.bbrs-receipt-app .bbrs-toolbar-scroll {
    position: relative;
    
    
    
    
    gap: 3px;
    
    
    
    
    
    
    overscroll-behavior-inline: contain;
    
    
    
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent; }
.bb-invoice-app .bb-toolbar-scroll:focus-visible,
.bbrs-receipt-app .bbrs-toolbar-scroll:focus-visible {
    outline: 2px solid var(--bbdm-focus-color);
    outline-offset: -2px;
    border-radius: 4px; }
.bb-invoice-app .bb-toolbar-scroll button,
.bb-invoice-app .bb-toolbar-scroll input,
.bb-invoice-app .bb-toolbar-scroll label,
.bbrs-receipt-app .bbrs-toolbar-scroll button,
.bbrs-receipt-app .bbrs-toolbar-scroll input,
.bbrs-receipt-app .bbrs-toolbar-scroll label {
    user-select: none;
    -webkit-user-select: none; }
.bb-invoice-app .bb-toolbar-export-slot,
.bbrs-receipt-app .bbrs-toolbar-export-slot {
    
    
    
    
    
    
    padding-left: 4px; }
.bb-invoice-app .bb-canvas-toolbar button.pdf-export-btn.bb-toolbar-export,
.bbrs-receipt-app .bbrs-canvas-toolbar button.pdf-export-btn.bbrs-toolbar-export {
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    inset: auto;
    z-index: auto;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    max-width: 48px;
    height: 24px;
    min-height: 24px;
    max-height: 24px;
    margin: 0;
    padding: 0 7px;
    overflow: hidden;
    border: 1px solid #8f1f16;
    border-radius: 4px;
    background: #b42318;
    background-image: none; }
.bb-invoice-app .bb-canvas-toolbar button.pdf-export-btn.bb-toolbar-export {
    
    font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .bbrs-canvas-toolbar button.pdf-export-btn.bbrs-toolbar-export {
    
    font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .bb-canvas-toolbar button.pdf-export-btn.bb-toolbar-export,
.bbrs-receipt-app .bbrs-canvas-toolbar button.pdf-export-btn.bbrs-toolbar-export {
    
    
    
    
    
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    text-shadow: none;
    white-space: nowrap;
    cursor: pointer;
    touch-action: manipulation;
    box-shadow: 0 1px 4px rgba(88, 20, 15, .24);
    transition: background-color .14s ease, border-color .14s ease, box-shadow .14s ease, opacity .14s ease; }
.bb-invoice-app .bb-canvas-toolbar button.pdf-export-btn.bb-toolbar-export:hover,
.bbrs-receipt-app .bbrs-canvas-toolbar button.pdf-export-btn.bbrs-toolbar-export:hover {
    border-color: #761a13;
    background: #951f16;
    color: #fff;
    box-shadow: 0 2px 6px rgba(88, 20, 15, .30); }
.bb-invoice-app .bb-canvas-toolbar button.pdf-export-btn.bb-toolbar-export:focus-visible,
.bbrs-receipt-app .bbrs-canvas-toolbar button.pdf-export-btn.bbrs-toolbar-export:focus-visible {
    outline: 2px solid var(--bbdm-focus-color);
    outline-offset: 1px; }
.bb-invoice-app .bb-canvas-toolbar button.pdf-export-btn.bb-toolbar-export:disabled,
.bb-invoice-app .bb-canvas-toolbar button.pdf-export-btn.bb-toolbar-export[aria-busy="true"],
.bbrs-receipt-app .bbrs-canvas-toolbar button.pdf-export-btn.bbrs-toolbar-export:disabled,
.bbrs-receipt-app .bbrs-canvas-toolbar button.pdf-export-btn.bbrs-toolbar-export[aria-busy="true"] {
    opacity: .78;
    cursor: progress; }
.bb-invoice-app .bb-canvas-toolbar button.pdf-export-btn.bb-toolbar-export[aria-busy="true"],
.bbrs-receipt-app .bbrs-canvas-toolbar button.pdf-export-btn.bbrs-toolbar-export[aria-busy="true"] {
    color: transparent; }
.bb-invoice-app .bb-canvas-toolbar button.pdf-export-btn.bb-toolbar-export[aria-busy="true"]::after,
.bbrs-receipt-app .bbrs-canvas-toolbar button.pdf-export-btn.bbrs-toolbar-export[aria-busy="true"]::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    box-sizing: border-box;
    border: 1.5px solid rgba(255, 255, 255, .4);
    border-top-color: #fff;
    border-radius: 50%; }
.bb-invoice-app .bb-canvas-toolbar button.pdf-export-btn.bb-toolbar-export[aria-busy="true"]::after {
    animation: bb-export-spin .7s linear infinite; }
.bbrs-receipt-app .bbrs-canvas-toolbar button.pdf-export-btn.bbrs-toolbar-export[aria-busy="true"]::after {
    animation: bbrs-export-spin .7s linear infinite; }
@keyframes bb-export-spin {
    to { transform: rotate(360deg); }
}
@keyframes bbrs-export-spin {
    to { transform: rotate(360deg); }
}
body.admin-bar .bb-invoice-app .bb-canvas-toolbar,
body.admin-bar .bbrs-receipt-app .bbrs-canvas-toolbar {
    top: calc(36px + env(safe-area-inset-top)); }
@media (max-width: 782px) {
 body.admin-bar .bb-invoice-app .bb-canvas-toolbar,
body.admin-bar .bbrs-receipt-app .bbrs-canvas-toolbar {
        top: calc(50px + env(safe-area-inset-top)); } }
@media (max-width: 600px) {
 .bb-invoice-app .bb-canvas-toolbar,
.bbrs-receipt-app .bbrs-canvas-toolbar {
        width: calc(100% - 4px);
        margin: 2px auto;
        padding: 2px; }
 .bb-invoice-app .bb-toolbar-scroll,
.bbrs-receipt-app .bbrs-toolbar-scroll {
        gap: 2px;
        scrollbar-width: none;
        -ms-overflow-style: none; }
 .bb-invoice-app .bb-toolbar-scroll::-webkit-scrollbar,
.bbrs-receipt-app .bbrs-toolbar-scroll::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0; }
 .bb-invoice-app .bb-toolbar-export-slot,
.bbrs-receipt-app .bbrs-toolbar-export-slot {
        padding-left: 3px; }
 .bb-invoice-app .bb-canvas-toolbar button.pdf-export-btn.bb-toolbar-export,
.bbrs-receipt-app .bbrs-canvas-toolbar button.pdf-export-btn.bbrs-toolbar-export {
        width: 44px;
        min-width: 44px;
        max-width: 44px;
        padding-inline: 5px; } }
@media print {
 .bb-invoice-app .bb-toolbar-export-slot,
.bbrs-receipt-app .bbrs-toolbar-export-slot {
        display: none; } }
.bb-invoice-app .qr-wrapper,
.bbrs-receipt-app .qr-wrapper {
    position: relative;
    
    
    text-align: center;
    overflow: visible; }
.bb-invoice-app .invoice-qr,
.bbrs-receipt-app .receipt-qr {
    position: absolute;
    inset: 0 auto auto 0;
    display: block;
    
    
    object-fit: contain; }
.bb-invoice-app .qr-center-link,
.bbrs-receipt-app .qr-center-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    
    
    
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    transform: none;
    white-space: nowrap;
    overflow: hidden; }
.bb-invoice-app .qr-center-link {
    font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .qr-center-link {
    font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .qr-center-link,
.bbrs-receipt-app .qr-center-link {
    font-size: 3.4px;
    line-height: 4px;
    font-weight: 400;
    letter-spacing: -.02em;
    color: #ffffff00;
    text-align: center;
    text-decoration: none; }
.bb-invoice-app .qr-bottom-link,
.bbrs-receipt-app .qr-bottom-link {
    position: absolute;
    left: 50%;
    
    z-index: 2;
    display: block;
    width: max-content;
    max-width: none;
    margin: 0;
    padding: 0;
    transform: translateX(-50%);
    white-space: nowrap; }
.bb-invoice-app .qr-bottom-link {
    font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .qr-bottom-link {
    font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .qr-bottom-link,
.bbrs-receipt-app .qr-bottom-link {
    
    
    font-weight: 400;
    letter-spacing: -.01em;
    color: var(--black);
    text-align: center;
    text-decoration: none; }
.bb-invoice-app .bb-tool-group,
.bb-invoice-app .bb-toolbar-export-slot,
.bbrs-receipt-app .bbrs-tool-group,
.bbrs-receipt-app .bbrs-toolbar-export-slot {
    scroll-margin: 0; }
.bb-invoice-app .bb-zoom-number-wrap.bb-zoom-unified,
.bbrs-receipt-app .bbrs-zoom-number-wrap.bbrs-zoom-unified {
    
    
    
    
    
    
    gap: 1px;
    padding: 0 4px;
    border-radius: 4px;
    cursor: text; }
.bb-invoice-app .bb-zoom-number-wrap.bb-zoom-unified input,
.bbrs-receipt-app .bbrs-zoom-number-wrap.bbrs-zoom-unified input {
    width: 39px;
    min-width: 0;
    height: 22px;
    min-height: 22px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 9px;
    line-height: 22px;
    text-align: right; }
.bb-invoice-app .bb-zoom-number-wrap.bb-zoom-unified > span[aria-hidden="true"],
.bbrs-receipt-app .bbrs-zoom-number-wrap.bbrs-zoom-unified > span[aria-hidden="true"] {
    flex: 0 0 auto;
    font-size: 9px;
    line-height: 22px;
    pointer-events: none; }
.theme-dark .bb-invoice-app .bb-canvas-toolbar,
.bb-invoice-app.theme-dark .bb-canvas-toolbar,
.theme-dark .bbrs-receipt-app .bbrs-canvas-toolbar,
.bbrs-receipt-app.theme-dark .bbrs-canvas-toolbar {
    border-color: var(--border-global,var(--bb-theme-border,var(--border-color,rgba(255, 255, 255, .12))));
    
    box-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.theme-dark .bb-invoice-app .bb-toolbar-export-slot,
.bb-invoice-app.theme-dark .bb-toolbar-export-slot,
.theme-dark .bbrs-receipt-app .bbrs-toolbar-export-slot,
.bbrs-receipt-app.theme-dark .bbrs-toolbar-export-slot {
    border-left-color: var(--border-global,var(--bb-theme-border,var(--border-color,rgba(255, 255, 255, .12))));
    background: var(--bg-very-light,var(--bb-theme-surface,var(--bg-very-light,rgba(24, 24, 24, .98)))); }
.theme-dark .bb-invoice-app .bb-tool-group,
.bb-invoice-app.theme-dark .bb-tool-group,
.theme-dark .bbrs-receipt-app .bbrs-tool-group,
.bbrs-receipt-app.theme-dark .bbrs-tool-group {
    border-right-color: rgba(255, 255, 255, .11); }
.theme-dark .bb-invoice-app button.bb-tool-btn,
.bb-invoice-app.theme-dark button.bb-tool-btn,
.theme-dark .bb-invoice-app .bb-zoom-number-wrap,
.bb-invoice-app.theme-dark .bb-zoom-number-wrap,
.theme-dark .bbrs-receipt-app button.bbrs-tool-btn,
.bbrs-receipt-app.theme-dark button.bbrs-tool-btn,
.theme-dark .bbrs-receipt-app .bbrs-zoom-number-wrap,
.bbrs-receipt-app.theme-dark .bbrs-zoom-number-wrap {
    border-color: var(--border-global,var(--bb-theme-border,var(--border-color,#4a4a4a)));
    background: var(--bg-very-light,var(--bb-theme-surface,var(--bg-very-light,#272727)));
    color: var(--color-global,var(--bb-theme-text,var(--text-color,#e9e9e9))); }
.theme-dark .bb-invoice-app button.bb-tool-btn:hover,
.bb-invoice-app.theme-dark button.bb-tool-btn:hover,
.theme-dark .bbrs-receipt-app button.bbrs-tool-btn:hover,
.bbrs-receipt-app.theme-dark button.bbrs-tool-btn:hover {
    border-color: var(--border-global,var(--bb-theme-border,var(--border-color,#5c5c5c)));
    background: var(--bg-hover,var(--bb-theme-hover,var(--bg-light,#343434))); }
.theme-dark .bb-invoice-app button.bb-tool-btn.is-active,
.bb-invoice-app.theme-dark button.bb-tool-btn.is-active,
.theme-dark .bbrs-receipt-app button.bbrs-tool-btn.is-active,
.bbrs-receipt-app.theme-dark button.bbrs-tool-btn.is-active {
    border-color: #d6d6d6;
    background: #e7e7e7;
    color: #202020; }
.theme-dark .bb-invoice-app .bb-zoom-number-wrap input,
.bb-invoice-app.theme-dark .bb-zoom-number-wrap input,
.theme-dark .bbrs-receipt-app .bbrs-zoom-number-wrap input,
.bbrs-receipt-app.theme-dark .bbrs-zoom-number-wrap input {
    color: var(--color-global,var(--bb-theme-text,var(--text-color,#f3f3f3))); }
.theme-dark .bb-invoice-app .bb-canvas-shell,
.bb-invoice-app.theme-dark .bb-canvas-shell,
.theme-dark .bbrs-receipt-app .bbrs-canvas-shell,
.bbrs-receipt-app.theme-dark .bbrs-canvas-shell {
    border-color: var(--border-global,var(--bb-theme-border,var(--border-color,#3d3d3d)));
    background: var(--bg-very-light,var(--bb-theme-surface,var(--bg-very-light,#202020)));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .035); }
.theme-dark .bb-invoice-app .bb-canvas-viewport,
.bb-invoice-app.theme-dark .bb-canvas-viewport,
.theme-dark .bbrs-receipt-app .bbrs-canvas-viewport,
.bbrs-receipt-app.theme-dark .bbrs-canvas-viewport {
    background-color: var(--bg-very-light,var(--bb-theme-surface,var(--bg-very-light,#171717)));
    background-image: radial-gradient(circle at center, rgba(255, 255, 255, .07) 1px, transparent 1px); }
.theme-dark .bb-invoice-app .bb-ruler,
.theme-dark .bb-invoice-app .bb-ruler-corner,
.bb-invoice-app.theme-dark .bb-ruler,
.bb-invoice-app.theme-dark .bb-ruler-corner,
.theme-dark .bbrs-receipt-app .bbrs-ruler,
.theme-dark .bbrs-receipt-app .bbrs-ruler-corner,
.bbrs-receipt-app.theme-dark .bbrs-ruler,
.bbrs-receipt-app.theme-dark .bbrs-ruler-corner {
    border-color: var(--border-global,var(--bb-theme-border,var(--border-color,#444)));
    background: var(--bg-very-light,var(--bb-theme-surface,var(--bg-very-light,rgba(30, 30, 30, .96))));
    color: var(--color-global,var(--bb-theme-text,var(--text-color,#bdbdbd))); }
.theme-dark .bb-invoice-app .bb-shortcuts-card,
.bb-invoice-app.theme-dark .bb-shortcuts-card,
.theme-dark .bbrs-receipt-app .bbrs-shortcuts-card,
.bbrs-receipt-app.theme-dark .bbrs-shortcuts-card {
    background: var(--bg-very-light,var(--bb-theme-surface,var(--bg-very-light,#222)));
    color: var(--color-global,var(--bb-theme-text,var(--text-color,#ededed)));
    box-shadow: 0 16px 50px rgba(0, 0, 0, .55); }
.theme-dark .bb-invoice-app kbd,
.bb-invoice-app.theme-dark kbd,
.theme-dark .bbrs-receipt-app kbd,
.bbrs-receipt-app.theme-dark kbd {
    border-color: #555;
    background: #303030;
    color: #f3f3f3; }
.theme-dark .bb-invoice-app .bb-invoice-status,
.bb-invoice-app.theme-dark .bb-invoice-status,
.theme-dark .bbrs-receipt-app .bbrs-receipt-status,
.bbrs-receipt-app.theme-dark .bbrs-receipt-status {
    border-color: #494949;
    background: rgba(30, 30, 30, .96);
    color: #efefef; }
.theme-dark .bb-invoice-app .bb-canvas-hud,
.bb-invoice-app.theme-dark .bb-canvas-hud,
.theme-dark .bb-invoice-app .bb-canvas-preloader,
.bb-invoice-app.theme-dark .bb-canvas-preloader,
.theme-dark .bbrs-receipt-app .bbrs-canvas-hud,
.bbrs-receipt-app.theme-dark .bbrs-canvas-hud,
.theme-dark .bbrs-receipt-app .bbrs-canvas-preloader,
.bbrs-receipt-app.theme-dark .bbrs-canvas-preloader {
    border-color: rgba(255, 255, 255, .13);
    background: rgba(28, 28, 28, .90);
    color: #d7d7d7; }
.theme-dark .bb-invoice-app .bb-toolbar-scroll,
.bb-invoice-app.theme-dark .bb-toolbar-scroll,
.theme-dark .bbrs-receipt-app .bbrs-toolbar-scroll,
.bbrs-receipt-app.theme-dark .bbrs-toolbar-scroll {
    scrollbar-color: #555 transparent; }
.theme-dark .bb-invoice-app .bb-toolbar-scroll::-webkit-scrollbar-thumb,
.bb-invoice-app.theme-dark .bb-toolbar-scroll::-webkit-scrollbar-thumb,
.theme-dark .bbrs-receipt-app .bbrs-toolbar-scroll::-webkit-scrollbar-thumb,
.bbrs-receipt-app.theme-dark .bbrs-toolbar-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .22); }
.theme-dark .bb-invoice-app .bb-zoom-slider-wrap input,
.bb-invoice-app.theme-dark .bb-zoom-slider-wrap input,
.theme-dark .bbrs-receipt-app .bbrs-zoom-slider-wrap input,
.bbrs-receipt-app.theme-dark .bbrs-zoom-slider-wrap input {
    accent-color: #d7d7d7; }
.theme-dark .bb-invoice-app .bb-ruler-mark,
.bb-invoice-app.theme-dark .bb-ruler-mark,
.theme-dark .bbrs-receipt-app .bbrs-ruler-mark,
.bbrs-receipt-app.theme-dark .bbrs-ruler-mark {
    color: var(--color-global,var(--bb-theme-text,var(--text-color,#bdbdbd))); }
.theme-dark .bb-invoice-app .bb-ruler-mark::after,
.bb-invoice-app.theme-dark .bb-ruler-mark::after,
.theme-dark .bbrs-receipt-app .bbrs-ruler-mark::after,
.bbrs-receipt-app.theme-dark .bbrs-ruler-mark::after {
    background: #747474; }
.bb-invoice-app .bb-canvas-toolbar,
.bbrs-receipt-app .bbrs-canvas-toolbar {
    flex-wrap: nowrap; }
.bb-invoice-app .bb-toolbar-scroll,
.bbrs-receipt-app .bbrs-toolbar-scroll {
    display: flex;
    
    flex-wrap: nowrap;
    align-items: center;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: auto;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: auto;
    touch-action: pan-y pinch-zoom;
    cursor: grab; }
.bb-invoice-app .bb-toolbar-scroll.is-dragging,
.bbrs-receipt-app .bbrs-toolbar-scroll.is-dragging {
    cursor: grabbing; }
.bb-invoice-app .bb-zoom-number-wrap,
.bb-invoice-app .bb-zoom-slider-wrap,
.bb-invoice-app .bb-zoom-number-wrap input,
.bb-invoice-app .bb-zoom-slider-wrap input,
.bbrs-receipt-app .bbrs-zoom-number-wrap,
.bbrs-receipt-app .bbrs-zoom-slider-wrap,
.bbrs-receipt-app .bbrs-zoom-number-wrap input,
.bbrs-receipt-app .bbrs-zoom-slider-wrap input {
    pointer-events: auto; }
.bb-invoice-app .bb-zoom-slider-wrap,
.bbrs-receipt-app .bbrs-zoom-slider-wrap {
    display: inline-flex;
    flex: 0 0 auto; }
.bb-invoice-app .bb-zoom-slider-wrap input[type="range"],
.bbrs-receipt-app .bbrs-zoom-slider-wrap input[type="range"] {
    cursor: pointer; }
@media (max-width: 600px) {
 .bb-invoice-app .bb-zoom-slider-wrap,
.bbrs-receipt-app .bbrs-zoom-slider-wrap {
        display: inline-flex;
        width: 64px; }
 .bb-invoice-app button.bb-tool-btn,
    .bb-invoice-app button.bb-icon-btn,
    .bb-invoice-app .bb-zoom-number-wrap,
    .bb-invoice-app .bb-zoom-slider-wrap,
    .bb-invoice-app .bb-canvas-toolbar button.pdf-export-btn.bb-toolbar-export,
.bbrs-receipt-app button.bbrs-tool-btn,
    .bbrs-receipt-app button.bbrs-icon-btn,
    .bbrs-receipt-app .bbrs-zoom-number-wrap,
    .bbrs-receipt-app .bbrs-zoom-slider-wrap,
    .bbrs-receipt-app .bbrs-canvas-toolbar button.pdf-export-btn.bbrs-toolbar-export {
        min-height: 24px;
        max-height: 24px; } }
@media (min-width: 601px) {
 .bb-invoice-app .bb-zoom-slider-wrap,
.bbrs-receipt-app .bbrs-zoom-slider-wrap {
        display: inline-flex; } }
@media (min-width: 601px) {
 .bb-invoice-app button.bb-tool-btn,
    .bb-invoice-app button.bb-icon-btn,
    .bb-invoice-app .bb-zoom-number-wrap,
    .bb-invoice-app .bb-zoom-slider-wrap,
    .bb-invoice-app .bb-canvas-toolbar button.pdf-export-btn.bb-toolbar-export,
.bbrs-receipt-app button.bbrs-tool-btn,
    .bbrs-receipt-app button.bbrs-icon-btn,
    .bbrs-receipt-app .bbrs-zoom-number-wrap,
    .bbrs-receipt-app .bbrs-zoom-slider-wrap,
    .bbrs-receipt-app .bbrs-canvas-toolbar button.pdf-export-btn.bbrs-toolbar-export {
        min-height: 32px;
        max-height: 32px;
        height: 32px; }
 .bb-invoice-app button.bb-icon-btn,
.bbrs-receipt-app button.bbrs-icon-btn {
        width: 32px;
        min-width: 32px;
        font-size: 15px;
        line-height: 30px; }
 .bb-invoice-app button.bb-tool-btn,
.bbrs-receipt-app button.bbrs-tool-btn {
        min-width: 32px;
        padding-inline: 7px;
        font-size: 10px;
        line-height: 26px; }
 .bb-invoice-app .bb-zoom-number-wrap,
.bbrs-receipt-app .bbrs-zoom-number-wrap {
        padding-inline: 6px;
        font-size: 10px; }
 .bb-invoice-app .bb-zoom-number-wrap input,
.bbrs-receipt-app .bbrs-zoom-number-wrap input {
        width: 36px;
        font-size: 10px; }
 .bb-invoice-app .bb-zoom-slider-wrap,
.bbrs-receipt-app .bbrs-zoom-slider-wrap {
        width: 92px; } }
.bb-invoice-app button.bb-icon-btn,
.bbrs-receipt-app button.bbrs-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center; }
.bb-invoice-app button.bb-icon-btn .bb-tool-icon,
.bbrs-receipt-app button.bbrs-icon-btn .bbrs-tool-icon {
    display: block;
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    pointer-events: none; }
.bb-invoice-app button.bb-icon-btn .bb-tool-icon .bb-tool-icon-fill,
.bbrs-receipt-app button.bbrs-icon-btn .bbrs-tool-icon .bbrs-tool-icon-fill {
    fill: currentColor;
    stroke: none; }
@media (min-width: 601px) {
 .bb-invoice-app .bb-zoom-number-wrap.bb-zoom-unified,
.bbrs-receipt-app .bbrs-zoom-number-wrap.bbrs-zoom-unified {
        height: 32px;
        min-height: 32px;
        max-height: 32px;
        width: 64px;
        min-width: 64px;
        max-width: 64px;
        padding-inline: 6px; }
 .bb-invoice-app .bb-zoom-number-wrap.bb-zoom-unified input,
.bbrs-receipt-app .bbrs-zoom-number-wrap.bbrs-zoom-unified input {
        width: 43px;
        height: 30px;
        min-height: 30px;
        line-height: 30px;
        font-size: 10px; }
 .bb-invoice-app .bb-zoom-number-wrap.bb-zoom-unified > span[aria-hidden="true"],
.bbrs-receipt-app .bbrs-zoom-number-wrap.bbrs-zoom-unified > span[aria-hidden="true"] {
        font-size: 10px;
        line-height: 30px; } }
@media (max-width: 600px) {
 .bb-invoice-app .bb-zoom-number-wrap.bb-zoom-unified,
.bbrs-receipt-app .bbrs-zoom-number-wrap.bbrs-zoom-unified {
        
        
        
        
        
        
        padding-inline: 4px; }
 .bb-invoice-app .bb-zoom-number-wrap.bb-zoom-unified input,
.bbrs-receipt-app .bbrs-zoom-number-wrap.bbrs-zoom-unified input {
        width: 39px;
        height: 22px;
        min-height: 22px;
        line-height: 22px;
        font-size: 9px; }
 .bb-invoice-app .bb-zoom-number-wrap.bb-zoom-unified > span[aria-hidden="true"],
.bbrs-receipt-app .bbrs-zoom-number-wrap.bbrs-zoom-unified > span[aria-hidden="true"] {
        font-size: 9px;
        line-height: 22px; }
 .bb-invoice-app button.bb-icon-btn .bb-tool-icon,
.bbrs-receipt-app button.bbrs-icon-btn .bbrs-tool-icon {
        width: 15px;
        height: 15px;
        flex-basis: 15px; } }
.bb-invoice-app .bb-canvas-toolbar,
.bbrs-receipt-app .bbrs-canvas-toolbar {
    overflow: visible; }
.bb-invoice-app button.bb-open-pdf-btn.bb-icon-btn,
.bbrs-receipt-app button.bbrs-open-pdf-btn.bbrs-icon-btn {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    display: inline-flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    margin: 0;
    padding: 0;
    border: 1px solid #d0d0d4;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    touch-action: manipulation;
    transition: background-color .12s ease, border-color .12s ease, color .12s ease; }
.bb-invoice-app button.bb-open-pdf-btn.bb-icon-btn:hover,
.bbrs-receipt-app button.bbrs-open-pdf-btn.bbrs-icon-btn:hover {
    border-color: #a9a9af;
    background: #f5f5f7;
    color: #111114; }
.bb-invoice-app button.bb-open-pdf-btn.bb-icon-btn:disabled,
.bb-invoice-app button.bb-open-pdf-btn.bb-icon-btn[aria-busy="true"],
.bbrs-receipt-app button.bbrs-open-pdf-btn.bbrs-icon-btn:disabled,
.bbrs-receipt-app button.bbrs-open-pdf-btn.bbrs-icon-btn[aria-busy="true"] {
    cursor: wait;
    opacity: .62; }
.bb-invoice-app button.bb-open-pdf-btn.bb-icon-btn:focus-visible,
.bbrs-receipt-app button.bbrs-open-pdf-btn.bbrs-icon-btn:focus-visible {
    outline: 2px solid var(--bbdm-focus-color);
    outline-offset: 1px; }
.bb-invoice-app button.bb-open-pdf-btn.bb-icon-btn .bb-tool-icon,
.bbrs-receipt-app button.bbrs-open-pdf-btn.bbrs-icon-btn .bbrs-tool-icon {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round; }
.bb-invoice-app .bb-canvas-toolbar .bb-invoice-status,
.bbrs-receipt-app .bbrs-canvas-toolbar .bbrs-receipt-status {
    position: absolute;
    top: calc(100% + 5px);
    right: 3px;
    left: auto;
    bottom: auto;
    z-index: 10030;
    width: max-content;
    max-width: min(420px, calc(100vw - 18px));
    margin: 0;
    padding: 6px 9px;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 5px;
    background: var(--bg-very-light,var(--bb-theme-surface,var(--bg-very-light,rgba(51, 51, 54, .96))));
    color: var(--color-global,var(--bb-theme-text,var(--text-color,#fff)));
    box-shadow: 0 4px 16px rgba(0, 0, 0, .14); }
.bb-invoice-app .bb-canvas-toolbar .bb-invoice-status {
    font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .bbrs-canvas-toolbar .bbrs-receipt-status {
    font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .bb-canvas-toolbar .bb-invoice-status,
.bbrs-receipt-app .bbrs-canvas-toolbar .bbrs-receipt-status {
    font-size: 10px;
    line-height: 13px;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-2px);
    transition: opacity .12s ease, transform .12s ease, visibility 0s linear .12s; }
.bb-invoice-app .bb-canvas-toolbar .bb-invoice-status.is-visible,
.bbrs-receipt-app .bbrs-canvas-toolbar .bbrs-receipt-status.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s; }
.bb-invoice-app .bb-canvas-toolbar .bb-invoice-status.is-error,
.bbrs-receipt-app .bbrs-canvas-toolbar .bbrs-receipt-status.is-error {
    background: rgba(145, 28, 28, .97); }
.theme-dark .bb-invoice-app button.bb-open-pdf-btn.bb-icon-btn:hover,
.bb-invoice-app.theme-dark button.bb-open-pdf-btn.bb-icon-btn:hover,
.theme-dark .bbrs-receipt-app button.bbrs-open-pdf-btn.bbrs-icon-btn:hover,
.bbrs-receipt-app.theme-dark button.bbrs-open-pdf-btn.bbrs-icon-btn:hover {
    border-color: #73737a;
    background: #35353a;
    color: #fff; }
@media (max-width: 600px) {
 .bb-invoice-app button.bb-open-pdf-btn.bb-icon-btn,
.bbrs-receipt-app button.bbrs-open-pdf-btn.bbrs-icon-btn {
        flex-basis: 24px;
        width: 24px;
        min-width: 24px;
        height: 24px;
        min-height: 24px; }
 .bb-invoice-app button.bb-open-pdf-btn.bb-icon-btn .bb-tool-icon,
.bbrs-receipt-app button.bbrs-open-pdf-btn.bbrs-icon-btn .bbrs-tool-icon {
        width: 14px;
        height: 14px; }
 .bb-invoice-app .bb-canvas-toolbar .bb-invoice-status,
.bbrs-receipt-app .bbrs-canvas-toolbar .bbrs-receipt-status {
        right: 1px;
        max-width: min(330px, calc(100vw - 10px));
        padding: 5px 7px;
        font-size: 9px;
        line-height: 12px; } }
.bb-invoice-app {
    --bb-action-red: #ff4444; }
.bbrs-receipt-app {
    --bbrs-action-red: #ff4444; }
.bb-invoice-app .invoice-items,
.bbrs-receipt-app .receipt-items {
    margin-top: 20px; }
.bb-invoice-app .payment-information,
.bbrs-receipt-app .payment-information {
    margin-top: 40px; }
.bb-invoice-app .signature-section,
.bbrs-receipt-app .signature-section {
    width: 130px;
    margin-top: 16px; }
.bb-invoice-app .bb-zoom-number-wrap.bb-zoom-unified,
.bbrs-receipt-app .bbrs-zoom-number-wrap.bbrs-zoom-unified {
    min-height: 32px;
    max-height: 32px;
    height: 32px;
    width: 44px;
    min-width: 44px;
    max-width: 44px; }
.bb-invoice-app .bb-zoom-number-wrap.bb-zoom-unified input[data-bb-zoom-number],
.bbrs-receipt-app .bbrs-zoom-number-wrap.bbrs-zoom-unified input[data-bbrs-zoom-number] {
    height: 30px;
    min-height: 30px;
    max-height: 30px; }
.bb-invoice-app .bb-canvas-toolbar button.pdf-export-btn.bb-toolbar-export {
    background: var(--bb-action-red);
    border-color: var(--bb-action-red); }
.bbrs-receipt-app .bbrs-canvas-toolbar button.pdf-export-btn.bbrs-toolbar-export {
    background: var(--bbrs-action-red);
    border-color: var(--bbrs-action-red); }
.bb-invoice-app .bb-canvas-toolbar button.pdf-export-btn.bb-toolbar-export,
.bbrs-receipt-app .bbrs-canvas-toolbar button.pdf-export-btn.bbrs-toolbar-export {
    color: #fff;
    font-size: 14px;
    line-height: 22px;
    font-style: normal;
    font-weight: 600; }
.bb-invoice-app .bb-canvas-toolbar button.pdf-export-btn.bb-toolbar-export:hover,
.bb-invoice-app .bb-canvas-toolbar button.pdf-export-btn.bb-toolbar-export:focus-visible {
    background: var(--bb-action-red);
    border-color: var(--bb-action-red); }
.bbrs-receipt-app .bbrs-canvas-toolbar button.pdf-export-btn.bbrs-toolbar-export:hover,
.bbrs-receipt-app .bbrs-canvas-toolbar button.pdf-export-btn.bbrs-toolbar-export:focus-visible {
    background: var(--bbrs-action-red);
    border-color: var(--bbrs-action-red); }
.bb-invoice-app .bb-canvas-toolbar button.pdf-export-btn.bb-toolbar-export:hover,
.bb-invoice-app .bb-canvas-toolbar button.pdf-export-btn.bb-toolbar-export:focus-visible,
.bbrs-receipt-app .bbrs-canvas-toolbar button.pdf-export-btn.bbrs-toolbar-export:hover,
.bbrs-receipt-app .bbrs-canvas-toolbar button.pdf-export-btn.bbrs-toolbar-export:focus-visible {
    color: #fff; }
.bb-invoice-app button.bb-open-pdf-btn.bb-icon-btn,
.bbrs-receipt-app button.bbrs-open-pdf-btn.bbrs-icon-btn {
    
    color: #fff; }
.bb-invoice-app button.bb-open-pdf-btn.bb-icon-btn:hover,
.bb-invoice-app button.bb-open-pdf-btn.bb-icon-btn:focus-visible,
.bbrs-receipt-app button.bbrs-open-pdf-btn.bbrs-icon-btn:hover,
.bbrs-receipt-app button.bbrs-open-pdf-btn.bbrs-icon-btn:focus-visible {
    
    color: #fff; }
.theme-dark .bb-invoice-app .bb-canvas-toolbar button.pdf-export-btn.bb-toolbar-export,
.bb-invoice-app.theme-dark .bb-canvas-toolbar button.pdf-export-btn.bb-toolbar-export,
.theme-dark .bb-invoice-app button.bb-open-pdf-btn.bb-icon-btn,
.bb-invoice-app.theme-dark button.bb-open-pdf-btn.bb-icon-btn {
    background: var(--bb-action-red);
    border-color: var(--bb-action-red); }
.theme-dark .bbrs-receipt-app .bbrs-canvas-toolbar button.pdf-export-btn.bbrs-toolbar-export,
.bbrs-receipt-app.theme-dark .bbrs-canvas-toolbar button.pdf-export-btn.bbrs-toolbar-export,
.theme-dark .bbrs-receipt-app button.bbrs-open-pdf-btn.bbrs-icon-btn,
.bbrs-receipt-app.theme-dark button.bbrs-open-pdf-btn.bbrs-icon-btn {
    background: var(--bbrs-action-red);
    border-color: var(--bbrs-action-red); }
.theme-dark .bb-invoice-app .bb-canvas-toolbar button.pdf-export-btn.bb-toolbar-export,
.bb-invoice-app.theme-dark .bb-canvas-toolbar button.pdf-export-btn.bb-toolbar-export,
.theme-dark .bb-invoice-app button.bb-open-pdf-btn.bb-icon-btn,
.bb-invoice-app.theme-dark button.bb-open-pdf-btn.bb-icon-btn,
.theme-dark .bbrs-receipt-app .bbrs-canvas-toolbar button.pdf-export-btn.bbrs-toolbar-export,
.bbrs-receipt-app.theme-dark .bbrs-canvas-toolbar button.pdf-export-btn.bbrs-toolbar-export,
.theme-dark .bbrs-receipt-app button.bbrs-open-pdf-btn.bbrs-icon-btn,
.bbrs-receipt-app.theme-dark button.bbrs-open-pdf-btn.bbrs-icon-btn {
    color: #fff; }
@media (max-width: 600px) {}
.bb-invoice-app .bb-canvas-toolbar,
.bbrs-receipt-app .bbrs-canvas-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    padding: 3px; }
.bb-invoice-app .bb-studio-bar,
.bbrs-receipt-app .bbrs-studio-bar {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-width: 0;
    min-height: 32px;
    padding: 0 0 3px;
    border-bottom: 1px solid #e5e5e8; }
.bb-invoice-app .bb-studio-title,
.bbrs-receipt-app .bbrs-studio-title {
    min-width: 0;
    padding-left: 6px; }
.bb-invoice-app .bb-studio-title {
    
    font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .bbrs-studio-title {
    
    font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .bb-studio-title,
.bbrs-receipt-app .bbrs-studio-title {
    
    
    
    letter-spacing: -.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; }
.bb-invoice-app .bb-toolbar-scroll,
.bbrs-receipt-app .bbrs-toolbar-scroll {
    flex: 0 0 auto;
    width: 100%;
    padding: 0 0 1px; }
.bb-invoice-app .bb-toolbar-export-slot,
.bbrs-receipt-app .bbrs-toolbar-export-slot {
    position: relative;
    z-index: 3;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    align-self: auto;
    gap: 4px;
    padding: 0;
    border-left: 0;
    background: transparent; }
.theme-dark .bb-invoice-app .bb-studio-bar,
.bb-invoice-app.theme-dark .bb-studio-bar,
.theme-dark .bbrs-receipt-app .bbrs-studio-bar,
.bbrs-receipt-app.theme-dark .bbrs-studio-bar {
    border-bottom-color: var(--color-global,var(--bb-theme-text,var(--text-color,#45454b))); }
.theme-dark .bb-invoice-app .bb-canvas-minimap,
.bb-invoice-app.theme-dark .bb-canvas-minimap,
.theme-dark .bb-invoice-app .bb-minimap-track,
.bb-invoice-app.theme-dark .bb-minimap-track,
.theme-dark .bb-invoice-app .bb-minimap-page,
.bb-invoice-app.theme-dark .bb-minimap-page,
.theme-dark .bbrs-receipt-app .bbrs-canvas-minimap,
.bbrs-receipt-app.theme-dark .bbrs-canvas-minimap,
.theme-dark .bbrs-receipt-app .bbrs-minimap-track,
.bbrs-receipt-app.theme-dark .bbrs-minimap-track,
.theme-dark .bbrs-receipt-app .bbrs-minimap-page,
.bbrs-receipt-app.theme-dark .bbrs-minimap-page {
    background: #fff; }
.theme-dark .bb-invoice-app .bb-canvas-minimap,
.bb-invoice-app.theme-dark .bb-canvas-minimap,
.theme-dark .bb-invoice-app .bb-minimap-track,
.bb-invoice-app.theme-dark .bb-minimap-track,
.theme-dark .bb-invoice-app .bb-minimap-page,
.bb-invoice-app.theme-dark .bb-minimap-page {
    color: var(--bb-action-red);
    border-color: var(--bb-action-red); }
.theme-dark .bbrs-receipt-app .bbrs-canvas-minimap,
.bbrs-receipt-app.theme-dark .bbrs-canvas-minimap,
.theme-dark .bbrs-receipt-app .bbrs-minimap-track,
.bbrs-receipt-app.theme-dark .bbrs-minimap-track,
.theme-dark .bbrs-receipt-app .bbrs-minimap-page,
.bbrs-receipt-app.theme-dark .bbrs-minimap-page {
    color: var(--bbrs-action-red);
    border-color: var(--bbrs-action-red); }
@media (max-width: 600px) {
 .bb-invoice-app .bb-studio-bar,
.bbrs-receipt-app .bbrs-studio-bar {
        min-height: 24px;
        padding-bottom: 3px; }
 .bb-invoice-app .bb-studio-title,
.bbrs-receipt-app .bbrs-studio-title {
        padding-left: 4px; } }
.bb-invoice-app.bb-is-booting,
.bb-invoice-app.bb-is-ready,
.bbrs-receipt-app.bbrs-is-booting,
.bbrs-receipt-app.bbrs-is-ready {
    box-sizing: border-box;
    width: 100%;
    max-width: 1600px;
    margin-inline: auto;
    padding-top: 24px;
    padding-right: clamp(24px, 1vw, 16px);
    padding-bottom: 24px;
    padding-left: clamp(24px, 1vw, 16px); }
.bb-invoice-app.bb-is-booting .bb-canvas-toolbar,
.bb-invoice-app.bb-is-ready .bb-canvas-toolbar,
.bb-invoice-app.bb-is-booting .bb-canvas-shell,
.bb-invoice-app.bb-is-ready .bb-canvas-shell,
.bbrs-receipt-app.bbrs-is-booting .bbrs-canvas-toolbar,
.bbrs-receipt-app.bbrs-is-ready .bbrs-canvas-toolbar,
.bbrs-receipt-app.bbrs-is-booting .bbrs-canvas-shell,
.bbrs-receipt-app.bbrs-is-ready .bbrs-canvas-shell {
    width: 100%;
    max-width: none;
    margin-inline: auto; }
@media (min-width: 601px) {
 .bb-invoice-app .bb-canvas-toolbar,
.bbrs-receipt-app .bbrs-canvas-toolbar {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas: "studio-title studio-tools studio-export";
        align-items: center;
        gap: 6px;
        padding: 3px; }
 .bb-invoice-app .bb-studio-bar,
.bbrs-receipt-app .bbrs-studio-bar {
        display: contents; }
 .bb-invoice-app .bb-studio-title,
.bbrs-receipt-app .bbrs-studio-title {
        grid-area: studio-title;
        padding: 0 4px 0 6px; }
 .bb-invoice-app .bb-toolbar-scroll,
.bbrs-receipt-app .bbrs-toolbar-scroll {
        grid-area: studio-tools;
        width: 100%;
        min-width: 0;
        padding: 0; }
 .bb-invoice-app .bb-toolbar-export-slot,
.bbrs-receipt-app .bbrs-toolbar-export-slot {
        grid-area: studio-export; } }
@media (max-width: 600px) {
 .bb-invoice-app.bb-is-booting,
    .bb-invoice-app.bb-is-ready,
.bbrs-receipt-app.bbrs-is-booting,
    .bbrs-receipt-app.bbrs-is-ready {
        width: 100%;
        padding-inline: 16px; }
 .bb-invoice-app .bb-canvas-toolbar,
.bbrs-receipt-app .bbrs-canvas-toolbar {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 3px; }
 .bb-invoice-app .bb-studio-bar,
.bbrs-receipt-app .bbrs-studio-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-width: 0; }
 .bb-invoice-app .bb-toolbar-scroll,
.bbrs-receipt-app .bbrs-toolbar-scroll {
        width: 100%;
        min-width: 0; } }
.bb-invoice-app:fullscreen,
.bb-invoice-app.is-fullscreen-fallback,
.bbrs-receipt-app:fullscreen,
.bbrs-receipt-app.is-fullscreen-fallback {
    width: 100%;
    max-width: none;
    padding-top: 8px;
    padding-right: 0;
    padding-bottom: 8px;
    padding-left: 0; }
.bb-invoice-app .bb-canvas-minimap,
.bbrs-receipt-app .bbrs-canvas-minimap {
    box-sizing: border-box;
    right: 8px;
    bottom: 8px;
    width: 76px;
    padding: 6px;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 7px;
    background: rgba(255, 255, 255, .92);
    color: #505050;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .12);
    backdrop-filter: blur(5px);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .3s ease, visibility 0s linear 0s; }
.bb-invoice-app .bb-canvas-minimap.is-hiding,
.bbrs-receipt-app .bbrs-canvas-minimap.is-hiding {
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease, visibility 0s linear .3s; }
.bb-invoice-app .bb-canvas-minimap.is-hidden,
.bbrs-receipt-app .bbrs-canvas-minimap.is-hidden {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none; }
.bb-invoice-app .bb-minimap-title,
.bbrs-receipt-app .bbrs-minimap-title {
    display: block;
    margin: 0 0 5px;
    color: #505050; }
.bb-invoice-app .bb-minimap-title {
    font-family: "BB Text", sans-serif; }
.bbrs-receipt-app .bbrs-minimap-title {
    font-family: "BB Receipt Text", sans-serif; }
.bb-invoice-app .bb-minimap-title,
.bbrs-receipt-app .bbrs-minimap-title {
    font-size: 8px;
    line-height: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em; }
.bb-invoice-app .bb-minimap-track,
.bbrs-receipt-app .bbrs-minimap-track {
    position: relative;
    box-sizing: border-box;
    width: 62px;
    height: 80px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #d4d4d4;
    border-radius: 0;
    background: #ececec;
    color: #505050;
    cursor: crosshair; }
.bb-invoice-app .bb-minimap-page,
.bbrs-receipt-app .bbrs-minimap-page {
    box-sizing: border-box;
    margin: 0;
    border: 1px solid #8f8f8f;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .13); }
.bb-invoice-app .bb-minimap-view,
.bbrs-receipt-app .bbrs-minimap-view {
    box-sizing: border-box;
    min-width: 5px;
    min-height: 5px;
    border: 1px solid #387cc0;
    background: rgba(56, 124, 192, .14);
    cursor: move; }
.theme-dark .bb-invoice-app .bb-canvas-minimap,
.bb-invoice-app.theme-dark .bb-canvas-minimap,
.theme-dark .bbrs-receipt-app .bbrs-canvas-minimap,
.bbrs-receipt-app.theme-dark .bbrs-canvas-minimap {
    border-color: #484848;
    background: rgba(30, 30, 30, .94);
    color: #d0d0d0;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .38); }
.theme-dark .bb-invoice-app .bb-minimap-title,
.bb-invoice-app.theme-dark .bb-minimap-title,
.theme-dark .bbrs-receipt-app .bbrs-minimap-title,
.bbrs-receipt-app.theme-dark .bbrs-minimap-title {
    color: #d0d0d0; }
.theme-dark .bb-invoice-app .bb-minimap-track,
.bb-invoice-app.theme-dark .bb-minimap-track,
.theme-dark .bbrs-receipt-app .bbrs-minimap-track,
.bbrs-receipt-app.theme-dark .bbrs-minimap-track {
    border-color: #555;
    background: #151515;
    color: #d0d0d0; }
.theme-dark .bb-invoice-app .bb-minimap-page,
.bb-invoice-app.theme-dark .bb-minimap-page,
.theme-dark .bbrs-receipt-app .bbrs-minimap-page,
.bbrs-receipt-app.theme-dark .bbrs-minimap-page {
    border-color: #707070;
    background: #f6f6f6; }
.theme-dark .bb-invoice-app .bb-minimap-view,
.bb-invoice-app.theme-dark .bb-minimap-view,
.theme-dark .bbrs-receipt-app .bbrs-minimap-view,
.bbrs-receipt-app.theme-dark .bbrs-minimap-view {
    border-color: #72a7ff;
    background: rgba(114, 167, 255, .18); }
.theme-dark .bb-invoice-app button.bb-open-pdf-btn.bb-icon-btn,
.bb-invoice-app.theme-dark button.bb-open-pdf-btn.bb-icon-btn,
.theme-dark .bbrs-receipt-app button.bbrs-open-pdf-btn.bbrs-icon-btn,
.bbrs-receipt-app.theme-dark button.bbrs-open-pdf-btn.bbrs-icon-btn {
    
    border-color: #72a7ff;
    color: #72a7ff; }
.theme-dark .bb-invoice-app button.bb-open-pdf-btn.bb-icon-btn:hover,
.theme-dark .bb-invoice-app button.bb-open-pdf-btn.bb-icon-btn:focus-visible,
.bb-invoice-app.theme-dark button.bb-open-pdf-btn.bb-icon-btn:hover,
.bb-invoice-app.theme-dark button.bb-open-pdf-btn.bb-icon-btn:focus-visible,
.theme-dark .bbrs-receipt-app button.bbrs-open-pdf-btn.bbrs-icon-btn:hover,
.theme-dark .bbrs-receipt-app button.bbrs-open-pdf-btn.bbrs-icon-btn:focus-visible,
.bbrs-receipt-app.theme-dark button.bbrs-open-pdf-btn.bbrs-icon-btn:hover,
.bbrs-receipt-app.theme-dark button.bbrs-open-pdf-btn.bbrs-icon-btn:focus-visible {
    
    border-color: #8ab5ff;
    color: #8ab5ff; }
@media (max-width: 600px) {
 .bb-invoice-app .bb-zoom-number-wrap.bb-zoom-unified,
.bbrs-receipt-app .bbrs-zoom-number-wrap.bbrs-zoom-unified {
        min-height: 24px;
        max-height: 24px;
        height: 24px;
        width: 36px;
        min-width: 36px;
        max-width: 36px; }
 .bb-invoice-app .bb-zoom-number-wrap.bb-zoom-unified input[data-bb-zoom-number],
.bbrs-receipt-app .bbrs-zoom-number-wrap.bbrs-zoom-unified input[data-bbrs-zoom-number] {
        min-height: 22px;
        max-height: 22px;
        height: 22px; }
 .bb-invoice-app .bb-canvas-minimap,
.bbrs-receipt-app .bbrs-canvas-minimap {
        right: 5px;
        bottom: 5px;
        width: 74px;
        padding: 5px; }
 .bb-invoice-app .bb-minimap-title,
.bbrs-receipt-app .bbrs-minimap-title {
        margin-bottom: 4px;
        font-size: 7px;
        line-height: 8px; }
 .bb-invoice-app .bb-minimap-track,
.bbrs-receipt-app .bbrs-minimap-track {
        width: 62px;
        height: 80px; } }
.bb-invoice-app .bb-studio-title,
.bbrs-receipt-app .bbrs-studio-title {
    font-size: 17px;
    line-height: 22px;
    font-weight: 700; }
.bb-invoice-app button.bb-open-pdf-btn.bb-icon-btn,
.bbrs-receipt-app button.bbrs-open-pdf-btn.bbrs-icon-btn {
    background: #fff; }
.bb-invoice-app button.bb-open-pdf-btn.bb-icon-btn {
    border-color: var(--bb-action-red);
    color: var(--bb-action-red); }
.bbrs-receipt-app button.bbrs-open-pdf-btn.bbrs-icon-btn {
    border-color: var(--bbrs-action-red);
    color: var(--bbrs-action-red); }
.bb-invoice-app button.bb-open-pdf-btn.bb-icon-btn:hover,
.bb-invoice-app button.bb-open-pdf-btn.bb-icon-btn:focus-visible,
.bbrs-receipt-app button.bbrs-open-pdf-btn.bbrs-icon-btn:hover,
.bbrs-receipt-app button.bbrs-open-pdf-btn.bbrs-icon-btn:focus-visible {
    background: rgba(255, 68, 68, .08); }
.bb-invoice-app button.bb-open-pdf-btn.bb-icon-btn:hover,
.bb-invoice-app button.bb-open-pdf-btn.bb-icon-btn:focus-visible {
    border-color: var(--bb-action-red);
    color: var(--bb-action-red); }
.bbrs-receipt-app button.bbrs-open-pdf-btn.bbrs-icon-btn:hover,
.bbrs-receipt-app button.bbrs-open-pdf-btn.bbrs-icon-btn:focus-visible {
    border-color: var(--bbrs-action-red);
    color: var(--bbrs-action-red); }
.theme-dark .bb-invoice-app button.bb-open-pdf-btn.bb-icon-btn,
.bb-invoice-app.theme-dark button.bb-open-pdf-btn.bb-icon-btn,
.theme-dark .bbrs-receipt-app button.bbrs-open-pdf-btn.bbrs-icon-btn,
.bbrs-receipt-app.theme-dark button.bbrs-open-pdf-btn.bbrs-icon-btn {
    background: transparent; }
.theme-dark .bb-invoice-app button.bb-open-pdf-btn.bb-icon-btn,
.bb-invoice-app.theme-dark button.bb-open-pdf-btn.bb-icon-btn {
    border-color: var(--bb-action-red);
    color: var(--bb-action-red); }
.theme-dark .bbrs-receipt-app button.bbrs-open-pdf-btn.bbrs-icon-btn,
.bbrs-receipt-app.theme-dark button.bbrs-open-pdf-btn.bbrs-icon-btn {
    border-color: var(--bbrs-action-red);
    color: var(--bbrs-action-red); }
.theme-dark .bb-invoice-app button.bb-open-pdf-btn.bb-icon-btn:hover,
.theme-dark .bb-invoice-app button.bb-open-pdf-btn.bb-icon-btn:focus-visible,
.bb-invoice-app.theme-dark button.bb-open-pdf-btn.bb-icon-btn:hover,
.bb-invoice-app.theme-dark button.bb-open-pdf-btn.bb-icon-btn:focus-visible,
.theme-dark .bbrs-receipt-app button.bbrs-open-pdf-btn.bbrs-icon-btn:hover,
.theme-dark .bbrs-receipt-app button.bbrs-open-pdf-btn.bbrs-icon-btn:focus-visible,
.bbrs-receipt-app.theme-dark button.bbrs-open-pdf-btn.bbrs-icon-btn:hover,
.bbrs-receipt-app.theme-dark button.bbrs-open-pdf-btn.bbrs-icon-btn:focus-visible {
    background: rgba(255, 68, 68, .12); }
.theme-dark .bb-invoice-app button.bb-open-pdf-btn.bb-icon-btn:hover,
.theme-dark .bb-invoice-app button.bb-open-pdf-btn.bb-icon-btn:focus-visible,
.bb-invoice-app.theme-dark button.bb-open-pdf-btn.bb-icon-btn:hover,
.bb-invoice-app.theme-dark button.bb-open-pdf-btn.bb-icon-btn:focus-visible {
    border-color: var(--bb-action-red);
    color: var(--bb-action-red); }
.theme-dark .bbrs-receipt-app button.bbrs-open-pdf-btn.bbrs-icon-btn:hover,
.theme-dark .bbrs-receipt-app button.bbrs-open-pdf-btn.bbrs-icon-btn:focus-visible,
.bbrs-receipt-app.theme-dark button.bbrs-open-pdf-btn.bbrs-icon-btn:hover,
.bbrs-receipt-app.theme-dark button.bbrs-open-pdf-btn.bbrs-icon-btn:focus-visible {
    border-color: var(--bbrs-action-red);
    color: var(--bbrs-action-red); }
@media (max-width: 600px) {
 .bb-invoice-app .bb-studio-title,
.bbrs-receipt-app .bbrs-studio-title {
        font-size: 14px;
        line-height: 18px;
        font-weight: 700; } }
.bb-invoice-app .bb-canvas-toolbar,
.bbrs-receipt-app .bbrs-canvas-toolbar {
    background: var(--bg-very-light,var(--bb-theme-surface,var(--bg-very-light,rgba(255, 255, 255, .5)))); }
.theme-dark .bb-invoice-app .bb-canvas-toolbar,
.bb-invoice-app.theme-dark .bb-canvas-toolbar,
.theme-dark .bbrs-receipt-app .bbrs-canvas-toolbar,
.bbrs-receipt-app.theme-dark .bbrs-canvas-toolbar {
    background: var(--bg-very-light,var(--bb-theme-surface,var(--bg-very-light,rgba(24, 24, 26, .6)))); }
.bb-invoice-app .bb-canvas-toolbar button[type="button"],
.bbrs-receipt-app .bbrs-canvas-toolbar button[type="button"] {
    touch-action: pan-y;
    -webkit-user-drag: none; }
.bb-invoice-app .bb-toolbar-scroll.is-dragging,
.bb-invoice-app .bb-toolbar-scroll.is-dragging button[type="button"],
.bbrs-receipt-app .bbrs-toolbar-scroll.is-dragging,
.bbrs-receipt-app .bbrs-toolbar-scroll.is-dragging button[type="button"] {
    cursor: grabbing; }
.bb-invoice-app .bb-studio-title,
.bbrs-receipt-app .bbrs-studio-title {
    color: #ff4444; }
.theme-dark .bb-invoice-app .bb-studio-title,
.bb-invoice-app.theme-dark .bb-studio-title,
.theme-dark .bbrs-receipt-app .bbrs-studio-title,
.bbrs-receipt-app.theme-dark .bbrs-studio-title {
    color: #ff4444; }
.bb-invoice-app .bb-canvas-toolbar button.pdf-export-btn.bb-toolbar-export,
.bbrs-receipt-app .bbrs-canvas-toolbar button.pdf-export-btn.bbrs-toolbar-export {
    letter-spacing: -.016em; }
.theme-dark .bb-invoice-app .bb-canvas-grid,
.bb-invoice-app.theme-dark .bb-canvas-grid,
.theme-dark .bbrs-receipt-app .bbrs-canvas-grid,
.bbrs-receipt-app.theme-dark .bbrs-canvas-grid {
    opacity: .72;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, .24) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, .24) 1px, transparent 1px),
        linear-gradient(to right, rgba(255, 255, 255, .09) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, .09) 1px, transparent 1px); }
.bb-invoice-app .bb-toolbar-scroll,
.bbrs-receipt-app .bbrs-toolbar-scroll {
    justify-content: safe center; }
.bb-invoice-app .bb-toolbar-scroll,
.bbrs-receipt-app .bbrs-toolbar-scroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
    scrollbar-gutter: auto; }
.bb-invoice-app .bb-toolbar-scroll::-webkit-scrollbar,
.bbrs-receipt-app .bbrs-toolbar-scroll::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0; }
.bb-invoice-app .bb-toolbar-scroll-shell .bb-toolbar-scroll,
.bbrs-receipt-app .bbrs-toolbar-scroll-shell .bbrs-toolbar-scroll {
    width: 100%;
    min-width: 0;
    grid-area: auto; }
.bb-invoice-app .bb-toolbar-scroll-arrow,
.bbrs-receipt-app .bbrs-toolbar-scroll-arrow {
    position: absolute;
    top: 50%;
    z-index: 8;
    width: 24px;
    min-width: 24px;
    height: 24px;
    min-height: 24px;
    margin: 0;
    padding: 2px;
    transform: translateY(-50%);
    border: 1px solid rgba(0, 0, 0, .14);
    border-radius: 5px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 1px 5px rgba(0, 0, 0, .12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer; }
.bb-invoice-app .bb-toolbar-scroll-arrow[hidden],
.bbrs-receipt-app .bbrs-toolbar-scroll-arrow[hidden] {
    display: none !important; }
.bb-invoice-app .bb-toolbar-scroll-left,
.bbrs-receipt-app .bbrs-toolbar-scroll-left {
    left: 1px; }
.bb-invoice-app .bb-toolbar-scroll-right,
.bbrs-receipt-app .bbrs-toolbar-scroll-right {
    right: 1px; }
.theme-dark .bb-invoice-app .bb-toolbar-scroll-arrow,
.bb-invoice-app.theme-dark .bb-toolbar-scroll-arrow,
.theme-dark .bbrs-receipt-app .bbrs-toolbar-scroll-arrow,
.bbrs-receipt-app.theme-dark .bbrs-toolbar-scroll-arrow {
    border-color: rgba(255, 255, 255, .18);
    background: rgba(24, 24, 26, .92);
    color: rgba(255, 255, 255, .92); }
@media (min-width: 601px) {
 .bb-invoice-app .bb-toolbar-scroll-shell,
.bbrs-receipt-app .bbrs-toolbar-scroll-shell {
        grid-area: studio-tools; }
 .bb-invoice-app .bb-toolbar-scroll-shell .bb-toolbar-scroll,
.bbrs-receipt-app .bbrs-toolbar-scroll-shell .bbrs-toolbar-scroll {
        grid-area: auto; } }
@media (max-width: 600px) {
 .bb-invoice-app .bb-toolbar-scroll-shell,
.bbrs-receipt-app .bbrs-toolbar-scroll-shell {
        width: 100%; } }
.bb-invoice-app .bb-toolbar-scroll-shell,
.bbrs-receipt-app .bbrs-toolbar-scroll-shell {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    justify-self: stretch;
    overflow: visible; }
.bb-invoice-app .bb-toolbar-scroll-shell > .bb-toolbar-scroll,
.bbrs-receipt-app .bbrs-toolbar-scroll-shell > .bbrs-toolbar-scroll {
    position: relative;
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: 100%; }
.bb-invoice-app .bb-toolbar-scroll-shell > .bb-toolbar-scroll-arrow,
.bbrs-receipt-app .bbrs-toolbar-scroll-shell > .bbrs-toolbar-scroll-arrow {
    position: absolute;
    top: 50%;
    bottom: auto;
    z-index: 20;
    margin: 0;
    transform: translateY(-50%); }
.bb-invoice-app .bb-toolbar-scroll-shell > .bb-toolbar-scroll-left,
.bbrs-receipt-app .bbrs-toolbar-scroll-shell > .bbrs-toolbar-scroll-left {
    left: 0;
    right: auto; }
.bb-invoice-app .bb-toolbar-scroll-shell > .bb-toolbar-scroll-right,
.bbrs-receipt-app .bbrs-toolbar-scroll-shell > .bbrs-toolbar-scroll-right {
    right: 0;
    left: auto; }
.bb-invoice-app .bb-toolbar-scroll-shell > .bb-toolbar-scroll,
.bbrs-receipt-app .bbrs-toolbar-scroll-shell > .bbrs-toolbar-scroll {
    box-sizing: border-box;
    height: 32px;
    min-height: 32px;
    max-height: 32px; }
.bb-invoice-app button.bb-tool-btn.bb-icon-btn.bb-toolbar-scroll-arrow,
.bbrs-receipt-app button.bbrs-tool-btn.bbrs-icon-btn.bbrs-toolbar-scroll-arrow {
    border-color: var(--border-global,var(--bb-theme-border,var(--border-color,rgba(56, 124, 192, .42))));
    background: var(--bg-very-light,var(--bb-theme-surface,var(--bg-very-light,rgba(255, 255, 255, .99))));
    color: var(--color-global,var(--bb-theme-text,var(--text-color,#387cc0)));
    box-shadow: 0 2px 7px rgba(0, 0, 0, .16); }
.bb-invoice-app button.bb-tool-btn.bb-icon-btn.bb-toolbar-scroll-arrow:hover,
.bbrs-receipt-app button.bbrs-tool-btn.bbrs-icon-btn.bbrs-toolbar-scroll-arrow:hover {
    border-color: var(--border-global,var(--bb-theme-border,var(--border-color,rgba(56, 124, 192, .58))));
    background: var(--bg-hover,var(--bb-theme-hover,var(--bg-light,#f4f9ff)));
    color: var(--color-global,var(--bb-theme-text,var(--text-color,#2f6fae))); }
.theme-dark .bb-invoice-app button.bb-tool-btn.bb-icon-btn.bb-toolbar-scroll-arrow,
.bb-invoice-app.theme-dark button.bb-tool-btn.bb-icon-btn.bb-toolbar-scroll-arrow,
.theme-dark .bbrs-receipt-app button.bbrs-tool-btn.bbrs-icon-btn.bbrs-toolbar-scroll-arrow,
.bbrs-receipt-app.theme-dark button.bbrs-tool-btn.bbrs-icon-btn.bbrs-toolbar-scroll-arrow {
    border-color: var(--border-global,var(--bb-theme-border,var(--border-color,rgba(132, 190, 255, .50))));
    background: var(--bg-very-light,var(--bb-theme-surface,var(--bg-very-light,rgba(48, 48, 52, .98))));
    color: var(--color-global,var(--bb-theme-text,var(--text-color,#a8d2ff)));
    box-shadow: 0 2px 8px rgba(0, 0, 0, .30); }
.theme-dark .bb-invoice-app button.bb-tool-btn.bb-icon-btn.bb-toolbar-scroll-arrow:hover,
.bb-invoice-app.theme-dark button.bb-tool-btn.bb-icon-btn.bb-toolbar-scroll-arrow:hover,
.theme-dark .bbrs-receipt-app button.bbrs-tool-btn.bbrs-icon-btn.bbrs-toolbar-scroll-arrow:hover,
.bbrs-receipt-app.theme-dark button.bbrs-tool-btn.bbrs-icon-btn.bbrs-toolbar-scroll-arrow:hover {
    border-color: var(--border-global,var(--bb-theme-border,var(--border-color,rgba(153, 202, 255, .68))));
    background: var(--bg-hover,var(--bb-theme-hover,var(--bg-light,rgba(60, 60, 66, .99))));
    color: var(--color-global,var(--bb-theme-text,var(--text-color,#c4e1ff))); }
@media (max-width: 600px) {
 .bb-invoice-app .bb-toolbar-scroll-shell > .bb-toolbar-scroll,
.bbrs-receipt-app .bbrs-toolbar-scroll-shell > .bbrs-toolbar-scroll {
        height: 24px;
        min-height: 24px;
        max-height: 24px; } }
.bb-invoice-app.bb-is-booting,
.bb-invoice-app.bb-is-ready,
.bbrs-receipt-app.bbrs-is-booting,
.bbrs-receipt-app.bbrs-is-ready {
    display: grid;
    grid-template-columns: minmax(0, 1fr); }
.bb-invoice-app.bb-is-booting > .bb-canvas-toolbar,
.bb-invoice-app.bb-is-ready > .bb-canvas-toolbar,
.bb-invoice-app.bb-is-booting > .bb-canvas-shell,
.bb-invoice-app.bb-is-ready > .bb-canvas-shell,
.bbrs-receipt-app.bbrs-is-booting > .bbrs-canvas-toolbar,
.bbrs-receipt-app.bbrs-is-ready > .bbrs-canvas-toolbar,
.bbrs-receipt-app.bbrs-is-booting > .bbrs-canvas-shell,
.bbrs-receipt-app.bbrs-is-ready > .bbrs-canvas-shell {
    grid-column: 1; }
.bb-invoice-app.bb-is-booting > .bb-canvas-toolbar,
.bb-invoice-app.bb-is-ready > .bb-canvas-toolbar,
.bbrs-receipt-app.bbrs-is-booting > .bbrs-canvas-toolbar,
.bbrs-receipt-app.bbrs-is-ready > .bbrs-canvas-toolbar {
    position: sticky;
    top: 8px;
    
    z-index: 10020;
    background: var(--bg-very-light,var(--bb-theme-surface,var(--bg-very-light,rgba(255, 255, 255, .50))));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px); }
.theme-dark .bb-invoice-app.bb-is-booting > .bb-canvas-toolbar,
.theme-dark .bb-invoice-app.bb-is-ready > .bb-canvas-toolbar,
.bb-invoice-app.theme-dark.bb-is-booting > .bb-canvas-toolbar,
.bb-invoice-app.theme-dark.bb-is-ready > .bb-canvas-toolbar,
.theme-dark .bbrs-receipt-app.bbrs-is-booting > .bbrs-canvas-toolbar,
.theme-dark .bbrs-receipt-app.bbrs-is-ready > .bbrs-canvas-toolbar,
.bbrs-receipt-app.theme-dark.bbrs-is-booting > .bbrs-canvas-toolbar,
.bbrs-receipt-app.theme-dark.bbrs-is-ready > .bbrs-canvas-toolbar {
    background: var(--bg-very-light,var(--bb-theme-surface,var(--bg-very-light,rgba(24, 24, 26, .60)))); }
.bb-invoice-app.bb-is-booting > .bb-canvas-toolbar,
.bb-invoice-app.bb-is-ready > .bb-canvas-toolbar,
.bbrs-receipt-app.bbrs-is-booting > .bbrs-canvas-toolbar,
.bbrs-receipt-app.bbrs-is-ready > .bbrs-canvas-toolbar {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    top: max(0px, env(safe-area-inset-top));
    align-self: start;
    justify-self: stretch; }
body.admin-bar .bb-invoice-app.bb-is-booting > .bb-canvas-toolbar,
body.admin-bar .bb-invoice-app.bb-is-ready > .bb-canvas-toolbar,
body.admin-bar .bbrs-receipt-app.bbrs-is-booting > .bbrs-canvas-toolbar,
body.admin-bar .bbrs-receipt-app.bbrs-is-ready > .bbrs-canvas-toolbar {
    top: calc(32px + env(safe-area-inset-top)); }
@media (max-width: 782px) {
 body.admin-bar .bb-invoice-app.bb-is-booting > .bb-canvas-toolbar,
    body.admin-bar .bb-invoice-app.bb-is-ready > .bb-canvas-toolbar,
body.admin-bar .bbrs-receipt-app.bbrs-is-booting > .bbrs-canvas-toolbar,
    body.admin-bar .bbrs-receipt-app.bbrs-is-ready > .bbrs-canvas-toolbar {
        top: calc(46px + env(safe-area-inset-top)); } }
.bb-invoice-app .qr-wrapper,
.bbrs-receipt-app .qr-wrapper {width:64px;height:70px; }
.bb-invoice-app .invoice-qr,
.bbrs-receipt-app .receipt-qr {width:64px;height:64px; }
.bb-invoice-app .qr-center-link,
.bbrs-receipt-app .qr-center-link {width:64px;height:64px;max-width:64px; }
.bb-invoice-app .qr-bottom-link,
.bbrs-receipt-app .qr-bottom-link {top:65px;font-size:5px;line-height:6px; }
.bb-invoice-app .bbdm-client-logo,
.bbrs-receipt-app .bbdm-client-logo {max-width:48px;max-height:22px;object-fit:contain; }
.bb-invoice-app.bb-is-booting > .bbdm-editor,
.bb-invoice-app.bb-is-ready > .bbdm-editor,
.bbrs-receipt-app.bbrs-is-booting > .bbdm-editor,
.bbrs-receipt-app.bbrs-is-ready > .bbdm-editor {grid-column:1;grid-row:1;min-width:0;align-self:start;margin-bottom:12px; }
.bb-invoice-app.bb-is-booting > .bb-canvas-toolbar,
.bb-invoice-app.bb-is-ready > .bb-canvas-toolbar,
.bb-invoice-app.bb-is-booting > .bb-canvas-shell,
.bb-invoice-app.bb-is-ready > .bb-canvas-shell,
.bbrs-receipt-app.bbrs-is-booting > .bbrs-canvas-toolbar,
.bbrs-receipt-app.bbrs-is-ready > .bbrs-canvas-toolbar,
.bbrs-receipt-app.bbrs-is-booting > .bbrs-canvas-shell,
.bbrs-receipt-app.bbrs-is-ready > .bbrs-canvas-shell {grid-row:2; }
.bb-invoice-app.bbdm-init-failed .bb-canvas-world,
.bbrs-receipt-app.bbdm-init-failed .bbrs-canvas-world {visibility:visible;opacity:1; }
.bb-invoice-app.bb-is-booting > .bb-canvas-shell,.bb-invoice-app.bb-is-ready > .bb-canvas-shell,
.bbrs-receipt-app.bbrs-is-booting > .bbrs-canvas-shell,.bbrs-receipt-app.bbrs-is-ready > .bbrs-canvas-shell {grid-row:3; }
.bb-invoice-app .bbdm-discount-line,
.bbrs-receipt-app .bbdm-discount-line {text-align:right;font-size:9px;line-height:12px;color:var(--gray);margin-top:3px; }
.bb-invoice-app .bbdm-discount-line:empty,.bb-invoice-app .bbdm-document-note:empty,.bb-invoice-app .bbdm-verification-code:empty,
.bbrs-receipt-app .bbdm-discount-line:empty,.bbrs-receipt-app .bbdm-document-note:empty,.bbrs-receipt-app .bbdm-verification-code:empty {display:none; }
.bb-invoice-app .qr-wrapper,
.bbrs-receipt-app .qr-wrapper {justify-self:end; }
.bb-invoice-app .bbdm-document-note,
.bbrs-receipt-app .bbdm-document-note {overflow-wrap:anywhere; }
.bb-invoice-app .invoice-header,.bb-invoice-app .receipt-header,
.bbrs-receipt-app .invoice-header,.bbrs-receipt-app .receipt-header {grid-template-columns:64px minmax(0,1fr) 64px; }
.bb-invoice-app .bbdm-qr-placeholder,
.bbrs-receipt-app .bbdm-qr-placeholder {position:absolute;inset:0 0 auto;width:64px;height:64px;display:grid;place-content:center;text-align:center;font-size:8px;line-height:11px;color:#999;border:1px dashed #ccc;border-radius:3px;pointer-events:none; }
.bb-invoice-app .bbdm-qr-placeholder[hidden],
.bbrs-receipt-app .bbdm-qr-placeholder[hidden] {display:none!important; }
.bb-invoice-app .invoice-meta .meta-row,
.bbrs-receipt-app .receipt-meta .meta-row {grid-template-columns:64px minmax(0,1fr); }
.bb-invoice-app .invoice-meta [data-bb-invoice-number],
.bbrs-receipt-app .receipt-meta [data-bbrs-receipt-number] {min-width:0;overflow-wrap:anywhere;word-break:normal;font-variant-numeric:tabular-nums; }
