@font-face {
  font-family: Inter;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  font-family: Inter, system-ui, sans-serif;
  color: #1c263b;
  background: #f6f7fb;
  font-size: 14px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea {
  font: inherit;
}
[hidden] {
  display: none !important;
}
a {
  color: #324ab3;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
header,
footer {
  max-width: 1160px;
  margin: auto;
  padding: 30px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 21px;
  color: #1c263b;
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  background: #1b2f5c;
  color: white;
  border-radius: 10px;
  width: 34px;
  height: 34px;
  font-size: 23px;
  font-weight: 650;
  margin-right: 4px;
}
nav {
  display: flex;
  gap: 25px;
  font-size: 13px;
}
main {
  max-width: 1050px;
  padding: 32px;
  margin: auto;
  min-height: calc(100vh - 180px);
}
.intro {
  text-align: center;
  margin: 22px 0 44px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #77839a;
  margin: 0 0 15px;
}
h1 {
  font-size: clamp(32px, 4vw, 47px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
  font-weight: 650;
}
.intro > p:last-child {
  font-size: 17px;
  line-height: 1.65;
  color: #667187;
  margin: 0;
}
.sign-in-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  align-items: start;
}
.card {
  padding: 32px;
  border: 1px solid #e2e6f0;
  border-radius: 16px;
  background: white;
  box-shadow: 0 3px 10px #172d4d03;
}
.tag {
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #7b859b;
}
.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.free {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0;
  font-weight: 600;
  background: #edf2ff;
  color: #4b59a2;
  border-radius: 20px;
  padding: 5px 10px;
  vertical-align: middle;
}
h2 {
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -0.025em;
  font-weight: 620;
  margin: 17px 0 12px;
}
h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 20px;
}
p {
  line-height: 1.7;
  color: #667187;
  margin: 0 0 22px;
}
.button {
  border: 1px solid #dbe0ec;
  border-radius: 8px;
  background: white;
  color: #2c3650;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  width: 100%;
  line-height: 1.5;
}
.button:hover {
  background: #f6f8fd;
  text-decoration: none;
}
.button:disabled {
  cursor: default;
  color: #8d96a8;
  background: #f8f9fc;
}
.button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.text-button:focus-visible,
.menu:focus-visible,
.record:focus-visible {
  outline: 3px solid #adbbee;
  outline-offset: 3px;
}
.primary {
  background: #284da0;
  color: white;
  border-color: #284da0;
}
.primary:hover {
  background: #203f86;
}
.provider svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.hint {
  font-size: 12px;
  color: #7c869a;
  line-height: 1.65;
  margin: 12px 0 0;
}
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  color: #929bad;
  margin: 24px 0;
}
.divider:before,
.divider:after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e8ebf2;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 550;
  margin: 16px 0 8px;
}
input,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #dbe0ec;
  border-radius: 7px;
  background: #fff;
  padding: 11px 13px;
  line-height: 1.5;
  color: #1c263b;
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: #a2aabb;
}
form .button {
  margin-top: 14px;
}
.text-button {
  background: none;
  border: 0;
  color: #546787;
  font-size: 12px;
  cursor: pointer;
  padding: 10px 0;
}
.text-button:hover {
  text-decoration: underline;
}
.message {
  padding: 14px 18px;
  border: 1px solid #ced9ef;
  background: #edf3ff;
  border-radius: 10px;
  color: #2c4b7b;
  line-height: 1.6;
  margin: 0 0 24px;
  overflow-wrap: anywhere;
}
footer {
  font-size: 11px;
  color: #99a2b3;
  border-top: 1px solid #e5e9f2;
  margin-top: 30px;
}
.account-intro {
  margin-bottom: 32px;
}
.account-intro h1 {
  font-size: 36px;
}
.work-account {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 30px;
}
.work-account h2 {
  margin: 10px 0 5px;
}
.work-account p {
  margin: 0;
}
.work-actions {
  min-width: 170px;
}
.career-title {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
}
.career-title h2 {
  margin: 10px 0 0;
}
.career-title .hint {
  margin-top: 6px;
}
.ownership {
  font-size: 13px;
  margin: 18px 0 22px;
}
.career-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 195px;
  gap: 18px;
}
.career-nav {
  padding: 17px;
}
.menu {
  border: 0;
  background: none;
  width: 100%;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  color: #667187;
  cursor: pointer;
  border-radius: 7px;
  font-size: 12px;
}
.menu:hover {
  background: #f6f7fb;
}
.menu.active {
  background: #edf2ff;
  color: #284da0;
  font-weight: 600;
}
.career-content {
  padding: 25px;
  min-height: 360px;
}
.properties {
  padding: 23px;
}
dl {
  margin: 0;
}
dt {
  font-size: 10px;
  color: #939caf;
  margin-top: 20px;
}
dd {
  font-size: 12px;
  margin: 5px 0;
  overflow-wrap: anywhere;
}
.record {
  display: block;
  width: 100%;
  text-align: left;
  background: white;
  border: 1px solid #e2e6f0;
  border-radius: 8px;
  margin: 10px 0;
  padding: 14px;
  cursor: pointer;
  color: #33415c;
}
.record:hover,
.record.active {
  background: #f3f6fc;
  border-color: #bacbea;
}
.record span {
  display: block;
  font-size: 11px;
  color: #8791a4;
  margin-top: 5px;
}
.record-detail {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #e2e6f0;
}
.record-detail p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
}
.empty {
  font-size: 13px;
  padding-top: 12px;
}
.career-card > p:first-of-type {
  margin-bottom: 24px;
}
@media (max-width: 780px) {
  header,
  footer {
    padding: 24px;
  }
  main {
    padding: 20px;
  }
  .sign-in-grid {
    grid-template-columns: 1fr;
  }
  .intro {
    margin: 20px 0 32px;
  }
  .card {
    padding: 25px;
  }
  .career-layout {
    grid-template-columns: 150px minmax(0, 1fr);
  }
  .properties {
    grid-column: 1/-1;
  }
  .career-nav {
    padding: 12px;
  }
  .career-content {
    padding: 20px;
  }
}
@media (max-width: 520px) {
  nav {
    gap: 14px;
    font-size: 11px;
  }
  .brand {
    font-size: 17px;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
    font-size: 19px;
  }
  header {
    padding: 20px 16px;
  }
  main {
    padding: 16px;
  }
  .intro > p:last-child {
    font-size: 15px;
  }
  .work-account {
    align-items: flex-start;
    flex-direction: column;
  }
  .work-actions {
    width: 100%;
  }
  .career-layout {
    grid-template-columns: 1fr;
  }
  .career-nav {
    padding: 12px;
  }
  .career-nav .divider,
  .career-nav .hint {
    display: none;
  }
  .career-nav > .button {
    margin-top: 10px;
  }
  .career-title {
    align-items: flex-start;
  }
  .card {
    border-radius: 12px;
  }
  .properties {
    grid-column: auto;
  }
}

/* Sign-in uses the current Voyager website typography, palette and header artwork.
   The authenticated account layout retains its existing component sizes. */
@font-face {
  font-family: "Atlas Manrope";
  src: url("/account-assets/manrope.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Atlas Instrument Sans";
  src: url("/account-assets/instrument-sans.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
.brand img {
  display: block;
  width: 170px;
  height: auto;
  aspect-ratio: 1024 / 247;
}
body[data-page="sign-in"] {
  --ink: #14141c;
  --plum: #31263b;
  --muted: #685e6b;
  --line: #dbd7da;
  background: #fff;
  min-height: 100svh;
  color: var(--plum);
  font-family: "Atlas Instrument Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body[data-page="sign-in"] :is(header, main, footer) {
  max-width: 1180px;
  border-inline: 1px solid #e9e5e8;
}
body[data-page="sign-in"] header {
  padding: 26px 48px;
  border-bottom: 1px solid var(--line);
}
body[data-page="sign-in"] nav {
  gap: 28px;
  font-size: 14px;
}
body[data-page="sign-in"] a {
  color: var(--plum);
}
body[data-page="sign-in"] a:focus-visible {
  outline: 2px solid #89828d;
  outline-offset: 5px;
}
body[data-page="sign-in"] main {
  position: relative;
  isolation: isolate;
  padding: 0 48px 64px;
  min-height: calc(100svh - 190px);
}
body[data-page="sign-in"] main::before,
body[data-page="sign-in"] main::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
body[data-page="sign-in"] main::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='110.851' viewBox='0 0 64 110.851'%3E%3Cpath d='M0 0H64M0 55.4255H64M0 110.851H64M0 0L64 110.851M64 0L0 110.851' fill='none' stroke='%23dbd7da' stroke-width='1'/%3E%3C/svg%3E");
  opacity: 0.55;
  mask-image: radial-gradient(ellipse at 50% 25%, #0006, transparent 75%);
}
body[data-page="sign-in"] main::after {
  background: url("/account-assets/paper.webp") repeat;
  background-size: 256px 256px;
  opacity: 0.025;
}
body[data-page="sign-in"] .intro {
  margin: 0;
  padding: 68px 0 48px;
}
body[data-page="sign-in"] :is(.eyebrow, .tag) {
  color: #89828d;
  font-weight: 400;
  letter-spacing: 0.13em;
  font-size: 11px;
}
body[data-page="sign-in"] h1,
body[data-page="sign-in"] h2 {
  font-family: "Atlas Manrope", sans-serif;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}
body[data-page="sign-in"] h1 {
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.045em;
  line-height: 1.12;
  margin-bottom: 22px;
}
body[data-page="sign-in"] h1 em {
  font-family: "Times New Roman", Georgia, serif;
  font-weight: 400;
}
body[data-page="sign-in"] .intro > p:last-child {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}
body[data-page="sign-in"] .sign-in-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}
body[data-page="sign-in"] .card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffffed;
  box-shadow: none;
}
body[data-page="sign-in"] .card-heading {
  width: 100%;
  min-height: 26px;
}
body[data-page="sign-in"] .card > .tag {
  display: flex;
  align-items: center;
  min-height: 26px;
}
body[data-page="sign-in"] h2 {
  font-size: 25px;
  letter-spacing: -0.035em;
  line-height: 1.25;
  margin: 20px 0 14px;
}
body[data-page="sign-in"] .card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
body[data-page="sign-in"] .card .button {
  margin-top: auto;
  min-height: 48px;
  font-size: 14px;
  font-weight: 500;
  color: var(--plum);
  border-color: #cda0a5 #89828d #89828d #cda0a5;
  border-radius: 4px;
}
body[data-page="sign-in"] .button:hover {
  background: #f4f0f3;
}
body[data-page="sign-in"] .button:disabled {
  color: #89828d;
  border-color: var(--line);
  background: #faf8fa;
}
body[data-page="sign-in"] .card .hint {
  margin-top: 14px;
  margin-bottom: 0;
  font-size: 12px;
  line-height: 1.65;
}
body[data-page="sign-in"] .free {
  background: #f0ebf5;
  color: #685782;
  font-size: 11px;
  font-weight: 500;
  border-radius: 4px;
}
body[data-page="sign-in"] .message {
  border-color: var(--line);
  color: var(--plum);
  background: #f4f0f3;
  border-radius: 4px;
}
body[data-page="sign-in"] footer {
  margin-top: 0;
  padding: 24px 48px;
  color: #89828d;
  border-top: 1px dashed var(--line);
  font-size: 12px;
}
@media (min-width: 781px) {
  body[data-page="sign-in"] .card .hint {
    min-height: 40px;
  }
}
@media (max-width: 780px) {
  body[data-page="sign-in"] :is(header, footer) {
    padding: 24px;
  }
  body[data-page="sign-in"] main {
    padding: 0 24px 40px;
  }
  body[data-page="sign-in"] .intro {
    padding: 48px 0 36px;
  }
  body[data-page="sign-in"] .sign-in-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 520px) {
  .brand img {
    width: 150px;
  }
  body[data-page="sign-in"] header {
    padding: 20px 16px;
    gap: 20px;
    flex-wrap: wrap;
  }
  body[data-page="sign-in"] nav {
    gap: 16px;
    font-size: 12px;
  }
  body[data-page="sign-in"] main {
    padding: 0 16px 32px;
  }
  body[data-page="sign-in"] .intro {
    padding: 40px 0 28px;
  }
  body[data-page="sign-in"] .intro > p:last-child {
    font-size: 16px;
  }
  body[data-page="sign-in"] .card {
    padding: 24px;
  }
  body[data-page="sign-in"] h2 {
    font-size: 23px;
  }
  body[data-page="sign-in"] footer {
    padding: 24px 16px;
    gap: 20px;
    flex-wrap: wrap;
  }
}

/* Create your organisation: its own card under the sign-in cards (publicSignupPage.ts). */
.create-card {
  margin-top: 24px;
}
.create-org summary {
  cursor: pointer;
  font-size: 14px;
}
.create-org[open] summary {
  margin-bottom: 4px;
}
.create-org form,
.create-org .signup-email,
.create-org .button.provider {
  max-width: 420px;
}
.create-org select {
  display: block;
  width: 100%;
  font: inherit;
  border: 1px solid #dbe0ec;
  border-radius: 7px;
  background: #fff;
  padding: 11px 13px;
}
.create-org .button.provider {
  margin-top: 20px;
}
.create-org .divider {
  max-width: 420px;
  margin: 20px 0 0;
}

/* Signup "I agree to the Terms" (publicSignupPage.ts termsAgreementHtml). */
.terms-agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 420px;
  margin: 18px 0 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  cursor: pointer;
}
.terms-agree input {
  width: 16px;
  height: 16px;
  padding: 0;
  margin: 2px 0 0;
  flex: none;
}

/* /legal pages (legalTerms.ts). */
main.legal .legal-body,
main.legal .legal-history,
main.legal .legal-notice {
  max-width: 760px;
}
main.legal .legal-body {
  font-size: 15px;
  line-height: 1.65;
}
main.legal .legal-body :is(h2, h3, h4) {
  margin: 28px 0 8px;
}
main.legal .legal-body :is(ul, ol) {
  padding-left: 22px;
}
main.legal .legal-notice {
  border: 1px solid #dbe0ec;
  border-radius: 7px;
  padding: 10px 13px;
}
main.legal .legal-history {
  margin-top: 40px;
  font-size: 14px;
}
