/* Evolve Edge — the Briefs list (pitchiq#824) and the brief components it shares with the detail page.

   Two prefixes, nothing else: `ebc-` = brief components (brief-components.jsx), `ebl-` = the Briefs list page
   (pages-briefs.jsx). No `.mp-*` / `.tm-*` rule is added or relied on here.

   Every value is Figma's (`T51wh9ODKWVeqS1lLXRmkb`; the node is named beside each block). Colours are the Suite shell's
   `--evsh-*` tokens, which resolve under `.evsh-root` (the page root and each overlay carry it); a Figma colour the
   shell has no token for is written as its hex with the Figma variable's name. */

/* ---------- shared: an exported icon in its slot ---------- */
.ebc-icon { position: relative; display: inline-block; flex: none; }
.ebc-icon > img { position: absolute; display: block; max-width: none; }

/* ---------- Prospect fit pill — 175:2508; compact = the table instance 494:6594 ---------- */
.ebc-fit { vertical-align: top; }
.ebc-fit-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-sizing: border-box;
  height: 28px;
  padding: 5px 10px 5px 8px;
  border: none;
  border-radius: 32px;
  background: var(--evsh-neutral-blue-4);
  color: var(--evsh-neutral-blue-1);
  font-family: var(--evsh-font);
  font-size: 14px;            /* subtitle/subtitle-3 */
  line-height: 18px;
  font-weight: 600;
  white-space: nowrap;
  cursor: default;            /* it explains on hover; a click does nothing */
}
/* The table instance: 24 tall, 3 / 6 / 8 padding, transparent at rest with Figma's 1px INSIDE stroke (a real border
   would make it 26). */
.ebc-fit-pill--compact {
  height: 24px;
  padding: 3px 8px 3px 6px;
  border-radius: 40px;
  background: none;
  box-shadow: inset 0 0 0 1px var(--evsh-bg-light-blue);
}
.ebc-fit-pill-icon--hovered { display: none; }
/* Hovered (the State=Hovered variants): the outcome's semantic surface, label and icon file. `.ebc-fit:hover` covers
   the popover too, so the pill stays in this state while its explanation is being read. */
.ebc-fit:hover .ebc-fit-pill,
.ebc-fit-pill:focus-visible { box-shadow: none; outline: none; }
.ebc-fit:hover .ebc-fit-pill-icon--resting,
.ebc-fit-pill:focus-visible .ebc-fit-pill-icon--resting { display: none; }
.ebc-fit:hover .ebc-fit-pill-icon--hovered,
.ebc-fit-pill:focus-visible .ebc-fit-pill-icon--hovered { display: inline-block; }
.ebc-fit:hover .ebc-fit-pill--strong,
.ebc-fit-pill--strong:focus-visible { background: #e9f2eb; color: #235e2f; }               /* background/light-green, green/green-0 */
.ebc-fit:hover .ebc-fit-pill--needs_qualification,
.ebc-fit-pill--needs_qualification:focus-visible { background: #f4f0e7; color: #977114; }  /* background/light-gold, gold/gold-0 */
.ebc-fit:hover .ebc-fit-pill--poor,
.ebc-fit-pill--poor:focus-visible {                                                         /* #f5dadd under 20% white, red/red-1 */
  background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), #f5dadd;
  color: var(--evsh-red-1);
}
.ebc-fit:hover .ebc-fit-pill--insufficient,
.ebc-fit-pill--insufficient:focus-visible {                                                 /* #29a1f0 under 88% white, blue/blue-0 */
  background: linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)), #29a1f0;
  color: var(--evsh-blue-0);
}

/* ---------- Fit popover — 567:16380 (the shell's Popover, at this design's width and distance) ---------- */
/* 300 wide (the shell's default card is 251) and 21px below the pill (the shell's default gap is 12). The shell flips
   it above the pill when there is no room below; the same 21px applies there. */
.evsh-popover.ebc-fit-popover { width: 300px; cursor: default; text-align: left; white-space: normal; }
.evsh-popover--top.ebc-fit-popover { top: calc(100% + 21px); }
.evsh-popover--bottom.ebc-fit-popover { bottom: calc(100% + 21px); }
/* The 21px between pill and popover belongs to neither; this strip keeps the pointer "inside" on the way across, so
   the popover stays open and can be read (Brief components: "Moving into the popover should keep it readable"). */
.ebc-fit-popover::before { content: ""; position: absolute; left: 0; right: 0; height: 21px; }
.evsh-popover--top.ebc-fit-popover::before { top: -21px; }
.evsh-popover--bottom.ebc-fit-popover::before { bottom: -21px; }
.ebc-fit-explanation {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0 0 0 20px;       /* the bullet column of 567:16380's groups */
  list-style: disc;
}

/* ---------- Edge / Company avatar — 641:2987 ---------- */
.ebc-company-avatar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-sizing: border-box;
  overflow: hidden;
}
.ebc-company-avatar--32 { width: 32px; height: 32px; border-radius: 8px; }
.ebc-company-avatar--60 { width: 60px; height: 60px; border-radius: 15px; }
.ebc-company-avatar--icon { background: #f4f0e7; }                    /* background/light-gold; no inner shadow */
.ebc-company-avatar--image { background: var(--evsh-white); }
.ebc-company-avatar-image { width: 100%; height: 100%; object-fit: contain; }
/* Content=Image: the Record avatar's inner shadow, on the container and above the logo. */
.ebc-company-avatar--image::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.ebc-company-avatar--32.ebc-company-avatar--image::after { box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.25); }
.ebc-company-avatar--60.ebc-company-avatar--image::after { box-shadow: inset 0 0 1.875px rgba(0, 0, 0, 0.25); }

/* ---------- Confirm dialog — 471:7973 ---------- */
/* The scrim is Figma's `471:7972`: #000 at 0.38 fill under a 0.85 layer opacity = 0.323. */
.ebc-dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;               /* the shell's dialog tier */
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 24px;
  background: rgba(0, 0, 0, 0.323);
}
.ebc-dialog {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
  width: min(416px, 100%);
  padding: 24px;
  border-radius: 20px;
  background: var(--evsh-white);
  box-shadow: var(--evsh-shadow-med);
  font-family: var(--evsh-font);
}
.ebc-dialog:focus { outline: none; }
.ebc-dialog-head { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; width: 100%; }
.ebc-dialog-title { margin: 0; font-size: 18px; line-height: 24px; font-weight: 900; color: var(--evsh-neutral-1); }       /* heading/heading-3 */
.ebc-dialog-description { margin: 0; padding-top: 16px; width: 100%; font-size: 15px; line-height: 26px; font-weight: 400; color: var(--evsh-neutral-1); } /* body/body-1 */
.ebc-dialog-actions { display: flex; justify-content: flex-end; gap: 12px; width: 100%; padding-top: 16px; }
/* The confirming action is Figma's red/red-2 fill; the shell's Button has no destructive variant. Figma draws no hover
   for it, so it keeps its fill under the pointer rather than taking the primary variant's. */
.evsh-btn.ebc-dialog-confirm,
.evsh-btn.ebc-dialog-confirm:hover,
.evsh-btn.ebc-dialog-confirm:disabled:hover { background: var(--evsh-red); color: var(--evsh-white); }

/* ================= The Briefs list page ================= */

/* Main Content 550:24691: the 840 container, 40 from the top (the app frame's `.mp-main` gives 38) and 32 from the
   bottom (it gives 80). */
.ebl-container { max-width: 840px; }
.ebl-page {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 2px;
  margin-bottom: -48px;
  font-family: var(--evsh-font);
  color: var(--evsh-neutral-1);
}
.ebl-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Page Header 550:24693 */
.ebl-header { display: flex; flex-direction: column; gap: 28px; }
.ebl-title { margin: 0; font-size: 23px; line-height: 32px; font-weight: 900; color: var(--evsh-neutral-1); }   /* heading/heading-2 */
/* The title takes focus only from script (after a delete removed the row that had it); it shows no ring for that. */
.ebl-title:focus { outline: none; }
.ebl-toolbar { display: flex; align-items: center; gap: 8px; padding: 8px 0; }
.ebl-filters { display: flex; flex: 1 0 0; align-items: center; gap: 12px; min-width: 0; }
/* The shell's Dropdown draws its ring as an inset shadow and resets no border (the Suite's own pages get that from
   their CSS reset); without this the browser's default 2px button border makes the chip 38 tall instead of 34. */
.ebl-chip { border: none; }
/* The chip while its menu is open is Figma's State=Hover (545:18808). */
.ebl-chip[aria-expanded="true"]:not(.evsh-dropdown--applied) { background: var(--evsh-bg-light-blue); }
/* Applied (546:20272): the chip's icons are drawn white. They are the same exported files, whitened here. */
.ebl-chip.evsh-dropdown--applied .ebc-icon > img { filter: brightness(0) invert(1); }
/* "Clear" (546:20272): the shell's ghost button in neutral/neutral-2. */
.evsh-btn.ebl-clear { color: var(--evsh-neutral-2); }

/* "Create brief" (Primary 92:3273): Figma's 16px icon wrapper starts at the 12px padding and the 20px icon hangs 4px
   out of its LEFT side, so the button is 127 wide. The shell pulls the wrapper 4px left instead (same icon inset, a
   button 4px narrower); this puts Figma's geometry back for this button. */
.ebl-create .evsh-btn-icon--left { margin-left: 0; justify-content: flex-end; }

/* A creator's avatar in the Created by menu (550:21476): the shell's UserAvatar. With no assigned colour it is the
   Neutral avatar, netural-blue/neutral-blue-3 #DBDDDE (Eli, 2026-11-16); the shell paints its own no-colour mark inline
   in a darker grey, hence the override. */
.ebl-avatar { display: inline-flex; }
.ebl-avatar--neutral .evsh-avatar { background: var(--evsh-neutral-blue-3) !important; }

/* Menus (545:19305, 498:6674): the shell's Menu; Figma's rows put 8px between icon and label here. */
.ebl-menu .evsh-menu-item-stack { gap: 8px; }
/* The row's menu hangs from the button's RIGHT edge, 4px below it (left -184 of a 212 menu under a 28 button, top 32). */
.evsh-menu.ebl-more-menu { left: auto; right: 0; top: calc(100% + 4px); }

/* Table 550:24705 — header 32 with the labels at x 8 / 380 / 651; rows 72 = 8 + (8 + 40 + 8) + 8 with a 1px rule INSIDE. */
.ebl-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.ebl-table th { padding: 0; }
.ebl-table th:first-child { padding-left: 8px; }
.ebl-table th:nth-child(2) { width: 271px; }
.ebl-table th:nth-child(3) { width: 153px; }
.ebl-th-more { width: 36px; }

.ebl-row { cursor: pointer; }
.ebl-cell { padding: 8px 0; box-shadow: inset 0 -1px 0 var(--evsh-bg-light-blue); }
/* The inset hover surface (499:6790): 8px in from the row's edges, radius 12, across all four cells. */
.ebl-cell-inner { display: flex; align-items: center; box-sizing: border-box; height: 56px; }
.ebl-cell--name .ebl-cell-inner { gap: 16px; padding-left: 8px; border-radius: 12px 0 0 12px; min-width: 0; }
.ebl-cell--more .ebl-cell-inner { justify-content: flex-end; padding-right: 8px; border-radius: 0 12px 12px 0; }
.ebl-row:hover .ebl-cell-inner,
.ebl-row:focus-within .ebl-cell-inner,
.ebl-row--menu-open .ebl-cell-inner { background: var(--evsh-neutral-blue-4); }

.ebl-name-line { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ebl-name {                                                              /* subtitle/subtitle-1 */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--evsh-neutral-1);
  text-decoration: none;
}
.ebl-name:focus-visible { outline: 2px solid var(--evsh-blue-1); outline-offset: 2px; border-radius: 4px; }
.ebl-cell--created { font-size: 14px; line-height: 18px; font-weight: 500; color: var(--evsh-neutral-2); white-space: nowrap; } /* body/body-3 */

/* The company name with, for another member's brief, "by [name]" right under it (499:6796 / 499:6800): 24 + 18 = 42,
   centred in the 40px content row, so the row stays 72. */
.ebl-identity { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.ebl-author {                                                            /* Lato Medium 12/18, neutral/neutral-2 */
  display: flex;
  align-items: center;
  gap: 3px;
  max-width: 100%;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  color: var(--evsh-neutral-2);
  white-space: nowrap;
}
.ebl-author-name {
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  text-decoration: underline solid var(--evsh-neutral-4);
  text-decoration-thickness: from-font;
  text-underline-position: from-font;
}
button.ebl-author-name { cursor: pointer; }
button.ebl-author-name:focus-visible { outline: 2px solid var(--evsh-blue-1); outline-offset: 2px; border-radius: 4px; }

/* ── Lifecycle rows (pitchiq#824): Processing 499:6648 / 499:6823, Ready 499:6681, Error 499:6717 ─────────────────── */

/* A row that opens nothing (Processing, Error): no pointer; its name is plain text, not a link. */
.ebl-row--processing,
.ebl-row--error { cursor: default; }

/* Ready and Error put 4px between the lines of the identity (499:6687 / 499:6723 `gap-[4px]`). */
.ebl-identity--spaced { gap: 4px; }

/* "BRIEF READY" — Badge, Status=Success, Size=Small (365:27192): Lato Bold 10/16, green/green-0 on 75% white over
   #89CF98, radius 6, 4px side padding. The two layers are Figma's own fill, not a flattened colour. */
.ebl-ready-badge {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding: 0 4px;
  border-radius: 6px;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.75) 100%),
    linear-gradient(90deg, rgb(137, 207, 152) 0%, rgb(137, 207, 152) 100%);
  font-size: 10px;
  line-height: 16px;
  font-weight: 700;
  color: #235e2f;                                                          /* green/green-0 */
  text-align: center;
  white-space: nowrap;
}

/* Processing: the placeholders where the fit will be (503:6865 / 503:6868) — a 16px square and a 56x9 bar 5px apart on
   the left, a 56x9 bar at the right, 16px in from the cell's edge; background/light-blue, radius 4. */
.ebl-pending { justify-content: space-between; padding-right: 16px; overflow: hidden; }
.ebl-pending-group { display: flex; align-items: center; gap: 5px; }
.ebl-pending-block { flex: none; width: 56px; height: 9px; border-radius: 4px; background: var(--evsh-bg-light-blue); }
.ebl-pending-block--icon { width: 16px; height: 16px; }

/* The action area of a Processing or Error row (499:6668 / 499:6737): right-aligned, 8px in from the cell's edge. */
.ebl-cell-inner--action { justify-content: flex-end; gap: 8px; padding-right: 8px; }

/* "Processing..." (499:6663): spinner 16 + Lato SemiBold 14, purple/purple-0 on background/light-purple, radius 32,
   8px side / 7px vertical padding. */
.ebl-processing {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 7px 8px;
  border-radius: 32px;
  overflow: hidden;
  background: var(--evsh-bg-light-purple);
  font-size: 14px;
  line-height: normal;
  font-weight: 600;
  color: #7023a3;                                                          /* purple/purple-0 */
  white-space: nowrap;
}
.ebl-processing-spinner { animation: ebl-spin 1s linear infinite; }
@keyframes ebl-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ebl-processing-spinner { animation: none; } }

/* Error: "We couldn't create this brief." (503:6875) — 12px icon + Lato Medium 12/18, red/red-1, 4px apart. */
/* The line never leaves the Name column: where the column is too narrow for it (a small screen), the message is cut
   with an ellipsis rather than painted under "Try again" in the next column. */
.ebl-error-line { display: flex; align-items: center; gap: 8px; max-width: 100%; min-width: 0; overflow: hidden; }
.ebl-error-message > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.ebl-error-message {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 1 auto;
  min-width: 0;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  color: var(--evsh-red-1);
  white-space: nowrap;
}

/* "Try again" (503:6853): synchronize icon 20 + Lato SemiBold 15/20, red/red-1 on 20% white over #F5DADD, radius 10,
   padding 7 / 12 right / 8 left. */
.ebl-try-again {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: none;
  margin: 0;
  padding: 7px 12px 7px 8px;
  border: none;
  border-radius: 10px;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.2) 100%),
    linear-gradient(90deg, rgb(245, 218, 221) 0%, rgb(245, 218, 221) 100%);
  font-family: inherit;
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  color: var(--evsh-red-1);
  white-space: nowrap;
  cursor: pointer;
}
.ebl-try-again:focus-visible { outline: 2px solid var(--evsh-blue-1); outline-offset: 2px; }
.ebl-try-again:disabled { cursor: default; opacity: 0.6; }

/* More actions 498:6694: shown on the hovered row (Desktop), and whenever it is focused or its menu is open. */
/* Hidden with opacity, not `visibility`: an invisible-by-visibility button cannot take focus, and the delete dialog
   hands focus back to the More button that opened it when it is cancelled. A pointer over the button is over the row,
   so it is never clicked unseen. */
.ebl-more { opacity: 0; }
.ebl-row:hover .ebl-more,
.ebl-row:focus-within .ebl-more,
.ebl-row--menu-open .ebl-more { opacity: 1; }
.ebl-more-button {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  padding: 2px;
  border: none;
  border-radius: 8px;
  background: none;
  cursor: pointer;
}
.ebl-more-button:hover,
.ebl-more-button[aria-expanded="true"] { background: var(--evsh-neutral-blue-4); }

/* No briefs — 550:25439 "No Activity Container": 746 tall in the 900 frame, i.e. the rest of the viewport. */
.ebl-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  box-sizing: border-box;
  min-height: calc(100vh - 154px);
  padding: 18px 64px 80px;
}
.ebl-empty-illustration { display: block; width: 294px; height: 203px; }
.ebl-empty-content { display: flex; flex-direction: column; align-items: center; gap: 20px; width: 100%; max-width: 456px; }
.ebl-empty-text { margin: 0; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--evsh-neutral-2); text-align: center; } /* subtitle/subtitle-1 */

/* Filters with no results — 569:18019 "Content" */
.ebl-no-results { display: flex; align-items: center; box-sizing: border-box; min-height: 196px; padding: 24px 16px 16px; }
.ebl-no-results-inner { display: flex; flex: 1 0 0; flex-direction: column; align-items: center; gap: 4px; padding-bottom: 32px; }
.ebl-no-results-text { margin: 0; font-size: 15px; line-height: 20px; font-weight: 500; color: var(--evsh-neutral-blue-2); white-space: nowrap; } /* body/body-2 */

/* ================= Not the desktop design ================= */
/* Mobile is out of this release (no row design is built for it), but the page must work there. */

/* Touch: there is no hover to reveal More actions, so it is always shown (Brief list: "On mobile, More actions should
   remain available without requiring hover"). Applies to tablets of any width too. */
@media (hover: none) {
  .ebl-more { opacity: 1; }
}

/* Narrow screens: the three fixed columns (271 + 153 + 36) leave the Name column nothing below about 560px, and the
   name then paints over the fit pill. Under 640 the Prospect fit column — header and cell — is not shown, so the name,
   the date and More actions fit with no sideways scroll; the toolbar wraps and the empty state loses its side padding. */
@media (max-width: 640px) {
  .ebl-table th:nth-child(2),
  .ebl-cell--fit { display: none; }
  /* 128, not the date's 104: the same column holds a Processing row's "Processing..." (116) and an Error row's
     "Try again" (107), each 8px in from the edge (pitchiq#824). Their fit placeholders go with the fit column. */
  .ebl-table th:nth-child(3) { width: 128px; }
  .ebl-toolbar { flex-wrap: wrap; row-gap: 12px; }
  .ebl-filters { flex-wrap: wrap; }
  .ebl-empty { padding-left: 0; padding-right: 0; }
  .ebl-empty-illustration { max-width: 100%; height: auto; }
}

/* ---------- Prospect fit pill, the detail header's instance — Brief detail summary 200:17934 ---------- */
/* 24 tall, 8px at each side inside a 1px stroke (drawn inside), medium weight and — unlike the base pill — in the
   outcome's own colour and icon at rest (pitchiq#908: the prototype's `.assessment`). */
.ebc-fit-pill--header {
  height: 24px;
  padding: 3px 8px;
  background: none;
  box-shadow: inset 0 0 0 1px var(--evsh-bg-light-blue);
  font-weight: 500;
}
.ebc-fit-pill--header .ebc-fit-pill-icon--resting { display: none; }
.ebc-fit-pill--header .ebc-fit-pill-icon--hovered { display: inline-block; }
/* `.ebc-fit` in front so the colour also holds while hovered (the base pill's hovered colour is as specific). */
.ebc-fit .ebc-fit-pill--header.ebc-fit-pill--strong { color: #267d42; }
.ebc-fit .ebc-fit-pill--header.ebc-fit-pill--needs_qualification { color: #9b7011; }
.ebc-fit .ebc-fit-pill--header.ebc-fit-pill--poor { color: #be263e; }
.ebc-fit .ebc-fit-pill--header.ebc-fit-pill--insufficient { color: var(--evsh-blue-0); }
/* Hovering changes nothing in the header (its answer is the popover); keyboard focus keeps the outcome's surface. */
.ebc-fit:hover .ebc-fit-pill.ebc-fit-pill--header:not(:focus-visible) { background: none; box-shadow: inset 0 0 0 1px var(--evsh-bg-light-blue); }

/* ---------- Fit popover for a brief made with the redesign — 566:15878 ---------- */
.ebc-fit-groups { display: flex; flex-direction: column; gap: 12px; }
.ebc-fit-summary { margin: 0; font-size: 14px; line-height: 18px; font-weight: 500; color: var(--evsh-neutral-2); }
.ebc-fit-group-list { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0 0 0 20px; list-style: disc; color: var(--evsh-neutral-1); }
.ebc-fit-group-list > li > span { display: block; }
.ebc-fit-group-title { font-size: 14px; line-height: 18px; font-weight: 600; color: var(--evsh-neutral-1); }
.ebc-fit-group-text { padding-top: 4px; font-size: 14px; line-height: 18px; font-weight: 500; color: var(--evsh-neutral-2); overflow-wrap: anywhere; }

/* ---------- Research confidence / Pill — 654:18373 ---------- */
/* 24 tall, 5px at each side inside a 1px stroke (drawn inside); 16px icon, 4px to the label, medium weight.
   Collapsed is the icon alone (26 wide): the label's box folds to nothing, taking its 4px gap with it, so the
   change is smooth. */
.ebc-confidence { vertical-align: top; }
.ebc-confidence-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 24px;
  padding: 3px 5px;
  border: none;
  border-radius: 32px;
  background: none;
  box-shadow: inset 0 0 0 1px var(--evsh-bg-light-blue);
  font-family: var(--evsh-font);
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  white-space: nowrap;
  cursor: default;
}
.ebc-confidence-pill:focus-visible { outline: 2px solid var(--evsh-blue-1); outline-offset: 2px; }
.ebc-confidence-pill--high { color: #7023a3; }                  /* purple/purple-0 */
.ebc-confidence-pill--medium { color: #977114; }                /* gold/gold-0 */
.ebc-confidence-pill--low { color: var(--evsh-red-1); }
.ebc-confidence-pill-label { display: grid; grid-template-columns: 1fr; margin-left: 4px; overflow: hidden; transition: grid-template-columns 200ms ease, margin-left 200ms ease; }
.ebc-confidence-pill-label > span { min-width: 0; }
.ebc-confidence-pill--collapsed .ebc-confidence-pill-label { grid-template-columns: 0fr; margin-left: 0; }
@media (prefers-reduced-motion: reduce) { .ebc-confidence-pill-label { transition: none; } }

/* ---------- Research confidence popover — 568:16470, options 599:15336 ---------- */
.evsh-popover.ebc-confidence-popover { width: 300px; cursor: default; text-align: left; white-space: normal; }
.ebc-confidence-lead { margin: 0; font-size: 14px; line-height: 18px; font-weight: 500; color: var(--evsh-neutral-2); }
.ebc-confidence-options { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.ebc-confidence-option { display: flex; align-items: flex-start; gap: 4px; padding: 8px; border-radius: 12px; }
.ebc-confidence-option-copy { display: flex; flex: 1; flex-direction: column; gap: 4px; min-width: 0; padding-left: 12px; }
.ebc-confidence-option-name { font-size: 14px; line-height: 18px; font-weight: 600; }
.ebc-confidence-option-description { font-size: 12px; line-height: 18px; font-weight: 500; color: var(--evsh-neutral-2); }
.ebc-confidence-option--high .ebc-confidence-option-name { color: #7023a3; }
.ebc-confidence-option--medium .ebc-confidence-option-name { color: #977114; }
.ebc-confidence-option--low .ebc-confidence-option-name { color: var(--evsh-red-1); }
/* Active = the brief's own level: the level's colour under 89% white. */
.ebc-confidence-option--high.ebc-confidence-option--active { background: linear-gradient(rgba(255, 255, 255, 0.89), rgba(255, 255, 255, 0.89)), #d5aeef; }
.ebc-confidence-option--medium.ebc-confidence-option--active { background: linear-gradient(rgba(255, 255, 255, 0.89), rgba(255, 255, 255, 0.89)), #fdd265; }
.ebc-confidence-option--low.ebc-confidence-option--active { background: linear-gradient(rgba(255, 255, 255, 0.89), rgba(255, 255, 255, 0.89)), #f0aeb6; }
.ebc-confidence-explanation { margin: 8px 0 0; font-size: 14px; line-height: 18px; font-weight: 500; color: var(--evsh-neutral-2); overflow-wrap: anywhere; }

/* =====================================================================================================================
   Brief detail (pitchiq#826) — `ebd-` = the detail page (pages-prep.jsx, brief-detail.jsx).
   Every value is Figma's; the node is named beside each block.
   ================================================================================================================== */

/* Responsive content width (Brief detail): at most 888 up to a 1441px viewport, at most 1200 from 1442px. */
.ebd-container { max-width: 888px; }
@media (min-width: 1442px) { .ebd-container { max-width: 1200px; } }

/* The main area around the detail (pitchiq#908, the prototype's `.brief-main`): 32 above, 80 below, and at the sides
   28 up to 1279px, 40 up to 1599px, 64 from 1600px. Below 1024px the app's own mobile padding stays. */
@media (min-width: 1024px) {
  .mp-main:has(> .ebd-container) { padding: 32px 40px 80px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .mp-main:has(> .ebd-container) { padding-left: 28px; padding-right: 28px; }
}
@media (min-width: 1600px) {
  .mp-main:has(> .ebd-container) { padding-left: 64px; padding-right: 64px; }
}

.ebd-page {
  display: flex;
  flex-direction: column;
  font-family: var(--evsh-font);
  color: var(--evsh-neutral-1);
  overflow-wrap: break-word;   /* generated text can hold a long URL or token; it wraps instead of overflowing */
}
.ebd-page p, .ebd-page h1, .ebd-page h2, .ebd-page h3, .ebd-page ol { margin: 0; }
.ebd-page button { font-family: inherit; }

/* ---------- Company identity — 200:17934 ---------- */
.ebd-identity { display: flex; align-items: flex-start; gap: 18px; min-height: 60px; margin-bottom: 24px; }
.ebd-identity .ebc-company-avatar--60 { border-radius: 12px; }
.ebd-identity .ebc-company-avatar--60.ebc-company-avatar--image::after { box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.25); }
.ebd-identity-details { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; padding-top: 1px; }
.ebd-identity-line { display: flex; align-items: center; gap: 8px; max-width: 100%; min-height: 32px; }
/* A brief with no website has the name line alone: it is centred on the 60px avatar, not left at its top. */
.ebd-identity-details:has(> .ebd-identity-line:only-child) { align-self: stretch; justify-content: center; padding-top: 0; }
.ebd-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 23px; line-height: 32px; font-weight: 900; color: var(--evsh-neutral-1); }   /* heading/heading-2 */
.ebd-name:focus { outline: none; }                       /* focused only from script, after the delete dialog closes */
.ebd-assessments { display: flex; flex: none; align-items: center; gap: 8px; }
.ebd-website { font-size: 12px; line-height: 18px; font-weight: 500; color: var(--evsh-neutral-2); }   /* body/body-4 */
/* The website is a link (pitchiq#914 item 10): the same text at rest, underlined on hover, a ring on keyboard focus. */
.ebd-website-link { border-radius: 4px; color: inherit; text-decoration: none; }
.ebd-website-link:hover { text-decoration: underline; }
.ebd-website-link:focus-visible { outline: 2px solid var(--evsh-blue-1); outline-offset: 2px; }

/* ---------- Brief section navigation — I…;192:3360: 48 tall, sticky ---------- */
/* Sticky under the window's top. Above the page's content, below the shell's overlays (menus, popovers, tooltips),
   which are opened from inside it and so stack with it. */
.ebd-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;      /* 48 with its bottom rule inside, as the frame */
  gap: 16px;
  height: 48px;
  border-bottom: 1px solid var(--evsh-neutral-blue-3);
  background: #fff;
}
.ebd-tabs { display: flex; align-items: center; gap: 32px; height: 48px; margin-bottom: -1px; }
.ebd-tab {
  height: 48px;
  padding: 12px 0 14px;        /* the label is centred in the 46px above the 2px rule */
  border: none;
  background: none;
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
  color: var(--evsh-neutral-1);
  white-space: nowrap;
  cursor: pointer;
}
/* Selected: gold label (the same weight) and a 2px gold rule whose last pixel covers the bar's own bottom rule. */
.ebd-tab:hover { color: #977114; }                                                              /* gold/gold-0 */
.ebd-tab--selected { color: #977114; box-shadow: inset 0 -2px 0 var(--evsh-gold-2); }
.ebd-tab:focus-visible { outline: 2px solid var(--evsh-blue-1); outline-offset: -2px; border-radius: 4px; }
.ebd-actions { display: flex; flex: none; align-items: center; gap: 12px; }
@media (min-width: 1024px) and (max-width: 1279px) { .ebd-actions { gap: 6px; } }
/* The list shows a row's More button on hover only; here it is always there. */
.ebd-actions .ebl-more { opacity: 1; }

/* Export 399:37317 and Mark as done 399:37320 are the shell's Button (outline / secondary). 566:14479: once done, the
   label is gray; the button stays as clickable as before. */
.evsh-btn.ebd-done-button--done { color: var(--evsh-neutral-blue-1); }
.evsh-btn.ebd-done-button--busy { cursor: default; }
/* pitchiq#908: in this bar the prototype overrides the shell's Button (the shell has no size variant): the label is
   14px medium and the buttons have fixed widths (Export 93, Mark as done 138, Marked as done 154) with the content
   centred; the 16px icon container keeps the shell's 4px negative outer margin, and Export's 20px chevron starts at
   its container's left edge. */
.ebd-actions .evsh-btn { font-size: 14px; font-weight: 500; }
.evsh-btn.ebd-export-button { width: 93px; }
.evsh-btn.ebd-done-button { width: 138px; }
.evsh-btn.ebd-done-button--done { width: 154px; }
.evsh-btn.ebd-export-button .evsh-btn-icon--right { justify-content: flex-start; margin-right: -4px; }
.evsh-btn.ebd-done-button .evsh-btn-icon--left { margin-left: -4px; }
/* More actions: 28 wide and as tall as the buttons beside it. */
.ebd-actions .ebl-more-button { height: 34px; border-radius: 10px; }
/* The export menu hangs from the button's left edge, 4px below it. */
.evsh-menu.ebd-menu { top: calc(100% + 4px); }
.ebd-format-badge {
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  border: 1px solid #dbddde;   /* netural-blue/neutral-blue-3 */
  border-radius: 6px;
  font-size: 10px;
  line-height: 16px;
  font-weight: 700;
  color: var(--evsh-neutral-2);
}
/* ---------- Opening a brief: skeleton, then the content or the Error Slot ---------- */
/* No Figma frame: the bones follow the Suite's page skeletons (flat grey, the shell's shimmer over it, 6px corners)
   and take the detail's own geometry (48px navigation, the Overview's 502px plan column). */
.ebd-bone {
  display: block;
  flex: none;
  max-width: 100%;
  border-radius: 6px;
  background-color: color-mix(in srgb, var(--evsh-neutral-blue-2) 50%, transparent);
  background-image: linear-gradient(90deg, transparent, var(--evsh-neutral-blue-3), transparent);
  background-size: var(--evsh-skeleton-shimmer-band) 100%;
  background-repeat: no-repeat;
  animation: evsh-skeleton-shimmer var(--evsh-skeleton-shimmer-duration) linear infinite;
}
@media (prefers-reduced-motion: reduce) { .ebd-bone { animation: none; background-image: none; } }
.ebd-visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ebd-nav--skeleton { position: static; }
.ebd-skel-tabs { display: flex; align-items: center; gap: 32px; }
.ebd-skel-actions { display: flex; align-items: center; gap: 8px; }
.ebd-bone--tab { width: 64px; height: 12px; }
.ebd-bone--action { width: 96px; height: 34px; border-radius: 8px; }
.ebd-bone--action-wide { width: 132px; height: 34px; border-radius: 8px; }
.ebd-bone--more { width: 34px; height: 34px; border-radius: 8px; }
.ebd-skel-heading { display: flex; align-items: center; height: 64px; }
.ebd-bone--heading { width: 120px; height: 16px; }
.ebd-skel-open { display: flex; flex-direction: column; gap: 12px; padding: 22px 32px; border-radius: 22px; background: var(--evsh-neutral-blue-4); }
.ebd-bone--label { width: 64px; height: 10px; }
.ebd-bone--line { width: 100%; height: 14px; }
.ebd-bone--line-short { width: 62%; height: 14px; }
.ebd-skel-rows { display: flex; flex-direction: column; padding-top: 23px; }
.ebd-skel-row { display: flex; align-items: center; gap: 16px; height: 58px; border-top: 1px solid var(--evsh-bg-light-blue); }
.ebd-bone--icon { width: 20px; height: 20px; }
.ebd-bone--row { width: 180px; height: 12px; }
.ebd-load-error { display: flex; justify-content: center; padding-top: 24px; border-top: 1px solid var(--evsh-bg-light-blue); }

/* ---------- Tab content: fades out, then the next fades in ---------- */
.ebd-tabpanel { animation: ebd-fade-in 150ms ease-out; }
.ebd-tabpanel--leaving { opacity: 0; transition: opacity 120ms ease-in; }
@keyframes ebd-fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .ebd-tabpanel { animation: none; }
  .ebd-tabpanel--leaving { transition: none; }
  .ebd-acc-fold, .ebd-acc-chevron { transition: none !important; }
}

/* ---------- Section heading with its help tooltip — 211:24528 ---------- */
.ebd-section-heading { display: flex; align-items: center; gap: 8px; }
.ebd-section-title { font-size: 18px; line-height: 24px; font-weight: 700; color: var(--evsh-neutral-1); white-space: nowrap; }   /* heading/heading-3 */
.ebd-section-help { flex: none; }

/* ---------- Jump to — 455:5410, items 458:5423; the prototype's `.jump-nav` (pitchiq#908) ---------- */
/* Sticks with its heading 72 from the top (the 48 bar + 24): 40 + its own 32 of padding. */
.ebd-jump { position: sticky; top: 40px; min-width: 0; padding-top: 32px; }
.ebd-jump-heading { height: 18px; font-size: 12px; line-height: 18px; font-weight: 700; color: var(--evsh-neutral-blue-1); }
.ebd-jump-items { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; }
.ebd-jump-item {
  position: relative;
  display: flex;
  box-sizing: border-box;
  width: 100%;
  padding: 7px 0 7px 12px;
  border: none;
  border-left: 2px solid var(--evsh-neutral-blue-4);
  background: none;
  font-size: 14px;             /* subtitle/subtitle-3 */
  line-height: 18px;
  font-weight: 600;
  color: var(--evsh-neutral-2);
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}
.ebd-jump-item--active { border-left-color: var(--evsh-blue-1); color: var(--evsh-neutral-1); }
/* Hover: the same inset surface for active and inactive items (inset 2 / 4), fading in; the label goes dark. */
.ebd-jump-item::before {
  content: "";
  position: absolute;
  inset: 2px 4px;
  border-radius: 8px;
  background: var(--evsh-neutral-blue-4);
  opacity: 0;
  transition: opacity 160ms ease;
  pointer-events: none;
}
.ebd-jump-item:hover::before, .ebd-jump-item:focus-visible::before { opacity: 1; }
.ebd-jump-item:hover { color: var(--evsh-neutral-1); }
.ebd-jump-item:focus-visible { outline: 2px solid var(--evsh-blue-1); outline-offset: -2px; }
.ebd-jump-item-label { position: relative; }

/* ---------- Timeline pieces shared by the Overview preview and the Meeting agenda — 213:24752 ---------- */
.ebd-timeline-time { flex: none; min-width: 84px; height: 18px; font-size: 14px; line-height: 18px; font-weight: 500; color: var(--evsh-neutral-blue-1); text-align: right; white-space: nowrap; }
.ebd-timeline-marker { position: relative; flex: none; align-self: stretch; width: 12px; }
.ebd-timeline-dot { position: absolute; left: 0; top: 3px; box-sizing: border-box; width: 12px; height: 12px; border: 2px solid #977114; border-radius: 6px; background: #fff; }
.ebd-timeline-connector { position: absolute; left: 5px; width: 2px; border-radius: 8px; background: var(--evsh-bg-light-blue); }

/* ---------- Overview (pitchiq#908: the prototype's `.overview-grid`) ---------- */
/* Two columns, the plan and the Company insights card (brief-company.css), pushed to the two edges. Up to 1441px the
   plan is at most 502 wide beside a 312 card, at least 32 apart; from 1442px the plan takes what a 406 card and a 74
   gap leave; from 1024 to 1279px, what a 292 card and a 24 gap leave. 24 under the tab row. */
.ebd-overview { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; padding-top: 24px; }
.ebd-ov-plan { display: flex; flex: 1; flex-direction: column; max-width: 502px; min-width: 0; padding-bottom: 16px; }
@media (min-width: 1442px) {
  .ebd-overview { gap: 74px; }
  .ebd-ov-plan { max-width: none; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .ebd-overview { gap: 24px; }
  .ebd-ov-plan { max-width: none; }
}
/* Not in the design (pitchiq#876): with no Company insights card beside it (a brief without company data), the plan is
   the Overview's only column and takes the page's width, so half the page is not left empty. */
.ebd-ov-plan:only-child { max-width: none; }
/* The links share one hover surface, 8px wider than the link at each side; nothing moves on hover. */
.ebd-ov-link { position: relative; display: flex; width: 100%; border: none; background: none; color: inherit; text-align: left; cursor: pointer; }
.ebd-ov-link::before { content: ""; position: absolute; border-radius: 10px; background: var(--evsh-neutral-blue-4); opacity: 0; transition: opacity 160ms ease; }
.ebd-ov-link:hover::before, .ebd-ov-link:focus-visible::before { opacity: 1; }
.ebd-ov-link:focus-visible { outline: 2px solid var(--evsh-blue-1); outline-offset: 2px; border-radius: 4px; }
.ebd-ov-link > * { position: relative; }
@media (prefers-reduced-motion: reduce) { .ebd-ov-link::before { transition: none; } }
/* Meeting plan heading: 64 tall, the surface 36 */
.ebd-ov-heading { align-items: center; gap: 8px; padding: 20px 0; }
.ebd-ov-heading::before { inset: 14px -8px; }
.ebd-ov-heading-label { font-size: 16px; line-height: 24px; font-weight: 700; color: var(--evsh-neutral-1); }
/* Opening question card */
.ebd-ov-open { padding: 22px 32px; border-radius: 22px; background: #f4f0e7; }            /* background/light-gold */
.ebd-ov-open-label { font-size: 12px; line-height: 18px; font-weight: 500; color: var(--evsh-neutral-2); }
.ebd-ov-open-text { font-size: 18px; line-height: 24px; font-weight: 900; color: var(--evsh-neutral-1); overflow-wrap: anywhere; }
.ebd-page .ebd-ov-open-text { margin-top: 8px; }      /* over `.ebd-page p`'s margin reset */
.ebd-ov-links { display: flex; flex-direction: column; padding-top: 23px; }
/* Agenda preview: a rule above and below, the surface 8px inside each */
.ebd-ov-agenda { flex-direction: column; padding: 20px 0 19px; border-top: 1px solid var(--evsh-bg-light-blue); border-bottom: 1px solid var(--evsh-bg-light-blue); }
.ebd-ov-agenda::before { inset: 8px -8px; }
.ebd-ov-row { display: flex; align-items: center; gap: 16px; width: 100%; }
.ebd-ov-row-icon { display: flex; flex: none; align-items: center; justify-content: center; width: 20px; height: 20px; }
.ebd-ov-row-label { flex: 1; min-width: 0; font-size: 14px; line-height: 18px; font-weight: 600; color: var(--evsh-neutral-1); }
.ebd-ov-agenda .ebd-ov-row-label { line-height: 20px; }
/* The stages: each row is 19 tall (the label sits 1px lower than the time) and 20 from the next; a 2px line joins
   each marker to the next, from 5px under one to 3px over the other. */
.ebd-ov-stages { display: flex; flex-direction: column; width: 100%; padding: 16px 0 0 32px; box-sizing: border-box; }
.ebd-ov-stage { display: flex; align-items: flex-start; gap: 20px; box-sizing: border-box; min-height: 39px; padding-bottom: 20px; }
.ebd-ov-stage--last { min-height: 19px; padding-bottom: 0; }
.ebd-ov-stage .ebd-timeline-connector { top: 20px; bottom: -20px; border-radius: 0; }
.ebd-ov-stage--last .ebd-timeline-connector { display: none; }
.ebd-ov-stage-title { min-width: 0; margin-top: 1px; font-size: 14px; line-height: 18px; font-weight: 600; color: var(--evsh-neutral-1); }
/* Count rows: 44 tall, a rule between them, the surface 4px inside each */
.ebd-ov-counts { display: flex; flex-direction: column; padding-top: 7px; }
.ebd-ov-count { align-items: center; gap: 16px; min-height: 44px; padding: 12px 0; }
.ebd-ov-count + .ebd-ov-count { border-top: 1px solid var(--evsh-bg-light-blue); }
.ebd-ov-count::before { inset: 4px -8px; }

/* ---------- Meeting — 211:23197 ---------- */
/* The prototype's `.brief-body` (pitchiq#908): Jump to in a 224 column (180 between 1024 and 1279), 24 from the
   sections, which take the rest of the container. Without Jump to the sections take the whole width. */
.ebd-meeting { display: grid; grid-template-columns: 224px minmax(0, 1fr); align-items: start; gap: 24px; }
.ebd-meeting > .ebd-sections:only-child { grid-column: 1 / -1; }
.ebd-sections { display: flex; flex-direction: column; gap: 64px; min-width: 0; padding: 32px 0; }
.ebd-company-data > .ebd-sections { gap: 56px; }   /* the prototype's `#panel-company > section` */
.ebd-section { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 72px; }   /* 48 of sticky bar + 24 */
@media (min-width: 1024px) and (max-width: 1279px) {
  .ebd-meeting { grid-template-columns: 180px minmax(0, 1fr); }
}

/* Game plan 211:23215; the prototype's `.game-plan`, `.opener`, `dl` (pitchiq#908) */
.ebd-gp { position: relative; box-sizing: border-box; padding: 0 16px; border: 1px solid #c19528; border-radius: 20px; background: #fff; overflow: hidden; }   /* gold/gold-1 */
.ebd-gp-tag { position: absolute; left: 0; top: 0; padding: 8px 12px 8px 18px; border-bottom-right-radius: 12px; background: #c19528; font-size: 12px; line-height: 18px; font-weight: 900; color: #fff; white-space: nowrap; }
.ebd-gp-open { padding: 48px 0 36px; font-size: 18px; line-height: 24px; font-weight: 900; color: var(--evsh-neutral-1); overflow-wrap: anywhere; }
.ebd-gp-rows { display: flex; flex-direction: column; }
/* A 250 label column (34% under 1280), 16 from the value, which takes the rest. As in the prototype, the
   last row has no rule above it. */
.ebd-gp-row { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--evsh-bg-light-blue); font-size: 14px; line-height: 18px; font-weight: 500; }
.ebd-gp-row:last-child { border-top: none; }
.ebd-gp--no-opening .ebd-gp-row:first-child { border-top: none; }
.ebd-gp-row-label { color: var(--evsh-neutral-2); overflow-wrap: anywhere; }
.ebd-gp-row-value { min-width: 0; color: var(--evsh-neutral-1); overflow-wrap: anywhere; }
@media (max-width: 1279px) {
  .ebd-gp-row { grid-template-columns: 34% minmax(0, 1fr); }
}

/* Objective callout 213:24970 */
.ebd-objective { display: flex; align-items: flex-start; gap: 8px; padding: 12px; border-radius: 20px; background: #fff; box-shadow: 0 4px 8px rgba(0, 32, 47, 0.1); }
.ebd-objective-text { display: flex; flex: 0 1 auto; flex-direction: column; gap: 6px; min-width: 0; font-size: 14px; line-height: 18px; }
.ebd-objective-label { font-weight: 600; color: var(--evsh-neutral-1); }
.ebd-objective-body { font-weight: 400; color: var(--evsh-neutral-2); }

/* Agenda timeline 213:24752; the prototype's `.agenda-timeline` (pitchiq#908): 84 time, 12 marker, the topic. */
.ebd-agenda { display: flex; flex-direction: column; padding: 16px 0 0 12px; list-style: none; }
.ebd-agenda-stage { display: grid; grid-template-columns: 84px 12px minmax(0, 1fr); align-items: start; gap: 16px; box-sizing: border-box; min-height: 89px; padding-bottom: 28px; }
.ebd-agenda-stage--last { min-height: 38px; padding-bottom: 0; }
/* The line runs from under the dot to the next stage's dot (2 into the next stage, past this one's 28 of padding). */
.ebd-agenda-stage .ebd-timeline-connector { top: 20px; bottom: -30px; border-radius: 0; }
.ebd-agenda-stage--last .ebd-timeline-connector { display: none; }
.ebd-agenda-topic { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ebd-agenda-title { font-size: 14px; line-height: 20px; font-weight: 700; color: var(--evsh-neutral-1); }
.ebd-agenda-description { font-size: 14px; line-height: 18px; font-weight: 400; color: var(--evsh-neutral-2); }

/* Smart questions 213:25019; the prototype's `.questions-list` (pitchiq#908) */
.ebd-questions { display: flex; flex-direction: column; padding: 4px 16px; border-radius: 20px; background: #fff; list-style: none; box-shadow: 0 4px 8px rgba(0, 32, 47, 0.1); }
.ebd-question { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; }
.ebd-question-number { display: flex; flex: none; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #f4f0e7; font-size: 16px; line-height: 22px; font-weight: 400; color: #977114; }
.ebd-question-text { align-self: center; min-width: 0; font-size: 14px; line-height: 18px; font-weight: 500; color: var(--evsh-neutral-1); }

/* Pitch points 235:4506 and Likely objections 237:4953 — one accordion list each; the prototype's
   `.meeting-accordions` (pitchiq#908): 48 headers, a rule inset 16 / 14 between items and under an open header. */
.ebd-acc { border-radius: 20px; background: #fff; box-shadow: 0 4px 8px rgba(0, 32, 47, 0.1); overflow: hidden; }
.ebd-acc-item { position: relative; background: #fff; }
.ebd-acc-item + .ebd-acc-item::before,
.ebd-acc-item--open .ebd-acc-header::after { content: ""; position: absolute; left: 16px; right: 14px; height: 1px; background: var(--evsh-bg-light-blue); pointer-events: none; }
.ebd-acc-item + .ebd-acc-item::before { top: 0; }
.ebd-acc-item--open .ebd-acc-header::after { bottom: 0; }
.ebd-acc-heading { line-height: 18px; cursor: pointer; }   /* the whole row opens or closes the item */
.ebd-acc-header { position: relative; display: flex; align-items: center; gap: 12px; box-sizing: border-box; width: 100%; min-height: 48px; padding: 14px 16px; border: none; background: none; text-align: left; cursor: pointer; }
/* The ring sits 6px inside with a 14px radius, so on the first and last item it follows the card's 20px corner and is
   not cut by it. */
.ebd-acc-header:focus-visible { outline: 2px solid var(--evsh-blue-1); outline-offset: -6px; border-radius: 14px; }
.ebd-acc-icon { display: flex; flex: none; align-items: center; justify-content: center; width: 16px; height: 16px; }
.ebd-acc-title { flex: 1; min-width: 0; font-size: 14px; line-height: 18px; font-weight: 700; color: var(--evsh-neutral-1); }
.ebd-acc-chevron { margin-right: 8px; transition: transform 200ms ease; }
.ebd-acc-item--open .ebd-acc-chevron { transform: rotate(180deg); }
/* The body folds between 0 and its own height (grid rows 0fr → 1fr), so opening and closing are smooth. */
.ebd-acc-fold { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 200ms ease, visibility 200ms; visibility: hidden; }
.ebd-acc-item--open .ebd-acc-fold { grid-template-rows: 1fr; visibility: visible; }
.ebd-acc-fold-inner { min-height: 0; overflow: hidden; }
/* Open: 12 under the header's rule to the content, which starts under the title (44 in), and 16 under it. */
.ebd-acc-body { display: flex; flex-direction: column; gap: 16px; padding: 12px 14px 16px 44px; }
.ebd-acc-text { font-size: 14px; line-height: 18px; font-weight: 500; color: var(--evsh-neutral-2); }
.ebd-why { padding: 12px; border-radius: 20px; background: var(--evsh-neutral-blue-5); }
.ebd-why-label { display: flex; align-items: center; gap: 7px; height: 20px; font-size: 14px; line-height: 18px; font-weight: 600; color: var(--evsh-neutral-1); }
.ebd-why-text { padding-top: 12px; font-size: 14px; line-height: 18px; font-weight: 500; color: var(--evsh-neutral-2); }

/* ---------- Company: Additional research — 564:36568, item 562:13646 ---------- */
/* Without company data the tab has no Jump to list: its content fills the container, as the prototype's full-width
   tabs do (pitchiq#910: 640 was the result at an 888px container, never a cap). */
.ebd-company { padding: 32px 0; }
.ebd-research { display: flex; flex-direction: column; gap: 16px; }
.ebd-research-item { display: flex; align-items: flex-start; gap: 16px; box-sizing: border-box; padding: 12px; border: 1px solid #dbddde; border-radius: 20px; background: #fff; color: inherit; text-decoration: none; }
.ebd-research-item--link:hover, .ebd-research-item--link:focus-visible { border-color: #d4a83a; }      /* gold/gold-2; no shadow */
.ebd-research-item--link:focus-visible { outline: 2px solid var(--evsh-blue-1); outline-offset: 2px; }
.ebd-research-icon { display: flex; flex: none; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 42px; background: #f4f0e7; }
.ebd-research-copy { display: flex; flex: 1; flex-direction: column; gap: 12px; min-width: 0; padding: 8px 0; }
.ebd-research-title { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 18px; font-weight: 600; color: var(--evsh-neutral-1); }
.ebd-research-title > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.ebd-research-description { font-size: 14px; line-height: 18px; font-weight: 500; color: var(--evsh-neutral-2); overflow-wrap: anywhere; }

/* ---------- Empty states — research 564:37246, people 551:34350 ---------- */
.ebd-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0 auto; text-align: center; }
.ebd-empty--research { max-width: 240px; padding-top: 16px; }
/* People (the prototype's `.people-empty`, pitchiq#908): 32 under the tabs, 535 tall, the copy 8 apart. */
.ebd-empty--people { justify-content: center; max-width: 328px; min-height: 535px; margin-top: 32px; }
.ebd-page .ebd-empty--people .ebd-empty-description { margin-top: -4px; }
.ebd-empty-title { font-size: 15px; line-height: 20px; font-weight: 700; color: var(--evsh-neutral-1); }
.ebd-empty-description { font-size: 14px; line-height: 18px; font-weight: 500; color: var(--evsh-neutral-2); }
.ebd-empty-art { position: relative; flex: none; width: 146px; height: 146px; }
.ebd-empty-disc { position: absolute; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ebd-empty-disc--1 { right: 79.8px; top: calc(50% - 11.76px); width: 50.055px; height: 50.055px; border-radius: 44.227px; transform: translateY(-50%); }
.ebd-empty-disc--2 { right: 42.18px; top: calc(50% + 29.87px); width: 50.055px; height: 50.055px; border-radius: 76.3px; transform: translateY(-50%); }
.ebd-empty-disc--3 { right: 19.39px; top: calc(50% - 11.96px); width: 37.28px; height: 37.28px; border-radius: 76.3px; transform: translateY(-50%); }
.ebd-empty-art--research .ebd-empty-disc { background: var(--evsh-neutral-blue-4); }
.ebd-empty-art--people .ebd-empty-disc--1 { background: #c592e8; }
.ebd-empty-art--people .ebd-empty-disc--2 { background: #fdd265; }
.ebd-empty-art--people .ebd-empty-disc--3 { background: #7cc4f2; }
.ebd-empty-art--people .ebd-empty-disc > img { position: absolute; left: 0; top: 0; width: 100%; height: auto; max-width: none; }
.ebd-empty-art--people .ebd-empty-disc--1 > img { left: -4.66%; }
.ebd-empty-art--people .ebd-empty-disc--3 > img { height: 100%; object-fit: cover; transform: scaleX(-1); }

/* ---------- People — 551:34625 ---------- */
.ebd-people { display: flex; flex-direction: column; gap: 20px; padding-top: 32px; }
/* Two cards per row in the 888 container (432 each), at most 443 wide (the card's Figma max) in the 1200 one. */
.ebd-people-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 432px), 443px)); gap: 24px; }
.ebd-person { display: flex; flex-direction: column; gap: 20px; box-sizing: border-box; min-width: 0; padding: 12px; border: 1px solid #dbddde; border-radius: 20px; background: #fff; }
.ebd-person-identity { display: flex; align-items: flex-start; gap: 16px; }
/* Without an email the name and title are shorter than the 72px avatar: centred against it (pitchiq#914 item 9).
   With an email the details are as tall as the avatar and stay at the top. Only the details move, so a title that
   wraps past the avatar's height leaves the avatar at the top. */
.ebd-person-identity--no-email > .ebd-person-details { align-self: center; }
.ebd-person-avatar { position: relative; display: flex; flex: none; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 16px; background: #f4f0e7; overflow: hidden; }
.ebd-person-photo { width: 100%; height: 100%; object-fit: cover; }
.ebd-person-details { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.ebd-person-name { max-width: 100%; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--evsh-neutral-1); overflow-wrap: anywhere; }   /* subtitle/subtitle-1 */
.ebd-person-title { max-width: 100%; font-size: 14px; line-height: 18px; font-weight: 500; color: var(--evsh-neutral-2); overflow-wrap: anywhere; }
.ebd-person-email { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding-top: 8px; font-size: 14px; line-height: 18px; font-weight: 500; color: var(--evsh-neutral-2); text-decoration: none; }
.ebd-person-email > span:last-child { min-width: 0; overflow-wrap: anywhere; user-select: text; }
.ebd-person-email:hover > span:last-child, .ebd-person-email:focus-visible > span:last-child { text-decoration: underline; }
.ebd-person-divider { box-sizing: content-box; height: 1px; margin: 4px 0; background: #dbddde; background-clip: content-box; }
.ebd-person-approach { display: flex; flex-direction: column; gap: 12px; }
.ebd-person-approach-label { display: flex; align-items: center; gap: 7px; height: 19px; box-sizing: border-box; padding-top: 2px; font-size: 14px; line-height: 18px; font-weight: 600; color: var(--evsh-neutral-1); }
.ebd-person-approach-text { font-size: 15px; line-height: 20px; font-weight: 500; color: var(--evsh-neutral-2); overflow-wrap: anywhere; }   /* body/body-2 */

/* ---------- Below the desktop layout (pitchiq#908: the prototype's rules at 1023px and at 700px) ---------- */
/* 701 to 1023px: the same page in a narrower frame. The app's mobile top bar (69px, sticky) is above everything, so
   whatever sticks here sticks under it: the tab row, then Jump to and a section scrolled to. */
@media (max-width: 1023px) {
  .ebd-page {
    --ebd-top-bar: 69px;         /* the app's mobile top bar */
    --ebd-jump-width: 180px;     /* Jump to's column */
    margin-top: 24px;            /* 24 under the top bar */
    margin-bottom: -48px;        /* 48 over the bottom bar, inside the app's mobile padding */
  }
  /* 32 at each side: the app's mobile padding gives 18. */
  .ebd-container { box-sizing: content-box; width: auto; padding: 0 14px; }
  .ebd-nav { top: var(--ebd-top-bar); height: auto; min-height: 48px; }
  .ebd-actions { gap: 6px; }
  .ebd-meeting { grid-template-columns: var(--ebd-jump-width) minmax(0, 1fr); }
  .ebd-jump { top: calc(var(--ebd-top-bar) + 40px); }
  .ebd-section { scroll-margin-top: calc(var(--ebd-top-bar) + 72px); }
  /* Overview: the plan takes what a 300 card and a 28 gap leave. */
  .ebd-overview { gap: 28px; }
  .ebd-ov-plan { max-width: none; }
}

/* 700px and narrower: one column. The actions go above the tabs, which spread over the whole width; Jump to is left
   out; the Overview's card goes under the plan. */
@media (max-width: 700px) {
  .ebd-container { padding: 0 2px; }                       /* 20 at each side */
  .ebd-identity { gap: 12px; min-height: 0; margin-bottom: 20px; }
  .ebd-identity .ebc-company-avatar--60 { width: 48px; height: 48px; }
  .ebd-identity-details { gap: 6px; }
  .ebd-identity-line { flex-wrap: wrap; gap: 6px; }
  .ebd-assessments { gap: 6px; }
  .ebd-name { line-height: 28px; }
  .ebd-assessments .ebc-fit-pill, .ebd-assessments .ebc-confidence-pill { font-size: 12px; }
  .ebd-nav { flex-wrap: wrap; align-items: stretch; gap: 8px; }
  .ebd-tabs { order: 2; justify-content: space-between; gap: 24px; width: 100%; height: 44px; }
  .ebd-tab { height: 45px; padding: 10.5px 0 12.5px; font-size: 14px; }
  .ebd-actions { order: 1; justify-content: flex-end; margin-left: auto; padding-bottom: 8px; }
  .ebd-actions .evsh-btn { font-size: 12px; }
  .evsh-btn.ebd-export-button, .evsh-btn.ebd-done-button, .evsh-btn.ebd-done-button--done { width: auto; }
  .ebd-meeting { grid-template-columns: minmax(0, 1fr); }
  .ebd-jump { display: none; }
  .ebd-section { scroll-margin-top: calc(var(--ebd-top-bar) + 119px); }   /* the tab row is 95 here */
  /* Overview */
  .ebd-overview { flex-direction: column; align-items: stretch; gap: 24px; padding-top: 20px; }
  .ebd-ov-plan { flex: none; padding-bottom: 0; }
  .ebd-ov-heading { padding: 18px 0; }                     /* 60 tall */
  .ebd-ov-heading::before { inset: 12px -8px; }
  .ebd-ov-open { padding: 22px 24px; }
  .ebd-ov-stages { padding-left: 12px; }
  .ebd-ov-stage { gap: 14px; min-height: 40px; }
  .ebd-ov-stage--last { min-height: 20px; }
  .ebd-ov-stage .ebd-timeline-time { min-width: 78px; font-size: 12px; }
  .ebd-ov-stage .ebd-timeline-connector { bottom: -19px; }
  .ebd-ov-stage-title { margin-top: 3px; font-size: 12px; line-height: 15px; }
  /* Meeting, Company and People: 40 between the Meeting tab's sections, smaller type, narrower label columns. */
  .ebd-meeting:not(.ebd-company-data) > .ebd-sections { gap: 40px; }
  .ebd-section-title { font-size: 17px; }
  .ebd-gp-open { padding-bottom: 28px; font-size: 16px; }
  .ebd-gp-row { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; font-size: 13px; line-height: 20px; }
  .ebd-agenda-stage { grid-template-columns: 72px 12px minmax(0, 1fr); gap: 12px; }
  .ebd-agenda-stage .ebd-timeline-time { min-width: 0; font-size: 12px; }
  .ebd-question-text, .ebd-acc-title { font-size: 13px; line-height: 20px; }
  .ebd-research-description { font-size: 13px; line-height: 20px; }
}

/* ================= The Members page (pitchiq#825) ================= */
/* `eml-` = pages-members.jsx. The table is the Briefs table's (`ebl-table`, `ebl-row`, `ebl-cell`, `ebl-more`): the
   same 72px rows, inset hover surface and More actions. Only what differs is here. Figma: page 612:20551, table item
   707:3424, table header 707:3058, More menu 707:3425. */

/* Page Header 612:20568: the title on the left, "Manage members" on the right, top-aligned. */
.eml-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; }
/* "Manage members" 681:34470: white, 8 / 12 / 7 padding, radius 10, Lato SemiBold 15/20, the 20px arrow 8px after the
   label. The shell's ghost button, at this button's own padding. */
.evsh-btn.eml-manage { gap: 8px; padding: 7px 12px 7px 8px; border-radius: 10px; background: var(--evsh-white); color: var(--evsh-neutral-1); font-size: 15px; line-height: 20px; font-weight: 600; }
.eml-manage .evsh-btn-icon--right { margin: 0; width: 20px; height: 20px; }
.eml-manage-arrow { display: block; width: 20px; height: 20px; }

/* Columns (707:3058 / 707:2995): Member takes the rest; Briefs is 264 + the 16 gap before More; More is 28 + the 8
   inset. The Briefs label and the count both start 524px in on the 840 table. */
.eml-table th:nth-child(2) { width: 280px; }
.eml-table th:nth-child(3) { width: 36px; }
/* "No longer in workspace" (905:1234) has no header row to size its columns: the same two widths, on its <col>s. */
.eml-col-briefs { width: 280px; }
.eml-col-more { width: 36px; }
/* A member row opens nothing by itself: its count and its menu do. */
.eml-row { cursor: default; }
/* The hover surface appears over 150 ms (Members → "Row states"). */
.eml-row .ebl-cell-inner { transition: background-color 150ms ease; }
.eml-row .ebl-more { transition: opacity 150ms ease; }
@media (prefers-reduced-motion: reduce) {
  .eml-row .ebl-cell-inner,
  .eml-row .ebl-more { transition: none; }
}

/* Former members 905:1234: the heading (905:1235: 33 tall with its rule, 8 in, subtitle/subtitle-4 in
   neutral/neutral-2), then the rows. */
.eml-former-title {
  box-sizing: border-box;
  height: 33px;
  margin: 0;
  padding: 7px 0 7px 8px;
  border-bottom: 1px solid var(--evsh-bg-light-blue);
  font-size: 12px;
  line-height: 18px;
  font-weight: 900;
  color: var(--evsh-neutral-2);
  white-space: nowrap;
}
/* Status=Removed (903:3010 / 903:3041): the row's content at 50% until the row is hovered, focused or has its menu
   open. The hover surface itself is not dimmed, and More actions keeps its own 0 → 1. */
.eml-row--former .ebl-cell-inner > :not(.ebl-more) { opacity: 0.5; transition: opacity 150ms ease; }
.eml-row--former:hover .ebl-cell-inner > :not(.ebl-more),
.eml-row--former:focus-within .ebl-cell-inner > :not(.ebl-more),
.eml-row--former.ebl-row--menu-open .ebl-cell-inner > :not(.ebl-more) { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .eml-row--former .ebl-cell-inner > :not(.ebl-more) { transition: none; }
}
/* "Invite again" (907:4233): the 16px external-navigation icon. */
.eml-menu-icon { display: block; width: 16px; height: 16px; }

/* The row's menu (Member actions 612:20656): its right edge on the row's own right edge — 8px past the button — and
   2px under the button. */
.eml-row .evsh-menu.ebl-more-menu { right: -8px; top: calc(100% + 2px); }

/* Member identity 707:3017: avatar 32, 16 to the text; the name row over the email. */
.eml-identity { flex: 1 1 0; justify-content: center; }
.eml-row .ebl-name { cursor: text; }
.eml-email {                                                             /* Lato Medium 12/18, neutral/neutral-2 */
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  color: var(--evsh-neutral-2);
}
/* Badges sit beside the name and never shrink. "Invited" is the library's Primary / Small badge (365:27198), which the
   shell's Badge (the Default variant) does not draw yet: blue/blue-4 #7CC4F2 under 75% white, no stroke, blue/blue-0. */
.eml-identity .evsh-badge { flex: none; }
.evsh-badge.eml-badge-invited {
  box-shadow: none;
  background: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)), #7cc4f2;
  color: var(--evsh-blue-0);
}

/* View briefs link 710:2991: the count and its label 6px apart, body/body-3 in neutral/neutral-2, on a 1px
   neutral/neutral-4 rule. */
.eml-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--evsh-neutral-4);
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  color: var(--evsh-neutral-2);
  text-decoration: none;
  white-space: nowrap;
}
.eml-count:focus-visible { outline: 2px solid var(--evsh-blue-1); outline-offset: 2px; border-radius: 4px; }

/* ---------- Brief rating (pitchiq#858; Figma Rating / Feedback 916:51475, Rating / Stars 916:47861) ----------
   It ends an eligible tab's content: 56px under the last section, on the 640px content column. */
.ebr { width: 100%; max-width: 640px; font-family: var(--evsh-font); }
.ebd-sections > .ebr, .ebd-company > .ebr, .ebd-company-sections > .ebr, .ebd-people > .ebr { max-width: none; }                                 /* beside the "Jump to" list it fills the content column, as the cards do (pitchiq#908) */
.ebr:focus { outline: none; }                                             /* focus is moved here only to keep a keyboard's place */
/* The Company tab without company data: its one section and the rating sit directly in the column (pitchiq#828). */
.ebd-company-sections { display: contents; }
.ebd-company > .ebr, .ebd-company-sections > .ebr, .ebd-people > .ebr { margin-top: 56px; }
.ebd-people > .ebr { margin-top: 36px; margin-bottom: 32px; }            /* 36 + the tab's 20px gap = 56 */

/* Inline and Rated (916:51482 / 916:51481) */
.ebr-inline { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; border-radius: 16px; background: rgba(232, 238, 243, 0.38); }
.ebr-inline-label { margin: 0; font-size: 15px; line-height: 20px; font-weight: 700; color: var(--evsh-neutral-1); }
.ebr-stars { display: flex; align-items: flex-start; gap: 4px; flex: none; }
.ebr-star { display: block; }
.ebr-star-button, .ebr-saved-stars, .ebr-close, .ebr-chip, .ebr-add-comment { margin: 0; padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.ebr-star-button { display: block; border-radius: 4px; }
.ebr-star-button:disabled { cursor: default; }
.ebr-star-button:focus-visible, .ebr-saved-stars:focus-visible, .ebr-close:focus-visible, .ebr-chip:focus-visible, .ebr-add-comment:focus-visible { outline: 2px solid var(--evsh-blue-1); outline-offset: 2px; }
.ebr-saved-stars { border-radius: 4px; }

/* The feedback panel (918:17718 → 918:19130) and Submitted (916:51476) */
.ebr-panel { position: relative; box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: 18px; box-shadow: inset 0 0 0 0.5px var(--evsh-bg-light-blue); border-radius: 24px; background: var(--evsh-white); filter: drop-shadow(0 4px 6px rgba(0, 32, 47, 0.13)); }
.ebr-panel-header { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.ebr-panel-title-row { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.ebr-panel-title { margin: 0; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--evsh-neutral-1); }
.ebr-close { display: flex; flex: none; padding: 2px; border-radius: 8px; }
.ebr-close-icon { transform: rotate(45deg); }
.ebr-panel-rating { display: flex; flex-direction: column; gap: 4px; }
.ebr-star-label { margin: 0; padding: 0 2px; font-size: 14px; line-height: 18px; font-weight: 500; color: var(--evsh-neutral-2); }
.ebr-topics { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.ebr-prompt { margin: 0; padding: 0 2px; font-size: 14px; line-height: 18px; font-weight: 600; color: var(--evsh-neutral-1); }
.ebr-chips { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; }
.ebr-chip { box-sizing: border-box; height: 34px; padding: 6.5px 10.5px; border: 1.5px solid var(--evsh-bg-light-blue); border-radius: 24px; font-size: 14px; line-height: 18px; font-weight: 500; color: var(--evsh-neutral-2); white-space: nowrap; }
.ebr-chip--selected { border-color: var(--evsh-blue-2); color: var(--evsh-blue-1); }
.ebr-add-comment { display: flex; align-items: center; gap: 4px; padding: 7px 4px; border-radius: 8px; font-size: 15px; line-height: 20px; font-weight: 600; color: var(--evsh-blue-0); }
.ebr-add-comment > :first-child { margin-left: -2px; margin-right: 2px; }   /* Figma: the 16px icon sits centred in a 20px slot set 4px left of its 16px wrapper */
.ebr-comment { display: block; box-sizing: border-box; width: 100%; height: 120px; padding: 8px 12px 10px; border: 1.5px solid var(--evsh-neutral-4); border-radius: 12px; background: var(--evsh-white); resize: none; font-family: inherit; font-size: 15px; line-height: 20px; font-weight: 500; color: var(--evsh-neutral-1); }
.ebr-comment::placeholder { color: var(--evsh-neutral-3); }
.ebr-comment:focus-visible { outline: none; border-color: var(--evsh-blue-1); }
.evsh-btn.ebr-submit { width: 100%; justify-content: center; }
.ebr-panel--submitted { align-items: center; gap: 16px; }
.ebr-panel--submitted .ebr-close { position: absolute; top: 18px; right: 18px; }
.ebr-success-icon { display: block; }
.ebr-success-text { display: flex; flex-direction: column; gap: 8px; width: 100%; text-align: center; }
.ebr-success-description { margin: 0; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--evsh-neutral-2); }
