/* NI Office v3.0.4 – single visual reference; CSS-only skin, existing handlers untouched. */
html body.tke-op-page .tke-app.tke-app-root { --tke-v304-ink:#110b2c;--tke-v304-sidebar:#110b2c;--tke-v304-violet:#7324eb;--tke-v304-orange:#f7813f;background:#f3f3f9!important;}
/* HERO & SIDEBAR: continuous dark architectural shell without contrasting left panel. */
html body.tke-op-page .tke-app.tke-app-root > .tke-sidebar { background:linear-gradient(180deg,#110b2c 0%,#130d32 68%,#271041 100%)!important;box-shadow:none!important;}
html body.tke-op-page .tke-app.tke-app-root > .tke-main {background:#f3f3f9!important;padding:0 16px 27px!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-main :is(.tke-v300-hero,.tke-v303-hero,.tke-v302-hero,.tke-topbar){background:linear-gradient(90deg,#110b2c 0%,#110b2c 22%,rgba(17,11,44,.97) 40%,rgba(17,11,44,.20) 82%,rgba(17,11,44,.02) 100%),url('images/tke-v303-banner.jpg') right center/auto 100% no-repeat,#110b2c!important;border-radius:0!important;min-height:142px!important;padding:25px 29px!important;color:#fff!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-main .tke-v300-hero{margin:0 -16px 16px!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-main .tke-v300-hero h1{font-size:34px!important;letter-spacing:-1px!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-main .tke-v300-hero p{font-size:13px!important;max-width:570px!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-main :is(.tke-v300-hero,.tke-v303-hero,.tke-v302-hero,.tke-topbar):after{height:0!important;display:none!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-main :is(.tke-v300-hero,.tke-v303-hero,.tke-v302-hero,.tke-topbar) :is(h1,h2,p,.tke-eyebrow,.tke-subtitle,.tke-v300-kicker,.tke-v303-kicker,.tke-v302-kicker){color:#fff!important;-webkit-text-fill-color:#fff!important;}
/* Hides only decorative/duplicate kicker lines on interior banners; keep real accessible titles. */
html body.tke-op-page .tke-app.tke-app-root .tke-main :is(.tke-v303-hero,.tke-v302-hero) :is(.tke-v302-kicker,.tke-v303-kicker){font-size:10px!important;opacity:.85!important;}
/* Sidebar logo + title: version shown only in footer, never in heading. */
html body.tke-op-page .tke-app.tke-app-root .tke-sidebar .tke-brand-block{gap:4px!important;padding:1px 6px 19px!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-sidebar .tke-side-title{font-size:14px!important;font-weight:700!important;letter-spacing:0!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-sidebar .tke-brand-block:after{margin-top:11px!important;background:linear-gradient(90deg,#6c28ee,#9e42ec,#ff872f)!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-sidebar nav.tke-project-manager-menu{scrollbar-width:thin!important;scrollbar-color:#574273 transparent!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-sidebar .tke-sidebar-user{margin-top:auto!important;min-height:48px!important;font-size:11px!important;}
html body.tke-op-page .tke-app.tke-app-root .tke-sidebar nav a.tke-main-menu-item.is-active{background:linear-gradient(100deg,#6121cf,#8b2de4)!important;border-radius:9px!important;box-shadow:none!important;}
/* Home page fidelity: card heights / icon tiles / accent chart treatment. */
html body.tke-op-page .tke-app.tke-app-root.tke-v300-home .tke-v300-kpis{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:11px!important;margin:12px 0!important;}
html body.tke-op-page .tke-app.tke-app-root.tke-v300-home .tke-v300-kpi{position:relative!important;display:grid!important;grid-template-columns:46px minmax(0,1fr)!important;grid-template-rows:auto auto auto!important;column-gap:9px!important;align-content:center!important;min-height:117px!important;padding:14px 12px!important;gap:2px 9px!important;}
html body.tke-op-page .tke-app.tke-app-root.tke-v300-home .tke-v300-stat-label{grid-column:1/-1!important;}
html body.tke-op-page .tke-app.tke-app-root.tke-v300-home .tke-v304-stat-label{grid-column:1/-1!important;display:flex!important;align-items:center!important;gap:10px!important;font-size:11px!important;font-weight:750!important;line-height:1.18!important;white-space:normal!important;}
html body.tke-op-page .tke-app.tke-app-root.tke-v300-home .tke-v304-icon{display:inline-grid;place-items:center;flex:0 0 39px;height:39px;border-radius:10px;background:#f1e9ff;color:#7829ee;font-size:23px;font-style:normal;font-weight:800;}
html body.tke-op-page .tke-app.tke-app-root.tke-v300-home .tke-v300-kpi>strong{grid-column:2!important;font-size:30px!important;line-height:1.1!important;align-self:end!important;}
html body.tke-op-page .tke-app.tke-app-root.tke-v300-home .tke-v300-kpi>small{grid-column:2!important;font-size:10px!important;line-height:1.3!important;}
html body.tke-op-page .tke-app.tke-app-root.tke-v300-home .tke-v300-kpi .tke-v304-stat-label{grid-row:1!important;}
html body.tke-op-page .tke-app.tke-app-root.tke-v300-home .tke-v300-chart-grid{gap:11px!important;}
html body.tke-op-page .tke-app.tke-app-root.tke-v300-home .tke-v300-panel{min-height:232px!important;padding:17px 18px!important;}
html body.tke-op-page .tke-app.tke-app-root.tke-v300-home .tke-v300-panel h2{font-size:16px!important;letter-spacing:-.3px!important;}
html body.tke-op-page .tke-app.tke-app-root.tke-v300-home .tke-v300-panel>p{font-size:11px!important;color:#706d86!important;}
html body.tke-op-page .tke-app.tke-app-root.tke-v300-home .tke-v300-ring{width:151px!important;height:151px!important;background:conic-gradient(#7429ef 0 var(--v300-ratio),#d6b4ff var(--v300-ratio) 100%)!important;}
html body.tke-op-page .tke-app.tke-app-root.tke-v300-home .tke-v300-ring>div{width:101px!important;height:101px!important;}
html body.tke-op-page .tke-app.tke-app-root.tke-v300-home .tke-v300-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;align-items:stretch!important;}
html body.tke-op-page .tke-app.tke-app-root.tke-v300-home .tke-v300-summary-grid>div{padding:12px 6px!important;background:transparent!important;border-radius:0!important;align-items:center!important;text-align:center!important;border-right:1px solid #e3dff0!important;}
html body.tke-op-page .tke-app.tke-app-root.tke-v300-home .tke-v300-summary-grid>div:last-child{border-right:0!important;}
html body.tke-op-page .tke-app.tke-app-root.tke-v300-home .tke-v300-summary-grid strong{font-size:20px!important;color:#171135!important;white-space:nowrap!important;}
html body.tke-op-page .tke-app.tke-app-root.tke-v300-home .tke-v300-summary-grid span{font-size:10px!important;}
/* Tables, form controls retain tested interactions; no transformations that scale Gantt. */
html body.tke-op-page .tke-app.tke-app-root :is(.tke-card,.tke-panel,.tke-v300-panel,.tke-v300-kpi){box-shadow:0 5px 17px #180a3e10!important;border-color:#e5e4f0!important;}
/* Legacy empty heading card on Sales/Projects (only when empty after hero adoption) */
html body.tke-op-page .tke-app.tke-app-root .tke-v304-empty-head{display:none!important;}
/* Protected Gantt full screen size and resource labels */
html body.tke-op-page.tke-v287-fullscreen-body .tke-app.tke-app-root>.tke-main,html body.tke-op-page.tke-v287-fullscreen-body .tke-app.tke-app-root>.tke-main{padding:7px!important;}
@media(max-width:1350px){html body.tke-op-page .tke-app.tke-app-root.tke-v300-home .tke-v300-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important;}html body.tke-op-page .tke-app.tke-app-root.tke-v300-home .tke-v300-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:850px){html body.tke-op-page .tke-app.tke-app-root.tke-v300-home .tke-v300-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;}html body.tke-op-page .tke-app.tke-app-root .tke-main :is(.tke-v300-hero,.tke-v303-hero,.tke-v302-hero,.tke-topbar){background-position:right center!important;min-height:120px!important;}}
@media(max-width:650px){html body.tke-op-page .tke-app.tke-app-root.tke-v300-home .tke-v300-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;}html body.tke-op-page .tke-app.tke-app-root>.tke-main{padding:0 10px 28px!important;}html body.tke-op-page .tke-app.tke-app-root .tke-main .tke-v300-hero{margin:0 -10px 14px!important;}html body.tke-op-page .tke-app.tke-app-root.tke-v300-home .tke-v300-chart-grid{grid-template-columns:1fr!important;}html body.tke-op-page .tke-app.tke-app-root.tke-v300-home .tke-v300-panel{grid-column:span 1!important;}}
