:root{--bilanta-qa-gold:#c8a04e;--bilanta-qa-ink:#1b1a18;--bilanta-qa-paper:#ffffffd1}html,body,#root{max-width:100%;overflow-x:hidden}img,svg,video,canvas,button,a,label,select,input,textarea{max-width:100%}button,a,.nav-item,.mobile-nav-item,.outline-button,.primary-button{overflow-wrap:anywhere}.app-shell,.main-surface,.content-scroll,.page-content,.panel,.modal-card,.auth-card,.auth-form-panel,.auth-brand-panel,.quick-app,.quick-card,.page-heading>*,.panel-heading>*,.document-row>*,.reconciliation-row>*,.customer-row>*,.timeline-item>*,.report-item>*,.candidate-open>*{min-width:0}.page-heading h1,.panel-heading h2,.auth-form-panel h1,.quick-section-title h2{overflow-wrap:anywhere;text-wrap:balance}.page-heading p,.panel-heading p,.auth-intro,.quick-header p,.quick-message,.document-note p,.manual-check-note p{overflow-wrap:anywhere}.topbar{isolation:isolate;color:#f7f3ea;background:linear-gradient(135deg,#1c1b19f7,#2a2720f5);border-bottom:1px solid #c8a04e73;gap:16px;min-height:76px;box-shadow:0 10px 34px #1f1b141a}.topbar:before{content:"";filter:drop-shadow(0 0 12px #c8a04e33);background:url(/brand/bilanta-icon-light.svg) 50%/contain no-repeat;flex:0 0 34px;width:34px;height:39px;margin-right:auto;display:block}.topbar-actions{flex-wrap:wrap;flex:0 auto;justify-content:flex-end;min-width:0}.topbar .month-select,.topbar .icon-button{color:#eee8dc;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff14;border-color:#ffffff24}.topbar .month-select:hover,.topbar .icon-button:hover{color:#fff;background:#c8a04e1a;border-color:#c8a04eb8}.topbar .profile-avatar{color:#73551a;background:#f5efe1;box-shadow:0 0 0 1px #c8a04e59}.mobile-brand{min-width:0}.mobile-brand img{object-fit:contain;object-position:left center;max-height:35px}.metric-card,.panel,.report-content-grid>.panel,.audit-stat,.customer-summary-card,.selected-transaction,.candidate-card,.document-details>div,.report-preview-list,.quick-instance-panel{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background-color:#ffffffdb}.metric-card,.panel,.audit-stat,.customer-summary-card{box-shadow:0 8px 28px #251f160b}.document-row,.reconciliation-row,.customer-row,.timeline-item,.report-item,.candidate-open{overflow:hidden}.document-row strong,.document-row small,.reconciliation-row strong,.reconciliation-row small,.customer-row strong,.customer-row small,.candidate-open strong,.candidate-open small{text-overflow:ellipsis;min-width:0;overflow:hidden}.document-row small,.reconciliation-row small,.customer-row small,.candidate-open small{white-space:nowrap}.document-row strong,.reconciliation-row strong,.customer-row strong,.candidate-open strong{white-space:normal;overflow-wrap:anywhere;line-height:1.35}.modal-backdrop,.bilanta-workflow-overlay,.bilanta-main-scan-overlay,.bilanta-scan-overlay{padding:max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));overscroll-behavior:contain;overflow:auto}.modal-card,.document-editor-modal,.scan-modal,.bilanta-workflow-dialog,.bilanta-scan-dialog{overscroll-behavior:contain;max-height:calc(100dvh - 28px);overflow:auto}.modal-actions,.scan-crop-actions,.candidate-actions,.register-actions,.heading-actions{flex-wrap:wrap}.modal-actions>*,.scan-crop-actions>*,.candidate-actions>*{min-width:0}.bilanta-language-control{z-index:42;right:18px;top:max(14px,env(safe-area-inset-top));max-width:min(220px,100vw - 36px);position:fixed}.bilanta-language-control label{color:#e8d19a;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#1b1a18e6;border:1px solid #c8a04e47;border-radius:10px;align-items:center;gap:7px;padding:7px 9px;display:flex;box-shadow:0 10px 30px #00000024}.bilanta-language-control select{color:#f7f3ea;background:0 0;border:0;outline:0;min-width:0;font-size:9px}.auth-signout,.app-install{max-width:calc(100vw - 28px)}.toast{bottom:max(24px,env(safe-area-inset-bottom));overflow-wrap:anywhere}.auth-flip-stage{perspective:1400px;width:min(980px,100%)}.auth-card{max-height:calc(100dvh - 32px)}.auth-brand-top{justify-content:space-between;align-items:flex-start;gap:14px;min-width:0;display:flex}.auth-brand-top>*{min-width:0}.auth-mode-switch{flex:none;max-width:150px}.auth-mode-switch span{white-space:normal;line-height:1.3}.auth-language-row{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.auth-install-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.auth-install-grid a{overflow-wrap:anywhere;min-width:0}.report-sheet-preview{isolation:isolate}.report-sheet-preview>*{z-index:2;position:relative}.report-sheet-preview .report-stamp{z-index:1;pointer-events:none;opacity:.055}.report-sheet-header{gap:10px}.report-sheet-header>*{min-width:0}.report-sheet-header strong{overflow-wrap:anywhere}.bilanta-scan-stage,.scan-crop-stage{max-height:calc(100dvh - 210px)}.bilanta-scan-actions{z-index:5;padding-bottom:max(10px,env(safe-area-inset-bottom));background:linear-gradient(#15141200,#151412f5 25%);position:sticky;bottom:0}@media (width<=820px){.topbar{gap:9px;min-height:64px;padding:8px 14px}.topbar:before{display:none}.topbar-actions{flex-wrap:nowrap;max-width:54vw;overflow:visible}.mobile-brand{max-width:126px;display:block}.content-scroll{padding-bottom:calc(104px + env(safe-area-inset-bottom))}.mobile-navigation{padding-bottom:env(safe-area-inset-bottom);min-height:calc(70px + env(safe-area-inset-bottom))}.auth-signout{bottom:calc(84px + env(safe-area-inset-bottom))}.app-install{bottom:calc(123px + env(safe-area-inset-bottom))}.bilanta-language-control{top:auto;right:10px;bottom:calc(78px + env(safe-area-inset-bottom));max-width:150px}.bilanta-language-control label{padding:6px 8px}.page-heading,.panel-heading,.document-register-toolbar{min-width:0}.register-downloads,.export-choice{flex-wrap:wrap}}@media (width<=640px){.auth-page{padding:10px}.auth-card{grid-template-columns:1fr;max-height:none;overflow:visible}.auth-brand-panel{min-height:245px;padding:24px}.auth-form-panel{min-height:0;padding:26px 22px calc(28px + env(safe-area-inset-bottom))}.auth-brand-icon-glow{max-width:138px;max-height:138px}.auth-logo{max-width:190px}.auth-mode-switch{max-width:132px}.auth-install-grid{grid-template-columns:1fr}.customer-summary-grid,.metric-grid{grid-template-columns:1fr 1fr}.report-sheet-preview{transform:none}.report-sheet-header{flex-direction:column;align-items:flex-start}.modal-card,.document-editor-modal,.scan-modal,.bilanta-workflow-dialog,.bilanta-scan-dialog{border-radius:16px;width:100%!important;max-width:100%!important}}@media (width<=390px){.metric-grid,.customer-summary-grid,.audit-summary-grid{grid-template-columns:1fr}.topbar-actions{max-width:58vw}.mobile-brand{max-width:108px}.page-heading h1{font-size:24px}.auth-brand-top{display:grid}.auth-mode-switch{max-width:100%}}
