/* Phase 2 (2026-11-11): the member's own lists on member-story.html and portal-submit.html - a submission the GEM team
   returned shows the team's note and "Edit and send again". Loaded after styles.css on those two pages only; the list's
   own look (cards, chips, the confirm box the editor reuses) stays in styles.css, untouched. */
.mystory__dot--returned { background: var(--purple-bright); }      /* a quiet "your turn" - the words carry the meaning */
.mystory__return {
  margin: 0.2rem 0 0.9rem;
  padding: 0.85rem 1rem;
  background: var(--lavender-light, #F8F5FC);
  border-inline-start: 3px solid var(--purple-bright);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.mystory__return-head { margin: 0 0 0.4rem; font-weight: 700; font-size: 0.95rem; color: var(--purple-deep); }
.mystory__return-note { margin: 0 0 0.5rem; font-size: 0.98rem; line-height: 1.6; color: var(--text); white-space: normal; overflow-wrap: anywhere; }
.mystory__return-hint { margin: 0; font-size: 0.9rem; color: var(--text-muted); }
/* the same 44px link-style button as the page's own Withdraw / Read controls (styles.css carries that recipe for them;
   auth.css, where .auth-toggle lives, is not loaded on these pages) */
.mystory__resend {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.2rem 0.15rem;
  background: none; border: 0; font: inherit; font-weight: 600; font-size: 0.92rem;
  color: var(--purple); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.mystory__resend:hover { color: var(--purple-bright); }
.mystory__resend:focus-visible { outline: 3px solid var(--purple-bright); outline-offset: 2px; border-radius: 6px; }
.mystory__resend[hidden] { display: none; }
.mystory__controls .mystory__resend + .auth-toggle,
.mystory__controls .mystory__resend + .mystory__withdraw { margin-inline-start: 1.25rem; }
.mystory__edit .field { margin-bottom: 1rem; }
.mystory__edit .field > label { font-size: 0.95rem; }
.mystory__edit textarea, .mystory__edit input[type="text"] { width: 100%; box-sizing: border-box; }
.mystory__edit .mystory__confirm-controls .btn { min-height: 44px; }
.mystory__returnhost:empty { display: none; }
