/*
 NetPesa primary brand system. Approved primary #075BCE and white #FFFFFF.
 This stylesheet is intentionally the LAST stylesheet on index.html. It harmonizes
 legacy dark mode rules without changing billing, router, authentication or API logic.
*/
:root{color-scheme:light!important;--np-blue:#075BCE!important;--np-white:#FFFFFF!important;--np-ink:#142D50!important;--np-navy:#063C88!important;--np-border:#C9DDF8!important;--np-soft:#EAF3FF!important;--ink:#142D50!important;--muted:#526A8A!important;--line:#D8E6F8!important;--paper:#F4F8FF!important;--white:#FFFFFF!important;--navy:#063C88!important;--navy2:#075BCE!important;--lime:#075BCE!important;--blue:#075BCE!important;--blue2:#EAF3FF!important;--green:#075BCE!important;--greenbg:#EAF3FF!important;--orange:#075BCE!important;--orangebg:#EAF3FF!important}
html{scroll-behavior:smooth;overflow-x:hidden}html,body{background:#F4F8FF!important;color:#142D50!important}body{-webkit-text-size-adjust:100%;overflow-x:hidden}button,input,select,textarea{font-family:inherit!important}*,*::before,*::after{box-sizing:border-box}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}a{text-underline-offset:3px}img,svg,canvas{max-width:100%}[hidden]{display:none!important}
/* PUBLIC WEBSITE — clear visual hierarchy and real sections */
#authScreen.auth-screen{background:#FFFFFF!important;color:#142D50!important;min-height:100dvh!important;overflow-x:hidden}
#authScreen .landing-nav{min-height:82px!important;height:auto!important;display:flex!important;gap:clamp(10px,2vw,35px)!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;background:#FFFFFF!important;color:#142D50!important;border-bottom:1px solid #DFEAF9!important;padding:10px clamp(16px,5vw,75px)!important;position:sticky!important;top:0!important;z-index:12!important;box-shadow:0 2px 15px #075BCE0A!important}
#authScreen .landing-brand{display:flex!important;align-items:center!important;flex:0 1 230px!important;min-width:0!important;gap:8px!important}
#authScreen .landing-brand img{width:clamp(132px,16vw,205px)!important;max-height:57px!important;height:auto!important;object-fit:contain!important;border:0!important;border-radius:0!important}
#authScreen .landing-site-links{display:flex;align-items:center;justify-content:center;gap:clamp(12px,2.2vw,34px);flex:1;white-space:nowrap}
#authScreen .landing-site-links a{color:#22476F!important;font-size:14px!important;font-weight:670!important;text-decoration:none!important;transition:color .15s}
#authScreen .landing-site-links a:hover{color:#075BCE!important}
#authScreen .landing-actions{display:flex!important;align-items:center!important;gap:10px!important;flex:0 0 auto!important}
#authScreen .landing-actions button{min-height:42px!important;min-width:94px!important;padding:9px 17px!important;border-radius:10px!important;font-weight:750!important;font-size:14px!important}
#authScreen .landing-layout{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;display:block!important;min-height:calc(100dvh - 82px)!important;overflow:visible!important}
#authScreen #homeHero.landing-copy{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;color:#142D50!important;transform:none!important}
#authScreen #homeHero[hidden]{display:none!important}
.np-hero{max-width:1470px;min-height:630px;margin:auto;padding:clamp(52px,8vw,108px) clamp(18px,5vw,80px) 85px;display:grid;grid-template-columns:1.03fr .97fr;align-items:center;gap:clamp(35px,5vw,85px);position:relative}
.np-hero:before{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(ellipse at 82% 32%,#E1EDFF 0%,#FFFFFF 47%,transparent 75%)}
.np-hero-copy{max-width:620px}.np-kicker{display:inline-flex;align-items:center;gap:9px;background:#EAF3FF;color:#075BCE;border:1px solid #D2E3FD;border-radius:99px;padding:8px 13px;font-size:11px;font-weight:850;letter-spacing:.09em}.np-kicker-dot{width:8px;height:8px;border-radius:50%;background:#075BCE}
#authScreen #homeHero .np-hero h1{font-size:clamp(44px,4.6vw,74px)!important;font-weight:850!important;line-height:1.045!important;letter-spacing:-.06em!important;margin:24px 0 20px!important;color:#15365D!important;max-width:720px!important}
#authScreen #homeHero .np-hero h1 em{font-style:normal!important;color:#075BCE!important;background:none!important;line-height:inherit!important;white-space:normal!important}
#authScreen #homeHero .np-hero-copy>p{font-size:clamp(16px,1.32vw,19px)!important;line-height:1.72!important;color:#526A8A!important;margin:0 0 28px!important;max-width:535px!important}
.np-hero-buttons{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.np-cta{min-height:50px!important;padding:13px 22px!important;display:inline-flex!important;gap:15px;align-items:center;justify-content:center;border-radius:11px!important;font-weight:750!important;font-size:14px!important;text-decoration:none!important}
.np-trust{display:flex;gap:14px 20px;flex-wrap:wrap;margin-top:27px;color:#335B85;font-size:12px;font-weight:700}.np-trust span{white-space:nowrap}
.np-hero-visual{position:relative;min-width:0;filter:drop-shadow(0 25px 32px #075BCE15)}.np-visual-window{background:#FFFFFF;border:1px solid #D6E6FC;border-radius:19px;box-shadow:0 24px 58px #075BCE1D;overflow:hidden;transform:rotate(1.1deg)}.np-visual-bar{height:45px;display:flex;align-items:center;gap:7px;background:#F4F8FF;border-bottom:1px solid #E1ECFC;padding:0 17px}.np-visual-bar span{width:8px;height:8px;background:#B8D1F3;border-radius:50%}.np-visual-bar strong{margin-left:10px;color:#345C87;font-size:12px;font-weight:800}.np-visual-content{padding:clamp(15px,2.4vw,27px)}.np-visual-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:19px}.np-visual-heading div{display:grid;gap:4px}.np-visual-heading span:first-child{font-size:10px;color:#075BCE;font-weight:850;letter-spacing:.1em}.np-visual-heading strong{font-size:17px;color:#15365D}.np-visual-chip{background:#EAF3FF;color:#075BCE;font-size:10px;white-space:nowrap;font-weight:750;border-radius:20px;padding:7px 9px}.np-visual-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.np-visual-stats>div{background:#075BCE;color:#FFFFFF;min-height:119px;padding:13px;border-radius:11px;display:grid;gap:9px;align-content:center}.np-visual-stats>div:nth-child(2){background:#0866DB}.np-visual-stats>div:nth-child(3){background:#054EA9}.np-visual-stats span{color:#EBF4FF;font-size:10px;font-weight:700}.np-visual-stats b{color:#FFFFFF;font-size:clamp(15px,1.6vw,23px)}.np-visual-stats small{color:#E1EFFF;font-size:10px}.np-visual-lower{display:grid;grid-template-columns:1.45fr 1fr;gap:12px;margin-top:12px}.np-visual-chart,.np-visual-tools{background:#FFFFFF;border:1px solid #E0ECFC;border-radius:12px;padding:13px;min-width:0}.np-chart-label{display:flex;justify-content:space-between;gap:4px;font-size:12px;color:#14365D;font-weight:750}.np-chart-label span,.np-visual-tools>span{font-size:9px;letter-spacing:.08em;color:#7991AD}.np-chart-bars{height:104px;display:flex;align-items:flex-end;gap:8px;margin-top:12px;border-bottom:1px solid #DBE8FA;padding:0 3px}.np-chart-bars i{flex:1;height:var(--bar);background:linear-gradient(0deg,#075BCE,#6EA8FB);border-radius:5px 5px 0 0}.np-visual-tools{display:flex;flex-direction:column;gap:8px}.np-visual-tools b{background:#EAF3FF;color:#075BCE;border-radius:7px;padding:7px 10px;font-size:11px}.np-hero-float{position:absolute;right:-5px;bottom:-26px;background:#FFFFFF;box-shadow:0 10px 35px #075BCE1C;border:1px solid #D5E4FB;border-radius:13px;display:flex;align-items:center;gap:12px;padding:14px 17px}.np-hero-float>span{width:36px;height:36px;border-radius:10px;background:#075BCE;color:white;display:grid;place-items:center;font-weight:800}.np-hero-float div{display:grid;gap:3px}.np-hero-float b{font-size:12px;color:#15365D}.np-hero-float small{font-size:11px;color:#6782A3}
.np-section{padding:clamp(65px,7vw,100px) clamp(18px,6vw,86px);scroll-margin-top:96px}.np-section-heading{max-width:720px;margin:0 auto 36px;text-align:center}.np-eyebrow{font-size:11px;font-weight:850;letter-spacing:.13em;color:#075BCE}.np-section-heading h2,.np-process h2,.np-why h2,.np-contact h2{font-size:clamp(30px,3.2vw,46px)!important;line-height:1.18!important;letter-spacing:-.04em!important;margin:12px 0 14px!important;color:#15365D!important;font-weight:820!important}.np-section-heading p{font-size:16px!important;line-height:1.65!important;color:#526A8A!important;margin:0 auto!important;max-width:565px}
.np-intro{background:#F4F8FF}.np-feature-grid{max-width:1240px;margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.np-feature{padding:26px;border-radius:16px;background:#FFFFFF;border:1px solid #D9E7FB;box-shadow:0 7px 19px #075BCE09;min-width:0}.np-feature-icon{width:43px;height:43px;border-radius:11px;display:grid;place-items:center;background:#EAF3FF;color:#075BCE;font-size:23px;font-weight:800;margin-bottom:20px}.np-feature h3{font-size:18px!important;line-height:1.35!important;color:#15365D!important;margin:0 0 10px!important}.np-feature p{color:#526A8A!important;line-height:1.7!important;font-size:14px!important;margin:0!important}
.np-process{background:#FFFFFF}.np-process-grid{max-width:1170px;margin:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.np-process-grid article{border-top:3px solid #075BCE;background:#F4F8FF;border-radius:0 0 13px 13px;padding:26px}.np-process-grid article span{display:block;font-size:36px;font-weight:850;letter-spacing:-.05em;color:#075BCE;margin-bottom:17px}.np-process-grid h3{font-size:19px!important;color:#15365D!important;margin:0 0 9px!important}.np-process-grid p{font-size:14px!important;line-height:1.7!important;color:#526A8A!important;margin:0!important}
.np-why{background:#075BCE;display:grid;grid-template-columns:1.2fr .8fr;gap:80px;align-items:center;color:#FFFFFF!important;min-height:400px}.np-why>div:first-child{max-width:650px;justify-self:end}.np-why .np-eyebrow{color:#DDEBFF!important}.np-why h2{color:white!important}.np-why p{font-size:16px!important;color:#E9F2FF!important;line-height:1.75!important;margin:0 0 24px!important}.np-why .primary{background:white!important;color:#075BCE!important;border-color:white!important;border-radius:10px!important;padding:13px 18px!important;font-weight:800!important}.np-device-card{width:min(100%,300px);justify-self:start;border-radius:24px;border:8px solid #FFFFFF;box-shadow:0 18px 38px #002B6A4D;background:#FFFFFF;color:#15365D;overflow:hidden;transform:rotate(4deg)}.np-device-top{display:flex;justify-content:space-between;background:#EAF3FF;color:#075BCE;padding:11px 17px;font-weight:800;font-size:12px}.np-device-screen{padding:20px;display:grid;gap:11px}.np-device-screen small{color:#075BCE;font-weight:800}.np-device-screen>strong{font-size:20px}.np-device-row{display:flex;justify-content:space-between;background:#F4F8FF;border:1px solid #E0ECFC;padding:11px;border-radius:8px;font-weight:700;font-size:12px}.np-device-row span:last-child{color:#075BCE}
.np-faq{background:#F4F8FF}.np-faq-grid{max-width:1000px;margin:0 auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;align-items:start}.np-faq details{background:#FFFFFF;border:1px solid #D9E7FB;border-radius:13px;padding:20px 23px}.np-faq summary{font-size:15px;font-weight:750;color:#15365D;cursor:pointer;line-height:1.4}.np-faq details[open] summary{color:#075BCE}.np-faq p{font-size:14px;line-height:1.65;color:#526A8A;margin:12px 0 0}
.np-contact{display:flex;justify-content:center;align-items:center;gap:70px;background:#FFFFFF}.np-contact>div:first-child{max-width:580px}.np-contact p{font-size:16px!important;line-height:1.7!important;color:#526A8A!important}.np-contact-actions{display:flex;flex-direction:column;gap:10px;min-width:230px}.np-site-footer{background:#063C88;padding:55px clamp(18px,6vw,86px) 22px;color:#FFFFFF;display:grid;grid-template-columns:1fr auto;gap:24px}.np-footer-brand img{width:200px;height:auto;max-width:100%;background:white;padding:10px;border-radius:9px}.np-footer-brand p{font-size:13px!important;color:#DCEBFF!important;margin:13px 0 0!important}.np-footer-links{display:flex;gap:21px;flex-wrap:wrap;align-items:start}.np-footer-links a{color:#FFFFFF!important;font-size:13px;font-weight:650}.np-footer-bottom{grid-column:1/-1;color:#BDDAFF;font-size:12px;border-top:1px solid #FFFFFF32;padding-top:20px}
/* Login, registration, MFA, password reset — white, high-contrast, zoom-safe. */
#authScreen .register-card,#authScreen .login-card{width:min(100% - 32px,620px)!important;max-width:620px!important;height:auto!important;min-height:unset!important;max-height:none!important;margin:clamp(30px,6vw,75px) auto!important;padding:clamp(22px,4vw,38px)!important;background:#FFFFFF!important;color:#142D50!important;border:1px solid #CEDFF7!important;border-radius:18px!important;box-shadow:0 16px 45px #075BCE16!important;overflow:visible!important;position:relative!important;transform:none!important}
#authScreen .login-card{max-width:460px!important}
#authScreen .register-card h2,#authScreen .login-card h2{font-size:clamp(24px,3vw,30px)!important;font-weight:820!important;letter-spacing:-.03em!important;color:#15365D!important;line-height:1.25!important;margin:0 0 9px!important}
#authScreen .register-card>p,#authScreen .login-card>p,#authScreen .register-note,#authScreen .terms-check{color:#526A8A!important;font-size:14px!important;line-height:1.6!important}
#authScreen .register-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
#authScreen .register-card .field,#authScreen .login-card .field{display:flex!important;flex-direction:column!important;gap:7px!important;margin:14px 0!important;min-width:0!important}
#authScreen .field label,#authScreen .register-card label,#authScreen .login-card label{display:block;color:#193D69!important;font-size:14px!important;font-weight:760!important;line-height:1.45!important;letter-spacing:0!important}
#authScreen .terms-check{display:flex!important;align-items:flex-start!important;gap:9px!important}
#authScreen .terms-check input{flex:0 0 17px!important;width:17px!important;height:17px!important;min-height:17px!important;margin:3px 0 0!important}
#authScreen .register-card input:not([type=checkbox]),#authScreen .login-card input:not([type=checkbox]),#authScreen .register-card select,#authScreen .login-card select{display:block!important;width:100%!important;min-width:0!important;height:auto!important;min-height:49px!important;padding:12px 14px!important;border-radius:10px!important;background:#FFFFFF!important;background-color:#FFFFFF!important;color:#142D50!important;-webkit-text-fill-color:#142D50!important;caret-color:#075BCE!important;border:1px solid #B7CFEF!important;font-size:16px!important;line-height:1.45!important;font-weight:500!important;opacity:1!important;box-shadow:none!important;color-scheme:light!important}
#authScreen input::placeholder,#authScreen textarea::placeholder{color:#657F9F!important;-webkit-text-fill-color:#657F9F!important;opacity:1!important;font-weight:400!important}
#authScreen input:focus,#authScreen select:focus,#authScreen textarea:focus{background:#FFFFFF!important;color:#142D50!important;-webkit-text-fill-color:#142D50!important;border-color:#075BCE!important;outline:2px solid #075BCE!important;outline-offset:1px!important;box-shadow:0 0 0 4px #075BCE18!important}
#authScreen input:-webkit-autofill{-webkit-box-shadow:0 0 0 100px #FFFFFF inset!important;-webkit-text-fill-color:#142D50!important;caret-color:#075BCE!important}
#authScreen .password-wrap{display:flex!important;align-items:stretch!important;gap:8px!important;min-width:0!important}
#authScreen .password-wrap input{flex:1 1 auto!important;min-width:0!important}
#authScreen .password-wrap .quiet-button{flex:0 0 auto!important;border:1px solid #B7CFEF!important;border-radius:10px!important;padding:8px 14px!important;background:#EAF3FF!important;color:#075BCE!important;font-weight:750!important;min-height:48px!important}
#authScreen .register-card .primary,#authScreen .login-card .primary{width:100%!important;min-height:49px!important;border-radius:10px!important;padding:11px 17px!important;font-size:15px!important;margin-top:10px!important}
#authScreen .quiet-button{color:#075BCE!important;background:transparent!important;border-color:transparent!important;font-weight:750!important;font-size:14px!important;min-height:40px!important}
#authScreen .register-card .register-note:last-child{margin-top:16px!important}
#authScreen .auth-error,#authScreen .register-status{font-size:13px!important;line-height:1.5!important;overflow-wrap:anywhere!important}.auth-error:not(:empty){background:#FFF1F1!important;border:1px solid #F4BCBC!important;color:#8E1B1B!important;padding:11px!important;border-radius:9px!important;margin:8px 0!important}
#authScreen .terms-check a{color:#075BCE!important;font-weight:720!important;text-decoration:underline!important}
/* Entire authenticated app — primary blue and white, no unrelated card palettes. */
#appShell.shell{background:#F4F8FF!important;color:#142D50!important;min-height:100dvh!important}
#appShell .sidebar{background:#075BCE!important;background-image:none!important;color:#FFFFFF!important;border-color:#075BCE!important}
#appShell .sidebar .brand{display:flex!important;justify-content:center!important;align-items:center!important;background:#FFFFFF!important;border-radius:13px!important;margin:15px 12px 18px!important;padding:10px!important;min-height:77px!important}
#appShell .sidebar .brand .brand-logo{display:block!important;object-fit:contain!important;width:100%!important;max-height:62px!important;height:auto!important;border:0!important;border-radius:0!important;background:transparent!important}
#appShell .sidebar .nav-label,#appShell .sidebar .nav-title,#appShell .sidebar .side-bottom,#appShell .sidebar .side-bottom small{color:#E5F0FF!important}
#appShell .sidebar .nav{display:grid!important;gap:6px!important;padding:4px 9px 18px!important}
#appShell .sidebar .nav button,#appShell .sidebar .nav button:nth-child(n){background:linear-gradient(105deg,#075BCE,#0866DD)!important;color:#FFFFFF!important;border:1px solid #FFFFFF38!important;border-radius:10px!important;box-shadow:none!important;display:flex!important;align-items:center!important;gap:8px!important;min-height:45px!important;min-width:0!important;text-align:left!important;font-size:13px!important;font-weight:650!important;line-height:1.35!important;padding:10px!important;white-space:normal!important;overflow-wrap:anywhere!important}
#appShell .sidebar .nav button:hover{background:#064BA8!important;transform:none!important}
#appShell .sidebar .nav button.active{background:#FFFFFF!important;color:#075BCE!important;border-color:#FFFFFF!important;outline:none!important}
#appShell .sidebar .nav button .nav-icon{flex:0 0 28px;display:grid;place-items:center;background:#FFFFFF24!important;color:#FFFFFF!important;border-radius:7px!important;min-height:27px}
#appShell .sidebar .nav button.active .nav-icon{background:#EAF3FF!important;color:#075BCE!important}
#appShell .sidebar .router-state{color:#FFFFFF!important}#appShell .sidebar .router-state b{color:#FFFFFF!important}
#appShell .workspace,#appShell .main{background:#F4F8FF!important;color:#142D50!important}
#appShell .topbar{background:#FFFFFF!important;color:#142D50!important;border-bottom:1px solid #D7E6FB!important;box-shadow:0 2px 9px #075BCE09!important}
#appShell .topbar b,#appShell .topbar strong,#appShell .crumb{color:#15365D!important}
#appShell .topbar .business small{color:#526A8A!important}
#appShell .topbar-netpesa-mark{width:95px!important;height:35px!important;object-fit:contain!important;display:block!important;margin-right:15px!important}
#appShell .avatar{background:#075BCE!important;color:#FFFFFF!important}
#appShell .main h1,#appShell .main h2,#appShell .main h3,#appShell .main h4{color:#15365D!important}
#appShell .cards>.metric,#appShell .cards>.metric:nth-child(n),#appShell .page-cards>.info-card,#appShell .page-cards>.info-card:nth-child(n){background:linear-gradient(140deg,#075BCE,#0B71E8)!important;border:1px solid #075BCE!important;color:#FFFFFF!important;border-radius:14px!important;box-shadow:0 9px 25px #075BCE17!important;min-width:0!important;overflow-wrap:anywhere!important}
#appShell .cards>.metric:nth-child(2n),#appShell .page-cards>.info-card:nth-child(2n){background:linear-gradient(145deg,#06499F,#075BCE)!important;border-color:#064FAF!important}
#appShell .cards>.metric:nth-child(3n),#appShell .page-cards>.info-card:nth-child(3n){background:linear-gradient(145deg,#075BCE,#3A8AEA)!important;border-color:#116CD7!important}
#appShell .cards>.metric *,#appShell .page-cards>.info-card *,#appShell .cards>.metric .metric-label,#appShell .cards>.metric .metric-value,#appShell .cards>.metric .metric-foot,#appShell .page-cards>.info-card .big,#appShell .page-cards>.info-card .eyebrow,#appShell .page-cards>.info-card p{color:#FFFFFF!important}
#appShell .cards>.metric .metric-icon{background:#FFFFFF28!important;color:#FFFFFF!important}
#appShell .main .panel,#appShell .main .chart-card,#appShell .main .table-card,#appShell .main .info-card:not(.page-cards>.info-card),#appShell .main .config-box,#appShell .main .quick,#appShell .main .subscription-card,#appShell .main .portal-card,#appShell .main .report-card,#appShell .main .empty-card,#appShell .main .table-wrap,#appShell .main .table-scroll,#appShell .main .table-panel,#appShell .main .form-panel,#appShell .main .chart-panel{background:#FFFFFF!important;color:#142D50!important;border:1px solid #D8E6F8!important;box-shadow:0 6px 22px #075BCE0B!important;border-radius:13px!important}
#appShell .main .panel h2,#appShell .main .panel h3,#appShell .main .config-box h2,#appShell .main .config-box h3,#appShell .main .quick b,#appShell .main .quick strong{color:#15365D!important}
#appShell .main p,#appShell .main .subhead,#appShell .main .metric-foot,#appShell .main .hint,#appShell .main .empty,#appShell .main small,#appShell .main .chart-hint{color:#526A8A!important}
#appShell .main .cards>.metric small,#appShell .main .cards>.metric .metric-foot,#appShell .main .page-cards>.info-card p,#appShell .main .page-cards>.info-card small{color:#FFFFFF!important}
#appShell .main .quick-grid .quick{background:#FFFFFF!important;border:1px solid #C9DDF8!important;color:#075BCE!important;border-radius:12px!important;min-height:92px!important;box-shadow:none!important}
#appShell .main .quick-grid .quick .qi,#appShell .main .quick-grid .quick b,#appShell .main .quick-grid .quick strong{color:#075BCE!important}
#appShell .main .table-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
#appShell .main table,#appShell .main td,#appShell .main .table td,#appShell .main .table-wrap td{color:#142D50!important;border-color:#E3EDFB!important;background:#FFFFFF!important;font-size:13px!important;line-height:1.5!important;overflow-wrap:anywhere!important}
#appShell .main th,#appShell .main .table th,#appShell .main .table-wrap th{color:#153F78!important;background:#EAF3FF!important;border-color:#D4E4F9!important;font-size:12px!important}
#appShell .main tr:hover td{background:#F4F8FF!important}
/* Form inputs throughout app and modals: actual input value stays readable on focus & autofill */
#appShell label,#appShell .field label,#appShell .form-row label,#appShell .filter-bar label,#overlay label,#overlay .field label{color:#193D69!important;font-size:13px!important;font-weight:730!important;line-height:1.55!important}
#appShell input:not([type=checkbox]):not([type=radio]),#appShell textarea,#appShell select,#overlay input:not([type=checkbox]):not([type=radio]),#overlay textarea,#overlay select{background:#FFFFFF!important;background-color:#FFFFFF!important;color:#142D50!important;-webkit-text-fill-color:#142D50!important;caret-color:#075BCE!important;border:1px solid #B7CFEF!important;border-radius:9px!important;font-size:16px!important;line-height:1.5!important;min-height:45px!important;padding:10px 12px!important;box-shadow:none!important;opacity:1!important;max-width:100%!important;color-scheme:light!important}
#appShell textarea,#overlay textarea{min-height:90px!important;resize:vertical!important}
#appShell input::placeholder,#appShell textarea::placeholder,#overlay input::placeholder,#overlay textarea::placeholder{color:#637D9E!important;-webkit-text-fill-color:#637D9E!important;opacity:1!important}
#appShell input:focus,#appShell textarea:focus,#appShell select:focus,#overlay input:focus,#overlay textarea:focus,#overlay select:focus{background:#FFFFFF!important;color:#142D50!important;-webkit-text-fill-color:#142D50!important;border-color:#075BCE!important;outline:2px solid #075BCE!important;outline-offset:1px!important;box-shadow:0 0 0 3px #075BCE18!important}
#appShell input:-webkit-autofill,#overlay input:-webkit-autofill{-webkit-box-shadow:0 0 0 100px #FFFFFF inset!important;-webkit-text-fill-color:#142D50!important}
#appShell input[type=checkbox],#appShell input[type=radio],#overlay input[type=checkbox],#overlay input[type=radio]{accent-color:#075BCE!important}
#overlay .modal-back{background:#12274C91!important}
#overlay .modal-back .modal,#overlay .modal,#overlay .dialog,#overlay .modal-content,#overlay .modal-card{background:#FFFFFF!important;color:#142D50!important;border:1px solid #C9DDF8!important;border-radius:15px!important;box-shadow:0 22px 65px #063C882F!important;overflow-y:auto!important;max-height:calc(100dvh - 24px)!important}
#overlay .modal h2,#overlay .modal h3,#overlay .dialog h2,#overlay .modal-content h2{color:#15365D!important}
#overlay .modal p,#overlay .modal label,#overlay .dialog p{color:#526A8A!important}
#appShell button.primary,#appShell .primary,#appShell .primary.lime,#overlay .primary,#overlay button[type=submit],#authScreen .primary:not(.outline){background:#075BCE!important;background-image:none!important;color:#FFFFFF!important;border:1px solid #075BCE!important;border-radius:9px!important;box-shadow:0 4px 13px #075BCE1B!important;font-weight:760!important;min-height:41px}
#appShell .primary:hover,#overlay .primary:hover,#authScreen .primary:not(.outline):hover{background:#06499F!important;border-color:#06499F!important}
#appShell .primary.outline,#authScreen .primary.outline,#overlay .primary.outline{background:#FFFFFF!important;color:#075BCE!important;border:1px solid #9ABDED!important;box-shadow:none!important}
#appShell .primary.outline:hover,#authScreen .primary.outline:hover{background:#EAF3FF!important}
#appShell .table-action,#appShell .icon-btn,#appShell .logout-button,#appShell .quiet-button,#overlay .quiet-button,#overlay .table-action{background:#FFFFFF!important;color:#075BCE!important;border:1px solid #B7CFEF!important;border-radius:9px!important}
#appShell .segmented,#appShell .segmented button{background:#FFFFFF!important;color:#075BCE!important;border-color:#C9DDF8!important}
#appShell .segmented button.active{background:#075BCE!important;color:#FFFFFF!important}
#appShell .status.ok{background:#EAF3FF!important;color:#075BCE!important}#appShell .status.live,#appShell .status.pending{background:#EAF3FF!important;color:#075BCE!important}
#appShell .location-support-grid{background:#F4F8FF!important;border-color:#C9DDF8!important}
#appShell :focus-visible,#authScreen :focus-visible,#overlay :focus-visible{outline:3px solid #075BCE!important;outline-offset:2px!important}
/* Phones, tablets, narrow desktops */
@media(max-width:1100px){#authScreen .landing-site-links{gap:12px}#authScreen .landing-site-links a{font-size:12px}.np-hero{gap:25px}.np-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){#authScreen .landing-site-links{display:none!important}#authScreen .landing-nav{min-height:70px!important;justify-content:space-between!important}#authScreen .landing-brand{flex:1}#authScreen .landing-brand img{width:160px!important}#authScreen .landing-layout{min-height:calc(100dvh - 70px)!important}.np-hero{grid-template-columns:1fr;padding:58px 24px 70px;gap:45px;min-height:unset}.np-hero-copy{max-width:660px}.np-hero-visual{max-width:650px;margin:0 auto;width:100%}.np-why{gap:25px;padding:64px 24px}.np-contact{flex-wrap:wrap;justify-content:flex-start;gap:20px}.np-contact-actions{width:100%}#appShell .sidebar{max-width:min(88vw,310px)!important}#appShell .topbar-netpesa-mark{width:82px!important}}
@media(max-width:600px){#authScreen .landing-nav{padding:8px 14px!important;gap:7px!important}#authScreen .landing-brand img{width:128px!important}#authScreen .landing-actions{gap:6px!important}#authScreen .landing-actions button{min-width:0!important;padding:8px 10px!important;font-size:12px!important;min-height:40px!important}#authScreen #homeHero .np-hero h1{font-size:clamp(36px,10.6vw,55px)!important;letter-spacing:-.045em!important}#authScreen #homeHero .np-hero-copy>p{font-size:15px!important}.np-hero{padding:48px 18px 60px}.np-hero-buttons{align-items:stretch}.np-hero-buttons button{flex:1 1 100%}.np-trust{gap:10px 12px}.np-visual-stats>div{min-height:100px;padding:10px}.np-visual-stats b{font-size:16px}.np-visual-content{padding:12px}.np-hero-float{position:static;margin:17px auto 0;max-width:max-content}.np-visual-chip{display:none}.np-visual-lower{grid-template-columns:1fr}.np-visual-tools{display:none}.np-section{padding:65px 18px}.np-feature-grid,.np-process-grid,.np-faq-grid{grid-template-columns:1fr}.np-why{grid-template-columns:1fr;gap:45px}.np-why>div:first-child{justify-self:start}.np-device-card{justify-self:center;transform:none}.np-contact{padding-bottom:80px}.np-site-footer{grid-template-columns:1fr}.np-footer-links{gap:14px}#authScreen .register-card,#authScreen .login-card{width:calc(100% - 24px)!important;margin:22px auto!important;padding:19px!important;max-width:100%!important}#authScreen .register-grid{grid-template-columns:1fr!important;gap:1px!important}#authScreen .register-card h2,#authScreen .login-card h2{font-size:24px!important}#authScreen .register-card .field,#authScreen .login-card .field{margin:10px 0!important}#appShell .main{padding:13px!important}#appShell .topbar{padding:0 10px!important}#appShell .topbar-netpesa-mark{display:block!important;width:76px!important;height:29px!important;margin-right:4px!important}#appShell .topbar .crumb{display:none!important}#appShell .business-text{display:none!important}#appShell .top-actions .icon-btn{display:none!important}#appShell .cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}#appShell .cards>.metric{padding:11px!important;min-height:106px!important}#appShell .cards>.metric .metric-value{font-size:clamp(15px,4.5vw,22px)!important;line-height:1.3!important;overflow-wrap:anywhere!important}#appShell .page-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}#appShell .main .head-row{flex-wrap:wrap!important;gap:12px!important}#appShell .main .head-controls{flex-wrap:wrap!important}#appShell .main .content-grid{grid-template-columns:1fr!important}#appShell .main .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}#appShell .main .table-wrap{max-width:100%!important}#overlay .modal{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;padding:15px!important}}
@media(max-width:380px){#authScreen .landing-brand img{width:114px!important}#authScreen .landing-actions button{padding:8px!important;font-size:11px!important}.np-visual-stats{gap:6px}.np-visual-stats>div{padding:8px}.np-visual-stats span,.np-visual-stats small{font-size:9px}#appShell .cards>.metric .metric-value{font-size:15px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
