:root {
  color-scheme: light;
  --bg: #f4f4ef;
  --surface: #ffffff;
  --surface-soft: #f8f8f4;
  --sidebar: #171915;
  --sidebar-soft: #242720;
  --ink: #171915;
  --muted: #73776e;
  --muted-2: #9da198;
  --line: #e5e5dd;
  --line-dark: #d6d7cf;
  --lime: #7191ff;
  --lime-dark: #4e6ee8;
  --purple: #765bd6;
  --purple-soft: #e7e0fa;
  --coral: #f07b62;
  --orange: #ee9f4a;
  --blue: #78a8d9;
  --green: #3157e8;
  --shadow: 0 20px 45px rgba(31, 34, 27, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #11130f;
  --surface: #1a1d17;
  --surface-soft: #22251f;
  --sidebar: #0c0e0b;
  --sidebar-soft: #1b1f18;
  --ink: #f2f4ec;
  --muted: #a8ada1;
  --muted-2: #777d72;
  --line: #2d3129;
  --line-dark: #3a3f35;
  --purple: #9d87ee;
  --purple-soft: #302a48;
  --coral: #ef826d;
  --orange: #e9a258;
  --blue: #82addb;
  --lime: #829dff;
  --lime-dark: #637fe9;
  --green: #89a2ff;
  --shadow: 0 20px 48px rgba(0, 0, 0, .26);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { margin: 0; min-height: 100vh; background: var(--bg); transition: background-color .2s ease, color .2s ease; }
body:not(.authenticated) { overflow: hidden; }
body:not(.authenticated) .app-shell { display: none; }
body.authenticated .auth-gate { display: none; }

.auth-gate { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 1.1fr) minmax(410px, .9fr); background: #f7f6ef; color: #12182a; }
.auth-brand-panel { position: relative; overflow: hidden; min-height: 100vh; padding: 52px clamp(48px, 6vw, 92px); display: flex; flex-direction: column; background: #11182b; color: #f7f6ef; }
.auth-brand-panel::before { content: ""; position: absolute; width: 480px; height: 480px; right: -170px; top: 10%; border: 1px solid rgba(126,156,255,.18); border-radius: 50%; box-shadow: 0 0 0 70px rgba(126,156,255,.045), 0 0 0 140px rgba(126,156,255,.025); }
.auth-logo { position: relative; z-index: 2; display: flex; align-items: center; gap: 13px; width: fit-content; color: white; text-decoration: none; font: 700 18px/1 "Manrope", sans-serif; }
.auth-logo .brand-mark { width: 34px; height: 34px; }
.auth-message { position: relative; z-index: 2; max-width: 620px; margin: auto 0; }
.auth-kicker { display: block; color: #7c9cff; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.auth-message h1 { margin: 18px 0 23px; font-size: clamp(45px, 5.2vw, 78px); line-height: .98; letter-spacing: -.065em; }
.auth-message p { max-width: 510px; color: #aeb7ca; font-size: 16px; line-height: 1.7; }
.auth-security { position: relative; z-index: 2; display: flex; align-items: center; gap: 9px; color: #778197; font-size: 11px; }
.auth-security svg { width: 15px; height: 15px; color: #8ca5ff; }
.auth-butterfly { position: absolute; right: 9%; bottom: 7%; width: 130px; height: 105px; transform: rotate(-12deg); opacity: .9; }
.auth-butterfly i { position: absolute; display: block; background: linear-gradient(145deg,#7c9cff,#3357e6); border-radius: 80% 25% 70% 40%; }
.auth-butterfly i:nth-child(1) { width: 67px; height: 63px; left: 0; top: 0; transform: rotate(19deg); }
.auth-butterfly i:nth-child(2) { width: 67px; height: 63px; right: 0; top: 0; transform: scaleX(-1) rotate(19deg); }
.auth-butterfly i:nth-child(3) { width: 9px; height: 72px; left: 61px; top: 18px; border-radius: 99px; background: #8b6ee7; transform: rotate(1deg); }
.auth-form-panel { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 48px clamp(34px, 7vw, 100px); }
.auth-language-switch, .app-language-switch { display: inline-flex; padding: 3px; border: 1px solid #dfe1dd; border-radius: 9px; background: rgba(255,255,255,.75); }
.auth-language-switch { position: absolute; top: 32px; right: 36px; }
.auth-language-switch button, .app-language-switch button { width: 32px; height: 28px; border: 0; border-radius: 6px; background: transparent; color: #7b818d; font-size: 9px; font-weight: 800; letter-spacing: .05em; }
.auth-language-switch button.active, .app-language-switch button.active { background: #11182b; color: white; }
.app-language-switch { background: var(--surface); border-color: var(--line); }
:root[data-theme="dark"] .app-language-switch button.active { background: var(--lime); color: #171915; }
.auth-form { width: min(100%, 430px); }
.auth-form h2 { margin: 14px 0 8px; font-size: 38px; line-height: 1.05; letter-spacing: -.045em; }
.auth-form > p:not(.auth-error) { margin-bottom: 33px; color: #747b89; font-size: 14px; line-height: 1.55; }
.auth-form label { display: grid; gap: 8px; margin-top: 17px; color: #394052; font-size: 11px; font-weight: 700; }
.auth-form label input { width: 100%; height: 52px; padding: 0 15px; border: 1px solid #dfe1dd; border-radius: 11px; background: white; color: #12182a; font-size: 15px; box-shadow: 0 7px 22px rgba(18,24,42,.035); }
.auth-form label input:focus { border-color: #6e86df; box-shadow: 0 0 0 3px rgba(51,87,230,.11); }
.auth-form label small { color: #89909b; font-size: 9px; font-weight: 500; line-height: 1.4; }
.auth-error { min-height: 18px; margin-top: 12px; color: #c75548; font-size: 11px; line-height: 1.45; }
.auth-submit { width: 100%; height: 54px; display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 0 20px; border: 0; border-radius: 11px; background: #3357e6; color: white; font-size: 13px; font-weight: 800; transition: .18s ease; }
.auth-submit:hover { transform: translateY(-1px); background: #294bd3; box-shadow: 0 12px 28px rgba(51,87,230,.22); }
.auth-submit:disabled { cursor: wait; transform: none; opacity: .65; }
.auth-submit + small { display: block; margin-top: 17px; color: #9a9fa7; font-size: 9px; text-align: center; }
.auth-form[hidden] { display: none; }

button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, input, select, textarea { outline: none; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { box-shadow: 0 0 0 3px rgba(118, 91, 214, .22); }

h1, h2, h3, p { margin: 0; }
h1, h2, h3, .brand { font-family: "Manrope", sans-serif; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: fixed; width: 0; height: 0; overflow: hidden; }

.app-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }

.sidebar {
  position: sticky; top: 0; height: 100vh; z-index: 20;
  display: flex; flex-direction: column; padding: 25px 18px 18px;
  background: var(--sidebar); color: #fff;
}

.brand { display: flex; align-items: center; gap: 10px; padding: 0 10px 30px; color: #fff; text-decoration: none; font-size: 14px; font-weight: 700; line-height: 1.05; letter-spacing: -.35px; }
.brand-mark { display: block; flex: 0 0 auto; width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 6px 9px rgba(49,87,232,.22)); }

.main-nav { display: grid; gap: 5px; }
.nav-item {
  position: relative; width: 100%; min-height: 46px; display: flex; align-items: center; gap: 13px;
  border: 0; border-radius: 11px; padding: 0 13px; background: transparent; color: #a6aa9f; text-align: left;
  font-size: 14px; font-weight: 600; transition: .18s ease;
}
.nav-item svg { width: 19px; height: 19px; }
.nav-item b { margin-left: auto; color: #777c71; font-size: 12px; font-weight: 600; }
.nav-item em { margin-left: auto; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--coral); color: white; font-size: 11px; font-style: normal; }
.nav-item em.nav-neutral { background: #35392f; color: var(--lime); }
.nav-item:hover { color: white; background: rgba(255,255,255,.05); }
.nav-item.active { color: #fff; background: linear-gradient(135deg, #3157e8, #7256d5); }
.nav-item.active b { color: rgba(255,255,255,.72); }
.nav-item.active em { background: rgba(13,19,38,.7); }
.sidebar-spacer { flex: 1; min-height: 22px; }

.sync-card { overflow: hidden; position: relative; margin: 0 3px 13px; padding: 76px 15px 15px; border: 1px solid #30342b; border-radius: 15px; background: #20231d; }
.sync-card strong { display: block; font-size: 13px; margin-bottom: 5px; }
.sync-card p { color: #858a7f; font-size: 11px; line-height: 1.45; }
.sync-card button { margin-top: 12px; padding: 0; border: 0; background: transparent; color: var(--lime); font-size: 11px; font-weight: 700; }
.sync-illustration { position: absolute; inset: 0 0 auto; height: 65px; overflow: hidden; background: linear-gradient(120deg, #303729, #22261f); }
.sync-illustration i { position: absolute; display: block; border: 1px solid #58674b; border-radius: 50%; }
.sync-illustration i:nth-child(1) { width: 79px; height: 79px; top: 23px; left: 75px; }
.sync-illustration i:nth-child(2) { width: 45px; height: 45px; top: 38px; left: 92px; background: rgba(200,244,93,.09); }
.sync-illustration i:nth-child(3) { width: 7px; height: 7px; top: 47px; left: 111px; background: var(--lime); border: 0; box-shadow: 0 0 15px var(--lime); }
.settings-link { margin-bottom: 8px; }
.user-card { display: grid; grid-template-columns: 36px 1fr 26px; gap: 10px; align-items: center; padding: 15px 8px 0; border-top: 1px solid #2d3029; }
.user-card > span:nth-child(2) { min-width: 0; }
.user-card strong, .user-card small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-card strong { font-size: 12px; }
.user-card small { margin-top: 2px; color: #777c71; font-size: 10px; }
.user-card button { border: 0; background: none; color: #757a70; padding: 3px; }
.user-card button svg { width: 17px; }

.avatar { flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #fff; font-family: "Manrope", sans-serif; font-weight: 700; letter-spacing: -.3px; }
.avatar-user { width: 36px; height: 36px; background: linear-gradient(145deg, #a9876d, #623f2e); font-size: 11px; }
.avatar-lg { width: 45px; height: 45px; font-size: 13px; }
.avatar-xl { width: 62px; height: 62px; font-size: 16px; }
.avatar-drawer { width: 76px; height: 76px; font-size: 20px; }

.main-content { min-width: 0; padding: 0 34px 50px; }
.topbar { min-height: 105px; display: flex; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); margin-bottom: 31px; }
.topbar-title { min-width: 230px; }
.topbar-title p { margin-bottom: 5px; color: var(--muted-2); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.topbar-title h1 { font-size: 24px; line-height: 1.2; letter-spacing: -.7px; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 9px; }
.global-search { width: min(300px, 25vw); height: 42px; display: flex; align-items: center; gap: 9px; padding: 0 13px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.55); }
.global-search:focus-within { background: white; border-color: #bebfb6; }
.global-search svg { width: 17px; color: var(--muted-2); }
.global-search input { min-width: 0; width: 100%; border: 0; background: none; font-size: 12px; color: var(--ink); }
.global-search input::placeholder { color: var(--muted-2); }
.icon-button { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.65); color: #5b5f55; }
.icon-button svg { width: 18px; }
.theme-button svg { transition: transform .2s ease; }
.theme-button:hover svg { transform: rotate(12deg); }
.notification-button span { position: absolute; right: 9px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); border: 1px solid #fff; }
.primary-button, .secondary-button, .light-button { height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 11px; padding: 0 16px; border: 1px solid transparent; font-size: 12px; font-weight: 700; }
.primary-button { background: var(--sidebar); color: white; }
.primary-button:hover { background: #2c3028; transform: translateY(-1px); }
.primary-button svg, .secondary-button svg, .light-button svg { width: 16px; }
.secondary-button { background: white; border-color: var(--line-dark); color: var(--ink); }
.secondary-button:hover { border-color: #adafa5; }
.light-button { background: var(--lime); color: var(--ink); }
.full-button { width: 100%; height: 48px; }
.mobile-menu { display: none; }

.view { display: none; animation: view-in .24s ease; }
.view.active { display: block; }
@keyframes view-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 20px; }
.section-heading h2 { font-size: 19px; letter-spacing: -.4px; }
.section-heading p { margin-top: 5px; color: var(--muted); font-size: 12px; }
.roster-heading h2 span { display: inline-grid; place-items: center; min-width: 27px; height: 23px; margin-left: 5px; border-radius: 20px; background: #e6e7df; color: var(--muted); font: 600 11px "DM Sans"; vertical-align: 3px; }
.period-switcher { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--line); background: #ecece6; border-radius: 10px; }
.period-switcher button { height: 29px; min-width: 38px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-size: 10px; font-weight: 700; }
.period-switcher button.active { background: white; color: var(--ink); box-shadow: 0 2px 8px rgba(35,38,31,.06); }

.metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.metric-card { min-width: 0; min-height: 148px; display: grid; grid-template-columns: 1fr auto; align-content: space-between; padding: 19px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.metric-card.highlight { background: linear-gradient(145deg, #466bea, #7558d5); border-color: #526fd7; color: white; }
.metric-card > span:first-child { color: var(--muted); font-size: 11px; font-weight: 600; }
.metric-card.highlight > span:first-child { color: rgba(255,255,255,.7); }
.metric-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; background: var(--surface-soft); color: var(--muted); }
.highlight .metric-icon { background: rgba(255,255,255,.16); color: white; }
.metric-icon svg { width: 15px; }
.metric-value { align-self: end; font: 700 29px/1 "Manrope"; letter-spacing: -1.2px; }
.metric-footer { grid-column: 1 / -1; display: flex; align-items: center; gap: 5px; color: var(--muted-2); font-size: 10px; }
.metric-footer b { display: inline-flex; align-items: center; color: var(--green); font-weight: 700; }
.metric-footer b.down { color: var(--coral); }
.highlight .metric-footer { color: rgba(255,255,255,.68); }
.highlight .metric-footer b { color: white; }

.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(330px, .8fr); gap: 12px; }
.chart-card, .platform-card, .talent-table-card, .deliverables-card { padding: 20px; }
.card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.card-label { display: block; margin-bottom: 4px; color: var(--muted-2); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.card-header h3 { font-size: 14px; letter-spacing: -.2px; }
.text-button { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border: 0; background: none; color: var(--muted); font-size: 10px; font-weight: 700; }
.text-button:hover { color: var(--purple); }
.text-button svg { width: 13px; height: 13px; }
.chart-legend { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 9px; }
.chart-legend span { display: flex; align-items: center; gap: 6px; }
.chart-legend span::before { content: ""; width: 13px; height: 2px; border-radius: 4px; background: var(--purple); }
.chart-legend .views-key::before { background: var(--lime-dark); }
.chart-total { display: flex; align-items: center; gap: 8px; margin-top: 17px; }
.chart-total strong { font: 700 25px "Manrope"; letter-spacing: -.8px; }
.chart-total > span { display: inline-flex; align-items: center; color: var(--green); font-size: 10px; font-weight: 700; }
.chart-total > span svg { width: 13px; height: 13px; }
.chart-total small { color: var(--muted-2); font-size: 9px; }
.performance-chart { height: 186px; margin: 5px -4px -8px; }
.performance-chart svg { width: 100%; height: 100%; overflow: visible; }
.performance-chart .grid-line { stroke: #ecece6; stroke-width: 1; stroke-dasharray: 3 4; }
.performance-chart .axis-label { fill: #a4a79e; font: 8px "DM Sans"; stroke: none; }
.performance-chart .reach-area { fill: url(#reachGradient); stroke: none; }
.performance-chart .reach-line { fill: none; stroke: var(--purple); stroke-width: 2.3; }
.performance-chart .views-line { fill: none; stroke: #add43e; stroke-width: 1.8; stroke-dasharray: 5 4; }
.performance-chart .chart-point { fill: white; stroke: var(--purple); stroke-width: 2; }

.donut-area { display: flex; align-items: center; gap: 21px; min-height: 245px; padding-top: 12px; }
.donut { flex: 0 0 auto; width: 138px; height: 138px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--purple) 0 46%, var(--lime-dark) 46% 84%, var(--coral) 84% 100%); position: relative; }
.donut::after { content: ""; position: absolute; inset: 17px; border-radius: 50%; background: white; }
.donut > div { position: relative; z-index: 1; text-align: center; }
.donut strong, .donut span { display: block; }
.donut strong { font: 700 20px "Manrope"; letter-spacing: -.7px; }
.donut span { margin-top: 2px; color: var(--muted-2); font-size: 8px; }
.platform-legend { flex: 1; min-width: 0; display: grid; gap: 13px; }
.platform-legend button { display: grid; grid-template-columns: 31px 1fr auto; align-items: center; gap: 9px; border: 0; background: none; padding: 2px; color: var(--ink); text-align: left; }
.platform-legend button:hover strong { color: var(--purple); }
.platform-dot { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; color: white; font-size: 8px; font-weight: 800; letter-spacing: -.3px; }
.platform-dot.instagram { background: linear-gradient(135deg, #7149c6, #e6577c, #f5a34b); }
.platform-dot.tiktok { background: #171a19; box-shadow: inset 3px 0 #54dee5, inset -3px 0 #f16283; }
.platform-dot.youtube { background: #f13c3c; }
.platform-legend strong, .platform-legend small { display: block; white-space: nowrap; }
.platform-legend strong { font-size: 10px; }
.platform-legend small { margin-top: 2px; color: var(--muted-2); font-size: 8px; }
.platform-legend b { font-size: 10px; }

.bottom-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(330px, .8fr); gap: 12px; margin-top: 12px; }
.table-wrap { overflow-x: auto; margin: 14px -8px -7px; }
table { width: 100%; border-collapse: collapse; }
th { padding: 7px 9px 10px; color: var(--muted-2); font-size: 8px; font-weight: 700; text-align: right; text-transform: uppercase; letter-spacing: .06em; }
th:first-child, td:first-child { text-align: left; }
td { padding: 11px 9px; border-top: 1px solid #efefe9; color: #4f534b; font-size: 9px; text-align: right; }
.creator-cell { display: flex; align-items: center; gap: 9px; min-width: 155px; }
.creator-cell button { min-width: 0; padding: 0; border: 0; background: none; color: var(--ink); text-align: left; }
.creator-cell strong, .creator-cell small { display: block; }
.creator-cell strong { font-size: 10px; }
.creator-cell small { margin-top: 2px; color: var(--muted-2); font-size: 8px; }
.mini-platforms { display: flex; margin-top: 4px; }
.mini-platform { width: 13px; height: 13px; display: grid; place-items: center; margin-right: -2px; border: 1px solid white; border-radius: 50%; color: white; font-size: 5px; font-weight: 800; }
.mini-platform.instagram { background: #c55888; }.mini-platform.tiktok { background: #242725; }.mini-platform.youtube { background: #ec4848; }
.trend-cell { min-width: 70px; }
.trend-cell svg { width: 64px; height: 22px; }
.trend-cell path { fill: none; stroke: var(--purple); stroke-width: 1.8; }
.more-button { border: 0; background: none; color: var(--muted-2); padding: 4px; }
.more-button svg { width: 15px; }

.deliverables-list { margin-top: 16px; display: grid; }
.deliverable { display: grid; grid-template-columns: 40px 1fr auto; gap: 11px; align-items: center; padding: 12px 0; border-top: 1px solid #eeeeea; }
.deliverable:first-child { border-top: 0; padding-top: 4px; }
.date-tile { width: 38px; height: 41px; display: grid; place-items: center; align-content: center; border-radius: 9px; background: var(--surface-soft); }
.date-tile b, .date-tile span { display: block; }
.date-tile b { font: 700 14px "Manrope"; line-height: 1; }
.date-tile span { margin-top: 3px; color: var(--muted-2); font-size: 7px; font-weight: 700; text-transform: uppercase; }
.deliverable > div:nth-child(2) { min-width: 0; }
.deliverable strong, .deliverable small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deliverable strong { font-size: 9px; }
.deliverable small { margin-top: 3px; color: var(--muted-2); font-size: 8px; }
.status-pill { padding: 5px 7px; border-radius: 99px; background: #f1eefb; color: var(--purple); font-size: 7px; font-weight: 700; }
.status-pill.due { background: #fff0e7; color: #bb654e; }

.filter-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.roster-search { width: 290px; height: 41px; display: flex; align-items: center; gap: 9px; padding: 0 13px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.roster-search svg { width: 16px; color: var(--muted-2); }
.roster-search input { width: 100%; border: 0; background: none; font-size: 11px; }
.filter-chips { display: flex; gap: 6px; }
.filter-chips button { height: 34px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; background: transparent; color: var(--muted); font-size: 9px; font-weight: 600; }
.filter-chips button.active { background: var(--sidebar); border-color: var(--sidebar); color: white; }
.filter-bar select { height: 38px; margin-left: auto; padding: 0 30px 0 11px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--muted); font-size: 10px; }
.talent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.talent-card { position: relative; overflow: hidden; min-height: 235px; padding: 19px; border: 1px solid var(--line); border-radius: var(--radius); background: white; transition: .2s ease; }
.talent-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #d9d9d0; }
.talent-card-top { display: flex; gap: 12px; align-items: center; }
.talent-card-top > div { min-width: 0; }
.talent-card h3 { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.talent-card-top p { margin-top: 3px; color: var(--muted); font-size: 9px; }
.talent-card .more-button { position: absolute; top: 16px; right: 13px; }
.card-platforms { display: flex; gap: 5px; margin: 15px 0; }
.platform-chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 7px; border-radius: 7px; background: var(--surface-soft); color: var(--muted); font-size: 7px; font-weight: 700; }
.platform-chip i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.talent-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #eeeeea; border-bottom: 1px solid #eeeeea; }
.talent-stats div { padding: 12px 4px; border-right: 1px solid #eeeeea; }
.talent-stats div:last-child { border: 0; padding-left: 11px; }
.talent-stats span, .talent-stats strong { display: block; }
.talent-stats span { margin-bottom: 4px; color: var(--muted-2); font-size: 7px; }
.talent-stats strong { font: 700 12px "Manrope"; }
.talent-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 13px; }
.talent-card-footer small { display: flex; align-items: center; gap: 5px; color: var(--muted-2); font-size: 8px; }
.talent-card-footer small i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.talent-card-footer small i.warning { background: var(--orange); }
.open-profile { border: 0; background: none; color: var(--purple); font-size: 8px; font-weight: 700; }
.empty-result { display: none; min-height: 300px; place-items: center; align-content: center; text-align: center; }
.empty-result.visible { display: grid; }
.empty-result > span { font-size: 30px; color: var(--purple); }
.empty-state-icon { display: inline-grid; place-items: center; }
.empty-state-icon svg { width: 22px; height: 22px; }
.empty-result h3 { margin-top: 10px; font-size: 16px; }
.empty-result p { margin: 6px 0 9px; color: var(--muted); font-size: 11px; }

.campaign-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px; }
.campaign-stats article { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.campaign-stats span, .campaign-stats strong, .campaign-stats small { display: block; }
.campaign-stats span { color: var(--muted); font-size: 9px; }
.campaign-stats strong { margin: 7px 0 4px; font: 700 23px "Manrope"; letter-spacing: -.8px; }
.campaign-stats small { color: var(--muted-2); font-size: 8px; }
.campaign-stats small.positive { color: var(--green); }
.campaign-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: start; }
.board-column { padding: 11px; border: 1px solid var(--line); border-radius: 16px; background: #ecece6; }
.board-header { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 12px; }
.board-header strong { display: flex; align-items: center; gap: 7px; font-size: 11px; }
.board-header strong i { width: 7px; height: 7px; border-radius: 50%; background: var(--purple); }
.board-header span { color: var(--muted); font-size: 9px; }
.campaign-card { margin-top: 8px; padding: 15px; border-radius: 13px; background: white; border: 1px solid #e1e1da; }
.campaign-card:first-of-type { margin-top: 0; }
.campaign-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.brand-pill { padding: 5px 7px; border-radius: 7px; background: #f1eefb; color: var(--purple); font-size: 7px; font-weight: 700; }
.campaign-card h3 { margin: 12px 0 4px; font-size: 12px; }
.campaign-card p { color: var(--muted); font-size: 8px; }
.campaign-progress { margin: 14px 0; }
.campaign-progress div:first-child { display: flex; justify-content: space-between; margin-bottom: 6px; color: var(--muted); font-size: 8px; }
.progress-track { height: 5px; overflow: hidden; border-radius: 10px; background: #e9e9e3; }
.progress-track i { display: block; height: 100%; border-radius: inherit; background: var(--purple); }
.campaign-meta { display: flex; justify-content: space-between; align-items: center; padding-top: 11px; border-top: 1px solid #eeeeea; color: var(--muted-2); font-size: 8px; }
.campaign-avatars { display: flex; }
.campaign-avatars span { width: 22px; height: 22px; display: grid; place-items: center; margin-left: -5px; border: 2px solid white; border-radius: 50%; color: white; font-size: 6px; font-weight: 700; }
.campaign-avatars span:first-child { margin-left: 0; }

.demo-banner { display: flex; align-items: center; gap: 10px; padding: 10px 13px; margin: -7px 0 16px; border: 1px solid #ded7f0; border-radius: 11px; background: #f3f0fb; }
.demo-banner > span { flex: 0 0 auto; padding: 5px 7px; border-radius: 6px; background: var(--purple); color: white; font-size: 7px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.demo-banner p { color: #6e6879; font-size: 9px; line-height: 1.45; }
.database-banner p { flex: 1; }
.database-state { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; border: 1px solid #b9dbc1; border-radius: 8px; background: #edf8ef; color: #27703a; font-size: 8px; }
.database-state i { width: 7px; height: 7px; border-radius: 50%; background: #35a853; box-shadow: 0 0 0 3px rgba(53,168,83,.12); }
.database-state.offline { border-color: #e2cfa9; background: #fff8e8; color: #866019; }
.database-state.offline i { background: var(--orange); box-shadow: 0 0 0 3px rgba(219,144,43,.12); }

.talent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.talent-card { min-height: 0; padding: 0; background: var(--surface); }
.talent-card-open { width: 100%; display: block; padding: 20px; border: 0; background: transparent; color: var(--ink); text-align: left; }
.talent-card-top { position: relative; padding-right: 30px; }
.talent-card-top > div { flex: 1; }
.talent-card-top > div > span { display: block; margin-top: 5px; color: var(--muted-2); font-size: 8px; }
.talent-card-top .card-chevron { position: absolute; right: 0; width: 17px; color: var(--muted-2); transition: .2s ease; }
.talent-card:hover .card-chevron { color: var(--purple); transform: translateX(3px); }
.talent-card-pending { border-color: #cfc5ed; box-shadow: inset 0 3px 0 var(--purple); }
.talent-name-line { display: flex; align-items: center; gap: 7px; min-width: 0; }
.talent-name-line h3 { min-width: 0; }
.live-record-pill { display: inline-flex; align-items: center; padding: 4px 6px; border-radius: 999px; background: #e9f7ec; color: #26733b; font-size: 7px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.platform-awaiting { color: var(--orange) !important; font-weight: 700; }
.talent-platform-overview { display: grid; gap: 5px; margin: 17px 0 14px; }
.talent-platform-row { display: grid; grid-template-columns: 25px minmax(58px, 1fr) minmax(68px, auto) minmax(68px, auto); gap: 8px; align-items: center; padding: 8px 9px; border-radius: 9px; background: var(--surface-soft); }
.talent-platform-row .platform-dot { width: 24px; height: 24px; border-radius: 7px; font-size: 6px; font-style: normal; }
.talent-platform-row > b { font-size: 8px; }
.talent-platform-row small { color: var(--muted-2); font-size: 7px; text-align: right; }
.talent-platform-row small strong { display: block; color: var(--ink); font-size: 9px; }
.talent-stats { border-color: var(--line); }
.talent-stats div { border-color: var(--line); }
.talent-card-footer > span { color: var(--purple); font-size: 8px; font-weight: 700; }
.dashboard-empty { min-height: 178px; border: 0; background: transparent; }
.table-empty-row td { height: 174px; text-align: center; }
.table-empty-row td > * { display: block; }
.table-empty-row span { color: var(--purple); font-size: 20px; }
.table-empty-row strong { margin-top: 7px; font-size: 10px; }
.table-empty-row small { margin-top: 4px; color: var(--muted-2); font-size: 8px; }
.compact-empty { min-height: 185px; display: grid; place-content: center; justify-items: center; text-align: center; }
.compact-empty span, .section-empty > span { color: var(--purple); font-size: 22px; }
.compact-empty strong { margin-top: 7px; font-size: 10px; }
.compact-empty small { margin-top: 4px; color: var(--muted-2); font-size: 8px; }
.section-empty { grid-column: 1 / -1; min-height: 230px; display: grid; place-content: center; justify-items: center; padding: 30px; text-align: center; }
.section-empty h3 { margin-top: 8px; font-size: 14px; }
.section-empty p { max-width: 340px; margin-top: 6px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.media-kit-empty { min-height: 790px; display: grid; place-content: center; justify-items: center; padding: 70px; text-align: center; }
.media-kit-empty > span { color: var(--purple); font-size: 34px; }
.media-kit-empty h2 { max-width: 390px; margin-top: 14px; font-size: 30px; letter-spacing: -1px; }
.media-kit-empty p { max-width: 430px; margin-top: 10px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.media-kit-empty button { margin-top: 22px; }

.campaign-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 20px 0 12px; }
.campaign-toolbar > span { color: var(--muted-2); font-size: 9px; }
.campaign-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.campaign-card { width: 100%; min-width: 0; display: block; margin: 0; padding: 20px; color: var(--ink); text-align: left; font: inherit; transition: .2s ease; }
.campaign-card:hover { transform: translateY(-2px); border-color: var(--line-dark); box-shadow: var(--shadow); }
.campaign-status { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 99px; background: var(--surface-soft); color: var(--muted); font-size: 7px; font-weight: 700; }
.campaign-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.campaign-status.live { background: #e7f4ed; color: var(--green); }
.campaign-status.planning { background: var(--purple-soft); color: var(--purple); }
.campaign-status.review { background: #fff0e1; color: #bd7631; }
.campaign-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-top: 15px; }
.campaign-title-row h3 { margin: 0 0 5px; font-size: 15px; }
.campaign-title-row p { max-width: 390px; font-size: 9px; line-height: 1.45; }
.campaign-title-row svg { width: 17px; color: var(--muted-2); }
.campaign-dates { display: flex; align-items: center; gap: 6px; margin-top: 13px; color: var(--muted); font-size: 8px; }
.campaign-dates svg { width: 13px; }
.campaign-dates span { margin-left: auto; color: var(--muted-2); }
.campaign-live-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; margin-top: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--line); }
.campaign-live-metrics div { padding: 12px; background: var(--surface-soft); }
.campaign-live-metrics span, .campaign-live-metrics strong { display: block; }
.campaign-live-metrics span { margin-bottom: 4px; color: var(--muted-2); font-size: 7px; }
.campaign-live-metrics strong { font: 700 13px "Manrope"; }
.campaign-card .campaign-progress { margin-bottom: 13px; }
.campaign-card .progress-track i { background: var(--purple); }
.campaign-card-live .progress-track i { background: var(--green); }
.campaign-meta { align-items: flex-end; border-color: var(--line); }
.campaign-meta > div:first-child { min-width: 0; }
.campaign-meta > div:first-child span, .campaign-meta > div:first-child strong { display: block; }
.campaign-meta > div:first-child span { margin-bottom: 3px; color: var(--muted-2); font-size: 7px; }
.campaign-meta > div:first-child strong { color: var(--ink); font-size: 8px; }
.campaign-empty { grid-column: 1 / -1; min-height: 310px; display: grid; place-items: center; align-content: center; text-align: center; border: 1px dashed var(--line-dark); border-radius: 16px; background: var(--surface); }
.campaign-empty > span { color: var(--purple); font-size: 29px; }
.campaign-empty h3 { margin-top: 10px; font-size: 16px; }
.campaign-empty p { max-width: 330px; margin: 6px 0 17px; color: var(--muted); font-size: 10px; }

.outlook-banner { display: grid; grid-template-columns: 50px 1fr auto; gap: 15px; align-items: center; padding: 18px; margin-bottom: 15px; border: 1px solid #cfe1f1; border-radius: 16px; background: linear-gradient(135deg,#f4faff,#edf6ff); }
.outlook-mark { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; background: #1675d1; color: white; font: 700 20px "Manrope"; box-shadow: inset -10px 0 rgba(0,76,153,.22); }
.integration-kicker { display: block; margin-bottom: 3px; color: #3779b4; font-size: 7px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.outlook-banner h3 { font-size: 13px; }
.outlook-banner p { max-width: 680px; margin-top: 4px; color: #60768a; font-size: 9px; line-height: 1.45; }
.outlook-state { display: grid; justify-items: end; gap: 9px; }
.outlook-state > span, .outlook-mini-state { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 8px; font-weight: 700; }
.outlook-state > span i, .outlook-mini-state i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.outlook-state > span.connected, .outlook-mini-state.connected { color: var(--green); }
.outlook-state > span.connected i, .outlook-mini-state.connected i { background: var(--green); }
.lead-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.lead-stats article { padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.lead-stats span, .lead-stats strong, .lead-stats small { display: block; }
.lead-stats span { color: var(--muted); font-size: 8px; }
.lead-stats strong { margin: 6px 0 4px; font: 700 21px "Manrope"; }
.lead-stats small { color: var(--muted-2); font-size: 8px; }
.attention-text { color: #c5792f !important; }
.lead-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.lead-table { overflow: hidden; }
.lead-table-head, .lead-row { display: grid; grid-template-columns: 1.4fr .65fr .7fr .7fr .8fr 1fr 20px; gap: 12px; align-items: center; }
.lead-table-head { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--muted-2); font-size: 7px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.lead-row { width: 100%; padding: 13px 16px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; transition: .16s ease; }
.lead-row:last-child { border-bottom: 0; }
.lead-row:hover { background: var(--surface-soft); }
.lead-row > svg { width: 15px; color: var(--muted-2); }
.lead-contact { display: flex; align-items: center; gap: 9px; min-width: 0; }
.lead-contact > i { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--sidebar); color: white; font-size: 8px; font-style: normal; font-weight: 800; }
.lead-contact strong, .lead-contact small, .lead-value strong, .lead-value small, .lead-email strong, .lead-email small, .lead-next strong, .lead-next small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lead-contact strong, .lead-value strong, .lead-email strong, .lead-next strong { font-size: 8px; }
.lead-contact small, .lead-value small, .lead-email small, .lead-next small { margin-top: 3px; color: var(--muted-2); font-size: 7px; }
.stage-pill { display: inline-flex; padding: 5px 7px; border-radius: 99px; background: var(--surface-soft); color: var(--muted); font-size: 7px; font-style: normal; font-weight: 700; }
.stage-pill.new { background: #e8f2fb; color: #357bad; }
.stage-pill.contacted { background: var(--purple-soft); color: var(--purple); }
.stage-pill.negotiation { background: #fff0df; color: #b86e26; }
.stage-pill.won { background: #e5f3eb; color: var(--green); }
.integration-note { display: grid; gap: 3px; padding: 10px 11px; margin: 14px 0; border-radius: 9px; background: var(--surface-soft); color: var(--muted); font-size: 8px; line-height: 1.45; }
.integration-note strong { color: var(--ink); font-size: 8px; }
.platform-dot.outlook { background: #1675d1; box-shadow: inset -8px 0 rgba(0,76,153,.25); }

.media-kit-layout { display: grid; grid-template-columns: 255px minmax(0, 1fr); gap: 18px; align-items: start; }
.media-kit-controls { position: sticky; top: 18px; padding: 19px; }
.media-kit-controls > div:first-child, .control-section { position: relative; padding-left: 31px; }
.media-kit-controls h3 { font-size: 11px; }
.control-step { position: absolute; left: 0; top: -2px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: var(--sidebar); color: white; font-size: 7px; font-weight: 800; }
.media-kit-controls > label { display: grid; gap: 6px; margin-top: 14px; color: var(--muted); font-size: 8px; font-weight: 700; }
.media-kit-controls select { width: 100%; height: 39px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink); font-size: 9px; }
.control-section { margin: 21px 0 0; padding-top: 1px; }
.kit-themes { display: flex; gap: 8px; margin-top: 12px; }
.kit-themes button { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.kit-themes button.active { box-shadow: 0 0 0 2px var(--purple); }
.kit-themes i { width: 17px; height: 17px; border-radius: 50%; background: var(--lime); }
.kit-themes button:nth-child(2) i { background: #765bd6; }.kit-themes button:nth-child(3) i { background: #f07b62; }.kit-themes button:nth-child(4) i { background: #171915; }
.kit-options { display: grid; gap: 8px; margin-top: 12px; }
.kit-options label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 8px; }
.kit-options input { accent-color: var(--purple); }
.media-kit-note { display: flex !important; gap: 8px; align-items: flex-start; margin-top: 22px; padding: 10px !important; border-radius: 9px; background: var(--surface-soft); color: var(--muted); font-size: 7px; line-height: 1.45; }
.media-kit-note svg { flex: 0 0 auto; width: 13px; }
.media-kit-stage { min-width: 0; overflow: auto; padding: 16px; border-radius: 18px; background: #dfe0d9; }
.media-kit-stage-bar { display: flex; justify-content: space-between; margin-bottom: 12px; color: #72766c; font-size: 8px; font-weight: 700; }
.media-kit-stage-bar small { font-size: 8px; font-weight: 500; }
.media-kit-preview { --kit-accent: #c8f45d; --kit-accent-ink: #1e2511; width: min(100%, 760px); min-height: 980px; margin: 0 auto; overflow: hidden; background: #fbfbf7; color: #171915; box-shadow: 0 16px 45px rgba(25,28,22,.14); font-family: "DM Sans", sans-serif; }
.media-kit-preview.kit-theme-violet { --kit-accent: #866fe1; --kit-accent-ink: white; }.media-kit-preview.kit-theme-coral { --kit-accent: #f07b62; --kit-accent-ink: white; }.media-kit-preview.kit-theme-ink { --kit-accent: #171915; --kit-accent-ink: white; }
.kit-header { display: flex; justify-content: space-between; align-items: center; padding: 25px 32px; background: #171915; color: white; }
.kit-header > span { color: #8f9589; font-size: 7px; font-weight: 800; letter-spacing: .12em; }
.kit-brand { display: flex; align-items: center; gap: 8px; }
.kit-brand .brand-mark { width: 22px; height: 19px; transform: scale(.66); transform-origin: left center; margin-right: -7px; }
.kit-brand strong { font: 700 11px "Manrope"; }
.kit-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; align-items: end; min-height: 260px; padding: 38px 38px 30px; background: linear-gradient(135deg,#252820,#10120f); color: white; }
.avatar-kit { width: 72px; height: 72px; margin-bottom: 20px; border: 3px solid rgba(255,255,255,.16); font-size: 19px; }
.kit-category { display: block; margin-bottom: 7px; color: var(--kit-accent); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.kit-hero h1 { font-size: 37px; line-height: 1; letter-spacing: -1.8px; }
.kit-hero p { margin-top: 8px; color: #9ea398; font-size: 9px; }
.kit-hero blockquote { position: relative; margin: 0; padding: 19px 0 0 22px; border-top: 1px solid #3b4036; color: #d5d8d0; font: 500 16px/1.5 "Manrope"; }
.kit-hero blockquote::before { content: "“"; position: absolute; left: 0; top: 10px; color: var(--kit-accent); font-size: 30px; }
.kit-metrics { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--kit-accent); color: var(--kit-accent-ink); }
.kit-metrics div { padding: 20px; border-right: 1px solid rgba(23,25,21,.12); }
.kit-metrics div:last-child { border: 0; }
.kit-metrics span, .kit-metrics strong, .kit-metrics small { display: block; }
.kit-metrics span { font-size: 7px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; opacity: .66; }
.kit-metrics strong { margin: 5px 0 3px; font: 700 21px "Manrope"; }
.kit-metrics small { font-size: 7px; opacity: .65; }
.kit-section { padding: 30px 38px 0; }
.kit-section-title { display: grid; grid-template-columns: 24px 1fr auto; gap: 9px; align-items: center; margin-bottom: 17px; }
.kit-section-title > span { color: #a6aaa0; font-size: 7px; font-weight: 800; }
.kit-section-title h2 { font-size: 15px; }
.kit-section-title p { color: #8a8e85; font-size: 7px; }
.kit-platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kit-platform-grid article { padding: 13px; border: 1px solid #e1e2db; border-radius: 10px; background: white; }
.kit-platform-grid article > div:first-child { display: flex; align-items: center; gap: 7px; margin-bottom: 12px; }
.kit-platform-grid .platform-dot { width: 25px; height: 25px; font-size: 6px; font-style: normal; }
.kit-platform-grid article > div strong { font-size: 8px; }
.kit-platform-grid dl { margin: 0; }
.kit-platform-grid dl div { display: flex; justify-content: space-between; align-items: baseline; padding: 5px 0; border-top: 1px solid #eeeeea; }
.kit-platform-grid dt { color: #888d83; font-size: 7px; }.kit-platform-grid dd { margin: 0; font: 700 9px "Manrope"; }
.kit-audience { display: grid; grid-template-columns: 1.15fr .85fr; gap: 12px; }
.kit-audience > div { padding: 16px; border: 1px solid #e1e2db; border-radius: 11px; background: white; }
.kit-audience h3 { margin-bottom: 13px; font-size: 9px; }
.kit-audience > div:first-child > span { display: grid; grid-template-columns: 42px 1fr 24px; gap: 7px; align-items: center; margin-top: 8px; }
.kit-audience > div:first-child span b, .kit-audience > div:first-child span strong { font-size: 7px; }
.kit-audience > div:first-child span strong { text-align: right; }
.kit-audience > div:first-child span i { height: 5px; overflow: hidden; border-radius: 8px; background: #eceee7; }
.kit-audience > div:first-child span em { display: block; height: 100%; border-radius: inherit; background: var(--kit-accent); }
.kit-audience-highlight > span { color: #8b9086; font-size: 7px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.kit-audience-highlight > strong { display: block; margin: 7px 0 4px; font: 700 24px "Manrope"; }
.kit-audience-highlight > p { color: #767b71; font-size: 7px; line-height: 1.45; }
.kit-audience-highlight > div { display: grid; gap: 5px; margin-top: 11px; }
.kit-audience-highlight > div span { display: flex; justify-content: space-between; padding-top: 5px; border-top: 1px solid #eeeeea; color: #6f746a; font-size: 7px; }
.kit-audience-highlight > div b { color: #171915; }
.kit-partnership-section { padding-bottom: 28px; }
.kit-partnerships { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kit-partnerships > span { display: grid; min-height: 62px; place-items: center; align-content: center; padding: 10px; border-radius: 10px; background: #efefe9; text-align: center; }
.kit-partnerships strong { font: 800 10px "Manrope"; letter-spacing: .05em; }.kit-partnerships small { margin-top: 4px; color: #858a80; font-size: 6px; }
.kit-footer { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 20px; align-items: end; padding: 21px 38px; background: #171915; color: white; }
.kit-footer span, .kit-footer strong { display: block; }.kit-footer span { color: #777d72; font-size: 6px; text-transform: uppercase; }.kit-footer strong { margin-top: 4px; font-size: 8px; }.kit-footer p { color: #777d72; font-size: 6px; line-height: 1.4; text-align: right; }

.kit-print-body { margin: 0; padding: 0; background: white; }
.kit-print-body .media-kit-preview { width: 210mm; min-height: 297mm; box-shadow: none; }
@media print { @page { size: A4; margin: 0; } .kit-print-body .media-kit-preview { width: 210mm; min-height: 297mm; } }

.report-feature { display: grid; grid-template-columns: 1fr 1fr; min-height: 300px; overflow: hidden; margin-bottom: 18px; border-radius: 20px; background: var(--sidebar); color: white; }
.report-feature > div:first-child { padding: 40px; align-self: center; }
.eyebrow-tag { display: inline-block; margin-bottom: 17px; color: var(--lime); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.report-feature h2 { max-width: 430px; font-size: 27px; line-height: 1.2; letter-spacing: -1px; }
.report-feature p { max-width: 470px; margin: 13px 0 23px; color: #aeb2a8; font-size: 11px; line-height: 1.6; }
.report-preview { align-self: end; height: 260px; margin: 40px 44px 0 20px; padding: 24px; border-radius: 13px 13px 0 0; background: #fbfbf8; transform: rotate(2deg); transform-origin: bottom right; box-shadow: 0 16px 50px rgba(0,0,0,.25); }
.preview-top { display: flex; justify-content: space-between; }
.preview-top span:first-child { width: 43px; height: 10px; border-radius: 7px; background: #22251f; }
.preview-top span:last-child { width: 20px; height: 20px; border-radius: 50%; background: var(--lime); }
.preview-title { width: 160px; height: 12px; margin-top: 23px; border-radius: 6px; background: #33362f; }
.preview-sub { width: 90px; height: 5px; margin-top: 8px; border-radius: 4px; background: #d8d9d2; }
.preview-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 20px 0; }
.preview-metrics i { height: 45px; border-radius: 7px; background: #efefe9; }
.preview-metrics i:first-child { background: var(--lime); }
.preview-chart { height: 74px; padding: 9px; border: 1px solid #ecece7; border-radius: 7px; }
.preview-chart svg { width: 100%; height: 100%; }
.preview-chart path { fill: none; stroke: var(--purple); stroke-width: 3; }
.reports-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.report-card { padding: 18px; }
.report-card-top { height: 115px; padding: 15px; border-radius: 11px; background: #f0f0ea; }
.report-card-top > span { display: block; width: 48px; height: 8px; border-radius: 5px; background: #242720; }
.report-bars { display: flex; align-items: end; gap: 5px; height: 54px; margin-top: 16px; }
.report-bars i { flex: 1; border-radius: 3px 3px 0 0; background: var(--purple-soft); }
.report-bars i:nth-child(1) { height: 37%; }.report-bars i:nth-child(2) { height: 78%; background: var(--purple); }.report-bars i:nth-child(3) { height: 55%; }.report-bars i:nth-child(4) { height: 92%; background: var(--lime-dark); }.report-bars i:nth-child(5) { height: 67%; }
.report-card h3 { margin: 15px 0 5px; font-size: 12px; }
.report-card p { color: var(--muted); font-size: 8px; }
.report-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px solid #eeeeea; }
.report-card-footer span { color: var(--muted-2); font-size: 8px; }

.consent-banner { display: grid; grid-template-columns: 42px 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; margin-bottom: 12px; border: 1px solid #dcd4f1; border-radius: 15px; background: #f3f0fb; }
.consent-banner > span { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 11px; background: var(--purple-soft); color: var(--purple); }
.consent-banner > span svg { width: 17px; }
.consent-banner strong { display: block; margin-bottom: 3px; font-size: 11px; }
.consent-banner p { max-width: 770px; color: #6f6a7b; font-size: 9px; line-height: 1.45; }
.consent-banner button { padding: 7px 10px; border: 1px solid #d1c8e8; border-radius: 8px; background: white; color: var(--purple); font-size: 8px; font-weight: 700; }
.connection-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 12px; }
.connection-summary article { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.connection-orb { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; font-weight: 700; }
.connection-orb svg { width: 17px; }
.connection-orb.success { background: #e0f3e9; color: var(--green); }
.connection-orb.warning { background: #fff0dd; color: #d4872e; }
.connection-orb.neutral { background: #e9e5f6; color: var(--purple); }
.connection-summary strong, .connection-summary small { display: block; }
.connection-summary strong { font: 700 18px "Manrope"; }
.connection-summary small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.connection-list { overflow: hidden; }
.connection-head, .connection-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr .8fr 90px; gap: 12px; align-items: center; }
.connection-head { padding: 13px 18px; border-bottom: 1px solid var(--line); color: var(--muted-2); font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.connection-row { padding: 13px 18px; border-bottom: 1px solid #eeeeea; }
.connection-row:last-child { border: 0; }
.connection-creator { display: flex; align-items: center; gap: 10px; min-width: 0; }
.connection-creator strong, .connection-creator small { display: block; }
.connection-creator strong { font-size: 10px; }
.connection-creator small { margin-top: 2px; color: var(--muted-2); font-size: 8px; }
.connection-platform { display: flex; align-items: center; gap: 7px; font-size: 9px; }
.connection-status { display: inline-flex; align-items: center; gap: 5px; font-size: 8px; font-weight: 700; color: var(--green); }
.connection-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.connection-status.warning { color: var(--orange); }
.connection-row > span { color: var(--muted); font-size: 8px; }
.connection-action { height: 30px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); font-size: 8px; font-weight: 700; }
.connection-action.warning { border-color: #f1cfaa; color: #bd6f2f; background: #fffaf4; }

.settings-layout { display: grid; grid-template-columns: 190px minmax(0, 680px); gap: 22px; align-items: start; }
.settings-layout nav { display: grid; gap: 4px; }
.settings-layout nav button { height: 39px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); text-align: left; font-size: 10px; font-weight: 600; }
.settings-layout nav button.active { background: white; color: var(--ink); }
.settings-form { padding: 25px; }
.settings-form h3 { font-size: 15px; }
.settings-form > p { margin: 5px 0 22px; color: var(--muted); font-size: 10px; }
.settings-form label, .modal label { display: grid; gap: 7px; margin-top: 15px; color: #555a51; font-size: 9px; font-weight: 700; }
.settings-form input, .settings-form select, .modal input, .modal textarea { width: 100%; height: 43px; padding: 0 12px; border: 1px solid var(--line-dark); border-radius: 10px; background: white; color: var(--ink); font-size: 11px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-actions { display: flex; justify-content: flex-end; margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--line); }

.modal-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(14,16,12,.58); opacity: 0; visibility: hidden; backdrop-filter: blur(4px); transition: .22s ease; }
.modal-backdrop.visible { opacity: 1; visibility: visible; }
.modal { position: fixed; z-index: 60; left: 50%; top: 50%; width: min(465px, calc(100vw - 30px)); max-height: calc(100vh - 36px); overflow: auto; padding: 30px; border-radius: 20px; background: white; box-shadow: 0 25px 80px rgba(0,0,0,.22); opacity: 0; visibility: hidden; transform: translate(-50%, -47%) scale(.98); transition: .22s ease; }
.modal.visible { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.modal-close { position: absolute; right: 16px; top: 16px; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--surface-soft); color: var(--muted); }
.modal-close svg { width: 16px; }
.modal-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 13px; background: var(--purple-soft); color: var(--purple); }
.modal-icon svg { width: 20px; }
.modal-kicker { display: block; margin-bottom: 6px; color: var(--purple); font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.modal h2 { font-size: 22px; letter-spacing: -.7px; }
.modal > p { margin-top: 8px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.modal label span { margin-left: 4px; color: var(--muted-2); font-weight: 400; }
.modal textarea { height: 78px; resize: vertical; padding-top: 11px; }
.secure-note { display: flex; align-items: flex-start; gap: 9px; margin: 15px 0; padding: 11px; border-radius: 9px; background: #f3f0fb; color: #6b647d; font-size: 8px; line-height: 1.5; }
.secure-note svg { flex: 0 0 auto; width: 14px; height: 14px; color: var(--purple); }
.invite-platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 15px; padding: 0; border: 0; }
.invite-platforms legend { margin-bottom: 7px; color: #555a51; font-size: 9px; font-weight: 700; }
.modal .invite-platforms label { display: flex; align-items: center; gap: 7px; min-width: 0; margin: 0; padding: 9px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-soft); cursor: pointer; }
.modal .invite-platforms input { width: 13px; height: 13px; padding: 0; accent-color: var(--purple); }
.invite-platforms strong { overflow: hidden; font-size: 8px; text-overflow: ellipsis; }
.form-error { min-height: 15px; margin: 2px 0 6px; color: #b94b42; font-size: 8px; font-weight: 700; }
.invite-delivery-note { display: block; margin-top: 9px; color: var(--muted-2); font-size: 8px; line-height: 1.45; text-align: center; }
.onboarding-status-card { display: flex; gap: 13px; margin-top: 22px; padding: 16px; border: 1px solid #d8d0ef; border-radius: 13px; background: var(--purple-soft); }
.onboarding-icon { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--purple); color: white; }
.onboarding-icon svg { width: 18px; }
.onboarding-status-card h3 { margin-top: 2px; font-size: 13px; }
.onboarding-status-card p { margin-top: 6px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.pending-platform-list { display: grid; gap: 8px; }
.pending-platform-list > span { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.pending-platform-list strong { font-size: 9px; }
.pending-platform-list small { color: var(--orange); font-size: 8px; font-weight: 700; }
.connection-modal { width: min(500px, calc(100vw - 30px)); }
.connect-platform-head { display: flex; gap: 13px; align-items: center; margin-bottom: 18px; }
.connect-platform-head .platform-dot { width: 42px; height: 42px; border-radius: 12px; font-size: 10px; }
.connect-platform-head h2 { font-size: 18px; }
.connect-platform-head p { margin-top: 3px; color: var(--muted); font-size: 9px; }
.permissions-list { display: grid; gap: 8px; margin: 16px 0; }
.permission { display: flex; align-items: flex-start; gap: 10px; padding: 11px; border: 1px solid var(--line); border-radius: 10px; }
.permission > span { flex: 0 0 auto; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: #e0f3e9; color: var(--green); }
.permission svg { width: 12px; }
.permission strong, .permission small { display: block; }
.permission strong { font-size: 9px; }
.permission small { margin-top: 2px; color: var(--muted); font-size: 8px; line-height: 1.4; }
.oauth-button { width: 100%; height: 47px; border: 0; border-radius: 11px; background: var(--sidebar); color: white; font-size: 11px; font-weight: 700; }
.oauth-footnote { display: flex; justify-content: center; align-items: center; gap: 5px; margin-top: 11px; color: var(--muted-2); font-size: 7px; }
.oauth-footnote svg { width: 11px; }
.connecting-state { display: grid; place-items: center; min-height: 310px; text-align: center; }
.connecting-spinner { width: 56px; height: 56px; margin-bottom: 20px; border: 4px solid var(--line); border-top-color: var(--purple); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.connecting-state h2 { font-size: 18px; }
.connecting-state p { margin-top: 7px; color: var(--muted); font-size: 9px; }
.connected-check { width: 60px; height: 60px; display: grid; place-items: center; margin-bottom: 17px; border-radius: 50%; background: #e0f3e9; color: var(--green); animation: pop .3s ease; }
.connected-check svg { width: 27px; height: 27px; stroke-width: 2.5; }
@keyframes pop { from { transform: scale(.5); } }

.detail-drawer { position: fixed; z-index: 55; top: 0; right: 0; width: min(680px, 100vw); height: 100vh; overflow-y: auto; padding: 31px; background: var(--surface); box-shadow: -25px 0 70px rgba(25,28,22,.16); transform: translateX(105%); transition: .27s ease; }
.detail-drawer.visible { transform: translateX(0); }
.drawer-close { position: absolute; right: 18px; top: 18px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--muted); }
.drawer-close svg { width: 16px; }
.drawer-profile { display: flex; gap: 15px; align-items: center; padding-right: 35px; }
.drawer-profile h2 { font-size: 20px; }
.drawer-profile p { margin-top: 4px; color: var(--muted); font-size: 10px; }
.drawer-profile > div > small { display: block; margin-top: 5px; color: var(--muted-2); font-size: 8px; }
.drawer-title-line { display: flex; align-items: center; gap: 8px; }
.preview-pill { padding: 4px 6px; border-radius: 6px; background: var(--purple-soft); color: var(--purple); font-size: 6px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.drawer-platforms { display: flex; gap: 6px; margin-top: 8px; }
.drawer-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 24px 0; }
.drawer-kpis div { padding: 13px; border-radius: 11px; background: var(--surface-soft); }
.drawer-kpis span, .drawer-kpis strong, .drawer-kpis small { display: block; }
.drawer-kpis span { margin-bottom: 5px; color: var(--muted-2); font-size: 7px; }
.drawer-kpis strong { font: 700 16px "Manrope"; }
.drawer-kpis small { margin-top: 4px; color: var(--muted); font-size: 6px; line-height: 1.3; }
.drawer-kpis-four { grid-template-columns: repeat(4, 1fr); margin-top: 14px; }
.platform-tabs { display: flex; gap: 6px; overflow-x: auto; margin: 23px -4px 0; padding: 4px; border-bottom: 1px solid var(--line); }
.platform-tabs button { flex: 0 0 auto; height: 37px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 8px; font-weight: 700; }
.platform-tabs button.active { background: var(--sidebar); color: white; }
.platform-tabs .platform-dot { width: 21px; height: 21px; border-radius: 6px; font-size: 5px; font-style: normal; }
.drawer-data-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 13px; }
.drawer-data-meta > span { display: inline-flex; align-items: center; gap: 5px; color: var(--green); font-size: 7px; font-weight: 700; }
.drawer-data-meta > span i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.drawer-data-meta > span i.warning { color: var(--orange); }
.drawer-data-meta small { color: var(--muted-2); font-size: 7px; }
.drawer-section { padding: 20px 0; border-top: 1px solid var(--line); }
.drawer-section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.drawer-section-head h3 { font-size: 12px; }
.drawer-section-head small { display: block; margin-top: 3px; color: var(--muted-2); font-size: 7px; }
.drawer-section-head > b { font: 700 11px "Manrope"; }
.audience-bars { display: grid; gap: 10px; }
.audience-row { display: grid; grid-template-columns: 60px 1fr 30px; gap: 8px; align-items: center; font-size: 8px; }
.audience-row > span { color: var(--muted); }
.audience-row > b { text-align: right; font-size: 8px; }
.audience-bar { height: 6px; border-radius: 9px; background: #eeeeea; }
.audience-bar i { display: block; height: 100%; border-radius: inherit; background: var(--purple); }
.audience-bar.secondary i { background: var(--lime-dark); }
.audience-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.audience-split h4 { margin: 0 0 11px; font-size: 8px; }
.country-list { display: grid; grid-template-columns: 1fr repeat(3, auto); gap: 10px; margin-top: 17px; padding: 10px; border-radius: 9px; background: var(--surface-soft); color: var(--muted); font-size: 7px; }
.country-list span { display: flex; gap: 5px; }
.country-list b { color: var(--ink); }
.drawer-chart { height: 140px; padding-top: 5px; }
.drawer-chart svg { width: 100%; height: 100%; }
.drawer-chart path { fill: none; stroke: var(--purple); stroke-width: 2.5; }
.drawer-chart .area { fill: url(#drawerGradient); stroke: none; }
.drawer-chart .campaign-area { fill: url(#campaignGradient); stroke: none; }
.recent-post { display: grid; grid-template-columns: 47px 1fr auto; gap: 10px; align-items: center; margin-top: 9px; padding: 9px; border-radius: 10px; background: var(--surface-soft); }
.post-thumbnail { width: 47px; height: 47px; border-radius: 8px; background: linear-gradient(145deg, #c99b7c, #574b61); }
.post-thumbnail { position: relative; }
.post-thumbnail .platform-dot { position: absolute; right: 4px; bottom: 4px; width: 18px; height: 18px; border: 2px solid var(--surface-soft); border-radius: 6px; font-size: 4px; font-style: normal; }
.recent-post strong, .recent-post small { display: block; }
.recent-post strong { font-size: 9px; }
.recent-post small { margin-top: 3px; color: var(--muted); font-size: 7px; }
.recent-post > b { font-size: 9px; }
.account-breakdown { display: grid; gap: 6px; }
.account-breakdown button { display: grid; grid-template-columns: 30px 1fr auto 15px; gap: 9px; align-items: center; width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); text-align: left; }
.account-breakdown button:hover { background: var(--surface-soft); }
.account-breakdown .platform-dot { width: 29px; height: 29px; font-size: 6px; font-style: normal; }
.account-breakdown strong, .account-breakdown small { display: block; }.account-breakdown strong { font-size: 8px; }.account-breakdown small { margin-top: 2px; color: var(--muted-2); font-size: 7px; }.account-breakdown button > b { font-size: 8px; }.account-breakdown svg { width: 14px; color: var(--muted-2); }
.drawer-actions { position: sticky; bottom: -31px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px -31px -31px; padding: 14px 31px 20px; border-top: 1px solid var(--line); background: var(--surface); }

.campaign-drawer { width: min(640px, 100vw); }
.campaign-drawer-head > div:first-child { display: flex; gap: 7px; margin-bottom: 16px; }
.campaign-drawer-head h2 { font-size: 22px; }
.campaign-drawer-head p { max-width: 500px; margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.campaign-drawer-head > span { display: inline-flex; align-items: center; gap: 6px; margin-top: 11px; color: var(--muted-2); font-size: 8px; }
.campaign-drawer-head > span svg { width: 13px; }
.progress-track.large { height: 8px; }
.milestone-row { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 18px; }
.milestone-row span { display: grid; justify-items: center; gap: 6px; position: relative; color: var(--muted-2); font-size: 7px; }
.milestone-row span::before { content: ""; position: absolute; left: 0; right: 50%; top: 10px; height: 1px; background: var(--line); }
.milestone-row span::after { content: ""; position: absolute; left: 50%; right: 0; top: 10px; height: 1px; background: var(--line); }
.milestone-row span:first-child::before, .milestone-row span:last-child::after { display: none; }
.milestone-row i { position: relative; z-index: 1; width: 21px; height: 21px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 50%; background: var(--surface); }
.milestone-row svg { width: 10px; opacity: 0; }
.milestone-row .done { color: var(--green); font-weight: 700; }.milestone-row .done i { border-color: var(--green); background: #e6f4ec; }.milestone-row .done svg { opacity: 1; }
.empty-chart { min-height: 120px; display: grid; place-items: center; align-content: center; border-radius: 10px; background: var(--surface-soft); color: var(--muted-2); }.empty-chart span { color: var(--purple); font-size: 22px; }.empty-chart p { margin-top: 4px; font-size: 8px; }
.campaign-talent-list { display: grid; gap: 6px; }
.campaign-talent-list button { display: grid; grid-template-columns: 42px 1fr auto 15px; gap: 9px; align-items: center; width: 100%; padding: 9px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--ink); text-align: left; }
.campaign-talent-list button:hover { background: var(--surface-soft); }
.campaign-talent-list strong, .campaign-talent-list small { display: block; }.campaign-talent-list strong { font-size: 9px; }.campaign-talent-list small { margin-top: 3px; color: var(--muted-2); font-size: 7px; }.campaign-talent-list > button > svg { width: 14px; color: var(--muted-2); }
.deliverable-checklist { display: grid; gap: 7px; }.deliverable-checklist > span { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; align-items: center; padding: 9px; border-radius: 9px; background: var(--surface-soft); color: var(--muted); font-size: 8px; }.deliverable-checklist > span > i { width: 21px; height: 21px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 50%; }.deliverable-checklist svg { width: 10px; opacity: 0; }.deliverable-checklist .done { color: var(--ink); }.deliverable-checklist .done > i { background: #e6f4ec; border-color: var(--green); color: var(--green); }.deliverable-checklist .done svg { opacity: 1; }.deliverable-checklist b { color: var(--muted-2); font-size: 7px; }

.lead-drawer { width: min(610px, 100vw); }
.lead-drawer-head { display: flex; gap: 13px; align-items: center; padding-right: 35px; }
.lead-company-mark { flex: 0 0 auto; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 14px; background: var(--sidebar); color: white; font: 800 15px "Manrope"; }
.lead-drawer-head h2 { margin-top: 6px; font-size: 20px; }.lead-drawer-head p { margin-top: 3px; color: var(--muted); font-size: 9px; }
.lead-note { padding: 13px; border-radius: 10px; background: var(--surface-soft); color: var(--muted); font-size: 9px; line-height: 1.55; }
.email-thread-preview { display: grid; grid-template-columns: 33px 1fr; gap: 10px; margin-bottom: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-soft); }
.email-avatar { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #dceafa; color: #2d6fa9; font-size: 7px; font-weight: 800; }
.email-thread-preview strong { font-size: 9px; }.email-thread-preview p { margin: 5px 0; color: var(--muted); font-size: 8px; line-height: 1.45; }.email-thread-preview small { color: var(--muted-2); font-size: 7px; }
.lead-timeline { display: grid; gap: 0; }.lead-timeline > span { position: relative; display: grid; grid-template-columns: 17px 1fr; gap: 8px; min-height: 47px; }.lead-timeline > span::before { content: ""; position: absolute; left: 5px; top: 13px; bottom: -2px; width: 1px; background: var(--line); }.lead-timeline > span:last-child::before { display: none; }.lead-timeline > span > i { width: 11px; height: 11px; margin-top: 2px; border: 3px solid var(--surface); border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 1px var(--purple); }.lead-timeline strong, .lead-timeline small { display: block; }.lead-timeline strong { font-size: 8px; }.lead-timeline small { margin-top: 3px; color: var(--muted-2); font-size: 7px; }

.toast { position: fixed; z-index: 80; right: 25px; bottom: 25px; min-width: 280px; display: flex; gap: 11px; align-items: center; padding: 13px 15px; border: 1px solid #dfe1d9; border-radius: 13px; background: white; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .22s ease; }
.toast.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.toast > span { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: #e0f3e9; color: var(--green); }
.toast svg { width: 14px; }
.toast strong, .toast small { display: block; }
.toast strong { font-size: 10px; }
.toast small { margin-top: 2px; color: var(--muted); font-size: 8px; }

:root[data-theme="dark"] .global-search,
:root[data-theme="dark"] .icon-button,
:root[data-theme="dark"] .secondary-button,
:root[data-theme="dark"] .period-switcher button.active,
:root[data-theme="dark"] .roster-search,
:root[data-theme="dark"] .filter-bar select,
:root[data-theme="dark"] .talent-card,
:root[data-theme="dark"] .campaign-stats article,
:root[data-theme="dark"] .campaign-card,
:root[data-theme="dark"] .lead-stats article,
:root[data-theme="dark"] .media-kit-controls,
:root[data-theme="dark"] .report-preview,
:root[data-theme="dark"] .consent-banner button,
:root[data-theme="dark"] .connection-summary article,
:root[data-theme="dark"] .connection-action,
:root[data-theme="dark"] .settings-layout nav button.active,
:root[data-theme="dark"] .settings-form input,
:root[data-theme="dark"] .settings-form select,
:root[data-theme="dark"] .modal,
:root[data-theme="dark"] .modal input,
:root[data-theme="dark"] .modal textarea,
:root[data-theme="dark"] .detail-drawer,
:root[data-theme="dark"] .drawer-close,
:root[data-theme="dark"] .toast,
:root[data-theme="dark"] .mobile-menu {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

:root[data-theme="dark"] .global-search:focus-within { background: var(--surface-soft); border-color: var(--line-dark); }
:root[data-theme="dark"] .period-switcher,
:root[data-theme="dark"] .board-column,
:root[data-theme="dark"] .report-card-top { background: var(--surface-soft); }
:root[data-theme="dark"] .demo-banner { background: var(--purple-soft); border-color: #4b406d; }
:root[data-theme="dark"] .demo-banner p { color: #c0b7dc; }
:root[data-theme="dark"] .database-state { border-color: #355c42; background: #1d3325; color: #9bd2aa; }
:root[data-theme="dark"] .database-state.offline { border-color: #655534; background: #322a1c; color: #e0bd75; }
:root[data-theme="dark"] .live-record-pill { background: #1d3325; color: #9bd2aa; }
:root[data-theme="dark"] .modal .invite-platforms label,
:root[data-theme="dark"] .pending-platform-list > span { background: var(--surface-soft); }
:root[data-theme="dark"] .outlook-banner { background: #172634; border-color: #29445b; }
:root[data-theme="dark"] .outlook-banner p { color: #9bb2c7; }
:root[data-theme="dark"] .integration-kicker { color: #73afe3; }
:root[data-theme="dark"] .campaign-status.live,
:root[data-theme="dark"] .stage-pill.won { background: #17372a; color: var(--green); }
:root[data-theme="dark"] .campaign-status.review,
:root[data-theme="dark"] .stage-pill.negotiation { background: #3b2b19; color: #efb06a; }
:root[data-theme="dark"] .stage-pill.new { background: #172c3b; color: #7db5df; }
:root[data-theme="dark"] .email-avatar { background: #18344b; color: #82b9e5; }
:root[data-theme="dark"] .milestone-row .done i,
:root[data-theme="dark"] .deliverable-checklist .done > i { background: #17372a; }
:root[data-theme="dark"] .media-kit-stage { background: #090a08; }
:root[data-theme="dark"] .media-kit-stage-bar { color: #8e9388; }
:root[data-theme="dark"] .performance-chart .grid-line { stroke: var(--line); }
:root[data-theme="dark"] .performance-chart .chart-point { fill: var(--surface); }
:root[data-theme="dark"] .donut::after { background: var(--surface); }
:root[data-theme="dark"] td,
:root[data-theme="dark"] .deliverable,
:root[data-theme="dark"] .talent-stats,
:root[data-theme="dark"] .talent-stats div,
:root[data-theme="dark"] .campaign-meta,
:root[data-theme="dark"] .report-card-footer,
:root[data-theme="dark"] .connection-row,
:root[data-theme="dark"] .preview-chart { border-color: var(--line); }
:root[data-theme="dark"] td { color: var(--muted); }
:root[data-theme="dark"] .mini-platform,
:root[data-theme="dark"] .campaign-avatars span { border-color: var(--surface); }
:root[data-theme="dark"] .preview-metrics i,
:root[data-theme="dark"] .audience-bar,
:root[data-theme="dark"] .progress-track { background: var(--line); }
:root[data-theme="dark"] .status-pill.due,
:root[data-theme="dark"] .connection-orb.warning { background: #3b2b19; color: #efb06a; }
:root[data-theme="dark"] .connection-orb.success,
:root[data-theme="dark"] .permission > span,
:root[data-theme="dark"] .connected-check,
:root[data-theme="dark"] .toast > span { background: #17372a; color: var(--green); }
:root[data-theme="dark"] .connection-orb.neutral { background: var(--purple-soft); }
:root[data-theme="dark"] .connection-action.warning { background: #2f2317; border-color: #684725; color: #efb06a; }
:root[data-theme="dark"] .report-feature { border: 1px solid var(--line); }
:root[data-theme="dark"] .preview-title,
:root[data-theme="dark"] .preview-top span:first-child { background: var(--ink); }
:root[data-theme="dark"] .preview-sub { background: var(--line-dark); }
:root[data-theme="dark"] .modal-backdrop { background: rgba(4, 5, 3, .72); }
:root[data-theme="dark"] .notification-button span { border-color: var(--surface); }
:root[data-theme="dark"] .mobile-menu span { background: var(--ink); }
:root[data-theme="dark"] .metric-card.highlight .metric-value { color: white; }
:root[data-theme="dark"] .primary-button,
:root[data-theme="dark"] .oauth-button { background: var(--lime); color: #171915; }
:root[data-theme="dark"] .primary-button:hover,
:root[data-theme="dark"] .oauth-button:hover { background: var(--lime-dark); }

@media (max-width: 1120px) {
  .app-shell { grid-template-columns: 215px minmax(0, 1fr); }
  .sidebar { padding-left: 12px; padding-right: 12px; }
  .main-content { padding-left: 24px; padding-right: 24px; }
  .global-search { display: none; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .overview-grid, .bottom-grid { grid-template-columns: 1fr; }
  .talent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .campaign-board { grid-template-columns: 1fr 1fr; }
  .lead-table-head, .lead-row { grid-template-columns: 1.4fr .65fr .7fr .7fr .85fr 20px; }
  .lead-table-head > *:nth-child(5), .lead-row > *:nth-child(5) { display: none; }
  .platform-card .donut-area { justify-content: center; }
}

@media (max-width: 760px) {
  .auth-gate { display: block; overflow: auto; min-height: 100vh; }
  .auth-brand-panel { min-height: 255px; padding: 30px 25px; }
  .auth-message { margin: auto 0 0; }
  .auth-message h1 { margin: 12px 0 10px; font-size: 37px; }
  .auth-message p { max-width: 330px; font-size: 12px; line-height: 1.5; }
  .auth-security { display: none; }
  .auth-butterfly { right: 5%; bottom: 8%; transform: scale(.72) rotate(-12deg); transform-origin: bottom right; opacity: .45; }
  .auth-form-panel { min-height: calc(100vh - 255px); padding: 38px 25px 50px; align-items: start; }
  .auth-language-switch { top: 18px; right: 20px; }
  .auth-form h2 { font-size: 31px; }
  .auth-form > p:not(.auth-error) { margin-bottom: 25px; }
  .app-shell { display: block; }
  .sidebar { position: fixed; left: 0; width: 248px; transform: translateX(-105%); transition: .25s ease; box-shadow: 20px 0 50px rgba(0,0,0,.25); }
  .sidebar.open { transform: translateX(0); }
  .main-content { padding: 0 16px 35px; }
  .topbar { min-height: 82px; margin-bottom: 23px; }
  .mobile-menu { width: 37px; height: 37px; display: grid; place-content: center; gap: 4px; border: 1px solid var(--line); border-radius: 10px; background: white; }
  .mobile-menu span { width: 16px; height: 1.5px; background: var(--ink); }
  .topbar-title { min-width: 0; }
  .topbar-title h1 { font-size: 18px; }
  .topbar-title p { font-size: 8px; }
  .notification-button { display: none; }
  .app-language-switch { display: none; }
  .primary-button { padding: 0 12px; }
  .topbar-actions .primary-button { font-size: 0; }
  .topbar-actions .primary-button svg { margin: 0; }
  .section-heading { align-items: flex-start; }
  .overview-heading { display: grid; }
  .period-switcher { justify-self: start; }
  .metrics-grid, .talent-grid, .campaign-stats, .campaign-board, .connection-summary, .reports-grid, .lead-stats { grid-template-columns: 1fr; }
  .metric-card { min-height: 125px; }
  .donut-area { flex-direction: column; }
  .platform-legend { width: 100%; }
  .bottom-grid { display: block; }
  .deliverables-card { margin-top: 12px; }
  .filter-bar { align-items: stretch; flex-direction: column; }
  .roster-search { width: 100%; }
  .filter-chips { overflow-x: auto; padding-bottom: 3px; }
  .filter-chips button { flex: 0 0 auto; }
  .filter-bar select { width: 100%; margin: 0; }
  .database-banner { align-items: flex-start; flex-wrap: wrap; }
  .database-banner p { flex-basis: calc(100% - 90px); }
  .database-state { margin-left: 0; }
  .campaign-toolbar, .lead-toolbar { align-items: stretch; flex-direction: column; }
  .campaign-toolbar > span { padding-left: 2px; }
  .outlook-banner { grid-template-columns: 44px 1fr; }
  .outlook-mark { width: 42px; height: 42px; }
  .outlook-state { grid-column: 2; display: flex; justify-content: space-between; align-items: center; width: 100%; }
  .lead-table-head { display: none; }
  .lead-table { overflow: visible; border: 0; background: transparent; }
  .lead-row { grid-template-columns: 1fr auto 16px; gap: 10px; margin-bottom: 8px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
  .lead-row > *:nth-child(3), .lead-row > *:nth-child(4), .lead-row > *:nth-child(5), .lead-row > *:nth-child(6) { display: none; }
  .media-kit-layout { grid-template-columns: 1fr; }
  .media-kit-controls { position: static; }
  .media-kit-stage { overflow: hidden; }
  .media-kit-preview { min-width: 0; }
  .report-feature { grid-template-columns: 1fr; }
  .report-feature > div:first-child { padding: 28px; }
  .report-feature h2 { font-size: 22px; }
  .report-preview { display: none; }
  .consent-banner { grid-template-columns: 38px 1fr; }
  .consent-banner button { grid-column: 2; justify-self: start; }
  .connection-head { display: none; }
  .connection-row { grid-template-columns: 1fr auto; gap: 8px; }
  .connection-row > *:nth-child(3), .connection-row > *:nth-child(4) { display: none; }
  .settings-layout { grid-template-columns: 1fr; }
  .settings-layout nav { display: flex; overflow-x: auto; }
  .settings-layout nav button { flex: 0 0 auto; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .modal { padding: 25px; }
  .invite-platforms { grid-template-columns: 1fr; }
  .detail-drawer { padding: 25px 20px; }
  .drawer-actions { bottom: -25px; margin: 6px -20px -25px; padding: 13px 20px 17px; }
  .drawer-kpis-four { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 430px) {
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metric-card { padding: 15px; min-height: 125px; }
  .metric-value { font-size: 23px; }
  .metric-footer { font-size: 8px; }
  .chart-card, .platform-card, .talent-table-card, .deliverables-card { padding: 16px; }
  .chart-total small { display: none; }
  .performance-chart { height: 160px; }
  .talent-table-card th:nth-child(3), .talent-table-card td:nth-child(3), .talent-table-card th:nth-child(5), .talent-table-card td:nth-child(5) { display: none; }
  .drawer-kpis { grid-template-columns: 1fr; }
  .talent-platform-row { grid-template-columns: 24px 1fr auto; }
  .talent-platform-row small:last-child { display: none; }
  .campaign-live-metrics { grid-template-columns: 1fr 1fr; }
  .campaign-live-metrics div:last-child { grid-column: 1 / -1; }
  .campaign-dates { flex-wrap: wrap; }
  .campaign-dates span { width: 100%; margin: 0; }
  .audience-split { grid-template-columns: 1fr; }
  .country-list { grid-template-columns: 1fr 1fr; }
  .milestone-row { grid-template-columns: repeat(4, minmax(58px,1fr)); overflow-x: auto; }
  .campaign-talent-list button { grid-template-columns: 42px 1fr 15px; }
  .campaign-talent-list .mini-platforms { display: none; }
  .drawer-actions { grid-template-columns: 1fr; }
  .media-kit-preview { min-width: 0; }
  .kit-hero { gap: 16px; min-height: 225px; padding: 27px 23px 23px; }
  .kit-hero h1 { font-size: 29px; }
  .kit-hero blockquote { font-size: 12px; }
  .kit-metrics div { padding: 13px 10px; }
  .kit-metrics strong { font-size: 17px; }
  .kit-section { padding-left: 23px; padding-right: 23px; }
  .kit-footer { padding-left: 23px; padding-right: 23px; }
  .toast { left: 15px; right: 15px; min-width: 0; }
}
