/* LinguaBridge design system — dark, premium, AI-meets-SaaS */
:root {
  --lb-bg: #070b14;
  --lb-bg-2: #0c1220;
  --lb-panel: rgba(17, 24, 39, 0.72);
  --lb-panel-solid: #111827;
  --lb-border: rgba(148, 163, 184, 0.14);
  --lb-border-strong: rgba(148, 163, 184, 0.28);
  --lb-text: #e5e7eb;
  --lb-muted: #94a3b8;
  --lb-cyan: #22d3ee;
  --lb-violet: #a78bfa;
  --lb-green: #34d399;
  --lb-amber: #fbbf24;
  --lb-red: #f87171;
  --lb-grad: linear-gradient(135deg, #22d3ee 0%, #6366f1 55%, #a78bfa 100%);
  --lb-radius: 16px;
  --lb-shadow: 0 20px 60px -20px rgba(34, 211, 238, 0.25), 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.lb-body {
  margin: 0; min-height: 100vh; color: var(--lb-text); font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: radial-gradient(1200px 600px at 10% -10%, rgba(34, 211, 238, 0.14), transparent 60%),
              radial-gradient(1000px 500px at 100% 0%, rgba(167, 139, 250, 0.16), transparent 60%),
              var(--lb-bg);
  -webkit-font-smoothing: antialiased;
}
[lang="ar"], .rtl, [dir="rtl"] { font-family: 'Noto Sans Arabic', Inter, sans-serif; }
a { color: inherit; text-decoration: none; }
.lb-container { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }

/* Logo */
.lb-logo { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; letter-spacing: -.01em; }
.lb-logo-mark { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.04); border: 1px solid var(--lb-border); box-shadow: inset 0 0 20px rgba(34,211,238,.12); }
.lb-logo-mark svg { width: 24px; height: 24px; }
.lb-logo-text { font-size: 1.15rem; color: #fff; } .lb-logo-text b { background: var(--lb-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lb-logo-sm .lb-logo-mark { width: 30px; height: 30px; } .lb-logo-sm .lb-logo-text { font-size: 1rem; }
.lb-logo-lg .lb-logo-mark { width: 48px; height: 48px; } .lb-logo-lg .lb-logo-text { font-size: 1.5rem; }

/* Buttons */
.lb-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.15rem; border-radius: 12px; font-weight: 600; font-size: .925rem; border: 1px solid transparent; cursor: pointer; transition: .18s ease; white-space: nowrap; line-height: 1; }
.lb-btn:disabled { opacity: .55; cursor: not-allowed; }
.lb-btn-sm { padding: .5rem .85rem; font-size: .85rem; border-radius: 10px; }
.lb-btn-lg { padding: .95rem 1.5rem; font-size: 1rem; border-radius: 14px; }
.lb-btn-primary { background: var(--lb-grad); color: #06121a; box-shadow: 0 8px 24px -8px rgba(99, 102, 241, .6); }
.lb-btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.lb-btn-ghost { background: transparent; color: var(--lb-text); border-color: var(--lb-border); }
.lb-btn-ghost:hover { background: rgba(255,255,255,.05); border-color: var(--lb-border-strong); }
.lb-btn-soft { background: rgba(255,255,255,.06); color: var(--lb-text); }
.lb-btn-soft:hover { background: rgba(255,255,255,.1); }
.lb-btn-danger { background: rgba(248,113,113,.12); color: #fca5a5; border-color: rgba(248,113,113,.25); }
.lb-btn-danger:hover { background: rgba(248,113,113,.2); }
.lb-icon-btn { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--lb-border); background: rgba(255,255,255,.03); color: var(--lb-text); cursor: pointer; }
.lb-icon-btn:hover { background: rgba(255,255,255,.08); }

/* Cards & panels */
.lb-card { background: var(--lb-panel); border: 1px solid var(--lb-border); border-radius: var(--lb-radius); backdrop-filter: blur(14px); }
.lb-card-pad { padding: 1.25rem; }
.lb-card-title { font-weight: 700; font-size: 1rem; color: #fff; display: flex; align-items: center; gap: .5rem; }
.lb-stat { padding: 1.1rem 1.25rem; position: relative; overflow: hidden; }
.lb-stat::after { content: ''; position: absolute; right: -30px; top: -30px; width: 100px; height: 100px; border-radius: 50%; background: var(--lb-grad); opacity: .12; filter: blur(20px); }
.lb-stat-value { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.lb-stat-label { font-size: .8rem; color: var(--lb-muted); text-transform: uppercase; letter-spacing: .08em; }

/* Forms */
.lb-label { display: block; font-size: .82rem; font-weight: 600; color: #cbd5e1; margin-bottom: .4rem; }
.lb-hint { font-size: .78rem; color: var(--lb-muted); margin-top: .35rem; }
.lb-input, .lb-select, .lb-textarea { width: 100%; padding: .75rem .95rem; border-radius: 12px; border: 1px solid var(--lb-border); background: rgba(255,255,255,.035); color: #fff; font: inherit; font-size: .95rem; outline: none; transition: .15s; }
.lb-input:focus, .lb-select:focus, .lb-textarea:focus { border-color: var(--lb-cyan); box-shadow: 0 0 0 3px rgba(34,211,238,.18); background: rgba(255,255,255,.05); }
.lb-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.4rem; }
.lb-select option { background: var(--lb-panel-solid); color: #fff; }
.lb-input.is-invalid { border-color: var(--lb-red); }
.lb-error { color: #fca5a5; font-size: .82rem; margin-top: .35rem; min-height: 1.1em; }
.lb-form-error { background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.3); color: #fecaca; padding: .7rem .9rem; border-radius: 10px; font-size: .88rem; }

/* Toggle */
.lb-toggle { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem .95rem; border: 1px solid var(--lb-border); border-radius: 12px; background: rgba(255,255,255,.025); cursor: pointer; }
.lb-toggle-label { font-size: .9rem; font-weight: 600; color: #e2e8f0; }
.lb-toggle-desc { font-size: .78rem; color: var(--lb-muted); margin-top: .1rem; }
.lb-switch { position: relative; width: 42px; height: 24px; flex: none; border-radius: 999px; background: rgba(148,163,184,.3); transition: .18s; }
.lb-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .18s; }
.lb-toggle input { display: none; }
.lb-toggle input:checked + .lb-switch { background: var(--lb-grad); }
.lb-toggle input:checked + .lb-switch::after { transform: translateX(18px); }

/* Segmented control */
.lb-seg { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.lb-seg label { border: 1px solid var(--lb-border); border-radius: 12px; padding: .8rem .9rem; cursor: pointer; text-align: center; background: rgba(255,255,255,.02); transition: .15s; }
.lb-seg label:hover { border-color: var(--lb-border-strong); }
.lb-seg input { display: none; }
.lb-seg input:checked + label, .lb-seg label.is-checked { border-color: var(--lb-cyan); background: rgba(34,211,238,.1); box-shadow: 0 0 0 3px rgba(34,211,238,.12) inset; }
.lb-seg .t { font-weight: 700; font-size: .9rem; color: #fff; display: block; }
.lb-seg .d { font-size: .75rem; color: var(--lb-muted); display: block; margin-top: .15rem; }

/* Combobox (searchable country selector) */
.lb-combo { position: relative; }
.lb-combo-list { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px); max-height: 260px; overflow: auto; background: #0f172a; border: 1px solid var(--lb-border-strong); border-radius: 12px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); display: none; }
.lb-combo.is-open .lb-combo-list { display: block; }
.lb-combo-item { display: flex; align-items: center; gap: .6rem; padding: .6rem .85rem; cursor: pointer; font-size: .92rem; }
.lb-combo-item:hover, .lb-combo-item.is-active { background: rgba(34,211,238,.12); }
.lb-combo-item .flag { font-size: 1.15rem; width: 1.5rem; text-align: center; }
.lb-combo-empty { padding: .8rem; color: var(--lb-muted); font-size: .85rem; }

/* Badges & pills */
.lb-badge { display: inline-flex; align-items: center; gap: .35rem; padding: .22rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.lb-badge-active { background: rgba(52,211,153,.14); color: #6ee7b7; }
.lb-badge-scheduled { background: rgba(251,191,36,.14); color: #fcd34d; }
.lb-badge-ended, .lb-badge-cancelled { background: rgba(148,163,184,.14); color: #cbd5e1; }
.lb-badge-instant { background: rgba(34,211,238,.14); color: #67e8f9; }
.lb-badge-private_room { background: rgba(167,139,250,.16); color: #c4b5fd; }
.lb-badge-left, .lb-badge-removed, .lb-badge-joined { background: rgba(148,163,184,.14); color: #cbd5e1; }
.lb-badge-joined { background: rgba(52,211,153,.14); color: #6ee7b7; }
.lb-pill { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .65rem; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--lb-border); font-size: .78rem; color: #e2e8f0; }
.lb-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.lb-dot-green { background: var(--lb-green); box-shadow: 0 0 0 4px rgba(52,211,153,.18); }
.lb-dot-amber { background: var(--lb-amber); } .lb-dot-red { background: var(--lb-red); } .lb-dot-gray { background: #64748b; }
.lb-pulse { animation: lbpulse 1.6s infinite; }
@keyframes lbpulse { 0%,100% { box-shadow: 0 0 0 0 rgba(52,211,153,.4) } 50% { box-shadow: 0 0 0 6px rgba(52,211,153,0) } }

/* Tables / lists */
.lb-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.lb-table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--lb-muted); padding: .6rem .9rem; border-bottom: 1px solid var(--lb-border); }
.lb-table td { padding: .8rem .9rem; border-bottom: 1px solid var(--lb-border); vertical-align: middle; }
.lb-table tr:last-child td { border-bottom: 0; }
.lb-table tr:hover td { background: rgba(255,255,255,.02); }
.lb-list-item { display: flex; align-items: center; gap: .9rem; padding: .8rem 0; border-bottom: 1px solid var(--lb-border); }
.lb-list-item:last-child { border-bottom: 0; }
.lb-empty { text-align: center; padding: 2.5rem 1rem; color: var(--lb-muted); }
.lb-empty i { font-size: 1.8rem; display: block; margin-bottom: .6rem; opacity: .6; }
.lb-avatar { width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--lb-grad); color: #06121a; font-weight: 800; font-size: .9rem; flex: none; }
.lb-avatar-lg { width: 56px; height: 56px; font-size: 1.3rem; }

/* App shell */
.lb-app { display: flex; min-height: 100vh; }
.lb-sidebar { width: 264px; flex: none; display: flex; flex-direction: column; background: rgba(9, 13, 24, .85); border-right: 1px solid var(--lb-border); position: sticky; top: 0; height: 100vh; backdrop-filter: blur(16px); }
.lb-sidebar-head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.1rem .8rem; }
.lb-nav { display: flex; flex-direction: column; gap: .15rem; padding: .5rem .7rem; flex: 1; overflow: auto; }
.lb-nav-item { display: flex; align-items: center; gap: .8rem; padding: .68rem .9rem; border-radius: 11px; font-size: .9rem; font-weight: 500; color: #cbd5e1; border: 0; background: transparent; cursor: pointer; text-align: left; font-family: inherit; }
.lb-nav-item i { width: 18px; text-align: center; color: var(--lb-muted); }
.lb-nav-item:hover { background: rgba(255,255,255,.05); color: #fff; }
.lb-nav-item.is-active { background: linear-gradient(90deg, rgba(34,211,238,.16), rgba(167,139,250,.1)); color: #fff; border-left: 2px solid var(--lb-cyan); }
.lb-nav-item.is-active i { color: var(--lb-cyan); }
.lb-sidebar-foot { padding: .8rem .7rem 1rem; border-top: 1px solid var(--lb-border); display: grid; gap: .3rem; }
.lb-user-chip { display: flex; align-items: center; gap: .7rem; padding: .5rem .6rem; }
.lb-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lb-topbar { height: 60px; display: flex; align-items: center; gap: .8rem; padding: 0 1.5rem; border-bottom: 1px solid var(--lb-border); position: sticky; top: 0; background: rgba(7,11,20,.7); backdrop-filter: blur(12px); z-index: 20; }
.lb-content { padding: 1.75rem 1.5rem 3rem; max-width: 1280px; width: 100%; margin: 0 auto; }
.lb-page-title { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.lb-page-sub { color: var(--lb-muted); margin-top: .2rem; }
@media (max-width: 1023px) {
  .lb-sidebar { position: fixed; left: 0; top: 0; z-index: 50; transform: translateX(-100%); transition: transform .22s ease; box-shadow: 0 0 80px rgba(0,0,0,.6); }
  .lb-sidebar.is-open { transform: translateX(0); }
  .lb-content { padding: 1.25rem 1rem 3rem; }
}

/* Public */
.lb-public-header { padding: 1.1rem 0; border-bottom: 1px solid var(--lb-border); position: sticky; top: 0; z-index: 30; background: rgba(7,11,20,.6); backdrop-filter: blur(12px); }
.lb-public-footer { padding: 2rem 0; border-top: 1px solid var(--lb-border); margin-top: 4rem; }
.lb-hero { padding: 5.5rem 0 3rem; text-align: center; }
.lb-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; color: #fff; margin: 1rem 0; }
.lb-hero h1 span { background: var(--lb-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lb-hero p { font-size: 1.15rem; color: var(--lb-muted); max-width: 640px; margin: 0 auto 2rem; }
.lb-eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--lb-border-strong); font-size: .78rem; color: #c7d2fe; background: rgba(99,102,241,.1); }
.lb-caption-demo { max-width: 720px; margin: 3rem auto 0; text-align: left; }
.lb-caption { display: flex; gap: .9rem; padding: .95rem 1.1rem; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--lb-border); margin-bottom: .6rem; }
.lb-caption .who { font-size: .78rem; color: var(--lb-muted); }
.lb-caption .orig { color: #cbd5e1; font-size: .95rem; margin-top: .15rem; }
.lb-caption .tr { color: #fff; font-weight: 600; margin-top: .3rem; }
.lb-feature { padding: 1.4rem; }
.lb-feature i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(34,211,238,.12); color: var(--lb-cyan); font-size: 1.1rem; margin-bottom: .9rem; }
.lb-feature h3 { color: #fff; font-weight: 700; margin: 0 0 .35rem; }
.lb-feature p { color: var(--lb-muted); font-size: .9rem; margin: 0; }

/* Auth & join */
.lb-auth-wrap { min-height: calc(100vh - 140px); display: grid; place-items: center; padding: 2rem 1rem; }
.lb-auth-card { width: 100%; max-width: 440px; padding: 2rem; }
.lb-join-wrap { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1rem; }
.lb-join-card { width: 100%; max-width: 620px; padding: 2rem; }
.lb-step { display: flex; align-items: center; gap: .6rem; font-size: .8rem; color: var(--lb-muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin: 1.6rem 0 .8rem; }
.lb-step::after { content: ''; flex: 1; height: 1px; background: var(--lb-border); }
.lb-step b { color: var(--lb-cyan); }

/* Room lobby */
.lb-room { min-height: 100vh; display: flex; flex-direction: column; }
.lb-room-top { height: 58px; display: flex; align-items: center; gap: 1rem; padding: 0 1.2rem; border-bottom: 1px solid var(--lb-border); background: rgba(7,11,20,.8); }
.lb-room-body { flex: 1; display: grid; grid-template-columns: 1fr 360px; gap: 1rem; padding: 1rem 1.2rem; }
.lb-room-stage { position: relative; display: flex; flex-direction: column; gap: .8rem; border-radius: var(--lb-radius); border: 1px solid var(--lb-border); background: radial-gradient(1200px 500px at 50% -10%, rgba(34,211,238,.06), transparent), rgba(255,255,255,.02); min-height: 380px; padding: 1rem; }
.lb-room-panel { display: flex; flex-direction: column; gap: 1rem; }
.lb-room-controls { height: 76px; display: flex; align-items: center; justify-content: center; gap: .7rem; border-top: 1px solid var(--lb-border); background: rgba(7,11,20,.8); }
.lb-ctl { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--lb-border); background: rgba(255,255,255,.05); color: #fff; font-size: 1.05rem; cursor: pointer; }
.lb-ctl:hover { background: rgba(255,255,255,.1); }
.lb-ctl.is-off { background: rgba(248,113,113,.15); color: #fca5a5; border-color: rgba(248,113,113,.3); }
.lb-ctl.is-leave { background: #ef4444; border-color: #ef4444; width: auto; padding: 0 1.2rem; font-weight: 700; }
.lb-ctl[disabled] { opacity: .45; cursor: not-allowed; }
@media (max-width: 900px) {
  .lb-room-body { grid-template-columns: 1fr; }
  .lb-room-panel { position: fixed; inset: 58px 0 76px auto; width: min(92vw, 380px); transform: translateX(105%); transition: transform .25s; background: var(--lb-bg, #070b14); padding: 1rem; overflow: auto; z-index: 30; border-left: 1px solid var(--lb-border); }
  .lb-room-panel.is-open { transform: none; }
  .lb-room-controls { gap: .4rem; padding: 0 .5rem; } .lb-ctl { width: 44px; height: 44px; }
}
.lb-ctl.is-on { background: rgba(52,211,153,.15); color: #6ee7b7; border-color: rgba(52,211,153,.35); }
.lb-ctl.is-danger { background: rgba(248,113,113,.12); color: #fca5a5; border-color: rgba(248,113,113,.3); }
.lb-dot-red { animation: lb-pulse 1.4s infinite; }
@keyframes lb-pulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }

/* Media grid */
.lb-grid { flex: 1; display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); grid-auto-rows: max-content; align-content: center; }
.lb-grid[data-count="3"], .lb-grid[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lb-grid[data-count="5"], .lb-grid[data-count="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lb-room-stage.is-lobby .lb-grid { align-content: start; }
.lb-room-stage.is-lobby .lb-tile { aspect-ratio: 16/7; min-height: 120px; }
.lb-grid[data-count="1"] { grid-template-columns: minmax(0, 720px); justify-content: center; }
.lb-grid[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lb-grid.has-share { grid-template-columns: 3fr 1fr; grid-auto-rows: minmax(120px, auto); }
.lb-grid.has-share .lb-tile-screen { grid-row: span 3; min-height: 360px; }
.lb-tile { position: relative; border-radius: 16px; overflow: hidden; background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border: 2px solid var(--lb-border); aspect-ratio: 16/10; min-height: 150px; display: grid; place-items: center; transition: border-color .15s, box-shadow .15s; }
.lb-tile.is-speaking { border-color: var(--lb-green); box-shadow: 0 0 0 3px rgba(52,211,153,.18); }
.lb-tile-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.lb-tile.has-video .lb-tile-avatar { display: none; }
.lb-tile-screen .lb-tile-video { object-fit: contain; }
.lb-tile-name { position: absolute; left: .6rem; bottom: .6rem; display: flex; align-items: center; gap: .4rem; max-width: calc(100% - 1.2rem); padding: .3rem .6rem; border-radius: 999px; background: rgba(3,6,12,.65); backdrop-filter: blur(6px); font-size: .8rem; color: #fff; }
.lb-tile-mic { color: #fca5a5; }
.lb-tile-caption { position: absolute; left: .6rem; right: .6rem; top: .6rem; padding: .35rem .6rem; border-radius: 10px; background: rgba(3,6,12,.7); font-size: .85rem; color: #e2e8f0; line-height: 1.35; max-height: 4.2em; overflow: hidden; }

/* Stage captions overlay */
.lb-captions { min-height: 0; display: grid; gap: .25rem; justify-items: center; text-align: center; pointer-events: none; }
.lb-caption-line { display: inline-block; padding: .5rem .9rem; border-radius: 12px; background: rgba(3,6,12,.82); color: #fff; font-size: 1.05rem; line-height: 1.4; max-width: 900px; box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.lb-caption-line b { color: #67e8f9; margin-inline-end: .35rem; }
.lb-caption-orig { font-size: .85rem; color: #94a3b8; max-width: 900px; }

/* Transcript */
.lb-transcript { overflow: auto; max-height: 46vh; display: flex; flex-direction: column; gap: .55rem; padding-right: .25rem; }
.lb-tx { padding: .55rem .7rem; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--lb-border); }
.lb-tx.is-mine { background: rgba(34,211,238,.06); border-color: rgba(34,211,238,.2); }
.lb-tx.is-partial { opacity: .65; border-style: dashed; }
.lb-tx-meta { font-size: .72rem; color: #94a3b8; display: flex; gap: .4rem; align-items: center; margin-bottom: .2rem; }
.lb-tx-meta b { color: #e2e8f0; }
.lb-tx-text { font-size: .93rem; color: #f1f5f9; line-height: 1.45; }
.lb-tx-orig { font-size: .8rem; color: #94a3b8; margin-top: .2rem; padding-top: .2rem; border-top: 1px dashed var(--lb-border); }
.lb-list-item.is-speaking .lb-avatar { box-shadow: 0 0 0 3px rgba(52,211,153,.4); }
[dir="rtl"] { text-align: right; }

/* Toasts */
.lb-toast-root { position: fixed; right: 1rem; bottom: 1rem; display: grid; gap: .5rem; z-index: 100; }
.lb-toast { padding: .75rem 1rem; border-radius: 12px; background: #0f172a; border: 1px solid var(--lb-border-strong); color: #fff; font-size: .9rem; box-shadow: var(--lb-shadow); display: flex; gap: .6rem; align-items: center; animation: lbin .2s ease; max-width: 360px; }
.lb-toast-ok { border-color: rgba(52,211,153,.4); } .lb-toast-err { border-color: rgba(248,113,113,.45); }
@keyframes lbin { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }

/* Misc */
.lb-copy { display: flex; gap: .5rem; }
.lb-copy input { flex: 1; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; }
.lb-kbd { font-family: ui-monospace, monospace; font-size: .8rem; background: rgba(255,255,255,.06); padding: .15rem .45rem; border-radius: 6px; border: 1px solid var(--lb-border); }
.lb-skeleton { background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.09), rgba(255,255,255,.04)); background-size: 200% 100%; animation: lbsk 1.2s infinite; border-radius: 8px; }
@keyframes lbsk { from { background-position: 200% 0 } to { background-position: -200% 0 } }
.lb-notice { display: flex; gap: .7rem; padding: .85rem 1rem; border-radius: 12px; font-size: .88rem; border: 1px solid; }
.lb-notice-info { background: rgba(34,211,238,.08); border-color: rgba(34,211,238,.25); color: #a5f3fc; }
.lb-notice-warn { background: rgba(251,191,36,.08); border-color: rgba(251,191,36,.3); color: #fde68a; }
.hidden { display: none !important; }

/* ---- Phase 7: dashboard pipeline + meeting history ------------------------- */
.lb-pipe-cell { padding: .8rem 1rem; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--lb-border); }
.lb-select-sm { padding: .45rem .7rem; font-size: .85rem; border-radius: 10px; min-width: 9rem; }
.lb-transcript-history { max-height: 26rem; overflow-y: auto; display: flex; flex-direction: column; gap: .5rem; padding-right: .25rem; }

/* ---- Landing hero: brand artwork background --------------------------------- */
.lb-hero-brand { position: relative; isolation: isolate; overflow: hidden; padding-top: 6.5rem; padding-bottom: 4rem; min-height: 620px; }
.lb-hero-brand .lb-hero-bg {
  /* show the globe + phone (right half of the square artwork); the poster's own text stays off-canvas */
  position: absolute; inset: 0; z-index: -2;
  background-image: url('/static/img/hero-bg.webp');
  background-size: auto 135%; background-position: 100% 28%; background-repeat: no-repeat;
}
.lb-hero-brand::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7,11,20,.35) 0%, rgba(7,11,20,.15) 50%, var(--lb-bg) 100%),
    linear-gradient(90deg, var(--lb-bg) 0%, var(--lb-bg) 22%, rgba(7,11,20,.85) 45%, rgba(7,11,20,.35) 70%, rgba(7,11,20,.15) 100%);
}
.lb-hero-brand .lb-hero-content { position: relative; z-index: 1; }
.lb-hero-brand h1 { text-shadow: 0 2px 24px rgba(0,0,0,.55); }
.lb-hero-brand p { color: #e2e8f0; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.lb-hero-brand .lb-caption { background: rgba(7,11,20,.62); backdrop-filter: blur(8px); border-color: rgba(255,255,255,.12); }
@media (max-width: 1100px) { .lb-hero-brand .lb-hero-bg { background-size: auto 120%; background-position: 85% 25%; } }
@media (max-width: 768px) {
  .lb-hero-brand { min-height: 0; }
  .lb-hero-brand .lb-hero-bg { background-image: url('/static/img/hero-bg-768.webp'); background-size: cover; background-position: 70% 30%; }
  .lb-hero-brand::before { background: linear-gradient(180deg, rgba(7,11,20,.9) 0%, rgba(7,11,20,.82) 55%, var(--lb-bg) 100%); }
}
