/* ETHOS identity: exact red and charcoal from the supplied horizontal SVG. */
:root{--ethos-red:#cf3060;--ethos-red-dark:#cf3060;--ethos-ink:#4f4337;--ethos-paper:#ffffff;--ethos-bg:#ffffff;--ethos-line:#f8f8f9;--ethos-muted:#90806c;--violet:#cf3060;--violet-soft:#eeeeef;--line:#f8f8f9;--muted:#90806c}
body{background:#ffffff;color:var(--ethos-ink)}
.sidebar{background:#ffffff;border-color:var(--ethos-line);box-shadow:0 2px 14px #f493250b}
.sidebar .brand{min-width:145px;padding:0 17px 0 0}
.sidebar .brand img{display:block;width:140px;height:auto;max-height:46px;object-fit:contain;object-position:left center}
.sidebar .nav-button{color:#746250}
.sidebar .nav-button:hover,.sidebar .nav-button:focus-visible{background:#eeeeef;border-color:#eeeeef;color:var(--ethos-red-dark)}
.sidebar .nav-button.active{background:#eeeeef;border-color:#eeeeef;color:var(--ethos-red-dark)}
.sidebar .logout{color:#746250;border-color:var(--ethos-line)}
.sidebar .logout:hover{background:#eeeeef;border-color:#eeeeef;color:var(--ethos-red-dark)}
.intro h1,.heading h2,.card strong{color:var(--ethos-ink)}
.eyebrow,.section-nav a{color:var(--ethos-red)}
.muted-text,.heading>span,.filter-foot,.table-foot{color:var(--ethos-muted)}
.note-tag,.panel,.section-nav a{border-color:var(--ethos-line)}
.panel{box-shadow:0 4px 16px #f493250a}
.section-nav{background:#ffffffed}
.section-nav a:hover,.section-nav a:focus-visible{background:#eeeeef;border-color:#eeeeef}
.filters nav .chosen{background:#eeeeef;border-color:#eeeeef;color:var(--ethos-red-dark)}
.filters nav button:hover{background:#eeeeef;color:var(--ethos-red-dark)}
.primary{background:var(--ethos-red);box-shadow:0 5px 13px #cf306030}
.primary:hover{background:var(--ethos-red-dark)}
.secondary,.compare-toolbar button{color:var(--ethos-red-dark);border-color:var(--ethos-line)}
.secondary:hover,.compare-toolbar button:hover{background:#eeeeef;border-color:#eeeeef}
.form-row input,.form-row select,.compare-toolbar input,.compare-toolbar select,.period-editor input,.personal-input-grid input,.personal-work textarea{border-color:var(--ethos-line);color:var(--ethos-ink)}
.form-row input:focus,.form-row select:focus,.compare-toolbar input:focus,.compare-toolbar select:focus,.period-editor input:focus{border-color:var(--ethos-red)}
.card{border-top-color:#eeeeef}
.icon.blue,.icon.purple{background:#eeeeef;color:var(--ethos-red)}
.group-row th{background:#eeeeef;color:var(--ethos-red-dark)}
thead{background:#ffffff}
th{color:#90806c;border-color:var(--ethos-line)}
td{color:#746250;border-color:#f8f8f9}
.chip,.metric-options label{background:#ffffff;color:#746250;border-color:var(--ethos-line)}
.metric-options input{accent-color:var(--ethos-red)}
.snapshot-strip,.period-editor,.personal-source-grid>div{background:#ffffff;border-color:var(--ethos-line)}
.personal-source-grid strong,.snapshot-strip strong{color:var(--ethos-ink)}
.login-screen{background:#f8f0e1dd}
.login-card{border-color:var(--ethos-line)}
.login-logo{display:block;width:190px;max-width:100%;height:auto;align-self:flex-start;margin-bottom:7px}
.login-card h1{color:var(--ethos-ink)}
.login-card input{border-color:var(--ethos-line)}
#personal-view .personal-insights{background:#ffffff;border-color:var(--ethos-line)}
#personal-view .insights-head{background:linear-gradient(115deg,#eeeeef,#ffffff 76%);border-color:#eeeeef}
#personal-view .insights-head .eyebrow{color:var(--ethos-red)}
#personal-view .insights-head h2,#personal-view .insights-group-title{color:var(--ethos-ink)}
#personal-view .insights-head p:last-child{color:#746250}
#personal-view .insights-actions .secondary{color:var(--ethos-red-dark);border-color:#eeeeef}
#personal-view .insights-finance>div{border-color:var(--ethos-line);border-top-color:var(--ethos-red)}
#personal-view .insights-finance strong{color:var(--ethos-ink)}
#personal-view .insights-kpis article{border-color:var(--ethos-line);border-top-color:#eeeeef}
#personal-view .insights-kpis .insight-card-label span{color:#746250}
#personal-view .insights-kpis .insight-card-value-row strong{color:var(--ethos-ink)}
#personal-view .insights-work-grid section{border-color:var(--ethos-line)}
#personal-view .insights-work-grid h3{color:var(--ethos-ink)}
#personal-view .insights-work-grid textarea{background:#ffffff;border-color:var(--ethos-line);color:var(--ethos-ink)}
#personal-view .insights-switch button.selected{background:var(--ethos-red);color:#0c1b45}
#personal-view .insights-plot .chart-line{stroke:var(--ethos-red)}
#tasks-frame{border-color:var(--ethos-line);background:#ffffff}
.tasks-source{color:var(--ethos-muted)}
@media(max-width:900px){.sidebar .brand{min-width:0;padding-right:9px}.sidebar .brand img{width:118px}}
@media(max-width:650px){.sidebar .brand img{width:112px}.sidebar .brand{padding:0}.sidebar .nav-button.active{background:#eeeeef}.login-logo{width:170px}}
