/* Payroll Manager Help. Tokens follow ppm-web packages/ui/src/tokens.css. */
@font-face { font-family: "Inter Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/inter-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/inter-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy: #0a192f;
  --mint: #10b981;
  --mint-bright: #00e599;
  --bg: #f7f8f8;
  --surface: #ffffff;
  --side: #f3f5f4;
  --text: #0a192f;
  --muted: #5b6474;
  --border: #e3e7ea;
  --primary: #047857;
  --selected: #e3f6ee;
  --code-bg: #eef1f3;
  --note-bg: #eef4fb; --note-fg: #1d4b7a; --note-bar: #4a8bd1;
  --tip-bg: #dcf5e9; --tip-fg: #065f46; --tip-bar: #10b981;
  --warn-bg: #fdf0d9; --warn-fg: #8a4b06; --warn-bar: #e8a317;
  --imp-bg: #fde4e1; --imp-fg: #9b1c12; --imp-bar: #d64a3a;
  --demo-bg: #f1ecfb; --demo-fg: #4b2d84; --demo-bar: #8b67d1;
  --font: "Inter Variable", Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --top: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #08121f; --surface: #0d1b2e; --side: #0a1626; --text: #e8edf3; --muted: #9aa6b6; --border: #1e2e44; --primary: #34d399; --selected: #0f2e2a; --code-bg: #17263b;
    --note-bg: #12233a; --note-fg: #b9d5f2; --tip-bg: #0f3327; --tip-fg: #6ee7b7; --warn-bg: #3a2a0c; --warn-fg: #fcd34d; --imp-bg: #3b1513; --imp-fg: #fca5a5; --demo-bg: #241a3a; --demo-fg: #d5c4f7;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #08121f; --surface: #0d1b2e; --side: #0a1626; --text: #e8edf3; --muted: #9aa6b6; --border: #1e2e44; --primary: #34d399; --selected: #0f2e2a; --code-bg: #17263b;
  --note-bg: #12233a; --note-fg: #b9d5f2; --tip-bg: #0f3327; --tip-fg: #6ee7b7; --warn-bg: #3a2a0c; --warn-fg: #fcd34d; --imp-bg: #3b1513; --imp-fg: #fca5a5; --demo-bg: #241a3a; --demo-fg: #d5c4f7;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--top) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--font); }
a { color: var(--primary); text-underline-offset: 2px; }
img { max-width: 100%; height: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* top bar */
.top { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--border); }
.top__in { height: var(--top); display: flex; align-items: center; gap: 20px; padding: 0 20px; max-width: 1440px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex: none; }
.brand__logo { height: 34px; width: auto; display: block; }
.brand__logo--light { display: none; }
:root[data-theme="dark"] .brand__logo--dark { display: none; }
:root[data-theme="dark"] .brand__logo--light { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand__logo--dark { display: none; } :root:not([data-theme="light"]) .brand__logo--light { display: block; } }
.brand__product { font-size: 15px; font-weight: 600; color: var(--muted); border-left: 1px solid var(--border); padding-left: 10px; white-space: nowrap; }
.brand__product b { color: var(--text); font-weight: 700; }
.apptabs { display: flex; gap: 4px; }
.apptab { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; white-space: nowrap; }
.apptab:hover { background: var(--side); color: var(--text); }
.apptab.is-active { background: var(--selected); color: var(--text); }
.search { position: relative; margin-left: auto; width: min(340px, 34vw); }
.search input { width: 100%; height: 40px; border: 1px solid var(--border); border-radius: 10px; padding: 0 12px 0 36px; font: inherit; font-size: 15px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%235b6474' stroke-width='2'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='m13 13 4 4'/%3E%3C/svg%3E") no-repeat 11px 50%; color: var(--text); }
.search input:focus { outline: 2px solid var(--mint); outline-offset: 1px; }
.results { position: absolute; right: 0; top: 46px; width: min(520px, 92vw); max-height: 70vh; overflow: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 12px 32px rgb(10 25 47 / 18%); padding: 6px; }
.results a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--text); }
.results a:hover, .results a.is-sel { background: var(--selected); }
.results small { display: block; color: var(--muted); font-size: 13px; }
.results mark { background: #fff1b8; color: inherit; border-radius: 2px; }
.results .none { padding: 12px; color: var(--muted); }
.theme-btn, .menu-btn { border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 8px; width: 40px; height: 40px; font-size: 18px; cursor: pointer; flex: none; }
.menu-btn { display: none; }

/* layout */
.wrap { display: grid; grid-template-columns: 272px minmax(0, 1fr) 232px; gap: 40px; max-width: 1440px; margin: 0 auto; padding: 0 20px; }
.wrap--home { grid-template-columns: minmax(0, 1fr); max-width: 1120px; }
.side { position: sticky; top: var(--top); height: calc(100vh - var(--top)); overflow: auto; padding: 24px 0 40px; }
.sidenav__home { display: block; font-weight: 700; color: var(--text); text-decoration: none; padding: 6px 10px; border-radius: 8px; margin-bottom: 8px; }
.sidenav__home.is-active, .sidenav__home:hover { background: var(--selected); }
.sidenav__group { margin: 14px 0; }
.sidenav__heading { margin: 0 0 4px; padding: 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sidenav ul { list-style: none; margin: 0; padding: 0; }
.sidenav li a { display: block; padding: 5px 10px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 15px; line-height: 1.4; }
.sidenav li a:hover { background: var(--side); }
.sidenav li a.is-active { background: var(--selected); font-weight: 600; }
.main { min-width: 0; padding: 28px 0 48px; }
.toc-side { position: sticky; top: var(--top); align-self: start; padding: 32px 0; max-height: calc(100vh - var(--top)); overflow: auto; }
.toc p { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.toc ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--border); }
.toc li a { display: block; padding: 4px 12px; font-size: 14px; color: var(--muted); text-decoration: none; line-height: 1.4; margin-left: -2px; border-left: 2px solid transparent; }
.toc li.toc--3 a { padding-left: 24px; font-size: 13px; }
.toc li a:hover { color: var(--text); }
.toc li a.is-here { color: var(--text); border-left-color: var(--mint); }
.crumbs { margin: 0 0 4px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* article */
.doc { max-width: 820px; }
.wrap--home .doc { max-width: none; }
.doc h1 { font-size: 36px; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 12px; }
.doc h2 { font-size: 24px; line-height: 1.3; margin: 44px 0 12px; padding-top: 8px; letter-spacing: -0.01em; }
.doc h3 { font-size: 19px; margin: 32px 0 8px; }
.doc h4 { font-size: 16px; margin: 24px 0 6px; }
.doc .anchor { float: left; margin-left: -22px; padding-right: 6px; color: var(--border); text-decoration: none; font-weight: 400; opacity: 0; }
.doc h2:hover .anchor, .doc h3:hover .anchor { opacity: 1; }
.doc h1 + p { font-size: 18px; color: var(--muted); margin-top: 0; }
.doc p, .doc li { max-width: 72ch; }
.doc ol, .doc ul { padding-left: 24px; }
.doc li { margin: 6px 0; }
.doc li > p { margin: 6px 0; }
.doc code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; background: var(--code-bg); padding: 2px 6px; border-radius: 6px; }
.doc pre { background: var(--code-bg); padding: 14px 16px; border-radius: 10px; overflow: auto; }
.doc pre code { padding: 0; background: none; }
.doc kbd { font: 600 13px var(--font); border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; background: var(--surface); }
.doc hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }
.doc strong { font-weight: 650; }

/* numbered steps: an ordered list straight after a "Steps" style heading gets big numbers */
.doc ol { counter-reset: step; list-style: none; padding-left: 0; }
.doc ol > li { counter-increment: step; position: relative; padding-left: 44px; margin: 12px 0; }
.doc ol > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; line-height: 1; }
:root[data-theme="dark"] .doc ol > li::before { background: var(--mint); color: #04130c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .doc ol > li::before { background: var(--mint); color: #04130c; } }
.doc ol ol > li::before { background: var(--muted); }

/* screenshots */
.shot { margin: 18px 0 26px; }
.shot img { display: block; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 6px 20px rgb(10 25 47 / 10%); background: var(--surface); }
.shot a.zoom { display: inline-block; cursor: zoom-in; }
.shot figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.shot--phone img, .doc img[src*="/employer/"] { max-width: 360px; }
.doc li .shot { margin: 12px 0 18px; }

/* callouts */
.callout { border-left: 4px solid var(--note-bar); background: var(--note-bg); color: var(--note-fg); border-radius: 0 10px 10px 0; padding: 12px 16px; margin: 18px 0; }
.callout p { margin: 4px 0; max-width: none; }
.callout__title { font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.callout a { color: inherit; }
.callout--tip { border-color: var(--tip-bar); background: var(--tip-bg); color: var(--tip-fg); }
.callout--warning { border-color: var(--warn-bar); background: var(--warn-bg); color: var(--warn-fg); }
.callout--important { border-color: var(--imp-bar); background: var(--imp-bg); color: var(--imp-fg); }
.callout--demo { border-color: var(--demo-bar); background: var(--demo-bg); color: var(--demo-fg); }
.callout--ai { border-color: var(--warn-bar); background: var(--warn-bg); color: var(--warn-fg); }
blockquote { margin: 16px 0; padding: 4px 16px; border-left: 4px solid var(--border); color: var(--muted); }

/* tables */
.table-wrap { overflow-x: auto; margin: 16px 0 24px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.doc th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--side); }
.doc tr:last-child td { border-bottom: 0; }

/* home cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 20px 0 32px; }
.card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--mint); transform: translateY(-1px); }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .card__go { display: block; margin-top: 12px; color: var(--primary); font-weight: 600; font-size: 15px; }
.cards--small .card { padding: 14px 16px; }
.cards--small .card h3 { font-size: 16px; }
.hero { padding: 28px 0 4px; }
.hero h1 { font-size: 42px; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--selected); color: var(--primary); vertical-align: middle; }

/* pager & footer */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 820px; margin-top: 48px; }
.pager a { border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; text-decoration: none; color: var(--text); font-weight: 600; background: var(--surface); }
.pager a:hover { border-color: var(--mint); }
.pager small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }
.pager__next { text-align: right; grid-column: 2; }
.foot { max-width: 820px; margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgb(4 10 20 / 88%); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: 0 20px 60px rgb(0 0 0 / 50%); background: #fff; }
.lightbox button { position: absolute; top: 14px; right: 18px; font-size: 32px; line-height: 1; background: none; border: 0; color: #fff; cursor: pointer; }

/* responsive */
@media (max-width: 1200px) {
  .wrap { grid-template-columns: 252px minmax(0, 1fr); }
  .toc-side { display: none; }
}
@media (max-width: 900px) {
  .top__in { gap: 10px; padding: 0 12px; }
  .apptabs { display: none; }
  .brand__product { display: none; }
  .search { width: auto; flex: 1; }
  .menu-btn { display: block; }
  body:not([data-app]) .menu-btn { display: none; }
  .wrap { grid-template-columns: minmax(0, 1fr); padding: 0 16px; }
  .side { position: fixed; z-index: 30; top: var(--top); left: 0; width: min(320px, 86vw); background: var(--surface); border-right: 1px solid var(--border); padding: 16px; transform: translateX(-105%); transition: transform .2s; }
  body.nav-open .side { transform: none; box-shadow: 0 0 0 100vmax rgb(4 10 20 / 40%); }
  .side .apptabs-mobile { display: flex; }
  .doc h1 { font-size: 28px; }
  .hero h1 { font-size: 32px; }
  .doc h2 { font-size: 21px; }
  .doc .anchor { display: none; }
}
.apptabs-mobile { display: none; gap: 4px; flex-wrap: wrap; margin-bottom: 12px; }
@media print {
  .top, .side, .toc-side, .pager { display: none; }
  .wrap { display: block; }
  .shot img { box-shadow: none; }
}
