/* ─────────────────────────────────────────────────────────────────────────────
   File summary panel — shared by chat (views/panel.html) and Melp Drive
   (views/melpDrive.html). Extracted from chat.css so both modules style the
   same #file_summary_panel markup from one source. Linked globally in melp.php.
   ───────────────────────────────────────────────────────────────────────────── */

/* Two classes deliberately: `.right-sidebar` in sidebarPopup.css parks every
   tray off-screen at `right: -500px` with single-class specificity, and that file
   loads after this one. A single-class `.file-summary-sidebar` here would tie and
   lose on source order, leaving the panel 500px off the right edge — open, but
   invisible. Qualifying it wins regardless of which stylesheet lands first. */
.right-sidebar.file-summary-sidebar {
  --file-summary-default-width: 43rem;
  background: var(--white);
  border-left: 1px solid var(--color-border-light);
  box-sizing: border-box;
  min-width: 340px;
  width: var(--file-summary-default-width);
  right: 0;
  height: calc(100vh - 7.7rem);
  height: calc(100dvh - 7.7rem);
}

.file-summary-drag-handle {
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 100%;
  cursor: ew-resize;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-summary-drag-handle::after {
  content: "";
  display: block;
  width: 4px;
  height: 36px;
  border-radius: 4px;
  background: var(--color-border);
  transition: background 0.15s;
}

.file-summary-drag-handle:hover::after,
.file-summary-drag-handle.dragging::after {
  background: var(--dark-gray);
}

.main-file-summary-sidebar {
  padding: 1.6rem 0 0 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scroll-padding-bottom: 4.5rem;
}

.file-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.px-16px {
  padding: 0 1.6rem;
}

.file-summary-title {
  font-size: var(--font-size-15);
  font-weight: 600;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.46;
  color: var(--black);
  display: inline-block;
}

.file-summary-subtitle {
  font-size: var(--font-size-15);
  color: var(--color-text-secondary);
  margin-top: 0.2rem;
}

.file-summary-close {
  width: 32px;
  height: 32px;
  display: inline-block;
  border: none;
  background: url(../../images/icons/serachheaderCancle.svg) no-repeat center
    center;
  background-size: 40%;
  color: transparent;
  border-radius: 0.8rem;
  font-size: var(--font-size-17);
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.file-summary-empty {
  border: 1px dashed var(--color-border-light);
  border-radius: 1.2rem;
  background: var(--color-surface);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--color-text-secondary);
  margin: 0;
  width: 100%;
}

#fileSummaryEmpty {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 240px;
}

.file-summary-empty-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.6rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-brand), var(--light-red));
  color: var(--color-text-inverse);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-summary-empty-title {
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.25rem;
  font-size: var(--font-size-17);
}

.file-summary-empty-text {
  font-size: var(--font-size-15);
  line-height: 1.6;
}

.file-summary-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.file-summary-card {
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  padding-top: 1rem;
}

.file-summary-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
}

.file-summary-file {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.file-summary-avatar {
  width: 28px;
  height: 28px;
  color: var(--color-text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--font-size-15);
  overflow: hidden;
}

.file-summary-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.file-summary-avatar-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.file-summary-file-name {
  font-size: var(--font-size-13);
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.file-summary-file-meta {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.2rem;
}

.file-summary-chip {
  background: var(--color-background);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border-light);
  border-radius: 0.4rem;
  padding: 0.15rem 0.6rem;
  font-size: var(--font-size-11);
  font-weight: 600;
  line-height: 1.3;
}

.file-summary-status {
  padding: 0.3rem 0.65rem;
  border-radius: 0.4rem;
  font-size: var(--font-size-11);
  font-weight: 700;
  white-space: nowrap;
}

.file-summary-status.is-loading {
  background: rgb(from var(--color-brand) r g b / 8%);
  color: var(--color-brand);
}

.file-summary-status.is-success {
  background: var(--color-success-bg);
  color: var(--color-success);
}

.file-summary-status.is-error {
  background: var(--color-error-bg);
  color: var(--color-error);
}

.file-summary-card-body {
  border-top: 0.1rem solid var(--dark-gray);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: calc(100vh - 21rem);
  max-height: calc(100dvh - 21rem);
  background-color: #f9f9f9;
  padding-top: 0.8rem;
}

.file-summary-heading {
  font-size: var(--font-size-15);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.35rem;
  padding: 0 1.6rem;
}
.file-summary-heading + .file-summary-alert {
  margin: 0.2rem 1.6rem 0 1.6rem;
}

.file-summary-subtext {
  font-size: var(--font-size-11);
  color: var(--color-text-secondary);
  margin-bottom: 0.6rem;
}

.file-summary-text {
  font-size: var(--font-size-15);
  color: var(--black);
  word-wrap: break-word;
  max-height: 75rem;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  transition: max-height 0.35s ease;
}
.file-summary-text.is-condensed {
  max-height: 400px;
}
.file-summary-card.is-expanded .file-summary-text {
  max-height: none;
}
.file-summary-text h1,
.file-summary-text h2,
.file-summary-text h3,
.file-summary-text h4,
.file-summary-text h5,
.file-summary-text h6 {
  margin: 0.4rem 0 0.2rem;
  line-height: 1.3;
}
.file-summary-text h1 {
  font-size: var(--font-size-17);
}
.file-summary-text h2 {
  font-size: var(--font-size-15);
}
.file-summary-text h3 {
  font-size: var(--font-size-15);
}
.file-summary-text h4 {
  font-size: var(--font-size-15);
}
.file-summary-text h5 {
  font-size: var(--font-size-15);
}
.file-summary-text h6 {
  font-size: var(--font-size-13);
}

.file-summary-question-section {
  margin-top: 0;
  padding-top: 1rem;
  border-top: 0.1rem solid var(--dark-gray);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: static;
  background: var(--color-surface);
  z-index: 2;
  padding-bottom: 1.6rem;
  min-height: 0;
  max-height: none;
  background-color: #f9f9f9;
  overflow: hidden;
  flex: 1 1 auto;
}

.file-summary-question-title {
  font-size: var(--font-size-15);
  font-weight: 600;
  color: var(--black);
}

.file-summary-question-chat {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding-bottom: 0.6rem;
  flex: 1 1 auto;
  overflow-y: auto;
  min-height: 0;
  padding-right: 0.4rem;
  scrollbar-gutter: stable;
}
.file-summary-card.has-qa .file-summary-question-chat {
  display: flex;
}

.file-summary-chat-bubble {
  max-width: 100%;
  padding: 1rem;
  border-radius: 0.2rem 0.2rem 0rem 0rem;
  font-size: var(--font-size-15);
  word-break: break-word;
}

.file-summary-chat-bubble.other {
  background: rgb(from var(--color-background) r g b / 48%);
  color: var(--black);
  align-self: flex-start;
}

.file-summary-chat-bubble.self {
  background: var(--dark-white);
  color: var(--black);
  align-self: flex-end;
}

.file-summary-chat-bubble.placeholder {
  color: var(--color-text-secondary);
  font-style: italic;
}

.file-summary-chat-bubble.pending {
  font-style: italic;
}

.file-summary-chat-bubble.error {
  background: var(--color-error-bg);
  color: var(--color-error-hover);
}

.file-summary-question-form {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
  flex: none;
  margin-top: auto;
  background-color: var(--color-background);
  padding: 0.6rem 1.2rem 0.8rem;
}

.file-summary-question-input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--color-border-light);
  padding: 0.75rem 0.9rem;
  font-size: var(--font-size-15);
  color: var(--black);
  background: var(--color-surface);
  transition: border-color 0.2s ease;
}

.file-summary-question-input:focus {
  outline: none;
}

.file-summary-question-input.is-error {
  border-color: var(--color-error);
}

.file-summary-question-submit {
  border-radius: 0rem;
  border: none;
  background: var(--color-brand);
  color: var(--color-text-inverse);
  font-weight: 700;
  padding: 0 1.4rem;
  font-size: var(--font-size-11);
  cursor: pointer;
  transition:
    background 0.2s ease,
    opacity 0.2s ease;
  border-radius: 0.3rem;
  white-space: nowrap;
  flex: 0 0 auto;
}

.file-summary-question-submit:hover:not(:disabled) {
  background: var(--color-brand-hover);
}

.file-summary-question-submit:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  background: var(--color-border);
}

.file-summary-question-response {
  font-size: var(--font-size-15);
  color: var(--color-text-primary);
  min-height: 1.5rem;
}

.file-summary-question-response-placeholder {
  color: var(--color-text-secondary);
}

.file-summary-question-response-pending {
  color: var(--black);
  font-style: italic;
}

.file-summary-question-response-text {
  white-space: pre-wrap;
  line-height: 1.5;
}

.file-summary-question-response-error {
  color: var(--color-error);
}

.file-summary-skeleton {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.file-summary-skeleton .skeleton-line {
  height: 12px;
  margin: 0;
  background: linear-gradient(
    90deg,
    var(--color-background) 0%,
    var(--color-border-light) 50%,
    var(--color-background) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.3s ease-in-out infinite;
  border-radius: 8px;
}

.file-summary-skeleton .skeleton-line.wide {
  width: 90%;
}

.file-summary-skeleton .skeleton-line.mid {
  width: 75%;
}

.file-summary-skeleton .skeleton-line.short {
  width: 55%;
}

.file-summary-error {
  color: var(--color-error);
  font-size: var(--font-size-15);
}

.file-summary-alert {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--color-error-bg) 0%,
    var(--color-error-bg) 100%
  );
  border: 1px solid rgb(from var(--color-error) r g b / 30%);
  border-left: 4px solid var(--color-error);
  border-radius: 1.2rem;
  padding: 0.9rem 1rem 0.9rem 3.1rem;
  color: var(--color-error-hover);
  font-size: var(--font-size-15);
}
.file-summary-alert::before {
  content: "!";
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: var(--color-error);
  color: var(--color-text-inverse);
  font-weight: 800;
  font-size: var(--font-size-11);
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-summary-hint {
  font-size: var(--font-size-11);
  color: var(--color-text-secondary);
  margin: 0.6rem 1.6rem 0 1.6rem;
  padding: 0.55rem 0.8rem;
  border-radius: 0.9rem;
  background: var(--color-background);
  border: 1px dashed var(--color-border);
}

.file-summary-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.file-summary-action-btn {
  border: 1px solid var(--color-border-light);
  background: var(--color-background);
  color: var(--color-text-primary);
  font-size: var(--font-size-11);
  font-weight: 700;
  border-radius: 0.6rem;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.file-summary-action-btn:hover {
  background: var(--color-background);
  border-color: var(--color-border);
}

.file-summary-action-btn.danger {
  color: var(--color-error);
  border-color: rgb(from var(--color-error) r g b / 30%);
  background: var(--color-error-bg);
}

.file-summary-action-btn.danger:hover {
  background: var(--color-error-light);
  border-color: rgb(from var(--color-error) r g b / 45%);
}

.file-summary-btn-container {
  display: inline-block;
}

.file-summary-btn {
  border: none;
  background-color: transparent;
  font-size: var(--font-size-13);
  color: var(--color-text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.file-summary-btn:disabled,
.file-summary-btn.is-loading {
  cursor: not-allowed;
  opacity: 0.6;
}

.file-summary-btn.secondary {
  background: var(--color-background);
}

.file-summary-error-actions .file-summary-btn,
.file-summary-error-actions .file-summary-btn.secondary {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0.6rem;
  padding: 0.35rem 0.9rem;
  color: var(--color-text-primary);
  text-decoration: none;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* ─── Summary Progress Snackbar ──────────────────────────────────────────── */
#summaryProgressSnackbar {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 99999;
  background: var(--color-surface);
  border: 0.1rem solid var(--color-border-light);
  border-radius: 0.8rem;
  padding: 1.4rem 1.6rem;
  width: 30rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  animation: snackSlideIn 0.22s ease;
}
#summaryProgressSnackbar.hideCls {
  display: none;
}
@keyframes snackSlideIn {
  from {
    opacity: 0;
    transform: translateY(0.8rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#summaryProgressSnackbar .snack-icon {
  flex-shrink: 0;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
  color: var(--color-text-inverse);
  background: var(--slate-gray);
}
#summaryProgressSnackbar .snack-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}
#summaryProgressSnackbar .snack-icon.is-success {
  background: var(--color-success);
}
#summaryProgressSnackbar .snack-icon.is-error {
  background: var(--color-error);
}
#summaryProgressSnackbar .snack-content {
  flex: 1;
  min-width: 0;
}
#summaryProgressSnackbar .snack-title {
  font-weight: 600;
  font-size: var(--font-size-15);
  color: var(--color-text-primary);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}
#summaryProgressSnackbar .snack-subtitle {
  font-size: var(--font-size-11);
  color: var(--color-text-secondary);
  word-break: break-word;
  line-height: 1.5;
  margin-bottom: 0;
}
#summaryProgressSnackbar .snack-progress {
  height: 0.3rem;
  background: var(--color-background);
  border-radius: 0.2rem;
  overflow: hidden;
  margin-top: 0.8rem;
}
#summaryProgressSnackbar .snack-progress-bar {
  height: 100%;
  background: var(--red);
  border-radius: 0.2rem;
  animation: snackProgressAnim 1.6s ease-in-out infinite;
  width: 40%;
}
@keyframes snackProgressAnim {
  0% {
    margin-left: 0;
    width: 30%;
  }
  50% {
    margin-left: 40%;
    width: 50%;
  }
  100% {
    margin-left: 100%;
    width: 10%;
  }
}
#summaryProgressSnackbar .snack-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.9rem;
}
#summaryProgressSnackbar .snack-view-btn {
  border: 0.1rem solid var(--red);
  background-color: var(--red);
  color: var(--color-text-inverse);
  border-radius: 0.4rem;
  padding: 0.5rem 1.2rem;
  font-size: var(--font-size-15);
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
#summaryProgressSnackbar .snack-view-btn:hover {
  opacity: 0.88;
}
#summaryProgressSnackbar .snack-close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--color-text-secondary);
  font-size: var(--font-size-17);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  margin-top: 0.1rem;
  transition: color 0.15s;
}
#summaryProgressSnackbar .snack-close:hover {
  color: var(--color-text-primary);
}

/* ─── Summary Conflict Dialog ────────────────────────────────────────────── */
#summaryConflictOverlay {
  position: fixed;
  inset: 0;
  background: rgb(from var(--dark-black) r g b / 45%);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: snackSlideIn 0.2s ease;
}
#summaryConflictOverlay.hideCls {
  display: none;
}
#summaryConflictDialog {
  background: var(--color-surface);
  border-radius: 1.2rem;
  padding: 2.4rem;
  width: 38rem;
}
.summary-conflict-title {
  font-size: var(--font-size-17);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}
.summary-conflict-text {
  font-size: var(--font-size-15);
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.summary-conflict-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}
.summary-conflict-cancel {
  background: none;
  border: 1px solid var(--color-border-light);
  border-radius: 0.6rem;
  padding: 0.8rem 1.6rem;
  font-size: var(--font-size-15);
  cursor: pointer;

  color: var(--color-text-secondary);
  transition: background 0.15s;
}
.summary-conflict-cancel:hover {
  background: var(--color-background);
}
.summary-conflict-stop {
  background: linear-gradient(
    135deg,
    var(--color-brand) 0%,
    var(--color-error-hover) 100%
  );
  color: var(--color-text-inverse);
  border: none;
  border-radius: 0.6rem;
  padding: 0.8rem 1.6rem;
  font-size: var(--font-size-15);
  font-weight: 600;
  cursor: pointer;

  transition: opacity 0.15s;
}
.summary-conflict-stop:hover {
  opacity: 0.88;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Drive-only additions (.fms-drive)
   The panel above is shared with chat, so everything below is scoped to Drive's
   copy of it: Drive queues several files, shows the finished summary in full,
   and offers per-card actions that chat does not have.
   ───────────────────────────────────────────────────────────────────────────── */

/* Drive keeps chat's card layout verbatim — the summary text is its own scroll
   area that condenses to make room once a Q&A thread starts (`.is-condensed`),
   the thread scrolls on its own, and the ask box is a sibling of the card body
   pinned to the bottom by `margin-top: auto`. Overriding any of those (max-height
   none, overflow visible) is what floated the ask box into the summary text and
   left the answers off-screen, so nothing below touches them.

   Everything from here on is additive: actions chat does not have, and the
   panel's empty-state hint and live region.
   ───────────────────────────────────────────────────────────────────────────── */

/* ── Reading area vs conversation area ────────────────────────────────────────
   chat's model, kept: once a thread starts the summary condenses into its own
   scroll area and the conversation takes a fixed area below it, with its own
   scroll. What went wrong in Drive was the split — the summary held 400px of a
   body capped at `100vh - 21rem`, leaving the thread a couple of lines, so the
   answers were unreadable.

   So Drive condenses the summary further and gives the thread a floor: room for
   a real exchange, with the summary still scrollable above it. chat is untouched
   — every rule here is scoped to `.fms-drive`.
   ───────────────────────────────────────────────────────────────────────────── */

.fms-drive .file-summary-text.is-condensed {
  max-height: 22rem;
}

.fms-drive .file-summary-card.has-qa .file-summary-question-chat {
  min-height: 20rem;
  max-height: 34rem;
  gap: 0.9rem;
  padding-right: 0.4rem;
}

/* Bubbles that read as a conversation: rounded with the corner notched on the
   speaker's side, and narrower than the panel so the left/right alternation is
   legible at a glance. */
.fms-drive .file-summary-chat-bubble {
  max-width: 85%;
  padding: 0.9rem 1.2rem;
  line-height: 1.5;
}

.fms-drive .file-summary-chat-bubble.other {
  border-radius: 1.2rem 1.2rem 1.2rem 0.3rem;
  background: var(--color-background);
}

.fms-drive .file-summary-chat-bubble.self {
  border-radius: 1.2rem 1.2rem 0.3rem 1.2rem;
  background: rgb(from var(--color-brand) r g b / 10%);
}

/* What you do once you have read a summary. */
.fms-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0 1.6rem;
  margin-top: 1.2rem;
}

.fms-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--color-border-light);
  background: var(--color-surface);
  color: var(--color-text-primary);
  font-size: var(--font-size-11);
  font-weight: 700;
  border-radius: 0.6rem;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.fms-action:hover,
.fms-action:focus-visible {
  background: var(--color-background);
  border-color: var(--color-border);
}

.fms-action.is-primary {
  border-color: rgb(from var(--color-brand) r g b / 40%);
  color: var(--color-brand);
}

.fms-action.is-done {
  border-color: rgb(from var(--color-success) r g b / 40%);
  color: var(--color-success);
}

.fms-empty-hint {
  font-size: var(--font-size-11);
  color: var(--color-text-secondary);
  margin-top: 0.8rem;
  max-width: 30rem;
}

/* A summary that lands while you are looking elsewhere in the panel gets one
   quiet pulse, instead of a snackbar repeating what the card already says. */
.fms-drive .file-summary-card.is-ready-flash {
  animation: fmsReadyPulse 1.1s ease;
}

@keyframes fmsReadyPulse {
  0%,
  100% {
    box-shadow: none;
  }
  35% {
    box-shadow: 0 0 0 0.2rem rgb(from var(--color-brand) r g b / 30%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fms-drive .file-summary-card.is-ready-flash {
    animation: none;
  }
}

/* Announcements for screen readers only — the cards carry the visual state. */
.fms-live {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
