:root {
  color-scheme: light;
  --ink: #1a1a1a;
  --header: #161616;
  --muted: #61656d;
  --brand-red: #e30613;
  --brand-hover: #b90010;
  --surface: #fff;
  --canvas: #f6f5f8;
  --border: #e5e7eb;
  font-family: Roboto, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.55;
}
* { box-sizing: border-box; }
body { margin: 0; }
.wrap { max-width: 76rem; margin: 0 auto; padding: 1.25rem; }
.site { color: var(--surface); background: var(--header); border-bottom: 3px solid var(--brand-red); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .8rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--surface); font-size: 1.15rem; font-weight: 750; text-decoration: none; }
.brand span { display: grid; place-items: center; background: var(--brand-red); color: var(--surface); min-width: 2.25rem; min-height: 2.25rem; border-radius: .4rem; }
h1, h2, p { margin: 0 0 .65rem; }
h1 { font-size: clamp(1.9rem, 4vw, 2.65rem); line-height: 1.17; }
h2 { font-size: 1.3rem; }
.muted { color: var(--muted); }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: .8rem; padding: 1.25rem; margin-bottom: 1rem; }
.login, .form-panel { width: min(100%, 33rem); }
.login { margin: clamp(1rem, 8vh, 5rem) auto; padding: clamp(1.25rem, 5vw, 2.25rem); box-shadow: 0 12px 36px #1616160d; }
.stack { display: grid; gap: 1rem; margin-top: 1.1rem; }
label { display: grid; gap: .35rem; font-weight: 650; }
input, select, button { font: inherit; }
input, select { padding: .6rem .7rem; border: 1px solid #7c8088; border-radius: .4rem; background: var(--surface); color: var(--ink); width: 100%; }
input[type=hidden] { display: none; }
input[type=checkbox] { width: auto; }
select { appearance: none; padding-right: 2rem; background: var(--surface) url("chevron.svg") no-repeat right .65rem center / 1rem; }
button { cursor: pointer; border-radius: .45rem; border: 1px solid transparent; padding: .55rem .95rem; color: var(--surface); background: var(--brand-red); font-weight: 700; min-height: 2.75rem; }
button:hover { background: var(--brand-hover); }
button.secondary { color: var(--ink); border-color: var(--border); background: var(--surface); }
button.secondary:hover { background: var(--canvas); }
:focus-visible { outline: 3px solid var(--brand-red); outline-offset: 3px; }
a { color: var(--brand-hover); }
.check { display: flex; align-items: baseline; gap: .5rem; }
.notice { border-left: .3rem solid #777; background: var(--canvas); padding: .7rem 1rem; margin-block: .8rem 1rem; }
.error { border-color: var(--brand-red); background: #fff0f1; }
.heading, .section-head, .salary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; }
.heading { align-items: end; }
.month { display: flex; align-items: end; gap: .5rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: .85rem; }
.cards span, .salary span { display: block; color: var(--muted); }
strong { display: block; font-size: 1.5rem; }
.salary p { flex: 0 1 29rem; margin: 0; color: var(--muted); }
progress { width: 100%; accent-color: var(--brand-red); }
.table-scroller { overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: .62rem .72rem; border-bottom: 1px solid var(--border); white-space: nowrap; }
th { background: var(--canvas); }
tbody tr:nth-child(even) { background: #fafafb; }

