/* Shared hiring, team and workforce admin interface. */
.workforce-page { min-height: 100vh; color: var(--text); background: var(--bg-gradient); font-size: 15px; line-height: 1.65; }
.workforce-page [hidden] { display: none !important; }
.workforce-page *, .workforce-page *::before, .workforce-page *::after { box-sizing: border-box; }
.workforce-page a { color: inherit; }
.workforce-page button, .workforce-page input, .workforce-page select, .workforce-page textarea { font: inherit; }
.workforce-page button { cursor: pointer; }
.workforce-page button:disabled { opacity: .6; cursor: wait; }
.workforce-page :focus-visible { outline: 3px solid #d99a12; outline-offset: 3px; }
.workforce-skip { position: fixed; left: 16px; top: -80px; z-index: 200; padding: 12px 20px; background: #facc15; color: #171717 !important; border-radius: 8px; }
.workforce-skip:focus { top: 12px; }
.workforce-header { border-bottom: 1px solid var(--border); background: var(--glass-bg); position: relative; z-index: 20; }
.workforce-header .nav-container { width: min(1240px, calc(100% - 48px)); max-width: none; min-height: 86px; margin: 0 auto; padding: 14px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.workforce-brand { text-decoration: none; font-family: 'Outfit', sans-serif; font-size: 1.65rem; font-weight: 800; letter-spacing: -.07em; color: var(--primary) !important; margin-right: auto; }
.workforce-brand span { color: #c18a00; }
.workforce-nav { display: flex; align-items: center; gap: 24px; }
.workforce-nav a { font-size: .84rem; font-weight: 700; text-decoration: none; }
.workforce-nav a:hover, .workforce-nav [aria-current='page'] { color: #ad7300; }
.workforce-menu-toggle { display: none; background: var(--card-bg); color: var(--primary); border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px; }
.workforce-shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 58px 0 76px; }
.workforce-shell-wide { width: min(1380px, calc(100% - 48px)); }
.workforce-hero { max-width: 750px; margin-bottom: 34px; }
.workforce-eyebrow { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; color: #a66b00; margin-bottom: 12px; }
.workforce-hero h1 { font-family: 'Outfit', sans-serif; color: var(--primary); font-size: clamp(2.1rem, 5vw, 3.7rem); line-height: 1.12; letter-spacing: -.045em; margin: 0 0 16px; }
.workforce-muted, .workforce-hint { color: var(--text-muted); }
.workforce-hint { font-size: .79rem; line-height: 1.6; margin: 6px 0 0; }
.workforce-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 26px; align-items: start; }
.workforce-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 22px; padding: 28px; box-shadow: 0 6px 28px rgba(15, 23, 42, .035); min-width: 0; }
.workforce-card + .workforce-card { margin-top: 22px; }
.workforce-card h2, .workforce-card h3 { color: var(--primary); font-family: 'Outfit', sans-serif; line-height: 1.25; margin: 0; }
.workforce-card h2 { font-size: 1.4rem; }
.workforce-card h3 { font-size: 1.08rem; }
.workforce-section-heading { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 24px; }
.workforce-step { flex: 0 0 34px; height: 34px; display: grid; place-items: center; background: rgba(250, 204, 21, .14); color: #986600; border: 1px solid rgba(217, 119, 6, .16); border-radius: 10px; font-size: .78rem; font-weight: 800; }
.workforce-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.workforce-span { grid-column: 1 / -1; }
.workforce-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.workforce-field > label, .workforce-field > .workforce-label { color: var(--primary); font-size: .81rem; font-weight: 700; }
.workforce-field label span { color: var(--text-muted); font-weight: 400; }
.workforce-field input:not([type='checkbox']), .workforce-field textarea, .workforce-field select, .workforce-input { width: 100%; min-height: 46px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-color); color: var(--text); padding: 11px 13px; outline-offset: 2px; }
.workforce-field textarea { resize: vertical; min-height: 110px; }
.workforce-field input[type='file'] { padding: 10px; font-size: .76rem; }
.workforce-field input[type='file']::file-selector-button { border: 0; border-radius: 6px; padding: 7px 9px; background: rgba(217, 119, 6, .13); color: var(--primary); font: inherit; margin-right: 9px; cursor: pointer; }
.workforce-field input::placeholder, .workforce-field textarea::placeholder { color: var(--text-muted); opacity: .85; }
.workforce-check { display: flex; align-items: flex-start; gap: 10px; font-size: .83rem; }
.workforce-check input { width: 18px; height: 18px; margin-top: 4px; accent-color: #b77900; flex: 0 0 18px; }
.workforce-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.workforce-button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; border: 1px solid transparent; border-radius: 10px; min-height: 44px; padding: 10px 18px; font-size: .82rem !important; line-height: 1.5; font-weight: 800 !important; text-decoration: none !important; background: var(--gold-gradient, linear-gradient(135deg, #facc15, #d97706)); color: #171717 !important; }
.workforce-button:hover { filter: brightness(1.06); }
.workforce-button-secondary { background: var(--bg-color); border-color: var(--border); color: var(--primary) !important; }
.workforce-button-small { min-height: 34px; padding: 6px 11px; font-size: .75rem !important; }
.workforce-button-danger { color: #b91c1c !important; background: rgba(239, 68, 68, .08); border-color: rgba(239, 68, 68, .2); }
.workforce-status { border: 1px solid var(--border); background: var(--bg-color); padding: 12px 15px; border-radius: 10px; font-size: .85rem; margin: 16px 0; overflow-wrap: anywhere; }
.workforce-status[data-kind='error'] { color: #b91c1c; background: rgba(239, 68, 68, .07); border-color: rgba(239, 68, 68, .3); }
.workforce-status[data-kind='success'] { color: #15803d; background: rgba(34, 197, 94, .07); border-color: rgba(34, 197, 94, .3); }
.workforce-education { border: 1px solid var(--border); border-radius: 14px; padding: 19px; margin: 0 0 16px; min-width: 0; }
.workforce-education legend { color: var(--primary); font-size: .82rem; font-weight: 800; padding: 0 6px; }
.workforce-education .workforce-actions { margin-top: 14px; }
.workforce-file-list { display: grid; gap: 7px; padding: 0; margin: 2px 0 0; list-style: none; }
.workforce-file-list li { display: flex; gap: 10px; align-items: center; justify-content: space-between; border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; min-width: 0; }
.workforce-file-list li > span { overflow-wrap: anywhere; font-size: .77rem; }
.workforce-file-list button { flex-shrink: 0; }
.workforce-aside { position: sticky; top: 24px; }
.workforce-aside p { font-size: .84rem; margin-top: 12px; }
.workforce-steps { padding: 0; list-style: none; margin: 22px 0; display: grid; gap: 18px; counter-reset: workflow; }
.workforce-steps li { display: flex; align-items: flex-start; gap: 10px; font-size: .81rem; }
.workforce-steps li::before { counter-increment: workflow; content: counter(workflow); width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; flex-shrink: 0; font-size: .7rem; font-weight: 800; }
.workforce-success { padding: 40px; max-width: 760px; }
.workforce-success h2 { font-size: 2rem; margin-bottom: 14px; }
.workforce-success .workforce-actions { margin-top: 22px; }
.workforce-footer { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 24px 0; border-top: 1px solid var(--border); font-size: .77rem; display: flex; justify-content: space-between; gap: 16px; color: var(--text-muted); }
.workforce-login { max-width: 470px; margin: 10px auto 0; }
.workforce-login h1 { font-size: 2rem; color: var(--primary); font-family: 'Outfit', sans-serif; line-height: 1.2; margin: 10px 0; }
.workforce-login form { margin-top: 25px; display: grid; gap: 18px; }
.workforce-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; margin-bottom: 22px; }
.workforce-toolbar h1 { color: var(--primary); font-family: 'Outfit', sans-serif; font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.2; margin: 0 0 8px; }
.workforce-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin: 25px 0; }
.workforce-stat { padding: 18px 20px; border: 1px solid var(--border); background: var(--card-bg); border-radius: 14px; }
.workforce-stat strong { display: block; color: var(--primary); font-family: 'Outfit', sans-serif; font-size: 1.7rem; }
.workforce-stat span { font-size: .76rem; color: var(--text-muted); }
.workforce-team-grid { display: grid; grid-template-columns: minmax(260px, .82fr) minmax(0, 1.6fr); gap: 23px; align-items: start; }
.workforce-team-grid > .workforce-card { margin: 0; }
.workforce-task-list { display: grid; gap: 10px; margin-top: 18px; }
.workforce-task { padding: 16px; text-align: left; border: 1px solid var(--border); background: var(--bg-color); border-radius: 12px; color: var(--text); width: 100%; }
.workforce-task[aria-pressed='true'] { border-color: #c78d00; box-shadow: 0 0 0 1px #c78d00; }
.workforce-task h3 { font-size: .93rem; overflow-wrap: anywhere; margin-bottom: 10px; }
.workforce-task p { font-size: .72rem; color: var(--text-muted); margin-top: 8px; }
.workforce-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.workforce-badge { display: inline-flex; align-items: center; font-size: .67rem; font-weight: 800; padding: 3px 8px; border-radius: 6px; background: rgba(148, 163, 184, .13); color: var(--text); text-transform: capitalize; }
.workforce-badge[data-state='completed'], .workforce-badge[data-state='approved'] { background: rgba(34, 197, 94, .1); color: #15803d; }
.workforce-badge[data-state='in_progress'], .workforce-badge[data-state='pending'] { background: rgba(217, 119, 6, .1); color: #a16207; }
.workforce-badge[data-state='high'], .workforce-badge[data-state='urgent'], .workforce-badge[data-state='rejected'] { background: rgba(239, 68, 68, .09); color: #b91c1c; }
.workforce-empty { padding: 30px 10px; text-align: center; color: var(--text-muted); font-size: .87rem; }
.workforce-detail-title { margin-bottom: 15px !important; overflow-wrap: anywhere; }
.workforce-prose { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .85rem; margin: 15px 0; }
.workforce-feedback { background: rgba(250, 204, 21, .08); border-left: 3px solid #d99a12; border-radius: 0 8px 8px 0; padding: 14px 17px; margin: 18px 0; }
.workforce-feedback strong { color: var(--primary); font-size: .81rem; }
.workforce-feedback .workforce-prose { margin: 6px 0 0; }
.workforce-divider { border: 0; border-top: 1px solid var(--border); margin: 25px 0; }
.workforce-report-form { display: grid; gap: 18px; margin-top: 20px; }
.workforce-reports { display: grid; gap: 14px; margin-top: 20px; }
.workforce-report { border: 1px solid var(--border); padding: 17px; border-radius: 12px; }
.workforce-report time { font-size: .72rem; color: var(--text-muted); }
.workforce-downloads { display: grid; gap: 8px; list-style: none; padding: 0; }
.workforce-downloads li { overflow-wrap: anywhere; font-size: .8rem; }
.workforce-downloads a { text-decoration: underline; text-underline-offset: 3px; }
.workforce-account { margin-top: 26px; }
.workforce-account summary { cursor: pointer; color: var(--primary); font-weight: 700; }
.workforce-account form { margin-top: 20px; }
html[data-theme='dark'] .workforce-eyebrow, html[data-theme='dark'] .workforce-step, html[data-theme='dark'] .workforce-nav [aria-current='page'] { color: #facc15; }
html[data-theme='dark'] .workforce-badge[data-state='completed'], html[data-theme='dark'] .workforce-badge[data-state='approved'], html[data-theme='dark'] .workforce-status[data-kind='success'] { color: #86efac; }
html[data-theme='dark'] .workforce-badge[data-state='in_progress'], html[data-theme='dark'] .workforce-badge[data-state='pending'] { color: #fcd34d; }
html[data-theme='dark'] .workforce-badge[data-state='high'], html[data-theme='dark'] .workforce-badge[data-state='urgent'], html[data-theme='dark'] .workforce-badge[data-state='rejected'], html[data-theme='dark'] .workforce-button-danger, html[data-theme='dark'] .workforce-status[data-kind='error'] { color: #fca5a5 !important; }
@media (max-width: 900px) { .workforce-layout { grid-template-columns: minmax(0, 1fr); } .workforce-aside { position: static; } .workforce-team-grid { grid-template-columns: minmax(0, 1fr); } .workforce-task-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .workforce-header .nav-container, .workforce-shell, .workforce-shell-wide, .workforce-footer { width: calc(100% - 30px); }
  .workforce-header .nav-container { min-height: 74px; gap: 10px; }
  .workforce-brand { font-size: 1.45rem; }
  .workforce-menu-toggle { display: inline-flex; }
  .workforce-nav { display: none; width: 100%; order: 5; border-top: 1px solid var(--border); padding: 14px 0 4px; gap: 16px; flex-wrap: wrap; }
  .workforce-nav[data-open='true'] { display: flex; }
  .workforce-shell { padding-top: 32px; }
  .workforce-hero { margin-bottom: 25px; }
  .workforce-card { padding: 21px 17px; border-radius: 16px; }
  .workforce-grid, .workforce-task-list { grid-template-columns: minmax(0, 1fr); }
  .workforce-education { padding: 14px; }
  .workforce-stats { gap: 8px; }
  .workforce-stat { padding: 12px; }
  .workforce-stat strong { font-size: 1.4rem; }
  .workforce-stat span { font-size: .67rem; }
  .workforce-footer { flex-direction: column; }
  .workforce-success { padding: 28px 20px; }
}
@media (prefers-reduced-motion: reduce) { .workforce-page *, .workforce-page *::before, .workforce-page *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
