/* =============================================================================
   Rehearsal room (playground) and Integrations pop-ups.
   Tokens from css/sola/tokens.css only; logical properties so Arabic mirrors.
   ============================================================================= */

/* ---------- Rehearsal room: frame ---------- */
/* Near full-screen window: dark session rail on the start side, chat stage on the end side. */
.playground { --pg-rail-bg: linear-gradient(180deg, var(--grey-900) 0%, color-mix(in srgb, var(--grey-900) 82%, var(--sola-primary)) 100%); }
.playground .modal-dialog.modal-xl { max-width: calc(100% - 2rem); margin: 1rem auto; }
.playground .modal-content { border: 0; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); }
.playground .playground-body { min-height: 0; }
.playground .playground-layout { display: flex; position: relative; height: calc(100vh - 2rem); }
[dir="rtl"] .playground-mirror { transform: scaleX(-1); }

.playground .playground-icon-btn {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 34px; height: 34px; padding: 0; border: 0; background: none; color: var(--text-secondary);
  border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition-fast);
}
.playground .playground-icon-btn:hover,
.playground .playground-icon-btn:focus-visible { background: var(--bg-hover); color: var(--text-primary); }
.playground .playground-icon-btn:focus-visible { outline: 0; box-shadow: var(--focus-ring); }

/* Session rail */
.playground .playgroundSideBar { flex: 0 0 272px; width: 272px; height: 100%; position: relative; z-index: 100; }
.playground .playgroundSideBar.closed,
.playground .playgroundSideBar.closed > div { display: none; }
.playground .playground-sidebar-wrapper {
  display: flex; flex-direction: column; height: 100%;
  padding: var(--space-4) var(--space-3);
  background: var(--pg-rail-bg); color: var(--text-white);
}
.playground .playground-sidebar-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding: 0 var(--space-1) var(--space-4); }
.playground .playground-sidebar-brand { display: flex; align-items: center; gap: var(--space-3); min-width: 0; }
.playground .playground-sidebar-brand .modal-title { font-size: var(--fs-base); font-weight: var(--fw-semibold); color: var(--text-white); }
.playground .playground-icon {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 34px; height: 34px; border-radius: var(--radius-md);
  background: var(--gradient-primary); color: var(--text-white);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset;
}
.playground .playground-sidebar-wrapper .playground-icon-btn { color: rgba(255, 255, 255, 0.65); }
.playground .playground-sidebar-wrapper .playground-icon-btn:hover,
.playground .playground-sidebar-wrapper .playground-icon-btn:focus-visible { background: rgba(255, 255, 255, 0.1); color: var(--text-white); }

.playground .playground-new-session {
  display: flex; align-items: center; justify-content: center; gap: var(--space-2); width: 100%;
  padding: 10px var(--space-3); margin-bottom: var(--space-5);
  border: 1px dashed rgba(255, 255, 255, 0.28); border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06); color: var(--text-white);
  font-size: var(--fs-sm); font-weight: var(--fw-semibold); cursor: pointer; transition: var(--transition-fast);
}
.playground .playground-new-session:hover,
.playground .playground-new-session:focus-visible { background: var(--sola-primary); border-color: var(--sola-primary); border-style: solid; outline: 0; }

.playground .playground-sidebar-section { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.playground .playground-sidebar-title { display: flex; align-items: center; gap: var(--space-2); padding: 0 var(--space-1) var(--space-2); }
.playground .playground-sidebar-section .chat-title {
  flex: 1; font-size: var(--fs-xs); font-weight: var(--fw-semibold);
  text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.55);
}
[dir="rtl"] .playground .playground-sidebar-section .chat-title { letter-spacing: 0; }
.playground .playground-sidebar-wrapper .playground-delete-all { width: 28px; height: 28px; font-size: var(--fs-xs); }
.playground .playground-sidebar-wrapper .playground-delete-all:hover,
.playground .playground-sidebar-wrapper .playground-delete-all:focus-visible { background: color-mix(in srgb, var(--danger-color) 30%, transparent); color: var(--text-white); }

.playground .playground-session { flex: 1; min-height: 0; overflow: auto; margin-inline: calc(var(--space-1) * -1); padding-inline: var(--space-1); }
.playground .playground-session::-webkit-scrollbar { width: 6px; }
.playground .playground-session::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.18); border-radius: var(--radius-pill); }
.playground .playground-session .chat-session-wrapper { position: relative; }
.playground .playground-session .chat-session {
  position: relative; display: flex; align-items: center; gap: var(--space-2);
  padding: 9px var(--space-3); margin-bottom: 2px; cursor: pointer;
  border-radius: var(--radius-md); color: rgba(255, 255, 255, 0.78); font-size: var(--fs-sm);
  transition: var(--transition-fast);
}
.playground .playground-session .chat-session::before {
  content: "\f075"; font-family: "Font Awesome 6 Pro"; font-weight: 400; font-size: 12px;
  flex-shrink: 0; width: 16px; text-align: center; color: rgba(255, 255, 255, 0.45);
}
.playground .playground-session .chat-session .chat-session-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.playground .playground-session .chat-session:hover { background-color: rgba(255, 255, 255, 0.07); color: var(--text-white); }
.playground .playground-session .chat-session.active { background-color: rgba(255, 255, 255, 0.13); color: var(--text-white); font-weight: var(--fw-medium); }
.playground .playground-session .chat-session.active::before { font-weight: 900; color: var(--sola-primary-light); }
.playground .playground-session .chat-session.active::after {
  content: ""; position: absolute; inset-block: 9px; inset-inline-start: 0;
  width: 3px; border-radius: var(--radius-pill); background: var(--sola-primary-light);
}
.playground .playground-session .session-menu {
  flex-shrink: 0; width: 24px; height: 24px; padding: 0; border: 0; border-radius: var(--radius-xs);
  background: none; color: rgba(255, 255, 255, 0.6); opacity: 0; transition: var(--transition-fast);
}
.playground .playground-session .chat-session:hover .session-menu,
.playground .playground-session .chat-session.active .session-menu,
.playground .playground-session .session-menu:focus-visible { opacity: 1; }
.playground .playground-session .session-menu:hover { background: rgba(255, 255, 255, 0.12); color: var(--text-white); }

/* Chat stage */
.playground .playgroundContentDiv {
  flex: 1 1 auto; min-width: 0; position: relative;
  display: flex; flex-direction: column; height: 100%;
  background:
    radial-gradient(120% 55% at 50% -12%, var(--sola-primary-soft) 0%, transparent 62%),
    var(--bg-card);
}
.playground .playground-content-header {
  flex-shrink: 0; display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  border-bottom: 1px solid var(--border-color);
  background: color-mix(in srgb, var(--bg-card) 80%, transparent); backdrop-filter: blur(6px);
}
.playground .playground-title-icon {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  background: var(--sola-primary-soft); color: var(--sola-primary); font-size: var(--fs-sm);
}
.playground .playground-content-header .playground-title {
  flex: 1; margin: 0; min-width: 0; font-size: var(--fs-md); font-weight: var(--fw-semibold);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.playground .playground-header-btn { border: 1px solid var(--border-color); background: var(--bg-card); }
.playground .playground-close:hover,
.playground .playground-close:focus-visible { background: var(--danger-soft); border-color: transparent; color: var(--danger-color); }
.playground .playgroundContentDiv.drag-over > *:not(.drop-overlay) { opacity: 0.15; pointer-events: none; transition: opacity 0.2s ease; }

@media (max-width: 770px) {
  .playground .modal-dialog.modal-xl { max-width: 100%; margin: 0; }
  .playground .modal-content { border-radius: 0; }
  .playground .playground-layout { height: 100vh; }
  .playground .playgroundSideBar { position: absolute; inset-block: 0; inset-inline-start: 0; box-shadow: var(--shadow-xl); }
  .playground .playground-content-header { padding-inline: var(--space-3); }
}

/* Messages */
.playgroundComponent .chat-area-wrapper {
  position: relative; flex: 1; min-height: 0;
  display: flex; flex-direction: column;
  width: 100%; overflow-y: auto;
}
.playground .playground-content-chat-messages {
  flex: 1; display: flex; flex-direction: column; gap: var(--space-6);
  width: 100%; max-width: 880px; margin-inline: auto;
  padding: var(--space-6) var(--space-5) var(--space-4);
  overflow-y: auto; scroll-behavior: smooth;
}

.playground .playground-content-chat-messages .playground-content-chat-area {
  margin: auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--space-2);
}
.playground .playground-empty-art {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; margin-bottom: var(--space-3);
  border-radius: 22px; background: var(--gradient-primary); color: var(--text-white); font-size: 28px;
  box-shadow: 0 14px 34px color-mix(in srgb, var(--sola-primary) 35%, transparent);
}
.playground .playground-empty-art::after {
  content: ""; position: absolute; inset: -10px; border-radius: 28px;
  border: 1px dashed color-mix(in srgb, var(--sola-primary) 40%, transparent);
}
.playground .playground-empty-title { margin: 0; font-size: var(--fs-2xl); font-weight: var(--fw-bold); color: var(--text-primary); }
.playground .playground-empty-text { font-size: var(--fs-md); color: var(--text-secondary); max-width: 420px; }

.playground .chat-message { display: flex; gap: var(--space-3); align-items: flex-start; }
.playground .chat-user-image {
  display: flex; justify-content: center; align-items: center; flex-shrink: 0;
  width: 34px; height: 34px; border-radius: var(--radius-md);
  background: var(--gradient-primary); color: var(--text-white);
  box-shadow: var(--shadow-sm);
}
.playground .avatar { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.playground .avatar .fa-lg { font-size: 15px; line-height: 1; vertical-align: 0; }

.playground .chat-message-content {
  flex: 0 1 auto; min-width: 0; max-width: min(82%, 760px);
  display: flex; flex-wrap: wrap; align-items: baseline; align-content: flex-start; column-gap: var(--space-2); row-gap: 6px;
  margin: 0 !important;
}
.playground .chat-message-content > br { display: none; }
/* Name and time on the first row; everything else below them (an empty full-width item breaks the row). */
.playground .chat-message-content::before { content: ""; order: 1; flex: 0 0 100%; height: 0; margin-block-start: -6px; }
.playground .chat-message-content > :not(.chat-message-user-text):not(.chat-message-ai-text):not(.chat-message-time) { order: 2; flex: 0 0 100%; min-width: 0; }
.playground .chat-message-user-text,
.playground .chat-message-ai-text { font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--text-secondary); }
.playground .chat-message-time { float: none !important; font-size: var(--fs-xs); color: var(--text-light); }

.playground .chat-message-text { display: block; overflow-wrap: anywhere; line-height: var(--lh-relaxed); }
.playground .chat-message-text-agent {
  padding: var(--space-3) var(--space-4);
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); border-start-start-radius: var(--radius-xs);
  box-shadow: var(--shadow-xs);
}
.playground .chat-message-text-agent:empty { display: none; }
.playground .chat-message-text-agent > :last-child { margin-bottom: 0; }

/* The person's own messages sit on the end side in a blue bubble. */
.playground .chat-message:has(.chat-message-user-text) { flex-direction: row-reverse; }
.playground .chat-message:has(.chat-message-user-text) .chat-message-content { justify-content: flex-end; }
.playground .chat-message:has(.chat-message-user-text) .chat-user-image { background: var(--sola-primary-soft); color: var(--sola-primary); box-shadow: none; }
.playground .chat-message:has(.chat-message-user-text) .chat-message-content > .chat-message-text {
  flex: 0 1 auto; width: auto; max-width: 100%; margin-inline-start: auto;
  padding: var(--space-3) var(--space-4);
  background: var(--sola-primary); color: var(--text-white);
  border-radius: var(--radius-lg); border-start-end-radius: var(--radius-xs);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--sola-primary) 22%, transparent);
  white-space: pre-wrap;
}
.playground .chat-message:has(.chat-message-user-text) .attachment-wrapper { justify-content: flex-end; }

.playground .chat-message-text-agent img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.playground .chat-message-text-agent pre { white-space: pre-wrap; background: var(--grey-900); color: var(--grey-100); border: 0; border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); direction: ltr; text-align: start; }
.playground .chat-message-text-agent code { font-family: var(--font-mono); font-size: 0.9em; }
.playground .chat-message-text-agent :not(pre) > code { padding: 1px 6px; border-radius: var(--radius-xs); background: var(--sola-primary-soft); color: var(--primary-dark); }
.playground .chat-message-text-agent table { width: auto; max-width: 100%; border-collapse: collapse; margin-bottom: var(--space-3); font-size: var(--fs-sm); }
.playground .chat-message-text-agent th { background: var(--bg-muted); font-weight: var(--fw-semibold); }
.playground .chat-message-text-agent th,
.playground .chat-message-text-agent td { border: 1px solid var(--border-color); padding: var(--space-1) var(--space-3); }
.playground .chat-message-text-agent blockquote { border-inline-start: 3px solid var(--sola-primary); padding-inline-start: var(--space-3); color: var(--text-secondary); }
/* While a reply streams in it keeps 200px (no jumping); the rows stay at the top (align-content above). */
.playground .min-height-200 { min-height: 200px; }
.playground .chat-tool-progress { color: var(--text-secondary); font-size: 0.85em; padding: 4px 0; }
.playground .playground-muted-note { margin: 0; padding: 5px 0; color: var(--text-secondary); }
.playground .playground-muted-note.text-danger { color: var(--danger-color); }

.chat-error-message {
  display: inline-block; width: 100%; padding: 10px var(--space-3);
  color: var(--danger-color); background-color: var(--danger-soft);
  border: 1px solid color-mix(in srgb, var(--danger-color) 25%, transparent); border-radius: var(--radius-sm);
}
.playground .chat-message:has(.chat-error-message) .chat-user-image { background: var(--danger-soft); color: var(--danger-color); box-shadow: none; }

.loading-dots { display: inline-flex; align-items: center; height: 20px; }
.loading-dots div {
  display: inline-block; width: 7px; height: 7px; margin: 0 3px;
  background-color: var(--sola-primary); border-radius: var(--radius-circle);
  animation: playground-loading 1.2s infinite ease-in-out;
}
.loading-dots div:nth-child(2) { animation-delay: 0.2s; }
.loading-dots div:nth-child(3) { animation-delay: 0.4s; }
@keyframes playground-loading { 0%, 100% { transform: translateY(0); opacity: 0.35; } 50% { transform: translateY(-4px); opacity: 1; } }

.playgroundComponent .scrollToBottomIcon {
  display: none; position: absolute; bottom: var(--space-4); inset-inline: 0; margin-inline: auto;
  width: 36px; height: 36px; padding: 0; z-index: 2; line-height: 34px; text-align: center;
  background-color: var(--bg-card); color: var(--sola-primary);
  border: 1px solid var(--border-color); border-radius: var(--radius-circle);
  box-shadow: var(--shadow-lg); cursor: pointer; transition: var(--transition-fast);
}
.playgroundComponent .scrollToBottomIcon:hover { background-color: var(--sola-primary); color: var(--text-white); }

/* OAuth sign-in card */
.playground .playground-oauth-card {
  display: inline-flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-4); border-radius: var(--radius-md);
  background: var(--success-soft); border: 1px solid color-mix(in srgb, var(--success-color) 35%, transparent);
}
.playground .playground-oauth-card__icon {
  width: 40px; height: 40px; border-radius: var(--radius-md); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-primary); color: var(--text-white); font-size: 18px;
}
.playground .playground-oauth-card__body { display: flex; flex-direction: column; gap: 6px; }
.playground .playground-oauth-card__text { font-size: var(--fs-sm); color: var(--text-primary); }
.playground .oauth-login-btn {
  align-self: flex-start; padding: 6px 16px; border: 0; border-radius: var(--radius-sm); cursor: pointer;
  background: var(--sola-primary); color: var(--text-white); font-size: var(--fs-xs); font-weight: var(--fw-semibold);
  transition: background 0.2s;
}
.playground .oauth-login-btn:hover,
.playground .oauth-login-btn:focus-visible { background: var(--sola-primary-dark); }

/* Composer */
.playground .playground-content-message-input-area {
  flex-shrink: 0; display: flex; flex-direction: column; gap: var(--space-2);
  width: calc(100% - 2 * var(--space-5)); max-width: 840px; margin: 0 auto var(--space-5);
  padding: var(--space-3) var(--space-3) var(--space-2) var(--space-4);
  background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.playground .playground-content-message-input-area:focus-within {
  border-color: color-mix(in srgb, var(--sola-primary) 55%, transparent);
  box-shadow: 0 0 0 4px var(--sola-primary-soft), var(--shadow-lg);
}
.playground .playground-content-message-input-area .input-group { width: 100%; margin: 0; border: 0; background: none; padding: 0; }
.playground .playground-content-message-input-area textarea {
  width: 100%; padding: var(--space-1) 0; resize: none; line-height: var(--lh-normal); font-size: var(--fs-md);
  background-color: transparent; border: 0; outline: none; box-shadow: none; color: var(--text-primary);
}
.playground .playground-content-message-input-area textarea::placeholder { color: var(--text-light); }
.playground .playground-content-message-input-area textarea:focus { box-shadow: none; }
.playground .playground-content-message-input-area .input-footer {
  width: 100%; margin: 0; padding-top: var(--space-2); border-top: 1px solid var(--grey-100);
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-2);
}
.playground .input-options { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.playground .playground-content-message-input-area .mode-toggle-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: var(--radius-sm); font-size: var(--fs-xs); font-weight: var(--fw-medium); cursor: pointer;
  background-color: var(--bg-muted); color: var(--text-secondary); border: 1px solid transparent;
  transition: var(--transition-fast);
}
.playground .playground-content-message-input-area .mode-toggle-btn i { font-size: 12px; }
.playground .playground-content-message-input-area .mode-toggle-btn:hover { background-color: var(--bg-hover); color: var(--text-primary); }
.playground .playground-content-message-input-area .mode-toggle-btn:focus-visible { outline: 0; box-shadow: var(--focus-ring); }
.playground .playground-content-message-input-area .mode-toggle-btn.active {
  color: var(--sola-primary); background-color: var(--sola-primary-soft);
  border-color: color-mix(in srgb, var(--sola-primary) 35%, transparent);
}
.playground .playground-content-message-input-area .mode-toggle-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.playgroundComponent .input-actions { display: flex; align-items: center; gap: var(--space-2); align-self: flex-end; }
.playground .playground-content-message-input-area .send-btn {
  width: 40px; height: 40px; padding: 0; border-radius: var(--radius-md); border: 0;
  display: flex; align-items: center; justify-content: center; font-size: var(--fs-md);
  background: var(--gradient-primary); color: var(--text-white);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--sola-primary) 30%, transparent);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.playground .playground-content-message-input-area .send-btn:not([disabled]):hover { transform: translateY(-1px); box-shadow: 0 10px 20px color-mix(in srgb, var(--sola-primary) 35%, transparent); }
.playground .playground-content-message-input-area .send-btn[disabled] { background: var(--grey-200); color: var(--text-light); box-shadow: none; opacity: 1; }
[dir="rtl"] .playground .send-btn > i.fa-paper-plane-top { transform: scaleX(-1); }
.playground .send-btn[disabled],
.playground .btn-voice[disabled] { cursor: not-allowed; }
.playgroundComponent .btn-voice {
  width: 40px; height: 40px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; font-size: var(--fs-md); cursor: pointer;
  border: 1px solid var(--border-color); background-color: var(--bg-card); color: var(--sola-primary);
  transition: var(--transition-fast);
}
.playgroundComponent .btn-voice:not([disabled]):hover { background-color: var(--sola-primary-soft); border-color: transparent; }

/* Run assistant (no chat input block) */
.playground .playground-content-message-input { margin: 0 auto var(--space-6); width: calc(100% - 2 * var(--space-5)); max-width: 640px; }
.playground .playground-run-agent {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-2);
  text-align: center; padding: var(--space-5);
  background: var(--bg-card); border: 1px dashed color-mix(in srgb, var(--sola-primary) 40%, transparent);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-md);
}
.playground .playground-run-agent .btn { border-radius: var(--radius-md); padding-inline: var(--space-5); }
.playground .playground-run-agent__note { margin: 0; color: var(--text-secondary); font-size: var(--fs-sm); }

/* Routing pills (assistant / context) */
.playground .routing-icon-container { position: relative; display: inline-block; }
.playground .routing-pill {
  display: inline-flex; align-items: center; gap: 5px; max-width: 200px;
  padding: 4px 10px; border-radius: 14px; font-size: var(--fs-sm); white-space: nowrap; cursor: pointer;
  background: var(--bg-card); color: var(--text-secondary); border: 1px solid var(--border-color); transition: var(--transition-fast);
}
.playground .routing-pill i { font-size: var(--icon-xs); }
.playground .routing-pill-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.playground .routing-pill:hover { background: var(--bg-hover); }
.playground .routing-pill.active { color: var(--sola-primary); border-color: var(--sola-primary); background: var(--sola-primary-soft); }
.playground .routing-popover {
  display: none; position: absolute; inset-inline-start: 0; z-index: var(--z-popover);
  min-width: 200px; max-height: 260px; overflow-y: auto;
  background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
}
.playground .routing-popover.open { display: block; }
.playground .routing-popover.routing-popover-up { bottom: 100%; margin-bottom: 6px; }
.playground .routing-popover-item { display: flex; align-items: center; padding: var(--space-2) var(--space-3); font-size: var(--fs-sm); cursor: pointer; transition: background 0.15s; }
.playground .routing-popover-item:hover { background: var(--bg-hover); }
.playground .routing-popover-item.selected { background: var(--sola-primary-soft); color: var(--sola-primary); font-weight: var(--fw-semibold); }
.playground .routing-popover-item + .routing-popover-item { border-top: 1px solid var(--border-color); }

/* Attachments to send */
.playgroundComponent .file-preview-container {
  display: none; flex-wrap: wrap; gap: 10px; padding: 10px; max-height: 130px; overflow-y: auto;
  border-radius: var(--radius-xs); background-color: var(--bg-muted);
}
.playgroundComponent .preview-item {
  position: relative; display: flex; align-items: center; overflow: hidden; cursor: pointer;
  padding: 5px; padding-inline-end: 35px; border-radius: 20px; font-size: var(--fs-sm);
  background-color: var(--grey-200); color: var(--text-primary);
}
.playgroundComponent .preview-item:has(.remove-file-btn:hover) { cursor: default; }
.playgroundComponent .preview-thumb { width: 32px; height: 32px; display: flex; justify-content: center; align-items: center; flex-shrink: 0; }
.playgroundComponent .preview-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-circle); }
.playgroundComponent .preview-thumb i { font-size: var(--icon-md); color: var(--text-secondary); }
.playgroundComponent .preview-file-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
.playgroundComponent .remove-file-btn {
  position: absolute; top: 50%; inset-inline-end: 8px; transform: translateY(-50%); z-index: 2;
  width: 20px; height: 20px; border-radius: var(--radius-circle); border: 0; cursor: pointer;
  display: flex; justify-content: center; align-items: center; font-size: var(--fs-sm); font-weight: var(--fw-bold); line-height: 1;
  background-color: var(--grey-400); color: var(--text-white); transition: background-color 0.2s;
}
.playgroundComponent .remove-file-btn:hover { background-color: var(--grey-700); }
.playgroundComponent .remove-file-btn:disabled { cursor: not-allowed; opacity: 0.5; }
.playgroundComponent .preview-item.preview-status-saved { background-color: var(--success-soft); color: var(--text-primary); }
.playgroundComponent .preview-item.preview-status-saved .preview-thumb i { color: var(--success-color); }
.playgroundComponent .preview-item.preview-status-saved .remove-file-btn { background-color: var(--success-color); }
.playgroundComponent .preview-item.preview-status-error { background-color: var(--danger-soft); color: var(--danger-color); }
.playgroundComponent .preview-item.preview-status-error .preview-thumb i { color: var(--danger-color); }
.playgroundComponent .preview-item.preview-status-error .remove-file-btn { background-color: var(--danger-color); }
.playgroundComponent .clear-all-files-btn {
  display: none; align-items: center; justify-content: center; align-self: center; flex-shrink: 0;
  order: 9999; margin-inline-start: auto;
  width: 26px; height: 26px; padding: 0; border: 0; border-radius: var(--radius-circle);
  background-color: transparent; color: var(--grey-400); font-size: var(--fs-sm); cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.playgroundComponent .clear-all-files-btn:hover { background-color: var(--danger-color); color: var(--text-white); }
.playgroundComponent .clear-all-files-btn:disabled { cursor: not-allowed; opacity: 0.5; }
.playgroundComponent .file-preview-container:has(.preview-item) .clear-all-files-btn { display: flex; }

.playgroundComponent .drop-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 50; }
.playgroundComponent .drop-overlay-content { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); text-align: center; }
.playgroundComponent .drop-overlay-content i { font-size: 48px; color: var(--text-secondary); }
.playgroundComponent .drop-overlay-content p { font-size: var(--fs-lg); font-weight: var(--fw-semibold); color: var(--text-primary); margin: 0; }

/* Attachments in answers */
.playgroundComponent .attachment-wrapper { margin-top: 10px; display: flex; flex-wrap: wrap; gap: var(--space-2); max-width: 100%; }
.playgroundComponent .attachment-file-container { width: 100%; margin-bottom: 2px; }
.playgroundComponent .attachment-file-container a {
  display: inline-flex; align-items: center; padding: 6px 12px; font-size: 0.9em; text-decoration: none;
  background-color: var(--grey-100); border: 1px solid var(--border-color); border-radius: var(--radius-md); color: var(--text-primary);
  transition: background-color 0.2s;
}
.playgroundComponent .attachment-file-container a:hover { background-color: var(--grey-200); }
.playgroundComponent .attachment-file-container i { margin-inline-end: var(--space-2); font-size: 1.2em; }
.playgroundComponent .attachment-image-container {
  position: relative; overflow: hidden; flex: 1 0 120px; min-width: 240px; max-width: 240px; min-height: 50px; aspect-ratio: 1 / 1;
  border-radius: var(--radius-md); border: 1px solid var(--border-color); background-color: var(--grey-100);
}
.playgroundComponent .attachment-image-container img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.playgroundComponent .attachment-loader { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--text-secondary); }
.playgroundComponent .image-overlay {
  position: absolute; inset: 0; border-radius: var(--radius-md); opacity: 0; pointer-events: none; transition: opacity 0.2s ease-in-out;
  background-color: color-mix(in srgb, var(--grey-900) 40%, transparent);
}
.playgroundComponent .image-actions {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 15px;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease-in-out;
}
.playgroundComponent .attachment-image-container.is-loaded:hover .image-overlay,
.playgroundComponent .attachment-image-container.is-loaded:hover .image-actions,
.playgroundComponent .attachment-image-container.is-loaded:focus-within .image-overlay,
.playgroundComponent .attachment-image-container.is-loaded:focus-within .image-actions { opacity: 1; pointer-events: auto; }
.playgroundComponent .image-action-btn {
  width: 36px; height: 36px; border-radius: var(--radius-circle); border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: var(--fs-md); text-decoration: none;
  background-color: color-mix(in srgb, var(--grey-900) 70%, transparent); color: var(--text-white); transition: background-color 0.2s;
}
.playgroundComponent .image-action-btn:hover { background-color: color-mix(in srgb, var(--grey-900) 90%, transparent); color: var(--text-white); }
.playgroundComponent .is-expired:not(.attachment-file-container),
.playgroundComponent .is-expired span { cursor: not-allowed; }
.playgroundComponent .is-expired span { display: inline-flex; }
.playgroundComponent .is-expired a { pointer-events: none; user-select: none; }
.playgroundComponent .attachment-file-container.is-expired a { opacity: 0.5; }
.playgroundComponent .attachment-image-container.is-expired img { opacity: 0.4; filter: grayscale(80%); }
.playgroundComponent .expired-text-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center;
  background-color: color-mix(in srgb, var(--grey-100) 70%, transparent); backdrop-filter: blur(1px);
  color: var(--text-secondary); font-weight: var(--fw-bold); font-size: var(--fs-xs); letter-spacing: 0.5px; opacity: 0;
}
.playgroundComponent .attachment-image-container.is-expired .expired-text-overlay { opacity: 1; }
.playgroundComponent .playground-image-preview { max-width: 100%; max-height: 75vh; object-fit: contain; }

/* Thoughts and statistics panels */
.playgroundComponent .thoughts-container,
.playgroundComponent .statistics-container {
  margin: 10px 0; overflow: hidden;
  background-color: var(--bg-muted); border: 1px solid var(--border-color); border-radius: var(--radius-sm); box-shadow: var(--shadow-xs);
}
.playgroundComponent .thoughts-header,
.playgroundComponent .statistics-header { display: flex; align-items: center; padding: 10px 15px; cursor: pointer; user-select: none; }
.playgroundComponent .thoughts-header:hover,
.playgroundComponent .statistics-header:hover { background-color: var(--bg-hover); }
.playgroundComponent .thoughts-icon { color: var(--sola-primary); font-size: 1.2em; margin-inline-end: 10px; }
.playgroundComponent .statistics-icon { color: var(--success-color); font-size: 1.2em; margin-inline-end: 10px; }
.playgroundComponent .thoughts-title,
.playgroundComponent .statistics-title { font-weight: var(--fw-semibold); }
.playgroundComponent .thoughts-placeholder,
.playgroundComponent .statistics-placeholder { flex-grow: 1; }
.playgroundComponent .thoughts-chevron,
.playgroundComponent .statistics-chevron { color: var(--text-secondary); transition: transform 0.2s ease-in-out; }
.playgroundComponent .thoughts-container.is-expanded .thoughts-chevron,
.playgroundComponent .statistics-container.is-expanded .statistics-chevron { transform: rotate(180deg); }
.playgroundComponent .thoughts-content,
.playgroundComponent .statistics-content { display: none; padding: var(--space-4); border-top: 1px solid var(--border-color); background-color: var(--bg-card); }
.playgroundComponent .thoughts-content.thoughts-content--loaded { background-color: var(--bg-muted); }
.playgroundComponent .thoughts-content .initial-placeholder,
.playgroundComponent .statistics-content .initial-placeholder { color: var(--text-secondary); font-size: 0.95em; padding: 5px 0; }
.playgroundComponent .thoughts-content .spinner,
.playgroundComponent .statistics-content .spinner { text-align: center; padding: var(--space-5); color: var(--text-secondary); }
.playgroundComponent .sourceSansProFont { font-variant-numeric: tabular-nums; }

/* Thoughts: assistant runs and steps */
.playgroundComponent .component-run-block { padding: 15px; margin-bottom: var(--space-5); background-color: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-sm); }
.playgroundComponent .component-run-block:last-child { margin-bottom: 0; }
.playgroundComponent .component-run-title { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-1) 0; margin-bottom: var(--space-3); font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text-primary); }
.playgroundComponent .component-run-title .component-icon { margin-inline-end: 10px; color: var(--text-secondary); }
.playgroundComponent .component-title-spacer { flex-grow: 1; }
.playgroundComponent .component-run-title .component-duration,
.playgroundComponent .stats-component-duration,
.playgroundComponent .stats-output-duration {
  margin-inline-start: auto; padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: var(--fs-xs); font-weight: var(--fw-medium); color: var(--text-primary); background-color: var(--grey-100);
}
.playgroundComponent .llm-stream-badge {
  display: inline-flex; align-items: center; padding: 5px 10px; margin-inline-end: var(--space-2); line-height: 1;
  font-size: var(--fs-xs); font-weight: var(--fw-medium); border-radius: var(--radius-md); border: 1px solid;
}
.playgroundComponent .llm-stream-badge i { font-size: 0.9em; margin-inline-end: 5px; }
.playgroundComponent .llm-stream-badge.is-streaming { background-color: var(--warning-soft); border-color: var(--warning-color); color: var(--text-primary); }
.playgroundComponent .llm-stream-badge.is-non-streaming { background-color: var(--bg-muted); border-color: var(--border-color); color: var(--text-secondary); }
.playgroundComponent .component-token-badge,
.playgroundComponent .step-token-badge {
  display: inline-flex; align-items: center; white-space: nowrap; padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: var(--fs-xs); font-weight: var(--fw-medium);
  color: color-mix(in srgb, var(--warning-color) 45%, var(--text-primary)); background-color: var(--warning-soft);
}
.playgroundComponent .component-token-badge { margin-inline-end: var(--space-2); }
.playgroundComponent .step-token-badge { margin-inline-end: 5px; border: 1px solid color-mix(in srgb, var(--warning-color) 40%, transparent); }
.playgroundComponent .component-token-badge i,
.playgroundComponent .step-token-badge i { font-size: 10px; margin-inline-end: 3px; }
.playgroundComponent .token-separator { margin: 0 5px; color: var(--warning-color); }

.playgroundComponent .step-card { margin-bottom: var(--space-3); background-color: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-xs); box-shadow: var(--shadow-xs); }
.playgroundComponent .step-card.is-tool-call { border-inline-start: 2px solid var(--warning-color); }
.playgroundComponent .step-card.is-llm-response { border-inline-start: 2px solid var(--sola-primary); }
.playgroundComponent .step-header { display: flex; align-items: center; padding: 10px; cursor: pointer; }
.playgroundComponent .step-icon { font-size: var(--icon-xs); margin-inline-end: 10px; }
.playgroundComponent .fa-diagram-project { color: color-mix(in srgb, var(--warning-color) 70%, var(--text-primary)); }
.playgroundComponent .fa-brain { color: var(--sola-primary); }
.playgroundComponent .step-title { font-size: var(--fs-sm); font-weight: var(--fw-semibold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 500px; }
.playgroundComponent .step-header-spacer { flex-grow: 1; }
.playgroundComponent .icon-show-full-prompt { color: var(--text-secondary); cursor: pointer; padding: 6px 8px; border-radius: var(--radius-xs); transition: background-color 0.2s; }
.playgroundComponent .icon-show-full-prompt:hover { background-color: var(--bg-hover); }
.playgroundComponent .step-chevron { color: var(--text-secondary); transition: transform 0.2s; padding: 6px; }
.playgroundComponent .step-card.is-expanded .step-chevron { transform: rotate(180deg); }
.playgroundComponent .step-duration {
  margin-inline-end: 5px; padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: var(--fs-xs); font-weight: var(--fw-medium); color: var(--text-secondary);
  border: 1px solid var(--border-color); background-color: var(--bg-muted);
}
.playgroundComponent .step-content-body { display: none; padding: var(--space-4) var(--space-5); border-top: 1px solid var(--border-color); }

.playgroundComponent .details-group-block { border-radius: var(--radius-xs); margin-bottom: var(--space-4); }
.playgroundComponent .details-group-header { display: flex; align-items: center; padding: var(--space-2) var(--space-3); font-weight: var(--fw-semibold); font-size: var(--fs-sm); border-start-start-radius: var(--radius-xs); border-start-end-radius: var(--radius-xs); }
.playgroundComponent .details-group-icon { margin-inline-end: 10px; }
.playgroundComponent .details-group-spacer { flex-grow: 1; }
.playgroundComponent .details-group-duration { font-size: var(--fs-xs); padding: 2px 8px; border-radius: var(--radius-md); font-weight: var(--fw-medium); }
.playgroundComponent .details-group-body { padding: var(--space-3); }
.playgroundComponent .llm-thought-block { border: 1px solid var(--sola-primary-soft-2); }
.playgroundComponent .llm-thought-block .details-group-header { background-color: var(--sola-primary-soft); border-bottom: 1px solid var(--sola-primary-soft-2); }
.playgroundComponent .llm-thought-block .details-group-icon { color: var(--sola-primary); }
.playgroundComponent .llm-thought-block .details-group-duration { background-color: var(--sola-primary-soft-2); color: var(--primary-dark); }
.playgroundComponent .tool-execution-block { border: 1px solid color-mix(in srgb, var(--warning-color) 60%, transparent); }
.playgroundComponent .tool-execution-block .details-group-header { background-color: var(--warning-soft); border-bottom: 1px solid color-mix(in srgb, var(--warning-color) 40%, transparent); }
.playgroundComponent .tool-execution-block .details-group-icon { color: color-mix(in srgb, var(--warning-color) 70%, var(--text-primary)); }
.playgroundComponent .tool-execution-block .details-group-duration { background-color: color-mix(in srgb, var(--warning-color) 25%, transparent); color: color-mix(in srgb, var(--warning-color) 45%, var(--text-primary)); }

.playgroundComponent .step-detail-section { overflow: hidden; background-color: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-xs); }
.playgroundComponent .details-group-body .step-detail-section,
.playgroundComponent .step-content-body .step-detail-section { margin-bottom: var(--space-3); }
.playgroundComponent .details-group-body .step-detail-section:last-child,
.playgroundComponent .step-content-body .step-detail-section:last-child { margin-bottom: 0; }
.playgroundComponent .step-detail-header { display: flex; align-items: center; cursor: pointer; padding: var(--space-2) var(--space-3); background-color: var(--bg-muted); }
.playgroundComponent .step-detail-header:hover { background-color: var(--bg-hover); }
.playgroundComponent .step-detail-title { font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--text-primary); }
.playgroundComponent .step-detail-spacer { flex-grow: 1; }
.playgroundComponent .btn-copy-detail { background: none; border: 0; cursor: pointer; color: var(--text-secondary); padding: 4px 8px; border-radius: var(--radius-xs); margin-inline-end: var(--space-2); font-size: 0.9em; }
.playgroundComponent .btn-copy-detail:hover { background-color: var(--grey-200); }
.playgroundComponent .btn-copy-detail .fa-check { color: var(--success-color); }
.playgroundComponent .detail-chevron { color: var(--text-secondary); transition: transform 0.2s; font-size: 0.9em; }
.playgroundComponent .step-detail-section.is-expanded .detail-chevron { transform: rotate(180deg); }
.playgroundComponent .step-detail-body { display: none; padding: var(--space-3) var(--space-4); border-top: 1px solid var(--border-color); }
.playgroundComponent .step-detail-body pre {
  margin: 0; padding: var(--space-3); border-radius: var(--radius-xs); white-space: pre-wrap; word-break: break-all; font-size: 0.85em;
  background-color: var(--grey-900); color: var(--grey-200); direction: ltr; text-align: start;
}
.playgroundPromptPre { white-space: pre-wrap; word-break: break-all; padding: var(--space-10); direction: ltr; text-align: start; }

/* Statistics */
.playgroundComponent .stats-total-time { display: flex; justify-content: space-between; align-items: center; padding-bottom: var(--space-3); margin-bottom: var(--space-3); border-bottom: 1px solid var(--border-color); }
.playgroundComponent .stats-total-label { font-weight: var(--fw-semibold); color: var(--text-secondary); }
.playgroundComponent .stats-total-value { font-weight: var(--fw-semibold); color: var(--sola-primary); font-size: var(--fs-base); }
.playgroundComponent .stats-breakdown-container { display: flex; flex-direction: column; }
.playgroundComponent .stats-component-block { padding: 10px 0; }
.playgroundComponent .stats-component-block:not(:first-child) { border-top: 1px solid var(--border-color); }
.playgroundComponent .stats-component-row { display: flex; align-items: center; font-size: 0.95em; }
.playgroundComponent .stats-component-icon { color: var(--text-secondary); margin-inline-end: 10px; width: 18px; text-align: center; font-size: 1.1em; }
.playgroundComponent .stats-component-name { flex-grow: 1; font-weight: var(--fw-medium); color: var(--text-primary); }
.playgroundComponent .stats-output-container { padding-inline-start: 28px; margin-top: var(--space-2); display: flex; flex-direction: column; gap: 6px; }
.playgroundComponent .stats-output-row { display: flex; align-items: center; font-size: 0.9em; margin-top: 4px; color: var(--text-secondary); }
.playgroundComponent .stats-output-icon { font-size: 0.9em; margin-inline-end: 10px; color: var(--text-light); transform: scaleY(-1); }
[dir="rtl"] .playgroundComponent .stats-output-icon { transform: scale(-1, -1); }
.playgroundComponent .stats-output-name { flex-grow: 1; }

/* Custom attributes pop-up */
.playground-attributes-table__actions { width: 1%; white-space: nowrap; }
.playground-help-icon { cursor: help; }

/* Session menu (jquery-contextmenu) */
.context-menu-list.contextMenuList { padding: 0; border: 1px solid var(--border-color); border-radius: var(--radius-sm); box-shadow: var(--shadow-md); }
.contextMenuList .context-menu-item { padding-block: var(--space-2); }
.contextMenuList .context-menu-item.context-menu-hover { background-color: var(--bg-hover); color: var(--text-primary); }
.text-color-context { color: var(--sola-primary); }

/* Voice conversation overlay */
.voice-overlay {
  position: fixed; inset: 0; z-index: calc(var(--z-modal) + 100);
  display: flex; flex-direction: column; background-color: var(--bg-card);
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease-in-out;
}
.voice-overlay.visible { opacity: 1; pointer-events: auto; }
.voice-overlay-main { flex-grow: 1; display: flex; align-items: center; justify-content: center; }
.voice-overlay-footer { padding: var(--space-8); display: flex; justify-content: center; gap: var(--space-5); }
.voice-overlay-button {
  width: 56px; height: 56px; border-radius: var(--radius-circle); border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: var(--icon-lg);
  background-color: var(--grey-100); color: var(--text-primary); transition: background-color 0.2s ease;
}
.voice-overlay-button:hover { background-color: var(--grey-200); }
.voice-overlay-button[disabled] { cursor: not-allowed; }
.voice-overlay-button.active { background-color: var(--sola-primary); color: var(--text-white); }
.voice-visualizer { width: 200px; height: 200px; border-radius: var(--radius-circle); display: flex; align-items: center; justify-content: center; transition: all 0.5s ease-out; }
.voice-visualizer i { font-size: 50px; color: var(--text-white); transform: scale(0.8); transition: transform 0.5s ease-out, color 0.3s ease-in-out; }
.voice-visualizer.listening,
.voice-visualizer.speaking,
.voice-visualizer.processing,
.voice-visualizer.initializing { background-color: color-mix(in srgb, var(--sola-primary) 45%, transparent); }
.voice-visualizer.listening,
.voice-visualizer.speaking { animation: playground-listening-pulse 2s infinite ease-in-out; }
.voice-visualizer.listening i { transform: scale(1); }
.voice-visualizer.speaking i { transform: scale(1.1); animation: playground-speaking-pulse 1.2s infinite ease-in-out; }
.voice-visualizer.muted i { color: var(--grey-400); transform: scale(0.8); }
.processing-dots-container { display: flex; align-items: center; justify-content: center; height: 100%; }
.processing-dot {
  display: block; width: 16px; height: 16px; margin: 0 5px; border-radius: var(--radius-circle);
  background-color: var(--text-white); animation: playground-dot-bounce 1.4s infinite ease-in-out both;
}
.processing-dot:nth-child(2) { animation-delay: -1.1s; }
.processing-dot:nth-child(3) { animation-delay: -0.9s; }
@keyframes playground-listening-pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--sola-primary) 50%, transparent); }
  70%  { box-shadow: 0 0 0 30px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
@keyframes playground-speaking-pulse { 0% { transform: scale(1.1); } 50% { transform: scale(1.2); } 100% { transform: scale(1.1); } }
@keyframes playground-dot-bounce { 0%, 80%, 100% { transform: scale(0.6); opacity: 0.6; } 40% { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .voice-visualizer, .voice-visualizer i, .processing-dot, .loading-dots div { animation: none !important; }
}

/* ---------- Copy buttons over code samples (rehearsal room and integrations) ---------- */
.copy-wrapper { position: relative; }
.modal-copy-icon {
  position: absolute; top: 10px; inset-inline-end: 10px; z-index: 10; cursor: pointer;
  padding: 3px 10px; font-size: var(--fs-base); border-radius: var(--radius-xs);
  color: var(--text-secondary); background-color: var(--grey-100); border: 1px solid var(--border-color);
  transition: var(--transition);
}
.modal-copy-icon:hover { color: var(--text-primary); background-color: var(--grey-200); border-color: var(--grey-300); }
.modal-copy-icon.copied { color: var(--success-color); background-color: var(--success-soft); border-color: color-mix(in srgb, var(--success-color) 40%, transparent); }
.modal-copy-icon.copied .fa-check { font-weight: var(--fw-semibold); }

/* ---------- Integrations ---------- */
.studio-integration .input-type-tag {
  display: inline-block; margin: 0 2px; padding: 2px 6px; font-family: var(--font-mono); font-size: var(--fs-xs);
  background-color: var(--grey-100); border: 1px solid var(--border-color); border-radius: var(--radius-xs);
}
.studio-integration .sola-alert { display: block; }
.studio-integration .integration-tabs .nav-tabs { border-bottom-color: var(--border-color); }
.studio-integration .integration-tabs .nav-tabs .nav-link { border-radius: 0; }
.studio-integration .integration-tabs .tab-content { border: 0; }
.studio-integration .integration-editor { width: 100%; direction: ltr; }
.studio-integration .integration-editor--tall { min-height: 350px; }
.studio-integration .integration-editor--html { min-height: 72px; }
.studio-integration .integration-editor--embed { min-height: 226px; }
.studio-integration .integration-editor--workspace { min-height: 250px; }
.studio-integration .embed-editor { border: 1px solid var(--border-color); border-radius: var(--radius-xs); }
.studio-integration .ace_gutter-cell.ace_info,
.studio-integration .ace_gutter-cell.ace_error { background: transparent; }
.studio-integration .ace_tooltip { display: none !important; }
.studio-integration .embed-list { padding-inline-start: var(--space-5); }
.studio-integration .embed-list code { direction: ltr; unicode-bidi: isolate; }
.studio-integration .integration-resources { font-size: var(--fs-xs); margin: var(--space-4) 0 0; padding: var(--space-3); padding-inline-end: var(--space-12); background: var(--bg-muted); border: 1px solid var(--border-color); border-radius: var(--radius-xs); direction: ltr; text-align: start; }
.studio-integration .mcp-config-box { padding: 10px; background-color: var(--bg-muted); border: 1px solid var(--border-color); border-radius: var(--radius-xs); }
.studio-integration .mcp-config-list { list-style: none; padding-inline-start: 0; margin: 0; line-height: var(--lh-relaxed); }
