*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; overflow: hidden; }

body {
  font-family: 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
  color: #242424;
  display: flex;
  background: #fafafa;
}

/* ============ SIDEBAR ============ */
.sidebar {
  width: 256px;
  min-width: 256px;
  background: #fff;
  border-right: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow-y: auto;
}

.sidebar-top { padding: 12px 12px 0; }

.sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 8px 16px;
}
.sidebar-brand-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-brand img { width: 20px; height: 20px; }
.sidebar-brand span { font-size: 16px; font-weight: 600; color: #242424; }
.sidebar-collapse-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: none; background: transparent; border-radius: 6px;
  color: #616161; cursor: default;
}
.sidebar-collapse-btn:hover { background: #f5f5f5; }

.sidebar-nav { padding: 0 8px; }
.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
  color: #424242;
  cursor: default;
  user-select: none;
}
.sidebar-nav-item:hover { background: #f5f5f5; }
.sidebar-nav-item svg { width: 20px; height: 20px; color: #616161; flex-shrink: 0; }

.sidebar-section-label {
  font-size: 12px;
  font-weight: 400;
  color: #616161;
  padding: 16px 12px 6px;
}

.sidebar-agent-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 14px;
  color: #424242;
  cursor: default;
  user-select: none;
}
.sidebar-agent-item:hover { background: #f5f5f5; }
.sidebar-agent-item.active {
  background: #f0f0f0;
  font-weight: 600;
  position: relative;
}
.sidebar-agent-item.active::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 20px;
  border-radius: 2px;
  background: #464FEB;
}

.sidebar-agent-icon {
  width: 24px; height: 24px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  color: #fff;
  font-weight: 600;
}

.sidebar-chat-item {
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: #616161;
  cursor: default;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-chat-item:hover { background: #f5f5f5; }

.sidebar-bottom {
  margin-top: auto;
  padding: 12px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-bottom-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 14px;
  color: #424242;
  cursor: default;
}
.sidebar-bottom-item:hover { background: #f5f5f5; }
.sidebar-bottom-item svg { width: 20px; height: 20px; color: #616161; }

.user-avatar-pill {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #7B3F9E;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============ MAIN CONTENT ============ */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-width: 0;
  background: #fafafa;
}

/* Header */
.header {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  background: transparent; /* inherits #fafafa from .main */
  flex-shrink: 0;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #616161;
}
.header-left .breadcrumb-agent {
  font-weight: 600;
  color: #242424;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 4px;
}
.header-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
  color: #424242;
  cursor: default;
  font-family: inherit;
}
.header-btn svg { width: 16px; height: 16px; }
.header-btn-primary {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border: none;
  border-radius: 6px;
  background: #464FEB;
  color: #fff;
  cursor: default;
}
.header-btn-primary svg { width: 18px; height: 18px; }
.header-icon-btn {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: default;
}
.header-icon-btn:hover { background: #f5f5f5; }
.header-icon-btn svg { width: 18px; height: 18px; color: #616161; }

/* ============ WELCOME / INITIAL STATE ============ */
.content-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  background: #fff;
}

.welcome-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 24px;
}
.welcome-view.hidden { display: none; }

.welcome-agent-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.welcome-title {
  font-size: 32px;
  font-weight: 600;
  color: #242424;
  text-align: center;
}
.welcome-subtitle {
  font-size: 14px;
  color: #707070;
  margin-top: -16px;
}

/* Starters grid */
.starters-grid {
  display: grid;
  grid-template-columns: repeat(3, 247px);
  gap: 8px 10px;
  margin-top: 8px;
}

.starter-card {
  background: #fff;
  border: 0.571px solid #e0e0e0;
  border-radius: 28px;
  padding: 16px;
  width: 247px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: box-shadow 0.15s, border-color 0.15s;
  user-select: none;
}
.starter-card:hover {
  border-color: #c0c0c0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.starter-icon {
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.starter-icon svg { width: 20px; height: 20px; }

.starter-title {
  font-size: 14px;
  font-weight: 600;
  color: #242424;
  line-height: 1.3;
}
.starter-desc {
  font-size: 12px;
  color: #616161;
  line-height: 1.4;
}

.show-more-btn {
  font-size: 13px;
  color: #464FEB;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 4px 0;
  margin-top: 4px;
}

/* Input area (shared for welcome + conversation) */
.input-wrapper {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}
.input-wrapper.welcome-input {
  position: relative;
}

/* Shadow container */
.input-shadow {
  border-radius: 32px;
  box-shadow: rgba(0,30,68,0.04) 0px 10px 12px 0px, rgba(0,30,68,0.06) 0px 2px 8px 0px;
  padding: 1px;
}

/* White inner container */
.input-container {
  background: #fff;
  border-radius: 31px;
  padding: 16px 0 0;
  display: flex;
  flex-direction: column;
}

/* Text input row */
.input-field-row {
  display: flex;
  align-items: flex-start;
  padding: 0 20px 16px;
  position: relative;
}

.input-field {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  color: #242424;
  resize: none;
  min-height: 24px;
  max-height: 120px;
  line-height: 24px;
  background: transparent;
  padding: 0 4px;
  margin-right: 42px;
}
.input-field::placeholder { color: #707070; }

/* Bottom row: + button left, mic right */
.input-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 12px;
}

.input-left-btns {
  display: flex;
  gap: 2px;
}

.input-icon-btn {
  width: 40px; height: 40px;
  border: none;
  background: transparent;
  border-radius: 10000px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #616161;
}
.input-icon-btn:hover { background: #f5f5f5; }
.input-icon-btn svg { width: 20px; height: 20px; }

.send-btn {
  width: 36px; height: 36px;
  border: none;
  border-radius: 50%;
  background: #464FEB;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.15s;
}
.send-btn:disabled {
  opacity: 0;
  cursor: default;
  pointer-events: none;
}
.send-btn svg { width: 20px; height: 20px; }

/* ============ CONVERSATION VIEW ============ */
.conversation-view {
  flex: 1;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.conversation-view.active {
  display: flex;
}

.messages-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 20px 0;
}

.messages-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* User message */
.msg-user {
  display: flex;
  justify-content: flex-end;
}
.msg-user-bubble {
  background: #f5f5f5;
  color: #424242;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 16px;
  line-height: 22px;
  max-width: 70%;
}

/* Agent message */
.msg-agent {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.msg-agent-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.agent-avatar {
  width: 24px; height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.agent-avatar img { width: 24px; height: 24px; border-radius: 6px; }
.agent-name {
  font-size: 16px;
  font-weight: 600;
  color: #424242;
}

/* Thinking step */
.thinking-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f9f9f9;
  border-radius: 8px;
  font-size: 14px;
  color: #616161;
  cursor: pointer;
  user-select: none;
  width: fit-content;
}
.thinking-step svg { width: 16px; height: 16px; color: #616161; }
.thinking-step .spinner {
  width: 16px; height: 16px;
  border: 2px solid #e0e0e0;
  border-top-color: #7B3F9E;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Agent response body */
.msg-agent-body {
  font-size: 16px;
  line-height: 22px;
  color: #424242;
  padding-left: 32px;
}
.msg-agent-body h1 { font-size: 20px; font-weight: 700; margin: 16px 0 8px; color: #242424; }
.msg-agent-body h2 { font-size: 18px; font-weight: 700; margin: 16px 0 8px; color: #242424; }
.msg-agent-body h3 { font-size: 16px; font-weight: 700; margin: 14px 0 6px; color: #242424; }
.msg-agent-body p { margin: 6px 0; }
.msg-agent-body strong { font-weight: 600; }
.msg-agent-body ul, .msg-agent-body ol { margin: 6px 0 6px 20px; }
.msg-agent-body li { margin: 3px 0; }
.msg-agent-body hr { border: none; border-top: 1px solid #e0e0e0; margin: 16px 0; }
.msg-agent-body table { border-collapse: collapse; margin: 10px 0; font-size: 14px; }
.msg-agent-body th, .msg-agent-body td {
  border: 1px solid #e0e0e0;
  padding: 6px 12px;
  text-align: left;
}
.msg-agent-body th { background: #f5f5f5; font-weight: 600; }
.msg-agent-body blockquote {
  border-left: 3px solid #7B3F9E;
  padding-left: 12px;
  color: #616161;
  margin: 8px 0;
}
.msg-agent-body.streaming img { display: none; }
.msg-agent-body img { max-width: 100%; height: auto; border-radius: 12px; margin: 8px 0; }

/* Feedback buttons */
.feedback-btns {
  display: flex;
  gap: 4px;
  padding-left: 32px;
  margin-top: 4px;
}
.feedback-btn {
  width: 28px; height: 28px;
  border: none;
  background: transparent;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #707070;
}
.feedback-btn:hover { background: #f0f0f0; color: #424242; }
.feedback-btn svg { width: 16px; height: 16px; }

/* Citations / Sources */
.citation {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f0f0f0;
  color: #616161;
  border-radius: 10000px;
  padding: 4px 8px 4px 6px;
  font-size: 10px;
  line-height: 14px;
  cursor: pointer;
  text-decoration: none;
  margin: 2px 2px;
  vertical-align: middle;
}
.citation:hover { background: #e6e6e6; }
.citation .cite-icon { width: 14px; height: 14px; flex-shrink: 0; }
.citation .cite-count {
  background: #d1d1d1;
  color: #424242;
  border-radius: 10000px;
  padding: 0 4px;
  font-size: 9px;
  font-weight: 600;
  margin-left: 2px;
}

/* Sources panel */
.sources-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 12px;
  color: #424242;
  background: #fff;
  cursor: pointer;
  margin-left: 8px;
}
.sources-btn:hover { background: #f5f5f5; }
.sources-btn svg { width: 14px; height: 14px; }

.sources-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 100%;
  background: #fafafa;
  display: none;
  flex-direction: column;
  z-index: 10;
}
.sources-panel.open { display: flex; }

.sources-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  flex-shrink: 0;
}
.sources-panel-header span {
  font-size: 14px;
  font-weight: 600;
  color: #242424;
}
.sources-panel-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  color: #424242;
}
.sources-panel-close:hover { background: #e6e6e6; }

.sources-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 12px 20px;
}

.sources-section-label {
  font-size: 12px;
  font-weight: 600;
  color: #242424;
  padding: 8px 8px 6px;
}

.source-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
}
.source-item:hover { background: #f0f0f0; }

.source-icon-container {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.source-icon-container img { width: 20px; height: 20px; }
.source-icon-container svg { width: 20px; height: 20px; }

.source-info {
  flex: 1;
  min-width: 0;
}
.source-title {
  font-size: 13px;
  font-weight: 400;
  color: #242424;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.source-meta {
  font-size: 12px;
  color: #616161;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.source-url {
  font-size: 11px;
  color: #707070;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.source-copilot-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  color: #616161;
  padding: 4px;
}
.source-copilot-btn:hover { background: #e6e6e6; }
.source-copilot-btn svg { width: 16px; height: 16px; }

/* Suggestion pills */
.suggestion-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-left: 32px;
  margin-top: 8px;
}
.suggestion-pill {
  border-radius: 10000px;
  padding: 6px 10px;
  border: 1px solid #e0e0e0;
  background: #fff;
  font-size: 13px;
  color: #424242;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s;
}
.suggestion-pill:hover {
  border-color: #c0c0c0;
  background: #f9f9f9;
}

/* Bottom input in conversation */
.conv-input-area {
  padding: 12px 20px 16px;
  background: #fafafa;
  flex-shrink: 0;
}
.conv-input-area .input-wrapper {
  padding: 0;
}

/* Scrollbar styling */
.messages-scroll::-webkit-scrollbar { width: 6px; }
.messages-scroll::-webkit-scrollbar-track { background: transparent; }
.messages-scroll::-webkit-scrollbar-thumb { background: #d0d0d0; border-radius: 3px; }
.messages-scroll::-webkit-scrollbar-thumb:hover { background: #b0b0b0; }

.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: #e0e0e0; border-radius: 2px; }

/* ============ GUIDED TOUR ============ */
.tour-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9000;
  transition: opacity 0.3s ease;
  pointer-events: auto;
}
.tour-overlay.hidden { opacity: 0; pointer-events: none; }

.tour-highlight {
  z-index: 9001 !important;
  box-shadow: 0 0 0 4px rgba(70, 79, 235, 0.5), 0 0 20px rgba(70, 79, 235, 0.3) !important;
  border-radius: 8px;
  animation: tour-pulse 2s ease-in-out infinite;
}
/* Lift the main content area above the overlay during streaming highlight */
.tour-elevated {
  position: relative;
  z-index: 9001;
}
@keyframes tour-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(70, 79, 235, 0.5), 0 0 20px rgba(70, 79, 235, 0.3); }
  50%      { box-shadow: 0 0 0 8px rgba(70, 79, 235, 0.3), 0 0 30px rgba(70, 79, 235, 0.15); }
}

.tour-tooltip {
  position: fixed;
  z-index: 9002;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  padding: 20px;
  max-width: 340px;
  width: 340px;
  font-family: inherit;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.tour-tooltip.hidden { opacity: 0; pointer-events: none; }

.tour-tooltip-step {
  font-size: 11px;
  font-weight: 600;
  color: #464FEB;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.tour-tooltip-title {
  font-size: 16px;
  font-weight: 600;
  color: #242424;
  margin-bottom: 6px;
}
.tour-tooltip-body {
  font-size: 14px;
  color: #616161;
  line-height: 1.5;
  margin-bottom: 16px;
}
.tour-tooltip-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tour-btn-next {
  background: #464FEB;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.tour-btn-next:hover { background: #3a42d4; }
.tour-btn-skip {
  background: none;
  border: none;
  color: #707070;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  padding: 4px 8px;
}
.tour-btn-skip:hover { color: #424242; }
.tour-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  color: #707070;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
}
.tour-close:hover { background: #f0f0f0; color: #424242; }

.tour-tooltip::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
}
.tour-tooltip[data-position="right"]::after { left: -6px; top: 24px; }
.tour-tooltip[data-position="left"]::after  { right: -6px; top: 24px; }
.tour-tooltip[data-position="bottom"]::after { top: -6px; left: 30px; }
.tour-tooltip[data-position="top"]::after    { bottom: -6px; left: 30px; }

/* ============ SOURCE CARD POPUP ============ */
.source-item--has-card { cursor: pointer; }
.source-item--has-card:hover { background: #f5f5f5; border-radius: 6px; }

.source-agent-avatar {
  width: 28px; height: 28px;
  border-radius: 7px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.source-agent-avatar img { width: 28px; height: 28px; display: block; }
.source-agent-label {
  font-size: 11px;
  font-weight: 700;
  color: #464FEB;
  margin-bottom: 2px;
}

#sourceCardOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.32);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sc-popup {
  background: #fff;
  border-radius: 8px;
  padding: 20px 24px;
  width: 480px;
  max-width: 90vw;
  max-height: 82vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}
.sc-agent-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}
.sc-agent-bar-icon {
  width: 20px; height: 20px;
  border-radius: 5px;
  display: block;
}
.sc-agent-bar-name {
  font-size: 13px;
  font-weight: 600;
  color: #242424;
}
.sc-header-label {
  font-size: 11px;
  font-weight: 700;
  color: #464FEB;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 12px;
}
.sc-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 12px;
}
.sc-subject-col { flex: 1; min-width: 0; }
.sc-subject {
  font-size: 17px;
  font-weight: 700;
  color: #242424;
  line-height: 1.3;
  margin-bottom: 6px;
  overflow-wrap: break-word;
}
.sc-sender-row {
  font-size: 13px;
  color: #424242;
  margin-bottom: 3px;
}
.sc-sender-name { font-weight: 700; }
.sc-sender-sep { color: #bbb; }
.sc-sender-email { color: #CC4400; }
.sc-date { font-size: 12px; color: #707070; }
.sc-flags {
  font-size: 18px;
  white-space: nowrap;
  padding-top: 2px;
  letter-spacing: 2px;
}
.sc-preview {
  background: #EFF3FF;
  border-radius: 6px;
  padding: 12px 14px;
  margin: 12px 0;
}
.sc-preview-label {
  font-size: 11px;
  font-weight: 700;
  color: #424242;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}
.sc-preview-text {
  font-size: 13px;
  color: #424242;
  line-height: 1.55;
}
.sc-facts { margin: 12px 0 16px; }
.sc-fact {
  display: flex;
  gap: 12px;
  padding: 5px 0;
  font-size: 13px;
  border-bottom: 1px solid #f0f0f0;
}
.sc-fact:last-child { border-bottom: none; }
.sc-fact-title { font-weight: 600; color: #424242; min-width: 80px; flex-shrink: 0; }
.sc-fact-value { color: #616161; word-break: break-word; }
.sc-action-btn {
  display: inline-block;
  padding: 8px 18px;
  background: #6264A7;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}
.sc-action-btn:disabled { background: #e0e0e0; color: #616161; cursor: default; }
