/* Portflow Africa: extracted utility styles + ORBISYN scoped adaptation. */
:root{--pf-navy:#0b2046;--pf-blue:#007df0;--pf-azure:#00a3ff;--pf-dark:#142238;--pf-bg:#f4f7fb;--pf-line:#dbe5f0;--pf-ink:#183453;--catalog-width:338px}
body{font-family:Montserrat,Inter,system-ui,sans-serif;-webkit-font-smoothing:antialiased}header{background:#fff;color:var(--pf-ink);border-bottom:1px solid var(--pf-line);box-shadow:0 2px 12px #0b20461a}.site b,header .brand{color:#0b2046}.site small,header .brand small{color:#64748b}.top-actions .demo{background:#ecfdf5;color:#16704b;border:1px solid #bbebd0}.top-actions button,.viewtools button,.seg button,.viewbottom button,.part-tools button,.cctv-toolbar button,.cam-switch button,.read-pager button,#closeModal,.v3-close{background:white;color:#1b4272;border:1px solid #dbe5f0;border-radius:8px;box-shadow:0 2px 7px #09264b12;font-size:12px;font-weight:600;transition:background .2s,color .2s,border-color .2s}.top-actions button:hover,.viewtools button:hover,.seg button:hover,.part-tools button:hover,.cctv-toolbar button:hover,.cam-switch button:hover{background:#eaf4ff;color:#005fb8;border-color:#9bcbff}.seg button.active,.viewtools button.active,.cam-switch button.active,.cctv-toolbar button.active{background:#007df0;border-color:#007df0;color:white}
.login-screen{background:linear-gradient(135deg,#081e3f,#0a2754);grid-template-columns:minmax(0,1.18fr) minmax(360px,1fr)}.login-visual{background:linear-gradient(135deg,rgba(8,28,62,.91),rgba(10,39,84,.69),rgba(4,18,42,.88)),url('assets/photos/filters.jpg') center/cover no-repeat;border:0}.login-visual .brand,.login-caption h1{color:white}.login-caption h1{font-weight:800;letter-spacing:-1.4px}.login-formarea{background:transparent}.login-formbox{background:#fff;color:#142238;border:1px solid #e2e8f0;border-radius:24px;padding:34px;max-width:460px;box-shadow:0 22px 55px #0004}.login-formbox h1{font-size:30px;letter-spacing:-1px;color:#0b2046;font-weight:800}.login-formbox>p{color:#64748b;line-height:1.6;margin-bottom:22px}.login-formbox .eyebrow{color:#007df0}.login-formbox form label.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.login-formbox form input{height:48px;background:#f8fafc;color:#1e293b;border:1px solid #e2e8f0;border-radius:12px;padding:12px 44px;font-size:14px;box-shadow:none}.login-formbox form input:focus{outline:2px solid #93c5fd;border-color:#007df0}.login-formbox form button[type=submit]{width:100%;height:48px;background:#007df0;color:white;border:0;border-radius:12px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:8px}.login-formbox form button[type=submit]:hover{background:#006bd1}.login-formbox #showPass{background:transparent;border:0;box-shadow:none;color:#64748b;padding:0 14px;position:absolute;right:0;top:0;bottom:0}.login-formbox .login-note{background:#eff6ff;border:1px solid #dbeafe;color:#1d4e86;border-radius:12px}.login-formbox>small{color:#64748b}.login-formbox #loginError{color:#b91c1c}
.left{width:var(--catalog-width);min-width:0;max-width:none;display:flex;flex-direction:column;overflow:hidden!important;background:#09264b;border:1px solid #274b72;border-radius:14px;box-shadow:0 14px 40px rgba(10,31,60,.22);color:#fff}.left .v3nav,.left .sidehead,.left .search{flex-shrink:0}.left .v3nav{padding:10px;gap:5px;border-color:#ffffff18}.v3nav button{background:transparent;color:#c7d7e9;border:1px solid transparent;border-radius:8px;font-size:11px;min-height:35px;padding:8px;box-shadow:none}.v3nav button:hover{background:#ffffff0d;color:white}.v3nav button.active{background:#0085ff;color:#fff;border-color:#0085ff;box-shadow:0 2px 8px #0002}.v3nav button .count{background:#ffffff19}.left .sidehead{padding:10px 14px 7px}.left .sidehead h2{font-size:16px;color:white}.left .sidehead small,.left .eyebrow{color:#b8cbe3}.left .search{padding:0 12px 10px}.left .search input{height:39px;background:#fff;color:#142238;border:1px solid #dbe5f0;border-radius:9px;font-size:12px}.left .search input::placeholder{color:#8192a7}.catalog-scroll{min-height:0;flex:1 1 auto;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#7996b8 #0d2c53;padding:0 10px 10px}.catalog-scroll #nav{overflow:visible!important;max-height:none!important;min-height:0;padding:0;display:flex;flex-direction:column;gap:12px}.catalog-scroll #nav[hidden],.catalog-scroll .v3-panel[hidden],.asset-card[hidden]{display:none!important}.catalog-scroll .v3-panel{overflow:visible!important;max-height:none!important;padding:4px 0 0}.nav .asset-card{display:block;width:100%;flex-shrink:0;padding:0;margin:0;overflow:hidden;border:1px solid #dbe5f0;border-radius:12px;background:#fff;color:#183453;text-align:left;transition:border-color .18s,box-shadow .18s;min-height:0}.nav .asset-card:hover,.nav .asset-card.active{border-color:#0085ff;box-shadow:0 0 0 2px #0085ff88}.asset-picture{height:252px;position:relative;display:flex;align-items:center;justify-content:center;padding:20px 12px 18px;background:#f3f6fa;overflow:hidden}.asset-picture img{width:100%;height:100%;object-fit:contain;filter:grayscale(.35);display:block;transition:filter .2s;max-width:none}.asset-card:hover img,.asset-card.active img{filter:none}.asset-ref,.asset-state{position:absolute;top:9px;border-radius:7px;padding:5px 8px;background:#fff;color:#1b4272;font-size:10px;font-weight:700;box-shadow:0 1px 4px #0b20461a}.asset-ref{left:9px}.asset-state{right:9px;color:#166534;background:#dcfce7}.asset-card[data-state=warn] .asset-state{color:#92400e;background:#fef3c7}.asset-card[data-state=critical] .asset-state{color:#991b1b;background:#fee2e2}.asset-card[data-state=plan] .asset-state{color:#475569;background:#e2e8f0}.asset-caption{display:block;padding:12px 13px}.asset-caption b{font-size:13px;color:#0b2046;white-space:normal;line-height:1.35;display:block}.asset-caption small.image-origin{font-size:9px;color:#64748b;white-space:normal;line-height:1.3;display:block;margin-top:4px}.v3-panel h3{color:#fff}.v3-panel p{color:#c7d7e9}.v3-panel .v3-event{background:#fff;color:#183453;border-color:#dbe5f0;border-radius:12px;box-shadow:0 3px 10px #0001}.v3-panel .v3-event:hover{background:#eff6ff}.v3-panel .v3-event small,.v3-panel .v3-event small:nth-child(2){color:#475569}.v3-panel select{color:#183453;background:white;border-color:#dbe5f0}
.viewport-top,.roomtitle,.viewbottom{left:calc(var(--catalog-width) + 40px)}.v3-kpis button{background:#fff;border:1px solid #dbe5f0;color:#183453;box-shadow:0 3px 15px #0b20461b;border-radius:12px}.v3-kpis small,.v3-kpis b em{color:#64748b}.v3-kpis button:nth-child(3) b{color:#a16207}.v3-kpis button:nth-child(4) b{color:#b91c1c}.detail,.modalbody{background:#fff;color:#183453;border:1px solid #dbe5f0;border-radius:16px;box-shadow:0 14px 40px rgba(10,31,60,.22)}.detail{width:min(590px,calc(100vw - var(--catalog-width) - 64px));--muted:#64748b;--line:#dbe5f0}.detailtop .eyebrow,.modalhead .eyebrow{color:#007df0}.detailtop p,.modalhead small,.read-intro small,.detail .note,.modalbody .note{color:#64748b}.detail .tabs{border-color:#e2e8f0}.detail .tabs button{background:#f1f5f9;color:#475569;border-color:#e2e8f0;border-radius:8px}.detail .tabs button.active{background:#007df0;color:white;border-color:#007df0}.detail .read-card,.detail .read-history article,.detail .read-next,.detail .diag-block,.detail .metric,.detail .doc-grid a,.detail .read-signal,.component-spec>div{background:#f8fafc;color:#183453;border:1px solid #e2e8f0;border-radius:12px}.detail .read-card small,.detail .read-card em,.detail .read-history small,.detail .read-history p,.detail .diag-block small,.component-spec small,.component-title small,.component-history p{color:#64748b}.detail .read-card b,.detail .read-history b,.component-spec b{color:#0b2046}.detail .read-live,.detail .read-intro b,.detail .read-next b{color:#1d4e86}.detail .read-signal.warn{background:#fffbeb;border-color:#fde68a}.detail .read-signal.critical{background:#fef2f2;border-color:#fecaca}.detail .read-signal small{color:#475569}.detail .read-signal b{color:#183453}.detail .status.ok,.component-title .status.ok{background:#dcfce7;color:#166534;border-color:#bbf7d0}.detail .status.warn,.component-title .status.warn{background:#fef3c7;color:#92400e;border-color:#fde68a}.detail .status.critical{background:#fee2e2;color:#991b1b;border-color:#fecaca}.part-explore{background:#007df0;color:white;border:0;border-radius:8px}.part-stage{background:#f4f7fb;border-color:#dbe5f0;color:#183453}.part-stage>small{color:#64748b}.component-title h3{color:#0b2046}.component-history{border-color:#dbe5f0}.modalbody:has(.part-layout){width:min(1100px,95vw)}.part-layout{grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr)}.part-view{height:clamp(300px,50vh,520px)}.feed-credit,.feed-credit a,.cctv-toolbar #feedClock{color:#475569}.modalbody .cam-switch button{white-space:normal}.cctv-overlay{color:white}.modalhead{border-color:#e2e8f0}.modalhead h2{color:#0b2046}
@media(max-width:1000px){:root{--catalog-width:290px}.asset-picture{height:220px}.detail{width:min(560px,calc(100vw - var(--catalog-width) - 50px))}}@media(max-width:800px){:root{--catalog-width:230px}.left{width:var(--catalog-width);top:auto;bottom:48px;max-height:44vh}.asset-picture{height:190px}.left .v3nav button{min-height:30px;font-size:9px;padding:4px}.left .sidehead{padding:6px 12px}.left .sidehead h2{font-size:13px}.left .sidehead small{display:none}.viewport-top,.roomtitle,.viewbottom{left:8px}.detail{width:auto;left:8px;right:8px;max-height:calc(100% - 75px)}.part-layout{grid-template-columns:1fr}.part-view{height:300px}.login-screen{display:flex;flex-direction:column}.login-visual{min-height:280px}.login-formarea{padding:24px}.login-formbox{padding:24px}.top-actions button{font-size:10px}.v3-kpis button{padding:7px}.v3-kpis b{font-size:18px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
