/* One visual system for HRIS, candidate portal, public careers and sign-in. */
body[data-hris-experience] {
    --experience-green: #91d026; --experience-ink: #172017; --experience-line: #dce2d9;
    --rec-navy: #101510; --rec-navy-2: #202b1a; --rec-blue: #42621f;
    --rec-teal: #527d24; --rec-ink: #172017; --rec-muted: #586451; --rec-bg: #f4f5f2;
    --rp-navy: #101510; --rp-navy-deep: #080d08; --rp-blue: #42621f; --rp-teal: #527d24;
    color: var(--experience-ink); background: #f4f5f2;
    font-family: 'Segoe UI', Inter, Arial, sans-serif; -webkit-font-smoothing: antialiased;
}
body[data-hris-experience] :focus-visible { outline: 3px solid #62892e; outline-offset: 3px; }
body[data-hris-experience] [hidden] { display: none !important; }
body[data-hris-experience] :is(.sidebar,.rec-sidebar) { background: #0e130e; border-right: 1px solid #2d3626; }
body[data-hris-experience] :is(.sidebar .nav-linkx.active,.rec-nav a.active) { color: #15230a; background: #91d026; border-color: #91d026; border-radius: 7px; box-shadow: inset 3px 0 #d5f7a2; }
body[data-hris-experience] :is(.rec-nav a,.sidebar .nav-linkx) { transition: color .18s,background-color .18s,border-color .18s; }
body[data-hris-experience] .rec-nav a:hover { background: #2a3621; color: #f3f7ee; }
body[data-hris-experience] :is(.topbar,.rec-topbar,.rp-header) { background: #111711; color: #edf5e5; border-bottom: 1px solid #34402c; box-shadow: 0 3px 20px #12220b12; }
body[data-hris-experience] :is(.topbar .top-title,.rec-topbar h1,.rp-brand b) { color: #f4f8ef; }
body[data-hris-experience] :is(.topbar .top-sub,.rec-topbar p,.rp-brand small) { color: #bccab2; }
body[data-hris-experience] .topbar :is(.icon-btn,.top-action,.workspace-command,.command-trigger,.btn-light),body[data-hris-experience] .rec-topbar .rec-icon-btn { background-color: #23301d; color: #e8f3df; border-color: #4a5f3b; box-shadow: none; }
body[data-hris-experience] .topbar .icon-btn span { background: #d0dfc4; }
body[data-hris-experience] .topbar :is(.session-status,.secure-session,.session-safe) { color: #cfddc4; }
body[data-hris-experience] .main-panel { background: #f4f5f2; }
body[data-hris-experience] .main-panel .btn-primary { background: #91d026; color: #17250b; border-color: #81b923; }
body[data-hris-experience] .main-panel .btn-primary:disabled { background: #e0e6d9; color: #5a6750; border-color: #d0d8c8; }
body[data-hris-experience] :is(.content-wrap,.rec-content) { padding-top: 28px; }
body[data-hris-experience] :is(.btn,.rec-btn,.rp-button,.login-button,.security-primary-link,.candidate-submit-button) { border-radius: 7px; letter-spacing: .1px; font-weight: 750; text-decoration: none; }
body[data-hris-experience] :is(.btn-primary,.rec-btn-primary,.rp-button-primary,.login-button,.security-primary-link,.candidate-submit-button) { background: #91d026; border: 1px solid #81b923; color: #17250b; box-shadow: 0 3px 0 #20330d0d; }
body[data-hris-experience] :is(.btn-primary,.rec-btn-primary,.rp-button-primary,.login-button,.security-primary-link,.candidate-submit-button):hover:not(:disabled) { background: #a9e34d; color: #15220a; border-color: #91c936; }
body[data-hris-experience] :is(.btn-primary,.rec-btn-primary,.rp-button-primary,.login-button,.candidate-submit-button):disabled { background: #e0e6d9; color: #5a6750; border-color: #d0d8c8; box-shadow: none; }
body[data-hris-experience] :is(.rec-btn-secondary,.rp-button-secondary) { background: #fff; border-color: #cbd7bf; color: #385026; }
body[data-hris-experience] :is(.form-control,.form-select,.rec-input,.rec-select,.rec-textarea,.rec-field input,.rec-field select,.rec-field textarea) { border-color: #ccd6c3; border-radius: 7px; color: #263820; background-color: #fff; }
body[data-hris-experience] :is(.form-control,.form-select,.rec-input,.rec-select,.rec-textarea,.rec-field input,.rec-field select,.rec-field textarea):focus { border-color: #7fa34a; box-shadow: 0 0 0 3px #9ac65022; }
body[data-hris-experience] :is(.form-control.is-invalid,.form-select.is-invalid) { border-color: #cf3e55; box-shadow: 0 0 0 3px #cf3e5515; }
body[data-hris-experience] :is(.rec-field label,.rec-field>span,.form-label) { color: #41523a; }
body[data-hris-experience] :is(.rec-field small,.form-text,.field-help) { color: #5b6d50; }
body[data-hris-experience] :is(.rec-card,.card-box,.panel-card,.audit-metric-card,.rec-stat,[data-hris-panel]) { border-color: #dce2d5; border-radius: 12px; box-shadow: 0 6px 25px -17px #20381940; }
body[data-hris-experience] :is(.rec-icon-btn,.rec-stat-icon,.rp-feature-icon) { border-radius: 8px; }
body[data-hris-experience] :is(.rec-stat-icon,.rec-step-number) { color: #436324; background: #edf4e2; }

/* A semantic marker is shared by existing and newly added menu headers. */
body[data-hris-experience] [data-hris-hero] {
    position: relative; isolation: isolate; overflow: hidden; padding: clamp(24px,2.7vw,42px);
    border: 1px solid #303d26; border-radius: 14px; color: #f4f8ed;
    background: radial-gradient(ellipse at 100% 0%,#2f4321,transparent 65%),#101610;
    box-shadow: 0 18px 34px -24px #0d1b08aa;
}
body[data-hris-experience] [data-hris-hero] :is(h1,h2) { color: #f7faef; font-size: clamp(27px,2.35vw,40px); font-weight: 780; letter-spacing: -.9px; line-height: 1.2; text-wrap: balance; }
body[data-hris-experience] [data-hris-hero] p { color: #d0ddc5; font-size: 13px; line-height: 1.8; max-width: 82ch; }
body[data-hris-experience] [data-hris-hero] :is(.page-eyebrow,.rec-eyebrow,.rp-eyebrow,.audit-eyebrow,.dashboard-kicker,.payroll-eyebrow,.section-kicker) { color: #b8e580; font-size: 10px; font-weight: 800; letter-spacing: 1.8px; }
body[data-hris-experience] [data-hris-hero] :is(.rec-hero-stat,.audit-snapshot,.contract-hero-card) { border-color: #4e623f; background: #2a3a22; color: #eff7e5; }
body[data-hris-experience] [data-hris-hero] :is(.rec-hero-stat,.audit-snapshot,.contract-hero-card) :is(b,strong) { color: #f4ffea; }
body[data-hris-experience] [data-hris-hero] .btn-light { background: #f8fcf1; color: #304522; border-color: #d0e0be; }
body[data-hris-experience] [data-hris-hero] .btn-primary { background: #91d026; color: #17250b; border-color: #81b923; }
body[data-hris-experience] .page-intro[data-hris-hero] { margin-bottom: 22px; }
body[data-hris-experience] :is(.audit-dialog,.app-dialog,.command-dialog,.payroll-modal,.employee-detail-modal,.rec-dialog,dialog.cycle-modal) { border-radius: 14px; border-color: #d4dfc9; box-shadow: 0 32px 95px #0a170c4d; }
body[data-hris-experience] :is(.rec-dialog-head,.audit-dialog-header,.payroll-modal-hero) { background: #142011; border-color: #38502b; color: #eff7e7; }
body[data-hris-experience] :is(.rec-dialog-head,.audit-dialog-header,.payroll-modal-hero) :is(h1,h2,h3) { color: #f5ffeb; }
body[data-hris-experience] .rec-dialog::backdrop { background: #10190db3; backdrop-filter: blur(4px); }
body[data-hris-experience] :is(.rec-card table,.table) thead { color: #45563b; background: #f3f6ed; }
body[data-hris-experience] .rec-card table tbody tr:hover { background: #f7faef; }

/* Public careers and candidate navigation retain their own responsive layout. */
body.hris-public .rp-nav a { color: #d3dfc9; }
body.hris-public .rp-nav a:is(:hover,.active) { color: #b4e873; }
body.hris-public .rp-header .rp-login-link { color: #edf5e5; }
body.hris-public .rp-header .rp-login-link:hover { color: #b4e873; }
body.hris-public .rp-header .rp-menu-button { background: #23301d; border-color: #4a5f3b; }
body.hris-public .rp-header .rp-menu-button span { background: #edf5e5; }
body.hris-public .rp-header .rp-nav { background: #111711; border-color: #34402c; }
body.hris-public .rp-button-ghost { color: #eef9e5; background: #22351b; border-color: #5a7845; }
body.hris-public .rp-hero[data-hris-hero] { border: 0; border-radius: 0; padding: 68px 0; background: linear-gradient(90deg,#0b1009ee,#14230ea6),url('/images/recruitment-hero-v1.webp') center/cover; }
body.hris-public .rp-hero[data-hris-hero] h1 { font-size: clamp(40px,5.2vw,76px); letter-spacing: -2px; }
body.hris-public .rp-hero-overlay { background: transparent; }
body.hris-public .rp-footer { background: #10160e; color: #d2dfc5; border-top: 1px solid #3d502e; }
body.hris-public .rp-footer :is(p,a,small) { color: #bdccb0; }
body.hris-public .rp-footer .rp-brand b { color: #f1f8e9; }
body.hris-applicant .rec-hero { border-left-color: #91d026; }
body.hris-applicant .rec-content { padding-top: 0; }
body[data-hris-experience] .rec-legal-card { border-top-color: #91d026; border-radius: 12px; }

/* Sign-in and verification are styled without changing any authentication fields. */
body.login-body[data-hris-experience],body.rec-auth[data-hris-experience] { background: radial-gradient(ellipse at 12% 10%,#283c1a,transparent 55%),#0e150c; }
body[data-hris-experience] :is(.login-shell,.security-panel,.rec-auth-panel) { border-color: #dce5d1; border-radius: 16px; box-shadow: 0 30px 90px #0004; }
body[data-hris-experience] .login-visual { background: radial-gradient(ellipse at top right,#405c27,transparent 60%),#121d0d; }
body[data-hris-experience] .login-orb { animation: none; }
body[data-hris-experience] .login-visual :is(h1,h2) { color: #f3f9e9; letter-spacing: -1px; }
body[data-hris-experience] .login-visual p { color: #ccdbbe; }
body[data-hris-experience] :is(.login-eyebrow,.login-kicker) { color: #b7e67a; }
body[data-hris-experience] .security-head { border-bottom-color: #dce4d3; }
body[data-hris-experience] .security-head h1 { color: #203316; }
body[data-hris-experience] .security-head span { color: #527a2b; }
body[data-hris-experience] .security-form button { background: #91d026; color: #17250b; border-color: #81b923; border-radius: 7px; }
body[data-hris-experience] :is(.rec-auth-header a,.rec-auth-footer) { color: #d8e9c8; }
body[data-hris-experience] .rec-auth-tabs a[aria-current] { color: #36551b; background: #eff7e4; border-color: #a8c781; }
body[data-hris-experience] .rec-auth-google { border-color: #c7d5ba; border-radius: 8px; color: #2c421e; }
body[data-hris-experience] .rec-auth-security { background: #f0f6e7; border-color: #d3e1c1; }
body[data-hris-experience] .candidate-public-header { background: #172311; border-color: #334827; color: #f1f8e8; }
body[data-hris-experience] .candidate-public-header :is(h1,p) { color: #e7f0dd; }
body[data-hris-experience] .candidate-public-header span { color: #b8e580; }
body[data-hris-experience] :is(.sim-page,.sim-form,.sim-section,.sim-grid>*,.authz-shell>*,.authz-layout>*) { min-width: 0; }
body[data-hris-experience] .sim-form { grid-template-columns: minmax(0,1fr); }
body[data-hris-experience] .sim-form>* { min-width: 0; }
body[data-hris-experience] .sim-submit { max-width: 100%; flex-wrap: wrap; }
body[data-hris-experience] .sim-attendance-wrap { max-width: 100%; overflow-x: auto; contain: inline-size layout; }
body[data-hris-experience] :is(.authz-save,.authz-toolbar button) { background: #91d026; color: #17250b; border-radius: 7px; }
@media (max-width:1000px) {
    body[data-hris-experience] :is(.identity-grid,.money-grid) { grid-template-columns: repeat(2,minmax(0,1fr)); }
    body[data-hris-experience] .authz-permission-row { grid-template-columns: minmax(0,1fr); }
    body[data-hris-experience] .authz-permission-actions { min-width: 0; }
}
@media (max-width:760px) {
    body[data-hris-experience] :is(.identity-grid,.money-grid) { grid-template-columns: minmax(0,1fr); }
    body[data-hris-experience] .sim-grid .field-wide { grid-column: auto; }
    body[data-hris-experience] [data-hris-hero] { border-radius: 12px; padding: 23px 19px; }
    body[data-hris-experience] [data-hris-hero] :is(h1,h2) { font-size: 26px; letter-spacing: -.6px; }
    body.hris-public .rp-hero[data-hris-hero] { padding: 42px 0; }
    body.hris-public .rp-hero[data-hris-hero] h1 { font-size: 42px; }
    body.hris-public [data-public-nav] { background: #152011; border-color: #3a4b2d; }
    body[data-hris-experience] .rec-dialog::backdrop { backdrop-filter: none; }
    body[data-hris-experience] .content-wrap { padding-top: 20px; }
}
@media (prefers-reduced-motion:reduce) {
    body[data-hris-experience] :is(.nav-linkx,.rec-nav a,.rec-btn,.rp-button) { transition: none; }
}
@media print {
    body[data-hris-experience],body[data-hris-experience] .main-panel { background: #fff; }
}
