.reader-account-page {
  background: #f3f5f7;
}

.reader-account-masthead {
  padding: clamp(32px, 6vw, 64px) 0;
  background: radial-gradient(ellipse at 85% 0, #294e62, transparent 64%), #0c1720;
  color: #f7f4eb;
}

.reader-account-masthead .eyebrow {
  color: #72c6e7;
}

.reader-account-masthead h1 {
  margin: 14px 0;
  color: inherit;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.07;
}

.reader-account-masthead p:not(.eyebrow) {
  max-width: 36em;
  margin: 0;
  color: #c6d7e0;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.65;
}

.reader-account-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding-top: 32px;
  padding-bottom: 48px;
}

.reader-panel {
  min-width: 0;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid #d7e0e6;
  border-radius: 18px;
  background: white;
  box-shadow: 0 10px 30px #0c172008;
  overflow-wrap: anywhere;
}

.reader-panel h2 {
  margin: 8px 0 12px;
  color: #142838;
  font-size: clamp(24px, 3vw, 33px);
  line-height: 1.16;
  letter-spacing: -.035em;
}

.reader-panel p:not(.eyebrow) {
  margin: 0;
  color: #526c7c;
  line-height: 1.65;
}

.reader-panel .reader-account-email {
  margin-bottom: 10px;
  color: #244b64;
  font-weight: 600;
}

.reader-panel-aside {
  background: #eaf0f4;
}

.reader-panel-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border: 1px solid #c9d9e5;
  border-radius: 10px;
  background: #e3edf4;
  color: #346994;
}

.reader-panel-icon .icon {
  width: 21px;
  height: 21px;
}

.reader-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 22px;
}

.reader-panel .button {
  min-height: 44px;
  white-space: normal;
}

.reader-panel button:disabled {
  opacity: .65;
  cursor: wait;
}

.reader-panel .text-link {
  color: #28669d;
}

.reader-panel button.text-link {
  padding: 0;
  border: 0;
  text-align: left;
}

.reader-auth-form label {
  display: block;
  margin: 20px 0 7px;
  color: #244b64;
  font-size: 15px;
  font-weight: 650;
}

.reader-auth-form input {
  display: block;
  width: 100%;
  max-width: 400px;
  min-height: 48px;
  padding: 9px 12px;
  border: 1px solid #9eafba;
  border-radius: 8px;
  background: #fff;
  color: #142838;
}

.reader-auth-form input[autocomplete="one-time-code"] {
  max-width: 180px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .16em;
}

.signin [data-reader-nav-label] {
  max-width: 19ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-nav [data-reader-nav-label] {
  overflow-wrap: anywhere;
}

.reader-panel-aside .text-link {
  margin-top: 12px;
}

.reader-confirm {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid #d7e0e6;
  border-radius: 12px;
  background: #f3f6f8;
}

.reader-confirm h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.reader-status {
  color: #526c7c;
  line-height: 1.65;
}

.reader-panel p.reader-status:not(:empty) {
  margin-top: 16px;
}

.reader-panel [data-account-loading] {
  margin-top: 0;
}

.reader-edition-gate,
.reader-edition-status,
.reader-edition-content {
  max-width: 920px;
  margin: 30px auto 0;
}

.reader-edition-date {
  display: block;
  margin-top: 16px;
  color: #526c7c;
  font-size: 14px;
}

.reader-heading p[data-edition-summary] {
  margin-top: 20px;
  color: #526c7c;
  font-size: 18px;
  line-height: 1.7;
}

.reader-edition-gate [data-edition-signup] {
  max-width: 480px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #d7e0e6;
}

.reader-edition-gate [data-edition-signup] .newsletter-signup {
  margin-top: 12px;
}

.reader-edition-content iframe {
  display: block;
  width: 100%;
  height: clamp(490px, 76vh, 960px);
  border: 1px solid #d7e0e6;
  border-radius: 14px;
  background: white;
}

.archive-signup-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px 24px;
  margin-top: 16px;
}

@media (min-width: 761px) and (max-width: 900px) {
  .signin [data-reader-nav-label] {
    max-width: 12ch;
  }
}

@media (max-width: 720px) {
  .reader-account-layout,
  .archive-signup-panel {
    grid-template-columns: 1fr;
  }

  .reader-account-layout {
    gap: 16px;
    padding: 22px 0 32px;
  }
}
