:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #172a22;
  background: #f3f7f5;
  font-synthesis: none;
  --green: #0b805b;
  --green-dark: #086b4b;
  --ink-soft: #61756b;
  --border: #e2ebe5;
  --surface: #fff;
  --surface-tint: #f7faf8;
  --shadow-card: 0 10px 28px rgba(26, 62, 44, .055), 0 1px 2px rgba(26, 62, 44, .04);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: radial-gradient(ellipse at 82% 0%, rgba(196, 232, 214, .42), transparent 34%), radial-gradient(ellipse at 4% 54%, rgba(218, 237, 227, .48), transparent 28%), #f3f7f5; background-attachment: fixed; }
body.auth-screen { height: 100vh; height: 100svh; overflow: hidden; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.shell { width: 100%; max-width: none; margin: 0; padding: 28px 24px 70px; }
body.auth-screen .shell { height: 100%; min-height: 0; display: flex; flex-direction: column; padding: 18px 24px; }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
body.auth-screen .topbar { flex: 0 0 auto; margin-bottom: 8px; }
#public-header { max-width: 1320px; margin-right: auto; margin-left: auto; }
.brand { color: var(--green); text-decoration: none; font-size: 21px; font-weight: 850; letter-spacing: -.05em; }
.auth-layout { width: min(1180px, 100%); min-height: calc(100vh - 150px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 460px); align-items: center; gap: clamp(52px, 8vw, 112px); margin: 0 auto; padding: 20px 0 55px; }
.auth-story { max-width: 570px; padding: 8px 0; }
.auth-kicker { display: flex; align-items: center; gap: 9px; margin: 0 0 24px; color: #438269; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.auth-kicker-dot { width: 8px; height: 8px; background: #49a67a; border-radius: 50%; box-shadow: 0 0 0 4px #49a67a1c; }
.auth-story h1 { max-width: 570px; margin: 0; color: #173a2b; font-size: clamp(38px, 4.5vw, 58px); line-height: 1.08; letter-spacing: -.055em; }
.auth-story-copy { max-width: 495px; margin: 20px 0 30px; color: #63776c; font-size: 16px; line-height: 1.75; }
.auth-benefits { display: grid; gap: 15px; }
.auth-benefit { display: flex; align-items: flex-start; gap: 13px; }
.auth-check { flex: 0 0 23px; display: grid; width: 23px; height: 23px; place-items: center; margin-top: 1px; color: #147251; background: #e3f2e9; border-radius: 50%; font-size: 13px; font-weight: 800; }
.auth-benefit p { display: grid; gap: 3px; margin: 0; }
.auth-benefit strong { color: #294b3b; font-size: 13px; font-weight: 750; }
.auth-benefit p span { color: #718078; font-size: 12px; line-height: 1.5; }
.auth-story-note { display: flex; align-items: center; gap: 12px; width: fit-content; margin-top: 32px; padding: 13px 17px 13px 13px; background: rgba(255, 255, 255, .64); border: 1px solid rgba(217, 231, 221, .9); border-radius: 13px; }
.auth-note-mark { display: grid; width: 35px; height: 35px; place-items: center; color: #fff; background: linear-gradient(145deg, #17815b, #0b5f43); border-radius: 11px; font-size: 15px; font-weight: 850; letter-spacing: -.05em; }
.auth-story-note div { display: grid; gap: 3px; }
.auth-story-note strong { color: #294b3b; font-size: 12px; }
.auth-story-note div span { color: #77877e; font-size: 11px; }
.auth-card { width: 100%; max-width: 460px; margin: 0; padding: 38px; background: var(--surface); border: 1px solid #e1eae4; border-radius: 20px; box-shadow: 0 25px 70px rgba(25, 59, 43, .11), 0 2px 6px rgba(25, 59, 43, .035); }
.auth-card-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; color: #7a8a81; font-size: 11px; font-weight: 650; }
.auth-secure-mark { display: grid; width: 21px; height: 21px; place-items: center; color: #147251; background: #e5f3ea; border-radius: 7px; font-size: 12px; font-weight: 800; }
.auth-card h2 { margin: 0; color: #1b3026; font-size: 27px; line-height: 1.2; letter-spacing: -.04em; }
.auth-card-copy { margin: 8px 0 0; color: #79877f; font-size: 13px; line-height: 1.55; }
.eyebrow { color: #138563; font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.muted { color: #718078; line-height: 1.6; }
.tabs { display: flex; gap: 5px; margin: 26px 0 22px; padding: 4px; background: #f3f7f4; border: 1px solid #edf2ee; border-radius: 11px; }
.tab, .quiet { padding: 10px 13px; color: var(--ink-soft); background: transparent; border: 0; border-radius: 9px; }
.tab { flex: 1; padding: 10px 12px; color: #738178; font-size: 12px; font-weight: 650; transition: color .16s ease, background-color .16s ease, box-shadow .16s ease; }
.tab.active { color: #235a41; background: #fff; box-shadow: 0 1px 3px rgba(28, 54, 39, .1); font-weight: 750; }
label { display: block; margin: 15px 0; color: #3b4e45; font-size: 13px; font-weight: 650; }
input, select, textarea { display: block; width: 100%; margin-top: 8px; padding: 13px 14px; color: #152720; background-color: white; border: 1px solid #dfe7e2; border-radius: 10px; transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease; }
input:hover, select:hover, textarea:hover { border-color: #b7c9be; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #39a17c; box-shadow: 0 0 0 3px #0c805c1a; }
select { min-height: 44px; padding-right: 38px; color: #294438; background-color: #fbfdfb; border-color: #d7e5dc; font-weight: 600; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%23566b60' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; background-size: 15px; cursor: pointer; }
select:hover { background-color: #f5faf7; border-color: #a9cbb8; }
select:disabled { color: #91a098; background-color: #f3f6f4; cursor: not-allowed; }
select[multiple] { padding: 6px; background-image: none; cursor: default; }
select option { color: #152720; background: white; }
select[multiple] option { padding: 8px 10px; border-radius: 6px; }
.select-fallback { position: relative; display: block; min-width: 0; width: 100%; margin-top: 8px; }
.select-fallback select.select-fallback__native { position: absolute; width: 1px; min-width: 0; height: 1px; min-height: 0; margin: 0; padding: 0; opacity: 0; pointer-events: none; }
.select-fallback__trigger { display: flex; align-items: center; gap: 8px; width: 100%; min-width: 0; min-height: 44px; padding: 9px 10px 9px 14px; color: #294438; text-align: left; background: #fbfdfb; border: 1px solid #d7e5dc; border-radius: 10px; font-size: inherit; font-weight: 600; transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease; }
.select-fallback__trigger:hover { background: #f5faf7; border-color: #a9cbb8; }
.select-fallback__trigger:focus-visible { outline: none; border-color: #39a17c; box-shadow: 0 0 0 3px #0c805c1a; }
.select-fallback__trigger:disabled { color: #91a098; background: #f3f6f4; cursor: not-allowed; }
.select-fallback__trigger[aria-invalid="true"] { border-color: #b42318; }
.select-fallback__text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select-fallback__icon { flex: 0 0 20px; width: 20px; height: 20px; background: #eaf4ed url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%233e7659' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; border-radius: 7px; transition: transform .16s ease, background-color .16s ease; }
.select-fallback__trigger[aria-expanded="true"] .select-fallback__icon { transform: rotate(180deg); background-color: #dcefe3; }
.select-fallback__list { position: fixed; z-index: 100; overflow-y: auto; padding: 5px; background: #fff; border: 1px solid #dce9e0; border-radius: 12px; box-shadow: 0 14px 35px rgba(27, 62, 42, .16), 0 2px 6px rgba(27, 62, 42, .06); }
.select-fallback__option { display: flex; align-items: center; gap: 12px; min-height: 38px; padding: 9px 11px; color: #40584a; border-radius: 7px; font-size: 13px; font-weight: 550; line-height: 1.4; cursor: pointer; }
.select-fallback__option:hover, .select-fallback__option.is-active { color: #175a3f; background: #f1f8f3; }
.select-fallback__option.is-selected { color: #086b4b; background: #eaf5ee; font-weight: 700; }
.select-fallback__check { display: none; margin-left: auto; color: #0b805b; }
.select-fallback__option.is-selected .select-fallback__check { display: block; }
.select-fallback__option[aria-disabled="true"] { color: #a3afa7; cursor: not-allowed; }
.select-fallback__error { display: block; color: #b42318; font-size: 12px; font-weight: 500; }
.select-fallback__error:not(:empty) { margin-top: 5px; }

@supports (appearance: base-select) {
  select:not([multiple]), select:not([multiple])::picker(select) { appearance: base-select; }
  select:not([multiple]) { display: flex; align-items: center; gap: 8px; padding: 9px 10px 9px 14px; background-image: none; }
  select:not([multiple]) selectedcontent { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  select:not([multiple])::picker-icon { width: 20px; height: 20px; flex: 0 0 20px; margin-left: auto; color: transparent; background: #eaf4ed url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%233e7659' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; border-radius: 7px; transition: rotate .16s ease, background-color .16s ease; }
  select:not([multiple]):open::picker-icon { rotate: 180deg; background-color: #dcefe3; }
  select:not([multiple])::picker(select) { max-height: min(280px, 50vh); margin-top: 6px; padding: 5px; background: #fff; border: 1px solid #dce9e0; border-radius: 12px; box-shadow: 0 14px 35px rgba(27, 62, 42, .16), 0 2px 6px rgba(27, 62, 42, .06); }
  select:not([multiple]) option { display: flex; align-items: center; gap: 12px; min-height: 38px; padding: 9px 11px; color: #40584a; border-radius: 7px; font-size: 13px; font-weight: 550; cursor: pointer; }
  select:not([multiple]) option:hover, select:not([multiple]) option:focus { color: #175a3f; background: #f1f8f3; outline: none; }
  select:not([multiple]) option:checked { color: #086b4b; background: #eaf5ee; font-weight: 700; }
  select:not([multiple]) option::checkmark { order: 1; margin-left: auto; color: #0b805b; }
  select:not([multiple]) option:disabled { color: #a3afa7; cursor: not-allowed; }
}
textarea { min-height: 100px; resize: vertical; }
.primary { padding: 11px 16px; color: white; background: var(--green); border: 0; border-radius: 9px; font-weight: 700; }
.primary:hover { background: var(--green-dark); }
.primary:disabled { opacity: .6; cursor: wait; }
.auth-card .primary { width: 100%; margin-top: 12px; padding: 14px 18px; border-radius: 10px; font-size: 13px; box-shadow: 0 5px 12px rgba(11, 128, 91, .16); transition: background-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.auth-card .primary:hover { transform: translateY(-1px); box-shadow: 0 7px 16px rgba(11, 128, 91, .2); }
.error { min-height: 18px; color: #b42318; font-size: 13px; }
.notice { padding: 10px 12px; color: var(--green-dark); }
.auth-card #auth-error { margin: 10px 0 0; font-size: 12px; line-height: 1.5; }
.auth-card #forgot-password { display: block; margin: 3px auto 0; padding: 7px; color: #587264; font-size: 12px; }
.auth-card #forgot-password:hover { color: var(--green-dark); }
.auth-card-footnote { margin: 22px 0 0; padding-top: 17px; color: #87948c; border-top: 1px solid #edf1ee; font-size: 11px; line-height: 1.5; text-align: center; }
.auth-layout { flex: 1 1 auto; min-height: 0; padding: 12px 0; }

.app-layout { min-height: calc(100vh - 56px); display: grid; grid-template-columns: 252px minmax(0, 1fr); margin: -28px -24px -70px; background: linear-gradient(125deg, rgba(247, 250, 248, .98), rgba(241, 247, 243, .94) 58%, rgba(238, 246, 241, .96)); }
.app-layout.campaign-workspace-layout { grid-template-columns: minmax(0, 1fr); }
.campaign-workspace-layout .sidebar { display: none; }
.campaign-workspace-layout .main-content { max-width: 1440px; margin: 0 auto; padding-top: 32px; }
.campaign-workspace-layout .app-header { padding-right: clamp(22px, 5vw, 72px); padding-left: clamp(22px, 5vw, 72px); }
.campaign-workspace-layout #campaign-page-back { margin-left: auto; }
.campaign-workspace-layout .header-logout { margin-left: 12px; }
.campaign-management-layout { display: grid; grid-template-columns: minmax(205px, 230px) minmax(0, 1fr); align-items: start; gap: 20px; }
.campaign-switcher { position: sticky; top: 18px; display: flex; flex-direction: column; min-width: 0; max-height: calc(100vh - 100px); padding: 18px 13px; overflow: hidden; background: rgba(255, 255, 255, .9); border: 1px solid var(--border); border-radius: 15px; box-shadow: var(--shadow-card); }
.campaign-switcher-heading { padding: 0 7px 12px; }
.campaign-switcher-heading .eyebrow { margin: 0 0 5px; font-size: 9px; }
.campaign-switcher-heading h2 { margin: 0; font-size: 16px; }
.campaign-switcher-create { width: 100%; margin-bottom: 14px; padding: 9px 11px; font-size: 12px; }
.campaign-switcher-section-label { margin: 0; padding: 8px 7px 6px; color: #89968f; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.campaign-switcher-list { display: grid; gap: 5px; min-height: 0; overflow-y: auto; }
.campaign-switcher-item { display: grid; gap: 4px; width: 100%; padding: 9px 10px; color: #52635a; text-align: left; background: transparent; border: 1px solid transparent; border-radius: 9px; transition: background-color .16s ease, border-color .16s ease, color .16s ease; }
.campaign-switcher-item:hover { background: #f3f8f5; }
.campaign-switcher-item.selected { color: #145e42; background: #eaf5ee; border-color: #c9e5d2; box-shadow: inset 3px 0 #16805a; }
.campaign-switcher-name { overflow: hidden; font-size: 12px; font-weight: 750; line-height: 1.4; text-overflow: ellipsis; }
.campaign-switcher-status { color: #78877e; font-size: 10px; text-transform: capitalize; }
.campaign-switcher-empty { margin: 0; padding: 5px 7px 10px; color: #7a8980; font-size: 11px; line-height: 1.5; }
.campaign-management-main { min-width: 0; }
.campaign-management-main > .campaign-create-page { max-width: none; margin: 0; }
.campaign-selected-overview .campaign-create-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.campaign-selected-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.campaign-selected-settings h2 { margin: 0 0 14px; font-size: 16px; }
.campaign-configuration-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.campaign-configuration-grid > div { display: grid; align-content: start; gap: 6px; min-width: 0; }
.campaign-configuration-grid > div > span { color: #78877e; font-size: 11px; }
.campaign-configuration-grid > div > strong { font-size: 13px; overflow-wrap: anywhere; }
.campaign-configuration-grid .campaign-configuration-account { grid-column: 1 / -1; }
.campaign-create-page { max-width: 980px; margin: 0 auto; padding: 28px clamp(20px, 4vw, 48px) 36px; background: rgba(255, 255, 255, .92); border: 1px solid rgba(222, 233, 226, .95); border-radius: 20px; box-shadow: var(--shadow-card); }
.campaign-create-heading { margin: 0 0 24px; padding: 0 0 20px; border-bottom: 1px solid var(--border); }
.campaign-create-heading .eyebrow { margin: 0; }
.campaign-create-heading h1 { margin: 8px 0 6px; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.045em; }
.campaign-create-heading p:last-child { margin: 0; color: var(--ink-soft); font-size: 14px; }
.campaign-card { display: grid; align-items: stretch; gap: 16px; }
.campaign-card-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, 250px); align-items: start; gap: 24px; width: 100%; }
.campaign-card-copy { min-width: 0; }
.campaign-card-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.campaign-card-title h3 { margin: 0; font-size: 16px; }
.campaign-card-copy > small { display: block; margin-top: 8px; color: #738078; font-size: 12px; }
.campaign-card-copy > p { margin: 10px 0 0; color: #61756b; font-size: 13px; line-height: 1.5; }
.campaign-card-account { display: grid; justify-items: end; gap: 6px; min-width: 0; }
.campaign-card-account-label { color: #89968f; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.campaign-card-account .campaign-account-card { justify-self: end; max-width: 100%; padding: 7px 9px; background: #f8faf9; }
.campaign-card-account .campaign-account-card > div { gap: 4px 7px; }
.campaign-card-account .campaign-account-card strong { font-size: 11px; }
.campaign-card-account .campaign-account-icon { flex-basis: 27px; width: 27px; height: 27px; font-size: 11px; }
.campaign-card-account .campaign-account-empty { justify-self: end; padding: 6px 8px; font-size: 11px; }
.campaign-card-actions { justify-content: flex-end; width: 100%; padding-top: 13px; border-top: 1px solid #edf1ee; }
.campaign-account-review { margin: 10px 0 16px; padding: 14px 16px; background: #f7faf8; border: 1px solid var(--border); border-radius: 10px; }
.campaign-account-review h4 { margin: 0 0 10px; }
.campaign-account-progress { margin-top: 12px; }
.campaign-account-empty { display: inline-flex; padding: 7px 10px; color: #68786f; background: #f1f4f2; border-radius: 8px; font-size: 12px; }
.campaign-account-card { display: flex; align-items: center; gap: 10px; width: fit-content; padding: 9px 11px; background: #f7faf8; border: 1px solid var(--border); border-radius: 9px; }
.campaign-account-icon { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; color: #fff; background: #176b55; border-radius: 8px; font-size: 13px; font-weight: 800; }
.campaign-account-card > div { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 9px; }
.campaign-account-card strong { font-size: 12px; }
.campaign-account-card a, .campaign-account-card small { color: var(--green-dark); font-size: 11px; }
.campaign-progress-heading .campaign-account-card { margin-top: 9px; background: rgba(255, 255, 255, .76); }
.campaign-create-page .wizard-steps { margin-bottom: 28px; }
.campaign-create-page .wizard-panel > h3 { margin-top: 4px; font-size: 19px; }
.campaign-create-page .wizard-actions { position: sticky; bottom: 0; z-index: 2; padding: 14px 0 0; background: rgba(255, 255, 255, .96); border-top: 1px solid var(--border); }
.campaign-create-page .sequence-builder-flow { margin-top: 20px; }
.campaign-create-page .sequence-flow-item { width: min(100%, 700px); }
.campaign-create-page .sequence-step { width: 100%; padding: 18px; }
.campaign-create-page .sequence-add-step { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; color: var(--green-dark); background: #f2faf5; border: 1px solid #b9ddc9; border-radius: 999px; font-size: 13px; font-weight: 750; box-shadow: 0 3px 10px rgba(26, 62, 44, .06); }
.campaign-create-page .sequence-add-step:hover { background: #e7f5ec; border-color: #83c29e; }
.campaign-create-page .sequence-add-step:focus-visible { outline: 3px solid #0c805c33; outline-offset: 2px; }
.campaign-create-page .sequence-add-step:disabled { color: #748078; background: #f3f5f4; border-color: var(--border); box-shadow: none; }
.campaign-progress-page { display: grid; gap: 20px; }
.campaign-progress-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 4px 0 18px; border-bottom: 1px solid var(--border); }
.campaign-progress-heading .eyebrow { margin: 0; }
.campaign-progress-heading h1 { margin: 7px 0; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.045em; }
.campaign-progress-heading p:last-child { margin: 0; color: var(--ink-soft); }
.campaign-progress-heading-actions { display: grid; justify-items: end; gap: 12px; }
.campaign-progress-badges { display: flex; align-items: center; gap: 8px; }
.campaign-complete-button { white-space: nowrap; }
.badge.completed { color: #08734f; background: #e8f4ee; }
.campaign-progress-page .stats { margin: 0; }
.campaign-sequence-overview { padding: clamp(18px, 3vw, 28px); }
.campaign-sequence-overview .panel-head { align-items: flex-start; }
.campaign-sequence-overview .panel-head h2, .campaign-leads-section .panel-head h2 { margin: 0 0 4px; font-size: 19px; }
.campaign-sequence-overview .panel-head p, .campaign-leads-section .panel-head p { margin: 0; font-size: 13px; }
.campaign-sequence-overview .launch-sequence-flow { max-width: 900px; margin: 18px auto; }
.campaign-sequence-overview > .disclaimer { margin-top: 16px; }
.campaign-leads-section { display: grid; gap: 13px; }
.campaign-lead { padding: clamp(15px, 2.5vw, 22px); }
.campaign-lead-identity { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.campaign-lead-identity > strong { font-size: 15px; }
.campaign-lead-identity a { color: var(--green); font-size: 12px; }
.campaign-lead .lead-next-action { margin: 0 0 12px; padding: 9px 11px; color: #355a48; background: #f0f7f2; border-radius: 8px; font-size: 12px; font-weight: 700; }
.campaign-lead .lead-step-progress { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.campaign-lead .lead-step { padding: 12px; }
.campaign-lead .lead-step.current { background: #f1f8f3; border-color: #9dcdb0; box-shadow: inset 0 0 0 1px #dcefe2; }
.lead-step-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 3px; }
.lead-step-actions button { padding: 6px 8px; border-radius: 7px; font-size: 10px; font-weight: 700; }
.step-start-button { color: #125c8a; background: #fff; border: 1px solid #c8dfef; }
.step-start-button:hover { background: #eef7fc; }
.step-complete-button { color: white; background: var(--green); border: 1px solid var(--green); }
.step-complete-button:hover { background: var(--green-dark); }
.step-skip-button { color: #765814; background: #fff; border: 1px solid #e8ddb9; }
.step-skip-button:hover { background: #fff8e4; }
.lead-management-controls { display: flex; align-items: center; gap: 8px; }
.lead-management-controls > button, .inline-stop-confirm button { padding: 6px 9px; color: #8f3a34; background: #fff; border: 1px solid #ecd8d5; border-radius: 7px; font-size: 11px; }
.inline-stop-confirm { display: flex; align-items: center; gap: 6px; color: #8f3a34; font-size: 11px; }
.inline-stop-confirm button:last-child { color: #53645b; border-color: var(--border); }
.campaign-progress-page .condition-chip { font-size: 10px; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 25px 16px 18px; background: rgba(255, 255, 255, .88); border-right: 1px solid rgba(218, 231, 222, .9); box-shadow: 8px 0 28px rgba(35, 75, 53, .035); backdrop-filter: blur(14px); }
.workspace-chip { display: flex; align-items: center; gap: 10px; min-height: 48px; margin: 0 4px 25px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 10px; font-size: 13px; font-weight: 700; overflow: hidden; }
.workspace-chip select { min-width: 0; min-height: 30px; margin: 0; padding: 3px 24px 3px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background-color: transparent; background-position: right 3px center; border: 0; border-radius: 6px; font-size: 13px; font-weight: 700; }
.workspace-chip select:hover { border: 0; box-shadow: none; }
.workspace-chip select:focus-visible { outline: 2px solid #39a17c; outline-offset: 2px; }
.workspace-chip .select-fallback { flex: 1; margin: 0; }
.workspace-chip .select-fallback__trigger { min-height: 30px; padding: 3px 0; background: transparent; border: 0; border-radius: 6px; font-size: 13px; font-weight: 700; }
@supports (appearance: base-select) {
  .workspace-chip select { padding-right: 0; }
  .workspace-chip select > button { display: flex; flex: 1; min-width: 0; padding: 0; color: inherit; background: transparent; border: 0; font: inherit; text-align: left; }
  .workspace-chip selectedcontent { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
.workspace-mark { display: grid; place-items: center; flex: 0 0 29px; width: 29px; height: 29px; color: var(--green-dark); background: #e6f4ed; border-radius: 8px; }
.nav-label { margin: 0 10px 8px; color: #9aa79f; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.side-nav, .sidebar-bottom { display: grid; gap: 4px; }
.side-nav button, .sidebar-bottom button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; text-align: left; color: #586a61; background: transparent; border: 0; border-radius: 9px; font-size: 13px; font-weight: 600; }
.side-nav button span, .sidebar-bottom button span { width: 18px; text-align: center; color: #819087; font-size: 16px; }
.side-nav button:hover, .sidebar-bottom button:hover { color: var(--green-dark); background: #f3f8f5; }
.side-nav button.active { color: var(--green-dark); background: linear-gradient(100deg, #e6f4eb, #eff8f2); box-shadow: inset 3px 0 0 var(--green); font-weight: 750; }
.side-nav button.active span { color: var(--green); }
.sidebar-bottom { margin-top: auto; }
.sidebar-rule { height: 1px; margin: 8px; background: var(--border); }
.main-column { min-width: 0; }
.app-header { position: sticky; z-index: 3; top: 0; height: 66px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(22px, 3vw, 48px); background: rgba(255, 255, 255, .84); border-bottom: 1px solid rgba(220, 232, 224, .9); box-shadow: 0 4px 18px rgba(34, 69, 50, .035); backdrop-filter: blur(16px); font-size: 13px; font-weight: 700; }
.header-brand { font-size: 19px; }
.header-divider { width: 1px; height: 22px; background: var(--border); margin: 0 5px 0 0; }
.app-header #page-title { margin-right: auto; }
.header-logout { color: #68786f; font-size: 13px; }
.mobile-menu { display: none; }
.main-content { width: 100%; max-width: none; margin: 0; padding: 32px clamp(22px, 3vw, 48px) 64px; }
.welcome { position: relative; display: flex; justify-content: space-between; align-items: center; min-height: 166px; margin-bottom: 22px; padding: 25px 30px; overflow: hidden; background: linear-gradient(112deg, #e7f4eb, #f1f8f2 63%, #e8f4ee); border: 1px solid #dcece1; border-radius: 18px; box-shadow: var(--shadow-card); }
.welcome::after { position: absolute; top: -110px; right: 3%; width: 290px; height: 290px; content: ""; border: 1px solid rgba(11, 128, 91, .12); border-radius: 50%; box-shadow: 0 0 0 28px rgba(11, 128, 91, .035), 0 0 0 58px rgba(11, 128, 91, .025); pointer-events: none; }
.welcome > * { position: relative; z-index: 1; }
.welcome .eyebrow { margin: 0; }
.welcome h1 { max-width: 720px; margin: 8px 0; font-size: clamp(25px, 2.4vw, 32px); line-height: 1.18; letter-spacing: -.045em; }
.welcome .muted { margin: 0; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 0 0 22px; padding: 2px 0 19px; border-bottom: 1px solid rgba(215, 229, 220, .9); }
.page-heading h1 { margin: 0 0 7px; font-size: 27px; letter-spacing: -.04em; }
.page-heading p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin: 18px 0 24px; }
.stat, .panel, .item { padding: 19px; background: rgba(255, 255, 255, .94); border: 1px solid rgba(222, 233, 226, .95); border-radius: 15px; box-shadow: var(--shadow-card); }
.stat { position: relative; overflow: hidden; }
.stat::after { position: absolute; top: -22px; right: -14px; width: 82px; height: 82px; content: ""; background: linear-gradient(135deg, rgba(203, 234, 215, .42), rgba(255, 255, 255, 0)); border-radius: 50%; }
.stat span { color: #738078; font-size: 12px; }
.stat strong { display: block; margin-top: 9px; font-size: 26px; letter-spacing: -.04em; }
.stat small { display: block; margin-top: 5px; color: #819087; font-size: 11px; }
.panel { margin-bottom: 18px; }
.panel h2 { margin: 0 0 13px; font-size: 17px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.panel-head h2 { margin: 0; }
.toolbar { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-bottom: 14px; }
.toolbar input { max-width: 320px; margin: 0; }
.item-list { display: grid; gap: 9px; }
.item { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.item h3 { margin: 0 0 5px; font-size: 14px; }
.item p { margin: 6px 0; }
.item small { color: #738078; font-size: 12px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.actions button, .secondary { padding: 8px 11px; color: #315247; background: white; border: 1px solid #dbe5df; border-radius: 8px; font-size: 12px; }
.actions button:hover, .secondary:hover { background: #f3f8f5; }
button:disabled { opacity: .48; cursor: not-allowed; }
.badge { display: inline-flex; align-items: center; padding: 5px 8px; color: #52635a; background: #eff3f0; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: capitalize; }
.badge.active, .badge.completed { color: #08734f; background: #e8f4ee; }
.badge.paused, .badge.scheduled { color: #915a08; background: #fff4d8; }
.empty { padding: 26px; color: #718078; text-align: center; }
.item a { color: var(--green); }
.text-button { padding: 0; color: #172a22; background: transparent; border: 0; font-weight: 750; text-align: left; }
.text-button:hover { color: var(--green-dark); text-decoration: underline; }
.message-preview { max-width: 560px; white-space: pre-wrap; color: #53645b; }
.modal-actions { margin-top: 16px; }
.daily-tasks-header { margin-bottom: 22px; }
.daily-tasks-header .eyebrow { margin: 0 0 9px; }
.daily-tasks-header h1 { margin: 0 0 7px; color: #1c3529; font-size: 30px; letter-spacing: -.045em; }
.daily-tasks-header > p:last-child { margin: 0; color: #687d71; font-size: 14px; line-height: 1.5; }
.daily-tasks-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.daily-tasks-stat { min-width: 0; padding: 18px 19px; background: rgba(255, 255, 255, .94); border: 1px solid #e0ebe3; border-radius: 14px; box-shadow: var(--shadow-card); }
.daily-tasks-stat > span { display: block; color: #63776b; font-size: 12px; font-weight: 700; }
.daily-tasks-stat strong { display: block; margin: 9px 0 4px; color: #204334; font-size: 27px; line-height: 1; letter-spacing: -.04em; }
.daily-tasks-stat small { display: block; color: #819087; font-size: 11px; line-height: 1.45; }
.daily-tasks-guide { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; padding: 16px 18px; background: #edf7f0; border: 1px solid #d7eadd; border-radius: 12px; }
.daily-tasks-guide-icon { display: grid; flex: 0 0 24px; width: 24px; height: 24px; place-items: center; color: #176f50; background: #d7eddf; border-radius: 50%; font-size: 12px; font-weight: 800; }
.daily-tasks-guide strong { display: block; color: #24543a; font-size: 12px; }
.daily-tasks-guide p { margin: 4px 0 0; color: #587568; font-size: 12px; line-height: 1.6; }
.daily-tasks-inbox { padding: 0; overflow: hidden; }
.daily-tasks-inbox-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; border-bottom: 1px solid #e9f0eb; }
.daily-tasks-title-line { display: flex; align-items: center; gap: 9px; }
.daily-tasks-title-line h2 { margin: 0; color: #253e31; font-size: 17px; }
.daily-tasks-count { padding: 3px 8px; color: #226e4b; background: #e7f3eb; border-radius: 999px; font-size: 11px; font-weight: 750; }
.daily-tasks-inbox-header p { margin: 6px 0 0; color: #77877e; font-size: 12px; line-height: 1.5; }
.daily-tasks-filter { flex: 0 0 170px; margin: 0; color: #53685b; font-size: 11px; }
.daily-tasks-filter select { min-height: 39px; margin-top: 5px; padding-top: 8px; padding-bottom: 8px; font-size: 12px; }
.daily-tasks-filter .select-fallback { margin-top: 5px; }
.daily-tasks-filter .select-fallback__trigger { min-height: 39px; padding-top: 8px; padding-bottom: 8px; font-size: 12px; }
.daily-task-list { display: grid; gap: 12px; padding: 20px 24px 24px; background: #f8faf8; }
.daily-task { min-width: 0; padding: 18px; background: #fff; border: 1px solid #e3ebe5; border-radius: 12px; box-shadow: 0 3px 10px rgba(26, 62, 44, .035); }
.daily-task-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.daily-task-heading { display: flex; align-items: center; gap: 11px; min-width: 0; }
.daily-task-icon { display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; color: #257251; background: #e8f4ec; border-radius: 12px; font-weight: 800; }
.daily-task-heading > div { min-width: 0; }
.daily-task-type { margin: 0 0 4px; color: #668271; font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; overflow-wrap: anywhere; }
.daily-task-heading h3 { margin: 0; color: #243d30; font-size: 15px; overflow-wrap: anywhere; }
.daily-task-status { flex-shrink: 0; padding: 5px 9px; color: #52665a; background: #eff3f0; border-radius: 999px; font-size: 10px; font-weight: 750; text-transform: capitalize; }
.daily-task-status--completed { color: #08734f; background: #e8f4ee; }
.daily-task-status--scheduled, .daily-task-status--skipped { color: #845b19; background: #fff4dc; }
.daily-task-status--in_progress { color: #125c8a; background: #e6f3fb; }
.daily-task-status--failed { color: #a92c24; background: #fff0ef; }
.daily-task-body { margin-left: 51px; }
.daily-task-details { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 12px; color: #718078; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.daily-task-details strong { margin-right: 4px; color: #52665a; font-weight: 700; }
.daily-task-message { margin-top: 15px; padding: 13px 15px; background: #f7faf8; border: 1px solid #e8f0ea; border-radius: 10px; }
.daily-task-message-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.daily-task-message-heading strong { color: #4a6656; font-size: 11px; }
.daily-task-message-heading button { padding: 6px 9px; font-size: 11px; }
.daily-task-message p { margin: 9px 0 0; color: #53645b; font-size: 12px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.daily-task-result, .daily-task-notes { margin: 12px 0 0; color: #65766b; font-size: 12px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.daily-task-result strong, .daily-task-notes strong { color: #465e50; }
.daily-task-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 15px; padding-top: 13px; border-top: 1px solid #edf2ee; }
.daily-task-footer:empty { display: none; }
.daily-task-footer > a { color: #0b805b; font-size: 12px; font-weight: 700; text-decoration: none; }
.daily-task-footer > a:hover { text-decoration: underline; }
.daily-task-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-left: auto; }
.daily-task-actions button { min-height: 34px; padding: 8px 11px; font-size: 11px; font-weight: 700; }
.daily-tasks-empty { display: grid; justify-items: center; gap: 7px; padding: 48px 20px; text-align: center; }
.daily-tasks-empty > span { display: grid; width: 42px; height: 42px; place-items: center; color: #33825a; background: #edf7f0; border-radius: 14px; font-size: 18px; font-weight: 750; }
.daily-tasks-empty strong { color: #324c3e; font-size: 14px; }
.daily-tasks-empty p { max-width: 360px; margin: 0; color: #7a8a80; font-size: 12px; line-height: 1.6; }
.daily-tasks-page button:focus-visible, .daily-tasks-page a:focus-visible { outline: 3px solid #0b805b55; outline-offset: 2px; }
.prospects-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; }
.prospects-header .eyebrow { margin: 0 0 9px; }
.prospects-header h1 { margin: 0 0 7px; color: #1c3529; font-size: 30px; letter-spacing: -.045em; }
.prospects-header p:last-child { margin: 0; color: #687d71; font-size: 14px; line-height: 1.5; }
.prospects-add { flex-shrink: 0; padding: 11px 16px; font-size: 12px; box-shadow: 0 5px 12px rgba(11, 128, 91, .16); }
.prospects-add span { margin-right: 4px; font-size: 16px; line-height: 0; }
.prospects-directory { padding: 0; overflow: hidden; }
.prospects-directory-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 24px 20px; }
.prospects-title-line { display: flex; align-items: center; gap: 9px; }
.prospects-title-line h2 { margin: 0; color: #253e31; font-size: 17px; }
.prospects-count { padding: 3px 8px; color: #226e4b; background: #e7f3eb; border-radius: 999px; font-size: 11px; font-weight: 750; }
.prospects-directory-header p { margin: 6px 0 0; color: #77877e; font-size: 12px; line-height: 1.5; }
.prospects-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.prospects-tools button, .prospect-actions button { min-height: 35px; padding: 8px 11px; font-weight: 650; }
.prospects-filters { display: grid; grid-template-columns: minmax(180px, 2fr) minmax(120px, 1fr) minmax(120px, 1fr) minmax(120px, 1fr) auto; align-items: end; gap: 10px; padding: 16px 24px 19px; background: #f7faf8; border-top: 1px solid #edf2ee; border-bottom: 1px solid #e8efea; }
.prospects-filters label { min-width: 0; margin: 0; color: #53685b; font-size: 11px; font-weight: 700; }
.prospects-filters input, .prospects-filters select { min-width: 0; height: 40px; min-height: 40px; margin-top: 7px; padding: 9px 11px; font-size: 12px; }
.prospects-filters select { padding-right: 32px; }
.prospects-filters .select-fallback { margin-top: 7px; }
.prospects-filters .select-fallback__trigger { height: 40px; min-height: 40px; padding: 9px 10px 9px 11px; font-size: 12px; }
.prospects-filters .prospects-filter-button { height: 40px; padding: 9px 14px; color: #256246; font-weight: 700; }
.prospects-list-heading { display: flex; justify-content: space-between; gap: 12px; padding: 18px 24px 10px; color: #8a9a90; font-size: 10px; font-weight: 800; letter-spacing: .09em; }
.prospects-list-heading span:last-child { font-weight: 600; letter-spacing: 0; }
.prospects-list { padding: 0 24px 24px; }
.prospect-card { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: start; gap: 13px; padding: 17px 0; border-top: 1px solid #edf2ee; }
.prospect-avatar { display: grid; width: 42px; height: 42px; place-items: center; color: #256d4d; background: #e8f4ec; border: 1px solid #d8ebde; border-radius: 13px; font-size: 12px; font-weight: 800; }
.prospect-info { min-width: 0; }
.prospect-name-line { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; min-height: 22px; }
.prospect-name-line h3 { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.prospect-name-line button { font-size: inherit; }
.prospect-status { padding: 4px 8px; color: #4a6b59; background: #eff5f1; border-radius: 999px; font-size: 10px; font-weight: 700; text-transform: capitalize; }
.prospect-details, .prospect-email { margin: 5px 0 0; color: #708078; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.prospect-email { color: #849188; }
.prospect-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.prospect-meta:empty { display: none; }
.prospect-meta a { margin-right: 5px; color: #0b805b; font-size: 11px; font-weight: 700; text-decoration: none; }
.prospect-meta a:hover { text-decoration: underline; }
.prospect-tag { padding: 4px 8px; color: #63776c; background: #f2f6f3; border: 1px solid #e9f0ea; border-radius: 6px; font-size: 10px; overflow-wrap: anywhere; }
.prospect-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.prospect-actions .prospect-draft { color: #126a4c; background: #f2f9f4; border-color: #d7eadd; }
.prospect-actions .prospect-delete { color: #a14840; }
.prospects-empty { display: grid; justify-items: center; gap: 7px; padding: 45px 16px; text-align: center; border-top: 1px solid #edf2ee; }
.prospects-empty > span { display: grid; width: 42px; height: 42px; place-items: center; color: #4c9870; background: #edf7f0; border-radius: 14px; font-size: 24px; }
.prospects-empty strong { color: #324c3e; font-size: 14px; }
.prospects-empty p { max-width: 350px; margin: 0; color: #7a8a80; font-size: 12px; line-height: 1.6; }
.prospects-page button:focus-visible, .prospects-page a:focus-visible { outline: 3px solid #0b805b55; outline-offset: 2px; }
.settings-account-banner { display: flex; align-items: center; gap: 14px; margin: -4px 0 18px; padding: 18px 21px; background: linear-gradient(110deg, #e8f4ec, #f8faf8 72%); border: 1px solid #dfece3; border-radius: 15px; }
.settings-account-avatar { display: grid; flex: 0 0 47px; width: 47px; height: 47px; place-items: center; color: #fff; background: linear-gradient(145deg, #25815c, #0d5f42); border: 3px solid rgba(255, 255, 255, .76); border-radius: 15px; box-shadow: 0 4px 10px rgba(20, 92, 63, .18); font-size: 13px; font-weight: 800; letter-spacing: .03em; }
.settings-account-info { display: grid; flex: 1; gap: 3px; min-width: 0; }
.settings-eyebrow { margin: 0 0 2px; color: #5e8972; font-size: 9px; font-weight: 850; letter-spacing: .13em; }
.settings-account-info strong { overflow: hidden; color: #234534; font-size: 15px; letter-spacing: -.015em; text-overflow: ellipsis; white-space: nowrap; }
.settings-account-info > span:last-child { overflow: hidden; color: #718078; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.settings-account-count { display: grid; min-width: 68px; justify-items: center; gap: 1px; padding: 7px 11px; color: #276344; background: rgba(255, 255, 255, .88); border: 1px solid #dceae0; border-radius: 11px; }
.settings-account-count strong { font-size: 18px; line-height: 1.1; }
.settings-account-count span { color: #728078; font-size: 9px; }
.settings-layout { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 18px; }
.settings-panel { min-width: 0; padding: 22px; }
.settings-section-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.settings-section-heading h2 { margin: 0 0 4px; color: #243d30; font-size: 17px; }
.settings-section-heading p { margin: 0; color: #7a8980; font-size: 12px; line-height: 1.5; }
.settings-section-icon { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; color: #176f50; background: #e8f4ec; border-radius: 12px; font-size: 14px; font-weight: 800; }
.settings-section-icon svg { width: 20px; height: 20px; }
.settings-profile-panel label { margin: 13px 0; }
.settings-form-divider { margin: 23px 0 13px; padding-top: 17px; border-top: 1px solid #edf1ee; }
.settings-form-divider h3 { margin: 0 0 4px; color: #314a3c; font-size: 13px; }
.settings-form-divider p, .settings-help { margin: 0; color: #7b8981; font-size: 11px; line-height: 1.5; }
.settings-workspaces-panel { padding: 22px; }
.settings-workspaces-heading { justify-content: space-between; align-items: center; }
.settings-workspaces-title { display: flex; align-items: center; gap: 12px; }
.settings-workspaces-title h2 { margin: 0 0 4px; color: #243d30; font-size: 18px; }
.settings-workspaces-title p { margin: 0; color: #7a8980; font-size: 11px; line-height: 1.5; }
.settings-workspaces-heading > button { flex: 0 0 auto; margin-top: 0; padding: 9px 12px; color: #216041; border-color: #d3e2d8; font-weight: 700; }
.settings-workspace-list { display: grid; gap: 9px; }
.settings-workspace-item { display: grid; grid-template-columns: 39px minmax(0, 1fr) auto; align-items: center; gap: 11px; min-width: 0; padding: 12px; background: #fff; border: 1px solid #e6ede8; border-radius: 11px; transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease; }
.settings-workspace-item.current { background: linear-gradient(105deg, #f3f9f4, #fff); border-color: #cfe2d5; box-shadow: inset 3px 0 #27815c; }
.settings-workspace-avatar { display: grid; width: 39px; height: 39px; place-items: center; color: #236343; background: #e6f3e9; border-radius: 11px; font-size: 14px; font-weight: 800; }
.settings-workspace-info { display: grid; gap: 4px; min-width: 0; }
.settings-workspace-info strong { overflow: hidden; color: #2a4034; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.settings-workspace-info > span { overflow: hidden; color: #829087; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.settings-workspace-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.settings-current-badge, .settings-role-badge { padding: 5px 8px; color: #256343; background: #e8f4ec; border-radius: 999px; font-size: 9px; font-weight: 800; text-transform: capitalize; white-space: nowrap; }
.settings-role-badge { color: #64746a; background: #f0f3f1; }
.settings-current-badge { color: #256343; background: #e2f1e7; }
.settings-current-workspace { margin-top: 17px; padding: 17px; background: #f8faf8; border: 1px solid #edf1ee; border-radius: 12px; }
.settings-current-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.settings-current-heading .settings-eyebrow { display: block; margin-bottom: 4px; font-size: 8px; }
.settings-current-heading h3 { margin: 0; color: #2b4436; font-size: 14px; }
.settings-current-workspace label { margin: 11px 0; }
.settings-current-workspace input:disabled, .settings-profile-panel input:disabled { color: #748178; background: #f0f3f1; }
.settings-current-workspace .primary { padding: 9px 13px; font-size: 11px; }
.settings-empty { margin: 0; padding: 18px; color: #75847b; background: #f8faf8; border: 1px dashed #dbe5de; border-radius: 10px; font-size: 12px; text-align: center; }
.grid-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.metric { padding: 14px; background: linear-gradient(145deg, #f7faf8, #f1f7f3); border: 1px solid #e8f0ea; border-radius: 11px; }
.metric strong { display: block; font-size: 20px; }
.metric span { color: var(--ink-soft); font-size: 11px; }
.sequence-list { display: grid; gap: 10px; }
.sequence-step { position: relative; padding: 15px; background: linear-gradient(145deg, #fff, #f9fbf9); border: 1px solid var(--border); border-radius: 12px; }
.sequence-step-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sequence-step-head strong { font-size: 13px; }
.sequence-step label { margin: 10px 0; }
.step-controls { display: flex; gap: 5px; }
.step-controls button { padding: 5px 8px; border: 1px solid var(--border); background: white; border-radius: 6px; color: #53645b; }
.wizard-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.wizard-step { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 5px; color: #738078; background: transparent; border: 0; border-radius: 9px; font-size: 12px; font-weight: 700; }
.wizard-step span { display: grid; place-items: center; width: 25px; height: 25px; color: #6f7d75; background: #edf2ef; border-radius: 50%; }
.wizard-step.active { color: var(--green-dark); background: #edf7f1; }
.wizard-step.active span, .wizard-step.complete span { color: white; background: var(--green); }
.wizard-panel h3 { margin: 0 0 7px; }
.wizard-panel > .muted { margin: 0 0 16px; font-size: 13px; }
.wizard-panel > .disclaimer { margin-top: 16px; }
.wizard-actions { display: flex; margin-top: 20px; }
.wizard-spacer { flex: 1; }
.sequence-flow { display: grid; justify-items: center; margin: 16px 0 22px; }
.sequence-builder-flow { margin: 16px 0; }
.sequence-flow-item { display: grid; justify-items: center; width: min(100%, 620px); }
.sequence-connector { height: 25px; width: 2px; position: relative; background: #b7d8c5; }
.sequence-connector span { position: absolute; bottom: -1px; left: 50%; width: 7px; height: 7px; border-right: 2px solid #78af90; border-bottom: 2px solid #78af90; transform: translateX(-50%) rotate(45deg); }
.sequence-terminal { display: flex; align-items: center; gap: 10px; padding: 10px 15px; color: #286347; background: #edf7f1; border: 1px solid #d6ebde; border-radius: 10px; font-size: 12px; }
.flow-dot { display: grid; place-items: center; width: 23px; height: 23px; color: white; background: var(--green); border-radius: 50%; font-size: 9px; }
.sequence-card { display: grid; gap: 5px; width: 100%; padding: 13px 15px; background: #fff; border: 1px solid var(--border); border-radius: 11px; box-shadow: var(--shadow-card); }
.sequence-card-heading { display: flex; align-items: center; justify-content: space-between; color: #829087; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.sequence-card > strong { font-size: 13px; }
.sequence-card > small { color: #738078; }
.condition-chip { justify-self: start; padding: 4px 7px; color: #765814; background: #fff7df; border-radius: 999px; font-size: 10px; }
.launch-campaign-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: 16px; }
.launch-sequence-flow { padding: 15px; background: #f7faf8; border: 1px solid var(--border); border-radius: 12px; }
.lead-progress-list { display: grid; gap: 12px; }
.lead-progress { padding: 15px; background: #fff; border: 1px solid var(--border); border-radius: 11px; }
.lead-progress-person { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.lead-progress-person > div { display: flex; align-items: center; gap: 8px; }
.lead-progress-person a { color: var(--green); font-size: 12px; }
.lead-progress-person button { padding: 6px 9px; color: #8f3a34; background: #fff; border: 1px solid #ecd8d5; border-radius: 7px; font-size: 11px; }
.lead-step-progress { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 8px; }
.lead-step { display: grid; align-content: start; gap: 6px; min-width: 0; padding: 10px; background: #f8faf9; border: 1px solid #e8efea; border-radius: 8px; }
.lead-step > span:first-child { color: #849188; font-size: 10px; font-weight: 750; text-transform: uppercase; }
.lead-step strong { font-size: 11px; overflow-wrap: anywhere; }
.lead-step .badge { justify-self: start; }
.lead-activity { margin-top: 12px; color: #68786f; font-size: 12px; }
.lead-activity summary { cursor: pointer; font-weight: 700; }
.badge.in_progress { color: #125c8a; background: #e6f3fb; }
.badge.pending { color: #6d756f; background: #eef1ef; }
.badge.failed { color: #a92c24; background: #fff0ef; }
.badge.skipped { color: #765814; background: #fff4d8; }
.badge.draft { color: #6a5a86; background: #f2eef9; }
.modal { position: fixed; z-index: 8; inset: 0; display: grid; place-items: center; padding: 18px; background: #14251f66; }
.modal-card { width: min(660px, 100%); max-height: 92vh; overflow-y: auto; padding: 23px; background: white; border-radius: 15px; box-shadow: 0 22px 70px #14251f2b; }
.modal-card h2 { margin: 0 0 14px; font-size: 19px; }
.modal-card .primary { padding: 9px 14px; }
.modal-card textarea[readonly] { background: #f7f9f8; }
.confirm-dialog { width: min(440px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); margin: auto; padding: 0; overflow: auto; color: #172a22; background: transparent; border: 0; }
.confirm-dialog::backdrop { background: rgba(15, 32, 24, .52); backdrop-filter: blur(3px); }
.confirm-card { padding: 28px; background: #fff; border: 1px solid #e4ebe6; border-radius: 17px; box-shadow: 0 24px 70px rgba(13, 35, 23, .24); }
.confirm-icon { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 17px; color: #176f50; background: #e8f4ec; border-radius: 13px; font-size: 20px; font-weight: 750; }
.confirm-icon.destructive { color: #a63d35; background: #fff0ee; }
.confirm-eyebrow { margin: 0 0 6px; color: #74837a; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.confirm-card h2 { margin: 0; color: #1b3026; font-size: 21px; line-height: 1.3; letter-spacing: -.025em; }
.confirm-message { margin: 10px 0 0; color: #65756b; font-size: 13px; line-height: 1.65; }
.confirm-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 24px; }
.confirm-actions button { min-width: 100px; padding: 10px 14px; font-size: 12px; font-weight: 700; }
.confirm-actions .danger { color: #fff; background: #b94339; border: 1px solid #b94339; border-radius: 9px; }
.confirm-actions .danger:hover { background: #9e352d; border-color: #9e352d; }
.confirm-actions button:focus-visible { outline: 3px solid #0b805b55; outline-offset: 2px; }
.disclaimer { padding: 11px 13px; color: #5c5b36; background: #fff9e9; border: 1px solid #f1e7c7; border-radius: 9px; font-size: 12px; line-height: 1.5; }
.disclaimer code { padding: 1px 4px; background: #f4edda; border-radius: 4px; }
.oauth-setup-note { margin: 12px 0; font-size: 13px; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th, .data-table td { padding: 11px 10px; text-align: left; border-bottom: 1px solid var(--border); }
.data-table th { color: #718078; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.mobile-backdrop { display: none; }

@media (max-width: 900px) {
  .app-layout { grid-template-columns: 215px minmax(0, 1fr); }
  .main-content { padding: 24px 22px 50px; }
  .app-header { padding: 0 22px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .daily-tasks-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prospects-directory-header { align-items: flex-start; flex-direction: column; }
  .prospects-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prospects-filters .prospects-filter-button { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .auth-layout { width: min(560px, 100%); min-height: auto; grid-template-columns: 1fr; gap: 30px; padding: 18px 0 42px; }
  .auth-story { max-width: none; text-align: center; }
  .auth-kicker { justify-content: center; margin-bottom: 17px; }
  .auth-story h1, .auth-story-copy { margin-right: auto; margin-left: auto; }
  .auth-story h1 { max-width: 520px; font-size: clamp(36px, 7vw, 48px); }
  .auth-story-copy { margin-top: 13px; margin-bottom: 20px; font-size: 14px; }
  .auth-benefits { width: fit-content; max-width: 100%; margin: 0 auto; text-align: left; }
  .auth-story-note { margin: 22px auto 0; }
  .auth-card { max-width: none; }
}
@media (max-width: 680px) {
  .shell { padding: 18px 14px 40px; }
  body.auth-screen .shell { padding: 12px 14px; }
  .topbar { margin-bottom: 14px; }
  body.auth-screen .topbar { margin-bottom: 2px; }
  .auth-layout { width: min(460px, 100%); grid-template-columns: 1fr; gap: 0; align-content: center; padding: 8px 0; }
  .auth-story { display: none; }
  .auth-card { max-width: 460px; padding: 25px 23px; border-radius: 17px; }
  .auth-card-kicker { margin-bottom: 14px; }
  .auth-card h2 { font-size: 24px; }
  .auth-card-copy { margin-top: 5px; }
  .tabs { margin: 17px 0 13px; }
  .auth-card label { margin: 10px 0; }
  .auth-card input { margin-top: 6px; padding: 11px 12px; }
  .auth-card .primary { margin-top: 8px; padding: 12px 16px; }
  .auth-card #auth-error { min-height: 12px; margin-top: 7px; }
  .auth-card #forgot-password { padding: 5px; }
  .auth-card-footnote { display: none; }
  .app-layout { min-height: 100vh; display: block; margin: -18px -14px -40px; }
  .app-layout.campaign-workspace-layout { display: block; }
  .campaign-workspace-layout .main-content { padding: 22px 14px 40px; }
  .campaign-workspace-layout .app-header { padding-right: 14px; padding-left: 14px; }
  .campaign-workspace-layout .header-brand, .campaign-workspace-layout .header-divider { display: none; }
  .campaign-workspace-layout #campaign-page-back { padding-right: 8px; padding-left: 8px; font-size: 11px; }
  .campaign-management-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .campaign-switcher { position: static; max-height: none; padding: 14px 12px; }
  .campaign-switcher-list { display: flex; padding-bottom: 3px; overflow-x: auto; overflow-y: hidden; }
  .campaign-switcher-item { flex: 0 0 min(210px, 72vw); }
  .campaign-switcher-empty { min-width: 200px; }
  .campaign-selected-overview .campaign-create-heading { flex-direction: column; }
  .campaign-selected-actions { width: 100%; }
  .campaign-selected-actions > button { flex: 1; }
  .campaign-create-page { padding: 20px 16px 24px; border-radius: 14px; }
  .campaign-card-top { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .campaign-card-account { justify-items: start; }
  .campaign-card-account .campaign-account-card, .campaign-card-account .campaign-account-empty { justify-self: start; }
  .campaign-card-actions { justify-content: flex-start; }
  .campaign-progress-heading { flex-direction: column; }
  .campaign-progress-badges { align-self: flex-start; }
  .campaign-progress-heading-actions { justify-items: start; }
  .campaign-complete-button { white-space: normal; }
  .sidebar { position: fixed; z-index: 6; left: 0; top: 0; width: min(280px, 84vw); transform: translateX(-105%); transition: transform .18s ease; box-shadow: 10px 0 30px rgba(21, 37, 28, .14); }
  .sidebar.open { transform: translateX(0); }
  .mobile-backdrop.visible { position: fixed; z-index: 5; inset: 0; display: block; background: #14251f66; }
  .app-header { height: 58px; justify-content: flex-start; gap: 12px; padding: 0 14px; }
  .header-brand { font-size: 17px; }
  .header-divider { margin-left: -3px; }
  .mobile-menu { display: inline-flex; padding: 8px; font-size: 17px; }
  .header-logout { margin-left: auto; }
  .main-content { padding: 20px 14px 40px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .welcome h1, .page-heading h1 { font-size: 24px; }
  .welcome { min-height: 0; margin-bottom: 18px; padding: 22px 19px; border-radius: 15px; }
  .welcome::after { top: -118px; right: -100px; }
  .page-heading { align-items: stretch; gap: 14px; margin-bottom: 18px; padding-bottom: 16px; }
  .page-heading .actions { width: 100%; }
  .page-heading .actions > button { flex: 1 1 auto; }
  .page-heading { flex-direction: column; }
  .item { align-items: flex-start; flex-direction: column; }
  .daily-tasks-header h1 { font-size: 26px; }
  .daily-tasks-summary { gap: 9px; }
  .daily-tasks-stat { padding: 15px; }
  .daily-tasks-stat strong { font-size: 24px; }
  .daily-tasks-inbox-header { align-items: stretch; flex-direction: column; padding: 18px 16px; }
  .daily-tasks-filter { flex: auto; }
  .daily-task-list { padding: 15px; }
  .daily-task { padding: 14px; }
  .daily-task-body { margin-left: 0; }
  .daily-task-actions { justify-content: flex-start; margin-left: 0; }
  .prospects-header { align-items: stretch; flex-direction: column; gap: 16px; }
  .prospects-header h1 { font-size: 26px; }
  .prospects-add { align-self: flex-start; }
  .prospects-directory-header { padding: 19px 16px; }
  .prospects-filters { padding: 15px 16px; }
  .prospects-list-heading { padding-right: 16px; padding-left: 16px; }
  .prospects-list { padding-right: 16px; padding-left: 16px; }
  .prospect-card { grid-template-columns: 38px minmax(0, 1fr); gap: 10px; }
  .prospect-avatar { width: 38px; height: 38px; }
  .prospect-actions { grid-column: 2; justify-content: flex-start; }
  .grid-two { grid-template-columns: 1fr; }
  .settings-account-banner { gap: 11px; padding: 15px; }
  .settings-account-avatar { flex-basis: 41px; width: 41px; height: 41px; border-radius: 13px; }
  .settings-account-count { min-width: 57px; padding: 6px 8px; }
  .settings-panel { padding: 17px; }
  .settings-workspaces-heading { align-items: stretch; flex-direction: column; gap: 14px; }
  .settings-workspaces-heading > button { width: 100%; }
  .settings-workspace-item { grid-template-columns: 35px minmax(0, 1fr) auto; gap: 8px; padding: 10px; }
  .settings-workspace-avatar { width: 35px; height: 35px; }
  .settings-current-workspace { padding: 13px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wizard-step { flex-direction: column; gap: 5px; font-size: 10px; }
  .wizard-actions { align-items: stretch; }
  .wizard-actions button { flex: 1; }
  .wizard-spacer { display: none; }
}

@media (min-width: 681px) and (max-width: 1100px) {
  .app-layout { grid-template-columns: 224px minmax(0, 1fr); }
  .main-content { padding-right: 24px; padding-left: 24px; }
  .app-header { padding-right: 24px; padding-left: 24px; }
  .stats { gap: 11px; }
  .stat, .panel, .item { padding: 16px; }
}

@media (max-width: 460px) {
  .auth-card { padding: 24px 19px; }
  .settings-workspace-item { grid-template-columns: 35px minmax(0, 1fr); }
  .settings-workspace-tags { grid-column: 2; justify-content: flex-start; }
  .app-header { gap: 8px; padding-right: 10px; padding-left: 10px; }
  .header-brand { font-size: 16px; }
  .header-divider { margin-right: 0; }
  .app-header #page-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .header-logout { padding-right: 6px; padding-left: 6px; }
  .stats { gap: 9px; }
  .stat { padding: 14px; }
  .stat strong { font-size: 23px; }
}

@media (max-height: 720px) {
  body.auth-screen .shell { padding-top: 10px; padding-bottom: 10px; }
  body.auth-screen .topbar { margin-bottom: 2px; }
  .auth-layout { padding-top: 4px; padding-bottom: 4px; }
  .auth-story-copy { margin-top: 12px; margin-bottom: 18px; }
  .auth-benefits { gap: 10px; }
  .auth-story-note { display: none; }
  .auth-card { padding: 27px 32px; }
  .auth-card-kicker { margin-bottom: 14px; }
  .tabs { margin-top: 18px; margin-bottom: 15px; }
  .auth-card label { margin: 11px 0; }
  .auth-card input { padding-top: 10px; padding-bottom: 10px; }
  .auth-card-footnote { margin-top: 15px; padding-top: 12px; }
}

@media (max-height: 600px) {
  .auth-benefits, .auth-card-kicker, .auth-card-footnote { display: none; }
  .auth-story-copy { margin-bottom: 0; }
  .auth-card { padding: 20px 28px; }
  .auth-card h2 { font-size: 23px; }
  .auth-card-copy { margin-top: 5px; }
  .tabs { margin-top: 12px; margin-bottom: 10px; }
  .auth-card label { margin: 8px 0; }
  .auth-card input { margin-top: 5px; padding-top: 9px; padding-bottom: 9px; }
  .auth-card .primary { margin-top: 6px; padding: 10px 16px; }
  .auth-card #forgot-password { padding: 3px; }
}

@media (max-height: 520px) {
  body.auth-screen { height: auto; min-height: 100vh; min-height: 100svh; overflow-y: auto; }
  body.auth-screen .shell { height: auto; min-height: 100vh; min-height: 100svh; }
}
