/* U-BE Enterprise UI — presentation layer only. No business logic. */
:root{--bg:#f4f7fb;--surface:#fff;--surface-2:#f7f9fc;--ink:#12213a;--muted:#6b7b93;--line:#dce5ef;--navy:#102c49;--navy2:#173f63;--blue:#087cf0;--blue-soft:#eaf4ff;--green:#13a56b;--orange:#f08a19;--red:#ef5350;--purple:#7a4de8;--cyan:#12a7c7;--shadow:0 1px 3px rgba(20,40,65,.07);--radius:9px}
html,body{font-size:12px}body{background:var(--bg);color:var(--ink);line-height:1.35;overflow-x:hidden}.topbar{height:50px;padding:0 14px;gap:10px;background:rgba(255,255,255,.97);border:0;border-bottom:1px solid #dbe4ed;color:#16324f;box-shadow:0 1px 8px rgba(16,40,65,.07);backdrop-filter:blur(8px)}.brand-link{min-width:205px;width:205px;gap:8px;color:#16324f}.brand-mark{width:175px;height:43px;border-radius:0;background:transparent;object-fit:contain;object-position:left center}.brand-copy strong{font-size:16px;letter-spacing:.04em;color:#fff}.brand-copy span{font-size:8px;letter-spacing:.03em;color:#c9d8e7;margin-top:2px}.global-search{max-width:none;flex:1}.global-search input{height:32px;border:1px solid #d7e1eb;background:#fff;border-radius:5px;font-size:11px;color:#27384d;padding-left:34px}.global-search span{top:4px;left:11px;font-size:17px;color:#71839a}.top-actions{gap:6px}.top-icon{width:30px;height:30px;border:0;background:transparent;color:#48627c;font-size:14px}.user-pill{font-size:10px;background:transparent;color:#16324f;padding:4px 6px;max-width:145px}.top-actions .btn{min-height:28px;padding:4px 8px;border:1px solid #d5e0ea;background:#fff;color:#23435f;font-size:10px}.top-actions .btn.primary{background:#087cf0;color:#fff;border-color:#087cf0}.mobile-menu-btn{display:none}.app-shell{grid-template-columns:202px minmax(0,1fr);min-height:calc(100vh - 42px)}.sidebar{background:#fff;color:#334b66;padding:9px 7px;top:42px;height:calc(100vh - 42px);border-right:1px solid #dce4ec;box-shadow:1px 0 5px rgba(16,40,65,.04)}.sidebar::-webkit-scrollbar{width:6px}.sidebar::-webkit-scrollbar-thumb{background:#cbd6e2}.sidebar-brand{display:none}.workspace-chip{margin:0 2px 7px;padding:7px 8px;background:#f5f8fb;border:1px solid #e5ebf1;border-radius:6px}.workspace-chip strong{font-size:9px;color:#28445f}.workspace-chip small{font-size:8px;color:#7b8da2}.status-dot{width:7px;height:7px;background:#20b978;box-shadow:none}.sidebar-section{margin:10px 6px 3px;color:#71839a;font-size:8px;letter-spacing:.07em;font-weight:600}.sidebar a{gap:7px;color:#38516c;padding:5px 7px;border-radius:5px;font-size:10px;font-weight:400;margin:0;line-height:1.25}.sidebar a:hover,.sidebar a.active{background:#e9f3ff;color:#0874dd}.nav-ico{width:18px;height:18px;border-radius:4px;background:transparent;color:#637992;font-size:8px}.sidebar a.active .nav-ico{background:#087cf0;color:#fff}.main-content{min-width:0}.container{max-width:none;padding:15px 18px 28px;min-height:calc(100vh - 42px)}.page-head{margin-bottom:11px;gap:12px}.page-head h1{font-size:22px;letter-spacing:-.025em}.page-head h2{font-size:15px}.page-head h3{font-size:13px}.page-head p{font-size:10px}.btn{min-height:30px;padding:5px 10px;border-radius:5px;font-size:10px;font-weight:750;box-shadow:none}.btn:hover{transform:none;box-shadow:0 2px 8px rgba(16,24,40,.08)}.card{border-radius:9px;padding:11px;margin-bottom:10px;box-shadow:var(--shadow);border:1px solid #dce5ee}.card h2{font-size:14px}.card h3{font-size:12px}.grid{gap:9px}.grid-2,.grid-3{gap:9px}.kpi{padding:11px}.kpi span{font-size:9px}.kpi strong{font-size:19px;margin:3px 0}.kpi small{font-size:9px}.table-wrap{border-radius:6px}.table{font-size:10px}.table th{font-size:8px}.table th,.table td{padding:6px 7px}.badge{padding:3px 6px;font-size:8px}.field{margin-bottom:9px}.field label{font-size:9px;margin-bottom:4px}.field input,.field select,.field textarea{padding:7px 8px;border-radius:5px;font-size:10px}.notice{padding:8px 10px;margin-bottom:9px;border-radius:6px;font-size:10px}.dashboard-banner{padding:14px 16px;border-radius:9px;margin-bottom:9px;box-shadow:var(--shadow)}.dashboard-banner h1{font-size:20px}.dashboard-banner p{font-size:10px}.banner-chip{padding:4px 7px;font-size:8px}.quick-actions{gap:6px}.quick-action{padding:8px 9px;border-radius:6px;font-size:9px}.section-title{margin:13px 0 7px}.section-title h2{font-size:15px}.section-title p{font-size:9px}.focus-grid{gap:6px}.focus-box{padding:8px;border-radius:6px}.focus-box strong{font-size:16px}.focus-box span{font-size:8px}.workflow{gap:4px;padding-bottom:6px}.workflow-step{min-width:78px;font-size:9px}.workflow-step .circle{width:29px;height:29px;margin-bottom:4px;font-size:8px}.workflow-arrow{font-size:11px}.actions{gap:6px}.footer{padding:12px;font-size:9px}.hero h1{font-size:42px}.feature-card{padding:12px}.feature-card h3{font-size:13px}.feature-card p{font-size:10px}
/* Command Centre */
.ube-dash-head{display:flex;justify-content:space-between;align-items:flex-end;gap:10px;margin-bottom:10px}.ube-dash-head .crumb{font-size:9px;color:#7a8da3;margin-bottom:3px}.ube-dash-head h1{margin:0;font-size:21px;letter-spacing:-.025em}.ube-dash-head p{margin:2px 0 0;font-size:9px;color:#74869c}.ube-dash-actions{display:flex;align-items:center;gap:6px}.ube-select{height:30px;border:1px solid #d5dfe9;border-radius:5px;background:#fff;padding:0 8px;font-size:9px;color:#3c536d}.ube-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:9px}.ube-kpi{background:#fff;border:1px solid #dbe4ed;border-radius:8px;padding:9px;min-width:0;position:relative;display:grid;grid-template-columns:38px 1fr;gap:8px;align-items:center;box-shadow:var(--shadow)}.ube-kpi .kico{width:38px;height:38px;border-radius:7px;display:grid;place-items:center;font-size:16px;font-weight:800;color:#fff}.ube-kpi:nth-child(1) .kico{background:#2588f4}.ube-kpi:nth-child(2) .kico{background:#11a36a}.ube-kpi:nth-child(3) .kico{background:#f08a19}.ube-kpi:nth-child(4) .kico{background:#7a4de8}.ube-kpi:nth-child(5) .kico{background:#ef5350}.ube-kpi:nth-child(6) .kico{background:#10a6c8}.ube-kpi .klbl{font-size:8px;color:#71839a}.ube-kpi strong{display:block;font-size:15px;margin:1px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ube-kpi small{font-size:8px;color:#708198}.ube-up{color:#129765!important}.ube-warn{color:#ed5a4e!important}.ube-main-grid{display:grid;grid-template-columns:1.55fr 1fr .72fr;gap:9px;margin-bottom:9px}.ube-panel{background:#fff;border:1px solid #dbe4ed;border-radius:8px;box-shadow:var(--shadow);padding:10px;min-width:0}.ube-panel-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}.ube-panel-head h3{margin:0;font-size:11px}.ube-panel-head a{font-size:8px;font-weight:750}.module-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.module-tile{border:1px solid #e1e8ef;border-radius:6px;padding:8px;display:flex;align-items:center;gap:7px;background:#fbfcfe}.module-tile:hover{border-color:#b8d7f8;background:#f7fbff}.module-tile .mi{width:25px;height:25px;border-radius:5px;display:grid;place-items:center;font-weight:800;font-size:10px;background:#eaf4ff;color:#087cf0;flex:none}.module-tile:nth-child(3n) .mi{background:#fff3e5;color:#ef8b1a}.module-tile:nth-child(4n) .mi{background:#f1ebff;color:#7a4de8}.module-tile strong{display:block;font-size:9px}.module-tile span{display:block;font-size:7px;color:#7a8da3;margin-top:1px}.alert-list{display:grid;gap:1px}.alert-row{display:flex;align-items:center;justify-content:space-between;padding:6px 0;border-bottom:1px solid #edf1f5;font-size:9px}.alert-row:last-child{border-bottom:0}.alert-left{display:flex;align-items:center;gap:6px;min-width:0}.dot{width:6px;height:6px;border-radius:50%;background:#ef5350}.dot.amber{background:#f08a19}.dot.blue{background:#2588f4}.dot.green{background:#13a56b}.count{min-width:19px;height:17px;padding:0 5px;border-radius:9px;display:grid;place-items:center;background:#f0f3f7;color:#53677f;font-size:8px;font-weight:800}.count.red{background:#ffe9e8;color:#e24b46}.count.orange{background:#fff0dc;color:#d97809}.count.blue{background:#e6f2ff;color:#0874dd}.count.green{background:#e4f7ef;color:#11875a}.trend-wrap{height:180px;position:relative}.trend-svg{width:100%;height:100%;display:block}.trend-legend{display:flex;justify-content:center;gap:14px;font-size:8px;color:#61758d;margin-top:-4px}.legend-dot{width:7px;height:7px;border-radius:50%;display:inline-block;margin-right:3px}.ube-bottom-grid{display:grid;grid-template-columns:1.5fr 1fr .72fr;gap:9px;margin-bottom:9px}.ube-list-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.rank-row{display:flex;align-items:center;gap:7px;padding:6px 0;border-bottom:1px solid #edf1f5;font-size:9px}.rank-row:last-child{border-bottom:0}.rank-row .name{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rank{width:17px;color:#8191a5}.amount{font-weight:750;white-space:nowrap}.bar-row{display:grid;grid-template-columns:90px 1fr 72px;align-items:center;gap:7px;padding:6px 0;font-size:8px}.bar-bg{height:9px;background:#edf1f5;border-radius:3px;overflow:hidden}.bar{height:100%;border-radius:3px;background:#2588f4}.bar.green{background:#13a56b}.bar.orange{background:#f08a19}.bar.purple{background:#7a4de8}.bar.red{background:#ef5350}.stock-list{display:grid}.stock-row{display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px solid #edf1f5;font-size:9px}.stock-row:last-child{border-bottom:0}.stock-row strong{font-size:9px}.system-row{display:flex;justify-content:space-between;padding:5px 0;border-bottom:1px solid #edf1f5;font-size:8px}.system-row:last-child{border-bottom:0}.enterprise-badge{background:#eaf4ff;color:#0874dd;border-radius:10px;padding:4px 7px;font-size:7px;font-weight:800}.ube-recent .table{min-width:0}.ube-recent .table th,.ube-recent .table td{padding:5px 6px;font-size:8px}.ube-recent .table th{font-size:7px}.dash-footer{display:flex;justify-content:space-between;color:#8392a5;font-size:8px;padding:6px 1px}
@media(max-width:1250px){.ube-kpis{grid-template-columns:repeat(3,1fr)}.ube-main-grid,.ube-bottom-grid{grid-template-columns:1fr}.module-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:900px){.topbar{height:42px}.brand-link{min-width:auto}.brand-copy{display:none}.mobile-menu-btn{display:inline-flex}.app-shell{grid-template-columns:1fr}.sidebar{display:none;position:fixed;left:0;top:42px;width:250px;height:calc(100vh - 42px);z-index:90}.sidebar.open{display:block}.global-search{display:none}.container{padding:12px}.ube-kpis{grid-template-columns:repeat(2,1fr)}.ube-dash-head{align-items:flex-start;flex-direction:column}.module-grid{grid-template-columns:repeat(2,1fr)}.ube-list-grid{grid-template-columns:1fr}}
@media(max-width:520px){.ube-kpis{grid-template-columns:1fr}.module-grid{grid-template-columns:1fr 1fr}.ube-kpi{grid-template-columns:34px 1fr}.ube-kpi .kico{width:34px;height:34px}.ube-kpi strong{font-size:14px}}

/* U-BE Landing Page — compact enterprise presentation layer */
.ube-landing{background:#f4f7fb;color:#12213a;margin:-15px -18px -28px;min-height:calc(100vh - 42px)}
.landing-hero{background:linear-gradient(135deg,#071d36 0%,#0b3156 52%,#104e82 100%);color:#fff;position:relative;overflow:hidden;border-bottom:1px solid #dce5ef}.landing-hero:before{content:"";position:absolute;width:620px;height:620px;border-radius:50%;right:-220px;top:-300px;background:radial-gradient(circle,rgba(46,144,250,.28),transparent 68%)}.landing-hero:after{content:"";position:absolute;left:-180px;bottom:-300px;width:520px;height:520px;border-radius:50%;background:rgba(19,165,107,.07)}.landing-hero-inner{max-width:1480px;margin:auto;padding:52px 42px 48px;display:grid;grid-template-columns:.88fr 1.12fr;gap:38px;align-items:center;position:relative;z-index:1}.landing-copy{min-width:0}.landing-eyebrow{font-size:9px;font-weight:850;letter-spacing:.11em;color:#a9cae8;margin-bottom:13px}.live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#4fd18b;box-shadow:0 0 0 4px rgba(79,209,139,.12);margin-right:6px}.landing-copy h1{font-size:54px;line-height:.98;letter-spacing:-.045em;margin:0 0 15px}.landing-copy h1 span{color:#54a9ff}.landing-lead{max-width:570px;font-size:13px;line-height:1.6;color:#d1e0ef;margin:0 0 20px}.landing-actions{display:flex;gap:7px;align-items:center}.landing-actions .btn{min-height:34px;font-size:10px;padding:7px 12px}.landing-secondary{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.2);color:#fff}.landing-trust{display:flex;gap:13px;flex-wrap:wrap;margin-top:16px;color:#b7cee3;font-size:8px}.landing-visual{min-height:350px;position:relative;display:flex;align-items:center;justify-content:center}.visual-glow{position:absolute;width:440px;height:260px;background:radial-gradient(circle,rgba(46,144,250,.24),transparent 68%);filter:blur(10px)}.visual-card{background:rgba(255,255,255,.97);color:#12213a;border:1px solid rgba(255,255,255,.65);border-radius:10px;box-shadow:0 20px 50px rgba(0,0,0,.2)}.visual-card-main{width:min(690px,100%);padding:12px;position:relative;z-index:2}.visual-top,.chart-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.visual-top{font-size:8px;font-weight:900;letter-spacing:.06em;color:#4c6680;padding:1px 2px 9px;border-bottom:1px solid #e6edf4}.mini-online{font-size:7px;color:#12835b}.mini-online i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#18a86e;margin-right:4px}.visual-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:9px 0}.visual-kpis>div{background:#f7f9fc;border:1px solid #e2e8ef;border-radius:6px;padding:8px}.visual-kpis small,.floating-one small,.floating-two small{display:block;font-size:7px;color:#74869b;font-weight:800}.visual-kpis strong{display:block;font-size:14px;margin:2px 0}.visual-kpis em{font-size:7px;color:#149663;font-style:normal;font-weight:800}.visual-grid{display:grid;grid-template-columns:1.45fr .75fr;gap:7px}.mini-chart,.mini-alerts{border:1px solid #e2e8ef;border-radius:6px;padding:8px}.chart-head{font-size:8px;color:#304c68;margin-bottom:5px}.chart-head span{font-size:7px;color:#8191a4}.mini-chart svg{width:100%;height:125px;display:block}.mini-alerts p{display:flex;align-items:center;gap:5px;border-bottom:1px solid #edf1f5;margin:0;padding:7px 0;font-size:8px;color:#53677e}.mini-alerts p:last-child{border-bottom:0}.mini-alerts p b{margin-left:auto;color:#263f59}.mini-alerts p i{width:6px;height:6px;border-radius:50%;background:#ef5350}.mini-alerts p i.amber{background:#f08a19}.mini-alerts p i.blue{background:#2588f4}.mini-alerts p i.green{background:#13a56b}.visual-foot{display:flex;justify-content:space-between;gap:4px;padding:8px 2px 1px;color:#6e8196;font-size:6.5px;font-weight:800;letter-spacing:.04em}.floating-one,.floating-two{position:absolute;z-index:3;padding:9px 11px;min-width:112px}.floating-one{left:-12px;top:28px}.floating-two{right:-5px;bottom:18px}.floating-one strong,.floating-two strong{display:block;font-size:15px;margin:2px 0}.floating-one span,.floating-two span{font-size:7px;color:#ef5350}.landing-stats{display:grid;grid-template-columns:repeat(4,1fr);max-width:1480px;margin:0 auto;padding:0 42px}.landing-stats>div{padding:14px 16px;border-right:1px solid #dfe7ef}.landing-stats>div:first-child{border-left:1px solid #dfe7ef}.landing-stats strong{font-size:20px;color:#087cf0;margin-right:8px}.landing-stats span{font-size:8px;color:#71839a;font-weight:750}.landing-section,.landing-flow{max-width:1480px;margin:auto;padding:34px 42px}.landing-section-head{display:flex;justify-content:space-between;gap:35px;align-items:flex-end;margin-bottom:15px}.landing-section-head.compact{margin-bottom:13px}.section-kicker{font-size:8px;letter-spacing:.12em;font-weight:900;color:#0874dd}.landing-section h2,.landing-flow h2{font-size:24px;line-height:1.1;letter-spacing:-.025em;margin:5px 0 0}.landing-section h2 span{color:#087cf0}.landing-section-head>p{max-width:430px;font-size:10px;color:#71839a;margin:0}.landing-modules{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.landing-modules a{position:relative;background:#fff;border:1px solid #dce5ee;border-radius:7px;padding:12px;color:#19334e;min-height:70px;box-shadow:0 1px 3px rgba(20,40,65,.05);transition:.15s}.landing-modules a:hover{border-color:#a8cef4;transform:translateY(-1px);box-shadow:0 4px 14px rgba(20,40,65,.08)}.landing-modules b{display:block;font-size:11px}.landing-modules span{display:block;font-size:8px;color:#71839a;margin-top:3px;max-width:90%}.landing-modules i{position:absolute;right:10px;top:10px;font-style:normal;color:#087cf0;font-size:12px}.landing-flow{padding-top:0}.flow-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.flow-grid>div{background:#fff;border:1px solid #dce5ee;border-radius:7px;padding:12px}.flow-no{display:inline-grid;place-items:center;width:23px;height:23px;border-radius:5px;background:#eaf4ff;color:#087cf0;font-size:8px;font-weight:900;margin-bottom:8px}.flow-grid b{display:block;font-size:11px}.flow-grid p{font-size:8px;color:#71839a;line-height:1.55;margin:4px 0 0}.landing-cta{max-width:1396px;margin:0 auto 30px;padding:19px 22px;background:linear-gradient(135deg,#eaf4ff,#fff);border:1px solid #cfe1f3;border-radius:9px;display:flex;justify-content:space-between;align-items:center;gap:15px}.landing-cta h2{font-size:20px;margin:4px 0}.landing-cta p{font-size:9px;color:#71839a;margin:0}.landing-cta .btn{font-size:9px;min-height:32px}
@media(max-width:1050px){.landing-hero-inner{grid-template-columns:1fr;padding:38px 28px}.landing-visual{min-height:300px}.landing-modules{grid-template-columns:repeat(2,1fr)}.landing-stats{padding:0 28px}.landing-section,.landing-flow{padding-left:28px;padding-right:28px}}
@media(max-width:700px){.ube-landing{margin:-12px -12px -28px}.landing-hero-inner{padding:30px 16px}.landing-copy h1{font-size:40px}.landing-lead{font-size:11px}.landing-visual{min-height:245px}.visual-card-main{transform:scale(.92);transform-origin:center}.floating-one,.floating-two{display:none}.landing-stats{padding:0 16px;grid-template-columns:repeat(2,1fr)}.landing-stats>div{border-bottom:1px solid #dfe7ef}.landing-section,.landing-flow{padding:27px 16px}.landing-section-head{display:block}.landing-section-head>p{margin-top:10px}.landing-modules{grid-template-columns:1fr 1fr}.flow-grid{grid-template-columns:1fr}.landing-cta{margin:0 16px 24px;display:block;padding:16px}.landing-cta .btn{margin-top:10px}.landing-trust{gap:8px}}
/* Transparent U-BE identity assets — preserve original artwork, remove only page background */
.brand-mark,.sidebar-brand img,.auth-brand img,.hero-art img,.print-header img{background:transparent!important}
.brand-mark{object-fit:contain}
.sidebar-brand img{object-fit:contain}
.auth-brand img{object-fit:contain}
/* Keep the new landing page dense on standard desktop screens */
@media(min-width:901px){.ube-landing{margin:-15px -18px -28px}.landing-hero-inner{padding-top:44px;padding-bottom:40px}.landing-section{padding-top:30px;padding-bottom:30px}}

/* Tenant company identity + standard letterhead */
.company-identity{display:flex;align-items:center;gap:7px;min-width:170px;max-width:280px;border-left:1px solid rgba(255,255,255,.14);padding-left:10px}.company-logo-slot{width:25px;height:25px;border-radius:5px;background:#fff;display:grid;place-items:center;overflow:hidden;flex:none}.company-logo-slot img{width:100%;height:100%;object-fit:contain}.company-logo-fallback{font-size:10px;font-weight:800;color:#087cf0}.company-identity-text{display:flex;flex-direction:column;min-width:0}.company-identity-text strong{font-size:9px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.company-identity-text small{font-size:7px;color:#b9cadb}.workspace-chip{display:flex;align-items:center;gap:7px}.workspace-company-logo{width:28px;height:28px;object-fit:contain;background:#fff;border-radius:5px;padding:2px;flex:none}.company-profile-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr);gap:10px}.company-brand-upload{display:grid;grid-template-columns:72px 1fr;gap:10px;align-items:center;border:1px dashed #cbd8e5;background:#f8fafc;border-radius:7px;padding:9px;margin:5px 0 10px}.brand-upload-preview{width:64px;height:54px;border:1px solid #dce5ee;border-radius:5px;background:#fff;display:grid;place-items:center;overflow:hidden;color:#8a9aae;font-size:8px}.brand-upload-preview img{max-width:100%;max-height:100%;object-fit:contain}.company-brand-upload label{display:block;font-size:9px;font-weight:800;margin-bottom:4px}.company-brand-upload input[type=file]{font-size:9px;width:100%}.company-brand-upload small{display:block;font-size:8px;margin-top:4px}.company-letterhead-preview{min-width:0}.letterhead-sheet{background:#fff;border:1px solid #d7e1eb;box-shadow:0 5px 18px rgba(20,40,65,.08);padding:18px;min-height:360px}.letterhead-head{display:flex;justify-content:space-between;gap:12px}.letterhead-brand{display:flex;gap:10px;align-items:center;min-width:0}.letterhead-brand img{width:62px;height:46px;object-fit:contain}.letterhead-brand strong{display:block;font-size:14px;color:#102c49}.letterhead-brand small{display:block;font-size:8px;color:#74869c;margin-top:2px}.letterhead-meta{text-align:right;font-size:8px;color:#71839a}.letterhead-meta strong{display:block;font-size:9px;color:#0874dd;letter-spacing:.06em}.letterhead-rule{height:2px;background:#102c49;margin:10px 0 6px}.letterhead-contact{font-size:8px;color:#66798f;line-height:1.55}.letterhead-body{border-top:1px solid #edf1f5;margin-top:25px;padding-top:16px;min-height:130px;color:#53677f;font-size:9px}.letterhead-body strong{font-size:9px;color:#102c49}.letterhead-footer{display:flex;justify-content:space-between;border-top:1px solid #dce5ee;padding-top:8px;font-size:8px;color:#71839a}.company-letterhead .company-letterhead-name strong{font-size:17px}
@media(max-width:900px){.company-identity{display:none}.company-profile-grid{grid-template-columns:1fr}.company-letterhead-preview{order:2}}
@media print{.company-letterhead{page-break-inside:avoid}.company-letterhead-logo img{max-width:92px;max-height:58px}}

/* Tenant company identity / standard company pad */
.company-identity{display:flex;align-items:center;gap:8px;min-width:150px;max-width:240px;padding:0 10px;border-left:1px solid rgba(255,255,255,.12);margin-left:4px}.company-logo-slot{width:28px;height:28px;border-radius:6px;background:#fff;display:grid;place-items:center;overflow:hidden;flex:none}.company-logo-slot img{width:100%;height:100%;object-fit:contain}.company-logo-fallback{font-size:12px;font-weight:800;color:#0a2a63}.company-identity-text{min-width:0}.company-identity-text strong,.company-identity-text small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.company-identity-text strong{font-size:11px;color:#fff}.company-identity-text small{font-size:8px;color:#b8c6d9;text-transform:uppercase;letter-spacing:.06em}.workspace-company-logo{width:22px;height:22px;object-fit:contain;border-radius:4px;background:#fff;flex:none}
.ube-company-letterhead{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:2px solid #0a2a63;margin-bottom:16px}.ube-letterhead-main{display:flex;align-items:center;gap:12px;min-width:0}.ube-letterhead-logo{width:86px;height:54px;display:grid;place-items:center;flex:none}.ube-letterhead-logo img{max-width:86px;max-height:54px;width:auto;height:auto;object-fit:contain}.ube-letterhead-identity strong{display:block;font-size:16px;line-height:1.15;color:#071d44}.ube-letterhead-identity span,.ube-letterhead-identity small{display:block;font-size:9px;line-height:1.35;color:#667085;margin-top:2px}.ube-letterhead-meta{min-width:150px;text-align:right;display:flex;flex-direction:column;gap:2px;font-size:9px;color:#667085}.ube-letterhead-meta strong{font-size:15px;color:#071d44;margin-bottom:3px}.company-brand-upload{display:flex;align-items:center;gap:14px;margin-top:12px;padding:10px;border:1px solid #e4e9f0;border-radius:10px;background:#f8fafc}.brand-upload-preview{width:90px;height:56px;border:1px dashed #cbd5e1;border-radius:8px;background:#fff;display:grid;place-items:center;overflow:hidden;flex:none}.brand-upload-preview img{max-width:84px;max-height:50px;object-fit:contain}.brand-upload-preview span{font-size:9px;color:#98a2b3}.company-letterhead-preview{overflow:hidden}.letterhead-sheet{background:#fff;border:1px solid #e4e9f0;border-radius:8px;padding:18px;box-shadow:0 4px 18px rgba(16,24,40,.06)}
@media(max-width:900px){.company-identity{display:none}.ube-company-letterhead{flex-direction:column}.ube-letterhead-meta{text-align:left}.company-brand-upload{align-items:flex-start}}
@media print{.ube-company-letterhead{break-inside:avoid}.ube-letterhead-logo img{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* Tenant company logo in top header */
.tenant-context{display:flex;align-items:center;gap:9px;height:40px;margin-left:2px;padding-left:10px;border-left:1px solid #dce5ee;min-width:190px;max-width:300px}.tenant-header-brand{display:flex;align-items:center;justify-content:center;height:36px;min-width:40px;max-width:100px;padding:0;overflow:hidden;background:transparent;border:0}.tenant-header-brand img{display:block;max-height:34px;max-width:96px;width:auto;height:auto;object-fit:contain;background:transparent;border:0;mix-blend-mode:multiply}.tenant-context-copy{display:flex;flex-direction:column;justify-content:center;line-height:1.05;min-width:0}.tenant-context-copy strong{font-size:10px;color:#123b68;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tenant-context-copy span{font-size:8px;color:#60758b;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tenant-context-copy span b{color:#0874dd;font-weight:700}.topbar .tenant-header-brand img{background:transparent}@media(max-width:700px){.tenant-context{min-width:120px;max-width:165px;margin-left:0;padding-left:5px;gap:5px}.tenant-header-brand{max-width:58px}.tenant-header-brand img{max-width:55px;max-height:28px}.tenant-context-copy strong{font-size:8px}.tenant-context-copy span{font-size:7px}}

/* Sidebar workspace identity: tenant-specific company logo + actual tenant number */
.workspace-chip{display:flex;align-items:center;gap:7px;min-height:42px}
.workspace-company-logo-wrap{width:32px;height:32px;border-radius:5px;background:transparent;border:0;display:grid;place-items:center;overflow:hidden;flex:none}
.workspace-chip .workspace-company-logo{display:block;width:30px;height:30px;object-fit:contain;background:transparent;padding:0;mix-blend-mode:multiply}
.workspace-chip-copy{min-width:0;display:flex;flex-direction:column;line-height:1.12}
.workspace-chip-copy strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.workspace-chip-copy small{display:block;margin-top:3px;white-space:nowrap}

/* Tenant workspace identity: company name first, then workspace and registered tenant code */
.workspace-chip-copy .workspace-company-name{display:block;font-size:12px;font-weight:600;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:155px}
.workspace-chip-copy .workspace-type{display:block;font-size:10px;font-weight:400;line-height:1.25;opacity:.78}
.workspace-chip-copy small{display:block;font-size:10px;font-weight:400;line-height:1.25}

/* Final light-theme U-BE header/logo presentation */
.topbar{height:68px;background:#fff!important;color:#17324d!important;border-bottom:1px solid #dce5ef!important;box-shadow:0 1px 6px rgba(16,40,65,.08)!important;padding:0 14px!important}
.brand-link{min-width:300px!important;height:64px;display:flex;align-items:center;gap:0!important;color:#17324d!important}
.brand-mark{width:286px!important;height:62px!important;max-width:286px!important;max-height:62px!important;border-radius:0!important;object-fit:contain!important;background:transparent!important}
.global-search input{background:#f8fafc!important;color:#27384d!important}
.top-actions .btn{color:#38516c!important}
.user-pill{color:#28445f!important}
.top-icon{color:#38516c!important}
.app-shell{grid-template-columns:202px minmax(0,1fr)!important;min-height:calc(100vh - 68px)!important}
.sidebar{top:68px!important;height:calc(100vh - 68px)!important}
.sidebar-brand{display:flex!important;align-items:center!important;justify-content:center!important;padding:3px 4px 8px!important;height:72px!important;overflow:hidden!important}
.sidebar-brand img{width:166px!important;height:68px!important;max-width:166px!important;max-height:68px!important;object-fit:contain!important}
.container{min-height:calc(100vh - 68px)!important}
.ube-dashboard-page{background:var(--bg)!important;color:var(--ink)!important}
.ube-dashboard-page .ube-dash-head h1,.ube-dashboard-page .ube-dash-head p,.ube-dashboard-page .ube-dash-head .crumb{color:inherit!important}
.ube-dashboard-page .ube-kpi,.ube-dashboard-page .ube-panel{background:#fff!important;border-color:#dce5ef!important;box-shadow:var(--shadow)!important;color:var(--ink)!important}
.ube-dashboard-page .ube-kpi .klbl,.ube-dashboard-page .ube-kpi small,.ube-dashboard-page .muted{color:var(--muted)!important}
.ube-dashboard-page .module-tile{background:#fff!important;border-color:#dce5ef!important;color:var(--ink)!important}
.ube-dashboard-page .module-tile:hover{background:#f7fbff!important;border-color:#bcd8f4!important}
.ube-dashboard-page .module-tile strong{color:var(--ink)!important}.ube-dashboard-page .module-tile span{color:var(--muted)!important}
.ube-dashboard-page .ube-panel-head a{color:#0874dd!important}
.ube-dashboard-page .alert-row,.ube-dashboard-page .rank-row,.ube-dashboard-page .stock-row,.ube-dashboard-page .system-row{border-color:#e3eaf1!important}
.ube-dashboard-page .bar-bg{background:#edf2f7!important}.ube-dashboard-page .table-wrap{border-color:#dce5ef!important}.ube-dashboard-page .table{color:#334b66!important}.ube-dashboard-page .table th{background:#f5f8fb!important;color:#60758c!important}.ube-dashboard-page .table td{border-color:#e3eaf1!important}.ube-dashboard-page .table tbody tr:hover td{background:#f8fbfe!important}
.ube-dashboard-page .dash-footer{color:#71839a!important}.ube-dashboard-page .enterprise-badge{background:#eaf4ff!important;color:#0874dd!important}
@media(max-width:700px){.topbar{height:58px!important}.brand-link{min-width:170px!important;height:56px}.brand-mark{width:170px!important;height:54px!important}.app-shell{min-height:calc(100vh - 58px)!important}.sidebar{top:58px!important;height:calc(100vh - 58px)!important}.sidebar-brand{height:62px!important}.sidebar-brand img{width:145px!important;height:58px!important;max-width:145px!important;max-height:58px!important}}

/* U-BE HD transparent authentication branding */
.auth-brand img{width:min(340px,92%)!important;max-width:340px!important;max-height:150px!important;height:auto!important;object-fit:contain!important;border-radius:0!important;background:transparent!important;display:block!important;margin:0 auto!important}
@media(max-width:700px){.auth-brand img{width:min(310px,94%)!important;max-width:310px!important;max-height:135px!important}}

/* V8.5.2.1 final bright-header branding */
.topbar .brand-mark{background:transparent!important;border-radius:0!important;object-fit:contain!important}
.auth-brand.login-no-logo{margin-bottom:12px}
.auth-brand.login-no-logo h1{margin-top:0}
@media(max-width:900px){.topbar{height:58px}.sidebar{top:58px;height:calc(100vh - 58px)}.brand-link{min-width:175px;width:175px}.brand-mark{width:150px;height:48px}}
@media(max-width:600px){.topbar{height:62px}.brand-link{min-width:150px;width:150px}.brand-mark{width:140px;height:50px}.top-actions .btn{padding:4px 7px}}

/* V8.5.2.2 FINAL — bright header/client-login branding normalization */
.topbar{
  background:rgba(255,255,255,.94)!important;
  color:#102c49!important;
  border-bottom:1px solid rgba(150,170,190,.30)!important;
  box-shadow:0 2px 10px rgba(20,45,75,.06)!important;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.topbar .brand-link{background:transparent!important;color:#102c49!important}
.topbar .brand-mark{background:transparent!important;border:0!important;box-shadow:none!important;object-fit:contain!important;mix-blend-mode:normal!important}

/* Client/company logo: transparent presentation only — never a white logo card. */
.tenant-header-brand,
.tenant-header-brand img,
.workspace-company-logo-wrap,
.workspace-company-logo{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.tenant-header-brand{
  padding:0!important;
  border-radius:0!important;
  isolation:isolate;
}
.tenant-header-brand img{
  mix-blend-mode:multiply!important;
  padding:0!important;
  border-radius:0!important;
  filter:none!important;
}
.workspace-company-logo-wrap{border-radius:0!important}
.workspace-company-logo{mix-blend-mode:multiply!important;border-radius:0!important;padding:0!important}

/* Bright-header tenant identity: strong dark text + blue tenant code. */
.tenant-context{
  background:transparent!important;
  border-left:1px solid rgba(120,145,170,.28)!important;
}
.tenant-context-copy strong{
  color:#123b68!important;
  font-size:10.5px!important;
  font-weight:750!important;
  letter-spacing:.005em;
}
.tenant-context-copy span{color:#667b91!important}
.tenant-context-copy span b{color:#0874dd!important;font-weight:800!important}

/* Login card: the global header is the only U-BE logo on client login. */
.login-no-logo{display:block!important;text-align:left!important}
.login-no-logo img,
.auth-card .login-no-logo img{display:none!important}
.login-no-logo h1{color:#102c49!important}
.login-no-logo p{color:#667b91!important}

/* Registration/auth logo remains available where intentionally used. */
.auth-brand img{background:transparent!important;border:0!important;box-shadow:none!important}

@media(max-width:900px){
  .tenant-context-copy strong{font-size:9px!important}
  .tenant-context-copy span{font-size:7.5px!important}
}

/* V8.5.2.3 FINAL — single U-BE brand + transparent tenant identity */
/* The U-BE platform logo belongs ONLY in the global top header. */
.sidebar .sidebar-brand,
.sidebar-brand{display:none!important;height:0!important;min-height:0!important;padding:0!important;margin:0!important;overflow:hidden!important}

/* Tenant/company logo: transparent presentation with no card, border, fill or shadow. */
.tenant-context{background:transparent!important;border:0!important;box-shadow:none!important}
.tenant-header-brand,
.tenant-header-brand::before,
.tenant-header-brand::after{
  background:transparent!important;border:0!important;box-shadow:none!important;
}
.tenant-header-brand{display:grid!important;place-items:center!important;padding:0!important;margin:0!important;min-width:0!important}
.tenant-header-brand img{
  display:block!important;background:transparent!important;border:0!important;box-shadow:none!important;
  border-radius:0!important;padding:0!important;margin:0!important;object-fit:contain!important;
  mix-blend-mode:multiply!important;
}

/* Bright header: tenant identity must remain strongly readable. */
.tenant-context-copy strong,
.workspace-company-name{color:#123b68!important;font-weight:650!important}
.tenant-context-copy span{color:#60758b!important}
.tenant-context-copy span b{color:#0874dd!important}

/* Sidebar tenant identity: no logo tile/background. */
.workspace-company-logo-wrap{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.workspace-company-logo{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;mix-blend-mode:multiply!important}

/* Prevent legacy duplicate-brand selectors from creating a second visual logo. */
.sidebar-brand + .workspace-chip{margin-top:0!important}

/* V9.1.2 — stable global header geometry / Help-Documentation-Support navigation fix */
html{scrollbar-gutter:stable;}
.topbar{width:100%;min-width:0;overflow:hidden;}
.topbar .brand-link{flex:0 0 205px;min-width:205px;width:205px;}
.topbar .tenant-context{flex:0 1 300px;min-width:0;width:300px;overflow:hidden;}
.topbar .tenant-header-brand{flex:0 0 40px;width:40px;height:36px;}
.topbar .tenant-header-brand img{width:40px;max-width:40px;height:34px;max-height:34px;}
.topbar .global-search{flex:1 1 0%;min-width:180px;width:auto;max-width:none;overflow:hidden;}
.topbar .global-search form{width:100%;min-width:0;}
.topbar .global-search input{display:block;width:100%;min-width:0;}
.topbar .top-actions{flex:0 0 auto;min-width:max-content;}
@media(max-width:1200px){
  .topbar .tenant-context{flex:0 1 240px;width:240px;}
  .topbar .global-search{min-width:140px;}
}
@media(max-width:900px){
  .topbar .brand-link{flex:0 0 175px;min-width:175px;width:175px;}
  .topbar .tenant-context{flex:1 1 auto;min-width:120px;width:auto;max-width:165px;}
  .topbar .global-search{display:none;}
}
@media(max-width:600px){
  .topbar .brand-link{flex:0 0 150px;min-width:150px;width:150px;}
}


/* V9.1.3 Premium utility navigation motion — intentionally visible, restrained and enterprise-grade. */
.ube-footer{position:relative;overflow:hidden}
.ube-footer-inner{max-width:1180px;margin:0 auto;display:flex;align-items:center;justify-content:center;gap:24px;flex-wrap:wrap}
.ube-footer-brand{display:flex;align-items:baseline;gap:7px;white-space:nowrap}
.ube-footer-brand strong{font-size:11px;letter-spacing:.08em;color:#123b68}
.ube-footer-brand span{font-size:9px;color:#667b91}
.ube-footer-brand small{font-size:8px;color:#98a6b5}
.ube-footer-links{display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:center}
.ube-footer-link{position:relative;display:inline-flex;align-items:center;gap:5px;padding:7px 9px;border-radius:7px;color:#38516c;text-decoration:none;font-weight:650;font-size:9px;transition:transform .22s ease,background .22s ease,color .22s ease;overflow:hidden}
.ube-footer-link:before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 15%,rgba(8,124,240,.12) 48%,transparent 82%);transform:translateX(-120%);transition:transform .5s ease}
.ube-footer-link:hover{transform:translateY(-2px);background:#edf6ff;color:#0874dd}
.ube-footer-link:hover:before{transform:translateX(120%)}
.ube-footer-icon{width:18px;height:18px;border:1px solid #c9d9e9;border-radius:50%;display:grid;place-items:center;font-size:9px;font-weight:800;color:#087cf0;background:#fff;transition:transform .35s ease,box-shadow .35s ease}
.ube-footer-link:hover .ube-footer-icon{transform:rotate(12deg) scale(1.12);box-shadow:0 0 0 4px rgba(8,124,240,.08),0 3px 10px rgba(8,124,240,.18)}
.ube-footer-link i{position:absolute;left:9px;right:9px;bottom:3px;height:2px;border-radius:2px;background:#087cf0;transform:scaleX(0);transform-origin:center;transition:transform .3s ease}
.ube-footer-link:hover i{transform:scaleX(1)}
.ube-footer-admin{font-size:8px;color:#7a8da3;text-decoration:none;margin-left:5px;padding-left:9px;border-left:1px solid #dce5ee;transition:color .2s ease}
.ube-footer-admin:hover{color:#0874dd}

/* Visible page-entry choreography for the three utility areas. */
.ube-page-help .container>*,.ube-page-documentation .container>*,.ube-page-support .container>*{opacity:0;transform:translateY(12px)}
.ube-page-ready.ube-page-help .container>*,.ube-page-ready.ube-page-documentation .container>*,.ube-page-ready.ube-page-support .container>*{animation:ubeUtilityEnter .48s cubic-bezier(.2,.8,.2,1) forwards}
.ube-page-ready.ube-page-help .container>*:nth-child(2),.ube-page-ready.ube-page-documentation .container>*:nth-child(2),.ube-page-ready.ube-page-support .container>*:nth-child(2){animation-delay:.08s}
.ube-page-ready.ube-page-help .container>*:nth-child(3),.ube-page-ready.ube-page-documentation .container>*:nth-child(3),.ube-page-ready.ube-page-support .container>*:nth-child(3){animation-delay:.16s}
.ube-page-ready.ube-page-help .container>*:nth-child(4),.ube-page-ready.ube-page-documentation .container>*:nth-child(4),.ube-page-ready.ube-page-support .container>*:nth-child(4){animation-delay:.24s}
@keyframes ubeUtilityEnter{to{opacity:1;transform:none}}

/* The navigation overlay is deliberately unmistakable so users can see the operation. */
.ube-nav-transition{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;background:rgba(248,251,255,.93);backdrop-filter:blur(7px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,visibility .18s ease}
.ube-nav-transition.is-active{opacity:1;visibility:visible;pointer-events:auto}
.ube-nav-orbit{position:absolute;width:92px;height:92px;border:1px solid rgba(8,124,240,.18);border-radius:50%;animation:ubeOrbitSpin 1.05s linear infinite}
.ube-nav-orbit:before,.ube-nav-orbit:after{content:"";position:absolute;inset:12px;border:1px solid rgba(8,124,240,.13);border-radius:50%}
.ube-nav-orbit:after{inset:26px;border-color:rgba(8,124,240,.22)}
.ube-nav-dot{position:absolute;width:7px;height:7px;border-radius:50%;background:#087cf0;left:50%;top:-4px;transform:translateX(-50%);box-shadow:0 0 12px rgba(8,124,240,.55)}
.ube-nav-dot:nth-child(2){left:auto;right:-3px;top:50%;transform:translateY(-50%);background:#36a1ff}
.ube-nav-dot:nth-child(3){left:50%;top:auto;bottom:-3px;transform:translateX(-50%);background:#0d4e9e}
.ube-nav-transition-title{position:relative;margin-top:132px;font-size:18px;font-weight:850;letter-spacing:.16em;color:#123b68;animation:ubePulse 1s ease-in-out infinite}
.ube-nav-transition-sub{position:relative;margin-top:5px;font-size:10px;color:#71839a}.ube-nav-transition-sub strong{color:#0874dd;font-weight:800}
@keyframes ubeOrbitSpin{to{transform:rotate(360deg)}}
@keyframes ubePulse{0%,100%{opacity:.55;letter-spacing:.13em}50%{opacity:1;letter-spacing:.2em}}

@media(max-width:700px){.ube-footer-inner{gap:10px}.ube-footer-brand{width:100%;justify-content:center}.ube-footer-admin{border-left:0;padding-left:0;margin-left:0;width:100%;text-align:center}.ube-nav-orbit{width:76px;height:76px}.ube-nav-transition-title{margin-top:112px}}
@media(prefers-reduced-motion:reduce){.ube-footer-link,.ube-footer-icon,.ube-footer-link:before,.ube-footer-link i{transition:none!important}.ube-page-help .container>*,.ube-page-documentation .container>*,.ube-page-support .container>*{opacity:1!important;transform:none!important;animation:none!important}.ube-nav-transition{display:none!important}}

/* U-BE V9.3 entitlement navigation */
.sidebar a.locked{opacity:.72;position:relative}.sidebar a.locked:hover{opacity:1}.sidebar a.locked .nav-ico{filter:grayscale(.35)}
