/* Read Them Well — reader intake
   Supplements rtw-tokens.css, which already carries .rtw-intake, .rtw-thread,
   .rtw-prompt, .rtw-option, .rtw-rail, .rtw-shelf,
   .rtw-swap-panel and friends. Only the gaps live here.
   Reference: rtw-design-handoff/design/RTW Reader Intake.dc.html
              rtw-intake-spec.md

   Elevation budget: the thread floats, and the swap panel floats when open.
   Prompt cards, the notes rail, and the draft shelf are flat. */

/* The shelf, swap panel and ruled-out block are all flex containers, so their
   display would otherwise win over the hidden attribute. */
[hidden] { display: none !important; }

.rtw-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Header ---------- */

.rtw-intake__title { min-width: 0; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.rtw-intake__mark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--rtw-display);
  font-size: 20px;
  color: var(--rtw-cherry);
}
.rtw-intake__title h1 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.06;
  color: var(--rtw-chocolate);
  max-width: none;
}
/* Inline in the composer, between the field and the send button. It is an
   override on Tilda's judgement rather than the way through, so it stays quiet
   until she says she has enough — at which point the JS swaps it to the primary
   button and it becomes the way on.

   `flex: none` matters: the composer is a flex row and the textarea is the only
   thing meant to grow, so without it the button stretches and the field loses
   the width it needs. */
.rtw-composer__build {
  flex: none;
  white-space: nowrap;
  padding-inline: 18px;
  height: 46px;
  font-size: 14px;
}

/* Below the single-column breakpoint the composer has no room for a field and
   two buttons on one line, so the build button drops to its own full-width row
   under them rather than squeezing the textarea to nothing. */
@media (max-width: 560px) {
  .rtw-composer { flex-wrap: wrap; }
  .rtw-composer textarea { flex: 1 1 100%; }
  .rtw-composer__build { order: 2; margin-left: auto; }
  .rtw-send { order: 3; }
}

/* ---------- Thread ----------

   The intake is exactly one viewport tall: the thread fills the space under the
   header and the composer sits on the bottom edge of the screen. Only the log
   scrolls, so the newest turn is always in view and the page never moves under
   the user.

   This cap stays on after the shelf is drafted. Releasing it let the whole
   transcript unfurl — the panel went from one screen to about 1700px in a single
   frame and threw the layout around. The draft shelf is a sibling section below
   this one, so the page still has somewhere to scroll; the conversation just
   stays a bounded record instead of becoming the page. */

/* Header and conversation together are exactly one viewport, with the footer
   below the fold — scroll down and you reach a footer instead of dead space.

   The height has to be definite on the wrapper. An earlier version put
   `min-height: 100dvh` on the body and let the intake flex: with no definite
   height to shrink against, the chat simply grew to fit its content and the
   whole page scrolled instead of the log. `flex-basis: 0` on the intake is the
   other half — with `auto` it would size to content again. */
/* The header sits outside this wrapper so its containing block is the page and
   it can stay stuck while the conversation and everything under it scrolls. The
   wrapper then takes the viewport minus the header — the same measured height
   the anchor offset uses, so a wrapped nav on a narrow screen stays correct. */
.rtw-screen {
  height: calc(100dvh - var(--rtw-header-h, 88px));
  display: flex;
  flex-direction: column;
}
.rtw-intake { flex: 1 1 0; min-height: 0; overflow: hidden; }
/* The token file sets `align-items: start` on this grid so the notes rail hugs
   its content. That also makes the row content-sized, which meant the thread's
   `height: 100%` resolved to auto and the panel grew with the conversation
   instead of scrolling inside it — drifting down behind the footer as the chat
   went on. One row of `minmax(0, 1fr)` gives the thread a real height to fill;
   the rail keeps its old behaviour through `align-self` instead. */
.rtw-chat-layout {
  flex: 1;
  min-height: 0;
  align-items: stretch;
  grid-template-rows: minmax(0, 1fr);
}
.rtw-thread { height: 100%; min-height: 0; }
/* `align-self: start` alone lets the rail size to its content, and a long
   conversation gathers more notes than the row is tall — so past a dozen or so
   signals it grew straight down through the bottom of the layout and printed
   itself over the footer. Capping it at the row height keeps the hug when the
   list is short and scrolls it when it is not. */
.rtw-rail {
  align-self: start;
  max-height: 100%;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Capping the rail turned it into a flex column under height pressure, and a
   flex item shrinks before its container scrolls. The cherry hand-rule is a
   10px band of background image, so it was the first thing squeezed — it went
   to nothing and the rail lost the one red mark on it. Nothing in here shrinks;
   the rail scrolls instead. */
.rtw-rail > * { flex: none; }

/* Once the shelf replaces the conversation the wrapper holds only the header,
   so it must stop reserving a screen. */
body.is-drafted .rtw-screen { height: auto; }

/* Tightened from the reference design's 32px/26px: on a locked-height panel
   every wasted pixel is a turn the reader cannot see, and the card that gets
   pushed past the scroll edge is always the one with the buttons on it. */
.rtw-thread { min-height: 0; padding: 24px 24px 18px; gap: 18px; }
.rtw-thread__log {
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-width: 0;
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  /* Room for the scrollbar, and a little air so the last card's rounded border
     and focus ring are never flush against the clipping edge. */
  padding: 2px 6px 6px 0;
  scrollbar-width: thin;
}

/* Content is bottom-anchored, so anything cut is cut at the top, and the fade
   makes that read as "scrolled" rather than "broken". It is applied only while
   the log is genuinely scrolled — left on permanently it washed out the top of
   Tilda's seal on the very first message. */
.rtw-thread__log.is-scrolled {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 16px);
}

/* The card arrives after Tilda has finished her line, so it gets a short entry
   of its own rather than blinking into place. The token file's reduced-motion
   block already flattens this. */
@keyframes rtw-card-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.rtw-prompt { padding: 20px; gap: 14px; animation: rtw-card-in 220ms ease-out both; }
.rtw-prompt--answered { padding: 16px 20px; gap: 12px; }

/* An early thread has fewer turns than the panel is tall, and left alone it
   would hang from the top with dead space above the composer. The auto margin
   settles it against the composer instead, and collapses to zero once the
   conversation overflows — unlike justify-content: flex-end, which can clip
   the top of a scrolled flex container. */
.rtw-thread__log > *:first-child { margin-top: auto; }

/* Below the single-column breakpoint the rail sits under the thread, so a
   locked viewport height would clip it. Let the page flow instead. */
@media (max-width: 760px) {
  .rtw-screen { height: auto; }
  /* Single column: the panel goes back to sizing itself and the page scrolls. */
  .rtw-chat-layout { align-items: start; grid-template-rows: auto; }
  .rtw-thread { height: auto; }
  .rtw-intake { flex: 0 0 auto; min-height: 0; overflow: visible; }
  .rtw-thread { height: auto; }
  .rtw-thread__log { overflow-y: visible; }
}

.rtw-msg__head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.rtw-msg__hand { font-family: var(--rtw-hand); font-size: 16px; color: var(--rtw-oxblood); }
.rtw-msg--user .rtw-msg__body p { font-size: 15.5px; color: var(--rtw-chocolate); }

/* The start-over button after Tilda stops. Indented to the avatar's width plus
   the row gap (46 + 16) so it lines up under her words rather than under her
   mark — it is a reply to what she just said, not another speaker. */
.rtw-msg--stopped { padding-left: 62px; }
@media (max-width: 760px) { .rtw-msg--stopped { padding-left: 0; } }

.rtw-thinking__hand { font-family: var(--rtw-hand); font-size: 16px; color: var(--rtw-oxblood); }

/* ---------- Prompt cards ---------- */

.rtw-prompt__question { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--rtw-body); }

.rtw-prompt--answered .rtw-input {
  background: transparent;
  border-color: #F0E5D7;
  color: var(--rtw-chocolate);
  opacity: 1;
  -webkit-text-fill-color: var(--rtw-chocolate);
}

.rtw-option { font-family: var(--rtw-text); text-align: left; border-radius: 0; display: block; }
.rtw-option:focus-visible { outline: 2px solid var(--rtw-oxblood); outline-offset: 2px; }
/* Covers are square objects, so the pressed outline sits inside the art. Mood,
   either and shelf cells are rounded UI, so their outline follows the radius. */
.rtw-option--rounded { border-radius: 16px; overflow: hidden; }

/* Cover options: art sits in the square slot, placeholder shows underneath.
   `contain`, not `cover` — a jacket is a printed object and cropping cuts the
   title off. The hairline letterbox is painted as paper so it reads as sheet. */
.rtw-cover { position: relative; overflow: hidden; }
.rtw-cover__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  opacity: 0;
  transition: opacity 180ms linear;
}
.rtw-cover--filled { background: var(--rtw-surface); }
.rtw-cover--filled .rtw-cover__art { opacity: 1; }
.rtw-cover--filled .rtw-cover__slot { display: none; }

.rtw-option .rtw-cover { width: 100%; }
.rtw-option:hover .rtw-cover { box-shadow: 0 18px 34px -18px rgba(74, 42, 28, 0.55); }

/* ---------- Option grids ----------
   The token file uses auto-fit, which leaves a ragged last row whenever the
   thread is a little too narrow — six covers break as four plus two. Fixed
   counts instead, chosen so every row divides the option count evenly: six or
   three covers per row, four or two tiles. Tiles shrink rather than wrap. */

.rtw-options--covers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rtw-options--mood,
.rtw-options--shelves { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Tiles carry a word, so they read fine once there is ~110px each. */
@media (min-width: 1024px) {
  .rtw-options--mood,
  .rtw-options--shelves { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Jackets need more: six across only once each is ~96px, below which the title
   on the cover stops being legible and three larger covers serve better. */
@media (min-width: 1200px) {
  .rtw-options--covers { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* Answered covers shrink but keep the same even split. */
.rtw-options--covers-sm { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }

/* Shelf-photo options: 3:2, same treatment as covers but rounded UI. */
.rtw-shelfshot {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 16px;
  background: repeating-linear-gradient(135deg, #FFFDFA 0 10px, #EDE0CF 10px 20px);
  display: flex;
  align-items: flex-end;
  padding: 12px;
}
.rtw-shelfshot__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 180ms linear;
}
.rtw-shelfshot--filled .rtw-shelfshot__art { opacity: 1; }
.rtw-shelfshot__word {
  position: relative;
  font-family: var(--rtw-display);
  font-size: 17px;
  line-height: 1.2;
  color: var(--rtw-chocolate);
}
/* Once a photo is behind it the word needs its own ground to stay ≥4.5:1. */
.rtw-shelfshot--filled .rtw-shelfshot__word {
  background: var(--rtw-surface);
  border-radius: var(--rtw-r-pill);
  padding: 6px 14px;
}

.rtw-prompt--answered .rtw-option { cursor: default; }
.rtw-prompt--answered .rtw-option:hover .rtw-cover { box-shadow: none; }

/* Trait chips as pressable options. */
.rtw-options--chips { display: flex; flex-wrap: wrap; gap: 10px; }
.rtw-chip-option {
  border: 1.5px solid #4A2A1C26;
  background: transparent;
  color: var(--rtw-body);
  border-radius: var(--rtw-r-pill);
  padding: 10px 17px;
  font-family: var(--rtw-text);
  font-size: 12.5px;
  font-weight: 600;
  min-height: 44px;
  cursor: pointer;
}
.rtw-chip-option:hover { border-color: var(--rtw-cherry); color: var(--rtw-cherry); }
.rtw-chip-option[aria-pressed="true"] {
  background: var(--rtw-cherry);
  border-color: var(--rtw-cherry);
  color: var(--rtw-cream-ink);
}
.rtw-chip-option:focus-visible { outline: 2px solid var(--rtw-oxblood); outline-offset: 2px; }

/* ---------- Notes rail ----------
   Toned cream, per the token layer. The rail is the quietest thing on the page —
   it is Tilda's margin, not a card the reader acts on — and a full blush panel
   made it the loudest, competing with the thread it annotates. Beige also lets
   the handwriting sit in chocolate (10.2:1) rather than being pushed to oxblood
   to clear a pink ground, and lets the cherry hand-rule come back. */

.rtw-rail .rtw-prompt__label,
.rtw-rail .rtw-small { color: var(--rtw-taupe); }
.rtw-rail__notes { color: var(--rtw-chocolate); }
.rtw-rail__notes--empty { color: var(--rtw-taupe); }
.rtw-rail__ruled { border-top-color: #4A2A1C22; }
.rtw-rail .rtw-chip { border-color: var(--rtw-line); color: var(--rtw-body); }

.rail-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rtw-rail__notes span { display: block; }

/* ---------- Draft shelf ---------- */

.draft-shelf { padding: clamp(36px, 4vw, 56px) var(--rtw-pad-x); gap: clamp(28px, 3vw, 40px); }
.draft-shelf__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.draft-shelf__intro { min-width: 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.draft-shelf__intro h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.06; color: var(--rtw-cherry); }
.draft-shelf__intro .rtw-scrawl { width: min(300px, 80%); height: 16px; background-size: 100% 16px; }
.draft-shelf__intro p { margin: 0; font-size: 16px; line-height: 1.65; max-width: 56ch; }

/* A long title used to push its own "Why this one" block down and break the row.
   Each book spans the shelf's five row tracks as a subgrid, so month labels,
   covers, titles, reason blocks and swap links line up across all three columns
   no matter how long any one title runs. `.rtw-shelf__book` carries no padding
   or border, which is what makes subgrid line up cleanly here. */
.rtw-shelf { grid-template-rows: auto auto auto auto auto; row-gap: 16px; }
.rtw-shelf__book { grid-row: span 5; display: grid; grid-template-rows: subgrid; gap: 16px; }

/* ---------- The cover, and the synopsis on the back of it ---------- */

/* The 2:3 box belongs to the jacket itself, NOT to the column that holds it.
   With the ratio on the column, a card with no synopsis had no toggle beneath
   it and handed that space back to the cover, so the one book without a flip
   showed a taller jacket than its neighbours. */
.rtw-shelf__cover { perspective: 1400px; }

/* The whole card is the button. No link underneath: that stacked a fourth line
   above a title above an author above the why-block, and left the synopsis
   unable to turn back because only the front was clickable. */
.rtw-flip { display: block; width: 100%; padding: 0; border: 0; background: none; font: inherit; text-align: left; }
.rtw-flip--live { cursor: pointer; }
.rtw-flip__inner {
  position: relative;
  aspect-ratio: 2 / 3;
  transform-style: preserve-3d;
  transition: transform 520ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.rtw-flip[data-flipped="true"] .rtw-flip__inner { transform: rotateY(180deg); }

.rtw-flip__face { position: absolute; inset: 0; backface-visibility: hidden; }
.rtw-flip__face--front { overflow: hidden; border-radius: 4px; }
.rtw-flip__face--front .rtw-cover { width: 100%; height: 100%; aspect-ratio: auto; }

/* The hint rides on the jacket, bottom-anchored, so the art is never hidden to
   explain itself. */
.rtw-flip__hint {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 14px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  background: linear-gradient(to top, rgba(40, 24, 20, 0.82), rgba(40, 24, 20, 0));
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}
.rtw-flip--live:hover .rtw-flip__hint,
.rtw-flip--live:focus-visible .rtw-flip__hint { opacity: 1; }

/* Nothing to hover with, so nothing to reveal on hover. A touch reader would
   otherwise never learn the card turns over. */
@media (hover: none) {
  .rtw-flip__hint { opacity: 1; }
}

.rtw-flip__face--back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* Scrolls rather than clamps. Jacket copy runs 200 to 1,100 characters and
     cutting it mid-sentence is the thing this card exists to stop. */
  overflow-y: auto;
  padding: 22px 20px;
  border-radius: 14px;
  background: var(--rtw-paper, #fff);
  border: 1px solid var(--rtw-line);
}
.rtw-flip__label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rtw-taupe);
}
.rtw-flip__text { margin: 0; font-size: 14px; line-height: 1.65; color: var(--rtw-body); }

/* The rotation is decoration; the content is not. */
@media (prefers-reduced-motion: reduce) {
  .rtw-flip__inner { transition: none; }
  .rtw-flip__hint { transition: none; }
}

.rtw-shelf__cover .rtw-cover { width: 100%; height: 100%; aspect-ratio: auto; }
.rtw-shelf__names { display: flex; flex-direction: column; gap: 6px; }
.rtw-why { align-self: start; }

.checkout-price { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.checkout-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.checkout-hand { font-family: var(--rtw-hand); font-size: 16px; color: var(--rtw-oxblood); }
.checkout-note { margin: 0; }
.checkout-note:empty { display: none; }

/* ---------- Swap panel ---------- */

.rtw-scrim { z-index: 20; overflow-y: auto; }
.rtw-swap-panel { margin: auto; }
/* The close sits at the top right of the panel, opposite the heading, which is
   where a person reaches for it. Without this rule it lands under the h2 —
   which is where it has been since a block rewrite deleted twenty selectors. */
.swap-panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.swap-panel__title { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.swap-panel__title h2 { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.1; color: var(--rtw-chocolate); }
.rtw-swap-panel__note p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--rtw-chocolate); }
.swap-panel__composer { padding-top: 20px; }
.swap-panel__foot { display: flex; justify-content: flex-start; }
/* Dots and hand line on one row. The hand line is marginalia and marginalia
   sits beside the thing, not under it. */
.swap-panel__loading { display: flex; align-items: center; gap: 12px; }

/* The panel has to fit on screen alongside the shelf behind it, and three full
   jackets plus three full reasons made it far taller than the viewport. The
   covers are capped and the copy is clamped to a fixed number of lines — which
   also holds the three cards in alignment, since every block is now a known
   height. The full reason stays in the DOM for screen readers. */
.rtw-alt { align-content: start; }
.rtw-alt .rtw-cover { width: 100%; max-width: 116px; margin: 0 auto; }

.rtw-alt__names { display: flex; flex-direction: column; gap: 4px; }
.rtw-alt__title {
  font-family: var(--rtw-display);
  font-size: 18px;
  line-height: 1.2;
  color: var(--rtw-chocolate);
  /* min-height keeps the three columns aligned; it does NOT clamp. A title was
     cut at two lines, which turns a book into a guess. The row is a grid, so a
     third line pushes every column down together and nothing looks ragged. */
  min-height: calc(2 * 1.2em);
}
.rtw-alt__meta { font-size: 13px; color: var(--rtw-taupe); }
.rtw-alt__reason {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--rtw-body);
  /* Not clamped. This sentence is the entire argument for the book — "An
     artificial friend watches the family she is bought into, and rea…" asks
     somebody to choose between three books while hiding the reason for each.
     Three unequal columns are a smaller cost than three unreadable ones. */
}
/* margin-top:auto pins the button to the bottom of its card. The card is a
   flex column and the grid already stretches all three to equal height, so
   without this the button sits directly under the text and a short reason
   floats its button 43px above its neighbours'. That raggedness is the cost of
   unclamping the reason, and it is one line to avoid paying. */
.rtw-alt .rtw-btn { width: 100%; font-size: 14px; padding: 12px 22px; margin-top: auto; }
.rtw-alt .rtw-btn--secondary { padding: 10.5px 22px; }

.rtw-swap-panel { max-height: calc(100dvh - 2 * var(--rtw-pad-x)); overflow-y: auto; }

/* ---------- Busy / disabled ---------- */

.is-busy { opacity: 0.55; pointer-events: none; }
.rtw-send:disabled { background: var(--rtw-line); color: var(--rtw-placeholder); cursor: not-allowed; }

/* The grounding question cannot be skipped, so its button waits rather than
   offering a way past. */
.rtw-prompt__actions .rtw-btn:disabled {
  background: var(--rtw-line);
  color: var(--rtw-placeholder);
  cursor: not-allowed;
}

@media (max-width: 760px) {
  .rtw-intake__head { align-items: flex-start; }
  .draft-shelf__head { align-items: flex-start; }
}

/* ---------- Preview feedback ----------
   A note pinned to the prototype rather than part of the product, so it asks
   from a text link and answers in a panel. The card treatment this block used
   to carry moved to .rtw-feedback-panel: inside a dialog the surface, border
   and padding come from the panel, and repeating them here would draw a second
   box inside the first. */

/* The invite sits quietly under the checkout row — a line of text, not a
   fourth button competing with "Proceed to checkout". */
.preview-invite { margin: clamp(20px, 2.4vw, 28px) 0 0; }

.rtw-text-link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  color: var(--rtw-cherry);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.rtw-text-link:hover { color: var(--rtw-oxblood); }

/* Narrower than the swap panel: this is a form to fill in, not three covers to
   compare, and full-width text fields are harder to read across. */
.rtw-feedback-panel { max-width: 620px; gap: 22px; }

.preview-feedback {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* The heading moved to the panel head, so what opens the form now is the
   standfirst paragraph. */
.preview-feedback > .rtw-small { margin: 0; color: var(--rtw-taupe); max-width: 62ch; }

.preview-feedback__rating { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.preview-feedback__rating legend { padding: 0; }

/* A full-bleed textarea on a wide screen gives a 1000px writing measure, which
   is unpleasant to write into and unpleasant to read back. Hold it to the same
   width as the intro paragraph above it. */
.preview-feedback .rtw-label-field { max-width: 62ch; }
.preview-feedback__text { resize: vertical; line-height: 1.5; }

.preview-feedback__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.preview-feedback__foot .rtw-small { color: var(--rtw-taupe); margin: 0; }

/* Sent state: the form has done its job, so it stops asking. */
.preview-feedback.is-sent > .rtw-small,
.preview-feedback.is-sent .preview-feedback__rating,
.preview-feedback.is-sent .rtw-label-field,
.preview-feedback.is-sent #feedback-send { display: none; }
