/* R27: explicit foreground/surface pairs, including browser autofill. */
html body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),html body textarea,html body select{background-color:#fff!important;color:#172b40!important;-webkit-text-fill-color:#172b40!important;caret-color:#172b40!important;color-scheme:light;border-color:#64748b!important}
html body input::placeholder,html body textarea::placeholder{color:#526276!important;-webkit-text-fill-color:#526276!important;opacity:1!important}
html body input:autofill,html body input:-webkit-autofill,html body input:-webkit-autofill:hover,html body input:-webkit-autofill:focus{box-shadow:0 0 0 1000px #e8f0fe inset!important;-webkit-text-fill-color:#172b40!important;caret-color:#172b40!important}
html body .cj-login-card input{background:#e8f0fe!important;color:#172b40!important;-webkit-text-fill-color:#172b40!important}
html body .cj-login-card .MuiInputBase-root{background:#e8f0fe!important;color:#172b40!important;border-radius:8px}
html body .cj-login-card button.MuiIconButton-root{color:#17375e!important;background:transparent!important}
html body .cj-login-card .MuiInputAdornment-root{background:#e8f0fe!important}
html body .cj-login-card label{color:#f1f5f9!important}
html body .cj-login-card input:disabled{opacity:1!important;-webkit-text-fill-color:#334155!important}
html body :is(.cj-stat-card,.cj-page-section,.cj-my-list-item,.cj-native-module-item){color:#172b40}
html body :is(.cj-stat-card,.cj-page-section) small{color:#475569}
html body #cj-native-route-layer .cj-my-tabs{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin:12px 0!important}
html body #cj-native-route-layer .cj-my-tab{color:#17375e!important;background:#fff!important;border:1px solid #64748b!important;min-height:40px}
html body #cj-native-route-layer .cj-my-tab.active{background:#073f70!important;color:#fff!important;border-color:#073f70!important}
html body #cj-native-route-layer .cj-my-mobile-nav,html body #cj-native-route-layer .cj-my-footer{display:none!important}
html body #cj-native-route-layer .cj-my-content{min-height:0!important}
html body #cj-native-route-layer .cj-my-hero{align-items:center!important}
html body #cj-native-route-layer .cj-my-brief:empty{display:none}
html body #cj-native-route-layer .cj-my-section-picker{display:none}
html body #cj-native-route-layer .cj-my-section-error button{background:#fff;color:#8f1515;border:1px solid #8f1515;border-radius:5px;padding:8px;margin:4px}
html body #cj-mobile-navigation{grid-template-columns:repeat(5,minmax(0,1fr))!important}
html body #cj-mobile-navigation a{min-width:0!important;color:#234052!important;background:#fff!important}
html body #cj-mobile-navigation a[aria-current=page]{color:#fff!important;background:#073f70!important}
html body #cj-mobile-navigation span{font-size:11px!important;line-height:1.3!important}
@media(max-width:700px){html body #cj-native-route-layer .cj-my-tabs{display:none!important}html body #cj-native-route-layer .cj-my-section-picker{display:flex;align-items:center;gap:10px;margin:12px 0;color:#172b40;font-weight:600}html body #cj-native-route-layer .cj-my-section-picker select{flex:1;min-width:0;height:44px;padding:8px;border-radius:7px}html body #cj-native-route-layer .cj-my-content .cj-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body #cj-native-route-layer .cj-my-content .cj-stat-card{min-width:0;padding:12px 8px!important}html body #cj-native-route-layer .cj-my-content .cj-stat-card h3{font-size:16px!important;overflow-wrap:anywhere}html body #cj-native-route-layer{padding-bottom:calc(88px + env(safe-area-inset-bottom))!important}html body #cj-native-route-layer .cj-my-identity h2{font-size:17px!important}html body #cj-native-route-layer .cj-my-chip{font-size:11px!important}}
html[data-cj-native-route="1"] main.content>:not(.page-modal-overlay){visibility:hidden!important;pointer-events:none!important}
html[data-cj-native-route="1"] #cj-operational-summary{display:none!important}
@media(max-width:700px){html[data-cj-native-route="1"] .page-modal-overlay{position:fixed!important;inset:56px 0 0!important;height:calc(100dvh - 56px)!important;padding:0!important;align-items:stretch!important}html[data-cj-native-route="1"] .page-modal-window{margin:0!important;width:100%!important;height:100%!important;max-height:none!important;border-radius:0!important}html[data-cj-native-route="1"] .page-modal-body{padding:10px!important}}
html body .loading-text,html body .cj-loading{color:#475569!important}
html body #cj-native-route-layer .cj-stat-card{border-radius:9px}
html body .top-header .cj-ai-launcher{color:#fff!important}
html body .cj-native-module-card.record>header{color:#172b40!important}
html body .cj-native-module-card.record>header :is(strong,span){color:#172b40!important}
html body .page-modal-overlay,html body .page-modal-window{animation:none!important}
html body main.content:has(>.page-modal-overlay:not(.is-minimized))>:not(.page-modal-overlay):not(.page-modal-taskbar-root){visibility:hidden!important;pointer-events:none!important}
@media(max-width:700px){html body .page-modal-overlay:not(.is-minimized){position:fixed!important;inset:56px 0 0!important;height:calc(100dvh - 56px)!important;padding:0!important;align-items:stretch!important}html body .page-modal-window{margin:0!important;width:100%!important;height:100%!important;max-height:none!important;border-radius:0!important}}
html body button.MuiButton-variantOutlined:not(:disabled){color:#17375e!important;background-color:#fff!important;border-color:#64748b!important}
html body button.MuiButton-variantSolid.MuiButton-colorPrimary:not(:disabled){color:#fff!important;background-color:#075c97!important}
html body .MuiBox-root.css-12zbl7{color:#526276!important}
