/* Dedicated mobile surface. Scoped resets prevent desktop forms from imposing widths. */
#appScreen #billingWorkspace .bm-app{--bm-ink:#0D1B3D;--bm-muted:#69758e;--bm-line:#e3e8f2;--bm-brand:#1E3A8A;--bm-bg:#f6f8fd;box-sizing:border-box;background:var(--bm-bg);color:var(--bm-ink);width:100%;max-width:640px;min-width:0;margin:0 auto;padding:0 0 calc(104px + env(safe-area-inset-bottom));border:0;border-radius:24px;font-family:Inter,system-ui,sans-serif;isolation:isolate;min-height:calc(100dvh - 100px)}
#appScreen #billingWorkspace .bm-app *{box-sizing:border-box;min-width:0}
#appScreen #billingWorkspace .bm-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:20px clamp(16px,5vw,28px);background:transparent;border:0}
#appScreen #billingWorkspace .bm-top small{display:block;font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--bm-brand);margin-bottom:4px}
#appScreen #billingWorkspace .bm-top b{font-size:19px;letter-spacing:-.035em}
#appScreen #billingWorkspace .bm-body{display:block;width:100%;max-width:none;margin:0;padding:8px clamp(16px,5vw,28px) 28px}
#appScreen #billingWorkspace .bm-app h2{font-size:clamp(24px,6.6vw,30px)!important;line-height:1.18!important;letter-spacing:-.045em!important;margin:0 0 16px!important;color:var(--bm-ink);text-wrap:balance}
#appScreen #billingWorkspace .bm-app h3{font-size:17px!important;margin:28px 0 14px!important;color:var(--bm-ink)}
#appScreen #billingWorkspace .bm-app p{line-height:1.65;font-size:14px;margin:8px 0 16px;overflow-wrap:anywhere}
#appScreen #billingWorkspace :is(.bm-hint,.bm-empty){color:var(--bm-muted)}
#appScreen #billingWorkspace .bm-app button,#appScreen #billingWorkspace .bm-app a{font:600 14px/1.4 Inter,system-ui,sans-serif!important;text-transform:none!important;letter-spacing:normal!important;white-space:normal!important;min-height:48px!important;height:auto!important;width:auto;max-width:none!important;border:1px solid var(--bm-line);background:#fff;color:var(--bm-ink);border-radius:14px;padding:13px 16px;margin:0;box-shadow:none;text-decoration:none;cursor:pointer;transition:background .15s,box-shadow .15s;touch-action:manipulation}
#appScreen #billingWorkspace .bm-app button:disabled{opacity:.5;cursor:wait}
#appScreen #billingWorkspace .bm-app :is(button,a):focus-visible{outline:3px solid #F28705;outline-offset:3px}
#appScreen #billingWorkspace .bm-app button.bm-primary{background:var(--bm-brand)!important;color:#fff!important;border-color:var(--bm-brand)!important;box-shadow:0 5px 14px #1E3A8A24}
#appScreen #billingWorkspace .bm-app button.bm-email{background:#FDECD3!important;color:#0D1B3D!important;border:1px solid #F28705!important}
#appScreen #billingWorkspace .bm-top button{font-size:11px!important;min-height:38px!important;padding:8px 10px;background:#edf0fa;border:0;color:#4e5d80}
#appScreen #billingWorkspace .bm-app .bm-row{display:flex;width:100%!important;align-items:center;justify-content:space-between;gap:14px;text-align:left;padding:18px;margin:10px 0;background:#fff;border:1px solid var(--bm-line);box-shadow:0 3px 10px #1b346404}
#appScreen #billingWorkspace .bm-row b{display:block;font-size:15px;line-height:1.45}
#appScreen #billingWorkspace .bm-row small{display:block;font-size:12px;font-weight:400;color:var(--bm-muted);margin-top:5px;overflow-wrap:anywhere}
#appScreen #billingWorkspace .bm-row>span:last-child{display:grid;place-items:center;flex:none;width:30px;height:30px;font-size:22px;color:var(--bm-brand);background:#f0efff;border-radius:10px}
#appScreen #billingWorkspace .bm-row[hidden]{display:none}
#appScreen #billingWorkspace .bm-welcome{padding:clamp(20px,6vw,30px);border-radius:24px;background:linear-gradient(135deg,#24265d,#1E3A8A 75%,#7761ee);margin:0 0 20px;box-shadow:0 12px 30px #1E3A8A1a}
#appScreen #billingWorkspace .bm-welcome>span{display:block;font-size:10px;font-weight:700;letter-spacing:.14em;color:#cccaff;margin-bottom:22px}
#appScreen #billingWorkspace .bm-welcome h2{font-size:clamp(28px,8vw,38px)!important;color:white!important;max-width:300px;margin-bottom:14px!important}
#appScreen #billingWorkspace .bm-welcome p{color:#e2e2ff;font-size:13px}
#appScreen #billingWorkspace .bm-welcome button.bm-primary{width:100%!important;background:#fff!important;border-color:#fff!important;color:#393393!important;margin-top:12px}
#appScreen #billingWorkspace .bm-stats{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:12px}
#appScreen #billingWorkspace .bm-stats article{border:1px solid var(--bm-line);border-radius:18px;padding:18px 14px;background:#fff}
#appScreen #billingWorkspace .bm-stats article:last-child{background:#fff5e7;border-color:#ffe8c4}
#appScreen #billingWorkspace .bm-stats small{display:block;color:var(--bm-muted);font-size:11px;line-height:1.45;margin-bottom:10px}
#appScreen #billingWorkspace .bm-stats b{font-size:clamp(19px,5.4vw,25px);letter-spacing:-.04em;overflow-wrap:anywhere}
#appScreen #billingWorkspace .bm-field{display:flex!important;flex-direction:column;gap:9px!important;width:100%!important;max-width:none!important;margin:22px 0!important;text-transform:none!important;letter-spacing:normal!important;font-size:14px!important;color:var(--bm-ink);font-weight:600!important}
#appScreen #billingWorkspace .bm-field :is(input,select){display:block;width:100%!important;max-width:100%!important;min-width:0;height:56px!important;min-height:56px!important;padding:14px!important;border:1px solid #d2dbec!important;border-radius:14px!important;font:400 16px/1.4 Inter,system-ui,sans-serif!important;background:#fff!important;color:var(--bm-ink)!important;box-shadow:none!important;margin:0!important}
#appScreen #billingWorkspace .bm-field :is(input,select):focus{outline:3px solid #1E3A8A1a!important;border-color:var(--bm-brand)!important}
#appScreen #billingWorkspace .bm-actions{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0 0;padding:20px 0 0;border-top:1px solid var(--bm-line);width:100%}
#appScreen #billingWorkspace .bm-actions button{flex:1 1 120px!important;width:auto!important;max-width:none!important;justify-content:center}
#appScreen #billingWorkspace .bm-inline{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 0;width:100%}
#appScreen #billingWorkspace .bm-inline :is(button,a){display:flex;align-items:center;justify-content:center;flex:1 1 115px!important;font-size:13px!important;padding:12px}
#appScreen #billingWorkspace .bm-inline a[href$="/pdf"]{background:#edf0ff;color:#493ebd;border-color:#d7dcff}
#appScreen #billingWorkspace .bm-progress{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:12px;color:var(--bm-muted);margin-bottom:28px}
#appScreen #billingWorkspace .bm-progress b{color:var(--bm-brand)}
#appScreen #billingWorkspace .bm-progress progress{appearance:none;width:100%;height:5px;border:0;border-radius:10px;overflow:hidden;background:#e1e5f2}
#appScreen #billingWorkspace .bm-progress progress::-webkit-progress-bar{background:#e1e5f2;border-radius:10px}
#appScreen #billingWorkspace .bm-progress progress::-webkit-progress-value{background:var(--bm-brand);border-radius:10px}
#appScreen #billingWorkspace .bm-progress progress::-moz-progress-bar{background:var(--bm-brand);border-radius:10px}
#appScreen #billingWorkspace :is(.bm-note,.bm-review section,.bm-document){padding:20px;border:1px solid var(--bm-line);border-radius:18px;background:#fff;margin:14px 0;overflow-wrap:anywhere}
#appScreen #billingWorkspace :is(.bm-review,.bm-document) header{display:flex;gap:10px;justify-content:space-between;align-items:center;padding:0;margin:0;border:0;background:transparent}
#appScreen #billingWorkspace .bm-review header button{font-size:12px!important;padding:8px 12px;color:var(--bm-brand);background:#f0efff;border:0}
#appScreen #billingWorkspace .bm-review p span{display:block;font-size:12px;color:var(--bm-muted)}
#appScreen #billingWorkspace .bm-review p strong{display:block;font-size:15px;font-weight:500;margin-top:4px}
#appScreen #billingWorkspace .bm-document>strong{display:block;margin:18px 0;font-size:30px;letter-spacing:-.04em}
#appScreen #billingWorkspace .bm-document header span{font-size:11px;color:var(--bm-muted);background:#f2f4fa;padding:6px 9px;border-radius:20px}
#appScreen #billingWorkspace .bm-consent{display:flex!important;align-items:flex-start;gap:12px;margin:24px 0!important;text-transform:none!important;font-size:14px!important;letter-spacing:normal!important;line-height:1.6}
#appScreen #billingWorkspace .bm-consent input{width:22px!important;height:22px!important;min-height:22px!important;flex:none;accent-color:var(--bm-brand)}
#appScreen #billingWorkspace .bm-alert{padding:16px;background:#fff5e5;border:1px solid #f2d9ad;border-radius:14px;color:#805316;white-space:pre-line;line-height:1.6;font-size:14px;margin-bottom:20px;overflow-wrap:anywhere}
#appScreen #billingWorkspace .bm-stop{border-left:3px solid #aaa4f6;padding-left:12px;margin:16px 0}
#appScreen #billingWorkspace .bm-stop>button:last-child:not(.bm-row){font-size:12px!important;padding:8px 12px;color:#ad3e54;background:#fff0f3;border-color:#ffdee6}
#appScreen #billingWorkspace .bm-bottom{position:fixed;z-index:25;bottom:0;left:50%;right:auto;transform:translateX(-50%);width:100%;max-width:640px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:10px max(12px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));background:#fffffff5;backdrop-filter:blur(18px);border:1px solid #e5e8f4;border-bottom:0;border-radius:22px 22px 0 0;box-shadow:0 -6px 24px #26386408}
#appScreen #billingWorkspace .bm-bottom button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:100%!important;border:0;background:transparent;color:var(--bm-muted);border-radius:14px;font-size:10px!important;padding:10px 4px}
#appScreen #billingWorkspace .bm-bottom button[aria-current=page]{color:#1E3A8A;background:#eeedff}
#appScreen #billingWorkspace .bm-bottom svg{width:22px;height:22px}
#appScreen #billingWorkspace .bm-more{padding:14px 0;margin-top:24px;border:0;background:transparent;font-size:13px;color:var(--bm-muted)}
#appScreen #billingWorkspace .bm-issued-success{background:#e9f7f1;border:1px solid #c9e9dc;border-radius:22px;padding:24px;margin-bottom:26px;text-align:center}
#appScreen #billingWorkspace .bm-issued-success>span{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#12a779;color:white;font-size:24px;margin:0 auto 18px}
#appScreen #billingWorkspace .bm-issued-success h2{font-size:24px!important}
#appScreen #billingWorkspace .bm-issued-success button{width:100%!important}
@media(max-width:700px){
 body:has(#billingWorkspace .bm-app) :is(.mobile-quickbar,.work-context-next){display:none!important}
 body:has(#billingWorkspace .bm-app)>button[aria-label="Abrir chat"]{bottom:calc(100px + env(safe-area-inset-bottom))!important;right:16px!important;width:44px!important;height:44px!important;font-size:22px!important}
 body:has(#billingWorkspace .bm-app)>button[aria-label="Abrir chat"]+div{bottom:calc(154px + env(safe-area-inset-bottom))!important}
 #appScreen .shell-main:has(#billingWorkspace .bm-app){padding-inline:0!important}
 #appScreen .shell-main :is(.consult-view,.consult-card,form,.extra-fields):has(#billingWorkspace .bm-app){width:100%!important;max-width:100%!important;min-width:0!important;margin-inline:0!important;padding-inline:0!important}
 #appScreen #billingWorkspace:has(.bm-app){width:100%!important;max-width:100%!important;padding:0!important;margin:0!important}
}
@media(prefers-reduced-motion:reduce){#appScreen #billingWorkspace .bm-app *{transition:none!important;scroll-behavior:auto!important}}

/* Support is an explicit menu action on phones, never a floating obstruction. */
.mobile-support-menu{display:none!important}
@media(max-width:700px){
 body>button[aria-label="Abrir chat"],body>button[aria-label="Abrir chat"]+div,body>iframe[src*="app.wabotify.ai/webchat/"]{display:none!important}
 .sidebar-nav .mobile-support-menu{display:flex!important}
}
#mobileSupportDialog{box-sizing:border-box;width:min(560px,100%);max-width:100%;height:100dvh;max-height:100dvh;margin:auto;padding:0;border:0;border-radius:16px;background:#fff;overflow:hidden}
#mobileSupportDialog[open]{display:flex;flex-direction:column}
#mobileSupportDialog::backdrop{background:#14213b99}
#mobileSupportDialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none;padding:16px max(16px,env(safe-area-inset-right)) 16px max(16px,env(safe-area-inset-left));border-bottom:1px solid #e3e8f2;color:#0D1B3D}
#mobileSupportDialog>header button{min-height:44px;padding:10px 18px;border:0;border-radius:12px;background:#eeedff;color:#1E3A8A;font:600 14px system-ui}
#mobileSupportDialog>iframe{position:static!important;display:block!important;flex:1;width:100%!important;height:auto!important;min-height:0;border:0;padding-bottom:env(safe-area-inset-bottom)}
@media(max-width:700px){#mobileSupportDialog{border-radius:0}}
#mobileSupportDialog{position:fixed!important;inset:0!important;margin:0 auto!important;height:auto!important;max-height:none!important;min-height:0!important;zoom:1!important}
#mobileSupportDialog>iframe{min-width:0;max-width:100%;flex-basis:0}
/* MiContador360: navy primary actions, orange accents and neutral surfaces. */
#appScreen #billingWorkspace .bm-app{--bm-brand:#1E3A8A;--bm-bg:#f3f5f8;--bm-ink:#0D1B3D;--bm-muted:#7b8493;--bm-line:#e9edf2;border-radius:0}
#appScreen #billingWorkspace .bm-top{padding-block:18px;background:#fff;border-bottom:1px solid #edf0f4}
#appScreen #billingWorkspace .bm-top small{color:#1E3A8A}
#appScreen #billingWorkspace .bm-top button{background:#f4f6f8;color:#697482;border:1px solid #e7ebf0}
#appScreen #billingWorkspace .bm-body{padding-top:22px}
#appScreen #billingWorkspace .bm-app h2{letter-spacing:-.035em!important;font-size:27px!important}
#appScreen #billingWorkspace .bm-app button.bm-primary{box-shadow:none;border-radius:13px;background:#1E3A8A!important;border-color:#1E3A8A!important}
#appScreen #billingWorkspace .bm-account{display:flex;align-items:center;gap:12px;margin:0 0 20px}
#appScreen #billingWorkspace .bm-avatar{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:14px;background:#E8ECF7;color:#1E3A8A;font-size:16px;font-weight:650}
#appScreen #billingWorkspace .bm-account>div{min-width:0;display:grid;gap:4px}
#appScreen #billingWorkspace .bm-account small{font-size:9px;letter-spacing:.1em;color:#8a929f;font-weight:650}
#appScreen #billingWorkspace .bm-account b{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
#appScreen #billingWorkspace .bm-account>div>span{font-size:11px;color:#7b8493}
#appScreen #billingWorkspace .bm-balance{background:white;border:1px solid #e9edf2;border-radius:18px;padding:22px;margin-bottom:16px;box-shadow:0 3px 12px #21384c03}
#appScreen #billingWorkspace .bm-balance header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;border:0;padding:0;margin:0;background:none}
#appScreen #billingWorkspace .bm-balance header>span{font-size:13px;color:#7b8493}
#appScreen #billingWorkspace .bm-balance header>small{font-size:10px;color:#697482;background:#f3f5f7;border-radius:6px;padding:5px 7px}
#appScreen #billingWorkspace .bm-balance>strong{display:block;margin:12px 0 22px;font-size:clamp(28px,8.8vw,40px);font-weight:650;letter-spacing:-.045em;line-height:1.2;color:#1E3A8A;overflow-wrap:anywhere}
#appScreen #billingWorkspace .bm-balance>div{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding-top:16px;border-top:1px solid #f0f2f5}
#appScreen #billingWorkspace .bm-balance>div small{display:block;font-size:10px;color:#7b8493;margin-bottom:7px}
#appScreen #billingWorkspace .bm-balance>div b{font-size:14px;font-weight:600}
#appScreen #billingWorkspace .bm-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#appScreen #billingWorkspace .bm-shortcuts button{display:flex;flex-direction:column;align-items:center;gap:7px;padding:14px 6px!important;border:1px solid #e9edf2;border-radius:14px;background:#fff;font-size:11px!important;color:#77818f}
#appScreen #billingWorkspace .bm-shortcuts svg{width:23px;height:23px;color:#1E3A8A;margin-bottom:2px}
#appScreen #billingWorkspace .bm-shortcuts button:nth-child(2) svg{color:#F28705}
#appScreen #billingWorkspace .bm-shortcuts button:nth-child(3) svg{color:#1E3A8A}
#appScreen #billingWorkspace .bm-shortcuts b{font-size:17px;color:#0D1B3D;font-weight:600}
#appScreen #billingWorkspace .bm-count-note{font-size:10px;color:#88919d;margin:8px 0 20px}
#appScreen #billingWorkspace .bm-create-card{background:#fff;border:1px solid #e9edf2;border-radius:16px;padding:18px;margin:20px 0 24px}
#appScreen #billingWorkspace .bm-create-card>div{display:flex;gap:12px;align-items:center;margin-bottom:15px}
#appScreen #billingWorkspace .bm-create-icon{display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:12px;background:#ebf4ff;color:#3478d7}
#appScreen #billingWorkspace .bm-create-icon svg{width:22px;height:22px}
#appScreen #billingWorkspace .bm-create-card b{font-size:15px;font-weight:600}
#appScreen #billingWorkspace .bm-create-card p{font-size:11px;color:#8a929f;margin:4px 0 0}
#appScreen #billingWorkspace .bm-create-card>button{width:100%!important;min-height:46px!important}
#appScreen #billingWorkspace .bm-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 10px}
#appScreen #billingWorkspace .bm-section-title h3{margin:0!important;font-size:15px!important;font-weight:650}
#appScreen #billingWorkspace .bm-section-title button{color:#1E3A8A;background:none;border:0;padding:6px 0;font-size:11px!important;min-height:36px!important}
#appScreen #billingWorkspace .bm-activity{display:flex;align-items:center;gap:10px;width:100%!important;padding:15px 12px!important;margin:8px 0!important;border-radius:13px;background:#fff;text-align:left}
#appScreen #billingWorkspace .bm-activity>span:nth-child(2){flex:1;min-width:0}
#appScreen #billingWorkspace .bm-activity b{display:block;font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#appScreen #billingWorkspace .bm-activity small{display:block;font-size:10px;font-weight:400;color:#8a929f;margin-top:5px}
#appScreen #billingWorkspace .bm-activity>span:last-child{text-align:right;max-width:45%}
#appScreen #billingWorkspace .bm-activity strong{font-size:13px;font-weight:600;color:#1E3A8A;overflow-wrap:anywhere}
#appScreen #billingWorkspace .bm-activity .bm-avatar{width:34px;height:34px;border-radius:11px;font-size:12px}
#appScreen #billingWorkspace .bm-empty-card{display:grid;justify-items:center;text-align:center;padding:26px 20px;background:#fff;border:1px dashed #dce3ea;border-radius:16px;color:#83909e}
#appScreen #billingWorkspace .bm-empty-card>svg{width:28px;height:28px;color:#a7b7c6;margin-bottom:12px}
#appScreen #billingWorkspace .bm-empty-card b{font-size:13px;font-weight:600;color:#647180}
#appScreen #billingWorkspace .bm-empty-card p{font-size:12px;margin:8px 0 0;max-width:260px}
#appScreen #billingWorkspace .bm-app .bm-row{border-radius:14px;padding:16px;margin:8px 0;box-shadow:none;gap:12px}
#appScreen #billingWorkspace .bm-row>span:nth-child(2){flex:1}
#appScreen #billingWorkspace .bm-row-symbol{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:11px;background:#eef3f8;color:#7793b1}
#appScreen #billingWorkspace .bm-row-symbol svg{width:19px;height:19px}
#appScreen #billingWorkspace .bm-row b{font-size:13px;font-weight:600}
#appScreen #billingWorkspace .bm-row small{font-size:11px}
#appScreen #billingWorkspace .bm-row>span:last-child{background:none;color:#adb6c3;width:16px;font-size:20px}
#appScreen #billingWorkspace .bm-bottom{max-width:640px;border-radius:0;border-top:1px solid #e7ecf1;box-shadow:0 -4px 18px #17334b03;padding-top:9px;background:#fffffff5}
#appScreen #billingWorkspace .bm-bottom button{border-radius:12px;color:#9ba5b1}
#appScreen #billingWorkspace .bm-bottom button[aria-current=page]{background:#E8ECF7;color:#1E3A8A}
#appScreen #billingWorkspace .bm-bottom button[data-m-action="go:emit"] svg{padding:5px;box-sizing:content-box;background:#1E3A8A;color:white;border-radius:12px;width:20px;height:20px;margin-top:-5px}
#appScreen #billingWorkspace .bm-field>span{font-size:13px;font-weight:600;color:#5e6b7b}
#appScreen #billingWorkspace .bm-field :is(input,select){border-color:#dce3ea!important;border-radius:12px!important}
#appScreen #billingWorkspace .bm-field :is(input,select):focus{outline-color:#1E3A8A1f!important;border-color:#1E3A8A!important}
#appScreen #billingWorkspace .bm-actions{border:0;padding-top:10px}
#appScreen #billingWorkspace .bm-review section{border-radius:14px;padding:18px}
#appScreen #billingWorkspace .bm-review header button{color:#1E3A8A;background:#E8ECF7}
#appScreen #billingWorkspace .bm-search{display:flex!important;align-items:center;gap:10px;width:100%;margin:20px 0 16px!important;padding:0 14px;background:#fff;border:1px solid #e1e7ed;border-radius:12px}
#appScreen #billingWorkspace .bm-search svg{width:18px;height:18px;color:#a1adbb;flex:none}
#appScreen #billingWorkspace .bm-search input{flex:1;width:100%;height:48px!important;padding:10px 0!important;border:0!important;background:transparent!important;font:14px system-ui;outline:0;box-shadow:none!important}
#appScreen #billingWorkspace .bm-filter-tabs{display:flex;gap:4px;padding:4px;background:#e9edf2;border-radius:10px;margin-bottom:20px}
#appScreen #billingWorkspace .bm-filter-tabs button{flex:1;min-height:36px!important;padding:8px 5px;border:0;border-radius:8px;background:transparent;color:#8a929f;font-size:11px!important}
#appScreen #billingWorkspace .bm-filter-tabs button[aria-pressed=true]{background:white;color:#1E3A8A;box-shadow:0 2px 4px #1c324308}
#appScreen #billingWorkspace .bm-document{border-radius:16px;padding:18px}
#appScreen #billingWorkspace .bm-document[hidden]{display:none}
#appScreen #billingWorkspace .bm-document-client{display:flex;align-items:center;gap:10px;margin-top:18px}
#appScreen #billingWorkspace .bm-document-client b{display:block;font-size:13px;font-weight:600}
#appScreen #billingWorkspace .bm-document-client small{display:block;font-size:11px;color:#8a929f;margin-top:4px}
#appScreen #billingWorkspace .bm-document>strong{font-size:28px;margin:18px 0;color:#0D1B3D}
#appScreen #billingWorkspace .bm-document-reference{padding:0;border:0;background:none;margin:0}
#appScreen #billingWorkspace .bm-document-reference summary{font-size:11px;color:#8a929f;padding:6px 0;cursor:pointer}
#appScreen #billingWorkspace .bm-document-reference p{font-size:11px;color:#8a929f;overflow-wrap:anywhere}
#appScreen #billingWorkspace .bm-document-error{font-size:12px;color:#ba5f38;background:#fff3e9;padding:12px;border-radius:8px}
#appScreen #billingWorkspace .bm-inline a[href$="/pdf"]{color:#2674ca;background:#edf5ff;border-color:#d7e8ff}
#appScreen #billingWorkspace .bm-app .bm-count-note{font-size:10px;line-height:1.5;margin:8px 0 20px;color:#88919d}

/* Brand emphasis without changing the form layout. */
#appScreen #billingWorkspace .bm-top{background:#0D1B3D;border-bottom:3px solid #F28705;color:#fff}
#appScreen #billingWorkspace .bm-top small{color:#F7AD50}
#appScreen #billingWorkspace .bm-top b{color:#fff}
#appScreen #billingWorkspace .bm-top button{background:#E8ECF7;color:#0D1B3D;border-color:#E8ECF7}
#appScreen #billingWorkspace .bm-balance{border-top:3px solid #F28705}
#appScreen #billingWorkspace .bm-bottom button[data-m-action="go:emit"] svg{background:#F28705;color:#0D1B3D}
#appScreen #billingWorkspace .bm-app button.bm-primary:hover:not(:disabled){background:#0D1B3D!important;border-color:#0D1B3D!important}

/* Mobile home: a single summary, quick actions, then recent activity. */
#appScreen #billingWorkspace .bm-home .bm-top{display:none}
#appScreen #billingWorkspace .bm-home .bm-body{padding:0 18px 28px;background:#F4F6FA}
#appScreen #billingWorkspace .bm-home-hero{margin:0 -18px;padding:26px 24px 48px;background:#0D1B3D;color:white;border-radius:0 0 28px 28px}
#appScreen #billingWorkspace .bm-home-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
#appScreen #billingWorkspace .bm-home-heading small{font-size:10px;letter-spacing:.12em;color:#F7AD50;font-weight:700}
#appScreen #billingWorkspace .bm-home-heading h2{color:white!important;font-size:27px!important;margin:7px 0 0!important}
#appScreen #billingWorkspace .bm-home-mark{display:grid;place-items:center;width:44px;height:44px;background:#1E3A8A;border-radius:14px;color:#F7AD50;flex:none}
#appScreen #billingWorkspace .bm-home-mark svg{width:24px;height:24px}
#appScreen #billingWorkspace .bm-home-company{color:#CBD5E8;font-size:12px;margin:12px 0 20px;line-height:1.5}
#appScreen #billingWorkspace .bm-home-period{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid #506086;border-radius:20px;color:#fff;font-size:12px}
#appScreen #billingWorkspace .bm-home-period svg{width:16px;height:16px;color:#F7AD50}
#appScreen #billingWorkspace .bm-home-caption{margin:24px 0 6px;color:#CBD5E8;font-size:13px}
#appScreen #billingWorkspace .bm-home-hero>strong{display:block;font-size:clamp(34px,10vw,44px);line-height:1.15;letter-spacing:-.04em;overflow-wrap:anywhere}
#appScreen #billingWorkspace .bm-home-issued{color:#CBD5E8;font-size:12px;margin:12px 0 0}
#appScreen #billingWorkspace .bm-home-quick{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:-25px 0 28px;padding:18px 8px;background:white;border-radius:20px;box-shadow:0 8px 24px #0D1B3D08}
#appScreen #billingWorkspace .bm-home-quick button{display:flex;flex-direction:column;align-items:center;gap:9px;padding:0 2px;border:0;border-radius:12px;background:transparent;font-size:11px!important;color:#0D1B3D}
#appScreen #billingWorkspace .bm-home-quick button>span{display:grid;place-items:center;width:44px;height:44px;background:#E8ECF7;color:#1E3A8A;border-radius:14px}
#appScreen #billingWorkspace .bm-home-quick button:first-child>span{background:#F28705;color:#0D1B3D}
#appScreen #billingWorkspace .bm-home-quick svg{width:23px;height:23px}
#appScreen #billingWorkspace .bm-home-quick b{font-size:11px;line-height:1.4;font-weight:600}
#appScreen #billingWorkspace .bm-home-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#appScreen #billingWorkspace .bm-home-summary :is(article,button){display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:8px;padding:18px!important;border:0;border-radius:18px;background:white;box-shadow:none;color:#0D1B3D}
#appScreen #billingWorkspace .bm-home-summary :is(article,button)>span{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#E8ECF7;color:#1E3A8A;margin-bottom:6px}
#appScreen #billingWorkspace .bm-home-summary svg{width:20px;height:20px}
#appScreen #billingWorkspace .bm-home-summary :is(article,button)>span.bm-home-warning{background:#FDECD3;color:#8C4900}
#appScreen #billingWorkspace .bm-home-summary strong{font-size:24px;line-height:1.2;overflow-wrap:anywhere}
#appScreen #billingWorkspace .bm-home-summary small{font:400 12px/1.4 Inter,system-ui,sans-serif;color:#647184}
#appScreen #billingWorkspace .bm-home .bm-activity{border:0;border-radius:16px;padding:16px;margin-bottom:10px}
