/* ============================================================
   Copy page — every artifact renders inside an app window.

   The chrome (window bar, tabs, rail) speaks the site's soft-glass
   language and follows the theme. The window INTERIORS are deliberately
   fixed-color, because they are the artifact: an email is white paper,
   LinkedIn is a warm grey feed, the ClickUp hero is their navy, Ramble
   is asphalt. That contrast — themed glass around a true-to-life
   artifact — is the whole design idea of the page.

   Brand skins are data-driven: .cp-win[data-brand] sets --bw/--bw2 and
   everything branded (avatars, CTAs, banners, A/B pills) reads them.
   ============================================================ */

.cp-wide { max-width: 1180px; margin: 0 auto; padding: 14px 20px; }

.cp-stage {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 14px;
  margin-top: 0;
  /* Fills the framed shell; each column scrolls its own overflow. */
  align-items: stretch;
  flex: 1;
  min-height: 0;
}
.cp-stage > * { min-height: 0; }

/* ---- context rail ---------------------------------------------- */
.cp-rail {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  overflow-y: auto;
  scrollbar-width: thin;
}
/* The provenance tag wears the filled pill treatment the window corner
   used to carry, in the example's own brand colours. */
.cp-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
  color: #fff;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.cp-tag--clickup { background: linear-gradient(135deg, #8b5cf6, #5b21c9); }
.cp-tag--society { background: linear-gradient(135deg, #c2798f, #8d4a64); }
.cp-tag--launch { background: linear-gradient(135deg, #d3a545, #96691a); }
.cp-tag--ramble  { background: linear-gradient(135deg, #ff5940, #c22323); }




:root:not([data-theme="dark"]) .cp-tag--ramble  { color: #b32424; }
.cp-rail-intro {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.58;
  color: var(--muted);
}
.cp-ctx { border-top: 1px solid var(--border); }
.cp-ctx-row {
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
  line-height: 1.5;
}
.cp-ctx-row:last-child { border-bottom: 0; padding-bottom: 0; }
.cp-ctx-row b {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-soft);
  margin-bottom: 2px;
}
.cp-ctx-row span { color: var(--text); }

/* ---- chips + scroll pane ---------------------------------------- */
.cp-pane-wrap { min-width: 0; }
.cp-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
/* Inside the window chrome the switcher shares the row with the dots
   and the pill, so it shrinks and loses its margins. */
.cp-chips--bar {
  margin: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
/* Buttons that ask to be pressed: a lifted glass face that glows on
   hover and fills with the example's brand when active. */
.cp-chips--bar .cp-chip {
  padding: 5px 13px;
  font-size: 12.3px;
  white-space: nowrap;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 2px 5px rgba(0, 0, 0, 0.3);
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}
.cp-chips--bar .cp-chip:hover {
  transform: translateY(-1px);
  border-color: currentColor;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 4px 10px rgba(0, 0, 0, 0.35);
}
.cp-chips--bar[data-brand="clickup"] .cp-chip.is-active { background: linear-gradient(135deg, #8b5cf6, #5b21c9); }
.cp-chips--bar[data-brand="society"] .cp-chip.is-active { background: linear-gradient(135deg, #c2798f, #8d4a64); }
.cp-chips--bar[data-brand="launch"] .cp-chip.is-active { background: linear-gradient(135deg, #d3a545, #96691a); }
.cp-chips--bar[data-brand="ramble"] .cp-chip.is-active { background: linear-gradient(135deg, #ff5940, #c22323); }
.cp-chips--bar .cp-chip.is-active {
  color: #fff;
  border-color: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 3px 9px rgba(0, 0, 0, 0.35);
}
/* The sender never wraps; the chips give way and break to a second
   row instead when the width runs out. */
.cp-mail-head--bar .cp-mail-who { flex: none; }
.cp-mail-head--bar .cp-mail-who span { white-space: nowrap; }
.cp-mh-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
}
.cp-chip {
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  cursor: pointer;
}
.cp-chip:hover { color: var(--text); }
.cp-chip.is-active { color: var(--pg-ink); border-color: currentColor; }

/* Tabs and chips wear the brand of the example they belong to, using the
   same inks as the .cp-tag rows above. */
[data-cp-tabs] > button.is-active[data-brand="clickup"] { color: #b6a8fa; }
[data-cp-tabs] > button.is-active[data-brand="society"] { color: #e3a4b8; }
[data-cp-tabs] > button.is-active[data-brand="launch"] { color: #e0b45e; }
[data-cp-tabs] > button.is-active[data-brand="ramble"] { color: #ff9d8c; }
[data-cp-tabs] > button.is-active[data-brand="clickup"]::after { background: #8b5cf6; }
[data-cp-tabs] > button.is-active[data-brand="society"]::after { background: #c2798f; }
[data-cp-tabs] > button.is-active[data-brand="launch"]::after { background: #d3a545; }
[data-cp-tabs] > button.is-active[data-brand="ramble"]::after { background: #ff5940; }
.cp-chips[data-brand="clickup"] .cp-chip.is-active { color: #b6a8fa; }
.cp-chips[data-brand="society"] .cp-chip.is-active { color: #e3a4b8; }
.cp-chips[data-brand="launch"] .cp-chip.is-active { color: #e0b45e; }
.cp-chips[data-brand="ramble"] .cp-chip.is-active { color: #ff9d8c; }

.cp-pane {
  max-height: calc(100vh - 275px);
  min-height: 460px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
  border-radius: 18px;
}

/* ---- the window -------------------------------------------------- */
.cp-win {
  border-radius: 18px;
  background: var(--glass-fill-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-drop), var(--glass-inner);
  overflow: hidden;

  /* brand skin defaults; overridden per brand below */
  --bw: #2563eb;
  --bw2: #1d4ed8;
}
.cp-win[data-brand="clickup"] { --bw: #8b5cf6; --bw2: #5b21c9; }
.cp-win[data-brand="society"] { --bw: #c2798f; --bw2: #8d4a64; }
.cp-win[data-brand="launch"] { --bw: #d3a545; --bw2: #96691a; }
.cp-win[data-brand="ramble"]  { --bw: #ff5940; --bw2: #c22323; }

.cp-win-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--glass-fill-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border);
}
.cp-dots { display: flex; gap: 6px; flex: none; }
.cp-dots i {
  width: 12px; height: 12px;
  border-radius: 50%;
  /* the classic three, with a hint of gloss so they read as buttons */
  box-shadow: inset 0 -2px 3px rgba(0, 0, 0, 0.22),
              inset 0 1px 1px rgba(255, 255, 255, 0.55);
}
.cp-dots i:nth-child(1) { background: #ff5f57; }
.cp-dots i:nth-child(2) { background: #febc2e; }
.cp-dots i:nth-child(3) { background: #28c840; }
.cp-win-title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.cp-win-pill {
  flex: none;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--bw), var(--bw2));
  box-shadow: 0 2px 8px color-mix(in srgb, var(--bw) 40%, transparent);
}

.cp-win-url {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 9px 12px 0;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  box-shadow: inset 1px 2px 4px rgba(0, 0, 0, 0.07);
  font-size: 12px;
  color: var(--muted);
}
.cp-url-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* CSS padlock, drawn not pasted — same spirit as the home-page icons */
.cp-lock {
  position: relative;
  width: 9px; height: 7px;
  border-radius: 2px;
  background: var(--c-pos);
  flex: none;
  margin-top: 3px;
}
.cp-lock::before {
  content: "";
  position: absolute;
  top: -5px; left: 1.5px;
  width: 6px; height: 6px;
  border: 1.5px solid var(--c-pos);
  border-bottom: 0;
  border-radius: 3.5px 3.5px 0 0;
  box-sizing: border-box;
}

.cp-win-body { padding: 16px 18px 20px; }
.cp-win--web .cp-win-body { padding: 10px 10px 10px; }

/* ---- mail: the header lives on chrome, the email is white paper -- */
.cp-mail-head { display: flex; align-items: center; gap: 10px; }
.cp-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bw), var(--bw2));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  flex: none;
  box-shadow: 0 4px 10px color-mix(in srgb, var(--bw) 35%, transparent),
              inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.cp-mail-who { min-width: 0; flex: 1; line-height: 1.35; }
.cp-mail-who b { display: block; font-size: 13.5px; }
.cp-mail-who span { display: block; font-size: 11.5px; color: var(--muted-soft); }

.cp-subjblock {
  padding: 12px 22px 11px;
  border-bottom: 1px solid #e5e9ee;
  background: #fafbfd;
}
.cp-subj { margin: 0; font-size: 15.5px; font-weight: 800; line-height: 1.35; color: #1c2430; }
.cp-subj-b { margin-top: 7px; }
.cp-pre { margin: 2px 0 0; font-size: 13px; color: #6b7686; line-height: 1.45; }
.cp-subj > span, .cp-pre > span { vertical-align: middle; }
.cp-sublab {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 7px;
  border: 1px solid #d4dae2;
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a93a3;
  vertical-align: middle;
}
.cp-ab {
  display: inline-grid;
  place-items: center;
  width: 17px; height: 17px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--bw), var(--bw2));
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  margin-right: 7px;
  vertical-align: 1px;
}
.cp-ab--ghost { background: none; box-shadow: none; color: transparent; }

.cp-paper {
  margin-top: 14px;
  background: #ffffff;
  color: #2a313c;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12),
              0 14px 34px rgba(15, 23, 42, 0.20);
}
.cp-paper-brand {
  padding: 13px 20px;
  background:
    radial-gradient(circle at 88% -30%, rgba(255, 255, 255, 0.35), transparent 55%),
    linear-gradient(120deg, var(--bw), var(--bw2));
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.cp-paper-brand i { font-weight: 500; opacity: 0.9; }
/* ClickUp emails keep their real brand row: logo left, tagline right,
   the same 4px brand rule their built emails carry. */
.cp-win[data-brand="clickup"] .cp-paper-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
  border-top: 4px solid #7b68ee;
  border-bottom: 1px solid #eef0f6;
  color: #615c7d;
  font-weight: 600;
  font-size: 12px;
}
.cp-cu-logo { height: 20px; width: auto; display: block; }
.cp-cu-badge {
  display: inline-block;
  background: #f5f3ff;
  color: #6d28d9;
  border: 1px solid #ddd6fe;
  font-weight: 800;
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
  margin: 0 0 10px;
}
/* launch email: the drawn workspace UI with the agent leaning on it,
   ported from the original build */
.cp-lv {
  position: relative;
  margin: 4px 0 16px;
  border: 1px solid #d7deeb;
  border-radius: 16px;
  min-height: 190px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(129, 140, 248, 0.24), rgba(129, 140, 248, 0) 42%),
    radial-gradient(circle at 82% 18%, rgba(251, 113, 133, 0.22), rgba(251, 113, 133, 0) 44%),
    linear-gradient(165deg, #f7faff 0%, #eef3fc 100%);
}
.cp-lv-ui {
  position: absolute;
  inset: 12px 34% 12px 14px;
  border: 1px solid #d4ddec;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}
.cp-lv-top {
  height: 28px;
  border-bottom: 1px solid #e0e7f3;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
}
.cp-lv-top span { width: 7px; height: 7px; border-radius: 999px; background: #cbd5e1; }
.cp-lv-grid { display: grid; gap: 9px; padding: 12px; }
.cp-lv-grid i { display: block; height: 9px; border-radius: 999px; background: #e8eef9; }
.cp-lv-agent {
  position: absolute;
  right: 4px;
  bottom: -6px;
  width: 38%;
  max-height: 96%;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(15, 23, 42, 0.2));
}

/* the "live" banner with the frosted squares behind the side agent */
.cp-sa {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 4px 0 16px;
  padding: 18px 20px;
  min-height: 130px;
  border: 1px solid #d5deea;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 26%, rgba(99, 102, 241, 0.22), rgba(99, 102, 241, 0) 32%),
    radial-gradient(circle at 80% 22%, rgba(14, 165, 233, 0.2), rgba(14, 165, 233, 0) 34%),
    radial-gradient(circle at 72% 82%, rgba(236, 72, 153, 0.15), rgba(236, 72, 153, 0) 28%),
    linear-gradient(160deg, #f7fbff 0%, #edf2ff 52%, #f7f3ff 100%);
}
.cp-sa::after {
  content: "";
  position: absolute;
  width: 96px; height: 96px;
  right: 16px; bottom: -22px;
  transform: rotate(-12deg);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.cp-sa-agent {
  width: 92px;
  flex: none;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(15, 23, 42, 0.18));
  position: relative;
  z-index: 1;
}
.cp-sa-copy { position: relative; z-index: 1; }
.cp-sa-t { margin: 0 !important; font-size: 20px; font-weight: 800; color: #111827; line-height: 1.2; }
.cp-sa-s { margin: 2px 0 0 !important; font-size: 13px; color: #4c1d95; font-weight: 600; }

/* arrow list, exactly the original's shape */
.cp-arrows { list-style: none; padding-left: 0 !important; }
.cp-arrows li { position: relative; padding-left: 24px; margin-bottom: 9px; }
.cp-arrows li::before {
  content: "\2192";
  position: absolute;
  left: 0; top: 0;
  color: var(--bw2);
  font-weight: 700;
}

/* {{variable}} chips, the way the built emails marked them */
.cp-var {
  display: inline-block;
  background: color-mix(in srgb, var(--bw) 14%, #fff);
  border: 1px solid color-mix(in srgb, var(--bw) 45%, #fff);
  border-radius: 4px;
  padding: 0 6px;
  color: color-mix(in srgb, var(--bw2) 85%, #000);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.5;
}

/* activation step cards */
.cp-step {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fbfcfe;
  padding: 13px 14px 12px;
  margin: 0 0 10px;
}
.cp-step > p { margin-bottom: 8px !important; }
.cp-step > p:last-child { margin-bottom: 0 !important; }

/* Grace's signature card */
.cp-sig {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 13px 15px;
  border: 1px solid #e4e8f2;
  border-radius: 12px;
  background: #fafbff;
}
.cp-sig-av {
  width: 46px; height: 46px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  background: linear-gradient(135deg, #8b5cf6, #4f46e5);
  box-shadow: 0 5px 12px rgba(109, 40, 217, 0.35);
}
.cp-sig-body .cp-cu-logo { height: 14px; margin-bottom: 3px; }
.cp-sig-name { margin: 0 !important; font-size: 13.5px; font-weight: 700; color: #10141a; }
.cp-sig-name em { font-style: normal; color: #6d28d9; }
.cp-sig-name span { font-weight: 500; color: #64748b; font-size: 12px; }
.cp-sig-line { margin: 1px 0 0 !important; font-size: 11.5px; color: #64748b; }

/* spotlight hero banner */
.cp-spot {
  margin: 0 0 14px;
  padding: 20px 18px;
  border-radius: 12px;
  border: 1px solid #d9e2f1;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 14% 16%, rgba(56, 189, 248, 0.4), rgba(56, 189, 248, 0) 40%),
    radial-gradient(circle at 88% 22%, rgba(251, 113, 133, 0.38), rgba(251, 113, 133, 0) 44%),
    linear-gradient(90deg, #6366f1 0%, #a855f7 52%, #f97316 100%);
}
.cp-spot-t {
  display: block;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  margin-bottom: 5px;
}
.cp-spot-s { margin: 0 !important; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, 0.92); }

/* two-button CTA rows */
.cp-cta--row { display: flex; gap: 10px; flex-wrap: wrap; }
.cp-cta-sec {
  display: inline-block;
  background: #fff;
  color: color-mix(in srgb, var(--bw2) 85%, #000);
  border: 1.5px solid color-mix(in srgb, var(--bw) 55%, #fff);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 17px;
  border-radius: 10px;
}
.cp-paper-body {
  padding: 18px 20px 6px;
  font-size: 14.6px;
  line-height: 1.66;
}
.cp-paper-body p { margin: 0 0 11px; }
.cp-paper-body ul { margin: 0 0 11px; padding-left: 22px; }
.cp-paper-body li { margin-bottom: 4px; }
.cp-paper-body b { color: #10141a; }
.cp-paper-body em { font-style: italic; }
.cp-paper-body a {
  color: color-mix(in srgb, var(--bw2) 80%, #000 20%);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cp-paper-foot {
  margin-top: 8px;
  padding: 12px 18px 15px;
  border-top: 1px solid #edf0f4;
  text-align: center;
  font-size: 11px;
  color: #98a1ae;
}

.cp-h { font-weight: 800; font-size: 15.6px; color: #10141a; margin: 16px 0 8px !important; }
.cp-cta { margin: 14px 0 !important; }
.cp-cta span {
  display: inline-block;
  background: linear-gradient(180deg, var(--bw), var(--bw2));
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 10px;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--bw) 40%, transparent),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.cp-quote {
  border-left: 3px solid var(--bw);
  background: color-mix(in srgb, var(--bw) 6%, #fff);
  border-radius: 0 8px 8px 0;
  padding: 8px 12px;
  color: #3f4854;
  font-style: italic;
}
.cp-card {
  border: 1px solid #e4e8ef;
  background: #f8fafc;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 0 10px;
  font-size: 13.8px;
  line-height: 1.55;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.05);
}
.cp-card b { display: block; margin-bottom: 3px; color: #10141a; }
.cp-card p { margin: 0 !important; color: #4a5361; }
.cp-fine { font-size: 11.5px; color: #98a1ae; }

/* ---- feed: the LinkedIn window ----------------------------------- */
.cp-win--feed .cp-win-body {
  background: linear-gradient(180deg, #f5f3ef, #eceae5);
  padding: 20px;
}
.cp-post {
  background: #ffffff;
  color: #2a3138;
  border-radius: 12px;
  max-width: 560px;
  margin: 0 auto;
  padding: 16px 18px 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12),
              0 12px 30px rgba(0, 0, 0, 0.12);
}
.cp-post-top { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.cp-post .cp-mail-who b { color: #1c2126; font-size: 14px; }
.cp-post .cp-mail-who span { color: #69737e; font-size: 12px; }
.cp-follow {
  flex: none;
  align-self: flex-start;
  color: #0a66c2;
  border: 1.5px solid #0a66c2;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 13px;
  border-radius: 999px;
}
.cp-post-body p { margin: 0 0 12px; font-size: 14.4px; line-height: 1.62; }
.cp-post-body b { color: #10141a; }
.cp-post-actions {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid #e8ebee;
  margin-top: 4px;
  padding: 6px 0 2px;
}
.cp-post-actions span {
  font-size: 12.5px;
  font-weight: 700;
  color: #5b6570;
  padding: 7px 12px;
  border-radius: 8px;
}
.cp-post-actions span:hover { background: #f2f4f7; }

/* ---- embedded landing pages -------------------------------------- */
/* The real page, in a real frame. The iframe scrolls internally, so the
   window behaves like the browser it is dressed as. */
.cp-frame-fit {
  height: calc(100vh - 360px);
  min-height: 520px;
  overflow: hidden;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12),
              0 14px 34px rgba(15, 23, 42, 0.20);
}
.cp-frame { display: block; border: 0; background: #ffffff; }

/* ---- responsive -------------------------------------------------- */
@media (max-width: 900px) {
  .cp-stage { grid-template-columns: 1fr; }
  .cp-rail { position: static; }
  .cp-pane { max-height: none; }
}
@media (max-width: 640px) {
  .cp-win-title { display: none; }
}

/* Fixed-color interiors ignore forced dark inversion on purpose, but
   forced-colors mode gets plain system surfaces. */
@media (forced-colors: active) {
  .cp-paper, .cp-post {
    background: Canvas;
    color: CanvasText;
  }
}


/* Brand-true banner typography: the Society speaks in a warm serif, the
   launch sequence in spaced small caps, ClickUp already carries its logo. */
.cp-win[data-brand="society"] .cp-paper-brand {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
}
.cp-win[data-brand="launch"] .cp-paper-brand {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  text-align: center;
}


/* ---- client logos and in-email photography ----------------------- */
.cp-avatar--img { overflow: hidden; padding: 0; }
.cp-avatar--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-win[data-brand="ramble"] .cp-avatar--img { background: #1d2430; }
.cp-win[data-brand="ramble"] .cp-avatar--img img { object-position: 50% 18%; }

.cp-brand-logo {
  width: 26px; height: 26px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.cp-win[data-brand="society"] .cp-paper-brand,
.cp-win[data-brand="launch"] .cp-paper-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* the photograph inside an email, full width of the paper column */
.cp-eml-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 4px 0 13px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

/* the agent lineup from the original ClickUp build */
.cp-agents {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  min-height: 190px;
  margin: 12px 0 14px;
  padding: 8px 8px 0;
  border: 1px solid #d5deea;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(165deg, #f7faff 0%, #edf2fb 100%);
}
.cp-agents span { position: relative; min-height: 176px; overflow: hidden; }
.cp-agents img {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: auto;
  max-width: 125%;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(15, 23, 42, 0.16));
}
.cp-agent-b img { height: 106%; }
.cp-agent-c img { height: 112%; }



/* ---- a run of letters in one window ------------------------------ */
.cp-sheet + .cp-sheet {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px dashed var(--border-strong);
}

/* Where an emoji opens the line, it is the bullet. A disc as well is two
   bullets for one item. */
.cp-elist {
  list-style: none;
  padding-left: 0 !important;
}
.cp-elist li { margin-bottom: 6px; }

/* ---- photographs sit inside the column, not across it ------------- */
.cp-eml-img {
  width: 40%;
  min-width: 180px;
  margin: 6px 0 14px;
}


/* The old brand-ink rule out-specified the white, leaving active chip
   text dim. This one outranks everything. */
.cp-chips.cp-chips--bar[data-brand] .cp-chip.is-active {
  color: #fff;
  font-weight: 700;
}
