/* Shared terracotta and charcoal clay palette. */
:root{--cf-ink:#343433;--cf-muted:#756c64;--cf-lilac:#eeddd0;--cf-pink:#f4d7c4;--cf-mint:#e6e8db;--cf-blue:#e5e5e1;--cf-gold:#efc49c}
body{background:#f0e9e1!important;color:var(--cf-ink)!important;font-family:"Segoe UI",Arial,sans-serif!important}
body :is(h1,h2,h3){letter-spacing:0!important}
body :is(.card,.portal-card,.stat-card,.job-card,.batch,.staff-card){--cf-tile:#f5eee6;--cf-edge:#e0cbbb;background:var(--cf-tile)!important;border:1px solid var(--cf-edge)!important;border-radius:24px!important;box-shadow:0 5px 0 #89694e22,0 12px 22px #70513c12,inset 3px 3px 7px #ffffffc9,inset -3px -4px 8px #86664e12!important}
body :is(.card,.portal-card,.stat-card,.job-card,.batch):nth-of-type(4n+2){--cf-tile:#f3ddcd;--cf-edge:#dfb99e}
body :is(.card,.portal-card,.stat-card,.job-card,.batch):nth-of-type(4n+3){--cf-tile:#e9e6dc;--cf-edge:#d5ccba}
body :is(.card,.portal-card,.stat-card,.job-card,.batch):nth-of-type(4n){--cf-tile:#eee9e3;--cf-edge:#d7cbbf}
body .department-colour-0 .staff-card{--cf-tile:#f5eee6;--cf-edge:#e0cbbb}
body .department-colour-1 .staff-card{--cf-tile:#e9e6dc;--cf-edge:#d5ccba}
body .department-colour-2 .staff-card{--cf-tile:#f3ddcd;--cf-edge:#dfb99e}
body .department-colour-3 .staff-card{--cf-tile:#eee9e3;--cf-edge:#d7cbbf}
body :is(.box,.summary-box,.metric){background:#fffaf3!important;border:1px solid #e2d5c7!important;border-radius:14px!important;box-shadow:inset 2px 2px 4px #fff,0 3px 0 #967b6212!important}
body :is(.report-heading,.mapping-hero,.page-header){background:#f4e9df!important;border:1px solid #ddc9b6!important;border-radius:22px!important;box-shadow:0 5px 0 #bea07725,inset 3px 3px 6px #fffaf2!important}
body :is(.report-heading,.mapping-hero,.page-header) :is(h1,h2,p){color:var(--cf-ink)!important}
body :is(button,.btn,.yellow-btn,.small-btn,.review-button,.add-reminder,.export-button,.back-link,a.dashboard-back){background:linear-gradient(160deg,#e69a6e,#c5663b)!important;border:1px solid #b55e39!important;border-radius:16px!important;color:#33251c!important;box-shadow:0 4px 0 #91452d,0 7px 12px #9d5a361c,inset 2px 3px 5px #f6bd9522,inset -2px -3px 5px #7a3b2925!important;font-weight:700!important;transition:transform .15s,filter .15s;cursor:pointer}
body :is(.btn-secondary,.secondary,.filter-submit,.photo-upload-button){background:linear-gradient(155deg,#565754,#383b39)!important;border-color:#41433f!important;color:#fff8ed!important;box-shadow:0 4px 0 #272b28,inset 2px 3px 5px #ffffff22!important}
body :is(.publish,.approve,.accept,.btn-success){background:linear-gradient(155deg,#e1ead8,#bdd0aa)!important;border-color:#a1b58e!important;color:#304d37!important;box-shadow:0 4px 0 #7e966b,inset 2px 3px 5px #effbe8!important}
body :is(.delete-btn,.amend,.danger,.btn-danger,.logout){background:linear-gradient(155deg,#f7ddd3,#e5ac96)!important;border-color:#cc977f!important;color:#713323!important;box-shadow:0 4px 0 #b57760,inset 2px 3px 5px #fff0e7!important}
body :is(button,.btn,.export-button,.back-link,a.dashboard-back):hover{filter:brightness(1.025);transform:translateY(-1px)}
body :is(button,.btn,.export-button,.back-link,a.dashboard-back):active{transform:translateY(2px)}
body :is(button,.btn):disabled{opacity:.5;transform:none;cursor:not-allowed}
body :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){background:#fffaf5!important;border:1px solid #d9c9bb!important;border-radius:12px!important;color:#343433!important;box-shadow:inset 2px 3px 5px #8b6e541a,0 1px 0 #fff!important}
body :is(input,textarea):read-only,body :is(input,select,textarea):disabled{background:#ebe6df!important;color:#70685f!important}
body :is(.sidebar,.portal-sidebar,.onehr-sidebar){background:#333633!important;border-color:#53564e!important;box-shadow:inset -3px 0 8px #211d1822,4px 0 14px #49372512!important}
body :is(.sidebar .nav a.active,.portal-nav a.active,.status-tab.active){background:#d77c50!important;border-color:#c76d44!important;color:#fff8ed!important;box-shadow:0 3px 0 #87462c33,inset 2px 2px 4px #ffe2c322!important}
body .status-tab:not(.active){border-color:#dfcbbc;background:#faf3eb;color:#746353}
body .kra-group{background:#f5eee6;border-color:#e0cbbb;box-shadow:0 4px 0 #ad8c6d29,inset 2px 2px 5px #ffffff99}
body .kra-group:nth-of-type(3n+2){background:#e9e6dc;border-color:#d5ccba}body .kra-group:nth-of-type(3n){background:#f5dfce;border-color:#dfbfa5}
body th{background:#eaddce!important;color:#544638!important}body td{border-bottom-color:#e0d3c5!important}
body :is(a,button,summary,input,select,textarea):focus-visible{outline:3px solid #a84f2e!important;outline-offset:3px}
body :is(.panel,.journey,.review-set,.rating-card,.login-card,.eval,.job,.result-feedback,.result-publication){background:#faf3eb!important;border-color:#ddc9b6!important;color:#343433;box-shadow:0 5px 0 #a68a6c22,0 12px 24px #6c4e3610,inset 2px 2px 6px #ffffffb0!important}
body :is(.hero,.header,.result-hero){background:#373a37!important;color:#fff8ef!important;border-color:#cd784d!important}
body :is(.hero,.header)>:is(h1,h2,h3),body .hero .brand h1,body .result-hero h2{color:#fff8ef!important}
body :is(.panel,.rating-card,.box,.login-card) :is(h1,h2,h3,h4,label){color:#443c35!important}
body :is(.hero,.header) .brand p{color:#e5d4c5!important}
body :is(.result-chip,.result-reference){background:#ffffff14;border-color:#d09b73;color:#ffe4cc}
body .result-medallion{background:linear-gradient(135deg,#f7cc9e,#d47d4a);color:#39271e;box-shadow:0 0 0 7px #d08b4945,0 0 0 14px #d08b4920}
body :is(.report-heading h1,.report-heading p,.department-heading h2,.card-heading h2,.score-copy>strong,.score-ring strong){color:#343433!important}
body :is(.department-colour-0,.department-colour-1,.department-colour-2,.department-colour-3){--accent:#b7663d;--edge:#dfc9b5}
body .department-colour-1{--accent:#747b60}body .department-colour-2{--accent:#c98152}body .department-colour-3{--accent:#626764}
body :is(.appraisal-joy .half-year-reference,.appraisal-joy .cycle-current-entry,.appraisal-joy .kra-score-details){background:#f2e7dc;border-color:#ddc8b5;color:#544638}
body :is(.status-tab.active,.sidebar .nav a.active,.portal-nav a.active){color:#fffaf4!important}
body:not(.campus-login)::before{background:linear-gradient(180deg,#fffaf333,#e4d4c333)!important}
@media(max-width:600px){body :is(.card,.portal-card,.stat-card,.job-card,.batch,.staff-card){border-radius:19px!important}}
@media(prefers-reduced-motion:reduce){body :is(button,.btn,.export-button,.back-link,a.dashboard-back){transition:none!important;transform:none!important}}
@media print{body{background:white!important}body :is(.card,.portal-card,.stat-card,.job-card,.batch,.staff-card,.report-heading,.mapping-hero,.page-header){background:white!important;box-shadow:none!important}body :is(.sidebar,.portal-sidebar,.onehr-sidebar){display:none!important}}
