:root {
  --ink: #17191c;
  --muted: #74777f;
  --muted-2: #9a9ca3;
  --line: #e8e7e2;
  --canvas: #f6f6f3;
  --card: #ffffff;
  --sidebar: #17191c;
  --purple: #6d5bd0;
  --purple-dark: #5140b5;
  --purple-soft: #eeeafd;
  --teal: #008f7a;
  --teal-soft: #e1f5f1;
  --orange: #d9772f;
  --orange-soft: #fff0e4;
  --red: #d24e4e;
  --red-soft: #fdeaea;
  --blue: #3976c8;
  --blue-soft: #e8f1fc;
  --shadow: 0 1px 2px rgba(20, 21, 24, .04), 0 10px 28px rgba(20, 21, 24, .05);
  --radius: 16px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--canvas); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 244px 1fr; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 244px; background: var(--sidebar); color: #fff; padding: 26px 16px 18px; display: flex; flex-direction: column; z-index: 30; }
.sidebar-brand { display: flex; align-items: center; gap: 11px; font-size: 22px; font-weight: 760; letter-spacing: -.6px; padding: 0 13px 28px; }
.brand-mark { width: 27px; height: 27px; position: relative; display: inline-block; }
.brand-mark i, .brand-mark span { position: absolute; width: 8px; height: 21px; background: #8c79f6; border-radius: 8px; transform: rotate(45deg); left: 5px; top: 1px; }
.brand-mark i:nth-child(2), .brand-mark span:nth-child(2) { transform: rotate(-45deg); left: 14px; top: 1px; background: #d5cffd; }
.brand-mark i:nth-child(3), .brand-mark span:nth-child(3) { height: 8px; width: 8px; left: 10px; top: 10px; background: white; transform: none; }
.sidebar nav { flex: 1; overflow-y: auto; }
.nav-label { color: #777a82; font-size: 10px; font-weight: 700; letter-spacing: 1.4px; padding: 22px 13px 9px; }
.nav-item { width: 100%; height: 43px; border: 0; background: transparent; color: #aeb0b5; display: flex; align-items: center; gap: 12px; border-radius: 10px; padding: 0 12px; margin: 2px 0; text-align: left; font-size: 13.5px; font-weight: 550; transition: .18s ease; }
.nav-item svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav-item:first-child svg { fill: currentColor; stroke: none; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.055); }
.nav-item.active { color: #fff; background: #2a2930; box-shadow: inset 3px 0 #8878ed; }
.nav-item span { flex: 1; }
.nav-item em { background: #5445a4; color: #dcd6ff; font-size: 9px; font-style: normal; padding: 3px 5px; border-radius: 5px; font-weight: 750; }
.nav-item b { font-size: 10px; min-width: 20px; height: 20px; line-height: 20px; text-align: center; background: #d75b5b; color: white; border-radius: 10px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #51c9a9; box-shadow: 0 0 0 3px rgba(81,201,169,.14); }
.sidebar-bottom { border-top: 1px solid #2c2e32; padding-top: 10px; }
.user-card { border: 0; background: transparent; color: #fff; width: 100%; display: flex; align-items: center; gap: 10px; padding: 13px 8px 0; text-align: left; }
.user-card > span:nth-child(2) { flex: 1; }
.user-card strong, .user-card small { display: block; }
.user-card strong { font-size: 12.5px; }
.user-card small { color: #898c92; font-size: 10.5px; margin-top: 2px; }
.kebab { color: #6e7178; font-size: 18px; }
.avatar { width: 32px; height: 32px; border-radius: 10px; display: inline-grid; place-items: center; background: var(--purple); color: #fff; font-size: 12px; font-weight: 750; flex: 0 0 auto; }
.avatar.purple { background: #6d5bd0; }.avatar.teal { background: #008f7a; }.avatar.orange { background: #dc7b32; }

.main-area { grid-column: 2; min-width: 0; }
.topbar { height: 74px; background: rgba(255,255,255,.88); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 32px; position: sticky; top: 0; z-index: 20; }
.global-search { width: min(420px, 45vw); height: 39px; display: flex; align-items: center; gap: 9px; border: 1px solid #e2e1dc; background: #fafaf8; border-radius: 10px; padding: 0 11px; }
.global-search svg { width: 17px; fill: none; stroke: #8e9097; stroke-width: 1.8; }
.global-search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 12.5px; color: var(--ink); }
.global-search kbd { color: #a1a2a7; border: 1px solid #deddd8; background: #fff; padding: 2px 5px; border-radius: 5px; font-size: 10px; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.demo-pill { font-size: 9px; letter-spacing: 1px; color: #8d720e; background: #fff6ce; border: 1px solid #f2df83; padding: 5px 8px; border-radius: 6px; font-weight: 800; }
.icon-btn { width: 38px; height: 38px; border: 1px solid var(--line); background: #fff; border-radius: 10px; display: grid; place-items: center; position: relative; }
.icon-btn svg { width: 18px; fill: none; stroke: #555860; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #db5757; top: 7px; right: 8px; border: 1px solid white; }
.btn { border: 0; border-radius: 10px; min-height: 39px; padding: 0 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 12.5px; font-weight: 680; transition: .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: white; background: var(--purple); box-shadow: 0 5px 14px rgba(109,91,208,.2); }
.btn-primary:hover { background: var(--purple-dark); }
.btn-secondary { color: #4f5158; background: #fff; border: 1px solid #deddd8; }
.btn-ghost { background: transparent; color: var(--purple); }
.btn-danger { background: var(--red-soft); color: var(--red); }
.btn-ai { color: white; background: #242229; }
.btn-ai span { color: #af9eff; font-size: 16px; }
.btn-wide { width: 100%; min-height: 46px; }
.btn-sm { min-height: 32px; padding: 0 10px; font-size: 11.5px; border-radius: 8px; }
.page-content { padding: 31px 34px 56px; max-width: 1540px; margin: auto; }
.page-loader { height: 60vh; display: grid; place-items: center; align-content: center; color: var(--muted); font-size: 12px; gap: 14px; }
.page-loader span { width: 26px; height: 26px; border: 2px solid #ddd9f3; border-top-color: var(--purple); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.page-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; gap: 20px; }
.page-head h1 { font-size: 25px; letter-spacing: -.65px; margin: 0 0 6px; }
.page-head p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.page-actions { display: flex; gap: 9px; }
.eyebrow { font-size: 9px; font-weight: 800; letter-spacing: 1.5px; color: var(--purple); margin-bottom: 10px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-head { min-height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid var(--line); }
.card-head h2, .card-head h3 { margin: 0; font-size: 13.5px; letter-spacing: -.15px; }
.card-head p { margin: 3px 0 0; font-size: 10.5px; color: var(--muted); }
.link-btn { border: 0; background: transparent; color: var(--purple); font-size: 11.5px; font-weight: 650; }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.metric-card { padding: 18px 19px 16px; min-height: 128px; position: relative; overflow: hidden; }
.metric-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 11px; }
.metric-icon { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; }
.metric-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.metric-icon.purple { color: var(--purple); background: var(--purple-soft); }
.metric-icon.teal { color: var(--teal); background: var(--teal-soft); }
.metric-icon.orange { color: var(--orange); background: var(--orange-soft); }
.metric-icon.blue { color: var(--blue); background: var(--blue-soft); }
.metric-value { font-size: 28px; font-weight: 760; letter-spacing: -1px; margin: 13px 0 5px; }
.metric-foot { font-size: 10.5px; color: var(--muted); }.metric-foot strong { color: var(--teal); }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(290px, .75fr); gap: 16px; margin-bottom: 16px; }
.funnel-wrap { padding: 24px 22px 21px; }
.funnel { display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; gap: 6px; height: 180px; }
.funnel-step { text-align: center; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.funnel-bar { min-height: 14px; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #8b7be5, #6d5bd0); position: relative; transition: .5s ease; }
.funnel-step:nth-child(2) .funnel-bar { background: linear-gradient(180deg, #aea3eb, #8979df); }
.funnel-step:nth-child(3) .funnel-bar { background: linear-gradient(180deg, #72c7b5, #27a88e); }
.funnel-step:nth-child(4) .funnel-bar { background: linear-gradient(180deg, #f5b070, #df8337); }
.funnel-step strong { display: block; font-size: 18px; margin: 9px 0 2px; }.funnel-step small { color: var(--muted); font-size: 9.5px; }
.activity-list { padding: 8px 18px 12px; }
.activity-item { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid #f0efeb; }
.activity-item:last-child { border: 0; }
.activity-dot { width: 27px; height: 27px; border-radius: 8px; background: var(--purple-soft); color: var(--purple); display: grid; place-items: center; font-size: 11px; font-weight: 750; }
.activity-item p { margin: 0; font-size: 11px; line-height: 1.35; }.activity-item small { display: block; color: var(--muted-2); font-size: 9.5px; margin-top: 3px; }

.toolbar { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 11px; display: flex; gap: 9px; align-items: center; margin-bottom: 14px; }
.toolbar .search-field { flex: 1; min-width: 180px; }
.search-field { position: relative; }
.search-field svg { position: absolute; left: 11px; top: 10px; width: 16px; height: 16px; fill: none; stroke: #999ba1; stroke-width: 2; }
.search-field input { width: 100%; height: 37px; border: 1px solid #e5e4df; border-radius: 9px; padding: 0 12px 0 35px; outline: none; background: #fafaf8; }
.toolbar select, .field select, .field input, .field textarea, .form-stack input, .form-stack select, .form-stack textarea { height: 38px; border: 1px solid #deddd8; border-radius: 9px; padding: 0 11px; color: var(--ink); background: #fff; outline: none; }
.toolbar select:focus, .field input:focus, .field select:focus, .field textarea:focus, .form-stack input:focus, .form-stack select:focus, .form-stack textarea:focus { border-color: #9e91e3; box-shadow: 0 0 0 3px rgba(109,91,208,.09); }
.table-card { overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { color: #8c8e94; font-size: 9px; letter-spacing: .7px; text-transform: uppercase; font-weight: 750; background: #fafaf8; border-bottom: 1px solid var(--line); padding: 11px 15px; text-align: left; white-space: nowrap; }
.data-table td { border-bottom: 1px solid #efeee9; padding: 12px 15px; font-size: 11.5px; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }.data-table tbody tr:hover { background: #fcfcfa; }
.person-cell { display: flex; align-items: center; gap: 10px; min-width: 190px; }.person-cell strong, .person-cell small { display: block; }.person-cell strong { font-size: 11.5px; }.person-cell small { color: var(--muted); margin-top: 3px; font-size: 9.5px; }
.mini-avatar { width: 29px; height: 29px; border-radius: 9px; display: grid; place-items: center; background: #ebe8fb; color: var(--purple); font-weight: 750; font-size: 10px; flex: 0 0 auto; }
.pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 20px; padding: 5px 9px; font-size: 9.5px; font-weight: 650; white-space: nowrap; }
.pill::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.pill.new, .pill.draft { background: var(--blue-soft); color: var(--blue); }.pill.active, .pill.positive, .pill.approved { background: var(--teal-soft); color: var(--teal); }.pill.pending, .pill.not-now { background: #fff3dc; color: #b57417; }.pill.contacted { background: var(--purple-soft); color: var(--purple); }.pill.unsubscribed, .pill.negative { background: var(--red-soft); color: var(--red); }
.source-chip { color: #6f7178; background: #f2f1ed; padding: 4px 7px; border-radius: 6px; font-size: 9.5px; }
.table-footer { height: 48px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 16px; color: var(--muted); font-size: 10.5px; }

.segment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.segment-card { padding: 18px; min-height: 205px; display: flex; flex-direction: column; }
.segment-card-top { display: flex; justify-content: space-between; gap: 10px; }.segment-icon { width: 36px; height: 36px; border-radius: 11px; background: var(--purple-soft); color: var(--purple); display: grid; place-items: center; font-weight: 800; }.menu-dots { background: transparent; border: 0; color: #8d8f94; font-size: 19px; }
.segment-card h3 { margin: 16px 0 6px; font-size: 14px; }.segment-card > p { margin: 0; color: var(--muted); font-size: 10.5px; line-height: 1.5; min-height: 32px; }
.filter-summary { color: #7b709e; background: #f8f6ff; border: 1px solid #eeeafd; border-radius: 8px; padding: 8px; font-size: 9.5px; line-height: 1.45; margin: 13px 0; }
.segment-meta { display: flex; align-items: end; justify-content: space-between; margin-top: auto; }.segment-count strong { display: block; font-size: 22px; }.segment-count small { color: var(--muted); font-size: 9.5px; }.dynamic-badge { color: var(--teal); font-size: 9px; font-weight: 700; }

.studio-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); min-height: calc(100vh - 155px); overflow: hidden; }
.sequence-list { border-right: 1px solid var(--line); padding: 10px; background: #fbfbf9; }
.sequence-list-head { padding: 11px 10px 15px; display: flex; justify-content: space-between; align-items: center; }.sequence-list-head strong { font-size: 12px; }.sequence-item { width: 100%; border: 1px solid transparent; background: transparent; padding: 12px; text-align: left; border-radius: 11px; margin-bottom: 5px; }.sequence-item:hover { background: #fff; }.sequence-item.active { background: #fff; border-color: #ddd9f5; box-shadow: 0 4px 13px rgba(30,30,35,.04); }.sequence-item strong { display: block; font-size: 11.5px; line-height: 1.35; }.sequence-item small { display: block; color: var(--muted); font-size: 9.5px; margin-top: 6px; }.sequence-tags { display: flex; gap: 5px; margin-top: 9px; }.sequence-tags span { padding: 3px 6px; border-radius: 5px; background: #efeee9; font-size: 8.5px; color: #71737a; }
.sequence-editor { padding: 24px 28px; background: #fff; }.editor-head { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }.editor-head h2 { margin: 0 0 7px; font-size: 19px; }.editor-meta { color: var(--muted); font-size: 10.5px; display: flex; gap: 12px; }.editor-actions { display: flex; gap: 7px; }
.subject-strip { display: flex; align-items: center; gap: 8px; margin: 19px 0; }.subject-strip > span:first-child { font-size: 9.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }.subject-chip { border: 1px solid #dedbe8; background: #faf9ff; color: #5b4ea2; padding: 6px 9px; border-radius: 7px; font-size: 10px; }
.email-step { display: grid; grid-template-columns: 55px minmax(0, 1fr); gap: 14px; position: relative; padding-bottom: 18px; }.step-rail { text-align: center; position: relative; }.step-rail::after { content: ''; position: absolute; width: 1px; background: #dddbe9; top: 32px; bottom: -19px; left: 50%; }.email-step:last-child .step-rail::after { display: none; }.step-number { width: 29px; height: 29px; margin: auto; display: grid; place-items: center; color: white; background: var(--purple); border-radius: 9px; font-size: 10px; font-weight: 750; }.step-delay { font-size: 8.5px; color: var(--muted); margin-top: 7px; }
.email-card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }.email-card-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 13px; background: #fafaf8; border-bottom: 1px solid var(--line); }.email-card-head strong { font-size: 10.5px; }.email-card-head span { color: var(--muted); font-size: 9px; }.email-subject { padding: 10px 14px; border-bottom: 1px solid #efeee9; font-size: 10.5px; }.email-body { padding: 16px 15px; font-size: 11px; color: #45474c; line-height: 1.65; white-space: pre-line; }

.campaign-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 15px; }.mini-stat { padding: 15px 17px; }.mini-stat small { color: var(--muted); font-size: 9.5px; }.mini-stat strong { display: block; margin-top: 6px; font-size: 19px; }.campaign-name strong { display: block; }.campaign-name small { color: var(--muted); font-size: 9.5px; margin-top: 4px; display: block; }
.action-group { display: flex; gap: 5px; }

.inbox-layout { display: grid; grid-template-columns: 380px minmax(0, 1fr); min-height: calc(100vh - 154px); overflow: hidden; }.inbox-list { border-right: 1px solid var(--line); background: #fbfbf9; }.inbox-list-head { padding: 17px; border-bottom: 1px solid var(--line); display: flex; gap: 7px; }.inbox-filter { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 6px 9px; font-size: 9.5px; color: var(--muted); }.inbox-filter.active { background: var(--purple-soft); color: var(--purple); border-color: #dcd5fc; }.reply-item { padding: 14px 17px; border: 0; border-bottom: 1px solid var(--line); background: transparent; width: 100%; text-align: left; }.reply-item:hover, .reply-item.active { background: #fff; }.reply-item.active { box-shadow: inset 3px 0 var(--purple); }.reply-top { display: flex; justify-content: space-between; align-items: center; }.reply-top strong { font-size: 11.5px; }.reply-top time { color: var(--muted-2); font-size: 8.5px; }.reply-item p { margin: 7px 0 8px; color: #666970; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.reply-view { background: #fff; padding: 27px 30px; }.reply-view-head { display: flex; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--line); }.reply-view-head h2 { margin: 0 0 6px; font-size: 18px; }.reply-view-head p { margin: 0; color: var(--muted); font-size: 10px; }.reply-content { max-width: 760px; padding: 26px 0; font-size: 12px; line-height: 1.7; }.reply-ai { max-width: 760px; background: #f8f6ff; border: 1px solid #e8e3ff; border-radius: 13px; padding: 16px; }.reply-ai-head { display: flex; justify-content: space-between; color: var(--purple); font-size: 10.5px; font-weight: 700; }.reply-ai textarea { width: 100%; min-height: 100px; border: 0; background: transparent; resize: vertical; outline: 0; margin: 12px 0; font-size: 11px; line-height: 1.6; }

.chat-layout { display: grid; grid-template-columns: 1fr 260px; min-height: calc(100vh - 154px); overflow: hidden; }.chat-main { display: flex; flex-direction: column; min-width: 0; }.chat-head { height: 68px; border-bottom: 1px solid var(--line); padding: 0 22px; display: flex; align-items: center; justify-content: space-between; }.chat-head h2 { font-size: 13px; margin: 0; }.chat-head small { color: var(--muted); font-size: 9.5px; }.online-team { display: flex; }.online-team span { margin-left: -6px; border: 2px solid white; }.chat-messages { padding: 22px 25px; flex: 1; overflow-y: auto; min-height: 380px; max-height: calc(100vh - 310px); }.chat-message { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; margin-bottom: 19px; }.chat-message.user.mine { grid-template-columns: minmax(0, 1fr) 30px; }.chat-message.user.mine .message-body { grid-column: 1; grid-row: 1; justify-self: end; background: #28272c; color: #fff; }.chat-message.user.mine .mini-avatar { grid-column: 2; }.message-body { background: #f4f3ef; border-radius: 4px 13px 13px 13px; padding: 11px 13px; max-width: 680px; }.chat-message.assistant .message-body { background: #f8f6ff; border: 1px solid #e8e3ff; }.message-author { display: flex; gap: 8px; align-items: center; margin-bottom: 5px; }.message-author strong { font-size: 9.5px; }.message-author time { font-size: 8px; color: var(--muted-2); }.message-body p { margin: 0; font-size: 11px; line-height: 1.55; }.action-card { background: white; border: 1px solid #ded9fa; border-radius: 9px; padding: 11px; margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }.action-card small { color: var(--muted); font-size: 9px; }.chat-compose { margin: 0 22px 20px; border: 1px solid #d9d6e7; border-radius: 13px; padding: 10px; background: #fff; box-shadow: 0 8px 24px rgba(50,45,80,.07); }.chat-compose textarea { border: 0; outline: 0; resize: none; width: 100%; min-height: 42px; padding: 4px; font-size: 11.5px; }.compose-foot { display: flex; justify-content: space-between; align-items: center; }.compose-foot span { color: var(--muted); font-size: 9px; }.chat-side { border-left: 1px solid var(--line); padding: 20px 16px; background: #fbfbf9; }.chat-side h3 { font-size: 10px; letter-spacing: .7px; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }.suggestion-btn { border: 1px solid var(--line); background: white; width: 100%; text-align: left; border-radius: 9px; padding: 10px; margin-bottom: 7px; font-size: 10px; line-height: 1.35; color: #51535a; }.suggestion-btn:hover { border-color: #c9c1f4; color: var(--purple); }

.automation-list { display: grid; gap: 10px; }.automation-card { display: grid; grid-template-columns: 42px minmax(180px, .7fr) minmax(200px, 1fr) minmax(200px, 1.2fr) 90px 50px; align-items: center; gap: 16px; padding: 15px 18px; }.automation-icon { width: 35px; height: 35px; border-radius: 10px; display: grid; place-items: center; background: var(--purple-soft); color: var(--purple); }.automation-card strong { font-size: 11.5px; }.automation-label { color: var(--muted); font-size: 8.5px; text-transform: uppercase; letter-spacing: .6px; display: block; margin-bottom: 4px; }.automation-value { font-size: 10.5px; color: #52545a; }.switch { width: 36px; height: 20px; border: 0; border-radius: 12px; background: #d7d6d1; padding: 2px; transition: .2s; }.switch::after { content: ''; display: block; width: 16px; height: 16px; border-radius: 50%; background: white; box-shadow: 0 1px 3px rgba(0,0,0,.18); transition: .2s; }.switch.on { background: var(--teal); }.switch.on::after { transform: translateX(16px); }

.report-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 15px; }.chart-card { padding: 20px; }.bar-chart { height: 250px; display: flex; align-items: flex-end; gap: 12px; border-bottom: 1px solid var(--line); padding: 20px 10px 0; }.bar-group { flex: 1; height: 100%; display: flex; align-items: end; justify-content: center; gap: 4px; position: relative; }.bar { width: 13px; border-radius: 5px 5px 0 0; background: #c8c0f4; }.bar.alt { background: var(--teal); }.bar-group label { position: absolute; bottom: -23px; font-size: 8.5px; color: var(--muted); }.donut-wrap { display: grid; place-items: center; padding: 26px; }.donut { width: 170px; height: 170px; border-radius: 50%; background: conic-gradient(var(--purple) 0 45%, var(--teal) 45% 72%, #e7a058 72% 88%, #e4e3de 88%); position: relative; display: grid; place-items: center; }.donut::after { content: ''; position: absolute; inset: 27px; border-radius: 50%; background: white; }.donut strong { position: relative; z-index: 1; font-size: 25px; }.donut-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-top: 20px; font-size: 9.5px; }.donut-legend i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; margin-right: 6px; }

.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.integration-card { padding: 18px; display: flex; align-items: center; gap: 14px; }.integration-logo { width: 43px; height: 43px; border-radius: 12px; background: #242429; color: white; display: grid; place-items: center; font-weight: 800; }.integration-logo.smartlead { background: linear-gradient(135deg, #795bea, #4cb2a3); }.integration-info { flex: 1; }.integration-info strong { display: block; font-size: 12px; }.integration-info small { color: var(--muted); font-size: 9.5px; }.connection { font-size: 9px; padding: 5px 8px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); }.connection.demo { background: #fff3dc; color: #a66a13; }

.modal-backdrop { position: fixed; inset: 0; background: rgba(16,17,20,.48); backdrop-filter: blur(4px); z-index: 80; display: grid; place-items: center; padding: 20px; animation: fade .15s ease; }.modal { width: min(650px, 96vw); max-height: 92vh; overflow-y: auto; background: #fff; border-radius: 18px; box-shadow: 0 24px 70px rgba(0,0,0,.22); animation: rise .22s ease; }.modal-lg { width: min(820px, 96vw); }.modal-head { padding: 20px 23px 16px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-start; }.modal-head h2 { margin: 0 0 5px; font-size: 17px; }.modal-head p { margin: 0; color: var(--muted); font-size: 10.5px; }.modal-close { border: 0; background: #f1f0ec; width: 29px; height: 29px; border-radius: 8px; color: #6f7178; }.modal-body { padding: 21px 23px; }.modal-foot { padding: 14px 23px 20px; display: flex; justify-content: flex-end; gap: 8px; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.field { display: flex; flex-direction: column; gap: 6px; }.field.full { grid-column: 1 / -1; }.field label, .form-stack label { font-size: 10px; font-weight: 700; color: #55575e; display: flex; flex-direction: column; gap: 7px; }.field input, .field select, .field textarea { width: 100%; }.field textarea, .form-stack textarea { min-height: 84px; padding: 10px 11px; resize: vertical; }.field small { color: var(--muted); font-size: 9px; }.prompt-box { background: #f8f6ff; border: 1px solid #e5e0ff; border-radius: 12px; padding: 14px; }.prompt-box textarea { width: 100%; min-height: 94px; border: 0; outline: 0; resize: vertical; background: transparent; font-size: 12px; line-height: 1.55; }.prompt-example { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 9px; }.prompt-example button { border: 1px solid #ded9f8; color: #6558ac; background: white; border-radius: 7px; padding: 5px 7px; font-size: 8.5px; }.preview-box { margin-top: 13px; border: 1px solid var(--line); border-radius: 11px; padding: 13px; }.preview-box strong { font-size: 11px; }.preview-count { font-size: 24px; color: var(--purple); font-weight: 780; }.sample-list { display: flex; gap: 6px; margin-top: 9px; flex-wrap: wrap; }.sample-list span { background: #f3f2ee; padding: 5px 7px; border-radius: 6px; font-size: 8.5px; }
.toast-root { position: fixed; right: 23px; top: 88px; z-index: 100; display: grid; gap: 8px; }.toast { min-width: 280px; max-width: 400px; background: #24252a; color: white; border-radius: 11px; padding: 12px 15px; box-shadow: 0 12px 28px rgba(0,0,0,.2); font-size: 11px; animation: slide .2s ease; }.toast.error { background: #a73c3c; }.toast.success { background: #146f61; }
.empty-state { text-align: center; padding: 55px 20px; }.empty-state .empty-icon { width: 48px; height: 48px; margin: auto; border-radius: 15px; background: var(--purple-soft); color: var(--purple); display: grid; place-items: center; font-size: 21px; }.empty-state h3 { margin: 13px 0 6px; font-size: 13px; }.empty-state p { color: var(--muted); font-size: 10.5px; margin: 0 0 14px; }

.login-view { min-height: 100vh; background: #1a1b1f; color: white; padding: 28px 4vw; position: relative; overflow: hidden; }.login-brand { position: absolute; top: 28px; left: 4vw; display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 760; z-index: 3; }.login-grid { min-height: calc(100vh - 56px); display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; max-width: 1200px; margin: auto; gap: 8vw; }.login-story { position: relative; z-index: 1; }.eyebrow.light { color: #a89af5; }.login-story h1 { font-size: clamp(40px, 5vw, 66px); letter-spacing: -3px; line-height: 1.02; max-width: 690px; margin: 0 0 22px; }.login-story > p { color: #9fa1a9; max-width: 540px; font-size: 16px; line-height: 1.65; }.login-proof { display: flex; gap: 15px; align-items: center; margin-top: 35px; }.proof-avatars { display: flex; }.proof-avatars span, .proof-avatars i { width: 31px; height: 31px; border-radius: 10px; display: grid; place-items: center; margin-left: -7px; border: 2px solid #1a1b1f; font-size: 10px; font-style: normal; background: #6d5bd0; }.proof-avatars span:nth-child(2) { background: #008f7a; }.proof-avatars span:nth-child(3) { background: #d9772f; }.proof-avatars i { background: #35363c; color: #aaa; }.login-proof strong, .login-proof small { display: block; }.login-proof strong { font-size: 11.5px; }.login-proof small { color: #7f8189; font-size: 9.5px; margin-top: 3px; }.orbit-art { position: absolute; width: 620px; height: 620px; left: -190px; top: -180px; opacity: .3; z-index: -1; }.orbit { position: absolute; inset: 20%; border: 1px solid #5f586f; border-radius: 50%; transform: rotate(-20deg); }.orbit-b { inset: 10%; transform: rotate(35deg); }.orbit-c { inset: 30%; transform: rotate(70deg); }.orbit i { width: 8px; height: 8px; position: absolute; left: 18%; top: 5%; background: #9f8df6; border-radius: 50%; box-shadow: 0 0 20px #8f7fe6; }.orbit-center { position: absolute; left: 49%; top: 49%; font-size: 11px; color: #b1a5f0; }.login-card { color: var(--ink); background: #fff; border-radius: 22px; padding: 36px 38px 30px; box-shadow: 0 25px 80px rgba(0,0,0,.26); max-width: 440px; justify-self: end; width: 100%; }.login-mini-logo { display: none; }.login-card h2 { font-size: 25px; letter-spacing: -.7px; margin: 0 0 5px; }.login-card > div > p { color: var(--muted); font-size: 11px; margin: 0 0 24px; }.form-stack { display: grid; gap: 15px; }.form-stack input { width: 100%; height: 44px; }.login-divider { height: 45px; position: relative; display: grid; place-items: center; }.login-divider::before { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: var(--line); }.login-divider span { position: relative; z-index: 1; padding: 0 10px; background: #fff; font-size: 8.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .7px; }.demo-users { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }.demo-users button { border: 1px solid var(--line); background: #fbfbf9; border-radius: 10px; padding: 8px; display: flex; align-items: center; gap: 7px; text-align: left; }.demo-users button:hover { border-color: #cfc8f4; background: #faf9ff; }.demo-users strong, .demo-users small { display: block; }.demo-users strong { font-size: 9px; }.demo-users small { font-size: 7.5px; color: var(--muted); margin-top: 2px; }.demo-users .avatar { width: 25px; height: 25px; border-radius: 7px; font-size: 9px; }.login-hint { display: block; color: var(--muted); text-align: center; font-size: 8.5px; margin-top: 16px; }.login-hint code { background: #f0efeb; color: #555; padding: 2px 4px; border-radius: 4px; }

@keyframes fade { from { opacity: 0; } } @keyframes rise { from { transform: translateY(10px); opacity: .7; } } @keyframes slide { from { transform: translateX(15px); opacity: 0; } }
.mobile-only { display: none; }
@media (max-width: 1100px) { .metric-grid { grid-template-columns: repeat(2, 1fr); }.segment-grid { grid-template-columns: repeat(2, 1fr); }.dashboard-grid { grid-template-columns: 1fr; }.automation-card { grid-template-columns: 42px 1fr 1fr 50px; }.automation-card > div:nth-child(4), .automation-card > div:nth-child(5) { display: none; }.settings-grid { grid-template-columns: 1fr; } }
@media (max-width: 820px) { .app-shell { display: block; }.sidebar { transform: translateX(-100%); transition: .2s; }.sidebar.open { transform: none; }.main-area { width: 100%; }.topbar { padding: 0 15px; }.mobile-only { display: grid; }.global-search { display: none; }.page-content { padding: 22px 15px 45px; }.page-head { flex-direction: column; }.metric-grid, .segment-grid, .campaign-stats { grid-template-columns: 1fr 1fr; }.studio-layout, .inbox-layout, .chat-layout { grid-template-columns: 1fr; }.sequence-list, .inbox-list, .chat-side { display: none; }.report-grid { grid-template-columns: 1fr; }.login-grid { grid-template-columns: 1fr; }.login-story { display: none; }.login-card { justify-self: center; }.login-mini-logo { display: flex; align-items: center; gap: 6px; margin-bottom: 25px; font-weight: 700; }.login-brand { display: none; } }
@media (max-width: 540px) { .metric-grid, .segment-grid, .campaign-stats, .form-grid { grid-template-columns: 1fr; }.field.full { grid-column: 1; }.topbar-actions .icon-btn, .demo-pill { display: none; }.data-table th:nth-child(3), .data-table td:nth-child(3), .data-table th:nth-child(5), .data-table td:nth-child(5) { display: none; }.page-head h1 { font-size: 22px; }.login-view { padding: 16px; }.login-card { padding: 27px 22px; }.demo-users { grid-template-columns: 1fr; } }
