/* ONIT v0.36.2 global typography contrast rule
   Light/white surfaces = black text. Strong coloured/dark surfaces = white text.
   Colour remains available for dots, borders, fills and non-text indicators. */
body *{color:#171717!important}
body,.app,.workspace,.main,.card,.morecard,.modalBox,.notifPanel,.field,.metaBlock,.activationPanel,.activationCard,.activationStat,.activationReadinessCard,.activationOwnerBar,.ideasPanel,.ideasPattern,.ideasOpportunity,.ideasSignal,.ideasStat,.ideasCompose{color:#171717!important}
button,input,select,textarea,a,a:visited,.linkbtn,.back,.mini,.secondary,.mobileMoreGrid>button{color:#171717}
.muted,.tiny,.bigTiny,.roleNote,.code,.inlineInfo span,.field label,.metaBlock b,.reportTable th,.activationMeta,.activationStat span,.activationTable th,.ideasSource,.ideasQuickNote{color:#171717!important}
.green,.orange,.red,.dangerText,.testMode,.mobileMoreKicker,.workReplayEyebrow{color:#171717!important}
.notice,.success,.approvalWarning,.approvalOk,.activationFlag{background:#fff!important;color:#171717!important;border:1px solid #d9d9d4!important}
.dangerAction{background:#fff!important;color:#171717!important}
a:hover{text-decoration:underline}
/* Selected / strong controls use black so their label can remain white. */
.new,.nav button.active,.nav button:hover,.tabs button.active,.filterRow button.active,.dataToolbar button.active,.authTabs button.active,.memoryFilters button.active,.previewNav .mini.active,.pulseTabs button.active,.casesSubnav button.active,.activationSubnav button.active,.activationStatus.live,.activationLifecycle span.current,.ideasTabs button.active,.ideasChip.strong,.ideasStage.ready,.ideasTrail span.current,.v030AssistBanner button,.v030AssistTabs button.active,.v031TrafficModes button.active,.casesOwnerAccessQuick,.buzzerBtn,.primaryBuzzResponse,.onitDialogBtn.primary,.morningStartBtn{background:#171717!important;color:#fff!important;border-color:#171717!important}
.new *,.nav button.active *,.nav button:hover *,.tabs button.active *,.filterRow button.active *,.dataToolbar button.active *,.authTabs button.active *,.memoryFilters button.active *,.previewNav .mini.active *,.pulseTabs button.active *,.casesSubnav button.active *,.activationSubnav button.active *,.activationStatus.live *,.ideasTabs button.active *,.ideasChip.strong *,.ideasStage.ready *,.ideasTrail span.current *,.v030AssistBanner button *,.v030AssistTabs button.active *,.v031TrafficModes button.active *,.casesOwnerAccessQuick *,.buzzerBtn *,.primaryBuzzResponse *,.onitDialogBtn.primary *,.morningStartBtn *{color:#fff!important}
@media(max-width:820px){.nav button.mobilePrimaryNav.active{background:#171717!important;color:#fff!important}.nav button.mobilePrimaryNav.active *{color:#fff!important}.mobileMoreKicker{color:#171717!important}}
/* Dark feature surfaces: every piece of typography is white. */
.activationHero,.activationHero *,.ideasHero,.ideasHero *,.buzzerHero,.buzzerHero *,.buzzerPopupTop,.buzzerPopupTop *,.workReplayHero,.workReplayHero *,.workReplayShell,.workReplayShell *,.workReplayStat,.workReplayStat *,.radarMorning,.radarMorning *,.onitRadarDark,.onitRadarDark *,.radarShell,.radarShell *,.v030AssistHero,.v030AssistHero *,.caseHeroPreview,.caseHeroPreview *,.caseScore,.caseScore *,.trafficQueueRank,.trafficQueueRank *,.toast,.toast *,.memoryRefresh,.memoryRefresh *,.ownerBadge,.ownerBadge *,.badge,.badge *,#onitSaveState,#onitSaveState *,.onitSkipLink,.onitSkipLink *{color:#fff!important}
/* White controls inside dark surfaces keep black labels for contrast. */
.radarShell .radarAction,.radarShell .radarAction *,.radarShell .morningStartBtn,.radarShell .morningStartBtn *{color:#171717!important}
.activationScore,.activationScore *,.ideasHeroCount,.ideasHeroCount *{color:#171717!important}
/* Keep semantic colour in non-text indicators only. */
.dot,.buzzerPulse,.onitSyncChip:before,.onitA11yStatus:before{color:inherit}

button,[role="button"]{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.onitDialogBtn.primary,.onitDialogBtn.primary *{color:#fff!important}

/* ONIT v0.36.4 — leadership response controls */
.leadershipResponseBox{margin:0 0 14px;padding:18px;border:1px solid #e2ded8;border-radius:16px;background:#fff;color:#171717!important}
.leadershipResponseBox *{color:#171717!important}
.leadershipResponseKicker{font-size:9px;font-weight:950;letter-spacing:.14em;margin-bottom:5px}
.leadershipResponseBox h3{font-size:20px;margin:0 0 5px}
.leadershipResponseBox p{font-size:12px;line-height:1.5;margin:0;color:#555!important}
.leadershipResponseActions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.leadershipResponseActions button{min-height:44px;border-radius:10px;padding:10px 16px;font-weight:950;border:1px solid #171717;cursor:pointer}
.leadershipApprove{background:#178d50!important;border-color:#178d50!important;color:#fff!important}
.leadershipApprove *{color:#fff!important}
.leadershipSendBack{background:#d93632!important;border-color:#d93632!important;color:#fff!important}
.leadershipSendBack *{color:#fff!important}
.leadershipComment{background:#171717!important;border-color:#171717!important;color:#fff!important}
.leadershipComment *{color:#fff!important}
.leadershipResponseLatest{margin-top:12px;border-radius:10px;padding:10px 12px;font-size:11px;line-height:1.45;border:1px solid #ddd;background:#f7f6f3}
.leadershipResponseLatest div{margin-top:5px}
@media(max-width:760px){.leadershipResponseActions{display:grid;grid-template-columns:1fr}.leadershipResponseActions button{width:100%}}
