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

/* Ensure [hidden] always wins over display: flex/grid etc. */
[hidden] { display: none !important; }

:root {
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --bg: #f1f5f9;
  --surface: #ffffff;
  --border: #e2e8f0;
  --text: #1e293b;
  --text-muted: #64748b;
  --header-bg: #1e293b;
  --radius: 12px;
}

html, body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}

/* ── App layout ── */

.app {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

/* ── Header ── */

.header {
  background: var(--header-bg);
  padding: 0 24px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.logo strong {
  font-weight: 700;
}

.btn-back-dash {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.65);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  transition: background .15s, color .15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-back-dash:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
@media (max-width: 480px) {
  .btn-back-dash .back-label { display: none; }
}

.badge {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

/* ── Module nav ── */

.module-nav {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}

.module-nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.module-nav-link:hover {
  color: rgba(255,255,255,0.9);
}

.module-nav-link.active {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* ── Main layout ── */

.main {
  flex: 1;
  display: flex;
  overflow: hidden;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  gap: 20px;
}

/* ── Sidebar ── */

.sidebar {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg);
  border-radius: 9px;
  padding: 3px;
}

.sidebar-tab {
  flex: 1;
  padding: 7px 6px;
  font-size: 11.5px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  white-space: nowrap;
  transition: background .15s, color .15s;
}

.sidebar-tab.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.sidebar-tab:hover:not(.active) {
  color: var(--text);
}

.sidebar-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* Upload zone */
.upload-zone {
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-align: center;
}

.upload-zone:hover,
.upload-zone.drag-over {
  border-color: var(--primary);
  background: #f5f3ff;
}

.upload-icon {
  margin-bottom: 4px;
}

.upload-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.upload-sub {
  font-size: 12px;
  color: var(--text-muted);
}

/* Doc card */
.doc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.doc-info {
  flex: 1;
  min-width: 0;
}

.doc-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doc-ready {
  font-size: 12px;
  color: #22c55e;
  font-weight: 500;
  margin-top: 2px;
}

.btn-remove {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  transition: background 0.15s;
  flex-shrink: 0;
}

.btn-remove:hover {
  background: var(--bg);
}

/* Upload status */
.upload-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Tips */
.tips {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.tips-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.tips-hint {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 10px;
  font-style: italic;
}

.tips-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tips-list li {
  font-size: 12px;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
}

.tips-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* ── Chat panel ── */

.chat-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
}

/* Messages */
.messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  scroll-behavior: smooth;
}

/* Welcome screen */
.welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 100%;
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
}

.welcome-icon {
  opacity: 0.7;
}

.welcome-text {
  font-size: 15px;
  line-height: 1.7;
  max-width: 340px;
}

.welcome-text strong {
  color: var(--primary);
}

/* Message bubbles */
.message {
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: fadeUp 0.2s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.message.user {
  align-items: flex-end;
}

.message.ai {
  align-items: flex-start;
}

.message-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 0 4px;
}

.message-bubble {
  max-width: 75%;
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.65;
}

.message.user .message-bubble {
  background: var(--primary);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.message.ai .message-bubble {
  background: #f8fafc;
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.message.ai .message-bubble strong {
  color: var(--primary);
}

.message.ai .message-bubble p + p {
  margin-top: 10px;
}

/* Typing indicator */
.typing-bubble {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.typing-dots {
  display: flex;
  gap: 5px;
  align-items: center;
}

.typing-dots span {
  width: 7px;
  height: 7px;
  background: #94a3b8;
  border-radius: 50%;
  animation: bounce 1.2s infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

.typing-status {
  font-size: 12px;
  color: var(--text-muted);
  min-height: 16px;
}

@keyframes bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

/* ── Input area ── */

.input-area {
  border-top: 1px solid var(--border);
  padding: 16px 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-wrapper {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.question-input {
  flex: 1;
  resize: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s;
  max-height: 140px;
  overflow-y: auto;
  line-height: 1.5;
}

.question-input:focus {
  border-color: var(--primary);
  background: #fff;
}

.question-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.question-input::placeholder {
  color: #94a3b8;
}

.btn-send {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 10px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, opacity 0.2s;
}

.btn-send:hover:not(:disabled) {
  background: var(--primary-hover);
}

.btn-send:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.input-hint {
  font-size: 11px;
  color: #94a3b8;
  text-align: right;
}

/* ── Scrollbar ── */

.messages::-webkit-scrollbar {
  width: 5px;
}

.messages::-webkit-scrollbar-track {
  background: transparent;
}

.messages::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 10px;
}

/* ── Welcome features ── */

.welcome-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 4px;
}

.welcome-features span {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 11px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Risk badge ── */

.risk-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.risk-badge.green  { background: #dcfce7; color: #15803d; }
.risk-badge.yellow { background: #fef9c3; color: #a16207; }
.risk-badge.red    { background: #fee2e2; color: #b91c1c; }

.risk-reason {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}

/* ── Warnings ── */

.warnings {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.warning-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 11px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 3px solid #f59e0b;
  border-radius: 6px;
  font-size: 12.5px;
  color: #78350f;
  line-height: 1.5;
}

.warning-icon { flex-shrink: 0; }

/* ── Section labels ── */

.section-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 14px 0 7px;
}

/* ── Action buttons ── */

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.btn-action {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-family: inherit;
  color: var(--text);
  cursor: pointer;
  font-weight: 500;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  text-align: left;
}

.btn-action:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f5f3ff;
}

/* ── Message actions row (copy + feedback) ── */

.message-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  padding-left: 2px;
  opacity: 0;
  transition: opacity 0.2s;
}

.message.ai:hover .message-actions {
  opacity: 1;
}

/* ── Feedback row (sits inside message-actions) ── */

.feedback-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 0;
  padding-left: 0;
  opacity: 1;
}

.feedback-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-right: 2px;
}

.btn-fb {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  line-height: 1.4;
}

.btn-fb:hover { background: var(--bg); border-color: #94a3b8; }
.btn-fb.selected-pos { background: #dcfce7; border-color: #22c55e; }
.btn-fb.selected-neg { background: #fee2e2; border-color: #ef4444; }

.feedback-thanks {
  font-size: 12px;
  color: #16a34a;
  font-weight: 500;
}

/* Inline negative feedback form */
.feedback-form {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-width: 400px;
}

.feedback-textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 11px;
  font-size: 13px;
  font-family: inherit;
  resize: none;
  outline: none;
  background: var(--bg);
  transition: border-color 0.2s;
  rows: 2;
}

.feedback-textarea:focus { border-color: var(--primary); background: #fff; }

.feedback-form-btns {
  display: flex;
  gap: 7px;
}

.btn-fb-send {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-fb-send:hover { background: var(--primary-hover); }

.btn-fb-cancel {
  background: none;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-family: inherit;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s;
}
.btn-fb-cancel:hover { background: var(--bg); }

/* ── Rejection message ── */

.rejection-bubble {
  border-color: #fca5a5 !important;
  background: #fff5f5 !important;
}

.rejection-bubble strong {
  color: #b91c1c;
}

.rejection-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.rejection-categories span {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 11px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Scanned PDF warning ── */

.scanned-warning {
  background: #fffbeb !important;
  border: 1px solid #fde68a !important;
  border-left: 3px solid #f59e0b !important;
}

.scanned-warning strong {
  display: block;
  margin-bottom: 6px;
  color: #92400e;
}

.scanned-warning p { color: #78350f; }

/* ── Citation links ── */

.cite-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(79, 70, 229, 0.35);
  text-underline-offset: 2px;
  cursor: pointer;
  border-radius: 3px;
  padding: 0 2px;
  transition: background 0.12s, text-decoration-color 0.12s;
  white-space: nowrap;
}

.cite-link:hover {
  background: rgba(79, 70, 229, 0.08);
  text-decoration-color: var(--primary);
}

.cite-link.active {
  background: rgba(79, 70, 229, 0.13);
  text-decoration-color: var(--primary);
  outline: 1px solid rgba(79, 70, 229, 0.25);
}

/* ── Answer disclaimer ── */

.disclaimer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.55;
}
.disclaimer em { font-style: italic; }

/* ── Color-coded response boxes ── */

.resp-box {
  border-radius: 7px;
  padding: 10px 14px;
  margin: 8px 0;
}

.resp-warning {
  background: #fff5f5;
  border-left: 3px solid #ef4444;
}
.resp-warning p { color: #7f1d1d; margin: 0; }

.resp-tip {
  background: #eff6ff;
  border-left: 3px solid #3b82f6;
}
.resp-tip p { color: #1e3a5f; margin: 0; }

.resp-ok {
  background: #f0fdf4;
  border-left: 3px solid #22c55e;
}
.resp-ok p { color: #14532d; margin: 0; }

/* ── Response tables ── */

.resp-table-wrap {
  overflow-x: auto;
  margin: 8px 0;
}

.resp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.resp-table th,
.resp-table td {
  padding: 7px 12px;
  text-align: left;
  border: 1px solid var(--border);
}

.resp-table th {
  background: #f1f5f9;
  font-weight: 600;
  color: var(--text);
}

.resp-table tr:nth-child(even) td {
  background: #f8fafc;
}

/* ── Response lists ── */

.resp-list {
  margin: 6px 0 6px 20px;
  font-size: 14px;
  line-height: 1.7;
}

.resp-list li { margin-bottom: 3px; }

/* ── Page count hint ── */

.page-count-hint {
  background: #f8fafc;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
}

/* ── Export hint bubble ── */

.export-hint-bubble {
  background: #fafaf9;
  border: 1px solid #e7e5e4;
  border-left: 3px solid var(--primary);
}

.export-hint-bubble p { margin-bottom: 12px; }

.btn-export-session {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 7px;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
}
.btn-export-session:hover { background: var(--primary); color: #fff; }

/* ── Tool buttons in header ── */

.header-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.btn-tool {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.btn-tool:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ── Locked buttons (tarif gating) ── */

.btn-locked {
  opacity: 0.5;
  cursor: not-allowed !important;
}
.btn-locked:hover {
  border-color: var(--border) !important;
  color: var(--text-muted) !important;
  background: transparent !important;
}
.lock-icon {
  font-style: normal;
  font-size: 10px;
  margin-right: 1px;
}

/* ── Upgrade modal ── */

.upgrade-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.upgrade-modal {
  background: #fff;
  border-radius: 14px;
  padding: 32px 28px 24px;
  max-width: 340px;
  width: calc(100% - 32px);
  text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
}
.upgrade-modal-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.upgrade-modal-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
}
.upgrade-modal-text {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 14px;
}
.upgrade-modal-contact {
  display: block;
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
  margin-bottom: 18px;
}
.upgrade-modal-contact:hover { text-decoration: underline; }
.upgrade-modal-close {
  background: #f1f5f9;
  border: none;
  border-radius: 8px;
  padding: 9px 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.upgrade-modal-close:hover { background: #e2e8f0; }

/* ── Chat header ── */

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  border-bottom: 1px solid var(--border);
  background: #fafbfc;
  flex-shrink: 0;
  gap: 10px;
  flex-wrap: wrap;
}

.chat-doc-info {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  min-width: 0;
}

#chatDocName {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Summary dropdown ── */

.summary-wrap {
  position: relative;
  flex-shrink: 0;
}

.btn-summary {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 11px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.btn-summary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.summary-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
  min-width: 210px;
  z-index: 200;
  overflow: hidden;
  display: none;
}

.summary-menu.open {
  display: block;
}

.summary-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 11px 15px;
  background: none;
  border: none;
  font-size: 13px;
  font-family: inherit;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s;
}

.summary-opt:hover {
  background: var(--bg);
}

.summary-opt + .summary-opt {
  border-top: 1px solid var(--border);
}

/* ── Suggested questions ── */

.suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.btn-suggest {
  background: #f5f3ff;
  border: 1px solid #c4b5fd;
  border-radius: 20px;
  padding: 6px 13px;
  font-size: 12.5px;
  font-family: inherit;
  color: var(--primary);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-align: left;
  line-height: 1.4;
}

.btn-suggest:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ── Copy button ── */

.message-label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-copy {
  background: none;
  border: none;
  cursor: pointer;
  padding: 3px 7px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-family: inherit;
  white-space: nowrap;
}

.btn-copy:hover {
  background: var(--border);
  color: var(--text);
}

.btn-copy.copied { color: #16a34a; }

.message-actions.pinned { opacity: 1; }

/* ── Web search badge ── */

.web-search-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 5px;
  padding: 2px 7px;
  white-space: nowrap;
  letter-spacing: .01em;
}

/* ── PDF Panel ── */

.pdf-panel {
  width: 390px;
  flex-shrink: 0;
  display: none;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.pdf-panel.visible {
  display: flex;
}

.pdf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.pdf-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.pdf-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.btn-nav {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  color: var(--text);
  transition: background 0.15s;
  user-select: none;
}

.btn-nav:hover:not(:disabled) {
  background: var(--border);
}

.btn-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.page-info {
  font-size: 12px;
  color: var(--text-muted);
  min-width: 52px;
  text-align: center;
}

.pdf-canvas-wrapper {
  flex: 1;
  overflow: auto;
  background: #525659;
  display: flex;
  justify-content: center;
  padding: 12px;
}

#pdfCanvas {
  display: block;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
  border-radius: 2px;
  max-width: 100%;
  height: fit-content;
}

/* ── Citation links ── */

.cite-link {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
  cursor: pointer;
  font-weight: 600;
  transition: color 0.15s;
  white-space: nowrap;
}

.cite-link:hover {
  color: var(--primary-hover);
  text-decoration-style: solid;
}

/* ── DSGVO hint ── */

.dsgvo-hint {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
  padding: 0 4px;
}

/* ── App footer ── */

.app-footer {
  background: var(--header-bg);
  padding: 10px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  flex-shrink: 0;
}

.app-footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.app-footer a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.15s;
}

.app-footer a:hover {
  color: rgba(255,255,255,0.85);
}

.upload-privacy-note { font-size: 11px; color: #64748b; margin: 6px 0 0 0; text-align: center; }

/* ── Multi-doc file list ── */

.file-list { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.file-item { display: flex; align-items: center; gap: 8px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 8px 12px; font-size: 13px; }
.file-item-icon { font-size: 16px; flex-shrink: 0; }
.file-item-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #1e293b; }
.file-item-size { font-size: 11px; color: #64748b; flex-shrink: 0; }
.file-item-remove { background: none; border: none; cursor: pointer; color: #94a3b8; font-size: 14px; padding: 2px 4px; border-radius: 4px; }
.file-item-remove:hover { color: #ef4444; background: #fee2e2; }
.multi-doc-hint { font-size: 12px; color: #0369a1; background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 8px; padding: 8px 12px; margin-top: 8px; display: flex; gap: 6px; align-items: flex-start; }
.btn-analyze { width: 100%; margin-top: 10px; background: #4f46e5; color: #fff; border: none; border-radius: 9px; padding: 10px 16px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; transition: background .15s; }
.btn-analyze:hover { background: #4338ca; }
.btn-analyze:disabled { background: #a5b4fc; cursor: not-allowed; }

.footer-privacy { font-size: 11px; color: rgba(255,255,255,.45); margin-bottom: 2px; text-align: center; width: 100%; }
.footer-privacy a { color: rgba(255,255,255,.65); text-decoration: none; }

/* ── Cookie banner ── */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--header-bg);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 12px 24px;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-text {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  flex: 1;
  min-width: 200px;
}

.cookie-text a {
  color: rgba(255,255,255,0.9);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-accept {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}

.cookie-accept:hover {
  background: var(--primary-hover);
}

/* ── Session timeout notification ── */

.session-timeout-banner {
  background: #fef9c3;
  border: 1px solid #fde68a;
  border-left: 3px solid #f59e0b;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13.5px;
  color: #78350f;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.session-timeout-banner svg { flex-shrink: 0; margin-top: 1px; }

/* ── System warning / info bubbles ── */

.system-warn-bubble {
  background: #fffbeb !important;
  border: 1px solid #fde68a !important;
  border-left: 3px solid #f59e0b !important;
  color: #78350f;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 10px;
}

.system-info-bubble {
  background: #eff6ff !important;
  border: 1px solid #bfdbfe !important;
  border-left: 3px solid #3b82f6 !important;
  color: #1e40af;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 10px;
}

/* ── PropKit AI typing indicator (branded) ── */

.typing-label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.typing-label .pk-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--primary);
  flex-shrink: 0;
}

.typing-dots span {
  background: var(--primary);
}

/* ── Full-page Drop Overlay ── */

.drop-overlay {
  position: fixed;
  inset: 10px;
  border-radius: 18px;
  background: rgba(245, 243, 255, 0.94);
  border: 3px dashed var(--primary);
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  backdrop-filter: blur(3px);
}

.drop-overlay.active {
  display: flex;
  pointer-events: all;
  animation: fadeUp 0.15s ease;
}

.drop-overlay * {
  pointer-events: none;
}

.drop-overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.drop-overlay-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.drop-overlay-sub {
  font-size: 14px;
  color: #6d66c8;
}

/* ── Mic button ── */

.btn-mic {
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.btn-mic:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-mic:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.btn-mic.recording {
  color: #ef4444;
  border-color: #ef4444;
  background: #fff5f5;
  animation: micPulse 1.2s ease-in-out infinite;
}

@keyframes micPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.35); }
  50%       { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
}

/* ── PDF Export button ── */

.btn-export {
  background: none;
  border: none;
  cursor: pointer;
  padding: 3px 7px;
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.15s, background 0.15s, color 0.15s;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-family: inherit;
  white-space: nowrap;
}

.message.ai:hover .btn-export {
  opacity: 1;
}

.btn-export:hover {
  background: var(--border);
  color: var(--text);
}

/* ── Onboarding Tour ── */

.tour-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
  display: none;
}

.tour-backdrop.active {
  display: block;
}

.tour-card {
  position: fixed;
  bottom: 104px;
  right: 24px;
  width: 300px;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18), 0 0 0 1px var(--border);
  padding: 20px;
  z-index: 1002;
  display: none;
}

.tour-card.active {
  display: block;
  animation: fadeUp 0.25s ease;
}

.tour-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.tour-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.2s, transform 0.2s;
}

.tour-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

.tour-icon {
  font-size: 26px;
  margin-bottom: 8px;
  line-height: 1;
}

.tour-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 7px;
}

.tour-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.tour-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tour-skip {
  background: none;
  border: none;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  padding: 6px 0;
  transition: color 0.15s;
}

.tour-skip:hover {
  color: var(--text);
}

.tour-next {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
}

.tour-next:hover {
  background: var(--primary-hover);
}

/* Tour target highlight */
.tour-focus {
  position: relative;
  z-index: 1001;
  box-shadow: 0 0 0 3px var(--primary), 0 0 16px rgba(79, 70, 229, 0.25) !important;
  border-radius: var(--radius) !important;
  transition: box-shadow 0.2s;
}

/* ── Welcome action buttons ── */

.welcome-bubble {
  max-width: 520px;
}

.welcome-bubble p {
  margin-bottom: 14px;
}

.welcome-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.btn-welcome {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn-welcome:hover {
  background: #f0f0ff;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-welcome-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
}

.btn-welcome-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
}

.btn-welcome-ghost {
  background: transparent;
  border-style: dashed;
  color: var(--text-muted);
}

.btn-welcome-ghost:hover {
  background: var(--bg);
  border-color: var(--text-muted);
  color: var(--text);
}

/* ── Erledigungsliste ── */

.todo-prompt-bubble {
  max-width: 480px;
}

.todo-prompt-bubble p {
  margin-bottom: 6px;
}

.todo-prompt-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.todo-prompt-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.btn-todo-yes {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

.btn-todo-yes:hover { background: var(--primary-hover); }

.btn-todo-no {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 7px 16px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

.btn-todo-no:hover { background: var(--bg); }

/* Todo list message — full width */
.todo-list-message {
  width: 100%;
}

.todo-list-bubble {
  max-width: 100% !important;
  width: 100%;
  padding: 0 !important;
  overflow: hidden;
}

.todo-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.todo-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.todo-count {
  background: var(--bg);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: auto;
}

.todo-table-wrap {
  overflow-x: auto;
  max-height: 500px;
  overflow-y: auto;
}

.todo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.todo-table thead th {
  background: #f8fafc;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
  padding: 8px 10px;
  text-align: left;
  position: sticky;
  top: 0;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  z-index: 1;
}

.todo-table tbody tr:hover td {
  background: #f5f7ff;
}

.todo-table tbody tr:nth-child(even) td {
  background: #fafcff;
}

.todo-table tbody tr:nth-child(even):hover td {
  background: #f0f3ff;
}

.todo-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
  line-height: 1.4;
}

.todo-nr {
  font-weight: 700;
  color: var(--text-muted);
  width: 36px;
  text-align: center;
}

.todo-aufgabe {
  min-width: 200px;
  max-width: 320px;
}

.todo-erledigt-cell {
  min-width: 80px;
}

.todo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 5px;
}

.todo-tag {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.tag-red    { background: #fef2f2; color: #dc2626; }
.tag-blue   { background: #eff6ff; color: #2563eb; }
.tag-yellow { background: #fefce8; color: #b45309; }
.tag-gray   { background: #f8fafc; color: #475569; border: 1px solid var(--border); }
.tag-orange { background: #fff7ed; color: #ea580c; }

.todo-finanz-sonder {
  color: #dc2626;
  font-weight: 600;
}

.todo-frist-kritisch {
  color: #ea580c;
  font-weight: 600;
}

.todo-status-offen {
  display: inline-block;
  background: #f0fdf4;
  color: #16a34a;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

.todo-export-row {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  background: #fafafa;
}

.btn-todo-export {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn-todo-export:hover {
  background: #f0f0ff;
  border-color: var(--primary);
  color: var(--primary);
}

/* ── Responsive ── */

@media (max-width: 768px) {
  .main {
    flex-direction: column;
    padding: 12px;
    gap: 12px;
    overflow: visible;
    height: auto;
  }

  .sidebar {
    width: 100%;
  }

  .chat-panel {
    height: 70vh;
  }

  .message-bubble {
    max-width: 90%;
  }
}

/* ── Print Styles ── */
.btn-print { display: inline-flex; align-items: center; gap: 5px; padding: 7px 14px; border-radius: 8px; border: 1px solid #e2e8f0; background: #f8fafc; color: #1e293b; font-size: 13px; cursor: pointer; font-family: inherit; transition: background .15s; }
.btn-print:hover { background: #f1f5f9; border-color: #cbd5e1; }
.print-header { display: none; margin-bottom: 12pt; padding-bottom: 8pt; border-bottom: 1pt solid #e2e8f0; }
.print-footer-bar { display: none; margin-top: 16pt; padding-top: 8pt; border-top: 1pt solid #e2e8f0; font-size: 9pt; color: #64748b; }
@media print {
  .header, header, .module-nav, nav, .sidebar, aside,
  .app-footer, footer, .dash-footer,
  .btn-print, .btn-loslegen, .btn-parse, .btn-new-analysis,
  .btn-action, .aktionen-row, .export-row,
  #cookieBanner, .cookie-banner, .feedback-btn, .toast,
  .upload-zone, .upload-section, .drop-card,
  .intent-card, .drop-zone,
  .level2-toggle, .onboard-card, .recent-card, .tip-card,
  [class*="modal"], [id*="modal"], [id*="Modal"],
  [class*="overlay"], [id*="overlay"],
  .privacy-hint, .privacy-overlay,
  .context-hint, .cookie-banner { display: none !important; }
  .print-header { display: flex !important; align-items: center; justify-content: space-between; }
  .print-footer-bar { display: block !important; }
  body { font-size: 12pt !important; background: #fff !important; color: #000 !important; margin: 0 !important; }
  .main, .app, .dash-wrap, [class*="panel"], [class*="results"] { width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important; box-shadow: none !important; border: none !important; }
  table { width: 100% !important; border-collapse: collapse !important; page-break-inside: avoid; }
  th, td { border: 0.5pt solid #ccc !important; padding: 4pt 6pt !important; font-size: 10pt; }
  .card, [class*="card"], [class*="result"] { page-break-inside: avoid; box-shadow: none !important; border: 1pt solid #e2e8f0 !important; margin-bottom: 8pt !important; }
  h1, h2, h3 { page-break-after: avoid; }
  @page { margin: 1.5cm 2cm; }
}

/* ── Wow Banner ── */
.wow-banner{display:flex;align-items:center;background:linear-gradient(135deg,#1e1b4b,#312e81);border-radius:12px;padding:1rem 1.5rem;margin-bottom:1rem}
.wow-banner__item{flex:1;text-align:center}
.wow-banner__value{font-size:1.5rem;font-weight:700;color:#fff;line-height:1;margin-bottom:.25rem}
.wow-banner__value--highlight{color:#a5b4fc;font-size:1.1rem}
.wow-banner__label{font-size:.65rem;color:#a5b4fc;text-transform:uppercase;letter-spacing:.04em}
.wow-banner__divider{width:1px;height:2.5rem;background:rgba(165,180,252,.2);flex-shrink:0}
.daily-tip{display:flex;align-items:center;gap:.625rem;background:#fffbeb;border:1px solid #fde68a;border-radius:8px;padding:.625rem .875rem;margin-bottom:1.25rem;font-size:.8125rem;color:#78350f}
.daily-tip__icon{font-size:1rem;flex-shrink:0}

/* ── Quickstart Section ── */
.quickstart-section{margin-bottom:2rem}
.quickstart-title{font-size:.75rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.875rem}
.quickstart-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.625rem}
@media(max-width:900px){.quickstart-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:580px){.quickstart-grid{grid-template-columns:1fr}}
.quickstart-card{display:flex;align-items:center;gap:.75rem;padding:.875rem 1rem;background:#fff;border:1.5px solid #e5e7eb;border-radius:10px;text-decoration:none;color:inherit;transition:all .15s ease}
.quickstart-card:hover{border-color:#6366f1;background:#f5f5ff;transform:translateY(-1px);box-shadow:0 4px 12px rgba(99,102,241,.12)}
.quickstart-card--primary{border-color:#6366f1;background:linear-gradient(135deg,#f5f5ff,#ede9fe)}
.quickstart-card__icon{font-size:1.5rem;flex-shrink:0;width:2.25rem;text-align:center}
.quickstart-card__content{flex:1;display:flex;flex-direction:column;gap:.125rem}
.quickstart-card__content strong{font-size:.875rem;font-weight:600;color:#111827}
.quickstart-card__content span{font-size:.75rem;color:#6b7280}
.quickstart-card__arrow{color:#9ca3af;font-size:1rem;flex-shrink:0;transition:transform .15s ease}
.quickstart-card:hover .quickstart-card__arrow{transform:translateX(3px);color:#6366f1}
