:root {
  color-scheme: light;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --paper: #fff;
  --canvas: #f8fafc;
  --sidebar: #0f172a;
  --sidebar-muted: #94a3b8;
  --accent: #625fff;
  --accent-dark: #4f39f6;
  --accent-soft: #eef2ff;
  --green: #00bb7f;
  --green-soft: #e8f9f2;
  --blue: #00b7d7;
  --blue-soft: #e7faff;
  --yellow: #f99c00;
  --yellow-soft: #fff6e5;
  --violet: #ac4bff;
  --shadow: 0 12px 34px rgba(37, 47, 55, .055);
  font-family: "Inter", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: "Inter", sans-serif; font-size: 14.5px; letter-spacing: -.012em; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: #625fff; color: #fff; }
.hidden { display: none !important; }
.app-root { min-height: 100vh; }
.loading-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #64748b; font-size: 13px; }
.loading-spinner { width: 24px; height: 24px; border: 2.5px solid #e3e8e4; border-top-color: var(--accent); border-radius: 50%; animation: load-spin .8s linear infinite; }
@keyframes load-spin { to { transform: rotate(360deg); } }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 800 18px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: -.65px; color: var(--ink); }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border-radius: 11px; overflow: hidden; background: transparent; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand.inverse { color: #fff; }
.brand.inverse .brand-mark { background: transparent; }
.eyebrow { color: var(--accent); font-size: 12px; line-height: 1.25; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 700; }
.muted { color: var(--muted); }
.serif { font-family: "Playfair Display", Georgia, serif; font-weight: 400; letter-spacing: -1.3px; }
.btn { border: 0; border-radius: 9px; padding: 10px 16px; background: var(--paper); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 13.5px; font-weight: 700; transition: transform .16s ease, background .16s ease, box-shadow .16s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn:focus-visible, .icon-btn:focus-visible, .side-link:focus-visible, .choice-card:focus-visible, .event-choice:focus-visible { outline: 3px solid rgba(98,95,255,.32); outline-offset: 2px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 5px 14px rgba(98,95,255,.22); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-dark { background: var(--sidebar); color: #fff; }
.btn-soft { background: var(--accent-soft); color: var(--accent-dark); }
.btn-outline { border: 1px solid var(--line); background: transparent; }
.btn-quiet { background: transparent; color: var(--muted); padding-inline: 11px; }
.btn-small { padding: 8px 12px; font-size: 12.5px; }
.icon-btn { width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); background: #fff; border-radius: 9px; display: inline-grid; place-items: center; color: #475569; font-size: 16px; }
.icon-btn:hover { color: var(--accent); border-color: #c7d2ff; }
.input, .select, .textarea { width: 100%; border: 1px solid #dfe3e0; background: #fff; border-radius: 8px; padding: 11px 12px; color: var(--ink); font-size: 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(98,95,255,.13); }
.input:disabled { background: #f1f5f9; color: #94a3b8; cursor: not-allowed; }
.textarea { resize: vertical; min-height: 94px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; color: #334155; }
.field-label-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 2px; }
.field-hint { font-size: 12px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.checkbox-inline { font-size: 12.5px; font-weight: 600; color: #475569; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; user-select: none; }
.checkbox-inline input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.form-grid .span-2 { grid-column: span 2; }
.divider { height: 1px; background: var(--line); margin: 18px 0; }

/* Switch Toggle */
.switch { position: relative; display: inline-block; width: 44px; height: 24px; flex: 0 0 44px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; inset: 0; background-color: #cbd5e1; transition: .2s; border-radius: 24px; }
.slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .2s; border-radius: 50%; box-shadow: 0 2px 4px rgba(0,0,0,.15); }
.switch input:checked + .slider { background-color: var(--accent); }
.switch input:checked + .slider:before { transform: translateX(20px); }

/* Welcome */
.landing { min-height: 100vh; overflow: hidden; }
.landing-nav { width: min(1180px, calc(100% - 64px)); margin: auto; height: 78px; display: flex; align-items: center; justify-content: space-between; }
.landing-nav-links { display: flex; align-items: center; gap: 29px; color: #475569; font-size: 13.5px; font-weight: 600; }
.landing-nav-links a:hover { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 9px; }
.landing-hero { width: min(1180px, calc(100% - 64px)); margin: 48px auto 0; display: grid; grid-template-columns: 1.05fr .95fr; gap: 65px; align-items: center; min-height: 455px; }
.hero-copy { padding: 9px 0 20px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 100px; background: #eef2ff; color: #4338ca; font-size: 12px; font-weight: 700; letter-spacing: .4px; }
.hero-kicker i { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.hero-title { max-width: 640px; margin: 21px 0 16px; font: 800 clamp(45px, 5.4vw, 70px)/1.04 "Plus Jakarta Sans", sans-serif; letter-spacing: -3.3px; color: #0f172a; }
.hero-title em { background: linear-gradient(95deg,#4338ca 0%,#625fff 55%,#f99c00 100%); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; font-weight: 800; }
.hero-description { max-width: 470px; font-size: 15.5px; line-height: 1.8; color: #475569; }
.hero-buttons { display: flex; gap: 11px; align-items: center; margin-top: 26px; }
.hero-buttons .btn { padding: 13px 20px; font-size: 14px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 20px; color: #64748b; font-size: 12.5px; }
.hero-note strong { color: #334155; }
.hero-visual { min-height: 420px; position: relative; border-radius: 180px 180px 12px 12px; background: #e0e7ff; overflow: hidden; box-shadow: 0 20px 55px rgba(30,26,77,.14); }
.hero-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,26,77,.01), rgba(15,23,42,.36)), url("https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=1200&q=85") center 46%/cover; }
.hero-card { position: absolute; z-index: 1; left: 23px; right: 23px; bottom: 22px; padding: 16px 17px; border: 1px solid rgba(255,255,255,.62); border-radius: 11px; background: rgba(255,255,255,.95); box-shadow: 0 12px 34px rgba(35,44,50,.15); }
.hero-card-top { display: flex; align-items: center; justify-content: space-between; }
.hero-card-title { font: 700 16px/1.25 "Plus Jakarta Sans",sans-serif; }
.hero-card-label { font-size: 11.5px; color: var(--green); font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.hero-card-meta { display: flex; gap: 15px; margin-top: 12px; color: #475569; font-size: 12.5px; }
.hero-mini-people { display: flex; align-items: center; margin-top: 13px; }
.person-dot { margin-right: -5px; display: grid; place-items: center; width: 25px; height: 25px; border: 2px solid white; border-radius: 50%; background: #e9c9ad; color: #735540; font-size: 11px; font-weight: 700; }
.person-dot:nth-child(2) { background: #c4d7c8; color: #3d6650; }.person-dot:nth-child(3) { background: #d7c5d9; color: #765677; }.person-dot:nth-child(4) { background: #ebc3b7; color: #895443; }
.person-count { padding-left: 12px; font-size: 12.5px; color: #475569; }
.hero-floating { position: absolute; z-index: 2; top: 54px; left: -21px; width: 178px; background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.7); box-shadow: var(--shadow); padding: 12px; border-radius: 10px; }
.floating-label { color: #475569; font-size: 12px; font-weight: 600; }
.floating-progress { margin-top: 7px; height: 5px; background: #edf0ee; border-radius: 5px; overflow: hidden; }
.floating-progress span { height: 100%; width: 72%; display: block; border-radius: inherit; background: var(--green); }
.floating-numbers { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; font-weight: 700; }
.landing-section { width: min(1180px, calc(100% - 64px)); margin: 95px auto 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 23px; }
.section-heading h2 { margin: 9px 0 0; font: 800 29px/1.2 "Plus Jakarta Sans",sans-serif; letter-spacing: -1.1px; }
.section-heading p { max-width: 380px; margin: 0; font-size: 14px; line-height: 1.7; color: var(--muted); }
.template-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.template-card { position: relative; overflow: hidden; min-height: 250px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: 0 3px 12px rgba(35,47,55,.025); }
.template-image { height: 128px; background-size: cover; background-position: center; position: relative; }
.template-image::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent,rgba(22,33,40,.23)); }
.template-body { padding: 14px 16px 40px; }
.template-tag { font-size: 11.5px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .75px; }
.template-title { margin: 6px 0 4px; font: 700 15px/1.35 "Plus Jakarta Sans",sans-serif; letter-spacing: -.3px; }
.template-meta { color: #64748b; font-size: 12.5px; display: flex; gap: 13px; }
.template-use { position: absolute; right: 13px; bottom: 15px; border: 0; background: #fff; color: var(--accent); font-size: 12.5px; font-weight: 700; }
.popular-wrap { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 23px; }
.popular-pill { padding: 9px 13px; border: 1px solid #e0e4e1; border-radius: 99px; color: #334155; background: rgba(255,255,255,.56); font-size: 12.5px; font-weight: 600; }
.popular-pill:hover { color: var(--accent-dark); border-color: #c7d2ff; background: #fff; }
.template-preview { margin-top: 15px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.template-preview.selected { border-color: #c7d2ff; background: var(--accent-soft); }
.template-preview-copy { display: grid; gap: 4px; min-width: 0; }
.template-preview-copy strong { font: 700 14px/1.4 "Plus Jakarta Sans",sans-serif; }
.template-preview-copy > span:not(.template-tag) { color: #475569; font-size: 12.5px; }
.template-preview-samples { display: flex; flex-wrap: wrap; gap: 5px 12px; margin-top: 4px; color: #334155; font-size: 12px; font-weight: 500; }
.template-preview-copy small { color: #64748b; font-size: 12px; }
.template-preview .btn { flex: 0 0 auto; }
.landing-footer { width: min(1180px, calc(100% - 64px)); margin: 76px auto 0; padding: 25px 0 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; color: #64748b; font-size: 12.5px; }
.footer-links { display: flex; gap: 20px; }

/* Registration and event setup */
.wizard-page { min-height: 100vh; padding: 0 20px 40px; background: #f8fafc; }
.wizard-topbar { width: min(1100px, 100%); margin: auto; height: 76px; display: flex; justify-content: space-between; align-items: center; }
.wizard-layout { width: min(1040px,100%); margin: 33px auto 0; display: grid; grid-template-columns: .85fr 1.15fr; min-height: 560px; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 18px 65px rgba(42,51,56,.08); border: 1px solid #eaebe8; }
.wizard-aside { position: relative; overflow: hidden; padding: 36px 33px; color: #fff; background: #1e1a4d; }
.wizard-aside::before { content: ""; position: absolute; inset: 0; opacity: .55; background: linear-gradient(180deg,rgba(30,26,77,.06),#1e1a4d),url("https://images.unsplash.com/photo-1530103862676-de8c9debad1d?auto=format&fit=crop&w=1000&q=85") center/cover; }
.wizard-aside-content { position: relative; z-index: 1; }
.wizard-aside h2 { max-width: 330px; margin: 20px 0 12px; font: 700 33px/1.18 "Plus Jakarta Sans",sans-serif; letter-spacing: -1.2px; }
.wizard-aside p { max-width: 300px; font-size: 13.5px; line-height: 1.8; color: #d1dbdc; }
.wizard-proof { position: absolute; z-index: 1; left: 33px; right: 30px; bottom: 30px; display: flex; gap: 10px; align-items: center; color: #d8e1df; font-size: 12px; line-height: 1.5; }
.wizard-proof b { display: block; color: #fff; font-size: 13px; }
.wizard-content { padding: 35px 43px 30px; }
.wizard-progress { display: flex; gap: 6px; margin-bottom: 27px; }
.wizard-progress i { height: 4px; flex: 1; border-radius: 4px; background: #e9edea; }
.wizard-progress i.complete { background: var(--accent); }
.step-caption { font-size: 12px; color: #64748b; font-weight: 600; margin-bottom: 9px; letter-spacing: .5px; }
.wizard-content h1 { margin: 0; font: 600 26px/1.2 "Plus Jakarta Sans", sans-serif; letter-spacing: -.8px; }
.wizard-intro { margin: 8px 0 20px; color: #475569; font-size: 13.5px; line-height: 1.6; }
.wizard-fields { display: grid; gap: 14px; }
.wizard-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice-card { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 15px; text-align: left; min-height: 115px; transition: .15s ease; }
.choice-card:hover { border-color: #a5a3ff; transform: translateY(-1px); }
.choice-card.selected { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(98,95,255,.13); background: #fafaff; }
.choice-icon { width: 32px; height: 32px; border-radius: 9px; background: var(--blue-soft); display: grid; place-items: center; font-size: 16px; margin-bottom: 10px; }
.choice-card:nth-child(even) .choice-icon { background: var(--accent-soft); }
.choice-title { display: block; font-size: 14px; font-weight: 700; color: #0f172a; }
.choice-description { display: block; margin-top: 4px; color: #64748b; font-size: 12px; line-height: 1.5; }
.event-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; max-height: 335px; overflow-y: auto; padding: 1px 3px 2px 1px; }
.event-choice { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: #fff; text-align: left; border-radius: 9px; padding: 10px 12px; min-height: 64px; }
.event-choice:hover, .event-choice.selected { border-color: #a5a3ff; background: #fafaff; }
.event-choice .choice-icon { margin: 0; flex: 0 0 32px; }
.event-choice .choice-title { font-size: 13px; font-weight: 700; color: #0f172a; }
.event-choice .choice-description { margin-top: 3px; font-size: 11.5px; color: #64748b; }
.step-error { color: #b64738; font-size: 12.5px; margin-top: 9px; font-weight: 500; }
.login-switch { margin-top: 20px; font-size: 13px; color: var(--muted); text-align: center; }
.login-switch button { border: 0; background: none; padding: 0; color: var(--accent-dark); font-size: inherit; font-weight: 700; cursor: pointer; }

/* AI Agent Card in Setup & Workspace */
.ai-agent-toggle-card { border: 1px solid #c7d2fe; border-radius: 12px; background: linear-gradient(135deg, #f5f7ff 0%, #ffffff 100%); padding: 16px; margin-top: 6px; box-shadow: 0 3px 12px rgba(99,102,241,.07); }
.ai-agent-toggle-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ai-agent-avatar { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; display: grid; place-items: center; font-size: 17px; box-shadow: 0 4px 10px rgba(99,102,241,.28); }
.ai-agent-toggle-info { flex: 1; min-width: 0; }
.ai-agent-toggle-title { font: 700 13.5px/1.3 "Plus Jakarta Sans", sans-serif; color: #1e1b4b; display: flex; align-items: center; gap: 7px; }
.ai-agent-toggle-desc { font-size: 12px; line-height: 1.45; color: #475569; margin-top: 2px; }
.ai-agent-config { border-top: 1px solid #e0e7ff; margin-top: 12px; padding-top: 12px; }
.ai-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 6px; background: #eef2ff; color: #4338ca; font-size: 11.5px; font-weight: 700; letter-spacing: .2px; }

/* Dashboard */
.dashboard { min-height: 100vh; }
.dashboard[data-purpose="business"] .workspace-icon { background:linear-gradient(135deg,#625fff,#4338ca 62%,#f99c00); }
.dashboard[data-purpose="business"] .side-link.active { box-shadow: inset 2px 0 #818cf8; }
.sidebar { position: fixed; top: 0; bottom: 0; left: 0; z-index: 10; display: flex; flex-direction: column; width: 236px; padding: 23px 15px 14px; background: var(--sidebar); color: #fff; }
.sidebar .brand { margin: 0 0 29px 9px; font-size: 18px; }
.workspace-switch { display: flex; align-items: center; gap: 9px; width: 100%; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; background: rgba(255,255,255,.055); color: #fff; padding: 9px; text-align: left; }
.workspace-icon { flex: 0 0 28px; width: 28px; height: 28px; display: grid; place-items: center; background: linear-gradient(135deg,#625fff,#4338ca 62%,#f99c00); border-radius: 7px; font-size: 12px; font-weight: 700; }
.workspace-copy { flex: 1; min-width: 0; }.workspace-copy strong { display: block; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.workspace-copy small { display: block; margin-top: 3px; color: var(--sidebar-muted); font-size: 12px; }.workspace-arrow { color: var(--sidebar-muted); font-size: 12px; }
.side-label { margin: 26px 9px 9px; color: #94a3b8; text-transform: uppercase; font-size: 11px; letter-spacing: 1px; font-weight: 700; }
.side-nav { display: grid; gap: 3px; }
.side-link { width: 100%; display: flex; align-items: center; gap: 11px; border: 0; border-radius: 7px; padding: 10px 10px; background: transparent; text-align: left; color: #cbd5e1; font-size: 13px; font-weight: 600; }
.side-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.side-link.active { color: #fff; background: rgba(98,95,255,.19); box-shadow: inset 2px 0 #818cf8; }
.side-icon { width: 16px; text-align: center; font-size: 14px; opacity: .95; }
.side-badge { margin-left: auto; padding: 3px 6px; background: #625fff; border-radius: 5px; color: #fff; font-size: 11px; font-weight: 700; }
.sidebar-bottom { margin-top: auto; }
.sidebar-help { padding: 12px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.045); border-radius: 9px; }
.sidebar-help strong { display: block; font-size: 12.5px; }.sidebar-help span { display: block; color: #cbd5e1; font-size: 12px; line-height: 1.6; margin-top: 6px; }
.help-link { border: 0; padding: 0; margin-top: 9px; color: #a5b4fc; background: none; font-size: 12px; font-weight: 700; cursor: pointer; }
.sidebar-profile { display: flex; gap: 9px; align-items: center; padding: 14px 4px 0; margin-top: 13px; border-top: 1px solid rgba(255,255,255,.1); }
.avatar { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: #d9b5a4; color: #614637; font-size: 12px; font-weight: 700; }
.profile-copy { flex: 1; min-width: 0; }.profile-copy strong { display: block; font-size: 13px; font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }.profile-copy small { display: block; font-size: 12px; color: var(--sidebar-muted); margin-top: 3px; }
.dashboard-main { min-height: 100vh; margin-left: 236px; }
.topbar { height: 67px; padding: 0 34px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e9ebe8; background: rgba(255,255,255,.84); }
.breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #64748b; }.breadcrumbs strong { color: #1e293b; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.search-box { display: flex; align-items: center; gap: 8px; padding: 8px 10px; width: 195px; border: 1px solid #e2e8f0; background: #fff; border-radius: 7px; color: #64748b; font-size: 12.5px; }
.search-box input { border: 0; outline: 0; width: 100%; background: transparent; color: var(--ink); font-size: 13px; }
.search-box kbd { flex-shrink: 0; border: 1px solid #e2e8f0; border-radius: 4px; padding: 2px 5px; color: #64748b; font: 11px "Inter",sans-serif; }
.topbar-divider { height: 23px; width: 1px; background: #e7e9e7; }
.notification { position: relative; }.notification::after { content: ""; position: absolute; top: 7px; right: 8px; width: 6px; height: 6px; border: 1px solid white; border-radius: 50%; background: var(--accent); }
.dashboard-content { width: min(1120px, calc(100% - 68px)); margin: 29px auto 55px; }
.page-title-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 21px; }
.page-title-row h1 { margin: 4px 0 3px; font: 700 24px/1.2 "Plus Jakarta Sans", sans-serif; letter-spacing: -.8px; }
.page-title-row p { margin: 0; color: #64748b; font-size: 13px; }
.title-actions { display: flex; gap: 8px; align-items: center; }
.event-banner { position: relative; min-height: 181px; overflow: hidden; border-radius: 12px; padding: 23px 25px; display: flex; align-items: center; color: #fff; background: #1e1a4d; margin-bottom: 16px; }
.event-banner::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg,rgba(15,23,42,.84),rgba(30,26,77,.22)),var(--banner); background-size: cover; background-position: center 48%; opacity: .93; }
.event-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(15,23,42,.24),transparent 80%); }
.banner-content { position: relative; z-index: 1; max-width: 73%; }
.banner-type { display: inline-flex; align-items: center; gap: 6px; color: #c7d2fe; text-transform: uppercase; font-size: 11px; letter-spacing: 1.1px; font-weight: 700; }
.banner-content h2 { max-width: 620px; margin: 9px 0 8px; font: 700 25px/1.25 "Plus Jakarta Sans",sans-serif; letter-spacing: -.7px; }
.banner-meta { display: flex; flex-wrap: wrap; gap: 16px; color: rgba(255,255,255,.9); font-size: 12.5px; font-weight: 500; }
.banner-actions { position: absolute; right: 20px; bottom: 19px; z-index: 2; display: flex; gap: 8px; }
.banner-actions .btn { background: rgba(255,255,255,.94); padding: 8px 12px; font-size: 12px; }
.event-switcher { position: relative; }
.metrics-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 16px; }
.metric-card, .panel { border: 1px solid #e8eae7; border-radius: 10px; background: #fff; box-shadow: 0 3px 12px rgba(34,47,55,.025); }
.metric-card { padding: 15px 16px 14px; }
.metric-head { display: flex; align-items: center; justify-content: space-between; color: #64748b; font-size: 12px; font-weight: 600; }
.metric-icon { width: 26px; height: 26px; display: grid; place-items: center; background: #eef2ff; color: #4f39f6; border-radius: 7px; font-size: 12px; }
.metric-value { margin-top: 12px; font: 700 23px/1 "Plus Jakarta Sans",sans-serif; letter-spacing: -.7px; }.metric-foot { margin-top: 8px; color: #64748b; font-size: 12px; }.metric-foot b { color: var(--green); font-weight: 700; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(260px,.9fr); gap: 14px; align-items: start; }
.panel { padding: 18px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.panel-title { font: 700 14.5px/1.3 "Plus Jakarta Sans",sans-serif; letter-spacing: -.2px; color: #0f172a; }.panel-subtitle { margin-top: 4px; color: #64748b; font-size: 12px; }
.text-link { border: 0; padding: 0; color: var(--accent-dark); background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; }
.task-list { display: grid; }
.task-row { min-height: 48px; display: flex; align-items: center; gap: 10px; border-top: 1px solid #f0f1ef; padding: 4px 0; }
.check-button { width: 18px; height: 18px; flex: 0 0 18px; display: grid; place-items: center; border: 1.5px solid #cfd6d1; border-radius: 5px; background: white; color: white; padding: 0; font-size: 11px; cursor: pointer; }
.check-button.done { border-color: var(--green); background: var(--green); }
.task-copy { flex: 1; font-size: 13.5px; font-weight: 600; color: #1e293b; }
.task-copy.done { color: #94a3b8; text-decoration: line-through; }
.task-due { color: #64748b; font-size: 12px; white-space: nowrap; font-weight: 500; }
.task-agent-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px; border-radius: 4px; background: #eef2ff; color: #4338ca; font-size: 11px; font-weight: 700; }
.toolkit-card { padding: 16px; border-radius: 9px; background: #f4f4ff; border: 1px solid #e4e4ff; }
.toolkit-card h3 { margin: 0 0 5px; font: 700 14.5px/1.35 "Plus Jakarta Sans",sans-serif; letter-spacing: -.2px; }.toolkit-card p { color: #475569; font-size: 12.5px; line-height: 1.65; margin: 0 0 12px; }
.toolkit-list { display: grid; gap: 8px; }.toolkit-item { display: flex; align-items: center; gap: 8px; color: #334155; font-size: 12.5px; font-weight: 500; }.toolkit-tick { display: grid; place-items: center; width: 20px; height: 20px; background: #fff; border: 1px solid #dadaff; border-radius: 5px; color: var(--accent); font-size: 11px; font-weight: 700; }
.schedule-list { display: grid; }.schedule-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; border-top: 1px solid #f0f1ef; min-height: 52px; padding: 4px 0; }.schedule-time { color: #4f39f6; font-size: 12.5px; font-weight: 700; }.schedule-name { font-size: 13.5px; font-weight: 600; color: #1e293b; }.schedule-location { margin-top: 3px; color: #64748b; font-size: 12px; }.schedule-date { font-size: 12px; color: #64748b; font-weight: 500; }
.activity-list { display: grid; gap: 14px; }.activity-item { display: flex; align-items: flex-start; gap: 10px; }.activity-dot { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; background: #eef2f1; color: var(--green); }.activity-text { font-size: 12.5px; line-height: 1.5; color: #475569; }.activity-text b { color: #0f172a; }.activity-text small { display: block; margin-top: 3px; color: #64748b; font-size: 11.5px; }
.progress-line { height: 6px; border-radius: 5px; background: #edf0ed; margin: 11px 0 7px; overflow: hidden; }.progress-line span { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.progress-caption { display: flex; justify-content: space-between; color: #64748b; font-size: 11.5px; font-weight: 500; }
.empty-state { padding: 24px 10px; text-align: center; color: #64748b; font-size: 13px; }

/* Other workspaces */
.content-panel { padding: 0; overflow: hidden; }
.panel-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 17px; border-bottom: 1px solid #eef0ee; }
.toolbar-left { display: flex; align-items: center; gap: 10px; }.toolbar-right { display: flex; gap: 8px; align-items: center; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; }
th { padding: 11px 16px; text-align: left; color: #64748b; background: #fcfcfb; text-transform: uppercase; font-size: 11px; letter-spacing: .8px; font-weight: 700; }
td { padding: 13px 16px; border-top: 1px solid #f0f1ef; color: #475569; font-size: 13px; }
td strong { color: #0f172a; font-size: 13.5px; }
.table-name { display: flex; align-items: center; gap: 9px; }.table-avatar { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: #4338ca; background: #eef2ff; font-size: 12px; font-weight: 700; }
.status { padding: 4px 8px; border-radius: 6px; background: #f1f5f9; color: #475569; font-size: 11.5px; font-weight: 700; }.status.confirmed,.status.paid,.status.booked { color: #00875c; background: #e8f9f2; }.status.pending,.status.quoted { color: #a56800; background: #fff6e5; }.status.declined { color: #be123c; background: #fff1f2; }
.table-actions { display: flex; align-items: center; gap: 4px; }
.row-action { border: 0; background: transparent; color: #94a3b8; padding: 5px 7px; font-size: 13px; cursor: pointer; }
.row-action:hover { color: var(--accent); }
.segmented { display: flex; gap: 3px; padding: 3px; background: #f2f3f0; border-radius: 7px; }.segment { border: 0; border-radius: 5px; padding: 6px 10px; color: #64748b; background: transparent; font-size: 12px; font-weight: 600; cursor: pointer; }.segment.active { background: #fff; color: #1e293b; box-shadow: 0 1px 4px rgba(33,43,49,.1); }
.list-toolbar-search { padding: 8px 10px; width: 175px; border-radius: 7px; border: 1px solid #e2e8f0; outline: 0; font-size: 12.5px; }
.large-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 14px; }.summary-card { padding: 16px; border: 1px solid #e7eae7; background: #fff; border-radius: 9px; }.summary-card span { color: #64748b; font-size: 12px; font-weight: 600; }.summary-card strong { display: block; margin-top: 9px; font: 700 22px "Plus Jakarta Sans",sans-serif; letter-spacing: -.8px; color: #0f172a; }
.inline-add { display: flex; gap: 8px; padding: 13px 16px; border-top: 1px solid #f0f1ef; }.inline-add input { flex: 1; border: 1px solid #e3e8e4; border-radius: 7px; padding: 10px; outline: 0; font-size: 12.5px; }
.schedule-full { padding: 16px; display: grid; gap: 9px; }.schedule-full-row { display: grid; grid-template-columns: 80px minmax(0,1fr) auto; align-items: center; gap: 14px; padding: 13px; background: #fbfcfa; border: 1px solid #eef0ed; border-radius: 8px; }.schedule-full-date { font-size: 12px; color: #4f39f6; font-weight: 700; }.schedule-full-row strong { font-size: 13.5px; color: #0f172a; }.schedule-full-row small { display: block; margin-top: 4px; color: #64748b; font-size: 12px; }
.budget-bar { height: 8px; border-radius: 8px; background: #edf0ed; overflow: hidden; }.budget-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#00b7d7,#00bb7f); }
.vendor-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; padding: 16px; }.vendor-card { padding: 16px; border: 1px solid #e9ece9; border-radius: 9px; background: #fff; }.vendor-top { display: flex; align-items: flex-start; justify-content: space-between; }.vendor-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 15px; background: #eef2ff; color:#4f39f6; }.vendor-card h3 { margin: 11px 0 4px; font: 700 14px "Plus Jakarta Sans",sans-serif; color: #0f172a; }.vendor-card p { min-height: 29px; margin: 0; color: #64748b; font-size: 12.5px; line-height: 1.5; }.vendor-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 10px; border-top: 1px solid #eef0ed; color: #64748b; font-size: 11.5px; font-weight: 600; }
.trip-banner { padding: 22px; border-radius: 10px; background: #eef2ff; display: flex; align-items: center; justify-content: space-between; gap: 20px; }.trip-banner h2 { margin: 6px 0; font: 700 20px "Plus Jakarta Sans",sans-serif; letter-spacing:-.5px; }.trip-banner p { max-width: 430px; margin: 0; color: #475569; font-size: 13px; line-height: 1.7; }.trip-icon { font-size: 42px; }
.settings-layout { display: grid; grid-template-columns: 200px 1fr; gap: 16px; }.settings-nav { display: grid; gap: 4px; align-content: start; }.settings-nav button { padding: 10px; text-align: left; border: 0; border-radius: 7px; background: transparent; color: #64748b; font-size: 13px; cursor: pointer; }.settings-nav button.active { color: #0f172a; background: #fff; font-weight: 700; box-shadow: 0 2px 7px rgba(42,50,55,.05); }.settings-card { background: #fff; border: 1px solid #e8ebe8; border-radius: 9px; padding: 22px; }.settings-card h2 { margin: 0 0 5px; font: 700 15px "Plus Jakarta Sans",sans-serif; }.settings-card > p { color: #64748b; font-size: 13px; margin: 0 0 20px; }
.event-list-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid #eff0ed; }.event-list-row strong { display: block; font-size: 14px; color: #0f172a; }.event-list-row small { display: block; color: #64748b; margin-top: 4px; font-size: 12px; }
.empty-panel { min-height: 270px; display: grid; place-items: center; text-align: center; }.empty-panel h2 { font: 700 18px "Plus Jakarta Sans",sans-serif; letter-spacing:-.4px; margin: 10px 0 5px; }.empty-panel p { max-width: 320px; margin: 0 auto 16px; color: #64748b; font-size: 13px; line-height: 1.6; }
.mobile-menu { display: none; }

/* AI Agent Dedicated Workspace */
.agent-workspace { display: grid; gap: 16px; }
.agent-hero { position: relative; border-radius: 14px; padding: 24px; color: #fff; background: linear-gradient(135deg, #1e1b4b 0%, #312e81 60%, #4338ca 100%); overflow: hidden; box-shadow: 0 10px 30px rgba(30,27,75,.15); }
.agent-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(139,92,246,.35), transparent 60%); }
.agent-hero-inner, .agent-hero-top { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.agent-profile { display: flex; align-items: center; gap: 16px; }
.agent-hero-avatar { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, #818cf8, #c084fc); display: grid; place-items: center; font-size: 26px; color: #fff; box-shadow: 0 6px 18px rgba(99,102,241,.4); flex: 0 0 56px; }
.agent-name-row { display: flex; align-items: center; gap: 10px; }
.agent-hero h2 { margin: 0; font: 700 22px/1.2 "Plus Jakarta Sans", sans-serif; color: #ffffff !important; text-shadow: 0 1px 3px rgba(0,0,0,0.25); }
.agent-hero-role { font-size: 13px; color: #c7d2fe; margin-top: 4px; }
.agent-desc { font-size: 13.5px; color: #c7d2fe !important; line-height: 1.5; margin-top: 5px; }
.agent-desc b { color: #ffffff !important; font-weight: 700; }
.agent-hero .btn-outline { background: rgba(255,255,255,.14) !important; border: 1px solid rgba(255,255,255,.35) !important; color: #ffffff !important; backdrop-filter: blur(4px); }
.agent-hero .btn-outline:hover { background: rgba(255,255,255,.26) !important; border-color: rgba(255,255,255,.6) !important; color: #ffffff !important; }
.agent-hero .ai-badge { background: rgba(255,255,255,.2) !important; color: #ffffff !important; border: 1px solid rgba(255,255,255,.3) !important; backdrop-filter: blur(4px); }
.agent-status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.15); backdrop-filter: blur(4px); font-size: 12px; font-weight: 600; color: #e0e7ff; }
.agent-status-pill i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; display: inline-block; }
.agent-stats, .agent-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-top: 18px; position: relative; z-index: 1; }
.agent-stat, .agent-stat-box { background: rgba(255,255,255,.11) !important; border: 1px solid rgba(255,255,255,.18) !important; border-radius: 10px; padding: 12px 14px; min-width: 110px; backdrop-filter: blur(6px); }
.agent-stat-label, .agent-stat-box span { display: block; font-size: 11.5px; color: #c7d2fe !important; text-transform: none; letter-spacing: .2px; font-weight: 600; margin-top: 4px; }
.agent-stat-num, .agent-stat-box strong { display: block; font: 700 20px "Plus Jakarta Sans", sans-serif; color: #ffffff !important; }
.agent-tabs { display: flex; gap: 8px; border-bottom: 1px solid #e2e8f0; padding-bottom: 2px; margin-bottom: 16px; overflow-x: auto; }
.agent-tab { border: 0; background: transparent; padding: 10px 14px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: #64748b; cursor: pointer; transition: all .15s; white-space: nowrap; }
.agent-tab:hover { color: var(--accent); background: #f8fafc; }
.agent-tab.active { color: var(--accent); background: var(--accent-soft); font-weight: 700; }
.agent-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.agent-card { border: 1px solid #e2e8f0; border-radius: 11px; background: #fff; padding: 18px; box-shadow: 0 2px 8px rgba(0,0,0,.02); }
.agent-card-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.agent-card-head h3 { margin: 0 0 3px; font: 700 15px "Plus Jakarta Sans", sans-serif; color: #0f172a; }
.agent-card-head p { margin: 0; font-size: 12.5px; color: #475569; line-height: 1.45; }
.agent-card-body { border-top: 1px solid #f1f5f9; padding-top: 12px; margin-top: 6px; }
.agent-card-title { font: 700 15px "Plus Jakarta Sans", sans-serif; color: #0f172a; margin-bottom: 4px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.agent-card-desc { font-size: 13px; color: #64748b; line-height: 1.5; margin-bottom: 14px; }
.agent-task-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid #f1f5f9; border-radius: 8px; background: #fafafa; margin-bottom: 8px; }
.agent-task-row:hover { background: #f8fafc; border-color: #cbd5e1; }
.agent-task-title { font-size: 13.5px; font-weight: 600; color: #1e293b; }
.agent-task-meta { font-size: 12px; color: #64748b; margin-top: 3px; }
.agent-deliverable { margin-top: 8px; padding: 14px 16px; background: #f8fafc; border: 1px solid #e2e8f0; border-left: 4px solid var(--accent); border-radius: 8px; font-size: 13px; line-height: 1.6; color: #1e293b; white-space: pre-wrap; word-break: break-word; }
.agent-chat-box { display: flex; flex-direction: column; height: 440px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; overflow: hidden; }
.agent-chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.agent-msg { max-width: 85%; padding: 11px 14px; border-radius: 10px; font-size: 13.5px; line-height: 1.55; }
.agent-msg.bot { align-self: flex-start; background: #f8fafc; border: 1px solid #e2e8f0; color: #1e293b; }
.agent-msg.user { align-self: flex-end; background: var(--accent); color: #fff; }
.agent-msg-bot-header { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--accent); margin-bottom: 5px; }
.agent-prompts-bar { display: flex; gap: 6px; padding: 8px 12px; overflow-x: auto; background: #f8fafc; border-top: 1px solid #f1f5f9; }
.agent-prompt-chip { border: 1px solid #cbd5e1; background: #fff; border-radius: 99px; padding: 5px 11px; font-size: 12px; font-weight: 600; color: #334155; white-space: nowrap; cursor: pointer; transition: all .15s; }
.agent-prompt-chip:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.agent-chat-input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid #e2e8f0; background: #fff; }

/* Workspace Event Chat & Planning Decisions */
.chat-workspace-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
@media (max-width: 980px) { .chat-workspace-grid { grid-template-columns: 1fr; } }
.chat-stream-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; display: flex; flex-direction: column; height: 620px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.02); }
.chat-stream-header { padding: 14px 18px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.chat-stream-title { font: 700 15px/1.3 "Plus Jakarta Sans", sans-serif; color: #0f172a; display: flex; align-items: center; gap: 8px; }
.chat-stream-sub { font-size: 12px; color: #64748b; margin-top: 2px; }
.chat-stream-messages { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 14px; background: #fafafa; }
.chat-bubble-row { display: flex; flex-direction: column; max-width: 82%; }
.chat-bubble-row.mine { align-self: flex-end; }
.chat-bubble-row.theirs { align-self: flex-start; }
.chat-bubble-row.whatsapp { align-self: flex-start; }
.chat-bubble-row.agent { align-self: flex-start; }
.chat-bubble-meta { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: #64748b; margin-bottom: 4px; }
.chat-bubble { padding: 11px 15px; border-radius: 12px; font-size: 13.5px; line-height: 1.55; word-break: break-word; }
.chat-bubble.mine { background: #4f46e5; color: #fff; border-bottom-right-radius: 3px; }
.chat-bubble.theirs { background: #fff; color: #1e293b; border: 1px solid #e2e8f0; border-bottom-left-radius: 3px; }
.chat-bubble.whatsapp { background: #f0fdf4; border: 1px solid #bbf7d0; color: #14532d; border-bottom-left-radius: 3px; }
.chat-bubble.agent { background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%); border: 1px solid #c4b5fd; color: #2e1065; border-bottom-left-radius: 3px; }
.chat-bubble-actions { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.chat-action-btn { background: #fff; border: 1px solid #cbd5e1; border-radius: 6px; padding: 3px 8px; font-size: 11.5px; font-weight: 600; color: #475569; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; transition: all .15s; }
.chat-action-btn:hover { border-color: #4f46e5; color: #4f46e5; background: #f5f3ff; }
.chat-decision-card { background: #fff; border: 1px solid #e0e7ff; border-left: 4px solid #6366f1; border-radius: 8px; padding: 12px 14px; margin-top: 6px; }
.chat-decision-title { font: 700 13.5px "Plus Jakarta Sans", sans-serif; color: #1e1b4b; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.chat-decision-meta { font-size: 12px; color: #64748b; margin-top: 4px; }
.chat-input-container { padding: 12px 16px; background: #fff; border-top: 1px solid #e2e8f0; display: flex; flex-direction: column; gap: 8px; }
.chat-input-row { display: flex; gap: 8px; }
.chat-quick-buttons { display: flex; gap: 6px; flex-wrap: wrap; }
.wa-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 99px; background: #16a34a; color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .2px; }
.wa-hub-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 18px; margin-bottom: 14px; box-shadow: 0 2px 8px rgba(0,0,0,.02); }
.wa-hub-title { font: 700 14.5px "Plus Jakarta Sans", sans-serif; color: #0f172a; display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.wa-step-box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; font-size: 12px; color: #334155; line-height: 1.5; }
.wa-code-snippet { background: #1e1b4b; color: #a5b4fc; padding: 6px 10px; border-radius: 6px; font-family: "JetBrains Mono", monospace; font-size: 11.5px; display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }

/* Floating AI & Chat Button in Corner */
.floating-ai-corner-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 0;
  border-radius: 9999px;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #fff;
  font: 700 13.5px "Plus Jakarta Sans", sans-serif;
  letter-spacing: -.1px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.45), 0 2px 6px rgba(0,0,0,0.12);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s, background 0.2s;
}
.floating-ai-corner-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.55), 0 4px 10px rgba(0,0,0,0.15);
}
.floating-ai-corner-btn:active {
  transform: translateY(0) scale(0.98);
}
.floating-ai-sparkle {
  font-size: 16px;
  color: #fef08a;
  display: inline-block;
  animation: sparkle-pulse 2.2s infinite ease-in-out;
}
@keyframes sparkle-pulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.2); filter: brightness(1.3); }
}
.floating-ai-badge {
  background: #fff;
  color: #4f46e5;
  font-size: 11px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 99px;
  margin-left: 2px;
}

/* Floating Chat Drawer */
.floating-chat-drawer {
  position: fixed;
  bottom: 82px;
  right: 24px;
  width: 440px;
  max-width: calc(100vw - 32px);
  height: 620px;
  max-height: calc(100vh - 100px);
  z-index: 1001;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.24), 0 0 0 1px rgba(226, 232, 240, 0.9);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: drawer-pop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes drawer-pop {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.chat-drawer-header {
  padding: 13px 18px;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-drawer-header h3 {
  margin: 0;
  font: 700 15px "Plus Jakarta Sans", sans-serif;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 7px;
}
.chat-drawer-header p {
  margin: 2px 0 0;
  font-size: 11.5px;
  color: #c7d2fe;
}
.chat-drawer-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.chat-drawer-close-btn {
  background: rgba(255,255,255,0.12);
  border: 0;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 16px;
  cursor: pointer;
  transition: background .15s;
}
.chat-drawer-close-btn:hover {
  background: rgba(255,255,255,0.25);
}
.chat-drawer-tabs {
  display: flex;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.chat-drawer-tab {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  text-align: center;
  border-bottom: 2px solid transparent;
  transition: all .15s;
}
.chat-drawer-tab.active {
  color: #4f46e5;
  background: #fff;
  border-bottom-color: #4f46e5;
  font-weight: 700;
}
.chat-drawer-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fbfcfa;
}

/* Dialogs and notices */
.modal-backdrop { position: fixed; z-index: 30; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(22,31,36,.46); backdrop-filter: blur(3px); }
.modal { width: min(520px,100%); max-height: min(88vh,740px); overflow-y: auto; border-radius: 13px; background: #fff; box-shadow: 0 25px 80px rgba(17,24,28,.24); }
.modal-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; padding: 20px 22px 14px; }.modal-header h2 { margin: 0; font: 700 17px "Plus Jakarta Sans",sans-serif; letter-spacing: -.4px; }.modal-header p { margin: 5px 0 0; color: #64748b; font-size: 13px; }.modal-body { padding: 0 22px 21px; }.modal-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; margin-top: 17px; border-top: 1px solid #edf0ed; }
#toast-root { position: fixed; z-index: 50; right: 20px; bottom: 20px; display: grid; gap: 8px; }.toast { display: flex; align-items: center; gap: 9px; padding: 12px 16px; border-radius: 9px; color: #fff; background: #1e293b; box-shadow: 0 9px 25px rgba(20,34,41,.21); font-size: 13px; animation: toast-in .18s ease-out; font-weight: 500; }.toast b { color: #86efac; font-size: 14px; }
@keyframes toast-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1050px) {
  .sidebar { width: 205px; }.dashboard-main { margin-left: 205px; }.dashboard-content { width: calc(100% - 46px); }.topbar { padding: 0 23px; }
  .landing-hero { gap: 38px; }.hero-visual { min-height: 385px; }.vendor-grid { grid-template-columns: repeat(2,1fr); }
  .agent-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .landing-nav,.landing-hero,.landing-section,.landing-footer { width: calc(100% - 40px); }
  .landing-nav-links { display: none; }.landing-hero { grid-template-columns: 1fr .82fr; gap: 20px; margin-top: 29px; min-height: 390px; }.hero-title { font-size: clamp(40px,6vw,55px); }.hero-visual { min-height: 330px; border-radius: 130px 130px 12px 12px; }.hero-floating { left: -13px; top: 35px; width: 160px; }.hero-card { left: 12px; right: 12px; bottom: 12px; padding: 12px; }.hero-card-title { font-size: 15px; }.hero-card-meta { gap: 8px; font-size: 11.5px; }.landing-section { margin-top: 70px; }
  .sidebar { width: 66px; padding: 17px 9px 12px; align-items: center; }.sidebar .brand { margin: 0 0 26px; }.sidebar .brand-word,.workspace-copy,.workspace-arrow,.side-label,.side-link span:not(.side-icon),.side-badge,.sidebar-help,.profile-copy { display: none; }.workspace-switch { justify-content: center; padding: 5px; }.workspace-icon { flex-basis: 30px; }.side-nav { margin-top: 15px; width: 100%; }.side-link { justify-content: center; padding: 11px 0; }.side-icon { font-size: 16px; }.sidebar-bottom { width: 100%; }.sidebar-profile { justify-content: center; padding-top: 12px; }.dashboard-main { margin-left: 66px; }.topbar { padding: 0 18px; }.dashboard-content { width: calc(100% - 34px); margin-top: 22px; }.metrics-grid { grid-template-columns: repeat(2,1fr); }.dashboard-grid { grid-template-columns: 1fr; }.event-banner { min-height: 170px; }.banner-content { max-width: 87%; }.banner-actions { right: 13px; bottom: 12px; }.banner-content h2 { font-size: 23px; }.settings-layout { grid-template-columns: 1fr; }.settings-nav { display: flex; overflow-x: auto; }.settings-nav button { white-space: nowrap; }
}
@media (max-width: 580px) {
  body { font-size: 14px; }.landing-nav,.landing-hero,.landing-section,.landing-footer { width: calc(100% - 32px); }.landing-nav { height: 66px; }.brand { font-size: 17px; }.brand-mark { width: 30px; height: 30px; }.nav-actions .btn { padding: 9px 12px; font-size: 12.5px; }.nav-actions .btn-outline { display: none; }
  .landing-hero { display: flex; flex-direction: column; align-items: stretch; margin-top: 30px; gap: 25px; }.hero-copy { padding-bottom: 0; }.hero-title { font-size: 47px; letter-spacing: -1.8px; }.hero-description { font-size: 14px; }.hero-visual { min-height: 340px; width: 100%; border-radius: 135px 135px 10px 10px; }.hero-floating { left: 8px; top: 32px; }.landing-section { margin-top: 59px; }.section-heading { display: block; }.section-heading h2 { font-size: 28px; }.section-heading p { margin-top: 8px; }.template-grid { grid-template-columns: 1fr; }.template-card { min-height: 225px; }.template-image { height: 125px; }.landing-footer { align-items: flex-start; flex-direction: column; gap: 13px; margin-top: 55px; }.footer-links { gap: 13px; }
  .wizard-page { padding: 0 13px 24px; }.wizard-topbar { height: 63px; }.wizard-topbar .muted { font-size: 12px; }.wizard-layout { display: block; margin-top: 14px; }.wizard-aside { min-height: 150px; padding: 20px 21px; }.wizard-aside h2 { max-width: 260px; font-size: 26px; margin: 10px 0 5px; }.wizard-aside p { max-width: 290px; margin: 0; font-size: 12px; }.wizard-proof { display: none; }.wizard-content { padding: 23px 20px 21px; }.wizard-content h1 { font-size: 22px; }.event-choice-grid { max-height: 290px; }.template-preview { align-items: flex-start; flex-direction: column; gap: 11px; }.choice-grid { gap: 8px; }.choice-card { padding: 12px; }
  .sidebar { width: 52px; padding-inline: 5px; }.sidebar .brand-mark { width: 28px; height: 28px; }.dashboard-main { margin-left: 52px; }.topbar { height: 57px; padding: 0 10px; }.breadcrumbs { font-size: 11.5px; }.topbar-actions { gap: 5px; }.search-box { width: 34px; padding: 8px; justify-content: center; border-color: transparent; background: transparent; }.search-box input,.search-box kbd { display: none; }.topbar-actions .icon-btn { width: 32px; height: 32px; }.dashboard-content { width: calc(100% - 22px); margin-top: 17px; }.page-title-row { align-items: flex-start; margin-bottom: 14px; }.page-title-row h1 { font-size: 20px; }.page-title-row p { font-size: 12px; max-width: 235px; line-height: 1.45; }.title-actions .btn { padding: 8px 10px; font-size: 12px; }.title-actions .hide-mobile { display: none; }.event-banner { min-height: 180px; padding: 16px; align-items: flex-start; }.banner-content { max-width: 100%; }.banner-content h2 { max-width: 100%; font-size: 22px; }.banner-meta { gap: 8px 12px; font-size: 11.5px; }.banner-actions { bottom: 10px; left: 13px; right: auto; }.banner-actions .btn { font-size: 11.5px; padding: 7px 10px; }.metrics-grid { gap: 8px; }.metric-card { padding: 12px; }.metric-value { font-size: 20px; }.metric-foot { font-size: 11.5px; }.panel { padding: 14px; }.panel-head { align-items: flex-start; }.large-summary { gap: 7px; }.summary-card { padding: 12px; }.summary-card strong { font-size: 18px; }.summary-card span { font-size: 11.5px; }.panel-toolbar { padding: 12px; align-items: flex-start; flex-direction: column; }.toolbar-right { width: 100%; justify-content: space-between; }.list-toolbar-search { width: min(175px, 52%); }.vendor-grid { grid-template-columns: 1fr; padding: 12px; }.trip-banner { padding: 15px; }.trip-banner h2 { font-size: 20px; }.trip-icon { font-size: 30px; }.form-grid { grid-template-columns: 1fr; }.form-grid .span-2 { grid-column: auto; }.event-list-row { gap: 8px; }.schedule-full-row { grid-template-columns: 60px minmax(0,1fr) auto; gap: 8px; padding: 10px; }
}
