/* Edition C reuses the R4.2 product assets. Only the owner-specific controls are here. */
.preview-banner {
  padding: .45rem 1rem;
  background: var(--soft);
  color: var(--muted);
  text-align: center;
  font-size: .8rem;
}
.app-header {
  padding-inline: max(1rem, calc((100% - 1072px) / 2));
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  border-bottom: 1px solid var(--line);
}
#productNav {
  grid-column: 2;
  grid-row: 1;
  justify-content: start;
  border-top: 0;
  padding-top: 0;
}
#main { max-width: 1150px; padding-inline: clamp(1rem, 3vw, 2.4rem); }
#exploreHeading { font-size: clamp(2rem, 4vw, 3rem); }
.catalog-cover {
  height: 100px;
  position: relative;
  overflow: hidden;
  align-items: center;
  justify-content: end;
}
.catalog-cover::after {
  content: "";
  position: absolute;
  inset-inline-end: 1.9rem;
  width: 9rem;
  aspect-ratio: 1;
  border: 1px solid #fff4;
  border-radius: 50%;
}
.catalog-cover small { font-size: 2.25rem; }
#productNav button[aria-current="page"] { background: var(--soft); text-decoration: none; }
.free-profile, .reader-more { position: relative; }
#sessionBadge {
  grid-column: 4;
  grid-row: 1;
  margin: 0;
  padding: 0;
  border: 0;
}
#readerMore {
  margin: 0;
  padding: 0;
  border: 0;
}
.free-profile summary, .reader-more summary {
  min-height: 44px;
  display: flex;
  gap: .5rem;
  align-items: center;
  padding: .45rem .7rem;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: var(--white);
}
.free-profile summary::-webkit-details-marker, .reader-more summary::-webkit-details-marker { display: none; }
.free-profile summary::after, .reader-more summary::after { content: "⌄"; }
.free-profile .disclosure-menu, .reader-more .disclosure-menu { inset-inline-end: 0; }
.free-profile .session-avatar {
  background: var(--green);
  color: white;
  border-radius: 50%;
  width: 1.9rem;
  height: 1.9rem;
  display: grid;
  place-items: center;
}
.app-status:empty { display: none; }
.story-card h2, .reading h1, .note-entry { overflow-wrap: anywhere; }
.note-entry { border-bottom: 1px solid var(--line); padding-block: .75rem; }
.note-entry p, .opening, .thread p { white-space: pre-wrap; }
.context-panel { padding: 1rem; }
.own-optional button:disabled, .composer button:disabled, #catalogDetail button:disabled,
[data-mutation]:disabled { cursor: not-allowed; }
#loginCard form { display: grid; gap: 1rem; }
#loginCard .consent { display: flex; flex-wrap: nowrap; align-items: start; gap: .6rem; }
#loginCard .consent input { margin-block-start: .4rem; }
@media (max-width: 760px) {
  .app-header { grid-template-columns: auto minmax(0, 1fr) auto auto; padding-inline: 1rem; }
  #productNav { grid-column: 1 / -1; grid-row: 2; display: flex; flex-wrap: wrap; }
  #productNav button { white-space: normal; }
  .free-profile summary { padding-inline: .5rem; }
}
