/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-d4euiezj3j],
.components-reconnect-repeated-attempt-visible[b-d4euiezj3j],
.components-reconnect-failed-visible[b-d4euiezj3j],
.components-pause-visible[b-d4euiezj3j],
.components-resume-failed-visible[b-d4euiezj3j],
.components-rejoining-animation[b-d4euiezj3j] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-d4euiezj3j],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-d4euiezj3j],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-d4euiezj3j],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-d4euiezj3j],
#components-reconnect-modal.components-reconnect-retrying[b-d4euiezj3j],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-d4euiezj3j],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-d4euiezj3j],
#components-reconnect-modal.components-reconnect-failed[b-d4euiezj3j],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-d4euiezj3j] {
    display: block;
}


#components-reconnect-modal[b-d4euiezj3j] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-d4euiezj3j 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-d4euiezj3j 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-d4euiezj3j 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-d4euiezj3j]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-d4euiezj3j 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-d4euiezj3j {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-d4euiezj3j {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-d4euiezj3j {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-d4euiezj3j] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-d4euiezj3j] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-d4euiezj3j] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-d4euiezj3j] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-d4euiezj3j] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-d4euiezj3j] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-d4euiezj3j] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-d4euiezj3j 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-d4euiezj3j] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-d4euiezj3j {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/InternalResearchClubInsights.razor.rz.scp.css */
.rci-kicker[b-px8iewyc6n] {
  margin: 0;
  color: var(--ec-blue);
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.rci-stats[b-px8iewyc6n] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.rci-stat[b-px8iewyc6n] {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: var(--r-lg);
  background: var(--ec-blue);
  color: #FFFFFF;
  box-shadow: var(--lift);
}

.rci-stat:nth-child(even)[b-px8iewyc6n] { background: var(--ec-soft); color: var(--ec-blue); }

.rci-stat-v[b-px8iewyc6n] {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
}

.rci-stat-k[b-px8iewyc6n] {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.rci-card[b-px8iewyc6n] {
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg);
  box-shadow: var(--lift);
}

.rci-h[b-px8iewyc6n] {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
}

.rci-empty[b-px8iewyc6n] { margin: 0; color: var(--ink-2); font-size: 13.5px; }

.rci-table-wrap[b-px8iewyc6n] { overflow-x: auto; }

.rci-table[b-px8iewyc6n] {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.rci-table th[b-px8iewyc6n],
.rci-table td[b-px8iewyc6n] {
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  white-space: nowrap;
}

.rci-table th[b-px8iewyc6n] { font-size: 11.5px; font-weight: 900; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; }
.rci-table .num[b-px8iewyc6n] { text-align: right; font-variant-numeric: tabular-nums; }
.rci-table tr:last-child td[b-px8iewyc6n] { border-bottom: none; }

.rci-filters[b-px8iewyc6n] { display: flex; gap: 6px; margin-bottom: 12px; }

.rci-filter[b-px8iewyc6n] {
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 800;
}

.rci-filter.is-on[b-px8iewyc6n] { background: var(--ec-blue); color: #FFFFFF; }

.rci-fb[b-px8iewyc6n] {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.rci-fb-item details[b-px8iewyc6n] {
  border-radius: var(--r-sm);
  background: var(--surface-2);
}

.rci-fb-item summary[b-px8iewyc6n] {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: baseline;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}

.rci-fb-item summary[b-px8iewyc6n]::-webkit-details-marker { display: none; }

.rci-rating[b-px8iewyc6n] {
  grid-row: span 2;
  padding: 3px 9px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.rci-rating.is-up[b-px8iewyc6n] { background: var(--ec-lime); color: var(--ink); }
.rci-rating.is-down[b-px8iewyc6n] { background: var(--ec-red-ink); color: #FFFFFF; }

.rci-q[b-px8iewyc6n] { font-size: 13.5px; font-weight: 800; }
.rci-meta[b-px8iewyc6n] { font-size: 12px; color: var(--ink-3); }

.rci-answer[b-px8iewyc6n] {
  padding: 0 14px 14px;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
  color: var(--ink-2);
}

.rci-pair[b-px8iewyc6n] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 18px;
}

.rci-pair .rci-card[b-px8iewyc6n] { margin-bottom: 18px; }

.rci-h--sub[b-px8iewyc6n] { margin-top: 18px; font-size: 15px; }

.rci-rank[b-px8iewyc6n] {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
  counter-reset: rank;
}

.rci-rank li[b-px8iewyc6n] {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 10px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  font-size: 13px;
  counter-increment: rank;
}

.rci-rank li[b-px8iewyc6n]::before {
  content: counter(rank);
  flex: none;
  width: 18px;
  font-weight: 900;
  color: var(--ec-blue);
}

.rci-rank-name[b-px8iewyc6n] { flex: 1 1 auto; min-width: 0; font-weight: 700; }
.rci-rank-n[b-px8iewyc6n] { flex: none; font-weight: 900; font-variant-numeric: tabular-nums; }

.rci-card-head[b-px8iewyc6n] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.rci-card-head .rci-h[b-px8iewyc6n] { margin: 0; }

/* The log's filters: compact pills in the page's own style, with the
   browser's own dropdown look (its arrow and highlight) replaced by a blue
   chevron, the same way the report page's own select does it. */
.rci-select select[b-px8iewyc6n] {
  appearance: none;
  -webkit-appearance: none;
  min-width: 150px;
  max-width: 240px;
  height: 34px;
  padding: 0 34px 0 14px;
  border: 1px solid var(--border);
  border-radius: 99px;
  background-color: var(--surface-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%232C23F1' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 10px 6px;
  color: var(--ink);
  font: inherit;
  font-size: 12.5px;
  font-weight: 800;
  text-overflow: ellipsis;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .14s ease, border-color .14s ease;
}

.rci-select select:hover[b-px8iewyc6n] { background-color: #FFFFFF; border-color: color-mix(in srgb, var(--ec-blue) 35%, #FFFFFF); }

.rci-select select:focus-visible[b-px8iewyc6n] {
  outline: none;
  border-color: var(--ec-blue);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--ec-blue) 30%, transparent);
}

.rci-log[b-px8iewyc6n] { max-height: 460px; overflow-y: auto; }
.rci-log th[b-px8iewyc6n] { position: sticky; top: 0; background: var(--bg); }
.rci-detail[b-px8iewyc6n] { white-space: normal; color: var(--ink-2); }

.rci-rank-sub[b-px8iewyc6n] {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-3);
}

.rci-who[b-px8iewyc6n] { white-space: normal; font-weight: 700; }

.rci-filters-row[b-px8iewyc6n] { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
/* /Components/ResearchClubAssistantLauncher.razor.rz.scp.css */
/* The full-page chat the Research Club page's "Ask the assistant" button
   opens (see ResearchClubAssistantLauncher.razor). */
.ral-overlay[hidden][b-czpszwzix0] { display: none; }

.ral-overlay[b-czpszwzix0] {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(8, 8, 20, .45);
}

.ral-panel[b-czpszwzix0] {
  width: 100%;
  height: 100%;
  /* Nearly the full width of the screen: all of it on most laptops, held
     to 1480px on large monitors so it doesn't stretch edge to edge. The
     conversation inside keeps to a readable column (see .rca-messages and
     .rca-form). */
  max-width: 1480px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg);
  color: var(--ink);
  box-shadow: var(--lift-2);
  overflow: hidden;
}

/* A white card headed in solid brand blue, like the blocks on the
   dashboard, with a light grey typing bar at its foot (see the .rca-form
   rule below). Flat colours throughout, not a gradient: blue for the header
   and the reader's own messages, baby blue for the assistant's replies, the
   takeaway pink as a small accent. */
.ral-head[b-czpszwzix0] {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background: var(--ec-blue);
  color: #FFFFFF;
}

.ral-ico[b-czpszwzix0] {
  flex: none;
  width: 30px;
  height: 30px;
  /* A rounded square, matching the sparkle tile on the page's assistant panel, its
     11px-on-42px corner scaled down to this smaller tile. */
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #FFFFFF;
  color: var(--ec-blue);
}

.ral-h[b-czpszwzix0] {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -.018em;
}

.ral-close[b-czpszwzix0] {
  flex: none;
  width: 30px;
  height: 30px;
  border: none;
  /* A rounded square to match the sparkle tile at the header's other end. */
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .16);
  color: #FFFFFF;
  cursor: pointer;
  transition: background .14s ease, color .14s ease;
}

.ral-close:hover[b-czpszwzix0] { background: #FFFFFF; color: var(--ec-blue); }

/* min-height: 0 is what lets ResearchClubAssistantPanel's own .rca-messages
   (flex: 1 1 auto) actually claim the leftover height here rather than the
   panel just growing to fit its content — the same chain .rc-card/.rc-side
   already rely on elsewhere on this page. */
/* No padding of its own: the chat's sidebar runs edge to edge down the
   left, and the conversation beside it has its own (see .rca-main). */
.ral-body[b-czpszwzix0] {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

@media (max-width: 720px) {
  .ral-overlay[b-czpszwzix0] { padding: 0; }

  .ral-panel[b-czpszwzix0] { border-radius: 0; }
}

/* The chat's typing bar runs edge to edge as a light grey footer, the same
   grey as the strand panels on the page, so the white text box reads as a
   field set into it. Styled here rather than in ResearchClubAssistantPanel
   because the negative margins cancel .rca-main's 18px padding. */
.ral-body[b-czpszwzix0]  .rca-form {
  margin: 0 -18px;
  padding: 14px max(18px, calc((100% - var(--rca-column)) / 2 + 18px));
  background: var(--surface-2);
  border-top: 1px solid var(--border);
}

.ral-body[b-czpszwzix0]  .rca-input { border-color: var(--border); }

.ral-body[b-czpszwzix0]  .rca-send:disabled {
  background: var(--ec-soft);
  color: #FFFFFF;
}

/* The site's shared focus ring is blue, which vanishes against the blue
   header bar, so the close button there rings white instead. */
.ral-head :is(button, a):focus-visible[b-czpszwzix0] {
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}

/* ---- Opening and closing ------------------------------------------------ */

/* The backdrop fades in (blurring the page behind it) while the chat rises
   and scales up into place with a slight overshoot, then its sparkle spins
   in and the conversation fades up. Closing runs a quicker reverse, timed
   by CloseAnimation in ResearchClubAssistantLauncher.razor. */
.ral-overlay[b-czpszwzix0] {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  animation: ral-fade-in-b-czpszwzix0 .25s ease both;
}

.ral-panel[b-czpszwzix0] {
  transform-origin: 50% 100%;
  animation: ral-rise-in-b-czpszwzix0 .45s cubic-bezier(.2, .9, .25, 1.12) both;
}

.ral-ico svg[b-czpszwzix0] { animation: ral-sparkle-in-b-czpszwzix0 .6s cubic-bezier(.34, 1.56, .64, 1) .18s backwards; }

.ral-body[b-czpszwzix0] { animation: ral-fade-up-b-czpszwzix0 .4s ease .14s backwards; }

/* Closing: the conversation fades first, then the chat drops away and
   shrinks as the backdrop clears, so it reads as being put away rather than
   just vanishing. */
.ral-overlay.is-closing[b-czpszwzix0] { animation: ral-fade-out-b-czpszwzix0 .32s ease .06s forwards; }

.ral-overlay.is-closing .ral-panel[b-czpszwzix0] { animation: ral-sink-out-b-czpszwzix0 .32s cubic-bezier(.5, 0, .75, 0) forwards; }

.ral-overlay.is-closing .ral-body[b-czpszwzix0] { animation: ral-fade-down-b-czpszwzix0 .14s ease forwards; }

@keyframes ral-fade-in-b-czpszwzix0 {
  from { opacity: 0; }
}

@keyframes ral-fade-out-b-czpszwzix0 {
  to { opacity: 0; }
}

@keyframes ral-rise-in-b-czpszwzix0 {
  from { opacity: 0; transform: translateY(36px) scale(.94); }
}

@keyframes ral-sink-out-b-czpszwzix0 {
  to { opacity: 0; transform: translateY(64px) scale(.88); }
}

@keyframes ral-fade-down-b-czpszwzix0 {
  to { opacity: 0; transform: translateY(8px); }
}

@keyframes ral-sparkle-in-b-czpszwzix0 {
  from { opacity: 0; transform: scale(.2) rotate(-120deg); }
}

@keyframes ral-fade-up-b-czpszwzix0 {
  from { opacity: 0; transform: translateY(10px); }
}

@media (prefers-reduced-motion: reduce) {
  .ral-overlay[b-czpszwzix0],
  .ral-panel[b-czpszwzix0],
  .ral-ico svg[b-czpszwzix0],
  .ral-body[b-czpszwzix0],
  .ral-overlay.is-closing[b-czpszwzix0],
  .ral-overlay.is-closing .ral-panel[b-czpszwzix0],
  .ral-overlay.is-closing .ral-body[b-czpszwzix0] { animation: none; }
}
/* /Components/ResearchClubAssistantPanel.razor.rz.scp.css */
/* Lives inside ResearchClubAssistantLauncher's white panel: the page's own
   light-card palette in flat brand colours: blue for the reader's messages
   and the send button, baby blue for the assistant's replies, pink as the
   hover accent on the starter questions. */

.rca[b-gae7mm7mm6] {
  /* How wide the conversation runs: the chat fills the screen, but lines of
     text as wide as a large monitor are hard to read, so the messages and
     question box keep to this column down the middle of the conversation. */
  --rca-column: 980px;
  --rca-side: 272px;
  position: relative;
  flex: 1 1 auto;
  display: flex;
  min-height: 0;
}

/* ---- The sidebar: new chat, then saved chats by date ------------------- */

.rca-side[b-gae7mm7mm6] {
  flex: none;
  width: var(--rca-side);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  padding: 14px 12px 12px;
  border-right: 1px solid var(--border);
  background: var(--surface-2);
}

.rca-new[b-gae7mm7mm6] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 99px;
  background: var(--ec-blue);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 800;
  box-shadow: 0 8px 18px -12px var(--accent-glow);
  transition: background .14s ease, transform .14s ease;
}

.rca-new:hover[b-gae7mm7mm6] { background: var(--accent-hover); transform: translateY(-1px); }

.rca-side-list[b-gae7mm7mm6] {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  margin: 0 -4px;
  padding: 0 4px;
}

.rca-side-h[b-gae7mm7mm6] {
  margin: 14px 8px 6px;
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.rca-side-h:first-child[b-gae7mm7mm6] { margin-top: 2px; }

.rca-side-empty[b-gae7mm7mm6] {
  margin: 4px 8px;
  font-size: 12.5px;
  color: var(--ink-3);
}

/* The conversation, beside the sidebar. No padding above or below: the
   message list's own (below) runs to the header and the question bar, so
   messages scroll right up to both rather than being cut off a strip short
   of them. */
.rca-main[b-gae7mm7mm6] {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 0 18px;
}

/* Padding rather than a max-width, so the message list's scrollbar stays at
   the edge while its contents keep to the column; the space above and below
   the messages is inside the scrolling area for the same reason. */
.rca-messages[b-gae7mm7mm6] {
  padding-block: 18px;
  padding-inline: max(0px, calc((100% - var(--rca-column)) / 2));
}

/* Only on a phone, where the sidebar is tucked away (see below). */
.rca-main-bar[b-gae7mm7mm6],
.rca-side-scrim[b-gae7mm7mm6] { display: none; }

.rca-empty[b-gae7mm7mm6] {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-2);
}

/* flex: 1 1 auto, not a fixed max-height: the launcher's own .ral-body gives
   this whatever height the viewport has to spare, and this is what actually
   claims it rather than shrinking to fit its content. */
.rca-messages[b-gae7mm7mm6] {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.rca-msg[b-gae7mm7mm6] {
  /* A cap in px, not just a %, now that the panel can be up to 960px wide —
     a percentage alone read as uncomfortably long lines at that width. */
  max-width: min(600px, 84%);
  padding: 9px 13px;
  border-radius: var(--r-md);
  font-size: 13px;
  line-height: 1.5;
}

.rca-msg[b-gae7mm7mm6] {
  min-width: 0;
  /* A long unbroken string — a URL, a file name — wraps inside the bubble
     rather than running off the side of the panel. */
  overflow-wrap: anywhere;
}

.rca-msg p[b-gae7mm7mm6] {
  margin: 0;
  white-space: pre-wrap;
}

/* ---- A formatted reply (see ChatMarkdown) ---- */

.rca-md[b-gae7mm7mm6]  p { margin: 0; white-space: normal; }
/* Clear space between each paragraph, list and heading, so a long reply
   reads as separate points rather than one block. */
.rca-md[b-gae7mm7mm6] { line-height: 1.55; }
/* Written with :is(...) rather than * so it outranks the margin: 0 reset on
   paragraphs above; with a bare * it lost, and every paragraph sat flush
   against the last. */
.rca-md[b-gae7mm7mm6]  > :is(p, ul, ol, div, blockquote, pre) + :is(p, ul, ol, div, blockquote, pre) { margin-top: 14px; }

.rca-md[b-gae7mm7mm6]  ul,
.rca-md[b-gae7mm7mm6]  ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

/* A list inside a list item (sub-points under a numbered item, say):
   indented under its item, a little closer to it than the gap between
   top-level items. */
.rca-md[b-gae7mm7mm6]  li > :is(ul, ol) { margin-top: 6px; gap: 4px; }
.rca-md[b-gae7mm7mm6]  li > p { margin-top: 6px; }

/* A reply with a table in it takes the chat's full width: squeezed into the
   usual 600px, a comparison of several columns wrapped every cell onto line
   after line. */
.rca-msg--assistant:has(.rca-md-table)[b-gae7mm7mm6] { max-width: 100%; }

/* A table the agent writes, such as a comparison of studies. Inside its own
   scroller, so a wide one scrolls sideways within the reply instead of
   pushing the reply past the chat panel's edge. */
.rca-md[b-gae7mm7mm6]  .rca-md-table {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(12, 12, 40, .12);
  border-radius: var(--r-sm);
  background: #FFFFFF;
}

.rca-md[b-gae7mm7mm6]  .rca-md-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  line-height: 1.45;
}

.rca-md[b-gae7mm7mm6]  .rca-md-table th,
.rca-md[b-gae7mm7mm6]  .rca-md-table td {
  padding: 7px 10px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(12, 12, 40, .08);
  overflow-wrap: normal;
  min-width: 6em;
}

.rca-md[b-gae7mm7mm6]  .rca-md-table th {
  font-weight: 800;
  background: var(--surface-2);
  white-space: nowrap;
}

.rca-md[b-gae7mm7mm6]  .rca-md-table tr:last-child td { border-bottom: none; }
.rca-md[b-gae7mm7mm6]  .rca-md-table .rca-al-c { text-align: center; }
.rca-md[b-gae7mm7mm6]  .rca-md-table .rca-al-r { text-align: right; }

/* A quote, such as a participant's own words. */
.rca-md[b-gae7mm7mm6]  .rca-md-quote {
  margin: 0;
  padding: 2px 0 2px 12px;
  border-left: 3px solid var(--ec-blue);
  color: var(--ink-2);
  font-style: italic;
}

.rca-md[b-gae7mm7mm6]  .rca-md-code {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .7);
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.rca-md[b-gae7mm7mm6]  strong { font-weight: 800; }

.rca-md[b-gae7mm7mm6]  .rca-md-h {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
}

.rca-md[b-gae7mm7mm6]  .rca-md-h:first-child { margin-top: 0; }

.rca-md[b-gae7mm7mm6]  code {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .7);
  font-size: .92em;
}

.rca-md[b-gae7mm7mm6]  a { color: var(--ec-blue); font-weight: 700; }

/* A citation: the number as a small blue badge, linking to its source. */
.rca-md[b-gae7mm7mm6]  .rca-cite {
  display: inline-grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  margin: 0 1px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--ec-blue);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  vertical-align: 2px;
}

.rca-md[b-gae7mm7mm6]  .rca-sources {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(12, 12, 40, .1);
}

.rca-md[b-gae7mm7mm6]  .rca-sources-h {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.rca-md[b-gae7mm7mm6]  .rca-sources ol { gap: 2px; font-size: 12.5px; }

/* ---- Waiting for the reply ---- */

.rca-msg--status[b-gae7mm7mm6] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-style: italic;
}

.rca-dots[b-gae7mm7mm6] { display: inline-flex; gap: 3px; }

.rca-dots i[b-gae7mm7mm6] {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ec-blue);
  animation: rca-dot-b-gae7mm7mm6 1.2s ease-in-out infinite;
}

.rca-dots i:nth-child(2)[b-gae7mm7mm6] { animation-delay: .15s; }
.rca-dots i:nth-child(3)[b-gae7mm7mm6] { animation-delay: .3s; }

@keyframes rca-dot-b-gae7mm7mm6 {
  0%, 80%, 100% { opacity: .25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
  .rca-dots i[b-gae7mm7mm6] { animation: none; opacity: .6; }
}

.rca-msg--assistant[b-gae7mm7mm6] {
  align-self: flex-start;
  /* Baby blue, lightened so body text stays comfortably readable on it. */
  background: color-mix(in srgb, var(--ec-soft) 32%, #FFFFFF);
  color: var(--ink);
}

/* The finished reply fades in where the status line was, rather than
   snapping in. */
.rca-msg--assistant.rca-md[b-gae7mm7mm6] { animation: rca-reply-in-b-gae7mm7mm6 .28s ease-out; }

@keyframes rca-reply-in-b-gae7mm7mm6 {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rca-msg--assistant.rca-md[b-gae7mm7mm6] { animation: none; }
}

.rca-msg--user[b-gae7mm7mm6] {
  align-self: flex-end;
  animation: rca-msg-in-b-gae7mm7mm6 .25s ease-out;
  background: var(--ec-blue);
  color: #FFFFFF;
  font-weight: 700;
}

.rca-error[b-gae7mm7mm6] {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--ec-red-ink);
}

.rca-form[b-gae7mm7mm6] {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

/* The box and its character count together. */
.rca-field[b-gae7mm7mm6] {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
}

/* A text box that grows with the question (see initInput); rounded rather
   than a pill now that it can be several lines tall. */
.rca-input[b-gae7mm7mm6] {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 36px;
  max-height: 150px;
  padding: 8px 13px;
  resize: none;
  /* No scrollbar until the question is past six lines (see initInput). */
  overflow-y: hidden;
  line-height: 1.45;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 12.5px;
}

.rca-input[b-gae7mm7mm6]::placeholder { color: var(--ink-3); }

/* No blue ring or border while typing: the caret in an otherwise quiet
   field is focus enough here, and the site's shared focus ring doubled up
   with a blue border read as a heavy highlight. */
.rca-input:focus[b-gae7mm7mm6],
.rca-input:focus-visible[b-gae7mm7mm6] { outline: none; border-color: var(--border); }

.rca-input:disabled[b-gae7mm7mm6] { opacity: .6; }

.rca-send[b-gae7mm7mm6] {
  flex: none;
  width: 34px;
  height: 34px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--ec-blue);
  color: #FFFFFF;
  box-shadow: none;
  cursor: pointer;
  transition: transform .14s ease;
}

.rca-send:hover:not(:disabled)[b-gae7mm7mm6] { transform: translateY(-1px); }

.rca-send:disabled[b-gae7mm7mm6] {
  /* Baby blue rather than faded blue: half-opacity blue read as lilac. */
  background: var(--ec-soft);
  opacity: 1;
  cursor: default;
  transform: none;
}

/* First-open welcome: a heading, the hint, and one-tap starter questions. */
.rca-welcome[b-gae7mm7mm6] {
  margin: auto 0;
  display: grid;
  gap: 10px;
  justify-items: start;
  max-width: 620px;
}

.rca-welcome-h[b-gae7mm7mm6] {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
  letter-spacing: -.01em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--ink);
}

.rca-welcome .rca-empty[b-gae7mm7mm6] { font-size: 14px; }

.rca-suggest[b-gae7mm7mm6] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

/* Centred on the letters, not the line: Nunito Sans keeps more room below
   its text than above, so equal padding left every question sitting a
   couple of pixels high. text-box trims the line to the capitals and the
   baseline, so the padding is what shows above and below. Where it isn't
   supported (Firefox), a pixel more padding on top does roughly the same. */
.rca-chip[b-gae7mm7mm6] {
  padding: 10px 14px 8px;
  border: 1px solid color-mix(in srgb, var(--ec-soft) 70%, #FFFFFF);
  border-radius: 99px;
  background: var(--bg);
  color: var(--ec-blue);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background .14s ease, border-color .14s ease;
}

@supports (text-box: trim-both cap alphabetic) {
  .rca-chip[b-gae7mm7mm6] { text-box: trim-both cap alphabetic; padding: 14px; }
}

.rca-chip:hover:not(:disabled)[b-gae7mm7mm6] { background: #EDD1FC; border-color: #EDD1FC; color: var(--ink); }
.rca-chip:disabled[b-gae7mm7mm6] { opacity: .6; cursor: default; }

/* ---- Previous chats ------------------------------------------------------ */

.rca-hist-list[b-gae7mm7mm6] {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

.rca-hist-item[b-gae7mm7mm6] {
  display: flex;
  align-items: stretch;
  gap: 2px;
  border-radius: 10px;
  transition: background .14s ease;
}

.rca-hist-item:hover[b-gae7mm7mm6] { background: rgba(12, 12, 40, .05); }

.rca-hist-item.is-current[b-gae7mm7mm6] { background: #FFFFFF; box-shadow: 0 4px 12px -8px rgba(12, 12, 40, .35); }

.rca-hist-item.is-current .rca-hist-title[b-gae7mm7mm6] { color: var(--ec-blue); }

/* The bin only on the chat pointed at or open, as chat apps do. */
.rca-hist-del:not(.is-confirm)[b-gae7mm7mm6] { opacity: 0; }
.rca-hist-item:is(:hover, :focus-within, .is-current) .rca-hist-del[b-gae7mm7mm6] { opacity: 1; }

.rca-hist-open[b-gae7mm7mm6] {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  text-align: left;
}

.rca-hist-title[b-gae7mm7mm6] {
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rca-hist-when[b-gae7mm7mm6] {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-3);
}

.rca-hist-del[b-gae7mm7mm6] {
  flex: none;
  align-self: center;
  margin-right: 4px;
  padding: 6px;
  border-radius: 8px;
  color: var(--ink-3);
  transition: background .14s ease, color .14s ease;
}

.rca-hist-del:hover[b-gae7mm7mm6] { background: var(--ec-lav); color: var(--ec-blue); }

/* Second click: says what it'll do, on the brand pink (as the "Read the
   report" buttons), before anything is deleted. */
.rca-hist-del.is-confirm[b-gae7mm7mm6] {
  padding: 6px 12px;
  background: var(--ec-lav);
  color: var(--ec-blue);
  font-size: 12px;
  font-weight: 800;
}

.rca-hist-del.is-confirm:hover[b-gae7mm7mm6] { background: #E2BBFA; color: var(--ec-blue); }

.rca-hist-note[b-gae7mm7mm6] {
  margin: 0;
  font-size: 11.5px;
  color: var(--ink-3);
}


/* ---- Each answer: the assistant's mark beside it ------------------------ */

.rca-turn[b-gae7mm7mm6] {
  align-self: flex-start;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: min(660px, 92%);
  animation: rca-msg-in-b-gae7mm7mm6 .25s ease-out;
}

/* A reply with a table takes the chat's full width (see .rca-md-table). */
.rca-turn:has(.rca-md-table)[b-gae7mm7mm6] { max-width: 100%; }

.rca-turn .rca-msg--assistant[b-gae7mm7mm6] { max-width: 100%; }

.rca-avatar[b-gae7mm7mm6] {
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ec-blue);
  color: #FFFFFF;
  box-shadow: 0 4px 10px -6px var(--accent-glow);
}

.rca-turn-body[b-gae7mm7mm6] {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

@keyframes rca-msg-in-b-gae7mm7mm6 {
  from { opacity: 0; transform: translateY(6px); }
}

/* While it's being written: the newest words get a blinking caret. */
.rca-msg--streaming[b-gae7mm7mm6] { animation: none; }

.rca-msg--streaming[b-gae7mm7mm6]  > :last-child::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--ec-blue);
  animation: rca-caret-b-gae7mm7mm6 1s steps(1) infinite;
}

@keyframes rca-caret-b-gae7mm7mm6 {
  50% { opacity: 0; }
}

/* Thinking: a light sweeping across the status line, as well as the dots. */
.rca-status-text[b-gae7mm7mm6] {
  background: linear-gradient(90deg, var(--ink-2) 0%, var(--ink-2) 35%, var(--ec-blue) 50%, var(--ink-2) 65%, var(--ink-2) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rca-shimmer-b-gae7mm7mm6 1.8s linear infinite;
}

@keyframes rca-shimmer-b-gae7mm7mm6 {
  from { background-position: 100% 0; }
  to { background-position: -150% 0; }
}

.rca-stopped[b-gae7mm7mm6] {
  margin: 0;
  font-size: 11.5px;
  font-weight: 700;
  font-style: italic;
  color: var(--ink-3);
}

/* ---- Under each answer: copy, and was it helpful ------------------------ */

.rca-actions[b-gae7mm7mm6] {
  display: flex;
  align-items: center;
  gap: 2px;
}

.rca-act[b-gae7mm7mm6] {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border-radius: 7px;
  color: var(--ink-3);
  font-size: 11.5px;
  font-weight: 700;
  transition: background .14s ease, color .14s ease;
}

.rca-act:hover[b-gae7mm7mm6] { background: var(--surface-2); color: var(--ec-blue); }

.rca-act.is-on[b-gae7mm7mm6] { color: var(--ec-blue); }
.rca-act.is-on svg[b-gae7mm7mm6] { fill: color-mix(in srgb, var(--ec-blue) 18%, transparent); }

.rca-act-thanks[b-gae7mm7mm6] {
  margin-left: 4px;
  font-size: 11.5px;
  color: var(--ink-3);
  animation: rca-msg-in-b-gae7mm7mm6 .25s ease-out;
}

/* Follow-up questions under the latest answer: the starter chips, smaller. */
.rca-followups[b-gae7mm7mm6] { margin-top: 0; }
.rca-followups .rca-chip[b-gae7mm7mm6] { padding: 8px 12px 6px; font-size: 12.5px; }
@supports (text-box: trim-both cap alphabetic) {
  .rca-followups .rca-chip[b-gae7mm7mm6] { padding: 12px; }
}

/* ---- The question box --------------------------------------------------- */

.rca-limit[b-gae7mm7mm6] {
  position: absolute;
  right: 12px;
  bottom: -17px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink-3);
}

.rca-limit.is-full[b-gae7mm7mm6] { color: var(--ec-red-ink); }

/* While an answer is coming, the send button stops it. */
.rca-stop[b-gae7mm7mm6] { background: var(--ink); }
.rca-stop:hover[b-gae7mm7mm6] { background: var(--ec-lav); color: var(--ec-blue); }

/* ---- The welcome -------------------------------------------------------- */

.rca-welcome-ico[b-gae7mm7mm6] {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--ec-blue);
  color: #FFFFFF;
  box-shadow: 0 10px 22px -12px var(--accent-glow);
}

/* ---- Sources as cards ---------------------------------------------------- */

.rca-md[b-gae7mm7mm6]  .rca-src-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.rca-md[b-gae7mm7mm6]  .rca-src {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 8px;
  border-radius: var(--r-sm);
  background: #FFFFFF;
  border: 1px solid rgba(12, 12, 40, .08);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: border-color .14s ease, transform .14s ease, box-shadow .14s ease;
}

.rca-md[b-gae7mm7mm6]  a.rca-src:hover {
  border-color: color-mix(in srgb, var(--ec-blue) 40%, #FFFFFF);
  box-shadow: 0 6px 14px -10px var(--accent-glow);
  transform: translateY(-1px);
}

.rca-md[b-gae7mm7mm6]  .rca-src-n {
  flex: none;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 99px;
  background: var(--ec-blue);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
}

.rca-md[b-gae7mm7mm6]  .rca-src.is-plain .rca-src-n { background: var(--ink-3); }

.rca-md[b-gae7mm7mm6]  .rca-src-ico { flex: none; display: grid; color: var(--ec-blue); }

.rca-md[b-gae7mm7mm6]  .rca-src-text {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 1px;
}

.rca-md[b-gae7mm7mm6]  .rca-src-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ec-blue);
}

.rca-md[b-gae7mm7mm6]  .rca-src-title {
  font-size: 12.5px;
  font-weight: 750;
  line-height: 1.35;
}

.rca-md[b-gae7mm7mm6]  .rca-src-go {
  flex: none;
  font-size: 11px;
  font-weight: 800;
  color: var(--ec-blue);
}

@media (prefers-reduced-motion: reduce) {
  .rca-turn[b-gae7mm7mm6],
  .rca-msg--user[b-gae7mm7mm6],
  .rca-act-thanks[b-gae7mm7mm6],
  .rca-status-text[b-gae7mm7mm6],
  .rca-msg--streaming[b-gae7mm7mm6]  > :last-child::after { animation: none; }
}

/* ---- The sidebar on a phone --------------------------------------------- */

/* Tucked away behind a "Chats" button above the conversation; opening it
   slides it in over the conversation, with a scrim to tap to close it. */
@media (max-width: 720px) {
  .rca-main-bar[b-gae7mm7mm6] { display: flex; padding: 12px 0 2px; }

  .rca-messages[b-gae7mm7mm6] { padding-top: 10px; }

  .rca-side-toggle[b-gae7mm7mm6] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border: 1px solid color-mix(in srgb, var(--ec-soft) 70%, #FFFFFF);
    border-radius: 99px;
    color: var(--ec-blue);
    font-size: 13px;
    font-weight: 800;
  }

  .rca-side[b-gae7mm7mm6] {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 3;
    width: min(85%, 320px);
    box-shadow: 12px 0 28px -16px rgba(12, 12, 40, .45);
    transform: translateX(-102%);
    visibility: hidden;
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s .3s;
  }

  .is-side-open .rca-side[b-gae7mm7mm6] {
    transform: none;
    visibility: visible;
    transition: transform .3s cubic-bezier(.2, .8, .2, 1);
  }

  .rca-side-scrim[b-gae7mm7mm6] {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    background: rgba(8, 8, 20, .35);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
  }

  .is-side-open .rca-side-scrim[b-gae7mm7mm6] { opacity: 1; pointer-events: auto; }

  /* Every bin showing: there's no pointing at things on a phone. */
  .rca-hist-del:not(.is-confirm)[b-gae7mm7mm6] { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .rca-side[b-gae7mm7mm6],
  .rca-side-scrim[b-gae7mm7mm6] { transition: none; }
}
/* /Components/ResearchClubPanel.razor.rz.scp.css */
/* Research Club — see ResearchClubPanel.razor's own note for what this page is.

   Scoped to the component rather than added to portal.css on purpose: this is a
   self-contained block of roughly 300 lines for exactly one page, and portal.css
   carries a load-bearing source order (its "MOBILE OVERRIDES — kept at end of
   file" section works only because unconditional rules later in the file beat
   @media rules earlier in it). Dropping a third of a file's worth of new
   selectors into the middle of that is how that ordering quietly stops holding.

   Every colour here is one of portal.css's own :root tokens. The Research Club
   palette and the Education Cubed palette are the same palette — #2C23F1 is
   --ec-blue and the Research Club primary both — so naming them again locally
   would create two names for one colour that are free to drift apart. */

/* ---- Filling the viewport ------------------------------------------------ */

.rc-content[b-gi5e7drpew] {
  /* Overrides .content's own bottom padding: this page ends in a card rather
     than a scroll, so 96px of space under it just pushes the archive off a
     laptop screen. Wider than .content's own 1400px cap too — three columns
     of real content need the room, and this page has no long prose to keep
     within a comfortable measure. */
  padding-bottom: 22px;
  padding-top: 18px;
  max-width: 1840px;
  position: relative;
}

.rc[b-gi5e7drpew] {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Two columns: Latest release (with the assistant panel at its foot), and
   Completed Briefs then Study Archive stacked on the other side. */
.rc-grid[b-gi5e7drpew] {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
  grid-template-areas: "main side";
  gap: 14px;
}

.rc-latest[b-gi5e7drpew] {
  grid-area: main;
  /* The one gap used throughout Latest release: between the two strands,
     from them down to the assistant panel, and between every block inside a strand
     (audience line, tiles, blurb, button) — so nothing sits closer to or
     further from its neighbour than anything else does. */
  --rc-space: 14px;
}

.rc-side[b-gi5e7drpew] {
  grid-area: side;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}

/* Flex items shrink before they overflow, and .rc-card carries min-height: 0,
   so a column a dozen pixels short of its content quietly took those pixels
   off every card in it at once — each losing its own last line (the last
   file in the briefs list, a study name, the button's lower edge) with no
   scrollbar to say so. Pinned to their natural height, any shortfall becomes
   one scrollbar on the column instead, which at least admits to itself. */
.rc-side > .rc-card[b-gi5e7drpew] { flex: none; }

/* Study Archive is the one that grows to fill under Upcoming Briefs in its
   column — the one of the two most likely to actually have enough content
   (years of studies) to make use of the room. */
.rc-side > .rc-library[b-gi5e7drpew] { flex: 1 1 auto; }

/* The "one view, no scrolling" promise, but only where it is actually a
   promise worth keeping. On a desk (wide and tall enough) the dashboard is
   pinned to the leftover viewport height and each column scrolls inside
   itself. Below either threshold — a laptop in a hotel room, a split window, a
   phone — that same rule would squeeze both columns into 400px and make each
   of them its own tiny scroller, which is worse than the page simply being
   taller than the screen. So outside this query nothing here is height-capped
   and the page scrolls like every other page in the portal. */
/* 720px tall, not lower: on anything shorter the release can't fit beside
   the site header even at the compact sizes below, so the page flows and
   scrolls as a whole instead of the card growing a scrollbar of its own.
   720px still fits a common laptop window (1920x1080 at 125% scaling, about
   1536x730 inside the browser). Narrower windows need more height, as the
   narrower studies wrap their longer text further: 760px below 1440px wide,
   900px below 1340px (measured: 1280x720 overflowed the card by 20px and
   1280x800 by 17px). Those windows are better scrolled than squeezed. */
@media (min-width: 1440px) and (min-height: 720px), (min-width: 1340px) and (min-height: 760px), (min-width: 1240px) and (min-height: 900px) {
  .rc-content[b-gi5e7drpew] {
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .rc[b-gi5e7drpew] {
    flex: 1 1 0;
    min-height: 0;
  }

  .rc-grid[b-gi5e7drpew] {
    flex: 1 1 0;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr);
  }

  /* A safety net only: the sizes below are tied to this box's own rendered
     height (container-type: size, below) rather than guessed against the
     viewport, so this should never actually need to scroll — but an
     unusually long title or caption scrolls here rather than spilling over
     the card's edge. */
  .rc-latest[b-gi5e7drpew] { overflow-y: auto; }

  /* Everything under Latest release that scales with available height (see
     the cqh declarations throughout this file's "Latest release" section)
     scales against THIS box's own rendered height, not the viewport's. vh
     was tried first and measured wrong: the masthead, the year/date header
     row, and the page's own top/bottom padding all sit above and below this
     card, so "how much of the viewport is left for this card" isn't a fixed
     proportion of the viewport — it depends on chrome this file doesn't
     control and that changes independently of it. Sizing against the box
     that actually has to fit the content is what guarantees it does,
     regardless of how tall that other chrome ends up being. */
  .rc-latest[b-gi5e7drpew] { container-type: size; container-name: rc-latest; }

  /* Study Archive fills the side column (flex: 1 1 auto, above), so its own
     file list — not the column as a whole — is what scrolls when a year has
     more studies than fit: Upcoming Briefs above it, and the archive's own
     header/breadcrumb, stay in view rather than scrolling out of sight with
     it. */
  .rc-library .rc-files[b-gi5e7drpew] { overflow-y: auto; }
}

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

/* Three separate cards in a row, one per brand colour: the programme year on
   blue, the upcoming dates on baby blue, what is in the field on pink. Each
   is built the same way — a small label, then its content in a band of the
   same height (--rc-head-row) — which is what lines the three up. The gap
   between them matches the gap between the cards below. */
.rc-head[b-gi5e7drpew] {
  --rc-head-row: 46px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 14px;
}

/* Lays nothing out of its own below desk width (the three cards wrap as one
   row). At desk width the header takes the same two columns as the cards
   below (.rc-grid), so its edges line up with theirs: the year and dates
   cards share Latest release's width, the field card the side column's. */
.rc-head-main[b-gi5e7drpew] { display: contents; }

@media (min-width: 1240px) {
  .rc-head[b-gi5e7drpew] {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
  }

  .rc-head-main[b-gi5e7drpew] {
    display: flex;
    gap: 14px;
    min-width: 0;
  }

  /* The dates card exactly as wide as the session and its countdown need,
     and the year card all the rest, its logo and year scaling up to fill it
     (they're sized from its width); together they still end on the cards'
     edges below. */
  .rc-head-main .rc-head-id[b-gi5e7drpew] { flex: 1 1 300px; }
  .rc-head-main .rc-head-upcoming[b-gi5e7drpew] { flex: 0 0 auto; }
}

.rc-head-sec[b-gi5e7drpew] {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 16px 22px;
  border-radius: var(--r-lg);
  box-shadow: var(--lift);
}

.rc-head-tag[b-gi5e7drpew] {
  margin: 0;
  line-height: 1.2;
}

.rc-head-year[b-gi5e7drpew],
.rc-head-dates[b-gi5e7drpew],
.rc-head-next-empty[b-gi5e7drpew],
.rc-head-field .rc-soon-list[b-gi5e7drpew] {
  min-height: var(--rc-head-row);
  display: flex;
  align-items: center;
}

/* -- Blue: the programme year. The logo sits beside its label and year,
      centred on the pair; the pair itself starts at the top, so its label
      lines up with the other two cards' labels. */
.rc-head-id[b-gi5e7drpew] {
  /* A set starting width rather than its content's: the logo and year are
     sized from this card's own width (container-type, below), so they can't
     also be what decides that width. It takes a larger share of the spare
     width than the other two, since its content is what scales up to use it. */
  flex: 2.5 1 330px;
  min-width: 300px;
  container-type: inline-size;
  flex-direction: row;
  gap: 20px;
  background: var(--ec-blue);
  color: #FFFFFF;
}

.rc-head-id .rc-head-tag[b-gi5e7drpew] { color: var(--ec-soft); }

/* Logo and year both scale with the card's width, in proportion to each
   other (the logo half as tall again as the year's type), so together they
   span the card rather than sitting at a fixed size with blue beyond them.
   The multipliers come from measuring: the year runs about 6em wide and the
   logo 2.55 times its height, with 41px of gap and divider between them. */
.rc-mark[b-gi5e7drpew] {
  align-self: center;
  height: clamp(34px, calc(12.6cqi - 6px), 78px);
  width: auto;
  flex: none;
  display: block;
}

.rc-head-id-text[b-gi5e7drpew] {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, .24);
}

.rc-head-year[b-gi5e7drpew] {
  /* The same narrow space either side of the dot, in step with the type
     size: a fixed 8px plus a word space after the dot left the two sides
     uneven, and wide at large sizes. */
  gap: .16em;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, calc(11.6cqi - 4px), 64px);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1;
  white-space: nowrap;
  color: #FFFFFF;
}

.rc-head-year-period[b-gi5e7drpew] { color: var(--ec-soft); }

.rc-head-year-dot[b-gi5e7drpew] { margin-right: .16em; }

/* -- Baby blue: the upcoming dates. All three cards grow from their own
      content width by the same share of what's spare, rather than this one
      taking all of it and leaving a long empty stretch after the dates. */
.rc-head-upcoming[b-gi5e7drpew] {
  flex: 1 1 auto;
  background: var(--ec-soft);
  color: var(--ink);
}

.rc-head-upcoming .rc-head-tag[b-gi5e7drpew] { color: var(--ec-blue); }

.rc-head-dates[b-gi5e7drpew] {
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Each date takes an equal share of the card, so the two sit spread across
   it rather than bunched at the left. */
.rc-head-next[b-gi5e7drpew] {
  flex: 1 1 0;
  min-width: max-content;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* A tear-off calendar page: the month on a blue band, the day beneath. */
.rc-cal[b-gi5e7drpew] {
  flex: none;
  width: 44px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  background: #FFFFFF;
  text-align: center;
  box-shadow: 0 6px 14px -8px rgba(12, 12, 40, .45);
}

.rc-cal-mon[b-gi5e7drpew] {
  padding: 2px 0 1px;
  background: var(--ec-blue);
  color: #FFFFFF;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.rc-cal-day[b-gi5e7drpew] {
  padding: 2px 0 4px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.05;
  color: var(--ec-blue);
  font-variant-numeric: tabular-nums;
}

.rc-head-next-meta[b-gi5e7drpew] { min-width: 0; }

.rc-head-next-name[b-gi5e7drpew] {
  margin: 0;
  max-width: 200px;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
}

.rc-head-next-when[b-gi5e7drpew] {
  margin: 3px 0 0;
  color: var(--ec-blue);
}

/* The countdown to the next session, out to its right: days and hours on
   white tiles like the calendar page beside it, each figure rolling up as
   it changes. */
.rc-count[b-gi5e7drpew] {
  flex: none;
  margin-left: auto;
  display: flex;
  gap: 6px;
}

.rc-count-unit[b-gi5e7drpew] {
  width: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: 6px 0 5px;
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: 0 6px 14px -8px rgba(12, 12, 40, .45);
}

.rc-count-n[b-gi5e7drpew] {
  display: block;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.05;
  color: var(--ec-blue);
  font-variant-numeric: tabular-nums;
}

.rc-count-l[b-gi5e7drpew] {
  margin-top: 2px;
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* A changed figure rolls up into place. */
.rc-count-n.is-tick[b-gi5e7drpew] { animation: rc-count-roll-b-gi5e7drpew .45s cubic-bezier(.2, .8, .2, 1); }

@keyframes rc-count-roll-b-gi5e7drpew {
  from { opacity: 0; transform: translateY(60%); }
}

/* The tiles land one after the other, just after the calendar page. */
.rc-count-unit[b-gi5e7drpew] { animation: rc-pop-b-gi5e7drpew .4s cubic-bezier(.2, .8, .2, 1) backwards; }
.rc-count-unit:nth-child(1)[b-gi5e7drpew] { animation-delay: .3s; }
.rc-count-unit:nth-child(2)[b-gi5e7drpew] { animation-delay: .37s; }

.rc-head-next-empty[b-gi5e7drpew] {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}

/* -- Pink: what is in the field. Reuses .rc-soon-list's own structure (see
      "In the field" further down) as white chips on the pink card. */
.rc-head-field[b-gi5e7drpew] {
  flex: 1 1 auto;
  background: #EDD1FC;
  color: var(--ink);
}

.rc-head-field .rc-head-tag[b-gi5e7drpew] { color: var(--ec-blue); }

.rc-head-field-row[b-gi5e7drpew] {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* The same white tile as the calendar pages in the dates card, holding an
   icon instead of a date. */
.rc-head-tile[b-gi5e7drpew] {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #FFFFFF;
  color: var(--ec-blue);
  box-shadow: 0 6px 14px -8px rgba(12, 12, 40, .45);
}

.rc-head-field .rc-soon-list[b-gi5e7drpew] {
  flex-wrap: wrap;
  gap: 8px;
}

.rc-head-field .rc-soon-list[b-gi5e7drpew] { flex: 1 1 auto; }

/* The chips share the card's width between them rather than sitting at
   their own width with empty pink after them. */
.rc-head-field .rc-soon-list li[b-gi5e7drpew] {
  flex: 1 1 0;
  min-width: max-content;
  justify-content: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 99px;
  background: #FFFFFF;
}

.rc-head-field .rc-soon-label[b-gi5e7drpew] { color: var(--ec-blue); font-size: 12px; }
.rc-head-field .rc-soon-state[b-gi5e7drpew] { color: var(--ink-2); }
/* Each chip's two halves stay on one line ("Study 5", "Briefing open") and the
   chips wrap as whole units — on a phone they used to break mid-phrase. */
.rc-head-field .rc-soon-label[b-gi5e7drpew],
.rc-head-field .rc-soon-state[b-gi5e7drpew] { white-space: nowrap; }

/* Narrower desk windows: the two chips stack rather than sitting side by
   side, which keeps all three cards on one row. */
@media (max-width: 1680px) {
  .rc-head-field .rc-soon-list[b-gi5e7drpew] {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .rc-head-field .rc-soon-list li[b-gi5e7drpew] { padding: 4px 11px; }
}

/* The narrowest desk windows: a little tighter all round, so the three
   cards still share one row with the field icon in. */
@media (min-width: 1240px) and (max-width: 1360px) {
  .rc-head-sec[b-gi5e7drpew] { padding-inline: 18px; }
  .rc-head-dates[b-gi5e7drpew] { column-gap: 18px; }
  .rc-head-next-name[b-gi5e7drpew] { max-width: 175px; }
}

/* Below desk width the page stacks anyway: the pink card takes a full row
   under the other two, then the baby blue one too once it no longer fits
   beside the year. */
@media (max-width: 1239.98px) {
  .rc-head-field[b-gi5e7drpew] { flex-basis: 100%; }
  .rc-head-field .rc-soon-list[b-gi5e7drpew] { flex-direction: row; align-items: center; }
}

@media (max-width: 960px) {
  .rc-head-id[b-gi5e7drpew],
  .rc-head-upcoming[b-gi5e7drpew] { flex-basis: 100%; }
}

/* ---- Cards --------------------------------------------------------------- */

.rc-card[b-gi5e7drpew] {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--lift);
  padding: 15px 17px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.rc-card-head[b-gi5e7drpew] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.rc-tag[b-gi5e7drpew] { color: var(--accent-ink); }

/* "All years" in the archive: a small version of the page's blue pill
   buttons (see .rc-btn). It's a real <button>, so the browser's own border
   and grey fill are reset first rather than showing through. */
.rc-card-link[b-gi5e7drpew] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 0;
  border-radius: 99px;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 20px -12px var(--accent-glow);
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.rc-card-link:hover[b-gi5e7drpew] {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* ---- Latest release ------------------------------------------------------ */

.rc-latest-label[b-gi5e7drpew] {
  margin: 0;
  color: var(--ink-3);
}

/* Set the way the report sets its own headlines: heavy, uppercase, tight. */
.rc-latest-title[b-gi5e7drpew] {
  margin: 4px 0 clamp(10px, 1.8vh, 16px);
  margin-block-end: clamp(6px, 3cqh, 16px);
  font-family: var(--font-display);
  font-size: clamp(20px, min(2.4vw, 4.2vh), 38px);
  font-size: clamp(13px, calc(5.3cqh - 7px), 46px);
  font-weight: 900;
  letter-spacing: -.012em;
  line-height: 1;
  text-transform: uppercase;
}

/* Content height: the strands end where their content does, and whatever
   room .rc-latest has left goes to the assistant panel below (see .rc-latest-foot)
   rather than into gaps inside the grey panels. The two strands share row
   lines through subgrid (see .rc-strand), so each strand's tiles, blurb and
   button line up with the other's even when one caption wraps further. */
.rc-strands[b-gi5e7drpew] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* The six content rows the strands share, with a flexible row above and
     below them: whatever height the card has spare lands there, so the grey
     panels grow evenly top and bottom around their content rather than the
     gaps between items stretching or the assistant panel below ballooning. */
  /* The flexible rows are at least the strands' own padding tall: under
     subgrid a strand's top and bottom padding lands in these two empty edge
     rows rather than around its content, so with a 0 minimum it disappeared
     wherever the card had no spare height (every scrolling layout, and the
     shortest fit windows), leaving the report button flush against the
     bottom of its grey panel. */
  grid-template-rows: minmax(calc(var(--rc-space) + 4px), 1fr) repeat(6, auto) minmax(calc(var(--rc-space) + 4px), 1fr);
  column-gap: var(--rc-space);
  row-gap: 0;
  flex: 1 1 auto;
}

/* Full-width now, each strand gets its own subtly-set-off panel rather than
   sitting directly on the card background — there's finally room for the two
   studies to read as two deliberate panels instead of a cramped list. */
/* Spans every row of .rc-strands; its six children sit in the six content
   rows between the two flexible ones (label, title, audience, tiles, blurb,
   button — placed explicitly below, so they line up across both strands). */
.rc-strand[b-gi5e7drpew] {
  display: grid;
  grid-row: 1 / -1;
  grid-template-rows: subgrid;
  row-gap: 0;
  align-content: start;
  /* Sides only: the top and bottom come from .rc-strands' edge rows (see
     there), which is where subgrid puts them anyway. */
  padding: 0 calc(var(--rc-space) + 4px);
  border-radius: var(--r-md);
  background: var(--surface-2);
}

.rc-strand > :nth-child(1)[b-gi5e7drpew] { grid-row: 2; }
.rc-strand > :nth-child(2)[b-gi5e7drpew] { grid-row: 3; }
.rc-strand > :nth-child(3)[b-gi5e7drpew] { grid-row: 4; }
.rc-strand > :nth-child(4)[b-gi5e7drpew] { grid-row: 5; }
.rc-strand > :nth-child(5)[b-gi5e7drpew] { grid-row: 6; }
.rc-strand > :nth-child(6)[b-gi5e7drpew] { grid-row: 7; }

.rc-strand-label[b-gi5e7drpew] {
  margin: 0;
  color: var(--accent-ink);
}

.rc-strand-title[b-gi5e7drpew] {
  margin: 3px 0 0;
  font-family: var(--font-display);
  font-size: 17px;
  /* Grows into the height the assistant panel below no longer takes, but capped
     by the strand's width (the cqw term) so it stays on one line. */
  font-size: clamp(12px, min(calc(2.6cqh + 2px), 2.3cqw), 28px);
  font-weight: 900;
  letter-spacing: -.005em;
  line-height: 1.15;
  text-transform: uppercase;
}

.rc-strand-aud[b-gi5e7drpew] {
  margin: 2px 0 0;
  font-size: 12px;
  font-size: clamp(10.5px, min(calc(1.3cqh + 5.5px), 1.7cqw), 18px);
  font-weight: 700;
  color: var(--ink-3);
}

/* The two tiles share one grid row, so the grid's default align-items:
   stretch still gives them the same height as each other (whichever caption
   wraps to more lines sets it) without either growing past its content. */
.rc-stats[b-gi5e7drpew] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* Content height, not stretched: each tile is exactly as tall as its
     figure and caption (or its neighbour's, in the other strand, when that
     one wraps a line further — they share a row). */
  grid-template-rows: auto;
  gap: var(--rc-space);
  margin: var(--rc-space) 0 0;
}

/* Figure at the top, caption straight under it, the rest of the block left
   as colour — the same arrangement as the report's own stat blocks, rather
   than a small figure floating in the middle of a tall tile. Squarer corners
   than the cards around it, too, as a nod to the report's flat blocks. */
.rc-stat[b-gi5e7drpew] {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: var(--r-sm);
  /* Height-scaled so the whole card fits a short laptop screen as well as
     a tall one, instead of the tiles pushing it into a scrollbar. cqh, not
     vh: see the container-type note on .rc-latest above. */
  padding: clamp(12px, 2.2vh, 20px) clamp(14px, 1.3vw, 20px);
  padding-block: clamp(10px, calc(4cqh - 6px), 24px);
  /* So the caption inside can size itself by this tile's own width (cqi);
     height queries (cqh) still resolve against .rc-latest. */
  container-type: inline-size;
  padding-inline: clamp(12px, 1.3vw, 22px);
}

/* The report's own two-tone treatment for its headline figures: a light block
   with the figure in brand blue, then the reverse. Kept in that order so the
   first thing the eye lands on is the lighter of the two. */
.rc-stat--soft[b-gi5e7drpew] {
  background: var(--ec-soft);
  color: var(--ec-blue);
  --rc-bar-track: rgba(44, 35, 241, .14);
  --rc-bar-fill: var(--ec-blue);
}

/* A soft light in the top corner gives the flat blue some depth. */
.rc-stat--solid[b-gi5e7drpew] {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, .16), transparent 55%),
    var(--ec-blue);
  color: #FFFFFF;
  --rc-bar-track: rgba(255, 255, 255, .22);
  --rc-bar-fill: #FFFFFF;
}

/* The figure as a share of the tile's bottom edge: 64% fills 64% of it.
   Flush to the edge and out of the flow, so it costs the tile no height.
   research-club.js fills it in step with the count; without it (or with
   reduced motion) it simply shows full. */
.rc-stat-bar[b-gi5e7drpew] {
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: var(--rc-bar-track);
}

.rc-stat-fill[b-gi5e7drpew] {
  display: block;
  height: 100%;
  background: var(--rc-bar-fill);
  border-radius: 0 3px 3px 0;
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}

.rc-nowrap[b-gi5e7drpew] { white-space: nowrap; }



.rc-stat-v[b-gi5e7drpew] {
  display: block;
  transform-origin: left bottom;
  font-family: var(--font-display);
  /* Equal-width digits, so the figure holds still while it counts up. */
  font-variant-numeric: tabular-nums;
  font-size: clamp(34px, min(4vw, 6.6vh), 72px);
  /* Sized from the room the tile actually gets. The tile is whatever height
     is left once the fixed rows above and below it are placed (roughly 0.8 of
     the card's height, less about 170px), so the figure takes a fixed share
     of that, not of the card. That keeps figure, caption and colour block in
     proportion at every height rather than a small figure in a tall tile. */
  /* The second term keeps it inside the tile's width too: a figure is about
     2.05em wide, and a tile's inner width is roughly a quarter of the card
     less the gaps and padding, so this caps the figure at just under half of
     that rather than letting a tall window push "64%" past the tile's edge. */
  font-size: clamp(22px, min(calc(20cqh - 54px), 38cqi), 100px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: .95;
  font-variant-numeric: tabular-nums;
}

.rc-stat-k[b-gi5e7drpew] {
  display: block;
  margin-top: clamp(6px, 1vh, 10px);
  margin-block-start: clamp(4px, calc(1.5cqh - 2px), 12px);
  font-size: 12px;
  /* The cqi term is the tile's own width (see .rc-stat's container-type):
     what keeps the longest caption ("of prospective mature students likely
     to use the LLE") to three lines — a fourth line with one word on it
     looked like a mistake. */
  font-size: clamp(9px, min(calc(2.2cqh + 3px), 7.8cqi), 22px);
  font-weight: 900;
  letter-spacing: .015em;
  line-height: 1.3;
  text-transform: uppercase;
  text-wrap: balance;
}

/* A caption much longer than the rest (over 55 characters, such as "of
   prospective mature students likely to use the LLE, once it was
   explained") set a little smaller, so it wraps to about as many lines as
   the others rather than making its tile, and the row of tiles, taller. */
.rc-stat-k--long[b-gi5e7drpew] { font-size: clamp(8.5px, min(calc(1.8cqh + 2.4px), 6.4cqi), 18px); }

.rc-strand-blurb[b-gi5e7drpew] {
  margin: var(--rc-space) 0 0;
  font-size: 13px;
  font-size: clamp(10px, min(calc(1.6cqh + 4.5px), 1.55cqw), 19px);
  line-height: 1.35;
  color: var(--ink-2);
  /* Always shown in full — it's the one line explaining what each study
     asked. The room it needs on a short window comes out of the assistant panel
     panel below, which grows and shrinks to fill whatever is left. */
}

/* Takes all the height the strands leave, so the assistant panel grows into it
   rather than that room sitting as empty space. The gap above it matches
   the gap between the two strands. */
/* Shares the card's spare height evenly with the study panels above (see
   .rc-strands) — both grow by the same amount, so neither balloons. */
.rc-latest-foot[b-gi5e7drpew] {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding-top: var(--rc-space);
}

/* The report's closing block: the heading large on the left, the assistant panel
   beside it, on the blue panel. Grows to fill .rc-latest-foot, content
   centred in it. Stacks on narrow screens. */
.rc-ask[b-gi5e7drpew] {
  display: grid;
  /* auto, not a fixed 15rem: the heading sits on one line rather than
     stacking into three and making the block tall. */
  /* Heading | copy | button. The copy is never narrower than its own two
     lines (max-content); the button takes up to --rc-ask-btn wide, giving
     way to the copy first but never narrower than its own label. */
  /* Each column only as wide as it needs, the spare width shared out as
     equal space either side of the copy (space-between), so it sits evenly
     between the heading and the button rather than hard against the heading. */
  grid-template-columns: auto max-content minmax(max-content, var(--rc-ask-btn, 260px));
  justify-content: space-between;
  align-items: center;
  align-content: center;
  flex: 1 1 auto;
  gap: 8px clamp(24px, 3cqw, 44px);
  padding: clamp(14px, 2.2vh, 22px) 26px;
  padding-block: clamp(12px, 2cqh, 30px);
  padding-inline: clamp(22px, 3cqw, 48px);
  border-radius: var(--r-sm);
  /* Solid brand blue, the same as the old corner launcher, so the panel is
     the strongest thing on the page. */
  background: var(--ec-blue);
  color: #FFFFFF;
  box-shadow: 0 22px 44px -22px rgba(44, 35, 241, .85), inset 0 0 0 1px rgba(255, 255, 255, .14);
}

/* The tile stays still (its pulse was too much); only the button pulses. */
@keyframes rc-ask-btn-ring-b-gi5e7drpew {
  0% { box-shadow: 0 14px 30px -12px rgba(8, 6, 60, .6), 0 0 0 0 rgba(255, 255, 255, .6); }
  70%, 100% { box-shadow: 0 14px 30px -12px rgba(8, 6, 60, .6), 0 0 0 14px rgba(255, 255, 255, 0); }
}

/* Icon and heading as one unit, the icon close beside the heading rather
   than a full column gap away, so the assistant panel copy keeps its width. */
.rc-ask-lead[b-gi5e7drpew] {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4cqw, 16px);
}

/* The same white tile as the header cards' icons, sized with the heading. */
.rc-ask-ico[b-gi5e7drpew] {
  flex: none;
  width: clamp(36px, min(calc(5cqh + 12px), 5cqw), 60px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #FFFFFF;
  color: var(--ec-blue);
  box-shadow: 0 6px 14px -8px rgba(12, 12, 40, .45);
}

.rc-ask-ico svg[b-gi5e7drpew] { width: 66%; height: 66%; }

.rc-ask-h[b-gi5e7drpew] {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(18px, min(1.7vw, 3.2vh), 28px);
  font-size: clamp(16px, min(calc(3.5cqh + 2px), 2.35cqw), 40px);
  font-weight: 900;
  letter-spacing: -.01em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Opens the chat (ResearchClubAssistantLauncher): the panel's one action,
   in the page's own button style but larger, with the assistant's sparkle
   beside the label and a stronger glow, so it reads as the AI and is the
   thing on the lilac panel the eye goes to. */
.rc-btn.rc-ask-btn[b-gi5e7drpew] {
  /* Fills its column (see .rc-ask), so it holds its end of the panel
     against the heading and copy rather than being only as wide as its
     label. */
  width: 100%;
  justify-content: center;
  gap: 11px;
  padding: 17px 36px;
  font-size: 17.5px;
  white-space: nowrap;
  /* Inverted on the blue panel: white with blue text, pulsing a white ring
     outwards to invite the click. */
  background: #FFFFFF;
  color: var(--ec-blue);
  box-shadow: 0 14px 30px -12px rgba(8, 6, 60, .6);
  animation: rc-ask-btn-ring-b-gi5e7drpew 2.8s ease-out 2.4s infinite;
}

.rc-btn.rc-ask-btn:hover[b-gi5e7drpew] {
  background: #FFFFFF;
  transform: translateY(-2px);
}

.rc-btn.rc-ask-btn:focus-visible[b-gi5e7drpew] {
  outline: 3px solid #FFFFFF;
  outline-offset: 3px;
}

.rc-btn.rc-ask-btn svg[b-gi5e7drpew] {
  flex: none;
  width: 22px;
  height: 22px;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

/* The sparkle grows a touch when pointed at; it doesn't turn. */
.rc-btn.rc-ask-btn:hover svg[b-gi5e7drpew] { transform: scale(1.15); }

.rc-ask-p[b-gi5e7drpew] {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
  font-size: clamp(11px, min(calc(1.4cqh + 5px), 1.7cqw), 19px);
  font-weight: 650;
  line-height: 1.4;
  /* Clamped only on short windows (see the container queries below): the
     panel grows to fit it everywhere else. */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* A shorter card (620px or less): the gaps a notch tighter, still the same everywhere, so
   the study descriptions show in full; and the assistant panel a slim row
   (heading on one line, its line of copy held to two, the tile and padding
   smaller) rather than taking room the studies need. */
@container rc-latest (max-height: 620px) {
  .rc-strands[b-gi5e7drpew],
  .rc-latest-foot[b-gi5e7drpew] { --rc-space: 7px; }

  .rc-ask[b-gi5e7drpew] { padding-block: 4px; }
  .rc-ask-ico[b-gi5e7drpew] { width: 34px; }
  .rc-ask-p[b-gi5e7drpew] { -webkit-line-clamp: 2; }
  .rc-ask[b-gi5e7drpew] { --rc-ask-btn: 230px; }
  .rc-btn.rc-ask-btn[b-gi5e7drpew] { padding: 10px 28px; font-size: 16px; }
  .rc-btn.rc-ask-btn svg[b-gi5e7drpew] { width: 19px; height: 19px; }
}

/* The shortest desk-mode windows (720-740px tall): the same layout with
   the shared gap a notch tighter, so it still fits without a scrollbar. */
@container rc-latest (max-height: 450px) {
  .rc-strands[b-gi5e7drpew],
  .rc-latest-foot[b-gi5e7drpew] { --rc-space: 6px; }
  .rc-ask[b-gi5e7drpew] { padding-block: 4px; }
  .rc-strand-blurb[b-gi5e7drpew] { font-size: 10.5px; line-height: 1.3; }
}

/* The 720-730px tall windows the fit layout now reaches (see its media
   query): one notch tighter again, which pays for the strands' top and
   bottom padding (.rc-strands' edge rows) rather than letting it push the
   card into a scrollbar. */
@container rc-latest (max-height: 435px) {
  .rc-strands[b-gi5e7drpew],
  .rc-latest-foot[b-gi5e7drpew] { --rc-space: 6px; }
  .rc-ask[b-gi5e7drpew] { padding-block: 4px; }
}

/* Wherever the page scrolls rather than fitting the window (the fit layout's
   own media query, turned round), there's no card height for the panel's
   sizes to scale against, so they fall back to the window's: the heading came
   out 27px and the gaps nearly 40px, squeezing the copy into a narrow column
   many lines long. Fixed sizes here instead. */
@media (max-width: 1239.98px), (max-height: 719.98px), (max-width: 1439.98px) and (max-height: 759.98px), (max-width: 1339.98px) and (max-height: 899.98px) {
  /* Fixed sizes: the card-relative ones above fall back to the window's
     here, which made the heading 27px and the gaps nearly 40px. */
  .rc-ask[b-gi5e7drpew] {
    gap: 12px 24px;
    padding: 18px 26px;
  }

  .rc-ask-h[b-gi5e7drpew] { font-size: 21px; }

  .rc-ask-p[b-gi5e7drpew] { font-size: 14.5px; }
}

/* Two columns but scrolling (1240px or wider on a short window): the card
   is narrow, so the button drops to its own line under the copy rather than
   squeezing the copy into a column too narrow for its two lines. */
@media (min-width: 1240px) and (max-height: 719.98px), (min-width: 1240px) and (max-width: 1439.98px) and (max-height: 759.98px), (min-width: 1240px) and (max-width: 1339.98px) and (max-height: 899.98px) {
  .rc-ask[b-gi5e7drpew] { grid-template-columns: auto minmax(0, 1fr); }
  .rc-btn.rc-ask-btn[b-gi5e7drpew] { grid-column: 2; justify-self: start; width: auto; min-width: 240px; }
}

@media (max-width: 720px) {
  .rc-ask[b-gi5e7drpew] { grid-template-columns: 1fr; padding: 18px 20px; }
  .rc-ask-btn[b-gi5e7drpew] { justify-self: start; }
  /* A phone is too narrow for the heading on one line beside its tile. */
  .rc-ask-h[b-gi5e7drpew] { font-size: 18px; white-space: normal; }
}

.rc-btn[b-gi5e7drpew] {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 99px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 8px 20px -12px var(--accent-glow);
  transition: background .18s ease, transform .18s ease;
}

.rc-btn:hover[b-gi5e7drpew] {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* Sits inside a strand panel rather than the card's own footer row, so it
   needs its own top margin and left alignment rather than what .rc-btn gets
   for free from .rc-latest-foot's flex row. The margin lives on the slot
   around it now (see .rc-strand-btn-slot) so it's there from the first
   paint, not just once the button itself exists. */
.rc-strand-btn[b-gi5e7drpew] {
  width: 100%;
  justify-content: center;
  margin: 0;
}

/* Pink (the brand lavender, as on the "In the field" card) with blue text,
   so the reports read apart from the blue assistant panel below them.
   Defined with .rc-btn's own specificity doubled, as .rc-btn comes later. */
.rc-btn.rc-strand-btn[b-gi5e7drpew] {
  background: var(--ec-lav);
  color: var(--ec-blue);
  box-shadow: 0 8px 20px -12px rgba(105, 27, 221, .55);
}

.rc-btn.rc-strand-btn:hover[b-gi5e7drpew] { background: #E2BBFA; }

/* Reserves the report button's own footprint — including the margin above
   it — from the very first render, whether or not SharePoint has answered
   yet. min-height is the button's real rendered height (13px text, 9px
   padding top and bottom, an icon that doesn't add to it): without this,
   the button popping in after SharePoint responds pushes the rest of the
   strand down under whatever the reader was looking at. */
.rc-strand-btn-slot[b-gi5e7drpew] {
  display: flex;
  gap: 8px;
  padding-top: var(--rc-space);
  min-height: calc(35px + var(--rc-space));
}

.rc-strand-btn[b-gi5e7drpew] { flex: 1 1 auto; }


.rc-empty[b-gi5e7drpew] {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}

/* ---- In the field -------------------------------------------------------- */

.rc-soon-list[b-gi5e7drpew] {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.rc-soon-list li[b-gi5e7drpew] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 11px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
}

.rc-soon-label[b-gi5e7drpew] {
  font-size: 13px;
  font-weight: 850;
  color: var(--ink);
}

.rc-soon-state[b-gi5e7drpew] { color: var(--ink-3); }

/* ---- Narrower windows ---------------------------------------------------- */

/* 1239.98px, not 1240px: the two would otherwise both match at exactly
   1240px, stacking the grid while desk mode still pins its height. */
@media (max-width: 1239.98px) {
  .rc-grid[b-gi5e7drpew] {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "main"
      "side";
  }
}

@media (max-width: 720px) {
  .rc-content[b-gi5e7drpew] { padding-top: 14px; }

  /* Stacked, one card per row. */
  .rc-head-sec[b-gi5e7drpew] {
    flex-basis: 100%;
    padding: 14px 16px;
  }

  .rc-head-next-name[b-gi5e7drpew] { max-width: none; }

  /* Wraps within the card rather than holding the session name on one line
     out to (and past) its edge. */
  .rc-head-next[b-gi5e7drpew] { min-width: 0; }

  /* Stacked on a phone: each strand its own block in turn, not sharing rows. */
  .rc-strands[b-gi5e7drpew] {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    row-gap: var(--rc-space);
  }

  .rc-strand[b-gi5e7drpew] {
    display: flex;
    flex-direction: column;
    grid-row: auto;
    /* No shared edge rows here (not a subgrid), so the padding goes back
       on all four sides. */
    padding: calc(var(--rc-space) + 4px);
  }

  /* Fixed sizes on a phone: the height-based scaling above is for fitting a
     desk-sized window, and against a tall phone screen it runs large. */
  .rc-strand-title[b-gi5e7drpew] { font-size: 19px; }
  .rc-strand-aud[b-gi5e7drpew] { font-size: 13px; }
  .rc-stat-k[b-gi5e7drpew] { font-size: clamp(9px, 7.6cqi, 13px); }
  .rc-strand-blurb[b-gi5e7drpew] { font-size: 14px; }

  .rc-latest-title[b-gi5e7drpew] { font-size: 21px; }

  .rc-btn[b-gi5e7drpew] { align-self: flex-start; }
}

/* ---- The archive --------------------------------------------------------- */

/* Always as tall as the "All years" button, whether or not it's showing, so
   the button appearing doesn't push the list down. */
.rc-lib-head[b-gi5e7drpew] { min-height: 30px; }

.rc-lib-title[b-gi5e7drpew] {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.rc-crumb-sep[b-gi5e7drpew] { color: var(--ink-3); font-size: 12px; }

.rc-crumb[b-gi5e7drpew] {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -.012em;
  color: var(--ink);
  white-space: nowrap;
}

/* A folder's contents fade in when they arrive; while the next folder is
   loading, the current list stays in place, dimmed and not clickable. */
.rc-lib-files[b-gi5e7drpew] {
  animation: rc-list-in-b-gi5e7drpew .2s ease both;
  transition: opacity .15s ease;
}

/* Archive rows wrap a long report title onto a second line rather than
   cutting it off — the title is the only way to tell two reports apart. */
.rc-lib-files .rc-file-name[b-gi5e7drpew] {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.3;
}

.rc-lib-files.is-busy[b-gi5e7drpew] {
  opacity: .45;
  pointer-events: none;
}

@keyframes rc-list-in-b-gi5e7drpew {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rc-lib-files[b-gi5e7drpew] { animation: none; transition: none; }
}

.rc-files[b-gi5e7drpew] {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  /* minmax(0, …), not the default auto: with auto, one long file name set
     the column's minimum to the whole name's width, pushing the rows past the
     card's edge and putting a sideways scrollbar under the list. */
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
  align-content: start;
  flex: 1 1 auto;
  min-height: 0;
}

/* One row, whether it is a folder button, a report button or a download link —
   the three behave differently but should be indistinguishable to look at, so
   the list reads as one list rather than three kinds of thing. */
.rc-file[b-gi5e7drpew] {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  border: 0;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--ink-2);
  font: inherit;
  font-size: 13.5px;
  font-weight: 650;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background .14s ease, color .14s ease;
}

.rc-file:hover[b-gi5e7drpew] {
  background: var(--accent-soft);
  color: var(--ink);
}

.rc-file-ico[b-gi5e7drpew] { flex: none; color: var(--accent-ink); }

/* Added since the member's last visit. */
.rc-new[b-gi5e7drpew] {
  flex: none;
  padding: 3px 8px;
  border-radius: 99px;
  background: var(--ec-lime);
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Searching every year from the top of the archive. */
.rc-lib-search[b-gi5e7drpew] {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 99px;
  background: var(--bg);
  color: var(--ink-3);
}

/* Focus shows on the whole pill, as a ring a keyboard user can see (the
   input inside has its own outline turned off). */
.rc-lib-search:focus-within[b-gi5e7drpew] {
  border-color: var(--ec-blue);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--ec-blue) 35%, transparent);
  color: var(--ec-blue);
}

.rc-lib-input[b-gi5e7drpew] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  outline: none;
}

.rc-lib-input[b-gi5e7drpew]::placeholder { color: var(--ink-3); }

.rc-file--folder .rc-file-name[b-gi5e7drpew] { font-weight: 850; color: var(--ink); }

.rc-file-name[b-gi5e7drpew] { font-weight: 850; color: var(--ink); }

.rc-file-text[b-gi5e7drpew] {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 2px;
}

.rc-file-name[b-gi5e7drpew] {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* An upcoming brief with a title: its short name as a small label, the
   title in full beneath it — wrapping rather than cut short, since the title
   is the part worth reading. */
.rc-file-text[b-gi5e7drpew] {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 3px;
}

.rc-file-kicker[b-gi5e7drpew] { color: var(--accent-ink); }

/* A titled row carries two lines already, so it needs less padding round
   them than a one-line row does to look the same weight. */
.rc-file:has(.rc-file-text)[b-gi5e7drpew] { padding-block: 9px; }

.rc-file-title[b-gi5e7drpew] {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
}

.rc-file-go[b-gi5e7drpew] { flex: none; color: var(--ink-3); }

.rc-file-meta[b-gi5e7drpew] {
  flex: none;
  color: var(--ink-3);
  opacity: 0;
  transition: opacity .14s ease;
}

/* Only on the row being pointed at: eighteen rows each captioned "Read" is
   noise, but the one under the cursor saying what a click will do is not.
   Focus counts too, or the affordance would exist only for a mouse. */
.rc-file:hover .rc-file-meta[b-gi5e7drpew],
.rc-file:focus-visible .rc-file-meta[b-gi5e7drpew] { opacity: 1; color: var(--accent-ink); }

/* ---- Opening animation ----
   The page builds itself in the way the SONAR snapshot does: each card
   rises into place and fades in, a beat after the one before it, in reading
   order (the three header cards left to right, then the latest release, then
   the side column), and then the detail inside settles: the strands, the
   stat tiles (whose figures count up, see js/research-club.js), and the
   assistant panel last.

   The same rise and easing as SONAR's riseIn. Fill mode "backwards", not
   "both": it holds each card hidden through its delay but lets go once the
   animation ends, so it never pins transform or opacity afterwards (a
   forwards fill would silently override any later hover or state style).

   Only on first load: these elements stay in the DOM across re-renders, and
   a CSS animation doesn't replay on an element that is merely updated. */
@keyframes rc-rise-b-gi5e7drpew {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes rc-pop-b-gi5e7drpew {
  from { opacity: 0; transform: scale(.94); }
  to { opacity: 1; transform: none; }
}

.rc-head-sec[b-gi5e7drpew],
.rc-card[b-gi5e7drpew],
.rc-strand[b-gi5e7drpew],
.rc-ask[b-gi5e7drpew] {
  animation: rc-rise-b-gi5e7drpew .7s cubic-bezier(.2, .7, .3, 1) backwards;
}

.rc-head-id[b-gi5e7drpew] { animation-delay: 0s; }
.rc-head-upcoming[b-gi5e7drpew] { animation-delay: .07s; }
.rc-head-field[b-gi5e7drpew] { animation-delay: .14s; }

.rc-latest[b-gi5e7drpew] { animation-delay: .18s; }
.rc-side .rc-card:nth-child(1)[b-gi5e7drpew] { animation-delay: .25s; }
.rc-side .rc-card:nth-child(2)[b-gi5e7drpew] { animation-delay: .32s; }

.rc-strand:nth-child(1)[b-gi5e7drpew] { animation-delay: .3s; }
.rc-strand:nth-child(2)[b-gi5e7drpew] { animation-delay: .38s; }

/* Each tile a beat after its strand has landed. */
.rc-stat[b-gi5e7drpew] { animation: rc-pop-b-gi5e7drpew .45s cubic-bezier(.2, .8, .2, 1) backwards; }
.rc-strand:nth-child(1) .rc-stat:nth-child(1)[b-gi5e7drpew] { animation-delay: .5s; }
.rc-strand:nth-child(1) .rc-stat:nth-child(2)[b-gi5e7drpew] { animation-delay: .57s; }
.rc-strand:nth-child(2) .rc-stat:nth-child(1)[b-gi5e7drpew] { animation-delay: .58s; }
.rc-strand:nth-child(2) .rc-stat:nth-child(2)[b-gi5e7drpew] { animation-delay: .65s; }

/* The calendar tiles drop in one after another across the dates card. */
.rc-cal[b-gi5e7drpew] { animation: rc-pop-b-gi5e7drpew .4s cubic-bezier(.2, .8, .2, 1) backwards; }
.rc-head-next:nth-child(1) .rc-cal[b-gi5e7drpew] { animation-delay: .22s; }
.rc-head-next:nth-child(2) .rc-cal[b-gi5e7drpew] { animation-delay: .28s; }
.rc-head-next:nth-child(3) .rc-cal[b-gi5e7drpew] { animation-delay: .34s; }
.rc-head-next:nth-child(n + 4) .rc-cal[b-gi5e7drpew] { animation-delay: .4s; }

.rc-ask[b-gi5e7drpew] { animation-delay: .55s; }


@media (prefers-reduced-motion: reduce) {
  .rc-head-sec[b-gi5e7drpew],
  .rc-card[b-gi5e7drpew],
  .rc-strand[b-gi5e7drpew],
  .rc-ask[b-gi5e7drpew],
  .rc-btn.rc-ask-btn[b-gi5e7drpew],
  .rc-stat[b-gi5e7drpew],
  .rc-count-unit[b-gi5e7drpew],
  .rc-count-n.is-tick[b-gi5e7drpew],
  .rc-cal[b-gi5e7drpew] { animation: none; }
}
