:root {
  --bg-main: #0B0F19;
  --bg-panel: rgba(22, 28, 45, 0.6);
  --bg-input: #0F1322;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(139, 92, 246, 0.25);
  
  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  
  --accent-purple: #8B5CF6;
  --accent-blue: #3B82F6;
  --accent-green: #10B981;
  --accent-red: #EF4444;
  
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg-main);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  min-height: 100vh;
  overflow-x: hidden;
}

.ambient { position: fixed; pointer-events: none; border-radius: 50%; filter: blur(100px); opacity: 0.12; z-index: -1; }
.ambient-one { width: 450px; height: 450px; background: #6532ff; top: -150px; left: 15%; }
.ambient-two { width: 400px; height: 400px; background: #007aff; right: -100px; top: 30%; }

.app-shell { display: flex; min-height: 100vh; }

.sidebar {
  width: 260px; background: #0D1220; border-right: 1px solid var(--border-color);
  padding: 30px 20px; display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; z-index: 20;
}
.brand { padding-bottom: 30px; border-bottom: 1px solid var(--border-color); }
.brand strong { font-family: 'Space Grotesk', sans-serif; font-size: 22px; }
.brand strong span { color: var(--accent-purple); }

.nav-list { margin-top: 30px; display: grid; gap: 6px; }
.nav-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: var(--text-muted);
  text-decoration: none; border-radius: var(--radius-md); background: transparent; border: none;
  font-weight: 500; font-size: 13px; text-align: left; cursor: pointer; transition: var(--transition-smooth);
}
.nav-item:hover, .nav-item.active { color: #FFF; background: rgba(139, 92, 246, 0.12); }
.nav-item.active { border-left: 3px solid var(--accent-purple); color: #E4DCFF; }
.nav-count { margin-left: auto; background: rgba(255,255,255,0.08); padding: 2px 8px; border-radius: 20px; font-size: 11px; }

.sidebar-bottom { margin-top: auto; }
.status-card { background: rgba(16, 185, 129, 0.05); border: 1px solid rgba(16, 185, 129, 0.15); padding: 16px; border-radius: var(--radius-md); }
.status-top { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--accent-green); }
.status-pulse { width: 8px; height: 8px; background: var(--accent-green); border-radius: 50%; box-shadow: 0 0 10px var(--accent-green); }
.status-card p { font-size: 11px; color: var(--text-muted); margin-top: 6px; }

.main-content { margin-left: 260px; width: calc(100% - 260px); padding: 40px 45px; }
.topbar { height: 60px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border-color); margin-bottom: 35px; }
.breadcrumbs { font-size: 12px; color: var(--text-muted); }
.breadcrumbs strong { color: var(--text-main); }
.top-actions { display: flex; align-items: center; gap: 20px; }
.system-status { font-size: 11px; color: var(--text-muted); border: 1px solid var(--border-color); padding: 6px 14px; border-radius: 30px; }
.top-avatar { width: 32px; height: 32px; background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue)); border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; }

.view { display: none; }
.view.active-view { display: block; animation: fadeUp 0.35s ease forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.welcome-row h1, .page-title-row h1 { font-family: 'Space Grotesk', sans-serif; font-size: 34px; font-weight: 700; margin-bottom: 6px; }
.gradient-text { background: linear-gradient(120deg, #b08aff, #7c9dff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.subtitle { color: var(--text-muted); font-size: 14px; }
.page-title-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }

.button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; font-size: 13px; font-weight: 600; border-radius: var(--radius-md); border: 1px solid transparent; cursor: pointer; transition: var(--transition-smooth); }
.button-primary { background: var(--accent-purple); color: #FFF; }
.button-primary:hover { background: #7C3AED; }
.button-ghost { background: rgba(255,255,255,0.03); border-color: var(--border-color); color: var(--text-main); }
.button-ghost:hover { background: rgba(255,255,255,0.08); }
.button-danger-ghost { background: rgba(239, 68, 68, 0.05); border-color: rgba(239, 68, 68, 0.2); color: #FF7878; }
.button-danger-ghost:hover { background: var(--accent-red); color: white; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 30px 0 40px; }
.stat-card { background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-premium); backdrop-filter: blur(10px); }
.stat-top { display: flex; justify-content: space-between; align-items: center; }
.stat-icon { font-size: 20px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--radius-sm); }
.stat-tag { font-size: 10px; font-weight: 700; color: var(--text-muted); letter-spacing: 0.5px; }
.stat-value { font-size: 30px; font-weight: 700; font-family: 'Space Grotesk', sans-serif; margin-top: 14px; }
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.bottom-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; }
.panel { background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-premium); backdrop-filter: blur(10px); }
.panel-heading h3 { font-size: 16px; font-weight: 600; margin-bottom: 20px; }

.quick-action { width: 100%; display: flex; align-items: center; gap: 16px; background: transparent; border: none; border-top: 1px solid var(--border-color); padding: 16px 0; color: var(--text-main); text-align: left; cursor: pointer; }
.quick-action:first-of-type { border-top: none; padding-top: 0; }
.quick-icon { width: 36px; height: 36px; border-radius: var(--radius-sm); display: grid; place-items: center; font-weight: 700; font-size: 16px; }
.quick-icon.purple { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); }
.quick-icon.blue { background: rgba(59, 130, 246, 0.15); color: var(--accent-blue); }
.quick-icon.green { background: rgba(16, 185, 129, 0.15); color: var(--accent-green); }
.quick-action strong { display: block; font-size: 13px; }
.quick-action small { display: block; font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.chat-layout { display: grid; grid-template-columns: 1.8fr 1fr; gap: 25px; }
.chat-window { background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: var(--radius-lg); box-shadow: var(--shadow-premium); display: flex; flex-direction: column; height: 560px; overflow: hidden; backdrop-filter: blur(15px); }
.chat-header { padding: 18px 24px; border-bottom: 1px solid var(--border-color); display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,0.01); }
.bot-avatar { width: 38px; height: 38px; background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue)); border-radius: var(--radius-md); display: grid; place-items: center; font-size: 18px; font-weight: bold; }
.chat-header-text strong { display: block; font-size: 13px; }
.chat-header-text small { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.chat-header-text small i { width: 6px; height: 6px; background: var(--accent-green); border-radius: 50%; }

.chat-messages { flex: 1; padding: 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.message-row { display: flex; gap: 12px; max-width: 80%; animation: fadeUp 0.2s ease; }
.message-row.user { align-self: flex-end; flex-direction: row-reverse; }
.message-bubble { padding: 12px 18px; border-radius: var(--radius-md); font-size: 13px; line-height: 1.5; word-break: break-word; }
.message-row:not(.user) .message-bubble { background: rgba(255,255,255,0.04); border: 1px solid var(--border-color); color: var(--text-main); border-top-left-radius: 2px; }
.message-row.user .message-bubble { background: var(--accent-purple); color: white; border-top-right-radius: 2px; }
.match-label { font-size: 10px; color: var(--accent-green); margin-top: 4px; display: block; font-weight: 500; }

.suggested-area { padding: 10px 24px; background: rgba(0,0,0,0.1); border-top: 1px solid var(--border-color); }
.suggested-area span { font-size: 10px; font-weight: 700; color: var(--text-muted); display: block; margin-bottom: 6px; }
.suggested-questions { display: flex; gap: 8px; flex-wrap: wrap; }
.suggestion { background: rgba(139, 92, 246, 0.08); border: 1px solid rgba(139, 92, 246, 0.2); color: #C0A5FF; padding: 6px 12px; border-radius: var(--radius-sm); font-size: 11px; cursor: pointer; transition: var(--transition-smooth); }
.suggestion:hover { background: rgba(139, 92, 246, 0.16); border-color: rgba(139, 92, 246, 0.4); }

.chat-compose { padding: 16px 24px; background: rgba(0,0,0,0.2); border-top: 1px solid var(--border-color); display: flex; gap: 12px; }
.chat-compose input { flex: 1; background: var(--bg-input); border: 1px solid var(--border-color); padding: 12px 16px; border-radius: var(--radius-md); color: white; outline: none; font-size: 13px; }
.chat-compose input:focus { border-color: var(--accent-purple); }
.send-button { background: var(--accent-purple); border: none; color: white; width: 42px; height: 42px; border-radius: var(--radius-md); font-size: 16px; cursor: pointer; transition: var(--transition-smooth); }
.send-button:hover { background: #7C3AED; }

.faq-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.search-box { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.02); border: 1px solid var(--border-color); padding: 0 16px; border-radius: var(--radius-md); flex: 1; max-width: 450px; }
.search-box input { width: 100%; height: 42px; background: transparent; border: none; outline: none; color: white; font-size: 13px; }
.result-count { font-size: 13px; color: var(--text-muted); }

.faq-list { display: grid; gap: 12px; }
.faq-card { background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 20px; transition: var(--transition-smooth); }
.faq-card:hover { border-color: rgba(255,255,255,0.15); }
.faq-card-top { display: flex; align-items: flex-start; gap: 16px; }
.faq-number { width: 32px; height: 32px; background: rgba(139, 92, 246, 0.1); color: #C0A5FF; font-weight: 700; font-size: 12px; display: grid; place-items: center; border-radius: var(--radius-sm); }
.faq-main { flex: 1; }
.faq-main h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.faq-main p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.faq-actions { display: flex; gap: 8px; }
.small-action { background: rgba(255,255,255,0.03); border: 1px solid var(--border-color); color: var(--text-main); padding: 6px 12px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 500; cursor: pointer; }
.small-action:hover { background: rgba(255,255,255,0.08); }
.small-action.delete:hover { background: var(--accent-red); color: white; border-color: var(--accent-red); }
.keyword-row { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0 0 48px; }
.keyword { background: rgba(59, 130, 246, 0.08); border: 1px solid rgba(59, 130, 246, 0.15); color: #93B5FF; padding: 2px 8px; border-radius: 4px; font-size: 11px; }

.logs-panel { background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-premium); }
.compact-search input { height: 36px; }
.logs-list { display: grid; gap: 10px; margin-top: 15px; }
.log-row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 20px; padding: 14px 20px; background: rgba(255,255,255,0.01); border: 1px solid var(--border-color); border-radius: var(--radius-md); transition: var(--transition-smooth); }
.log-row:hover { background: rgba(255,255,255,0.03); border-color: rgba(139, 92, 246, 0.25); transform: translateX(2px); }
.log-avatar { width: 36px; height: 36px; background: rgba(59, 130, 246, 0.12); color: var(--accent-blue); border-radius: var(--radius-sm); display: grid; place-items: center; font-size: 15px; }
.log-info strong { display: block; font-size: 14px; font-weight: 600; color: var(--text-main); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log-info p { font-size: 12px; color: var(--text-muted); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log-meta { text-align: right; font-size: 12px; color: var(--text-muted); padding-right: 10px; }
.log-meta strong { display: block; color: var(--text-main); font-weight: 500; }
.log-open { background: rgba(255,255,255,0.03); border: 1px solid var(--border-color); color: var(--text-main); padding: 8px 14px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; cursor: pointer; transition: var(--transition-smooth); }
.log-open:hover { background: var(--accent-purple); border-color: var(--accent-purple); color: white; }

.modal { width: min(500px, calc(100% - 32px)); border: 1px solid rgba(139, 92, 246, 0.25); border-radius: var(--radius-lg); padding: 24px; background: #121727; color: white; margin: auto; box-shadow: 0 30px 60px rgba(0,0,0,0.6); }
.modal::backdrop { background: rgba(3, 4, 10, 0.8); backdrop-filter: blur(8px); }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.modal-head h2 { font-family: 'Space Grotesk', sans-serif; font-size: 20px; }
.modal-close { background: transparent; border: none; color: var(--text-muted); font-size: 24px; cursor: pointer; }
.field-label { display: block; font-size: 12px; font-weight: 600; margin: 16px 0 6px; color: var(--text-main); }
.field-label span { color: var(--accent-red); }
.field-input { width: 100%; background: var(--bg-input); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 12px; color: white; font-size: 13px; outline: none; }
.field-input:focus { border-color: var(--accent-purple); }
.field-textarea { resize: vertical; font-family: inherit; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }

.conversation-detail { max-height: 400px; overflow-y: auto; display: grid; gap: 12px; padding-right: 4px; }
.detail-message { padding: 12px 16px; background: rgba(255,255,255,0.02); border: 1px solid var(--border-color); border-radius: var(--radius-md); }
.detail-message-head { display: flex; justify-content: space-between; font-size: 11px; margin-bottom: 4px; color: var(--text-muted); }

.toast { position: fixed; right: 24px; bottom: 24px; background: #1B2236; border: 1px solid var(--accent-purple); padding: 12px 20px; border-radius: var(--radius-md); box-shadow: var(--shadow-premium); font-size: 13px; z-index: 100; opacity: 0; transform: translateY(10px); pointer-events: none; transition: var(--transition-smooth); }
.toast.show { opacity: 1; transform: translateY(0); }
.no-results { text-align: center; padding: 40px; color: var(--text-muted); font-size: 13px; }

:root {
  --bg-main: #0b0d18;
  --bg-panel: rgba(20, 24, 41, 0.82);
  --bg-input: #101321;
  --border-color: rgba(191, 197, 255, 0.1);
  --border-glow: rgba(139, 119, 255, 0.35);
  --text-main: #f4f4fb;
  --text-muted: #a1a5bb;
  --accent-purple: #9474ff;
  --accent-blue: #56b6ff;
  --accent-green: #50d6a2;
  --accent-red: #ff647c;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-premium: 0 24px 60px -28px rgba(0, 0, 0, 0.82);
}

html { min-width: 320px; scroll-behavior: smooth; }
body {
  background:
    radial-gradient(ellipse at 73% 0%, rgba(96, 70, 190, 0.15), transparent 34rem),
    radial-gradient(ellipse at 92% 64%, rgba(37, 126, 180, 0.1), transparent 34rem),
    var(--bg-main);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, input, textarea { font: inherit; }
button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}
.ambient { opacity: 0.16; filter: blur(120px); }
.ambient-one { background: #7549ff; }
.ambient-two { background: #168dcc; }
.sidebar {
  background: rgba(13, 15, 28, 0.94);
  border-right-color: rgba(191, 197, 255, 0.09);
  backdrop-filter: blur(24px);
}
.brand strong, .welcome-row h1, .page-title-row h1, .stat-value, .modal-head h2 {
  font-family: "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.035em;
}
.brand-caption {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 1.5px;
}
.nav-list { margin-top: 26px; }
.nav-item { min-height: 44px; }
.nav-item.active { border-left-width: 0; box-shadow: inset 3px 0 var(--accent-purple); }
.status-card { background: rgba(80, 214, 162, 0.055); }
.main-content { padding-top: 32px; }
.topbar { border-bottom-color: var(--border-color); }
.system-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c4c8dc;
  border-color: var(--border-color);
}
.system-status i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 12px rgba(80, 214, 162, 0.75);
}
.eyebrow {
  color: #a894ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
}
.welcome-row h1 {
  max-width: 800px;
  margin: 12px 0 10px;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.08;
}
.subtitle { max-width: 650px; line-height: 1.7; }
.gradient-text { background-image: linear-gradient(110deg, #b394ff 5%, #72c8ff 96%); }
.stats-grid { gap: 16px; margin: 30px 0 26px; }
.stat-card, .panel, .logs-panel, .chat-window {
  background: linear-gradient(145deg, rgba(23, 27, 47, 0.9), rgba(15, 18, 33, 0.84));
  border-color: rgba(191, 197, 255, 0.105);
  box-shadow: 0 18px 48px -30px rgba(0, 0, 0, 0.95);
}
.stat-card {
  min-height: 148px;
  padding: 20px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.stat-card:hover { transform: translateY(-3px); border-color: var(--border-glow); }
.stat-icon { background: rgba(148, 116, 255, 0.12); }
.stat-icon.cyan { background: rgba(86, 182, 255, 0.12); }
.stat-icon.green { background: rgba(80, 214, 162, 0.12); }
.stat-icon.orange { background: rgba(255, 181, 107, 0.12); }
.stat-value { letter-spacing: -0.045em; }
.stat-label { line-height: 1.5; }
.bottom-grid { align-items: stretch; gap: 16px; }
.panel { padding: 24px; }
.panel-heading h3, .engine-panel h3 { font-size: 16px; letter-spacing: -0.02em; }
.quick-action { border-color: rgba(191, 197, 255, 0.09); }
.quick-action:hover strong { color: #cbbaff; }
.quick-icon { flex: 0 0 auto; }
.engine-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 250px;
  background:
    radial-gradient(circle at 100% 0%, rgba(116, 83, 240, 0.2), transparent 14rem),
    linear-gradient(145deg, rgba(24, 26, 49, 0.94), rgba(14, 18, 32, 0.92));
}
.engine-mark {
  position: absolute;
  top: 18px;
  right: 22px;
  color: rgba(181, 160, 255, 0.3);
  font-size: 54px;
}
.engine-panel h3 { margin-top: 12px; font-size: 21px; }
.engine-copy { max-width: 380px; margin-top: 10px; color: var(--text-muted); line-height: 1.7; }
.engine-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.engine-pills span {
  border: 1px solid rgba(148, 116, 255, 0.2);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(148, 116, 255, 0.08);
  color: #d0c3ff;
  font-size: 10px;
  font-weight: 700;
}
.button { min-height: 40px; }
.button-primary { background: linear-gradient(115deg, #7955ed, #8f68fa); }
.button-primary:hover { background: linear-gradient(115deg, #6843de, #8059ec); transform: translateY(-1px); }
.button-ghost:hover, .small-action:hover, .log-open:hover { border-color: var(--border-glow); }
.chat-layout { grid-template-columns: minmax(0, 1.8fr) minmax(220px, 1fr); }
.chat-window { border-radius: var(--radius-lg); }
.chat-header { border-color: var(--border-color); }
.chat-header-divider { color: #686d86; }
.chat-messages { gap: 18px; }
.message-bubble { line-height: 1.65; }
.message-row:not(.user) .message-bubble { background: rgba(255, 255, 255, 0.045); }
.message-row.user .message-bubble { background: linear-gradient(130deg, #7754ed, #5b70e9); }
.suggested-area, .chat-compose { border-color: var(--border-color); }
.chat-compose input { min-width: 0; }
.send-button { flex: 0 0 42px; background: linear-gradient(135deg, #7955ed, #5978ee); }
.faq-card, .log-row {
  background: rgba(19, 22, 39, 0.72);
  border-color: var(--border-color);
}
.faq-card { padding: 22px; }
.faq-card:hover, .log-row:hover { border-color: var(--border-glow); }
.faq-main h3 { line-height: 1.5; }
.faq-main p { line-height: 1.7; }
.keyword { border-radius: 999px; }
.modal { background: #15182a; border-color: rgba(148, 116, 255, 0.3); }
.field-input { background: #0f1220; }
.toast { background: #1b1d31; border-color: var(--accent-purple); }

@media (max-width: 1100px) {
  .main-content { padding-right: 28px; padding-left: 28px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chat-layout { grid-template-columns: minmax(0, 1.5fr) minmax(200px, 1fr); gap: 16px; }
}

@media (max-width: 760px) {
  .app-shell { display: block; }
  .sidebar {
    position: sticky;
    inset: 0 0 auto;
    width: 100%;
    padding: 12px 18px 10px;
    border-right: 0;
    border-bottom: 1px solid var(--border-color);
  }
  .brand { padding: 0; border: 0; }
  .brand strong { font-size: 20px; }
  .brand-caption, .sidebar-bottom { display: none; }
  .nav-list {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    margin-top: 10px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .nav-list::-webkit-scrollbar { display: none; }
  .nav-item { flex: 0 0 auto; min-height: 38px; padding: 8px 12px; white-space: nowrap; }
  .main-content { width: 100%; margin: 0; padding: 20px 20px 32px; }
  .topbar { height: 46px; margin-bottom: 24px; }
  .top-actions { gap: 10px; }
  .system-status { padding: 6px 9px; font-size: 10px; }
  .top-avatar { width: 30px; height: 30px; }
  .stats-grid { margin-top: 22px; }
  .bottom-grid, .chat-layout { grid-template-columns: 1fr; }
  .engine-panel { min-height: 220px; }
  .chat-window { height: min(66vh, 620px); min-height: 430px; }
  .chat-side { display: none; }
  .page-title-row { align-items: flex-start; gap: 14px; }
  .log-row { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; }
  .log-meta { grid-column: 2; grid-row: 2; text-align: left; padding: 0; }
  .log-open { grid-column: 3; grid-row: 1 / span 2; }
}

@media (max-width: 480px) {
  .sidebar { padding-right: 12px; padding-left: 12px; }
  .main-content { padding: 16px 14px 28px; }
  .breadcrumbs { font-size: 11px; }
  .system-status { max-width: 168px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .welcome-row h1, .page-title-row h1 { font-size: 31px; }
  .subtitle { font-size: 13px; }
  .stats-grid { gap: 10px; margin-bottom: 18px; }
  .stat-card { min-height: 132px; padding: 14px; }
  .stat-tag { font-size: 9px; }
  .stat-value { font-size: 25px; }
  .stat-label { font-size: 11px; }
  .panel, .logs-panel { padding: 18px; }
  .page-title-row { flex-direction: column; }
  .page-actions { display: flex; flex-wrap: wrap; gap: 8px; }
  .chat-window { min-height: 440px; height: 65vh; }
  .chat-header { padding: 14px 16px; }
  .chat-messages { padding: 18px 14px; }
  .message-row { max-width: 92%; }
  .suggested-area { padding: 10px 14px; }
  .chat-compose { padding: 12px 14px; }
  .suggestion { padding: 6px 9px; }
  .faq-card { padding: 16px; }
  .faq-card-top { flex-wrap: wrap; gap: 11px; }
  .faq-main { flex: 1 1 calc(100% - 50px); }
  .faq-actions { width: 100%; padding-left: 43px; }
  .keyword-row { margin-left: 0; }
  .log-row { padding: 12px; }
  .log-avatar { display: none; }
  .log-meta { grid-column: 1; }
  .log-open { grid-column: 2; }
  .toast { right: 14px; bottom: 14px; left: 14px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Light canvas direction inspired by contemporary research and moodboard tools. */
:root {
  --bg-main: #f4f6fb;
  --bg-panel: #ffffff;
  --bg-input: #f7f8fc;
  --border-color: #e8eaf1;
  --border-glow: rgba(64, 103, 255, 0.25);
  --text-main: #202333;
  --text-muted: #777e91;
  --accent-purple: #6753e8;
  --accent-blue: #4678f5;
  --accent-green: #15966d;
  --accent-red: #de5264;
  --shadow-premium: 0 10px 30px -20px rgba(38, 49, 84, 0.24);
}
body {
  color: var(--text-main);
  background:
    radial-gradient(ellipse at 85% 4%, rgba(147, 130, 255, 0.12), transparent 28rem),
    #f4f6fb;
}
.ambient { opacity: 0.08; }
.sidebar {
  background: rgba(255, 255, 255, 0.94);
  border-color: #e8eaf1;
  box-shadow: 6px 0 28px -26px rgba(27, 38, 71, 0.4);
}
.brand strong { color: #272a39; }
.brand strong span { color: #6753e8; }
.brand-caption { color: #9096a8; }
.nav-item { color: #6f7688; }
.nav-item:hover, .nav-item.active {
  color: #4837b8;
  background: #f0edff;
}
.nav-item.active { box-shadow: inset 3px 0 #7459ef; }
.nav-count { color: #6251c7; background: #edeaff; }
.status-card { background: #f2fbf7; border-color: #d9f0e5; }
.status-top { color: #16825f; }
.status-card p { color: #7d8990; }
.main-content { background: transparent; }
.topbar { border-color: #e4e7ef; }
.breadcrumbs { color: #8a91a3; }
.breadcrumbs strong { color: #343848; }
.system-status { color: #596176; background: rgba(255,255,255,.78); }
.top-avatar { color: #fff; background: linear-gradient(135deg, #785cf1, #5c83f5); }
.welcome-row h1, .page-title-row h1 { color: #202333; }
.gradient-text {
  background-image: linear-gradient(110deg, #634ce4 5%, #4388ed 96%);
}
.eyebrow { color: #6753d7; }
.subtitle { color: #7b8294; }
.stat-card, .panel, .logs-panel, .chat-window {
  background: rgba(255,255,255,.93);
  border-color: #e8eaf1;
  box-shadow: 0 9px 26px -20px rgba(30, 42, 77, .25);
}
.stat-card:hover, .faq-card:hover, .log-row:hover { border-color: #d4cdfd; }
.stat-icon { color: #6554d6; background: #f1efff; }
.stat-icon.cyan { color: #3981c5; background: #edf7ff; }
.stat-icon.green { color: #16825f; background: #eaf8f1; }
.stat-icon.orange { color: #c0823e; background: #fff6e9; }
.stat-tag { color: #8a90a1; }
.stat-value { color: #272a39; }
.stat-label { color: #82889a; }
.engine-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(130, 111, 255, .12), transparent 14rem),
    #fff;
}
.engine-mark { color: rgba(107, 82, 227, .16); }
.engine-copy { color: #7c8293; }
.engine-pills span {
  color: #5c4ac6;
  background: #f4f1ff;
  border-color: #e9e3ff;
}
.panel-heading h3, .engine-panel h3 { color: #2b2e3e; }
.quick-action { color: #333748; border-color: #eceef4; }
.quick-action:hover strong { color: #5947cb; }
.quick-icon.purple { color: #6652d3; background: #f0edff; }
.quick-icon.blue { color: #377dca; background: #edf6ff; }
.quick-icon.green { color: #16825f; background: #eaf8f1; }
.quick-action small { color: #878d9d; }
.button-primary {
  color: #fff;
  background: linear-gradient(120deg, #6b53e7, #7b60ee);
  box-shadow: 0 6px 14px -9px rgba(89, 64, 220, .8);
}
.button-primary:hover { background: linear-gradient(120deg, #5f47d6, #7254e4); }
.button-ghost, .small-action, .log-open {
  color: #52596d;
  background: #fff;
  border-color: #e5e7ef;
}
.button-ghost:hover, .small-action:hover {
  color: #5947cb;
  background: #f7f5ff;
}
.button-danger-ghost { color: #ca4a5b; border-color: #f0d7db; background: #fff; }
.chat-header, .suggested-area, .chat-compose { background: #fff; border-color: #eceef4; }
.chat-header-text strong { color: #303446; }
.chat-header-text small { color: #858b9b; }
.chat-header-text small i { background: #27aa7c; }
.chat-messages { background: #fbfbfd; }
.message-row:not(.user) .message-bubble {
  color: #373b4b;
  background: #fff;
  border-color: #e9ebf2;
}
.message-row.user .message-bubble {
  color: #fff;
  background: linear-gradient(130deg, #7356e9, #6378e8);
}
.match-label { color: #16825f; }
.suggested-area span { color: #8b90a0; }
.suggestion {
  color: #5748bb;
  background: #f5f2ff;
  border-color: #e9e3ff;
}
.suggestion:hover { background: #eee9ff; border-color: #d6ccff; }
.chat-compose { background: #fff; }
.chat-compose input {
  color: #303446;
  background: #f7f8fb;
  border-color: #e8eaf1;
}
.chat-compose input::placeholder, .field-input::placeholder { color: #a0a5b2; }
.send-button { color: #fff; background: linear-gradient(135deg, #7356e9, #6378e8); }
.faq-toolbar .search-box { background: #fff; border-color: #e5e7ef; }
.search-box input { color: #303446; }
.search-box input::placeholder { color: #9a9faf; }
.result-count { color: #7c8293; }
.faq-card, .log-row { color: #343748; background: #fff; border-color: #e8eaf1; }
.faq-main h3 { color: #303446; }
.faq-main p, .log-info p { color: #747b8f; }
.faq-number { color: #5e4ac5; background: #f0edff; }
.small-action { color: #53596c; }
.small-action.delete { color: #c7495a; }
.keyword { color: #4778bd; background: #f0f6ff; border-color: #dfeaff; }
.log-info strong, .log-meta strong { color: #303446; }
.log-meta { color: #858b9b; }
.log-avatar { color: #5d58c9; background: #f0edff; }
.log-open:hover { color: #fff; background: #6852df; border-color: #6852df; }
.modal { color: #303446; background: #fff; border-color: #e4e1f3; }
.modal-head h2 { color: #292c3b; }
.modal-close { color: #777e91; }
.modal::backdrop { background: rgba(31, 35, 55, .42); }
.field-label { color: #4a5061; }
.field-input {
  color: #303446;
  background: #f8f9fc;
  border-color: #e5e7ef;
}
.field-input:focus { border-color: #8b77ed; }
.toast { color: #343748; background: #fff; border-color: #d9d1ff; }
.no-results { color: #81889a; }

@media (max-width: 760px) {
  .sidebar { background: rgba(255,255,255,.97); }
  .nav-item { background: #f4f5f9; }
  .nav-item.active { background: #f0edff; }
  .main-content { background: transparent; }
  .chat-messages { background: #fbfbfd; }
}

.workspace-board {
  overflow: hidden;
  margin: 0 0 24px;
  padding: 24px;
  border: 1px solid #e7e9f0;
  border-radius: 22px;
  background: rgba(255,255,255,.63);
  box-shadow: 0 10px 34px -28px rgba(35, 45, 77, .24);
}
.board-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}
.board-heading h2 {
  margin-top: 7px;
  color: #282b3a;
  font-size: 22px;
  letter-spacing: -.035em;
}
.board-subtitle { margin-top: 5px; color: #82889a; font-size: 12px; line-height: 1.6; }
.board-live {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid #e5e7ee;
  border-radius: 999px;
  color: #778092;
  background: #fff;
  font-size: 10px;
  font-weight: 650;
}
.board-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #31ae7e;
  box-shadow: 0 0 0 3px #e7f7ef;
}
.board-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  align-items: start;
}
.board-column {
  min-width: 0;
  padding: 12px;
  border: 1px solid #e9ebf1;
  border-radius: 15px;
  background: #f5f6f9;
}
.board-column-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 2px 11px; }
.board-column-head h3 { color: #474c5d; font-size: 11px; font-weight: 750; }
.board-column-head > span {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 8px;
  color: #697083;
  background: #e9ebf1;
  font-size: 10px;
  font-weight: 700;
}
.board-column-head .board-spark { color: #6854ce; background: #eae6ff; font-size: 13px; }
.board-column-body { display: grid; gap: 9px; }
.board-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid #eceef3;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px -11px rgba(40, 48, 77, .42);
}
.board-art, .setup-art {
  position: relative;
  display: grid;
  height: 64px;
  overflow: hidden;
  place-items: center start;
  margin: -3px -3px 11px;
  padding: 0 14px;
  border-radius: 9px;
  background: linear-gradient(120deg, #e7e3ff, #e8f4ff);
}
.board-art span { z-index: 1; color: rgba(71, 59, 153, .72); font-size: 27px; font-weight: 800; letter-spacing: -.06em; }
.board-art i, .board-art::after {
  position: absolute;
  right: 18px;
  width: 66px;
  height: 66px;
  border: 1px solid rgba(112, 92, 204, .22);
  border-radius: 50%;
  content: "";
}
.board-art i { right: 49px; width: 44px; height: 44px; background: rgba(255,255,255,.38); }
.board-art-2 { background: linear-gradient(120deg, #def0f0, #e4eaff); }
.board-art-2 span { color: rgba(45, 108, 132, .76); }
.board-art-3 { background: linear-gradient(120deg, #fff0dc, #ffe6ee); }
.board-art-3 span { color: rgba(151, 94, 79, .76); }
.board-card-label { color: #878ca0; font-size: 8px; font-weight: 800; letter-spacing: .9px; }
.board-card h4 {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 5px;
  color: #363a4a;
  font-size: 11px;
  font-weight: 730;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.board-card > p {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 5px;
  color: #83899a;
  font-size: 10px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.conversation-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 11px; color: #9297a6; font-size: 9px; }
.conversation-orb {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 9px;
  color: #6552ca;
  background: #f0edff;
  font-size: 14px;
}
.setup-art { height: 104px; place-items: center; background: linear-gradient(135deg, #f1efff, #e9f5ff); }
.setup-art span { z-index: 2; color: #735ce1; font-size: 37px; text-shadow: 0 5px 18px rgba(100, 75, 213, .25); }
.setup-art i, .setup-art b {
  position: absolute;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(107, 86, 204, .2);
  border-radius: 50%;
}
.setup-art i { width: 100px; height: 100px; }
.setup-art b { width: 52px; height: 52px; background: rgba(255,255,255,.52); }
.board-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.board-tags span { padding: 5px 7px; border-radius: 6px; color: #6555b2; background: #f4f1ff; font-size: 8px; font-weight: 700; }
.board-empty { padding: 20px 10px; border: 1px dashed #dfe2eb; border-radius: 10px; color: #878d9c; background: rgba(255,255,255,.65); font-size: 10px; line-height: 1.6; text-align: center; }

@media (max-width: 1000px) {
  .board-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assistant-board-column { grid-column: 1 / -1; }
  .assistant-board-column .board-card { display: grid; grid-template-columns: minmax(100px, .6fr) 1fr; column-gap: 14px; }
  .assistant-board-column .setup-art { grid-row: 1 / span 4; height: auto; min-height: 120px; margin: -3px 0 -3px -3px; }
  .assistant-board-column .board-card-label { align-self: end; }
  .assistant-board-column .board-card h4, .assistant-board-column .board-card > p, .assistant-board-column .board-tags { grid-column: 2; }
}
@media (max-width: 600px) {
  .workspace-board { margin-bottom: 18px; padding: 16px; border-radius: 17px; }
  .board-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .board-heading h2 { font-size: 20px; }
  .board-columns { grid-template-columns: 1fr; gap: 9px; }
  .assistant-board-column { grid-column: auto; }
  .assistant-board-column .board-card { display: block; }
  .assistant-board-column .setup-art { height: 84px; min-height: 0; margin: -3px -3px 11px; }
}

body.help-center-page {
  min-height: 100vh;
  overflow-x: hidden;
  color: #272821;
  background: #fbf8f2;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.help-center-page .app-shell { display: block; min-height: 100vh; }
.help-center-page .sidebar {
  position: sticky;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  width: 100%;
  height: 66px;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  padding: 0 max(28px, calc((100vw - 1160px) / 2));
  border: 0;
  border-bottom: 1px solid #ece9e1;
  background: rgba(255, 254, 251, .95);
  box-shadow: 0 3px 15px -13px rgba(38, 37, 30, .24);
  backdrop-filter: blur(18px);
}
.help-center-page .brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  color: #292b25;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(145deg, #f4c83e, #e5a91f);
  box-shadow: 0 3px 8px rgba(213, 166, 48, .25);
  font-size: 17px;
  font-weight: 850;
}
.brand-name { display: grid; gap: 1px; font-size: 15px; font-weight: 780; letter-spacing: -.045em; line-height: 1.12; }
.brand-name small { color: #8d8a7e; font-size: 8px; font-weight: 750; letter-spacing: 1.1px; }
.help-center-page .nav-list {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  gap: 6px;
  overflow: visible;
  margin: 0;
  padding: 0;
}
.help-center-page .nav-item {
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #706f67;
  background: transparent;
  font-size: 11px;
  font-weight: 570;
  white-space: nowrap;
}
.help-center-page .nav-item:hover, .help-center-page .nav-item.active {
  color: #36362e;
  background: #f5f2eb;
}
.help-center-page .nav-item.active { box-shadow: none; }
.help-center-page .nav-count { color: #6d695d; background: #eae6dc; }
.sidebar-account { display: flex; flex: 0 0 auto; align-items: center; gap: 9px; }
.account-avatar {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(140deg, #7a78be, #555995);
  font-size: 11px;
  font-weight: 750;
}
.sidebar-account strong, .sidebar-account small { display: block; white-space: nowrap; }
.sidebar-account strong { color: #45453f; font-size: 10px; font-weight: 700; }
.sidebar-account small { margin-top: 2px; color: #939085; font-size: 9px; }
.help-center-page .main-content {
  width: min(1160px, calc(100% - 56px));
  margin: 0 auto;
  padding: 0 0 30px;
}
.help-center-page .topbar {
  height: 47px;
  margin-bottom: 17px;
  border: 0;
}
.help-center-page .breadcrumbs { color: #9b988e; font-size: 10px; }
.help-center-page .breadcrumbs span { padding: 0 5px; color: #c9c5bb; }
.help-center-page .breadcrumbs strong { color: #65645b; font-weight: 650; }
.help-center-page .top-actions { gap: 10px; }
.help-center-page .system-status {
  border-color: #eae7de;
  color: #716e64;
  background: rgba(255,255,255,.62);
  font-size: 9px;
}
.help-center-page .system-status i { width: 6px; height: 6px; background: #50a881; box-shadow: 0 0 0 3px #e7f4eb; }
.help-center-page .top-avatar {
  width: 28px;
  height: 28px;
  border: 0;
  cursor: pointer;
  font-size: 14px;
}
.help-center-page .view.active-view { animation: helpFadeUp .28s ease both; }
@keyframes helpFadeUp { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.help-hero {
  position: relative;
  display: grid;
  min-height: 274px;
  overflow: hidden;
  align-items: center;
  padding: 36px 58px 31px;
  border: 1px solid rgba(53, 43, 33, .18);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(26, 24, 23, .97) 0%, rgba(31, 29, 30, .92) 52%, rgba(28, 27, 30, .55) 100%),
    radial-gradient(ellipse at 93% 18%, #a779c2, transparent 31%),
    radial-gradient(ellipse at 83% 98%, #377075, transparent 37%),
    #252326;
  box-shadow: 0 16px 30px -27px rgba(37, 31, 23, .52);
}
.help-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 45%, rgba(255,255,255,.035) 45.2%, transparent 45.5%),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(255,255,255,.045) 32px, transparent 33px),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(255,255,255,.045) 32px, transparent 33px);
  mask-image: linear-gradient(90deg, transparent 22%, #000 100%);
  content: "";
}
.hero-copy { position: relative; z-index: 3; width: min(100%, 625px); }
.hero-kicker { display: inline-flex; align-items: center; gap: 7px; color: #ded8cf; font-size: 8px; font-weight: 790; letter-spacing: 1.6px; }
.hero-kicker i { width: 6px; height: 6px; border-radius: 50%; background: #f5c849; box-shadow: 0 0 10px rgba(245,200,73,.7); }
.hero-copy h1 { margin-top: 12px; color: #fffdf8; font-size: clamp(27px, 3.5vw, 39px); font-weight: 760; letter-spacing: -.05em; line-height: 1.14; }
.hero-copy h1 span { color: #f2ca70; }
.hero-copy > p { margin-top: 8px; color: #d1cdc7; font-size: 11px; line-height: 1.65; }
.help-search {
  display: flex;
  width: min(100%, 552px);
  height: 43px;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 0 7px 0 14px;
  border: 1px solid rgba(255,255,255,.56);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(0,0,0,.14);
}
.search-icon { color: #76776f; font-size: 25px; line-height: 1; transform: rotate(-20deg); }
.help-search input { width: 100%; min-width: 0; height: 100%; border: 0; outline: 0; color: #30312d; background: transparent; font-size: 11px; }
.help-search input::placeholder { color: #9b9a93; }
.help-search button {
  display: inline-flex;
  flex: 0 0 auto;
  height: 30px;
  align-items: center;
  gap: 13px;
  padding: 0 11px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: #33372f;
  font-size: 10px;
  font-weight: 650;
  cursor: pointer;
}
.help-search button:hover { background: #4b5144; }
.help-search button span { color: #e6c762; }
.popular-searches { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 11px; }
.popular-searches > span { margin-right: 3px; color: #b4b0a8; font-size: 8px; font-weight: 780; letter-spacing: 1px; }
.popular-searches button { padding: 4px 8px; border: 1px solid rgba(255,255,255,.17); border-radius: 999px; color: #e3e0da; background: rgba(255,255,255,.075); font-size: 8px; cursor: pointer; }
.popular-searches button:hover { border-color: rgba(245,200,73,.55); background: rgba(255,255,255,.14); }
.hero-art { position: absolute; inset: 0 0 0 54%; overflow: hidden; pointer-events: none; }
.hero-art-orbit { position: absolute; top: 51%; left: 57%; width: 202px; height: 202px; border: 1px solid rgba(233,209,153,.25); border-radius: 50%; transform: translate(-50%,-50%); }
.orbit-two { width: 283px; height: 283px; border-color: rgba(255,255,255,.105); }
.hero-art-spark { position: absolute; top: 23%; left: 58%; color: #f7d171; font-size: 37px; text-shadow: 0 0 22px rgba(255,216,119,.42); }
.hero-art-card { position: absolute; display: flex; align-items: center; gap: 22px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.3); border-radius: 7px; color: #e8e5dc; background: rgba(39,38,42,.64); box-shadow: 0 10px 28px rgba(0,0,0,.2); font-size: 8px; font-weight: 750; letter-spacing: 1px; transform: rotate(-8deg); }
.hero-art-card b { color: #f2cd72; font-size: 12px; }
.hero-card-one { top: 30%; left: 69%; }
.hero-card-two { top: 64%; left: 40%; transform: rotate(7deg); }
.hero-art-dot { position: absolute; top: 28%; right: 15%; width: 9px; height: 9px; border-radius: 50%; background: #f2c967; box-shadow: 0 0 19px 6px rgba(240,196,85,.23); }
.hero-footnote { position: absolute; right: 16px; bottom: 12px; display: flex; align-items: center; gap: 5px; color: #b6b1a7; font-size: 8px; }
.hero-footnote span { color: #f2cf77; }
.help-topics { padding-top: 30px; }
.help-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 21px; }
.section-kicker { color: #aa8a36; font-size: 8px; font-weight: 820; letter-spacing: 1.45px; }
.help-section-heading h2 { margin-top: 5px; color: #2d2d27; font-size: 19px; font-weight: 740; letter-spacing: -.04em; }
.topic-hint { padding-bottom: 2px; color: #969286; font-size: 9px; }
.topic-group { margin-top: 24px; }
.topic-group-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.group-number { display: grid; width: 25px; height: 25px; flex: 0 0 auto; place-items: center; border-radius: 7px; color: #7459b7; background: #eee9f7; font-size: 8px; font-weight: 780; }
.group-blue { color: #4c7897; background: #e8f0f2; }
.group-green { color: #588064; background: #e8f1e9; }
.topic-group-heading h3 { color: #34342e; font-size: 12px; font-weight: 720; letter-spacing: -.01em; }
.topic-group-heading p { margin-top: 2px; color: #98958b; font-size: 9px; }
.group-line { height: 1px; flex: 1 1 auto; margin-left: 5px; background: #eae7df; }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.topic-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 77px;
  align-items: center;
  gap: 11px;
  padding: 13px;
  border: 1px solid #ece9e1;
  border-radius: 8px;
  text-align: left;
  background: rgba(255,255,255,.78);
  box-shadow: 0 5px 16px -15px rgba(49,44,32,.3);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.topic-card:hover { z-index: 1; transform: translateY(-2px); border-color: #ded7c7; background: #fff; box-shadow: 0 9px 22px -17px rgba(49,44,32,.32); }
.topic-icon { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 10px; font-size: 17px; }
.icon-lilac { color: #705cad; background: #f0ebfa; }
.icon-blue { color: #4b7f9a; background: #eaf2f4; }
.icon-yellow { color: #ac8332; background: #fbf2da; }
.icon-peach { color: #a56d58; background: #fbede4; }
.icon-green { color: #518366; background: #e9f2ea; }
.topic-copy { display: grid; min-width: 0; gap: 4px; }
.topic-copy strong { overflow: hidden; color: #383831; font-size: 10px; font-weight: 720; text-overflow: ellipsis; white-space: nowrap; }
.topic-copy small { display: -webkit-box; overflow: hidden; color: #89877e; font-size: 9px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.topic-arrow { margin-left: auto; align-self: flex-start; color: #aaa69a; font-size: 11px; transition: color .18s ease, transform .18s ease; }
.topic-card:hover .topic-arrow { color: #887340; transform: translate(2px,-2px); }
.help-search-results { scroll-margin-top: 80px; padding-top: 27px; }
.search-result-heading { margin-bottom: 12px; }
.clear-search { border: 0; color: #888579; background: transparent; font-size: 9px; cursor: pointer; }
.clear-search span { margin-left: 4px; font-size: 14px; }
.article-results { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.article-result-card {
  display: grid;
  min-width: 0;
  gap: 7px;
  padding: 14px;
  border: 1px solid #eae7df;
  border-radius: 8px;
  text-align: left;
  background: #fffefa;
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease;
}
.article-result-card:hover { transform: translateY(-2px); border-color: #d8cfb8; }
.article-result-top { display: flex; justify-content: space-between; color: #a1894b; font-size: 7px; font-weight: 780; letter-spacing: 1px; }
.article-result-top i { color: #aaa69a; font-size: 11px; font-style: normal; }
.article-result-card > strong { color: #37372f; font-size: 11px; line-height: 1.45; }
.article-result-summary { display: -webkit-box; overflow: hidden; color: #858277; font-size: 9px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.article-read { margin-top: 2px; color: #737065; font-size: 8px; }
.article-read b { margin-left: 4px; color: #9a8347; }
.search-empty { display: grid; justify-items: center; padding: 27px; border: 1px dashed #e1ddd3; border-radius: 9px; text-align: center; background: rgba(255,255,255,.45); }
.search-empty > span { color: #9c8a57; font-size: 23px; }
.search-empty h3 { margin-top: 6px; color: #44443c; font-size: 12px; }
.search-empty p { margin: 5px 0 12px; color: #89867c; font-size: 9px; }
.search-empty .button { min-height: 32px; padding: 7px 11px; font-size: 9px; }
.help-contact {
  position: relative;
  display: flex;
  min-height: 105px;
  align-items: center;
  gap: 17px;
  overflow: hidden;
  margin-top: 30px;
  padding: 17px 21px;
  border: 1px solid #eae7df;
  border-radius: 9px;
  background: linear-gradient(110deg,#fffefb,#f8f5ed);
}
.contact-art { position: relative; display: grid; width: 54px; height: 54px; flex: 0 0 auto; place-items: center; border-radius: 13px; color: #8264ca; background: #eee9f7; }
.contact-art span { z-index: 1; font-size: 24px; }
.contact-art i, .contact-art b { position: absolute; width: 40px; height: 40px; border: 1px solid rgba(115,91,173,.2); border-radius: 50%; }
.contact-art i { width: 51px; height: 51px; }
.help-contact > div:nth-child(2) { flex: 1 1 auto; }
.help-contact h2 { margin-top: 4px; color: #35352e; font-size: 13px; letter-spacing: -.02em; }
.help-contact p { max-width: 510px; margin-top: 4px; color: #858278; font-size: 9px; line-height: 1.55; }
.help-center-page .button-primary { color: white; background: #383a32; box-shadow: none; }
.help-center-page .button-primary:hover { background: #4b4e43; }
.help-center-page .button { min-height: 34px; padding: 8px 12px; font-size: 9px; }
.help-contact .button { flex: 0 0 auto; }
.help-contact .button span { color: #f3ce72; }
.help-footer { display: flex; justify-content: space-between; gap: 12px; padding: 15px 2px 0; color: #999589; font-size: 8px; }
.help-footer > span:last-child { display: inline-flex; align-items: center; gap: 6px; }
.help-footer i { width: 6px; height: 6px; border-radius: 50%; background: #4aa77e; }
.help-center-page .page-title-row { align-items: end; }
.help-center-page .page-title-row h1 { margin-top: 6px; color: #302f28; font-size: 29px; letter-spacing: -.045em; }
.help-center-page .subtitle { margin-top: 5px; color: #858278; font-size: 10px; }
.help-center-page .faq-toolbar { margin-bottom: 15px; }
.help-center-page .search-box {
  border-color: #e9e6dd;
  border-radius: 8px;
  background: #fffefa;
}
.help-center-page .search-box input { color: #383830; font-size: 10px; }
.help-center-page .faq-card, .help-center-page .log-row, .help-center-page .logs-panel {
  border-color: #eae7df;
  background: #fffefa;
  box-shadow: 0 5px 16px -16px rgba(49,44,32,.3);
}
.help-center-page .faq-main h3, .help-center-page .log-info strong { color: #37372f; }
.help-center-page .faq-main p, .help-center-page .log-info p { color: #828075; }
.help-center-page .button-ghost, .help-center-page .small-action, .help-center-page .log-open {
  border-color: #e9e6dd;
  color: #626056;
  background: #fffefa;
}
.help-center-page .button-danger-ghost { border-color: #f0dad7; color: #be5d50; }
.help-center-page .chat-window { border-color: #e9e6dd; background: #fffefa; }
.help-center-page .chat-header, .help-center-page .chat-compose { border-color: #ece9e1; background: #fffefa; }
.help-center-page .chat-messages { background: #fbfaf7; }
.help-center-page .message-row:not(.user) .message-bubble { color: #383830; background: #fff; border-color: #ebe8e0; }
.help-center-page .chat-compose input { color: #34342e; background: #f9f8f4; border-color: #e9e6dd; }
.help-center-page .suggested-area { border-color: #ece9e1; background: #fffefa; }
.help-center-page .suggestion { border-color: #e9e3d3; color: #72613c; background: #faf6eb; }
.help-center-page .chat-side .panel { border-color: #eae7df; background: #fffefa; }
.chat-info-copy { margin-top: 8px; color: #858278; font-size: 10px; line-height: 1.75; }
.chat-info-list { display: grid; gap: 10px; margin-top: 18px; }
.chat-info-list span { display: flex; align-items: center; gap: 8px; color: #626157; font-size: 9px; }
.chat-info-list i { display: grid; width: 17px; height: 17px; place-items: center; border-radius: 50%; color: #438263; background: #eaf3ec; font-size: 9px; font-style: normal; }
.article-modal { width: min(600px,calc(100% - 32px)); padding: 0; border-color: #e7e3d9; color: #37372f; background: #fffefa; }
.article-modal .modal-head { margin: 0; padding: 17px 21px; border-bottom: 1px solid #efede6; }
.article-modal .section-kicker { color: #a1894b; }
.article-modal .modal-close { width: 29px; height: 29px; border-radius: 50%; color: #747167; background: #f3f1eb; line-height: 1; }
.article-body { padding: 28px 30px 31px; }
.article-category { display: inline-block; color: #9d8240; font-size: 8px; font-weight: 800; letter-spacing: 1.15px; }
.article-body h2 { margin-top: 8px; color: #303028; font-size: 24px; font-weight: 750; letter-spacing: -.045em; line-height: 1.25; }
.article-body p { margin-top: 13px; color: #656459; font-size: 12px; line-height: 1.85; white-space: pre-line; }
.article-modal-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 21px; border-top: 1px solid #efede6; color: #8a877c; font-size: 9px; }
.article-modal-footer .button { white-space: nowrap; }
.help-center-page .modal:not(.article-modal) { border-color: #e6e2d8; color: #37372f; background: #fffefa; }
.help-center-page .field-input { color: #383830; background: #f9f8f4; border-color: #e7e4dc; }
.help-center-page .field-label { color: #5e5c52; }
.help-center-page .field-input::placeholder { color: #aaa69b; }
.help-center-page .toast { border-color: #e4dcc5; color: #49473e; background: #fffefa; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

@media (min-width: 1500px) {
  .help-center-page .main-content { width: min(1200px,calc(100% - 96px)); }
  .help-hero { min-height: 300px; padding-left: 67px; }
  .topic-card { min-height: 83px; }
}
@media (max-width: 850px) {
  .help-center-page .sidebar { gap: 18px; padding-right: 20px; padding-left: 20px; }
  .sidebar-account { display: none; }
  .help-center-page .nav-list { justify-content: flex-end; }
  .hero-art { left: 63%; opacity: .8; }
  .help-hero { padding-right: 32px; padding-left: 34px; }
}
@media (max-width: 620px) {
  .help-center-page .sidebar { height: auto; min-height: 61px; flex-wrap: wrap; gap: 7px 14px; padding: 10px 15px 8px; }
  .help-center-page .brand { flex: 1 1 auto; }
  .help-center-page .nav-list { order: 2; width: 100%; justify-content: flex-start; gap: 4px; margin: 1px 0 0; }
  .help-center-page .nav-item { min-height: 32px; padding: 7px 9px; font-size: 9px; }
  .help-center-page .main-content { width: calc(100% - 28px); padding-bottom: 22px; }
  .help-center-page .topbar { height: 40px; margin: 0; }
  .help-center-page .system-status { max-width: 145px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .help-hero { min-height: 262px; padding: 27px 19px 27px; border-radius: 7px; }
  .hero-copy { width: 100%; }
  .hero-copy h1 { max-width: 360px; font-size: clamp(25px,7vw,34px); }
  .hero-copy > p { max-width: 365px; padding-right: 12px; font-size: 10px; }
  .hero-art { inset: 0 0 0 35%; opacity: .45; }
  .hero-art-card { opacity: .8; }
  .hero-card-one { left: 71%; }
  .hero-card-two { left: 57%; }
  .hero-footnote { right: 9px; bottom: 8px; font-size: 7px; }
  .help-search { position: relative; z-index: 4; height: 41px; margin-top: 15px; }
  .help-search button { height: 29px; gap: 5px; padding: 0 8px; font-size: 9px; }
  .popular-searches { position: relative; z-index: 4; }
  .help-topics { padding-top: 23px; }
  .help-section-heading { margin-bottom: 14px; }
  .help-section-heading h2 { font-size: 17px; }
  .topic-hint { max-width: 120px; font-size: 8px; text-align: right; }
  .topic-group { margin-top: 20px; }
  .topic-grid { grid-template-columns: 1fr; gap: 7px; }
  .topic-card { min-height: 65px; padding: 10px 12px; }
  .topic-icon { width: 35px; height: 35px; border-radius: 9px; }
  .topic-copy strong { font-size: 10px; }
  .topic-copy small { font-size: 8px; }
  .article-results { grid-template-columns: 1fr; gap: 7px; }
  .help-contact { align-items: flex-start; gap: 12px; margin-top: 22px; padding: 14px; }
  .contact-art { width: 40px; height: 40px; border-radius: 10px; }
  .contact-art span { font-size: 19px; }
  .contact-art i { width: 38px; height: 38px; }
  .contact-art b { width: 29px; height: 29px; }
  .help-contact h2 { font-size: 11px; }
  .help-contact p { font-size: 8px; }
  .help-contact .button { align-self: center; max-width: 125px; padding: 7px 8px; font-size: 8px; }
  .help-center-page .page-title-row { align-items: flex-start; flex-direction: column; gap: 12px; }
  .help-center-page .page-title-row h1 { font-size: 25px; }
  .help-center-page .chat-layout { grid-template-columns: 1fr; }
  .help-center-page .chat-side { display: none; }
  .help-center-page .chat-window { min-height: 440px; height: 67vh; }
  .article-body { padding: 22px 19px 24px; }
  .article-body h2 { font-size: 21px; }
  .article-body p { font-size: 11px; }
}
@media (max-width: 380px) {
  .help-center-page .main-content { width: calc(100% - 22px); }
  .help-center-page .nav-item { padding-right: 7px; padding-left: 7px; font-size: 8px; }
  .help-center-page .nav-count { padding: 2px 5px; }
  .help-contact { flex-wrap: wrap; }
  .help-contact > div:nth-child(2) { flex-basis: calc(100% - 55px); }
  .help-contact .button { margin-left: 52px; }
}
