/* Company pages wear the site's Machine Age look. The pinned Company at
   Work pages cannot add a stylesheet link, so the look arrives here. */
@import url("/machine-age.css");

:root {
  --co-ground: var(--ground);
  --co-ink: var(--ink);
  --co-muted: var(--muted);
  --co-rule: var(--rule);
  --co-action: var(--green);
  --co-success: var(--wm);
  --co-accent: var(--rust);
  --co-strip: var(--strip);
  --co-surface: var(--panel);
  --co-serif: var(--serif);
  --co-sans: var(--sans);
  --co-mono: var(--mono);
}

body.company-light {
  --paper: var(--co-ground);
  --ground: var(--co-ground);
  --background: var(--co-ground);
  --ink: var(--co-ink);
  --foreground: var(--co-ink);
  --muted: var(--co-muted);
  --line: var(--co-rule);
  --rule: var(--co-rule);
  --border: var(--co-rule);
  --action: var(--co-action);
  --blue: var(--co-action);
  --green: var(--co-action);
  --gain: var(--co-success);
  --rust: var(--co-accent);
  --wash: var(--co-strip);
  --strip: var(--co-strip);
  --pale: var(--co-strip);
  --white: var(--co-surface);
  color-scheme: light;
  background: var(--co-ground);
  color: var(--co-ink);
  font-family: var(--co-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.company-light a {
  color: var(--co-action);
}

/* Links in the enamel header keep the band's colours. */
body.company-light .company-header a {
  color: var(--on-enamel-muted);
}

body.company-light .company-header > a:first-child,
body.company-light .company-header a:hover,
body.company-light .company-header [aria-current] {
  color: var(--on-enamel);
}

body.company-light h1,
body.company-light h2,
body.company-light h3,
body.company-light h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.04em;
}

body.company-light h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 300;
  line-height: 1.1;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: break-word;
}

body.company-light strong {
  font-weight: 600;
}

body.company-light .eyebrow {
  color: var(--brass-ink);
}

body.company-light :is(a, button, select, input, textarea, summary):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

body.company-light button,
body.company-light select,
body.company-light input,
body.company-light textarea {
  font-family: var(--co-sans);
}

body.company-light code,
body.company-light pre,
body.company-light .company-data {
  font-family: var(--co-mono);
}

body.company-light .company-data {
  font-family: var(--co-mono);
}

body.company-light .small-label,
body.company-light .eyebrow,
/* Company research navigation, below the site toolbar. */
.company-views {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 11px 36px 10px;
  border-bottom: 1px solid var(--co-rule);
  font: 600 11.5px/1.4 var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.company-views a {
  color: var(--brass-ink);
  text-decoration: none;
}

.company-views a:hover,
.company-views [aria-current] {
  color: var(--co-ink);
}

.company-views [aria-current] {
  border-bottom: 1px solid var(--brass);
}

.company-breadcrumbs {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.company-light .primary,
body.company-light .btn-primary,
body.company-light .benchmark-action {
  background: var(--co-action);
  border-color: var(--co-action);
  color: #ffffff;
}

body.company-light .primary:hover,
body.company-light .btn-primary:hover,
body.company-light .benchmark-action:hover {
  filter: brightness(1.08);
}

body.company-light .stages button[aria-current="step"] {
  box-shadow: inset 0 -3px var(--co-action);
}

.company-shell {
  background: var(--co-ground);
  color: var(--co-ink);
}

.company-breadcrumbs {
  align-items: center;
  border-bottom: 1px solid var(--co-rule);
  color: var(--co-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 11px;
  gap: 12px;
  justify-content: flex-start;
  padding: 10px 36px 9px;
}

.company-breadcrumbs a {
  color: var(--co-muted);
}

.company-breadcrumbs [aria-current="page"] {
  color: var(--co-ink);
  font-weight: 650;
}

.company-context {
  color: var(--co-muted);
  margin-left: auto;
}

.company-skip-link {
  background: var(--co-ground);
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  color: var(--co-ink);
  height: 1px;
  overflow: hidden;
  padding: 10px 14px;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

body.present-mode .company-shell {
  display: none;
}

body.company-light .floor,
body.company-light .job,
body.company-light .toolbar button,
body.company-light .attention,
body.company-light .effect,
body.company-light pre {
  border-color: var(--co-rule);
}

body.company-light .floor {
  background: var(--co-strip);
  border-radius: 0;
  box-shadow: none;
}

body.company-light .floor-label,
body.company-light .floor-note {
  background: var(--co-surface);
  color: var(--co-muted);
}

body.company-light .station {
  background: var(--co-surface);
  border-right-color: var(--co-rule);
  border-bottom-color: var(--co-rule);
}

body.company-light .station.active {
  background: var(--co-strip);
}

body.company-light .station-heading > span,
body.company-light .last {
  color: var(--co-muted);
}

body.company-light .station-heading > span {
  border-color: var(--co-rule);
}

body.company-light .job {
  background: var(--co-surface);
  color: var(--co-ink);
  border-left-color: var(--co-action);
  border-bottom-color: var(--co-rule);
  border-radius: 0;
  box-shadow: none;
}

body.company-light .job.issue {
  background: var(--co-strip);
  border-left-color: var(--co-muted);
  border-bottom-color: var(--co-muted);
}

body.company-light #play {
  background: var(--co-action);
  border-color: var(--co-action);
  color: #ffffff;
}

body.company-light #by-replay.company-view {
  --background: var(--co-ground, #ffffff);
  --border: var(--co-rule, #d7dbe0);
  --foreground: var(--co-ink, #111111);
  --muted-foreground: var(--co-muted, #5d646d);
  --muted: var(--co-strip);
}

body.company-light #by-replay .co-heading h1 {
  font-weight: 400;
}

#by-replay.company-view .btn {
  background: var(--co-surface);
  color: var(--co-ink, #111111);
}

#by-replay.company-view .btn:hover,
#by-replay.company-view .btn:focus-visible {
  border-color: var(--co-action, #0864c7);
  color: var(--co-action, #0864c7);
}

#by-replay.company-view .btn-primary {
  background: var(--co-action, #0864c7);
  border-color: transparent;
  color: #ffffff;
}

#by-replay.company-view .form-select {
  background: var(--co-surface);
  color: var(--co-ink, #111111);
}

#by-replay.company-view .form-range {
  accent-color: var(--co-action, #0864c7);
}

#by-replay.company-view .co-node .btn:hover,
#by-replay.company-view .co-node .btn:focus-visible,
#by-replay.company-view .co-room-link,
#by-replay.company-view .co-room-tab[aria-pressed="true"] {
  color: var(--co-action, #0864c7);
}

#by-replay.company-view .co-room-tab[aria-pressed="true"],
#by-replay.company-view .co-room-gate {
  background: var(--co-surface);
}

#by-replay.company-view .co-room-gate {
  border-color: var(--co-rule, #d7dbe0);
  color: var(--co-ink, #111111);
}

body.company-light .attention {
  border-top-color: var(--co-action);
  background: var(--co-surface);
}

body.company-light .attention .eyebrow,
body.company-light .last strong,
body.company-light .job #job-status {
  color: var(--co-muted);
}

body.company-light .path button {
  border-top-color: var(--co-rule);
}

body.company-light .path button::before {
  background: var(--co-rule);
}

body.company-light .path button[aria-current="step"] {
  color: var(--co-action);
}

body.company-light .path button[aria-current="step"]::before {
  background: var(--co-action);
}

body.company-light pre {
  background: var(--co-strip);
  color: var(--co-ink);
}

.company-skip-link:focus-visible {
  clip: auto;
  clip-path: none;
  height: auto;
  left: 16px;
  outline: 2px solid var(--co-action);
  outline-offset: 3px;
  position: fixed;
  top: 12px;
  width: auto;
  z-index: 20;
}

@media (max-width: 760px) {
  .company-views,
  .company-breadcrumbs {
    padding-inline: 20px;
  }
}
