/* Direct destinations share the journey's ink, artwork depth and quiet rules. */
.task-page {
  --maxw: 1264px;
  /* Clip artwork without creating an ancestor scroll container for sticky rails. */
  overflow-x: clip;
  overflow-y: visible;
}
.task-page .container {
  padding-inline: 40px;
}
.task-page .section {
  padding-block: 64px 100px;
}
.task-page .vignette {
  background: radial-gradient(ellipse at 82% 18%, #15233124, transparent 52%);
}
.task-page .site-footer {
  background: transparent;
  border: 0;
  padding: 48px 0 36px;
}
.task-page .site-footer > .container:first-child {
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}
.task-page .site-footer .brand {
  display: inline-block;
}
.task-page .footer-links {
  gap: 12px 24px;
}
.task-page .footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
}
.task-page .tiny {
  font-size: 13px;
  line-height: 1.6;
}
.task-page h1 {
  font-size: clamp(40px, 4.5vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.05em;
}
.task-page h1 em,
.task-page h2 em {
  color: var(--ash);
  font-style: normal;
}
.task-page h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
}
.task-page .lead {
  font-size: 17px;
  line-height: 1.65;
  max-width: 43ch;
}
.task-page .text-action {
  font-size: 14px;
}
.task-page .text-action span[aria-hidden] {
  margin-left: 8px;
}
.task-page [id] {
  scroll-margin-top: calc(var(--nav-h) + 28px);
}
.task-page main:focus {
  outline: none;
}
.task-page .card {
  border-radius: 0;
}
.task-page .input {
  background: #0e0e0c;
  border-color: #403c33;
}
.task-page .input::placeholder {
  color: #a29a8b;
}
.task-page .input:focus {
  box-shadow: none;
}
.task-page .field {
  margin-bottom: 22px;
}
.task-page .field label {
  color: var(--porcelain);
  font-weight: 400;
}
.task-page .input-row .input {
  padding-right: 52px;
}
.task-page .input-row-prefix .input {
  padding-right: 16px;
}
.task-page .toggle-eye {
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
}
.task-page .checkbox {
  display: block;
  line-height: 1.9;
}
.task-page .checkbox input {
  margin-right: 7px;
  accent-color: var(--brushed-gold);
}
.task-form-shell {
  min-height: min(760px, calc(100svh - var(--nav-h)));
  padding: 64px 24px 88px;
}
.task-form-shell .auth-card {
  max-width: 464px;
  padding: 34px 0 0;
  border: 0;
  border-top: 1px solid var(--hairline-strong);
  background: none;
}
.task-form-shell .auth-card > .center,
.task-form-shell #pair-form > .center {
  text-align: left;
}
.task-form-shell h1 {
  font-size: clamp(32px, 3vw, 42px);
  margin-bottom: 14px !important;
}
.task-form-shell .tabs {
  border: 0;
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  padding: 0;
  background: none;
  gap: 28px;
  margin: 30px 0;
}
.task-form-shell .tabs button {
  flex: none;
  padding: 12px 0;
  min-height: 44px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 400;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
}
.task-form-shell .tabs button.active {
  color: var(--porcelain);
  border-bottom-color: var(--brushed-gold);
  background: none;
}
.task-form-shell .empty {
  padding: 30px 0;
}
.auth-layout {
  max-width: 1184px;
  width: calc(100% - 80px);
  margin: auto;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 100px;
  padding-inline: 0;
  align-items: center;
}
.auth-story {
  min-width: 0;
  align-self: center;
}
.auth-story h2 {
  font-size: clamp(42px, 4.5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}
.auth-art {
  margin: 38px 0 0;
  perspective: 1200px;
}
.auth-art img {
  display: block;
  height: auto;
  width: 100%;
  border: 1px solid #545046;
  border-radius: 6px;
  transform: rotateY(9deg) rotateZ(-2deg);
  box-shadow: -18px 30px 50px #000;
}
.auth-layout .auth-card {
  justify-self: end;
}
.task-page .account-header {
  margin-bottom: 56px;
  max-width: none;
}
.task-page .account-header h1 {
  font-size: clamp(40px, 4.5vw, 60px);
}
.task-page .account-grid {
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 70px;
  min-height: 420px;
}
.task-page #account-panel {
  padding: 32px 0 0;
  border: 0;
  border-top: 1px solid var(--hairline-strong);
  background: none;
  min-width: 0;
}
.task-page #account-panel h3 {
  font-size: 26px;
  font-weight: 500;
}
.task-page .side-nav {
  gap: 0;
}
.task-page .side-nav button {
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--hairline);
  padding: 18px 0 18px 16px;
  font-weight: 400;
  font-size: 14px;
  position: relative;
}
.task-page .side-nav button.active {
  color: var(--porcelain);
  background: none;
}
.task-page .side-nav button.active::before {
  content: "";
  position: absolute;
  width: 3px;
  height: 16px;
  background: var(--brushed-gold);
  top: calc(50% - 8px);
  left: 0;
}
.task-page .account-action,
.task-page .account-danger,
.task-page .session-card {
  padding: 24px 0;
  border: 0;
  border-top: 1px solid var(--hairline);
  background: none;
  border-radius: 0;
}
.task-page .account-danger h4 {
  color: #ffb4a8;
}
.task-page .account-action-list {
  gap: 0;
}
.task-page .session-icon,
.task-page .status-chip {
  border-radius: 3px;
  background: none;
}
.task-page .kv {
  gap: 24px;
  padding-block: 16px;
}
.task-page .kv .v {
  overflow-wrap: anywhere;
  min-width: 0;
}
.task-page .status-chip {
  font-weight: 400;
  justify-self: start;
}
@media (max-width: 1000px) {
  .auth-layout {
    gap: 48px;
  }
  .task-page .account-grid {
    gap: 32px;
    grid-template-columns: 200px minmax(0, 1fr);
  }
}
@media (max-width: 767px) {
  .task-page .container {
    padding-inline: 24px;
  }
  .task-page .section {
    padding-block: 42px 64px;
  }
  .task-page h1 {
    font-size: clamp(38px, 8vw, 54px);
  }
  .task-page .lead {
    font-size: 16px;
  }
  .task-form-shell {
    padding: 40px 24px 64px;
    align-items: start;
    min-height: 640px;
  }
  .task-form-shell h1 {
    font-size: 34px;
  }
  .auth-layout {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .auth-layout .auth-card {
    justify-self: center;
  }
  .auth-story {
    display: none;
  }
  .task-page .account-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .task-page .account-header {
    margin-bottom: 28px;
  }
  .task-page .side-nav {
    position: static;
    display: flex;
    overflow-x: auto;
    gap: 24px;
    padding-bottom: 8px;
  }
  .task-page .side-nav button {
    white-space: nowrap;
    padding: 12px 0;
  }
  .task-page .side-nav button.active::before {
    inset: auto 0 0;
    width: 100%;
    height: 1px;
  }
  .task-page .footer-grid {
    gap: 12px;
  }
  .task-page .footer-links {
    gap: 4px 22px;
  }
  .task-page .site-footer {
    padding-block: 16px 32px;
  }
}
