/* HR-Management, 2026 look: clean, white and modern. Loaded after style.css and refresh.css, so it only overrides.
   Plus Jakarta Sans for headings, Inter for reading, Plex Mono for codes and figures. One green accent. */
:root {
  --bg: #F7F8FA; --surface: #FFFFFF; --sunk: #F1F3F6; --ink: #0F172A; --muted: #64748B; --line: #E5E7EB;
  --accent: #0E7A63; --accent-strong: #0B6352; --accent-soft: #E7F5F0; --on-accent: #FFFFFF;
  --forest: #0F172A; --forest-2: #1E293B;
  --f-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --r: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 3px rgba(15, 23, 42, .04);
  --shadow-lg: 0 10px 30px -12px rgba(15, 23, 42, .18);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B0F17; --surface: #111827; --sunk: #0E1420; --ink: #E5E7EB; --muted: #94A3B8; --line: #1F2937;
    --accent: #34C79E; --accent-strong: #5ED6B4; --accent-soft: #0F2E26; --on-accent: #04130E;
    --forest: #E5E7EB; --forest-2: #CBD5E1;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4); --shadow-lg: 0 10px 30px -12px rgba(0, 0, 0, .6);
  }
}
body { font: 15px/1.6 var(--f-body); letter-spacing: -.003em; font-feature-settings: "cv11", "ss01"; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -.022em; }
h1 { font-size: 1.85rem; } h2 { font-size: 1.3rem; } h3 { font-size: 1.05rem; font-weight: 650; }
.eyebrow { font: 600 .74rem var(--f-body); letter-spacing: .04em; color: var(--accent); }

/* ---------- app header: white, thin line, dark text ---------- */
header.top { background: rgba(255, 255, 255, .92); color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: none;
  -webkit-backdrop-filter: saturate(180%) blur(10px); backdrop-filter: saturate(180%) blur(10px); }
header.top::after { display: none; }
header.top a, header.top .link { color: var(--ink); }
.brand b { color: var(--ink); font: 700 1.15rem var(--f-display); letter-spacing: -.02em; }
.brand img { box-shadow: none; }
.brand .org, header.top .org { color: var(--muted); background: var(--sunk); }
.who { color: var(--muted); }
header.top .org-logo.top-logo { box-shadow: none; border: 1px solid var(--line); }
.hdr-ad { background: var(--sunk); border: 1px solid var(--line); }
.hdr-ad-empty { background: none; border: 0; }
.hdr-ad b { color: var(--ink); }
.tab, header.top .tab { color: var(--muted); font-weight: 550; font-size: .9rem; border-radius: 8px; padding: 7px 12px; }
.tab:hover, header.top .tab:hover { color: var(--ink); background: var(--sunk); }
.tab[aria-current="page"], header.top .tab[aria-current="page"], header.top .tab.on { color: var(--accent); background: var(--accent-soft); }
.count { background: var(--accent); color: #fff; font-family: var(--f-body); font-weight: 600; }
.navmenu { border-radius: 12px; box-shadow: var(--shadow-lg); }
@media (prefers-color-scheme: dark) { header.top { background: rgba(17, 24, 39, .9); } }

/* ---------- cards, buttons, forms, tables ---------- */
.card, .tbl-wrap, .tile, .kpis, .balance, .co, .pos, .feature, .price-card, .ad { border-radius: var(--r); box-shadow: var(--shadow); }
.card { padding: 22px 24px; }
.btn { font: 600 .9rem var(--f-body); border-radius: 8px; padding: 9px 16px; box-shadow: 0 1px 2px rgba(15, 23, 42, .08); }
.btn:hover { transform: none; }
.btn.ghost { background: var(--surface); border-color: var(--line); box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.btn.ghost:hover { background: var(--sunk); }
.btn.sm { padding: 5px 10px; font-size: .8rem; border-radius: 7px; }
.btn-lg { padding: 12px 22px; font-size: .98rem; border-radius: 10px; }
input, select, textarea { border: 1px solid #D5DAE1; border-radius: 8px; padding: 9px 12px; box-shadow: 0 1px 2px rgba(15, 23, 42, .03); }
@media (prefers-color-scheme: dark) { input, select, textarea { border-color: var(--line); } }
input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 3px var(--accent-soft); }
label.f { font-weight: 550; font-size: .86rem; }
th { font: 600 .74rem var(--f-body); letter-spacing: .02em; text-transform: none; color: var(--muted); background: var(--sunk); }
th, td { padding: 10px 14px; }
tbody tr:hover td { background: rgba(15, 23, 42, .015); }
.pill { font: 550 .76rem var(--f-body); }
.note, .warnbox, .flash { border-radius: 10px; }
.balance .big, .balance .mid, .kpis b { font-family: var(--f-display); letter-spacing: -.02em; }
.seg { border-radius: 10px; }
.seg a { border-radius: 8px; font-weight: 550; }

/* ---------- public pages: white hero with photos ---------- */
.home-top { background: var(--surface); color: var(--ink); padding-bottom: 0; border-bottom: 1px solid var(--line); }
.home-top a { color: var(--ink); }
.home-hills { display: none; }
.home-bar .brand b { color: var(--ink); font: 700 1.2rem var(--f-display); }
.home-nav a { opacity: 1; color: var(--muted); font-weight: 550; }
.home-nav a:hover, .home-nav a.on { color: var(--ink); }
.home-nav .btn, .home-nav .btn:hover { background: var(--accent); color: #fff; }
.hero-tag { color: var(--accent); background: var(--accent-soft); font: 600 .78rem var(--f-body); letter-spacing: .02em; text-transform: none; }
.hero h1 { color: var(--ink); letter-spacing: -.035em; font-weight: 800; }
.hero h1 span { color: var(--accent); }
.hero-text p, .home-sub-head p { color: var(--muted); }
.hero-cta .btn:first-child, .hero-cta .btn:first-child:hover { background: var(--accent); color: #fff; }
.hero-cta .btn:first-child:hover { background: var(--accent-strong); }
.btn-light, .hero-cta .btn-light { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn-light:hover { background: var(--sunk); }
.hero-stats dt { color: var(--muted); letter-spacing: .02em; text-transform: none; font-size: .85rem; }
.hero-stats dd { color: var(--ink); font-family: var(--f-display); letter-spacing: -.03em; }
.hero-photo { position: relative; }
.hero-photo > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); }
.hero-photo .ad { position: absolute; left: -28px; bottom: -22px; width: 58%; max-width: 300px; box-shadow: var(--shadow-lg); }
.hero-photo .ad-empty { background: var(--surface); }
.home-sub-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 40px; align-items: center; padding-block: 36px 44px; }
.home-sub-head > div { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.home-sub-head h1 { color: var(--ink); font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.03em; }
.home-sub-head .sub-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-lg); }
.subpage .home-top { padding-bottom: 0; }
.feature { gap: 10px; }
.f-ico { border-radius: 10px; }
.price { color: var(--ink); letter-spacing: -.03em; }
.home-foot { background: var(--surface); color: var(--muted); border-top: 1px solid var(--line); }
.home-foot a { color: var(--ink); }
.photo-credit { font-size: .76rem; color: var(--muted); }
.photo-credit a { color: inherit !important; }
@media (max-width: 960px) {
  .home-sub-head { grid-template-columns: minmax(0, 1fr); }
  .home-sub-head .sub-photo { max-height: 260px; }
  .hero-photo .ad { position: static; width: 100%; max-width: none; margin-top: 14px; }
}
@media (min-width: 961px) and (min-height: 560px) {
  .landing .hero-photo > img { max-height: 62vh; }
}

/* ---------- sign-in pages: the photo on the left ---------- */
.auth-hero { background: #0F172A; }
.auth-art { object-position: center 30%; }
.auth-hero::after { background: linear-gradient(180deg, rgba(15, 23, 42, .80) 0%, rgba(15, 23, 42, .35) 50%, rgba(15, 23, 42, .65) 100%); }
.auth-hero-text h2 { font-weight: 800; letter-spacing: -.03em; }
.auth-points li::before { background: #34C79E; box-shadow: 0 0 0 4px rgba(52, 199, 158, .25); }
.auth-main { background: var(--surface); }
.auth-card h1 { font-size: 1.9rem; letter-spacing: -.03em; }
.auth-hero .photo-credit { position: absolute; z-index: 1; right: 14px; bottom: 10px; color: rgba(255, 255, 255, .7); }
.home-sub-plain { grid-template-columns: minmax(0, 1fr); padding-block: 32px; }
.hero-photo > img, .home-sub-head .sub-photo { height: auto; }
.home-sub-head .sub-photo { max-height: 380px; }
.home-top > .wrap { width: 100%; }
.home-nav a.on, .home-nav a[aria-current="page"] { border-color: var(--accent) !important; text-decoration-color: var(--accent); }
body { background: var(--bg); }

/* Sign-up forms: the field only robots fill in (src/antibot.js) */
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Check boxes and radio buttons keep their normal size */
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; padding: 0; box-shadow: none; flex: none; accent-color: var(--accent); vertical-align: middle; }
