/* R78: compact Home, one Home entry, settings and coordinated sign-in. */
.sidebar .oh-home-link{display:flex;align-items:center;gap:12px;margin:8px 0 12px;padding:13px 14px;border-radius:10px}
.sidebar #ohPreferences{display:flex;align-items:center;gap:10px;width:100%;box-sizing:border-box;text-align:left;background:transparent;color:#ff6f20;border:0;border-radius:8px;padding:11px 14px;cursor:pointer;font:inherit}
.sidebar #ohPreferences:hover{background:#536063}.sidebar #ohPreferences svg{flex-shrink:0;width:22px;height:22px}
body:not(.oh-home-expanded) #homeWidgets{display:none!important}
#dashboard{box-shadow:none!important;min-height:0!important;padding:24px!important;border:1px solid #e5e9e9!important;border-top:3px solid #ff6f20!important;background:#fff!important;border-radius:16px!important;gap:16px;flex-wrap:wrap}
#dashboard::before,#dashboard::after{display:none!important}#dashboard .hero-note{display:none!important}#dashboard h1{font-size:24px!important;margin:6px 0!important;color:#414a4c!important}#dashboard .eyebrow{color:#c74a00!important;letter-spacing:1.6px}#dashboard #identity{margin:6px 0!important;color:#617073!important}
.oh-home-controls{flex-basis:100%;border-top:1px solid #edf0f0;padding-top:14px}.oh-home-controls button{padding:10px 14px;background:#fff8f2;border:1px solid #ffd3b5;border-radius:8px;color:#9b3e08;cursor:pointer;font:inherit;font-size:12px}
.oh-settings label{display:block;margin:20px 0}.oh-settings label input[type=checkbox]{display:inline-block;width:auto;margin:0 8px 0 0;accent-color:#ff6f20}.oh-settings select{display:block;margin-top:8px;padding:10px;border:1px solid #cdd5d6;border-radius:8px;background:white;color:#414a4c}.oh-settings p{color:#617073;line-height:1.6}
#auth{font-family:Arial,Helvetica,sans-serif;max-width:1040px!important;margin:48px auto!important;padding:0 22px!important;display:grid;grid-template-columns:1fr 1fr;gap:0!important;align-items:stretch}
#auth[hidden]{display:none!important}#auth>.intro{box-sizing:border-box;border-radius:22px 0 0 22px!important;border:0!important;padding:48px 36px!important;background:radial-gradient(circle at 0 100%,#687170 0,transparent 60%),#414a4c!important;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}
#auth>.intro h1{font-size:clamp(27px,3vw,38px)!important;line-height:1.2!important;letter-spacing:-1px;margin:0 0 24px!important;color:#ff6f20!important}#auth>.intro p{color:#f3f4f4!important;line-height:1.8!important;font-size:14px!important;max-width:350px}#auth .intro-features{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 36px}#auth .intro-features span{border:1px solid #ff6f2060;border-radius:24px;padding:8px 12px;color:#ffb27f!important;font-size:12px}#auth .intro-bottom{margin-top:auto;padding-top:28px;border-top:1px solid #ffffff25;color:#ff6f20!important}
#auth>.card:not(.intro){box-sizing:border-box;border-radius:0 22px 22px 0!important;border:1px solid #e4e8e8!important;border-top:4px solid #ff6f20!important;background:white!important;padding:38px!important;box-shadow:0 20px 60px #414a4c10!important}
#auth .tabs{background:#f1f4f4!important;padding:5px!important;gap:4px!important;margin-bottom:30px;border-radius:10px}#auth .tabs button{color:#586568!important;font-size:12px!important;flex:1;padding:10px 8px!important}#auth .tabs button.selected{background:#414a4c!important;color:#ff6f20!important;border-color:#414a4c!important}#auth .tabs button:hover{background:#e5eaea!important;color:#9b3e08!important}#auth .tabs button.selected:hover{background:#414a4c!important;color:#ff6f20!important}
#auth form label{display:block;margin:18px 0;font-size:13px;font-weight:600}#auth input{margin-top:8px;background:#fafcfc!important;padding:13px 14px!important}#auth .form-intro h2{font-size:25px!important;margin:0 0 8px}#auth .form-intro p{font-size:13px!important;color:#617073!important}#auth button.primary{width:100%;margin-top:12px;padding:14px!important;background:#ff6f20!important;color:#263235!important;box-shadow:0 6px 16px #ff6f2024}#auth button:focus-visible,.oh-home-controls button:focus-visible{outline:2px solid #ff6f20;outline-offset:3px}
@media(min-width:1001px){body.hris-menu-compact .sidebar #ohPreferences{width:52px;justify-content:center;padding:10px;margin:6px auto}body.hris-menu-compact .sidebar #ohPreferences span{display:none!important}}
@media(max-width:700px){#auth{grid-template-columns:1fr;margin:24px auto!important;padding:0 16px!important}#auth>.intro{border-radius:18px 18px 0 0!important;padding:28px!important}#auth>.intro h1{font-size:27px!important;margin-bottom:12px!important}#auth .intro-features,#auth .intro-bottom{display:none}#auth>.card:not(.intro){border-radius:0 0 18px 18px!important;padding:26px 22px!important}#auth .tabs button{font-size:11px!important}#dashboard{padding:20px!important}}
@media print{.oh-home-controls{display:none!important}}

/* R79: account controls live on the avatar; compact Home by default. */
.sidebar .oh-settings-group{display:none!important}
#headerEmployeeAvatar,#sidebarEmployeeAvatar{cursor:pointer}
#headerEmployeeAvatar:focus-visible,#sidebarEmployeeAvatar:focus-visible{outline:2px solid #ff6f20;outline-offset:4px}
body:not(.oh-home-expanded) #summaryCards>:nth-child(n+5){display:none!important}
#summaryCards{gap:16px!important}
#dashboard{padding:20px 24px!important}
.oh-settings>button{margin:0 10px 12px 0;padding:10px 14px;border:1px solid #ffc89f;border-radius:8px;background:#fff7f1;color:#8f3c08}
/* Screen-only colors leave printed reports and preview documents unchanged. */
@media screen{
html[data-oranza-theme=dark]{color-scheme:dark;background:#262e30}
html[data-oranza-theme=dark] body{background:#262e30!important;color:#e7eded!important}
html[data-oranza-theme=dark] :is(#portal,main,.wrap){background-color:transparent}
html[data-oranza-theme=dark] :is(#portal .card,#portal .heading,#portal .fw-main,#portal .fw-chart,#portal .fw-filters,#portal .fw-kpi,#portal .oa-module-body,#portal .oa-module-menu,#portal .pq-report,#portal .ga-report,#portal .erp-report,#portal .table-scroll,#portal .summary-card,#portal .stat-card){background:#333d3f!important;color:#e7eded!important;border-color:#536164!important;box-shadow:none!important}
html[data-oranza-theme=dark] #dashboard{background:#333d3f!important;border-color:#536164!important;border-top-color:#ff6f20!important}
html[data-oranza-theme=dark] :is(#portal h1,#portal h2,#portal h3,#portal h4,#portal label,#portal p,#portal dt,#portal dd,#portal small,#portal .fw-kpi-label,#portal #identity,#portal #welcome){color:#e7eded!important}
html[data-oranza-theme=dark] :is(#portal .eyebrow,#portal a:not(.fw-nav),#portal .fw-kpi-value){color:#ffb27f!important}
html[data-oranza-theme=dark] #portal :is(input,select,textarea){background:#273133!important;color:#edf2f2!important;border-color:#68777a!important}
html[data-oranza-theme=dark] :is(#portal input,#portal textarea)::placeholder{color:#a7b5b7}
html[data-oranza-theme=dark] #portal table{background:#333d3f!important;color:#e7eded!important}
html[data-oranza-theme=dark] #portal :is(td,th){border-color:#536164!important}
html[data-oranza-theme=dark] #portal th{background:#414a4c!important;color:#ffb27f!important}
html[data-oranza-theme=dark] #portal tbody tr{background:#333d3f!important;color:#e7eded!important}
html[data-oranza-theme=dark] #portal tbody tr:nth-child(even){background:#394447!important}
html[data-oranza-theme=dark] #portal :is(.fw-insight,.ac-ptk-tools){background:#414a4c!important;color:#e7eded!important;border-color:#68777a!important}
html[data-oranza-theme=dark] #portal .fw-chart text{fill:#c5d1d3!important}
html[data-oranza-theme=dark] :is(.ac-dialog,.oh-settings){background:#333d3f!important;color:#e7eded!important;border-color:#68777a!important;border-top-color:#ff6f20!important}
html[data-oranza-theme=dark] :is(.ac-dialog h2,.ac-dialog p,.ac-dialog label,.ac-dialog small){color:#e7eded!important}
html[data-oranza-theme=dark] .ac-dialog :is(input,select,textarea){background:#273133!important;color:#edf2f2!important;border-color:#68777a!important}
html[data-oranza-theme=dark] .ac-dialog .ac-error{background:#542f2a!important;color:#ffcec3!important}
html[data-oranza-theme=dark] #auth>.card:not(.intro){background:#333d3f!important;border-color:#536164!important;border-top-color:#ff6f20!important}
html[data-oranza-theme=dark] #auth :is(label,.form-intro h2,.form-intro p){color:#e7eded!important}
html[data-oranza-theme=dark] #auth input{background:#273133!important;color:#edf2f2!important;border-color:#68777a!important}
html[data-oranza-theme=dark] #auth .tabs{background:#273133!important}
html[data-oranza-theme=dark] #auth .tabs button{color:#cbd7d9!important}
html[data-oranza-theme=dark] #auth .tabs button.selected{color:#ffb27f!important;background:#414a4c!important}
}
