/* One neutral blue-gray visual system for mobile business screens and forms. */
@media(max-width:720px){
html.light-mode body #app #view-root{--primary:#294957;--primary-light:#edf3f6;--border:#dce5e8;--muted:#869ba6;--text:#243d49;color:#243d49}
html.light-mode body #app #view-root .card{border:1px solid #dce5e8!important;background:#fff!important;border-radius:12px!important;box-shadow:none!important}
html.light-mode body #app #view-root .btn{border-color:#d5e0e5!important;color:#466575!important;background:#fff!important;box-shadow:none!important;border-radius:8px!important}
html.light-mode body #app #view-root .btn.primary,html.light-mode body #app #view-root button[data-act="brand-add"],html.light-mode body #app #view-root button[data-act="defect-add-open"]{color:#fff!important;-webkit-text-fill-color:#fff!important;background:#294957!important;background-image:none!important;border-color:#294957!important;box-shadow:none!important}
html.light-mode body #app #view-root .btn.primary svg,html.light-mode body #app #view-root button[data-act="brand-add"] svg{color:inherit!important;stroke:currentColor!important}
html.light-mode body #app #view-root .chip.active,html.light-mode body #app #view-root .m-tab.active{color:#fff!important;-webkit-text-fill-color:#fff!important;background:#294957!important;background-image:none!important;border-color:#294957!important;box-shadow:none!important}
html.light-mode body #app #view-root .btn.danger{background:#fff!important;color:#a46c65!important;-webkit-text-fill-color:#a46c65!important;border-color:#eadedb!important}
html.light-mode body #app #view-root .input,html.light-mode body #app #view-root .mobile-select-trigger{background:#fafcfd!important;border:1px solid #dce5e9!important;color:#355362!important;box-shadow:none!important;border-radius:8px!important;min-height:38px}
html.light-mode body #app #view-root .btn:active:not(:disabled),html.light-mode body #app #view-root .chip:active,html.light-mode body #app #view-root .m-tab:active{background:#dfe9ef!important;color:#294957!important;-webkit-text-fill-color:#294957!important;transform:none!important;box-shadow:none!important}
html.light-mode body #app #view-root .btn:disabled{opacity:.45!important;box-shadow:none!important}
html.light-mode body #app #view-root .me-profile-card{background:#eef3f6!important;background-image:none!important;border:1px solid #dce5e9!important;border-radius:13px!important;box-shadow:none!important}.me-profile-card:before,.me-profile-card:after{content:none!important}
html.light-mode body #app #view-root .me-profile-avatar{background:#294957!important;color:#fff!important;box-shadow:none!important;border-radius:11px!important}
html.light-mode body #app #view-root .me-group{padding:15px!important;margin-top:13px!important}.me-group h3{margin-bottom:13px!important;font-size:14px!important}.me-grid2{gap:8px!important}
html.light-mode body #app #view-root .me-cell{background:#f9fbfc!important;border:1px solid #dce5e9!important;border-radius:9px!important;padding:13px!important;box-shadow:none!important;min-height:98px!important;color:#294957!important}
html.light-mode body #app #view-root .me-cell .me-cell-icon,html.light-mode body #app #view-root .me-item .me-icon,html.light-mode body #app #view-root .me-snapshot-grid .ic{background:#edf2f6!important;color:#577384!important;box-shadow:none!important;border-radius:7px!important}
.me-cell-index{display:none!important}.me-cell-label{font-size:12px!important}.me-cell-desc{font-size:10px!important;line-height:1.6!important}.me-cell-arrow{color:#91a5af!important}.me-profile-card h2,.me-cell-label,.me-label{color:#294957!important}
html.light-mode body #app #view-root .me-snapshot-card{border:1px solid #dce5e9!important;border-radius:12px!important;box-shadow:none!important;background:#fff!important}.me-snapshot-head{background:#f5f8fa!important}.me-snapshot-grid>button{background:#fff!important}.me-snapshot-grid b{color:#294957!important}.me-local-note{background:#f1f5f8!important;color:#758e9d!important}
html.light-mode body #app #view-root .scan-box{background:#f0f5f8!important;background-image:none!important;border:1px solid #d4e2e9!important;border-radius:10px!important;padding:15px!important;box-shadow:none!important}
html.light-mode body #app #view-root .scan-input,html.light-mode body #app #view-root #scan-input{background:#fff!important;color:#294957!important;border:1px solid #cbdce5!important;border-radius:8px!important;min-width:0!important;padding:11px!important;font-size:14px!important;box-shadow:none!important}
.scan-box .scan-hint{font-size:10px!important;color:#839ca9!important;line-height:1.6}.scan-box .scan-desc{font-size:11px!important;color:#7c96a4!important}.scan-profile-head{background:#f0f5f8!important;border-color:#dce6eb!important}.scan-batch-choice{border:1px solid #dae4ea!important;border-radius:8px!important;background:#fafcfd!important;color:#466372!important}.scan-batch-choice.active{border-color:#718e9e!important;background:#eaf1f5!important;color:#294957!important}
html.light-mode body #app #view-root .inventory-life-hero,html.light-mode body #app #view-root .manage-hero{background:#eef3f6!important;background-image:none!important;border:1px solid #dce5e9!important;border-left:1px solid #dce5e9!important;border-radius:12px!important;box-shadow:none!important;padding:17px!important}.inventory-life-hero h2,.manage-hero h2{font-size:20px!important;color:#294957!important}.inventory-life-hero p,.manage-hero p{color:#8196a3!important;font-size:11px!important;line-height:1.7!important}.inventory-life-hero .section-kicker,.manage-hero .section-kicker{font-size:9px!important;color:#8ea2ad!important;letter-spacing:.8px!important}
html.light-mode body #app #view-root .stat-card,html.light-mode body #app #view-root .supply-return-card{border:1px solid #dce5e9!important;box-shadow:none!important;border-radius:10px!important;background:#f9fbfc!important}.inventory-life-summary{box-shadow:none!important;background:#fff!important;border-color:#dce5e9!important}.defect-refined .toolbar,.manage-refined .toolbar{background:#f3f6f8!important;border-radius:10px!important;padding:12px!important;gap:8px!important}.defect-refined .toolbar>.input,.manage-refined .toolbar>.input{max-width:100%!important;min-width:0!important}.manage-refined .toolbar [data-act="brand-new"]{flex:1 1 140px!important;width:auto!important}.manage-refined .toolbar [data-act="brand-add"]{min-width:70px!important;min-height:38px!important}
html.light-mode body #app #view-root .wish-hero{background:#263e4b!important;background-image:none!important;border:0!important;border-radius:13px!important;box-shadow:none!important}.wish-grid,.wish-orbit{display:none!important}.wish-stats article{border-color:#dce5e9!important;background:#f8fbfc!important;border-radius:10px!important}.wish-source .active,.wish-submit{background:#294957!important;color:#fff!important;border-color:#294957!important}.wish-progress-line i{background:#94b7bc!important}.wish-ring{filter:grayscale(.8)}
html.light-mode body #app #view-root .credit-hero,html.light-mode body #app #view-root .wallet-hero,html.light-mode body #app #view-root .finance-hero{background:#263e4b!important;background-image:none!important;box-shadow:none!important;border-radius:13px!important}
}
/* Fill-in dialogs share readable spacing on both desktop and phone. */
html.light-mode body .form-dialog-mask .modal{background:#fff!important;border:1px solid #dce5e9!important;border-radius:13px!important;box-shadow:0 18px 60px #152e3933!important}
html.light-mode body .form-dialog-mask .m-head{background:#f4f7f9!important;border-bottom:1px solid #dfe7eb!important;padding:17px 19px!important}html.light-mode body .form-dialog-mask .m-head h3{color:#294957!important;font-size:17px!important;line-height:1.5!important}
html.light-mode body .form-dialog-mask .m-body{padding:19px!important;color:#486674!important;font-size:13px!important;line-height:1.7!important}.form-dialog-mask .m-body>label{display:block;margin:14px 0 6px;font-size:12px;font-weight:500;color:#617e8d}.form-dialog-mask .m-body>label:first-child{margin-top:0}.form-dialog-mask .m-body>p{font-size:12px;line-height:1.7;color:#8196a3;margin:0 0 14px}.form-dialog-mask .m-body .muted{line-height:1.7;font-size:11px}
html.light-mode body .form-dialog-mask .input,html.light-mode body .form-dialog-mask .mobile-select-trigger{width:100%;box-sizing:border-box;background:#fbfcfd!important;border:1px solid #d7e3e9!important;color:#385969!important;border-radius:8px!important;box-shadow:none!important;min-height:40px;padding:10px 12px;font-size:13px}
html.light-mode body .form-dialog-mask .m-foot{background:#f7f9fa!important;border-top:1px solid #e1e8ec!important;padding:13px 19px!important}.form-dialog-mask .m-foot>.btn{border-radius:8px!important;min-height:40px!important;box-shadow:none!important}
html.light-mode body .form-dialog-mask .btn.primary{background:#294957!important;background-image:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#294957!important}html.light-mode body .form-dialog-mask .btn:not(.primary):not(.danger){background:#fff!important;color:#587483!important;border-color:#d7e3e9!important}
@media(max-width:720px){html.light-mode body .form-dialog-mask .m-head{padding:14px 16px!important}html.light-mode body .form-dialog-mask .m-body{padding:16px!important}html.light-mode body .form-dialog-mask .m-foot{padding:12px 16px max(12px,env(safe-area-inset-bottom))!important}}

html.light-mode body #app #view-root button.btn.primary[data-act="brand-add"]{background:#294957!important;background-image:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#294957!important;opacity:1!important}
@media(max-width:720px){html.light-mode body #app #view-root .scan-totals-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}.scan-totals-grid .stat-card{padding:12px 9px!important;min-width:0!important}.scan-totals-grid .value{font-size:19px!important;overflow-wrap:anywhere}.scan-totals-grid .label{font-size:10px!important}html.light-mode body .mobile-select-option.active{background:#e9f0f4!important;color:#294957!important;border-color:#cfdde5!important}html.light-mode body .mobile-select-option.active i{background:#567b8e!important;border-color:#567b8e!important}.mobile-select-sheet-head small{color:#8fa4af!important}}

@media(max-width:720px){
html.light-mode body #app #view-root .credit-hero,html.light-mode body #app #view-root .wallet-hero,html.light-mode body #app #view-root .profit-calc-hero,html.light-mode body #app #view-root .paid-break-hero{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:16px!important;background:#eef3f6!important;background-image:none!important;color:#294957!important;border:1px solid #dce5e9!important;border-radius:12px!important;padding:17px!important;min-height:0!important;box-shadow:none!important}
html.light-mode body #app #view-root .credit-hero h2,html.light-mode body #app #view-root .wallet-hero h2,html.light-mode body #app #view-root .profit-calc-hero h2{font-size:20px!important;color:#294957!important;-webkit-text-fill-color:#294957!important;line-height:1.4!important;margin:7px 0!important}
html.light-mode body #app #view-root .credit-hero p,html.light-mode body #app #view-root .wallet-hero p,html.light-mode body #app #view-root .profit-calc-hero p{color:#788f9d!important;-webkit-text-fill-color:#788f9d!important;font-size:11px!important;line-height:1.7!important;margin:0!important}
html.light-mode body #app #view-root .credit-hero>div>small,html.light-mode body #app #view-root .wallet-hero .section-kicker,html.light-mode body #app #view-root .profit-calc-hero-copy small{color:#8ca1ac!important;font-size:9px!important;letter-spacing:.7px!important}
html.light-mode body #app #view-root .credit-month{position:static!important;width:100%!important;min-width:0!important;max-width:none!important;box-sizing:border-box!important;display:grid!important;grid-template-columns:1fr!important;gap:7px!important;align-self:stretch!important;padding:11px!important;background:#fff!important;border:1px solid #dae4e9!important;border-radius:9px!important}
html.light-mode body #app #view-root .credit-month>span{font-size:10px!important;color:#8197a4!important}.credit-month .mobile-select-trigger,.credit-month select{width:100%!important;min-width:0!important;max-width:none!important;height:38px!important;min-height:38px!important;box-sizing:border-box!important}.credit-month .mobile-select-trigger>span{font-size:13px!important;color:#294957!important;white-space:normal!important}.credit-month .mobile-select-trigger svg{flex-shrink:0!important}
html.light-mode body #app #view-root .wallet-balance{width:100%!important;background:#fff!important;border:1px solid #dce5e9!important;border-radius:9px!important;color:#294957!important;padding:14px!important;box-shadow:none!important}
}

@media(max-width:720px){html.light-mode body #app #view-root .credit-month span{display:block!important;visibility:visible!important}.credit-month .mobile-select-trigger{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}.credit-month .mobile-select-trigger>span{flex:1!important;text-align:left!important}.credit-hero:before,.credit-hero:after,.wallet-hero:before,.wallet-hero:after{display:none!important;content:none!important}
html.light-mode body #app #view-root .wish-hero{background:#eef3f6!important;background-image:none!important;border:1px solid #dce5e9!important;color:#294957!important}html.light-mode body #app #view-root .wish-hero h2{color:#294957!important;-webkit-text-fill-color:#294957!important;font-size:21px!important}html.light-mode body #app #view-root .wish-hero p,html.light-mode body #app #view-root .wish-hero small,html.light-mode body #app #view-root .wish-hero .wish-live{color:#8197a4!important;-webkit-text-fill-color:#8197a4!important}.wish-progress-line{background:#d9e4e9!important}.wish-ring{background:#dce7eb!important}.wish-ring>span{background:#f6f9fa!important}.wish-ring b{color:#294957!important}.wish-ring small{color:#8197a4!important}
}
