
:root{--green:#0f7a4d;--green2:#16a36a;--dark:#10251c;--soft:#eef8f3;--line:#e5eee9;--muted:#667085}
*{box-sizing:border-box}body{background:#f6faf8;font-family:Inter,Arial,Helvetica,sans-serif;color:#17231d}.topbar{background:linear-gradient(135deg,var(--green),#0b5f3c);color:#fff;box-shadow:0 8px 30px rgba(15,122,77,.18)}.topbar a{color:#fff}.layout{display:flex}.sidebar{width:270px;min-height:calc(100vh - 56px);background:#fff;border-right:1px solid var(--line);box-shadow:0 6px 24px rgba(16,37,28,.06);padding:16px}.content{flex:1;padding:28px;min-width:0}.brandbox{background:linear-gradient(135deg,#effaf4,#fff);border:1px solid #d7eee3;border-radius:18px;padding:14px;color:var(--dark);font-weight:800}.navlink{display:flex;gap:10px;align-items:center;padding:11px 13px;margin:6px 0;border-radius:13px;color:#365447;text-decoration:none;font-weight:600}.navlink:hover,.navlink.active{background:#0f7a4d;color:#fff}.cardx{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 10px 30px rgba(16,37,28,.05);padding:22px}.kpi{min-height:120px}.kpi .num{font-size:30px;font-weight:900;color:var(--green)}.table{background:#fff;border-radius:16px;overflow:hidden}.table th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#667085;background:#f8fbf9}.badge-soft{background:#e8f8f0;color:#0f7a4d}.badge{border-radius:999px;padding:.45rem .7rem}.btn-primary,.btn-success{background:#0f7a4d;border-color:#0f7a4d}.btn-primary:hover,.btn-success:hover{background:#0b5f3c;border-color:#0b5f3c}.btn-outline-primary{color:#0f7a4d;border-color:#0f7a4d}.btn-outline-primary:hover{background:#0f7a4d;border-color:#0f7a4d}.login-wrap{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,rgba(15,122,77,.13),rgba(255,255,255,.86)),url('https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=1600&q=80') center/cover}.login-card{max-width:500px;width:100%;background:rgba(255,255,255,.95);backdrop-filter:blur(10px);padding:34px;border-radius:26px;box-shadow:0 20px 55px rgba(16,37,28,.18);border:1px solid rgba(255,255,255,.75)}.profile-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:16px 0}.profile-card{border:1px solid var(--line);border-radius:16px;padding:10px 6px;text-align:center;cursor:pointer;background:#fff;transition:.2s}.profile-card:hover,.profile-card.active{border-color:#0f7a4d;background:#eef8f3;transform:translateY(-2px)}.avatar{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#0f7a4d,#2dcc84);color:#fff;font-weight:900;margin:0 auto 7px}.small-muted{font-size:12px;color:var(--muted)}.tabs-premium .nav-link{color:#365447;font-weight:700;border-radius:14px 14px 0 0}.tabs-premium .nav-link.active{color:#0f7a4d;border-top:3px solid #0f7a4d}.status-pass{color:#0f7a4d;font-weight:800}.status-fail{color:#c62828;font-weight:800}.server-table td{padding:12px;border-bottom:1px solid #eef3ef}.detail-hero{background:linear-gradient(135deg,#0f7a4d,#1aa56b);color:#fff;border-radius:24px;padding:24px;margin-bottom:20px;box-shadow:0 14px 35px rgba(15,122,77,.24)}.detail-label{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#667085;font-weight:800}.detail-value{font-size:16px;font-weight:700;color:#17231d}.progress{height:10px;border-radius:999px}.view-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.system-pill{display:inline-flex;gap:8px;align-items:center;background:#eef8f3;color:#0f7a4d;border:1px solid #d7eee3;border-radius:999px;padding:8px 12px;font-weight:700;margin:4px}.settings-logo-preview{max-height:70px;max-width:220px;background:#fff;padding:10px;border:1px solid var(--line);border-radius:14px}@media(max-width:991px){.sidebar{position:fixed;left:-280px;top:56px;z-index:99;transition:.25s}.sidebar.open{left:0}.content{padding:18px;width:100%}.profile-grid{grid-template-columns:repeat(2,1fr)}.view-grid{grid-template-columns:1fr}}

.brand-mark{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:10px;background:rgba(255,255,255,.14);margin-right:6px}.user-pill{width:34px;height:34px;border-radius:50%;background:#fff;color:#0f7a4d;align-items:center;justify-content:center;font-weight:900}.profile-card{appearance:none;border:1px solid var(--line);font:inherit;color:inherit}.selected-profile-note{font-size:12px;color:#0f7a4d;background:#eef8f3;border:1px solid #d7eee3;border-radius:12px;padding:9px 11px}.login-server-box{background:#f8fbf9;border:1px solid var(--line);border-radius:16px;padding:12px;margin-top:14px}.login-server-row{display:flex;justify-content:space-between;border-bottom:1px solid #eef3ef;padding:5px 0;font-size:12px}.login-server-row:last-child{border-bottom:0}.sidebar-plan{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px}.mini-line{height:1px;background:var(--line);margin:12px 0}.topbar{min-height:58px}.navbar-brand{display:flex;align-items:center}.content h1{letter-spacing:-.03em}.cardx h5{font-weight:800}.table td,.table th{vertical-align:middle}.detail-hero h1{font-size:30px}.detail-hero .btn{border-radius:12px}.view-grid .cardx{transition:.2s}.view-grid .cardx:hover{transform:translateY(-2px);box-shadow:0 14px 35px rgba(16,37,28,.08)}
@media(max-width:575px){.login-card{margin:14px;padding:22px}.login-wrap{align-items:start;padding-top:28px}.profile-grid{grid-template-columns:repeat(2,1fr)}.topbar .small{font-size:11px}.sidebar{top:58px}.content{padding:14px}.kpi .num{font-size:24px}}
.installer-body{background:linear-gradient(135deg,#f3fff8,#eef3ff);min-height:100vh;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif}.install-shell{max-width:1120px;margin:0 auto;padding:28px}.install-header{background:#0f172a;color:#fff;border-radius:24px 24px 0 0;padding:28px}.install-header h1{margin:0;font-weight:800}.install-header p{margin:8px 0 0;color:#cbd5e1}.install-card{background:#fff;border-radius:0 0 24px 24px;padding:28px;box-shadow:0 24px 70px rgba(15,23,42,.10)}.install-check-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.install-check{border:1px solid #d7f5e1;background:#f0fdf4;border-radius:14px;padding:14px}.install-check.bad{border-color:#fecaca;background:#fff1f2}.install-check strong{display:flex;gap:8px;align-items:center}.install-check strong span{width:12px;height:12px;background:#16a34a;border-radius:50%;display:inline-block}.install-check.bad strong span{background:#dc2626}.install-check small{display:block;margin-top:6px;color:#334155}@media(max-width:900px){.install-check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.install-shell{padding:12px}.install-check-grid{grid-template-columns:1fr}}
/* v0.2.3 fixes */
html,body{max-width:100%;overflow-x:hidden}.topbar{position:sticky;top:0;z-index:1050}.topbar-logo{max-height:38px;max-width:210px;object-fit:contain}.sidebar-logo{max-height:54px;max-width:170px;object-fit:contain;display:block;margin-bottom:8px}.sidebar-logo-wrap{margin-bottom:8px}.login-logo{max-height:78px;max-width:260px;object-fit:contain}.login-logo-preview{min-height:60px;display:flex;align-items:center;justify-content:center}.login-logo-preview .brand-mark{width:58px;height:58px;border-radius:50%;font-size:20px;background:linear-gradient(135deg,#0f7a4d,#2dcc84)}.login-logo-preview .brand-mark + span{display:block;font-size:28px;font-weight:800;color:#17231d;margin-left:10px}.logo-preview-box{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;min-height:95px;display:flex;align-items:center}.logo-preview-box img{max-height:80px;max-width:260px;object-fit:contain}.sidebar-plan b{color:#10251c}.sidebar-plan .small-muted{display:block}.layout{align-items:stretch}.sidebar{overflow-y:auto}.content{overflow-x:hidden}
@media(max-width:991px){.topbar{position:relative;left:auto;right:auto;width:100%;min-height:58px}.layout{padding-top:0}.sidebar{top:58px;height:calc(100vh - 58px);min-height:0;overflow-y:auto;z-index:1040}.content{padding-top:18px}.navbar-brand{max-width:62%;overflow:hidden;white-space:nowrap}.topbar-logo{max-width:160px}.topbar .container-fluid{min-width:0}.topbar .small{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar.open{box-shadow:0 20px 70px rgba(16,37,28,.24)}}
@media(max-width:575px){.navbar-brand{font-size:15px}.topbar-logo{max-width:135px}.user-pill{width:30px;height:30px}.topbar .small{display:none!important}.login-logo{max-width:220px}.login-logo-preview .brand-mark + span{font-size:24px}}

/* v0.3 ESG dashboard additions */
.metric-good{color:#0f7a4d;font-weight:900}.metric-warn{color:#f59e0b;font-weight:900}.metric-danger{color:#dc2626;font-weight:900}
.esg-score-ring{width:108px;height:108px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#0f7a4d var(--score),#e8f2ed 0);margin:auto}.esg-score-ring span{width:78px;height:78px;border-radius:50%;background:#fff;display:grid;place-items:center;font-weight:900;color:#0f7a4d}
.logo-fallback-text{font-weight:900;color:#0f7a4d;display:inline-flex;align-items:center;gap:6px}.logo-fallback-text:before{content:'⚡';display:inline-grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#e8f8f0}
.calculator-box{background:linear-gradient(135deg,#f0fff7,#fff);border:1px solid #d7eee3;border-radius:20px;padding:20px}
.logo-holder{display:inline-flex;align-items:center;gap:8px;min-width:0}.logo-holder img{display:inline-block}.logo-holder .logo-fallback{display:none}.brand-mark{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:10px;background:linear-gradient(135deg,#0f7a4d,#2dcc84);color:#fff;font-weight:900;font-size:13px;line-height:1;flex:0 0 auto}.brand-name-text{font-weight:900;color:inherit;white-space:nowrap}.topbar .brand-mark{background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.25)}.topbar .brand-name-text{color:#fff}.sidebar-logo-wrap .brand-mark{width:28px;height:28px}.login-logo-preview .brand-mark{width:58px;height:58px;border-radius:50%;font-size:20px}.login-logo-preview .brand-name-text{font-size:28px;font-weight:900;color:#17231d;margin-left:10px}.logo-preview-box .brand-mark{width:48px;height:48px;border-radius:16px;font-size:16px}.logo-preview-box .brand-name-text{font-size:24px;color:#0f7a4d}
.check-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #eef2f0}.check-row:last-child{border-bottom:0}.progress{height:8px;background:#eef3f0}.progress-bar{background:#10844e}.brandbox .logo-holder img{max-width:150px;height:auto}.topbar-logo{max-height:34px;width:auto}.sidebar-logo{max-width:150px;height:auto}.settings-logo{max-width:260px;height:auto}.logo-fallback{align-items:center;gap:8px}.brand-mark{background:#10844e;color:#fff;border-radius:50%;width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;font-weight:800}.brand-name-text{font-weight:800;color:#0a7b48}
/* v0.7 Enterprise Beta Premium UI */
:root{--premium-dark:#111827;--premium-dark-2:#1f2937;--accent:#12a365;--accent-2:#22c55e;--orange:#f97316;--surface:#ffffff;--page:#f3f6fb;--text:#101828;--sub:#667085;--border:#e7edf3;--shadow:0 20px 50px rgba(16,24,40,.08)}
body{background:radial-gradient(circle at top right,#fff7ed 0,#f3f6fb 28%,#f7fafc 100%);color:var(--text)}
.topbar{background:#fff!important;color:var(--text);border-bottom:1px solid var(--border);box-shadow:0 8px 28px rgba(16,24,40,.06);min-height:76px}.topbar a,.topbar .small{color:var(--text)!important}.topbar .btn-outline-light{border-color:#f97316;color:#f97316!important}.topbar .brand-mark{background:linear-gradient(135deg,#16a34a,#f97316);color:#fff}.topbar .brand-name-text{color:var(--text)!important}.layout{background:transparent}.sidebar{background:linear-gradient(180deg,#111827 0%,#172033 100%);color:#e5e7eb;border-right:0;box-shadow:12px 0 35px rgba(17,24,39,.12);padding:18px;width:288px}.content{padding:30px 34px}.brandbox{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);color:#fff;border-radius:22px;padding:16px}.brandbox strong{color:#f8fafc}.brandbox .brand-name-text{color:#fff}.navlink{color:#d4dbe7;border:1px solid transparent;border-radius:16px;margin:8px 0;padding:13px 14px}.navlink:before{content:'•';width:28px;height:28px;border-radius:50%;display:inline-grid;place-items:center;background:rgba(255,255,255,.08);color:#94a3b8}.navlink:hover,.navlink.active{background:linear-gradient(135deg,rgba(249,115,22,.28),rgba(249,115,22,.14));color:#fff;border-color:rgba(249,115,22,.35)}.navlink.active:before{content:'↗';background:#f97316;color:#fff}.sidebar-plan{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.09);color:#fff}.sidebar-plan .small-muted,.sidebar-plan span{color:#cbd5e1}.sidebar-plan b{color:#fff}.mini-line{background:rgba(255,255,255,.1)}.cardx{border:0;border-radius:24px;box-shadow:var(--shadow);background:rgba(255,255,255,.94)}.kpi{position:relative;overflow:hidden}.kpi:after{content:'';position:absolute;right:-22px;top:-28px;width:92px;height:92px;border-radius:50%;background:linear-gradient(135deg,rgba(249,115,22,.16),rgba(17,24,39,.08))}.kpi .num{color:#111827;font-size:32px}.kpi .caption{color:#64748b}.hero-title{letter-spacing:-.04em;font-weight:900}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.14em;font-weight:900;color:#f97316}.quick-actions .btn{border-radius:16px;font-weight:800;padding:11px 16px}.btn-primary,.btn-success{background:#f97316;border-color:#f97316}.btn-primary:hover,.btn-success:hover{background:#ea580c;border-color:#ea580c}.btn-outline-primary{color:#f97316;border-color:#f97316}.btn-outline-primary:hover{background:#f97316;border-color:#f97316}.table th{background:#f8fafc;color:#475569}.premium-workflow{background:linear-gradient(135deg,#111827,#24324a);color:#fff;border-radius:24px;padding:22px;box-shadow:var(--shadow)}.workflow-step{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.10);margin:4px}.audit-dot{width:9px;height:9px;border-radius:50%;background:#f97316;display:inline-block}.logo-fallback-inline{display:inline-flex;align-items:center;gap:10px;white-space:nowrap}.topbar-logo-fallback .brand-name-text{font-size:20px}.sidebar-logo-fallback .brand-name-text{font-size:16px;color:#fff}.settings-logo-fallback .brand-name-text,.login-logo-fallback .brand-name-text{font-size:26px;color:#0f7a4d}.login-wrap{background:linear-gradient(135deg,rgba(17,24,39,.45),rgba(249,115,22,.18)),url('https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=1800&q=80') center/cover}.login-card{border-radius:30px}.pill-soft{display:inline-flex;border-radius:999px;padding:6px 10px;background:#fff7ed;color:#c2410c;font-weight:800;font-size:12px}.security-box{border:1px dashed #fecaca;background:#fff7ed;border-radius:18px;padding:14px}.analytics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.module-tile{border:1px solid var(--border);border-radius:20px;padding:18px;background:#fff;transition:.2s}.module-tile:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(16,24,40,.08)}
@media(max-width:991px){.topbar{position:sticky}.sidebar{top:76px;height:calc(100vh - 76px);left:-305px}.sidebar.open{left:0}.content{padding:18px}.analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar-logo-fallback .brand-name-text{font-size:16px}}
@media(max-width:575px){.analytics-grid{grid-template-columns:1fr}.topbar{min-height:64px}.sidebar{top:64px;height:calc(100vh - 64px)}}

/* v0.7.1 olive premium sidebar + logo persistence fixes */
:root{
  --olive:#6f7f2f;
  --olive-dark:#26301c;
  --olive-deep:#151d12;
  --olive-soft:#f4f6ed;
  --olive-line:#dfe6cf;
  --premium-dark:#151d12;
  --premium-dark-2:#26301c;
  --accent:#7b8f34;
  --accent-2:#9aa84c;
  --orange:#9a8f2d;
}
body{background:radial-gradient(circle at top right,#f6f5e9 0,#f1f4ed 32%,#f7faf4 100%)}
.topbar{background:#fff!important;color:#162011;border-bottom:1px solid var(--olive-line);min-height:72px}.topbar .btn-outline-light{border-color:var(--olive);color:var(--olive)!important}.topbar .brand-mark{background:linear-gradient(135deg,var(--olive),#a69a3a)}
.sidebar{width:270px;background:linear-gradient(180deg,#151d12 0%,#232d1a 100%);height:calc(100vh - 72px);min-height:0;overflow-y:auto;overflow-x:hidden;padding:14px 14px 18px;scrollbar-width:thin;scrollbar-color:#8d7f30 rgba(255,255,255,.06)}
.sidebar::-webkit-scrollbar{width:7px}.sidebar::-webkit-scrollbar-thumb{background:#8d7f30;border-radius:999px}.sidebar::-webkit-scrollbar-track{background:rgba(255,255,255,.06)}
.sidebar-inner{min-height:100%;display:flex;flex-direction:column}.sidebar-brand{padding:10px 8px 14px;border-bottom:1px solid rgba(255,255,255,.08)}.sidebar-brand .logo-holder{display:flex;align-items:center}.sidebar-logo{max-width:188px;max-height:44px;object-fit:contain}.sidebar-logo-fallback .brand-name-text{font-size:15px;color:#fff}.sidebar-logo-fallback .brand-mark{width:34px;height:34px;border-radius:12px}
.navlink{position:relative;display:flex;gap:10px;align-items:center;padding:10px 11px;margin:5px 0;border-radius:14px;color:#d9dfd1;text-decoration:none;font-weight:650;font-size:13px;line-height:1.25;border:1px solid transparent}.navlink:before{display:none!important}.navlink .navicon{width:25px;height:25px;display:inline-grid;place-items:center;flex:0 0 25px;border-radius:50%;background:rgba(255,255,255,.08);color:#c7d19c;font-size:11px;font-weight:800}.navlink:hover,.navlink.active{background:linear-gradient(135deg,rgba(122,137,51,.45),rgba(122,137,51,.22));border-color:rgba(172,164,70,.35);color:#fff}.navlink.active .navicon{background:linear-gradient(135deg,var(--olive),#a69a3a);color:#fff}
.sidebar-plan{font-size:12px;margin-top:auto;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.10);border-radius:16px;padding:12px}.sidebar-plan .fw-bold{font-size:13px}.sidebar-plan .small,.sidebar-plan .small-muted{font-size:11px}.mini-line{margin:10px 0;background:rgba(255,255,255,.10)}
.content{padding:30px 34px}.eyebrow{color:#8d7f30}.btn-primary,.btn-success{background:#7c8732;border-color:#7c8732}.btn-primary:hover,.btn-success:hover{background:#646d28;border-color:#646d28}.btn-outline-primary{color:#7c8732;border-color:#7c8732}.btn-outline-primary:hover{background:#7c8732;border-color:#7c8732}.kpi:after{background:linear-gradient(135deg,rgba(126,137,50,.18),rgba(35,45,26,.08))}.kpi .num{color:#182315}.pill-soft{background:#f3f5df;color:#5f6420}.premium-workflow{background:linear-gradient(135deg,#151d12,#2d3a22)}
.brand-mark{background:linear-gradient(135deg,var(--olive),#a69a3a);border-radius:12px}.brand-name-text{color:#162011}.topbar .brand-name-text{color:#162011!important}.settings-logo{max-width:280px;max-height:90px;object-fit:contain}.settings-logo-fallback .brand-name-text{color:#6f7f2f}.logo-preview-box{background:#fff;border:1px solid var(--olive-line)}
.logo-holder img[src=""], .logo-holder img:not([src]){display:none!important}
@media(max-width:991px){.topbar{min-height:64px}.sidebar{top:64px;height:calc(100vh - 64px);left:-286px;width:270px}.sidebar.open{left:0}.content{padding:18px}.topbar-logo{max-width:170px}}


/* v0.7.4 fixes: fixed non-scrolling sidebar, smaller menu, safer logo fallback */
:root{--green:#6f7f20;--green2:#8b9a2d;--dark:#121b10;--soft:#f4f7ed;--line:#e3e8d6;--muted:#66705a;--accent:#f47a1f}
.topbar{background:#fff;color:#12200f;border-bottom:1px solid #e3e8d6;box-shadow:0 8px 24px rgba(18,27,16,.05)}
.topbar a,.topbar .small{color:#12200f!important}.topbar .btn-outline-light{border-color:#7a8429;color:#7a8429!important}.topbar .btn-outline-light:hover{background:#7a8429;color:#fff!important}.topbar .brand-name-text{color:#12200f}.topbar .brand-mark{background:linear-gradient(135deg,#6f7f20,#f47a1f);color:#fff}
.layout{display:block}.sidebar{position:fixed;left:0;top:58px;bottom:0;width:270px;min-height:0;height:auto;background:linear-gradient(180deg,#111b0f,#182811);border-right:1px solid rgba(255,255,255,.08);box-shadow:none;padding:14px 14px 20px;overflow:hidden;z-index:1030}.content{margin-left:270px;min-height:calc(100vh - 58px);padding:32px;background:linear-gradient(135deg,#f7f8f2,#eef3ea)}
.sidebar-inner{height:100%;overflow:hidden}.sidebar-brand{padding:8px 6px 14px;margin-bottom:12px;border-bottom:1px solid rgba(255,255,255,.08)}.sidebar-logo{max-height:36px;max-width:180px}.sidebar .logo-fallback-inline{color:#fff}.sidebar .brand-name-text{color:#fff;font-size:16px}.sidebar .brand-mark{width:30px;height:30px;background:linear-gradient(135deg,#6f7f20,#f47a1f)}
.navlink{color:#f3f6ee;margin:4px 0;padding:9px 10px;border-radius:12px;font-size:13px;font-weight:700;line-height:1.2}.navlink:hover,.navlink.active{background:rgba(126,142,43,.42);color:#fff;border:1px solid rgba(219,229,158,.25)}.navicon{width:22px;height:22px;min-width:22px;border-radius:50%;display:inline-grid;place-items:center;background:rgba(255,255,255,.08);font-size:10px;color:#d7df9f}.navlink.active .navicon{background:#79862b;color:#fff}.sidebar-plan{display:none}.cardx{border-radius:22px;box-shadow:0 22px 48px rgba(18,27,16,.07)}.btn-primary,.btn-success{background:#7a8429;border-color:#7a8429}.btn-primary:hover,.btn-success:hover{background:#626c1f;border-color:#626c1f}.btn-outline-primary{color:#7a8429;border-color:#7a8429}.btn-outline-primary:hover{background:#7a8429;border-color:#7a8429}.kpi .num,.metric-good{color:#687820}.badge.text-bg-primary{background:#7a8429!important}.badge.text-bg-success{background:#1d8454!important}.badge.text-bg-warning{background:#f5b51f!important;color:#111!important}.badge.text-bg-info{background:#20b9d2!important;color:#051114!important}
.logo-fallback-inline{display:inline-flex;align-items:center;gap:8px}.logo-holder{display:inline-flex;align-items:center;gap:8px}.settings-logo{max-height:70px;max-width:260px;object-fit:contain}.topbar-logo{max-height:36px;max-width:210px;object-fit:contain}.login-logo{max-height:82px;max-width:280px;object-fit:contain}.logo-preview-box{align-items:center;gap:12px}.logo-preview-box .small-muted{display:block;width:100%}
.eu-edit-form textarea{min-height:38px}.checklist-actions{white-space:nowrap}
@media(max-width:991px){.layout{display:block}.sidebar{left:-280px;top:58px;height:calc(100vh - 58px);overflow:hidden}.sidebar.open{left:0}.content{margin-left:0;padding:18px}.navbar-brand{max-width:62%;overflow:hidden;white-space:nowrap}.topbar-logo{max-width:160px}.sidebar-inner{overflow:hidden}}
@media(max-width:575px){.content{padding:14px}.navlink{font-size:12px;padding:8px}.topbar-logo{max-width:135px}}
.section-kicker{font-size:12px;text-transform:uppercase;letter-spacing:.18em;color:#f47a1f;font-weight:900;margin-bottom:4px}


/* v0.7.4 sidebar and compliance editor fixes */
.sidebar{position:fixed!important;left:0!important;top:72px!important;bottom:0!important;height:auto!important;min-height:0!important;overflow:hidden!important;display:block!important}
.sidebar-inner{height:100%!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;min-height:0!important}
.sidebar-menu{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding-right:2px;scrollbar-width:thin;scrollbar-color:#7a8429 rgba(255,255,255,.06)}
.sidebar-menu::-webkit-scrollbar{width:7px}.sidebar-menu::-webkit-scrollbar-thumb{background:#7a8429;border-radius:99px}.sidebar-menu::-webkit-scrollbar-track{background:rgba(255,255,255,.06)}
.content{margin-left:270px!important;min-height:calc(100vh - 72px)!important}
.checklist-add-box{background:#f8faf3;border:1px dashed #b8c681;border-radius:18px;padding:16px;margin-top:14px}
.checklist-add-box h6{font-weight:900;color:#26301c}.checklist-add-box .btn{white-space:nowrap}
@media(max-width:991px){.sidebar{left:-286px!important;top:64px!important}.sidebar.open{left:0!important}.content{margin-left:0!important}.sidebar-menu{overflow-y:auto!important}}

/* v0.7.5 refinements */
.sidebar-brand{display:none!important}
.sidebar-menu{padding-top:8px!important}
.cardx .num{font-size:30px;font-weight:900;color:#687820;line-height:1.15;margin-top:8px}
.kpi{min-height:auto}
.logo-holder img{display:block;max-width:100%}


/* v0.7.6 topbar/account/logo cleanup */
.topbar{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;z-index:1200!important;background:#fff!important;color:#12200f!important;min-height:72px!important;border-bottom:1px solid #e3e8d6!important;box-shadow:0 8px 24px rgba(18,27,16,.05)!important}
.layout{padding-top:72px!important;display:block!important}
.sidebar{top:72px!important;height:calc(100vh - 72px)!important;bottom:auto!important}
.content{min-height:calc(100vh - 72px)!important}
.account-label{color:#12200f!important;background:#f5f7ee;border:1px solid #e3e8d6;border-radius:999px;padding:8px 12px;line-height:1;display:inline-flex;align-items:center;gap:4px}
.user-pill{display:none!important}
.topbar .navbar-brand .logo-fallback-inline .brand-name-text{font-size:20px!important;color:#12200f!important;font-weight:900!important}
.topbar .navbar-brand .brand-mark{width:34px;height:34px;color:#fff!important}
.logo-preview-box .logo-fallback-inline .brand-name-text{font-size:22px!important;color:#12200f!important}
.logo-holder img{height:auto!important;object-fit:contain!important}
@media(max-width:991px){.topbar{min-height:64px!important}.layout{padding-top:64px!important}.sidebar{top:64px!important;height:calc(100vh - 64px)!important;left:-286px!important}.sidebar.open{left:0!important}.account-label{font-size:12px;padding:7px 9px}.content{margin-left:0!important}}
@media(max-width:575px){.account-label{display:none!important}.topbar .navbar-brand .logo-fallback-inline .brand-name-text{font-size:16px!important}}

/* v0.7.7 premium login redesign */
.login-page-premium{margin:0;background:#10170e;min-height:100vh;overflow-x:hidden}
.login-split{min-height:100vh;display:grid;grid-template-columns:minmax(420px,1.15fr) minmax(420px,.85fr);background:#10170e}
.login-visual{position:relative;background:linear-gradient(90deg,rgba(16,23,14,.48),rgba(16,23,14,.15)),url('https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;min-height:100vh;display:flex;align-items:flex-end;padding:54px}
.login-visual:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 25% 15%,rgba(244,122,31,.16),transparent 35%),linear-gradient(180deg,transparent,rgba(16,23,14,.82));pointer-events:none}
.login-visual-overlay{position:relative;z-index:2;max-width:720px;color:#fff}.login-badge{display:inline-flex;padding:8px 13px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);font-size:12px;text-transform:uppercase;letter-spacing:.16em;font-weight:900;color:#f2df95;margin-bottom:18px}.login-visual h1{font-size:44px;line-height:1.05;font-weight:900;letter-spacing:-.04em;margin:0 0 16px}.login-visual p{font-size:17px;color:rgba(255,255,255,.82);max-width:620px}.login-feature-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.login-feature-row span{padding:9px 13px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.20);font-weight:700;font-size:13px}
.login-panel-wrap{min-height:100vh;display:grid;place-items:center;padding:34px;background:radial-gradient(circle at top right,#fbf7df 0,#f6f8f0 34%,#fff 100%)}
.login-card-premium{max-width:560px;width:100%;background:rgba(255,255,255,.96);border:1px solid #e4e8d5;border-radius:30px;padding:36px;box-shadow:0 28px 70px rgba(18,27,16,.18)}
.login-card-premium .login-logo-preview{display:flex;justify-content:center;align-items:center;min-height:58px}.login-card-premium .login-logo{max-height:62px;max-width:300px}.login-card-premium .logo-fallback-inline{justify-content:center}.login-card-premium .brand-mark{width:46px;height:46px;border-radius:16px}.login-card-premium .brand-name-text{font-size:28px;font-weight:900;color:#12200f}.login-subtitle{font-size:14px;color:#66705a}.premium-profile-grid{grid-template-columns:repeat(5,1fr);gap:10px;margin:14px 0}.login-card-premium .profile-card{min-height:96px;border-radius:18px;border:1px solid #e1e8d5;background:#fff}.login-card-premium .profile-card:hover,.login-card-premium .profile-card.active{border-color:#7a8429;background:#f7faef;box-shadow:0 10px 25px rgba(122,132,41,.14);transform:translateY(-2px)}.login-card-premium .avatar{background:linear-gradient(135deg,#6f7f20,#f47a1f);box-shadow:0 8px 20px rgba(111,127,32,.22)}.login-card-premium .selected-profile-note{background:#f3f7e9;border-color:#dfe8c6;color:#546217}.login-card-premium .form-control{border-radius:13px;border-color:#dce4d4}.login-card-premium .form-control:focus{border-color:#7a8429;box-shadow:0 0 0 .22rem rgba(122,132,41,.13)}.login-main-btn{border-radius:14px;background:linear-gradient(135deg,#7a8429,#6a731f);border:0;font-weight:800}.login-link{color:#6f7f20;text-decoration:none;font-weight:700}.login-link:hover{text-decoration:underline;color:#556015}
@media(max-width:1050px){.login-split{grid-template-columns:1fr}.login-visual{display:none}.login-panel-wrap{padding:24px;min-height:100vh}.login-card-premium{max-width:620px}}
@media(max-width:575px){.login-panel-wrap{padding:14px}.login-card-premium{padding:22px;border-radius:24px}.premium-profile-grid{grid-template-columns:repeat(2,1fr)}.login-card-premium .brand-name-text{font-size:22px}}

/* v0.8 Enterprise Operations Upgrade */
.notification-bell{position:relative;display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:#f5f7ee;border:1px solid #e3e8d6;text-decoration:none;color:#687820!important}
.notification-bell span{position:absolute;top:-5px;right:-4px;background:#f47a1f;color:#fff;border-radius:999px;min-width:20px;height:20px;display:grid;place-items:center;font-size:11px;font-weight:900;border:2px solid #fff}
.mobile-backdrop{display:none;position:fixed;inset:64px 0 0;background:rgba(0,0,0,.36);z-index:1020}.mobile-backdrop.show{display:block}
.workflow-steps{display:flex;flex-direction:column;gap:10px}.workflow-step{display:flex;gap:12px;align-items:flex-start;background:#f8faf3;border:1px solid #e3e8d6;border-radius:16px;padding:12px}.step-dot{width:14px;height:14px;border-radius:50%;background:#7a8429;margin-top:5px;box-shadow:0 0 0 5px rgba(122,132,41,.12)}
.hero-title{font-size:36px;font-weight:900;letter-spacing:-.04em;color:#081731}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.18em;color:#f47a1f;font-weight:900}
.table-responsive{border-radius:16px}.content .table{min-width:760px}.cardx .table{margin-bottom:0}
@media(max-width:991px){.content{padding:16px!important}.hero-title{font-size:28px}.cardx{padding:16px}.kpi{min-height:96px}.content .row{--bs-gutter-x:1rem}.workflow-step{flex-direction:column}.workflow-step>div[style]{width:100%!important}.workflow-step .btn{width:100%}}
@media(max-width:575px){.topbar .navbar-brand{max-width:48%}.notification-bell{width:34px;height:34px}.hero-title{font-size:25px}.cardx{border-radius:18px}.login-card-premium{max-height:none}.premium-profile-grid{grid-template-columns:repeat(2,1fr)!important}.account-label{display:none!important}.content .btn{white-space:normal}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}}


/* v0.9 Reporting & Compliance Suite + workflow visibility fix */
.premium-workflow .workflow-pill{display:inline-flex!important;align-items:center;gap:8px;padding:9px 13px;border-radius:999px;background:rgba(255,255,255,.13)!important;border:1px solid rgba(255,255,255,.22)!important;color:#fff!important;margin:4px;font-weight:800;line-height:1.2;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.premium-workflow .workflow-pill:hover{background:rgba(255,255,255,.2)!important;color:#fff!important}
.report-card{border:1px solid #e3e8d6;border-radius:22px;padding:20px;background:#fff;box-shadow:0 16px 40px rgba(18,27,16,.06);height:100%}
.report-card h5{font-weight:900;color:#102012}.report-card .report-meta{font-size:12px;color:#66705a}.filter-panel{border:1px solid #e3e8d6;background:#fbfcf8;border-radius:22px;padding:18px}.timeline{position:relative;padding-left:22px}.timeline:before{content:'';position:absolute;left:7px;top:8px;bottom:8px;width:2px;background:#dfe8c6}.timeline-item{position:relative;padding:0 0 16px}.timeline-item:before{content:'';position:absolute;left:-20px;top:5px;width:14px;height:14px;border-radius:50%;background:#7a8429;box-shadow:0 0 0 5px rgba(122,132,41,.12)}
.export-actions .btn{border-radius:14px;font-weight:800}.metric-good{color:#157347}.metric-warn{color:#946200}.metric-bad{color:#b42318}.table-report th{font-size:11px;letter-spacing:.07em;text-transform:uppercase}.chart-card canvas{max-height:330px}
@media(max-width:991px){.premium-workflow .workflow-pill{display:flex!important;width:100%;justify-content:center}.export-actions{width:100%}.export-actions .btn{width:100%;margin-bottom:8px}.filter-panel .btn{width:100%}}


/* v0.9.1 Creative Print / PDF Report Improvements */
.print-report-shell{max-width:1180px;margin:0 auto}.report-page-header{background:linear-gradient(135deg,#10190f,#6f7f20);color:#fff;border-radius:26px;padding:28px 30px;box-shadow:0 22px 55px rgba(18,27,16,.14);position:relative;overflow:hidden}.report-page-header:after{content:"";position:absolute;right:-45px;top:-55px;width:180px;height:180px;border-radius:50%;background:rgba(255,255,255,.10)}.report-page-header .hero-title,.report-page-header .text-muted{color:#fff!important}.report-page-header .eyebrow{color:#f5d58c}.report-page-header .btn-outline-primary{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.55)}.report-page-header .btn-primary{background:#f47a1f;border-color:#f47a1f}.table-report{border:1px solid #e3e8d6;border-radius:16px;overflow:hidden}.table-report th{background:#f4f6ec;color:#30391a}.table-report td{border-color:#eef1e6}.print-report-shell .kpi{border-left:5px solid #7a8429}.print-report-shell .cardx h5{color:#111b0f;font-size:18px}.print-report-shell .timeline-item:before{background:#f47a1f}

@media print{
  @page{size:A4;margin:12mm 10mm}
  *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;box-shadow:none!important;text-shadow:none!important}
  html,body{background:#fff!important;color:#111!important;font-size:11pt!important;overflow:visible!important;width:100%!important;max-width:none!important}
  .topbar,.sidebar,.mobile-backdrop,.export-actions,.notification-bell,#menuBtn,.btn,.alert{display:none!important}
  .layout{display:block!important;padding-top:0!important;margin:0!important;width:100%!important}
  .content{margin:0!important;padding:0!important;width:100%!important;max-width:none!important;background:#fff!important;overflow:visible!important}
  .print-report-shell{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
  .report-page-header{background:linear-gradient(135deg,#10190f,#6f7f20)!important;color:#fff!important;border-radius:0!important;padding:18mm 12mm 12mm!important;margin:0 0 8mm!important;page-break-inside:avoid!important;position:relative!important}
  .report-page-header:before{content:'GreenFlow Pro';position:absolute;top:6mm;right:12mm;font-size:10pt;font-weight:800;color:rgba(255,255,255,.92)}
  .report-page-header .eyebrow{font-size:8pt!important;color:#f5d58c!important;letter-spacing:.16em!important}
  .report-page-header .hero-title{font-size:25pt!important;line-height:1.05!important;margin:2mm 0!important;color:#fff!important}
  .report-page-header p{font-size:10pt!important;color:rgba(255,255,255,.92)!important;max-width:155mm!important}
  .row{display:flex!important;flex-wrap:wrap!important;margin-left:-4px!important;margin-right:-4px!important}.row>*{padding-left:4px!important;padding-right:4px!important}.col-md-3{width:25%!important;flex:0 0 25%!important}.col-md-4{width:33.333%!important;flex:0 0 33.333%!important}.col-md-6{width:50%!important;flex:0 0 50%!important}.col-md-8{width:66.666%!important;flex:0 0 66.666%!important}
  .cardx{border:1px solid #d9dfcd!important;border-radius:10px!important;background:#fff!important;padding:10px!important;margin-bottom:7mm!important;page-break-inside:avoid!important;break-inside:avoid!important}
  .kpi{min-height:24mm!important;border-left:4px solid #7a8429!important}.kpi .caption{font-size:8pt!important;text-transform:uppercase!important;letter-spacing:.08em!important;color:#697057!important}.kpi .num{font-size:18pt!important;color:#6f7f20!important;line-height:1.1!important}
  .table{width:100%!important;min-width:0!important;border-collapse:collapse!important;font-size:9pt!important}.content .table{min-width:0!important}.table th{background:#f1f4e8!important;color:#30391a!important;font-size:7.5pt!important;padding:6px!important}.table td{padding:6px!important;border-bottom:1px solid #e6eadc!important}.badge{border:1px solid #ccd4bd!important;background:#f7f9f2!important;color:#111!important;padding:2px 6px!important;font-size:7.5pt!important}
  h5{font-size:13pt!important;margin-bottom:6px!important}.small-muted{font-size:8pt!important;color:#666!important}.timeline{padding-left:16px!important}.timeline:before{background:#dfe6d0!important}.timeline-item{padding-bottom:8px!important;page-break-inside:avoid!important}.timeline-item:before{width:10px!important;height:10px!important;left:-14px!important;box-shadow:none!important;background:#f47a1f!important}
  a[href]:after{content:''!important}.mb-4{margin-bottom:7mm!important}.g-4{--bs-gutter-y:5mm!important}.chart-card canvas,canvas{max-height:90mm!important}.footer,.app-footer{display:none!important}
}


/* v1.0 Workflow & Reports Stabilization */
.report-page-header,.report-page-header::before,.report-page-header::after{pointer-events:none!important}
.report-page-header .export-actions,.report-page-header .export-actions *{position:relative!important;z-index:50!important;pointer-events:auto!important}
.workflow-card{position:relative;overflow:hidden;border:0!important;background:rgba(255,255,255,.96)!important}
.workflow-card .workflow-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}
.workflow-status{display:inline-flex;align-items:center;justify-content:center;min-width:108px;height:34px;padding:0 14px;border-radius:999px;font-size:12px;font-weight:900;line-height:1;white-space:nowrap;border:1px solid transparent;box-shadow:0 8px 20px rgba(18,27,16,.06)}
.workflow-status.status-pending{background:#fff3cd;color:#6b4b00;border-color:#ffe69c}
.workflow-status.status-in-progress{background:#cff4fc;color:#055160;border-color:#9eeaf9}
.workflow-status.status-approved,.workflow-status.status-completed,.workflow-status.status-published{background:#d1e7dd;color:#0f5132;border-color:#a3cfbb}
.workflow-status.status-rejected,.workflow-status.status-expired{background:#f8d7da;color:#842029;border-color:#f1aeb5}
.workflow-meta{font-size:13px;color:#66705a;font-weight:600}.workflow-title{font-weight:900;color:#081731;line-height:1.2;margin:0 0 6px}
.workflow-progress-wrap{display:flex;align-items:center;gap:12px;margin:14px 0}.workflow-progress-wrap .progress{height:10px;flex:1;background:#edf1e5;border-radius:999px}.workflow-progress-wrap .progress-bar{background:linear-gradient(90deg,#7a8429,#f47a1f);border-radius:999px}.workflow-percent{font-size:12px;font-weight:900;color:#687820;min-width:36px;text-align:right}
.workflow-due{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800;background:#f5f7ee;color:#66705a;border:1px solid #e3e8d6}.workflow-due.overdue{background:#fff1f2;color:#be123c;border-color:#fecdd3}.workflow-due.today{background:#fff7ed;color:#c2410c;border-color:#fed7aa}.workflow-due.upcoming{background:#ecfdf5;color:#047857;border-color:#bbf7d0}
.workflow-step{background:#fbfcf8!important;border:1px solid #e3e8d6!important;border-radius:18px!important}.workflow-step b{color:#111b0f}.workflow-step-actions{width:170px;flex:0 0 170px}.workflow-detail-link{font-size:13px;font-weight:900;color:#687820;text-decoration:none}.workflow-detail-link:hover{text-decoration:underline;color:#4d5815}.approval-action-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.approval-action-row .btn{border-radius:999px;padding:5px 10px;font-size:12px;font-weight:800}.workflow-comment-box{background:#f8faf3;border:1px solid #e3e8d6;border-radius:16px;padding:12px;margin-top:10px}.workflow-summary-card{border-left:5px solid #7a8429}.workflow-detail-header{background:linear-gradient(135deg,#10190f,#6f7f20);color:#fff;border-radius:26px;padding:28px;box-shadow:0 22px 55px rgba(18,27,16,.12)}.workflow-detail-header .small-muted,.workflow-detail-header .text-muted{color:rgba(255,255,255,.78)!important}
@media(max-width:991px){.workflow-card .workflow-card-head{flex-direction:column}.workflow-status{min-width:auto}.workflow-step-actions{width:100%;flex:0 0 auto}.workflow-progress-wrap{align-items:flex-start}.workflow-detail-header{padding:20px;border-radius:20px}}
@media print{.report-page-header,.report-page-header::before,.report-page-header::after{pointer-events:none!important}.report-page-header .export-actions{display:none!important}}

/* v1.0 final polish */
.topbar-logo{max-width:260px!important;max-height:46px!important;}
.navbar-brand{min-width:0;}
.login-visual{background-size:cover!important;background-position:center!important;}
.login-visual:after{background:radial-gradient(circle at 25% 15%,rgba(244,122,31,.12),transparent 35%),linear-gradient(180deg,transparent,rgba(16,23,14,.62))!important;}
@media(max-width:575px){.topbar-logo{max-width:190px!important;}}

/* v1.0 final login background fix */
.login-visual[style]{background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;}
