/* EduHackAI app — themed from eduhackai-05.html and the Sahaba Club brand
   guidebook: near-black ground (#05070D), near-white type (#F3F4F8), violet
   (#8B5CF6) → blue transition → cyan (#22D3EE). Gold is NOT used: the
   guidebook restricts it to premium/marketing status. System sans-serif.
   The three angles keep fixed colours everywhere they appear:
     Business = blue transition, Creativity = violet, Tech = cyan. */

:root {
  --bg: #05070d;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f3f4f8;
  --text-2: #b3b9cc;
  --muted: #8a92ab;
  --violet: #8b5cf6;
  --violet-text: #a78bfa;
  --blue: #2e71ff;
  --blue-text: #6f9bff;
  --cyan: #22d3ee;
  --run: linear-gradient(90deg, #8b5cf6 0%, #2e71ff 50%, #22d3ee 100%);
  --danger: #f87171;
  --ok: #34d399;
  --business: #2e71ff;
  --creativity: #8b5cf6;
  --tech: #22d3ee;
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.5; }
body { min-height: 100vh; padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { body { padding-bottom: 0; } }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eh-skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 8px 14px; background: #fff; color: #000; border-radius: 8px; width: auto; height: auto; clip: auto; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.eh-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(900px 520px at 50% -10%, rgba(139, 92, 246, 0.22), transparent 65%),
              radial-gradient(700px 480px at 95% 30%, rgba(34, 211, 238, 0.1), transparent 65%),
              radial-gradient(600px 420px at 5% 80%, rgba(46, 113, 255, 0.12), transparent 65%); }

/* ---- top bar ---- */
.eh-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px; padding: 12px 20px;
  background: rgba(5, 7, 13, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.eh-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.eh-brand img { height: 24px; width: auto; display: block; }
.eh-brand:hover { text-decoration: none; }
.eh-round { padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.2em; color: #05070d; background: var(--run); }
.eh-nav { display: none; gap: 4px; flex: 1; }
@media (min-width: 900px) { .eh-nav { display: flex; } }
.eh-nav a, .eh-tabbar a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 10px; color: var(--text-2); font-weight: 600; font-size: 14.5px; }
.eh-nav a:hover, .eh-tabbar a:hover { color: var(--text); background: var(--panel); text-decoration: none; }
.eh-nav a[aria-current="page"], .eh-tabbar a[aria-current="page"] { color: var(--text); background: var(--panel-strong); }
.eh-nav svg, .eh-tabbar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.eh-badge-dot { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.eh-me { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.eh-me a { color: var(--text-2); font-size: 14px; }
.eh-tabbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; display: flex; justify-content: space-around; padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  background: rgba(5, 7, 13, 0.94); border-top: 1px solid var(--border); backdrop-filter: blur(14px); }
.eh-tabbar a { flex-direction: column; gap: 2px; font-size: 11.5px; padding: 6px 8px; }
@media (min-width: 900px) { .eh-tabbar { display: none !important; } }

/* ---- layout ---- */
.eh-main { max-width: 1120px; margin: 0 auto; padding: 24px 20px 48px; outline: none; }
.eh-main.is-narrow { max-width: 760px; }
.eh-cols { display: grid; gap: 24px; }
@media (min-width: 980px) { .eh-cols { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
.eh-side { display: grid; gap: 16px; }
@media (min-width: 980px) { .eh-side { position: sticky; top: 80px; } }
.eh-h1 { margin: 0 0 6px; font-size: clamp(26px, 4vw, 36px); font-weight: 850; letter-spacing: -0.015em; line-height: 1.12; }
.eh-h2 { margin: 0 0 12px; font-size: 19px; font-weight: 800; }
.eh-kicker { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cyan); }
.eh-sub { margin: 0 0 22px; color: var(--text-2); max-width: 64ch; }
.eh-grad { background: var(--run); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.eh-muted { color: var(--muted); }
.eh-small { font-size: 13.5px; }
.eh-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.eh-spread { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.eh-stack { display: grid; gap: 14px; }

.eh-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.eh-card.is-hl { border-color: rgba(34, 211, 238, 0.35); background: linear-gradient(180deg, rgba(34, 211, 238, 0.06), rgba(255, 255, 255, 0.03)); }
.eh-card.is-warn { border-color: rgba(248, 113, 113, 0.45); background: rgba(248, 113, 113, 0.07); }
.eh-card.is-hidden-item { opacity: 0.6; border-style: dashed; }

/* ---- buttons and fields ---- */
.eh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--panel-strong); color: var(--text); font-weight: 700; font-size: 15px; cursor: pointer; transition: background 0.15s, transform 0.15s; }
.eh-btn:hover { background: rgba(255, 255, 255, 0.11); text-decoration: none; }
.eh-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.eh-btn.is-primary { border: 0; color: #05070d; background: var(--run); box-shadow: 0 8px 26px rgba(46, 113, 255, 0.3); }
.eh-btn.is-primary:hover:not(:disabled) { transform: translateY(-1px); }
.eh-btn.is-danger { border-color: rgba(248, 113, 113, 0.5); color: #fecaca; background: rgba(248, 113, 113, 0.1); }
.eh-btn.is-ghost { background: transparent; }
.eh-btn.is-sm { padding: 6px 12px; font-size: 13.5px; border-radius: 10px; }
.eh-btn.is-lg { padding: 15px 28px; font-size: 17px; border-radius: 16px; }
.eh-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.eh-icon-btn:hover { background: var(--panel-strong); color: var(--text); }
.eh-icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.eh-field { display: grid; gap: 6px; }
.eh-field > span { font-weight: 700; font-size: 14px; }
.eh-field small { color: var(--muted); font-size: 12.5px; }
.eh-input, .eh-textarea, .eh-select { width: 100%; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.04); color: var(--text); }
.eh-input:focus, .eh-textarea:focus, .eh-select:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15); }
.eh-textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.eh-select option { background: #0b0f1a; }
.eh-count { justify-self: end; font-size: 12px; color: var(--muted); }
.eh-count.is-bad { color: var(--danger); }
.eh-error { color: #fecaca; background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.4); border-radius: 12px; padding: 10px 14px; font-size: 14px; }

.eh-choice { display: grid; gap: 10px; }
@media (min-width: 640px) { .eh-choice.is-3 { grid-template-columns: repeat(3, 1fr); } .eh-choice.is-2 { grid-template-columns: repeat(2, 1fr); } }
.eh-choice label { position: relative; display: grid; gap: 4px; padding: 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--panel); cursor: pointer; }
.eh-choice label:hover { border-color: rgba(255, 255, 255, 0.25); }
.eh-choice input { position: absolute; opacity: 0; }
.eh-choice strong { font-size: 16px; }
.eh-choice span { color: var(--text-2); font-size: 14px; }
.eh-choice label:has(input:checked) { border-color: var(--cyan); background: rgba(34, 211, 238, 0.08); box-shadow: 0 0 0 1px var(--cyan) inset; }
.eh-choice label:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; }

.eh-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; border: 1px solid var(--border); background: var(--panel); color: var(--text-2); white-space: nowrap; }
.eh-chip.is-lead { color: var(--cyan); border-color: rgba(34, 211, 238, 0.4); }
.eh-chip.is-join { color: var(--violet-text); border-color: rgba(139, 92, 246, 0.45); }
.eh-chip.is-coach { color: #05070d; background: var(--cyan); border: 0; }
.eh-chip.is-admin { color: #05070d; background: var(--violet-text); border: 0; }
.eh-chip.is-business { color: var(--blue-text); border-color: rgba(46, 113, 255, 0.5); }
.eh-chip.is-creativity { color: var(--violet-text); border-color: rgba(139, 92, 246, 0.5); }
.eh-chip.is-tech { color: var(--cyan); border-color: rgba(34, 211, 238, 0.5); }
.eh-chip.is-ok { color: var(--ok); border-color: rgba(52, 211, 153, 0.45); }
.eh-chip.is-warn { color: #fecaca; border-color: rgba(248, 113, 113, 0.45); }

/* ---- avatars ---- */
.eh-av { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: var(--panel-strong); display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; color: var(--text); border: 1px solid var(--border); overflow: hidden; }
.eh-av.is-sm { width: 32px; height: 32px; font-size: 12px; }
.eh-av.is-lg { width: 72px; height: 72px; font-size: 24px; }
.eh-av-stack { display: flex; }
.eh-av-stack .eh-av { margin-left: -8px; border: 2px solid var(--bg); }
.eh-av-stack .eh-av:first-child { margin-left: 0; }
.eh-person { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--text); }
.eh-person:hover { text-decoration: none; }
.eh-person-name { font-weight: 750; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eh-person-sub { display: block; color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- the matrix ---- */
.eh-matrix { display: grid; gap: 8px; }
.eh-bar { display: grid; grid-template-columns: 92px 1fr 34px; align-items: center; gap: 10px; font-size: 13.5px; }
.eh-bar > span:first-child { font-weight: 700; color: var(--text-2); }
.eh-bar-track { height: 9px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.eh-bar-fill { height: 100%; border-radius: 6px; }
.eh-bar.is-business .eh-bar-fill { background: var(--business); }
.eh-bar.is-creativity .eh-bar-fill { background: var(--creativity); }
.eh-bar.is-tech .eh-bar-fill { background: var(--tech); }
.eh-bar > b { text-align: right; font-variant-numeric: tabular-nums; }
.eh-matrix.is-mini .eh-bar { grid-template-columns: 74px 1fr 26px; font-size: 12px; gap: 8px; }
.eh-matrix.is-mini .eh-bar-track { height: 6px; }
.eh-radar { display: block; width: 100%; max-width: 280px; height: auto; margin: 0 auto; }
.eh-radar text { fill: var(--text-2); font-size: 12.5px; font-weight: 700; font-family: var(--font); }
.eh-matrix-wrap { display: grid; gap: 16px; align-items: center; }
@media (min-width: 640px) { .eh-matrix-wrap { grid-template-columns: 220px 1fr; } }

/* ---- the wall ---- */
.eh-composer textarea { min-height: 70px; }
.eh-post { display: grid; gap: 12px; }
.eh-post-head { display: flex; align-items: flex-start; gap: 12px; }
.eh-post-head .eh-person { flex: 1; }
.eh-post-body { white-space: pre-wrap; word-wrap: break-word; overflow-wrap: anywhere; }
.eh-post-tag { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.eh-pin { font-size: 12px; font-weight: 800; color: var(--violet-text); }
.eh-imgs { display: grid; gap: 6px; grid-template-columns: repeat(2, 1fr); border-radius: 12px; overflow: hidden; }
.eh-imgs.is-1 { grid-template-columns: 1fr; }
.eh-imgs img, .eh-imgs .eh-img-ph { width: 100%; height: 100%; max-height: 420px; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--panel-strong); cursor: zoom-in; }
.eh-imgs.is-1 img { aspect-ratio: auto; object-fit: contain; max-height: 520px; background: rgba(0, 0, 0, 0.3); }
.eh-welcome { display: grid; gap: 14px; padding: 16px; border-radius: 14px; background: linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(46, 113, 255, 0.08) 50%, rgba(34, 211, 238, 0.1)); border: 1px solid rgba(139, 92, 246, 0.3); }
.eh-welcome h3 { margin: 0; font-size: 20px; }
.eh-react-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.eh-react { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); background: transparent; cursor: pointer; font-size: 14px; color: var(--text-2); }
.eh-react:hover { background: var(--panel-strong); }
.eh-react.is-on { border-color: var(--cyan); background: rgba(34, 211, 238, 0.12); color: var(--text); }
.eh-react b { font-size: 12.5px; font-variant-numeric: tabular-nums; }
.eh-comments { display: grid; gap: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.eh-comment { display: flex; gap: 10px; }
.eh-comment-bubble { flex: 1; min-width: 0; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); }
.eh-comment-bubble p { margin: 2px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14.5px; }
.eh-comment-form { display: flex; gap: 8px; }
.eh-comment-form .eh-input { padding: 8px 12px; }
.eh-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.eh-thumb { position: relative; width: 74px; height: 74px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.eh-thumb img { width: 100%; height: 100%; object-fit: cover; }
.eh-thumb button { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, 0.7); color: #fff; cursor: pointer; line-height: 1; }

/* ---- menus, dialogs, toast ---- */
.eh-menu { position: relative; }
.eh-menu-list { position: absolute; right: 0; top: 100%; z-index: 30; min-width: 180px; padding: 6px; border-radius: 12px; border: 1px solid var(--border); background: #0c101c; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); }
.eh-menu-list button { display: block; width: 100%; text-align: left; padding: 8px 12px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; font-size: 14px; }
.eh-menu-list button:hover { background: var(--panel-strong); }
.eh-menu-list button.is-danger { color: #fecaca; }
dialog.eh-dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border-radius: 18px; border: 1px solid var(--border); background: #0b0f1a; color: var(--text); }
dialog.eh-dialog::backdrop { background: rgba(0, 0, 0, 0.65); backdrop-filter: blur(3px); }
.eh-dialog-body { padding: 22px; display: grid; gap: 14px; }
.eh-dialog-body h2 { margin: 0; font-size: 20px; }
dialog.eh-lightbox { width: auto; max-width: 96vw; padding: 0; border: 0; background: transparent; }
dialog.eh-lightbox img { max-width: 96vw; max-height: 90vh; display: block; border-radius: 8px; }
dialog.eh-lightbox::backdrop { background: rgba(0, 0, 0, 0.85); }
.eh-toast { position: fixed; left: 50%; bottom: calc(88px + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(20px); z-index: 60; max-width: calc(100vw - 32px);
  padding: 11px 18px; border-radius: 12px; background: #f3f4f8; color: #05070d; font-weight: 700; font-size: 14.5px; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; }
.eh-toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
.eh-toast.is-bad { background: #fecaca; }
@media (min-width: 900px) { .eh-toast { bottom: 24px; } }
.eh-loading { display: flex; align-items: center; gap: 12px; justify-content: center; padding: 60px 0; color: var(--text-2); }
.eh-spinner { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, 0.15); border-top-color: var(--cyan); animation: eh-spin 0.8s linear infinite; display: inline-block; }
@keyframes eh-spin { to { transform: rotate(360deg); } }
.eh-empty { text-align: center; padding: 34px 18px; color: var(--text-2); }

/* ---- onboarding ---- */
.eh-hero { text-align: center; padding: 28px 0 10px; }
.eh-hero-logo { width: min(420px, 78vw); height: auto; display: block; margin: 0 auto 16px; }
.eh-hero-tag { display: inline-block; padding: 6px 16px; border-radius: 999px; font-weight: 800; letter-spacing: 0.3em; font-size: 13px; color: #05070d; background: var(--run); box-shadow: 0 0 30px rgba(46, 113, 255, 0.45); }
.eh-hero h1 { margin: 22px auto 10px; font-size: clamp(32px, 5.5vw, 56px); line-height: 1.06; font-weight: 900; letter-spacing: -0.025em; max-width: 18ch; }
.eh-hero p { margin: 0 auto 26px; color: var(--text-2); font-size: 17.5px; max-width: 56ch; }
.eh-steps { display: flex; gap: 6px; justify-content: center; margin: 0 0 22px; }
.eh-steps span { width: 34px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); }
.eh-steps span.is-done { background: var(--run); }
.eh-angles { display: grid; gap: 12px; margin: 26px 0; text-align: left; }
@media (min-width: 640px) { .eh-angles { grid-template-columns: repeat(3, 1fr); } }
.eh-angle { padding: 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--panel); }
.eh-angle strong { display: block; margin-bottom: 4px; }
.eh-angle.is-business strong { color: var(--blue-text); }
.eh-angle.is-creativity strong { color: var(--violet-text); }
.eh-angle.is-tech strong { color: var(--cyan); }
.eh-angle p { margin: 0; color: var(--text-2); font-size: 14px; }
.eh-chat { display: grid; gap: 12px; }
.eh-bubble { max-width: 85%; padding: 12px 16px; border-radius: 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.eh-bubble.is-ai { justify-self: start; background: rgba(139, 92, 246, 0.14); border: 1px solid rgba(139, 92, 246, 0.3); border-bottom-left-radius: 4px; }
.eh-bubble.is-me { justify-self: end; background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.25); border-bottom-right-radius: 4px; }
.eh-progress { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.eh-progress > div { height: 100%; background: var(--run); transition: width 0.3s; }
.eh-known { display: grid; gap: 6px; font-size: 14.5px; }
.eh-known div { display: grid; grid-template-columns: 130px 1fr; gap: 10px; }
.eh-known dt, .eh-known b { color: var(--muted); font-weight: 600; }

/* ---- people and teams ---- */
.eh-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.eh-person-card { display: grid; gap: 12px; align-content: start; }
.eh-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.eh-filters .eh-select, .eh-filters .eh-input { width: auto; padding: 8px 12px; font-size: 14px; }
.eh-team-card { display: grid; gap: 12px; align-content: start; }
.eh-team-card h3 { margin: 0; font-size: 18px; }
.eh-slots { display: flex; gap: 4px; }
.eh-slots span { width: 22px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); }
.eh-slots span.is-full { background: var(--run); }
.eh-section-title { margin: 22px 0 10px; font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.eh-detail { display: grid; gap: 4px; }
.eh-detail h4 { margin: 0; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.eh-detail p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.eh-chatbox { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: min(70vh, 640px); padding: 0; overflow: hidden; }
.eh-chat-log { overflow-y: auto; padding: 16px; display: grid; gap: 12px; align-content: start; }
.eh-msg { display: flex; gap: 10px; }
.eh-msg.is-me { flex-direction: row-reverse; }
.eh-msg-bubble { max-width: 78%; padding: 8px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); }
.eh-msg.is-me .eh-msg-bubble { background: rgba(34, 211, 238, 0.12); }
.eh-msg-bubble p { margin: 2px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.eh-msg-bubble img { margin-top: 6px; max-height: 260px; border-radius: 10px; cursor: zoom-in; }
.eh-chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); background: rgba(0, 0, 0, 0.2); align-items: flex-end; }
.eh-chat-form textarea { min-height: 44px; max-height: 140px; resize: none; }

/* ---- admin ---- */
.eh-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.eh-tabs button { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--border); background: transparent; cursor: pointer; font-weight: 700; color: var(--text-2); }
.eh-tabs button[aria-selected="true"] { color: #05070d; background: var(--text); border-color: var(--text); }
.eh-table-wrap { overflow-x: auto; }
.eh-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.eh-table th, .eh-table td { padding: 10px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
.eh-table th { color: var(--muted); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
