:root{--ui-font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;--value-size-desktop: 28px;--value-size-mobile: 22px;--label-size: 12px;--muted: #6b7280;--positive: #16a34a;--negative: #dc2626;--neutral: #f59e0b}*{box-sizing:border-box;margin:0;padding:0}@media(min-width:1024px){body{zoom:1.15}}html,body{height:100%}body{font-family:var(--ui-font);font-size:15px;-webkit-font-smoothing:antialiased;color:#111827}.stat{display:flex;flex-direction:column;gap:8px;align-items:flex-start;padding:12px}.stat .label{font-size:var(--label-size);font-weight:600;color:var(--muted);letter-spacing:.02em;text-transform:uppercase;white-space:nowrap}.stat .value{font-variant-numeric:tabular-nums;font-weight:700;line-height:1;transform:none!important;font-size:var(--value-size-desktop)!important;transition:font-size .12s ease,transform .12s ease;color:inherit;display:inline-block;will-change:transform,font-size}@media(max-width:720px){.stat .value{font-size:var(--value-size-mobile)!important}}.stat .value.positive{color:var(--positive)}.stat .value.negative{color:var(--negative)}.stat .value.neutral{color:var(--neutral)}.value.negative,.value.negative *{transform:none!important;transform-origin:initial!important;font-size:inherit!important;line-height:inherit!important}[class*=value]{transform:none!important}.stat .label,.stat .value{max-width:100%;overflow:hidden;text-overflow:ellipsis}.stat.row{display:flex;justify-content:space-between;align-items:center}.no-callout{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}@keyframes fadeInUp{0%{opacity:0;transform:translate(-50%) translateY(8px)}to{opacity:1;transform:translate(-50%) translateY(0)}}button:focus-visible{outline:2px solid #7650b5;outline-offset:3px}.bb-app{min-height:100vh;background:var(--bb-bg);color:var(--bb-text);font-family:inherit}.bb-app *{box-sizing:border-box}.bb-header{background:var(--bb-header);border-bottom:1px solid var(--bb-border)}.bb-header-inner{max-width:1350px;margin:auto;padding:14px 24px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px}.bb-brand{display:flex;align-items:center;gap:12px}.bb-brand img{width:40px;height:40px;border-radius:10px}.bb-brand>span:nth-child(2){color:var(--bb-brand);font-family:Georgia,serif;font-size:27px;font-weight:700}.bb-context{border:1px solid var(--bb-border);border-radius:8px;padding:7px 10px;font-size:11px;letter-spacing:.07em;font-weight:800;background:var(--bb-card)}.bb-switch{display:flex;align-items:center;gap:7px}.bb-switch button,.bb-refresh{border:1px solid var(--bb-border);background:var(--bb-card);color:var(--bb-text);padding:9px 13px;border-radius:9px;font:inherit;font-size:13px;cursor:pointer}.bb-switch .bb-selected{background:var(--bb-purple);color:#fff;font-weight:700}.bb-switch .bb-signout{color:var(--bb-red)}.bb-switch{display:flex;align-items:center;gap:6px}.bb-switch button:not(.bb-signout){padding:9px 13px;border-radius:9px;border:1px solid var(--bb-border);background:var(--bb-card);color:var(--bb-text);font-weight:600;font-size:13px;cursor:pointer}.bb-switch button.bb-selected{background:var(--bb-purple);border-color:var(--bb-purple);color:#fff;font-weight:700;cursor:default}.bb-switch button.bb-selected:disabled{opacity:1}@media(max-width:750px){.bb-switch button:not(.bb-signout){padding:7px 9px;font-size:12px}}.bb-main{max-width:1150px;margin:auto;padding:26px 18px 60px}.bb-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:20px}.bb-eyebrow{color:var(--bb-purple);font-size:11px;font-weight:800;letter-spacing:.11em}.bb-heading h1{font-size:29px;margin:6px 0}.bb-heading p{margin:0;color:var(--bb-muted);font-size:13px}.bb-bank{background:linear-gradient(125deg,#39235e,#7040a5 75%,#9164b8);color:#fff;border-radius:16px;padding:25px 29px;margin-bottom:18px;box-shadow:0 7px 25px #00000019}.bb-bank-top,.bb-bank-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px}.bb-bank-top{font-weight:800;letter-spacing:.075em}.bb-connection{color:#e5f7d9}.bb-bank-caption{margin-top:25px;font-size:13px;opacity:.8}.bb-bank-amount{font-size:clamp(34px,5vw,48px);font-weight:800;letter-spacing:-.05em;margin:5px 0 23px}.bb-bank-footer{opacity:.9}.bb-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.bb-stat{background:var(--bb-card);border:1px solid var(--bb-border);border-radius:14px;padding:20px 18px;min-width:0}.bb-stat-label{color:var(--bb-muted);font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.bb-stat-value{font-size:clamp(23px,2.7vw,32px);font-weight:800;letter-spacing:-.05em;margin:11px 0;font-variant-numeric:tabular-nums}.bb-stat-sub{font-size:11px;color:var(--bb-muted)}.bb-green .bb-stat-value,.bb-positive{color:var(--bb-green)}.bb-red .bb-stat-value,.bb-negative{color:var(--bb-red)}.bb-blue .bb-stat-value{color:var(--bb-blue)}.bb-amber .bb-stat-value{color:var(--bb-amber)}.bb-panel{border:1px solid var(--bb-border);border-radius:14px;background:var(--bb-card);overflow:hidden;margin-bottom:17px}.bb-panel-header{padding:16px 20px;background:var(--bb-header);border-bottom:1px solid var(--bb-border);display:flex;align-items:center;justify-content:space-between;gap:12px}.bb-panel h2{font-size:16px;margin:0;font-weight:800}.bb-panel-header p{font-size:12px;margin:5px 0 0;color:var(--bb-muted)}.bb-movement{padding:23px 20px;display:grid;grid-template-columns:1fr 1fr;gap:26px}.bb-movement-line{display:grid;grid-template-columns:1fr auto;gap:12px;font-size:13px}.bb-track{grid-column:1/-1;height:11px;border-radius:99px;background:var(--bb-row);overflow:hidden}.bb-fill-in,.bb-fill-out{height:100%;border-radius:99px}.bb-fill-in{background:var(--bb-green)}.bb-fill-out{background:var(--bb-red)}.bb-net{border-top:1px solid var(--bb-border);padding:14px 20px;display:flex;align-items:center;justify-content:space-between}.bb-net strong{font-size:21px}.bb-footnote{color:var(--bb-muted);font-size:11px;line-height:1.6;margin:0;padding:10px 20px 15px}.bb-invoice-status{display:flex;gap:8px;flex-wrap:wrap;padding:15px 20px}.bb-pill{display:inline-block;border-radius:99px;padding:4px 9px;font-size:11px;font-weight:750;white-space:nowrap;background:var(--bb-row);color:var(--bb-text)}.bb-pill-red,.bb-status-overdue{background:#fce8e8;color:#a92323}.bb-pill-green,.bb-status-paid{background:#dff3e6;color:#176c3e}.bb-pill-purple,.bb-status-approved{background:#eee5ff;color:#6634a0}.bb-status-draft{background:#fff0cc;color:#845100}.bb-status-issued{background:#e1eefe;color:#235eab}.bb-table-scroll{overflow-x:auto}.bb-table{width:100%;border-collapse:collapse;text-align:left}.bb-table th{padding:12px 18px;border-bottom:1px solid var(--bb-border);color:var(--bb-muted);font-size:11px;letter-spacing:.04em;text-transform:uppercase}.bb-table td{padding:13px 18px;border-bottom:1px solid var(--bb-row);font-size:13px;vertical-align:middle}.bb-table tr:last-child td{border-bottom:0}.bb-table strong{font-weight:700}.bb-table small{display:block;color:var(--bb-muted);font-size:11px;margin-top:4px}.bb-right{text-align:right;white-space:nowrap}.bb-table a{color:var(--bb-purple);font-weight:700}.bb-empty{padding:16px 20px}.bb-error{padding:8px 20px;color:var(--bb-red)}@media(max-width:750px){.bb-header-inner{padding:12px}.bb-main{padding:18px 11px 40px}.bb-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.bb-stat{padding:16px 12px}.bb-bank{padding:21px}.bb-movement{grid-template-columns:1fr;gap:18px}.bb-table th,.bb-table td{padding:11px 10px}.bb-brand>span:nth-child(2){font-size:23px}.bb-header-inner{justify-content:center}}.bb-header-inner{justify-content:flex-start}.bb-switch{margin-left:0}.bb-switch .bb-signout{position:absolute;right:24px}.bb-header-inner{position:relative;padding-right:125px}@media(max-width:750px){.bb-header-inner{justify-content:flex-start;padding-right:12px;padding-bottom:55px}.bb-switch .bb-signout{right:12px;bottom:10px}}.bb-header-inner{max-width:none;width:100%;margin:0;padding:0 36px;min-height:64px;display:flex;justify-content:space-between;align-items:center;flex-wrap:nowrap;gap:12px;position:relative}.bb-brand{display:flex;align-items:center;gap:12px;min-width:0}.bb-brand img{width:40px;height:40px;object-fit:contain;flex-shrink:0}.bb-brand>span:nth-child(2){font-size:27px}.bb-switch{margin-left:0;display:flex;align-items:center;gap:6px}.bb-switch .bb-selected{background:var(--bb-purple);border-color:var(--bb-purple);color:#fff}.bb-account{position:relative;margin-left:auto;flex-shrink:0}.bb-account-button{display:flex;align-items:center;gap:7px;padding:7px 14px;border:0;border-radius:20px;background:var(--bb-row);color:var(--bb-text);font:inherit;font-size:14px;cursor:pointer}.bb-account-backdrop{position:fixed;inset:0;z-index:98}.bb-account-menu{position:absolute;top:calc(100% + 7px);right:0;z-index:99;width:230px;padding:6px;border-radius:12px;border:1px solid var(--bb-border);background:var(--bb-card);color:var(--bb-text);box-shadow:0 6px 24px #0003}.bb-account-menu>button{display:block;width:100%;text-align:left;border:0;border-radius:8px;background:transparent;color:var(--bb-text);padding:10px;font:inherit;font-size:13px;cursor:pointer}.bb-account-menu>button:hover{background:var(--bb-row)}.bb-account-signout{color:var(--bb-red)!important}.bb-account-identity,.bb-account-theme{padding:9px 10px;border-bottom:1px solid var(--bb-border)}.bb-account-identity small,.bb-account-theme small{display:block;color:var(--bb-muted);font-size:10px;margin-bottom:6px}.bb-account-identity strong{font-size:14px}.bb-account-theme>div{display:flex;gap:3px}.bb-account-theme button{flex:1;padding:6px 3px;font-size:11px;border:0;border-radius:7px;background:transparent;color:var(--bb-muted);cursor:pointer}.bb-account-theme .bb-theme-active{background:var(--bb-row);color:var(--bb-text);font-weight:700}@media(max-width:750px){.bb-header-inner{padding:10px 16px;min-height:64px;justify-content:space-between;flex-wrap:wrap}.bb-brand{gap:7px}.bb-brand img{width:34px;height:34px}.bb-brand>span:nth-child(2){font-size:24px}.bb-account-button{padding:7px 10px}.bb-account-name{display:none}}@media(max-width:420px){.bb-header-inner{gap:8px}}.bb-table a.bb-invoice-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;border-radius:8px;background:var(--bb-purple);border:1px solid var(--bb-purple);color:#fff;font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap;transition:filter .15s ease,transform .15s ease}.bb-table a.bb-invoice-action:hover{filter:brightness(1.12);transform:translateY(-1px)}.bb-table a.bb-invoice-action:focus-visible{outline:3px solid var(--bb-blue);outline-offset:3px}.bb-dd-mobile{display:none}@media(max-width:750px){.bb-dd-desktop{display:none}.bb-dd-mobile{display:grid;gap:10px;padding:12px;min-width:0}.bb-dd-card{min-width:0;padding:14px;border:1px solid var(--bb-border);border-radius:12px;background:var(--bb-card)}.bb-dd-company{display:block;font-size:14px;line-height:1.4;margin-bottom:12px;overflow-wrap:anywhere}.bb-dd-fields{display:grid;gap:10px;margin:0}.bb-dd-field{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.bb-dd-field dt{color:var(--bb-muted);font-size:12px;flex:0 0 auto}.bb-dd-field dd{margin:0;min-width:0;text-align:right;font-size:13px;font-weight:600;overflow-wrap:anywhere}}@media(max-width:750px){.bb-invoice-mobile-cards{overflow:visible;width:100%;min-width:0}.bb-invoice-mobile-cards .bb-table,.bb-invoice-mobile-cards .bb-table tbody{display:block;width:100%;min-width:0}.bb-invoice-mobile-cards .bb-table thead{display:none}.bb-invoice-mobile-cards .bb-table tbody{padding:12px;box-sizing:border-box}.bb-invoice-mobile-cards .bb-table tbody tr{display:block;min-width:0;margin-bottom:12px;padding:14px;border:1px solid var(--bb-border);border-radius:12px;background:var(--bb-card);box-sizing:border-box}.bb-invoice-mobile-cards .bb-table tbody tr:last-child{margin-bottom:0}.bb-invoice-mobile-cards .bb-table tbody td{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;width:100%;min-width:0;padding:9px 0;border-bottom:1px solid var(--bb-row);box-sizing:border-box;text-align:right;font-size:13px;overflow-wrap:anywhere;white-space:normal}.bb-invoice-mobile-cards .bb-table td:first-child{display:block;text-align:left;font-size:14px;padding:0 0 12px;margin-bottom:3px;font-weight:600}.bb-invoice-mobile-cards .bb-table td:before{color:var(--bb-muted);font-size:12px;font-weight:500;text-align:left;flex:0 0 auto}.bb-invoice-mobile-cards .bb-table td:nth-child(2):before{content:"Status"}.bb-invoice-mobile-cards .bb-table td:nth-child(3):before{content:"Due"}.bb-invoice-mobile-cards .bb-table td:nth-child(4):before{content:"Amount"}.bb-invoice-mobile-cards .bb-table td:nth-child(5):before{content:"Actions"}.bb-invoice-mobile-cards .bb-table td:last-child{border-bottom:0;padding-bottom:0}.bb-invoice-mobile-cards .bb-invoice-action{max-width:100%;white-space:normal;text-align:center}.bb-invoice-mobile-cards .bb-table td[colspan]{display:block;text-align:left}.bb-invoice-mobile-cards .bb-table td[colspan]:before{content:none}}
