@font-face {
  font-family: Commissioner;
  src: url('/commissioner-regular.ttf') format('truetype');
  font-display: swap;
}
:root {
  color-scheme: light;
  --hr-ink: #191919;
  --hr-muted: #686868;
  --hr-paper: #fff;
  --hr-canvas: #f3f3f3;
  --hr-line: #e2e2e2;
  --hr-soft: #ededed;
  --hr-radius: 14px;
  --hr-gap: 24px;
  --hr-sidebar-width: 216px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--hr-paper); color: var(--hr-ink); font: 14px/1.5 Commissioner, sans-serif; }
main { min-width: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }
h1 { font-size: 36px; line-height: 1.15; letter-spacing: -.05em; }
h2 { font-size: 20px; line-height: 1.3; letter-spacing: -.03em; }
h3 { font-size: 15px; line-height: 1.4; letter-spacing: -.015em; }
p { margin: 0 0 16px; }
a:any-link, a:any-link:hover, a:any-link:active { color: inherit; text-decoration: none; font-weight: 600; }
a:any-link :is(h1, h2, h3) { font-weight: 600; }
summary, [role="button"] { text-decoration: none; font-weight: 600; }
.site-header { min-height: 72px; padding: 18px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--hr-paper); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark { width: 26px; height: 20px; flex: none; }
.wordmark { font-size: 16px; font-weight: 700; letter-spacing: .12em; }
.header-label { color: var(--hr-muted); font-size: 12px; }
label { display: block; margin: 0 0 8px; font-size: 12px; line-height: 1.5; color: var(--hr-muted); }
input, select, textarea { display: block; width: 100%; min-width: 0; min-height: 46px; padding: 11px 13px; border: 1px solid #ccc; border-radius: 8px; background: var(--hr-paper); color: var(--hr-ink); font: inherit; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #777; opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: #999; }
select { cursor: pointer; }
textarea { min-height: 116px; resize: vertical; }
input:disabled, select:disabled, textarea:disabled { color: var(--hr-muted); background: #f8f8f8; cursor: default; opacity: 1; }
input[type="checkbox"], input[type="radio"] { display: inline-block; width: 17px; height: 17px; min-height: 0; padding: 0; accent-color: var(--hr-ink); flex: none; }
button, .button-link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 11px 16px; border: 1px solid #d4d4d4; border-radius: 8px; color: var(--hr-ink); background: var(--hr-paper); font: inherit; font-size: 13px; font-weight: 600; line-height: 1.5; text-decoration: none; cursor: pointer; text-align: center; white-space: normal; }
button:hover, .button-link:hover { background: var(--hr-soft); }
button.primary, .button-link.primary { color: #fff; background: var(--hr-ink); border-color: var(--hr-ink); }
button.primary:hover, .button-link.primary:hover { background: #333; border-color: #333; }
button:disabled { opacity: .4; cursor: default; }
.text-button { border: 0; background: transparent; padding: 8px 0; text-align: left; justify-content: flex-start; }
button.text-button:hover { background: transparent; color: var(--hr-muted); }
button:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 2px solid #555; outline-offset: 4px; }
.eyebrow { margin: 0 0 10px; font-size: 11px; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; color: var(--hr-muted); }
.field-hint { margin: 8px 0 0; font-size: 12px; color: var(--hr-muted); }
.message { margin: 16px 0 0; font-size: 13px; overflow-wrap: anywhere; }
.message:empty, p:empty { display: none; }
.numeric { max-width: 240px; letter-spacing: .22em; font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
dl { margin: 20px 0; }
dl > div { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--hr-line); min-width: 0; }
dt { color: var(--hr-muted); font-size: 12px; }
dd { margin: 0; overflow-wrap: anywhere; }
.badge { display: inline-block; max-width: 100%; padding: 5px 8px; border-radius: 5px; background: var(--hr-soft); font-size: 11px; overflow-wrap: anywhere; }
details { border-top: 1px solid var(--hr-line); border-bottom: 1px solid var(--hr-line); font-size: 13px; }
summary { position: relative; padding: 14px 26px 14px 0; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 3px; top: 10px; font-size: 18px; }
details[open] > summary::after { content: '−'; }
details p { margin: 0 0 12px; }
#secret { display: block; padding: 12px; border-radius: 8px; background: var(--hr-canvas); overflow-wrap: anywhere; letter-spacing: .1em; margin-bottom: 12px; }
footer { min-height: 44px; display: flex; align-items: center; padding: 12px 28px; background: var(--hr-paper); color: var(--hr-muted); font-size: 11px; }
[hidden] { display: none !important; }
.access-layout { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); min-height: calc(100svh - 116px); }
.access-brand { display: flex; flex-direction: column; min-width: 0; color: #fff; background: #080808; }
.brand-heading { padding: clamp(40px,5vw,76px) clamp(28px,4.4vw,72px) 32px; }
.brand-heading .eyebrow { color: #b8b8b8; margin-bottom: 28px; }
.brand-heading h1 { font-size: clamp(42px,4.4vw,72px); line-height: 1.08; letter-spacing: -.045em; }
.brand-description { margin-top: 28px; color: #c3c3c3; font-size: 16px; line-height: 1.65; }
.brand-art { position: relative; isolation: isolate; overflow: hidden; pointer-events: none; flex: 1; min-height: 280px; background: linear-gradient(to bottom,#080808 0 62%,#fff 62% 100%); }
.brand-art svg { position: absolute; top: 50%; left: -4%; width: 115%; height: auto; transform: translateY(-50%); color: #fff; mix-blend-mode: difference; }
.access-panel { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 56px clamp(32px,5vw,88px); }
.access-form { width: 100%; max-width: 440px; }
.form-heading { margin-bottom: 32px; }
.form-heading h2 { font-size: 30px; letter-spacing: -.035em; }
.form-heading p { color: var(--hr-muted); margin: 12px 0 0; line-height: 1.65; }
#credentials, #new-password-form, #mfa { display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; align-items: start; }
.field { min-width: 0; }
.access-form input { min-height: 50px; font-size: 16px; }
.submit-access { width: 100%; min-height: 48px; margin-top: 8px; font-size: 15px; }
#restart { margin-top: 16px; }
#mfa .numeric { max-width: none; }
#qr { display: block; max-width: 100%; height: auto; background: #fff; }
#setup-password-form, #setup-confirm { margin-top: 16px; }
.setup-steps { padding-left: 20px; font-size: 13px; line-height: 1.7; margin: 16px 0; }
.setup-steps li { padding-left: 4px; margin: 6px 0; }
.lead { margin: 8px 0 0; font-size: 14px; color: var(--hr-muted); }
@media (max-width: 1100px) {
  .brand-heading { padding: 44px 32px 24px; }
  .brand-heading h1 { font-size: 42px; }
}
@media (max-width: 760px) {
  .site-header { min-height: 64px; padding: 17px 20px; gap: 16px; }
  .access-layout { grid-template-columns: minmax(0,1fr); min-height: calc(100svh - 108px); }
  .brand-heading { padding: 28px 24px 24px; }
  .brand-heading .eyebrow { margin-bottom: 18px; }
  .brand-heading h1 { font-size: clamp(30px,6vw,40px); }
  .brand-description { margin-top: 18px; font-size: 14px; }
  .brand-art { flex: none; min-height: 0; height: 88px; }
  .brand-art svg { left: -8%; }
  .access-panel { padding: 36px 24px 40px; }
  .form-heading { margin-bottom: 28px; }
  .form-heading h2 { font-size: 28px; }
}
@media (max-width: 540px) {
  h1 { font-size: 30px; }
  input, select, textarea { font-size: 16px; }
  dl > div { grid-template-columns: minmax(0,1fr); gap: 4px; }
  .site-header { padding: 17px 16px; }
  footer { padding: 12px 16px; }
}
