    :root {
      --ink: #244538;
      --muted: #6b8075;
      --line: #d8e7dc;
      --canvas: #f2f8f3;
      --paper: #ffffff;
      --forest: #3e735b;
      --forest-2: #67a17f;
      --mint: #e0f1e5;
      --lime: #d8ecb7;
      --sun: #e8bc74;
      --coral: #da9279;
      --blue: #7099c7;
      --shadow: 0 14px 45px rgba(43, 87, 64, .10);
      --radius: 8px;
    }

    * { box-sizing: border-box; }
    body { margin: 0; font-family: "DM Sans", sans-serif; color: var(--ink); background: var(--canvas); }
    button, input, select { font: inherit; }
    button { cursor: pointer; }
    [hidden] { display: none !important; }

    .login-screen {
      min-height: 100vh;
      display: grid;
      grid-template-columns: minmax(360px, 44%) 1fr;
      background: #f0f8f1;
    }
    .login-panel { padding: clamp(32px, 6vw, 88px); display: flex; flex-direction: column; justify-content: center; }
    .brand { display: flex; align-items: center; gap: 12px; font-family: Manrope, sans-serif; font-weight: 800; font-size: 21px; }
    .brand-mark { width: 40px; height: 40px; display: grid; place-items: center; background: var(--forest-2); border: 1px solid rgba(255,255,255,.38); border-radius: 8px; overflow: hidden; }
    .brand-mark img { width: 29px; height: 34px; object-fit: contain; }
    .login-copy { max-width: 470px; margin: 76px 0 36px; }
    .eyebrow { color: var(--forest-2); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
    .login-copy h1 { font-family: Manrope, sans-serif; font-size: clamp(38px, 4.7vw, 68px); line-height: 1.03; letter-spacing: 0; margin: 14px 0 20px; }
    .login-copy p { color: var(--muted); font-size: 17px; line-height: 1.65; }
    .login-form { width: min(100%, 430px); display: grid; gap: 14px; }
    .field { display: grid; gap: 7px; }
    .field label { font-size: 13px; font-weight: 700; }
    .field input { height: 48px; border: 1px solid #ccd7d0; border-radius: 7px; padding: 0 14px; background: white; outline: none; }
    .field input:focus { border-color: var(--forest-2); box-shadow: 0 0 0 3px rgba(36, 112, 82, .12); }
    .primary-button { height: 48px; border: 0; border-radius: 7px; background: var(--forest); color: white; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
    .primary-button:hover { background: #2f604a; }
    .login-note { margin-top: 16px; color: var(--muted); font-size: 12px; }
    .login-visual { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 8%; background: #78a78c; }
    .login-visual::before { content: ""; position: absolute; inset: 0; opacity: .17; background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px); background-size: 48px 48px; }
    .visual-stack { width: min(680px, 100%); position: relative; z-index: 1; }
    .visual-kicker { color: var(--lime); font-weight: 700; margin-bottom: 20px; }
    .visual-stack h2 { color: white; font-family: Manrope, sans-serif; font-size: clamp(30px, 3.4vw, 54px); line-height: 1.1; margin: 0 0 34px; }
    .mini-dashboard { background: rgba(255,255,255,.96); border-radius: 8px; padding: 22px; box-shadow: 0 28px 90px rgba(0,0,0,.25); transform: rotate(-1deg); }
    .mini-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
    .mini-bars { height: 170px; display: flex; gap: 18px; align-items: end; border-bottom: 1px solid var(--line); padding: 0 16px; }
    .mini-bar { flex: 1; min-width: 24px; background: var(--forest-2); border-radius: 4px 4px 0 0; transform-origin: bottom; animation: grow-bar .9s cubic-bezier(.2,.8,.2,1) both; }
    .mini-bar:nth-child(2) { animation-delay: .08s; }
    .mini-bar:nth-child(3) { animation-delay: .16s; }
    .mini-bar:nth-child(4) { animation-delay: .24s; }
    .mini-bar:nth-child(5) { animation-delay: .32s; }
    .mini-bar:nth-child(6) { animation-delay: .4s; }
    .mini-bar:nth-child(2) { background: var(--sun); }
    .mini-bar:nth-child(4) { background: var(--coral); }
    .mini-bar:nth-child(6) { background: var(--blue); }

    .app-shell { min-height: 100vh; display: grid; grid-template-columns: 228px minmax(0, 1fr); }
    .sidebar { background: #365f4c; color: #e1eee4; padding: 20px 14px; position: fixed; inset: 0 auto 0 0; width: 228px; display: flex; flex-direction: column; z-index: 20; }
    .sidebar .brand { color: white; padding: 0 8px 22px; border-bottom: 1px solid rgba(255,255,255,.1); }
    .sidebar .brand-mark { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.17); }
    .nav-label { color: #b0cbb9; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin: 24px 10px 8px; }
    .nav { display: grid; gap: 4px; }
    .nav-button { width: 100%; border: 0; background: transparent; color: #d0dfd5; display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 6px; text-align: left; font-weight: 600; font-size: 14px; }
    .nav-button:hover, .nav-button.active { background: rgba(226,244,229,.16); color: white; }
    .nav-button.active { box-shadow: inset 3px 0 var(--lime); }
    .nav-button svg { width: 18px; height: 18px; }
    .future-dot { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: #f2ce86; }
    .sidebar-bottom { margin-top: auto; padding: 12px 8px 0; border-top: 1px solid rgba(255,255,255,.1); }
    .user-chip { display: flex; align-items: center; gap: 10px; }
    .avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: #173a2d; font-weight: 800; }
    .user-chip strong { display: block; color: white; font-size: 13px; }
    .user-chip span { font-size: 11px; color: #c2d7c8; }

    .main { grid-column: 2; min-width: 0; }
    .topbar { height: 66px; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 28px; position: sticky; top: 0; z-index: 15; backdrop-filter: blur(12px); }
    .mobile-menu { display: none; border: 0; background: transparent; }
    .scope-switch { display: inline-flex; background: #edf2ee; padding: 4px; border-radius: 7px; gap: 2px; }
    .scope-switch button { border: 0; background: transparent; padding: 7px 12px; border-radius: 5px; color: var(--muted); font-size: 12px; font-weight: 700; }
    .scope-switch button.active { background: white; color: var(--forest); box-shadow: 0 2px 8px rgba(23,79,59,.1); }
    .top-actions { display: flex; gap: 10px; align-items: center; }
    .select { height: 36px; border: 1px solid var(--line); border-radius: 6px; background: white; padding: 0 34px 0 11px; color: var(--ink); font-weight: 600; font-size: 12px; }
    .icon-button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 6px; background: white; display: grid; place-items: center; color: var(--muted); }
    .icon-button svg { width: 17px; }

    .content { padding: 28px; max-width: 1600px; margin: 0 auto; }
    .page { display: none; animation: enter .36s ease both; }
    .page.active { display: block; }
    @keyframes enter { from { opacity: 0; transform: translateY(8px); } }
    .page-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 24px; }
    .page-head h1 { font-family: Manrope, sans-serif; font-size: 28px; margin: 5px 0 4px; }
    .page-head p { color: var(--muted); margin: 0; font-size: 14px; }
    .phase-badge { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #b9d6c7; color: var(--forest-2); background: #eef8f2; padding: 6px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; }
    .phase-badge.future { border-color: #f1d29a; color: #8b5a0c; background: #fff8e9; }

    .kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
    .card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 4px 16px rgba(24,52,39,.035); }
    .kpi { padding: 18px; min-height: 132px; position: relative; overflow: hidden; animation: rise-in .55s cubic-bezier(.2,.8,.2,1) both; }
    .kpi:nth-child(2) { animation-delay: .07s; }
    .kpi:nth-child(3) { animation-delay: .14s; }
    .kpi:nth-child(4) { animation-delay: .21s; }
    .kpi::after { content: ""; width: 72px; height: 72px; border: 14px solid var(--mint); border-radius: 50%; position: absolute; right: -20px; bottom: -25px; }
    .kpi-icon { width: 34px; height: 34px; border-radius: 7px; background: var(--mint); color: var(--forest); display: grid; place-items: center; margin-bottom: 16px; }
    .kpi-icon svg { width: 17px; }
    .kpi-label { color: var(--muted); font-size: 12px; font-weight: 700; }
    .kpi-value { font-family: Manrope, sans-serif; font-size: 25px; font-weight: 800; margin-top: 4px; }
    .trend { font-size: 11px; color: var(--forest-2); font-weight: 700; }
    .trend.down { color: #b84f35; }

    .dashboard-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; margin-top: 14px; }
    .panel { padding: 20px; min-width: 0; }
    .panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 20px; }
    .panel-head h2 { font-family: Manrope, sans-serif; font-size: 16px; margin: 0; }
    .panel-head span { color: var(--muted); font-size: 11px; }
    .legend { display: flex; gap: 15px; color: var(--muted); font-size: 11px; }
    .legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 5px; }

    .line-chart { height: 250px; position: relative; overflow: hidden; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent 0, transparent 61px, #edf1ee 62px); }
    .chart-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
    .chart-area { opacity: 0; animation: fade-in .7s ease .28s forwards; }
    .chart-line { stroke-dasharray: 850; stroke-dashoffset: 850; animation: draw-line 1.3s cubic-bezier(.2,.8,.2,1) .12s forwards; }
    .chart-line.secondary { animation-delay: .38s; }
    .chart-point { opacity: 0; animation: point-in .28s ease forwards; }
    .chart-point:nth-of-type(1) { animation-delay: .8s; }
    .chart-point:nth-of-type(2) { animation-delay: .92s; }
    .chart-point:nth-of-type(3) { animation-delay: 1.04s; }
    .chart-point:nth-of-type(4) { animation-delay: 1.16s; }
    .chart-point:nth-of-type(5) { animation-delay: 1.28s; }
    .chart-forecast { stroke-dasharray: 6 7; animation: forecast-flow 1.3s linear infinite; }
    .chart-labels { display: flex; justify-content: space-between; padding-top: 8px; color: #89938d; font-size: 10px; }
    .donut-wrap { display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 20px; min-height: 250px; }
    .donut { width: 160px; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--forest-2) 0 58%, var(--blue) 58% 100%); position: relative; }
    .donut::after { content: ""; position: absolute; inset: 31px; background: white; border-radius: 50%; }
    .donut-center { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; text-align: center; font-weight: 800; }
    .donut-center small { display: block; color: var(--muted); font-size: 10px; font-weight: 600; }
    .channel-list { display: grid; gap: 16px; }
    .channel-row { display: grid; grid-template-columns: 1fr auto; gap: 4px; }
    .channel-row span { font-size: 12px; color: var(--muted); }
    .channel-row strong { font-size: 13px; }

    .intelligence-band { display: grid; grid-template-columns: minmax(240px, 1.05fr) minmax(320px, 1.7fr); gap: 20px; margin-top: 14px; padding: 20px; background: #f8fcf8; position: relative; overflow: hidden; }
    .intelligence-band::after { content: ""; position: absolute; width: 300px; aspect-ratio: 1; right: -120px; top: -176px; border: 38px solid #e5f2e8; border-radius: 50%; opacity: .85; }
    .intelligence-intro, .signal-grid { position: relative; z-index: 1; }
    .signal-kicker { display: flex; align-items: center; gap: 7px; color: #88621a; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
    .signal-kicker svg { width: 14px; height: 14px; }
    .intelligence-intro h2 { margin: 10px 0 6px; font-family: Manrope, sans-serif; font-size: 19px; }
    .intelligence-intro p { max-width: 420px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
    .signal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
    .signal-card { padding: 13px; border: 1px solid #d7e6db; border-radius: 7px; background: rgba(255,255,255,.88); backdrop-filter: blur(8px); }
    .signal-card-top { display: flex; justify-content: space-between; gap: 8px; align-items: start; }
    .signal-card strong { display: block; font-size: 12px; line-height: 1.35; }
    .signal-card small { display: block; color: var(--muted); font-size: 10px; line-height: 1.4; margin-top: 5px; }
    .signal-score { min-width: 31px; height: 23px; display: grid; place-items: center; border-radius: 5px; background: #e5f3e8; color: #297251; font-size: 10px; font-weight: 800; }
    .signal-score.watch { background: #fff2db; color: #9a6b1f; }
    .signal-meter { display: flex; gap: 3px; margin-top: 13px; }
    .signal-meter i { height: 4px; flex: 1; border-radius: 999px; background: #e3ece5; }
    .signal-meter i.on { background: var(--forest-2); }
    .signal-meter.watch i.on { background: var(--sun); }

    .table-card { margin-top: 14px; overflow: hidden; }
    .table-toolbar { padding: 16px 18px; display: flex; gap: 10px; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
    .search { height: 36px; min-width: 250px; border: 1px solid var(--line); border-radius: 6px; padding: 0 12px; }
    table { border-collapse: collapse; width: 100%; font-size: 12px; }
    th { text-align: left; color: var(--muted); background: #f8faf8; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; padding: 11px 16px; }
    td { padding: 13px 16px; border-top: 1px solid #edf1ee; white-space: nowrap; }
    tr:hover td { background: #fbfdfb; }
    .status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 7px; border-radius: 999px; background: #e9f6ef; color: #1c6e4d; font-size: 10px; font-weight: 800; }
    .status.paused { color: #876016; background: #fff4da; }

    .campaign-brief { display: grid; grid-template-columns: 1.35fr repeat(2, minmax(180px, .82fr)); gap: 14px; margin-bottom: 14px; }
    .campaign-spotlight { min-height: 190px; padding: 20px; background: #f3faf5; border-color: #cce1d2; position: relative; overflow: hidden; }
    .campaign-spotlight::after { content: ""; position: absolute; width: 250px; height: 250px; right: -96px; top: -150px; border: 34px solid #dcefe1; border-radius: 50%; }
    .spotlight-copy, .campaign-bars { position: relative; z-index: 1; }
    .spotlight-label { display: flex; align-items: center; gap: 6px; color: var(--forest-2); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
    .spotlight-label svg { width: 14px; height: 14px; }
    .campaign-spotlight h2 { max-width: 330px; margin: 8px 0 6px; font-family: Manrope, sans-serif; font-size: 20px; line-height: 1.22; }
    .campaign-spotlight p { max-width: 330px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
    .campaign-bars { height: 45px; display: flex; align-items: end; gap: 5px; margin-top: 18px; }
    .campaign-bars i { width: 12px; border-radius: 4px 4px 0 0; background: #a9cfb4; animation: grow-bar .7s cubic-bezier(.2,.8,.2,1) both; transform-origin: bottom; }
    .campaign-bars i:nth-child(2) { background: var(--sun); animation-delay: .06s; }
    .campaign-bars i:nth-child(3) { animation-delay: .12s; }
    .campaign-bars i:nth-child(4) { background: var(--coral); animation-delay: .18s; }
    .campaign-bars i:nth-child(5) { animation-delay: .24s; }
    .campaign-bars i:nth-child(6) { background: var(--forest); animation-delay: .3s; }
    .campaign-insight { padding: 18px; display: flex; flex-direction: column; justify-content: space-between; min-height: 190px; }
    .campaign-insight-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 7px; background: #fff2dc; color: #a86e16; }
    .campaign-insight-icon.green { background: #e5f3e8; color: #2b8057; }
    .campaign-insight-icon svg { width: 18px; height: 18px; }
    .campaign-insight span { color: var(--muted); font-size: 11px; font-weight: 700; }
    .campaign-insight strong { display: block; margin-top: 5px; font-family: Manrope, sans-serif; font-size: 20px; }
    .campaign-insight small { display: block; color: var(--muted); font-size: 10px; line-height: 1.45; }
    .campaign-workspace { overflow: hidden; }
    .campaign-toolbar { padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); }
    .campaign-toolbar-copy strong { display: block; font-size: 13px; }
    .campaign-toolbar-copy span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
    .campaign-filter-group { display: flex; gap: 5px; padding: 4px; border: 1px solid var(--line); border-radius: 7px; background: #f6faf7; }
    .campaign-filter { height: 29px; border: 0; border-radius: 5px; padding: 0 9px; color: var(--muted); background: transparent; font-size: 10px; font-weight: 800; }
    .campaign-filter.active { color: var(--forest); background: white; box-shadow: 0 1px 5px rgba(43, 87, 64, .11); }
    .campaign-filter:hover { color: var(--forest); }
    .campaign-controls { padding: 13px 18px; display: flex; align-items: center; gap: 9px; background: #fbfdfb; border-bottom: 1px solid var(--line); }
    .campaign-controls .search { flex: 1; min-width: 0; }
    .campaign-count { color: var(--muted); font-size: 10px; font-weight: 700; white-space: nowrap; }
    .campaign-table th:first-child, .campaign-table td:first-child { padding-left: 18px; }
    .campaign-table th:last-child, .campaign-table td:last-child { padding-right: 18px; }
    .campaign-name { display: flex; align-items: center; gap: 10px; }
    .campaign-platform-icon { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 6px; font-size: 10px; font-weight: 900; }
    .campaign-platform-icon.meta { background: #e8f0ff; color: #2c67d6; }
    .campaign-platform-icon.google { background: #fff0e8; color: #cf5736; }
    .campaign-name strong { display: block; font-size: 12px; }
    .campaign-name small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
    .platform-tag { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 11px; font-weight: 700; }
    .platform-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
    .platform-tag.google i { background: var(--coral); }
    .performance { min-width: 92px; }
    .performance-top { display: flex; justify-content: space-between; gap: 8px; color: var(--ink); font-size: 11px; font-weight: 800; }
    .performance-track { height: 5px; margin-top: 6px; overflow: hidden; border-radius: 999px; background: #e5eee7; }
    .performance-track i { display: block; height: 100%; border-radius: inherit; background: var(--forest-2); }
    .performance-track.gold i { background: var(--sun); }
    .campaign-empty { padding: 34px !important; text-align: center; color: var(--muted); white-space: normal; }

    .source-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
    .source-card { padding: 20px; min-height: 210px; display: flex; flex-direction: column; }
    .source-top { display: flex; justify-content: space-between; align-items: start; }
    .source-logo { width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; font-weight: 900; background: #e9effc; color: var(--blue); }
    .source-logo.meta { background: #e8f0ff; color: #2f67d4; }
    .source-logo.google { background: #fff1e7; color: #d3562e; }
    .source-logo.excel { background: #e5f4ea; color: #187447; }
    .source-logo.outlook { background: #e7f3ff; color: #1866b1; }
    .source-logo.whatsapp { background: #e5f8eb; color: #168745; }
    .source-logo.warehouse { background: #f0eaf9; color: #7048a0; }
    .source-card h3 { margin: 18px 0 5px; font-family: Manrope, sans-serif; font-size: 15px; }
    .source-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
    .source-meta { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 10px; }
    .text-button { border: 0; background: transparent; color: var(--forest-2); font-weight: 800; padding: 5px; }
    .connect-button { border: 1px solid var(--line); background: white; color: var(--ink); padding: 7px 10px; border-radius: 6px; font-size: 11px; font-weight: 800; }

      .health-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
      .health-card { padding: 16px 18px; display: flex; align-items: center; gap: 13px; }
      .health-icon { width: 38px; height: 38px; border-radius: 8px; background: var(--mint); color: var(--forest); display: grid; place-items: center; flex: 0 0 auto; }
      .health-icon.pending { background: #fff4de; color: #a16b18; }
      .health-card strong { display: block; font-family: Manrope, sans-serif; font-size: 17px; }
      .health-card span { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
      .pipeline-board { padding: 22px; overflow: hidden; }
      .pipeline-top { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 22px; }
      .pipeline-top h2 { font-family: Manrope, sans-serif; font-size: 17px; margin: 0 0 4px; }
      .pipeline-top p { margin: 0; color: var(--muted); font-size: 12px; }
      .pipeline-flow { display: grid; grid-template-columns: minmax(160px, 1fr) 38px minmax(160px, 1fr) 38px minmax(185px, 1.2fr) 38px minmax(155px, 1fr); align-items: stretch; gap: 0; }
      .pipeline-column { display: grid; gap: 10px; align-content: center; }
      .pipeline-column-label { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 3px; }
      .pipeline-node { background: #f8fcf8; border: 1px solid var(--line); border-radius: 7px; padding: 13px; min-height: 89px; }
      .pipeline-node.connected { border-color: #b9d9c5; background: #f4fbf5; }
      .pipeline-node.hub { background: var(--forest); border-color: var(--forest); color: white; box-shadow: 0 12px 26px rgba(62, 115, 91, .19); padding: 18px; min-height: 188px; display: flex; flex-direction: column; justify-content: center; }
      .node-top { display: flex; align-items: center; gap: 9px; }
      .node-symbol { width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; background: #e5f1e8; color: var(--forest); font-size: 12px; font-weight: 900; flex: 0 0 auto; }
      .node-symbol.meta { background: #e8f0ff; color: #2c67d6; }
      .node-symbol.google { background: #fff0e8; color: #cf5736; }
      .node-symbol.hub-symbol { background: rgba(255,255,255,.16); color: var(--lime); }
      .node-symbol img { width: 17px; height: 20px; object-fit: contain; }
      .pipeline-node h3 { font-size: 13px; margin: 0; }
      .pipeline-node p { font-size: 10px; line-height: 1.45; color: var(--muted); margin: 8px 0 0; }
      .pipeline-node.hub p { color: #dcecdf; }
      .node-checks { display: grid; gap: 5px; margin-top: 10px; }
      .node-check { display: flex; align-items: center; gap: 5px; color: #2b8057; font-size: 9px; font-weight: 800; }
      .node-check svg { width: 12px; height: 12px; }
      .node-check.hub-check { color: #dcecb7; }
      .pipeline-arrow { display: grid; place-items: center; color: #87ad96; }
      .pipeline-arrow svg { width: 21px; height: 21px; }
      .future-lane { display: grid; grid-template-columns: 180px repeat(4, minmax(0, 1fr)); gap: 10px; align-items: stretch; margin-top: 20px; padding-top: 18px; border-top: 1px dashed #c8d9cc; }
      .future-lane-label { padding: 12px; background: #fbf7ec; border: 1px solid #eeddb1; border-radius: 7px; }
      .future-lane-label strong { display: block; color: #7f5b1e; font-size: 12px; }
      .future-lane-label span { display: block; color: #96703a; font-size: 10px; line-height: 1.45; margin-top: 4px; }
      .future-node { padding: 12px; background: #fffdf8; border: 1px solid #eee3cb; border-radius: 7px; }
      .future-node strong { font-size: 11px; }
      .future-node span { display: block; color: #8e774f; font-size: 9px; line-height: 1.4; margin-top: 5px; }

    .connector-board { margin-top: 14px; padding: 22px; overflow: hidden; }
    .connector-board-head { display: flex; justify-content: space-between; gap: 20px; align-items: start; margin-bottom: 20px; }.connector-board-head h2 { margin: 9px 0 5px; font-family: Manrope, sans-serif; font-size: 18px; }.connector-board-head p { max-width: 600px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
    .connector-board-note { display: inline-flex; align-items: center; gap: 6px; margin-top: 3px; color: var(--muted); font-size: 10px; white-space: nowrap; }.connector-board-note svg { width: 15px; height: 15px; }
    .connector-canvas-wrap { overflow-x: auto; border: 1px solid #d4e4d8; border-radius: 8px; background: #f8fcf9; }
    .connector-canvas { min-width: 960px; min-height: 430px; position: relative; overflow: hidden; background-color: #f8fcf9; background-image: radial-gradient(#cfe0d3 1px, transparent 1px); background-size: 16px 16px; }
    .connector-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }.connector-lines path { fill: none; stroke-width: 2.5; }.connector-lines circle { fill: #fff; stroke: #96c3a2; stroke-width: 2; }.connector-line.active { stroke: #4e9a6b; stroke-dasharray: 6 7; animation: connector-flow 1.1s linear infinite; }.connector-line.delayed { animation-delay: -.55s; }.connector-line.pending { stroke: #c7cdd0; stroke-dasharray: 5 7; }
    .connector-node { width: 190px; position: absolute; z-index: 2; padding: 13px; border: 1px solid #b9d9c4; border-radius: 8px; background: #fff; box-shadow: 0 7px 18px rgba(36, 77, 53, .09); cursor: default; user-select: none; transition: box-shadow .15s, border-color .15s; }.connector-node:hover { box-shadow: 0 11px 24px rgba(36, 77, 53, .13); }.connector-node.dragging { z-index: 4; border-color: var(--forest-2); box-shadow: 0 15px 30px rgba(36, 77, 53, .2); }.connector-node.intelligence-connector { width: 215px; padding: 17px; border-color: var(--forest); background: var(--forest); color: #fff; box-shadow: 0 14px 28px rgba(33, 80, 55, .25); }.connector-node.pending-connector { width: 195px; border-color: #d7dbdd; background: #f5f6f6; color: #7a8386; filter: grayscale(.4); }
    .connector-handle { position: absolute; top: 7px; right: 7px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 4px; color: #91a69a; cursor: grab; touch-action: none; }.connector-handle:active { cursor: grabbing; }.connector-handle svg { width: 15px; height: 15px; }.intelligence-connector .connector-handle { color: #c8dfcf; }
    .connector-node-top { display: flex; align-items: center; gap: 8px; padding-right: 18px; }.connector-node-top strong { display: block; font-size: 12px; }.connector-node-top small { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; line-height: 1.35; }.intelligence-connector .connector-node-top small { color: #d7eadb; }
    .connector-symbol { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 7px; font-size: 12px; font-weight: 900; }.connector-symbol.meta { background: #e8f0ff; color: #2c67d6; }.connector-symbol.google { background: #fff0e8; color: #cf5736; }.connector-symbol.intelligence { background: rgba(255,255,255,.16); }.connector-symbol.intelligence img { width: 17px; height: 20px; }.connector-symbol.outlook { background: #e3e8ea; color: #7e898d; }.connector-symbol svg { width: 16px; height: 16px; }
    .connector-state { margin-left: auto; color: #32915e; }.connector-state svg { width: 15px; height: 15px; }.intelligence-connector .connector-state { color: var(--lime); }.connector-pending { margin-left: auto; color: #9aa3a6; }.connector-pending svg { width: 14px; height: 14px; }
    .connector-node-status { display: flex; align-items: center; gap: 5px; margin-top: 12px; color: #31845a; font-size: 9px; font-weight: 800; }.connector-node-status svg { width: 12px; height: 12px; }.pending-connector .connector-node-status { color: #858e91; }
    .connector-upload, .connector-disabled { width: 100%; height: 30px; display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 10px; border-radius: 5px; font-size: 10px; font-weight: 800; }.connector-upload { border: 1px solid #bad7c3; background: #f1faf3; color: var(--forest); }.connector-upload:hover { border-color: var(--forest-2); background: #e6f5ea; }.connector-upload svg, .connector-disabled svg { width: 13px; height: 13px; }.connector-disabled { border: 1px solid #d7dcde; background: #eaedee; color: #90999c; }.connector-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
    .intelligence-checks { display: grid; gap: 6px; margin-top: 15px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.18); }.intelligence-checks span { display: flex; align-items: center; gap: 6px; color: #d8ebdd; font-size: 9px; font-weight: 700; }.intelligence-checks svg { width: 12px; height: 12px; color: var(--lime); }
    .connector-drop-zone { position: absolute; left: 710px; top: 60px; width: 210px; height: 115px; display: grid; place-content: center; justify-items: center; border: 1.5px dashed #adc5b3; border-radius: 8px; color: #67806e; background: rgba(255,255,255,.44); text-align: center; }.connector-drop-zone svg { width: 18px; height: 18px; }.connector-drop-zone strong { margin-top: 5px; font-size: 11px; }.connector-drop-zone span { margin-top: 3px; color: #809087; font-size: 9px; }
    .connector-footer { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; color: var(--muted); font-size: 10px; font-weight: 700; }.connector-footer span { display: inline-flex; align-items: center; gap: 5px; }.connector-footer svg { width: 14px; height: 14px; }.connector-footer span:first-child { color: #307a54; }.connector-footer span:last-child { color: #947044; }

    .funnel { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; align-items: stretch; }
    .funnel-step { padding: 18px 14px; background: white; border: 1px solid var(--line); position: relative; min-height: 120px; }
    .funnel-step:not(:last-child)::after { content: ""; position: absolute; right: -9px; top: 49px; width: 16px; height: 16px; background: white; border-top: 1px solid var(--line); border-right: 1px solid var(--line); transform: rotate(45deg); z-index: 2; }
    .funnel-step:first-child { border-radius: 8px 0 0 8px; }
    .funnel-step:last-child { border-radius: 0 8px 8px 0; }
    .funnel-step small { color: var(--muted); font-weight: 700; }
    .funnel-step strong { display: block; font-family: Manrope, sans-serif; font-size: 23px; margin: 11px 0 4px; }
    .funnel-step span { color: var(--forest-2); font-size: 10px; font-weight: 700; }

    .sidebar-backdrop { display: none; }
    .admissions-status { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 10px; border: 1px solid #ecd8ad; border-radius: 7px; background: #fffaf0; color: #855e1a; font-size: 10px; font-weight: 800; }
    .admissions-status svg { width: 15px; height: 15px; }
    .admissions-hero { display: grid; grid-template-columns: minmax(0, 1.45fr) 260px; gap: 24px; align-items: center; margin-bottom: 14px; padding: 24px 26px; overflow: hidden; border: 1px solid #c6dfce; border-radius: 8px; background: linear-gradient(112deg, #eef8f0 0%, #f9fcf7 67%, #fff9eb 100%); position: relative; }
    .admissions-hero h2 { max-width: 620px; margin: 8px 0; font-family: Manrope, sans-serif; font-size: 24px; line-height: 1.25; }
    .admissions-hero p { max-width: 645px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
    .admissions-kicker { display: inline-flex; align-items: center; gap: 6px; color: #85621e; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
    .admissions-kicker svg { width: 14px; height: 14px; }
    .admissions-proof { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 17px; }
    .admissions-proof span { display: inline-flex; align-items: center; gap: 5px; color: var(--forest); font-size: 10px; font-weight: 800; }
    .admissions-proof svg { width: 14px; height: 14px; }
    .admissions-orbit { width: 195px; aspect-ratio: 1; justify-self: center; border: 1px dashed #b5d4c0; border-radius: 50%; position: relative; animation: orbit-float 5s ease-in-out infinite; }
    .admissions-orbit::before, .admissions-orbit::after { content: ""; position: absolute; border: 1px solid #d9eadc; border-radius: 50%; }
    .admissions-orbit::before { inset: 18px; }
    .admissions-orbit::after { inset: 43px; }
    .orbit-center { position: absolute; inset: 55px; z-index: 1; display: grid; place-content: center; justify-items: center; border-radius: 50%; background: var(--forest); color: white; box-shadow: 0 10px 24px rgba(40, 85, 63, .2); }
    .orbit-center svg { width: 19px; color: var(--lime); }
    .orbit-center strong { margin-top: 3px; font-family: Manrope, sans-serif; font-size: 21px; }
    .orbit-center small { color: #d9eadc; font-size: 8px; font-weight: 700; }
    .orbit-dot { position: absolute; z-index: 2; width: 12px; height: 12px; border: 3px solid #fff; border-radius: 50%; background: var(--sun); box-shadow: 0 2px 7px rgba(59, 80, 50, .18); }
    .dot-one { top: 28px; right: 25px; }.dot-two { bottom: 34px; left: 16px; background: var(--blue); }.dot-three { bottom: 13px; right: 51px; background: var(--coral); }
    .admissions-chart { height: 225px; }
    .chart-mini-legend { display: flex; gap: 10px; color: var(--muted); font-size: 10px; font-weight: 700; }
    .chart-mini-legend span { display: inline-flex; align-items: center; gap: 4px; }.chart-mini-legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--forest-2); }.chart-mini-legend span:last-child i { background: var(--blue); }
    .admissions-chart-area { opacity: 0; animation: fade-in .75s ease .35s forwards; }
    .admissions-chart-line { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw-line 1.25s cubic-bezier(.2,.8,.2,1) .14s forwards; }.admissions-chart-line.newhope { animation-delay: .4s; }
    .admissions-chart-point { opacity: 0; fill: white; stroke: var(--forest-2); stroke-width: 3; animation: point-in .25s ease forwards; }.admissions-chart-point:nth-of-type(1) { animation-delay: .75s; }.admissions-chart-point:nth-of-type(2) { animation-delay: .9s; }.admissions-chart-point:nth-of-type(3) { animation-delay: 1.05s; }.admissions-chart-point:nth-of-type(4) { animation-delay: 1.2s; }.admissions-chart-point:nth-of-type(5) { animation-delay: 1.35s; }
    .followups-card { min-width: 0; }
    .followups-live { display: inline-flex; align-items: center; gap: 5px; color: #a1681a; font-size: 10px; font-weight: 800; white-space: nowrap; }.followups-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px #fff2d9; }
    .followup-queues { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
    .followup-queue { display: flex; justify-content: space-between; align-items: center; min-width: 0; padding: 9px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--muted); text-align: left; font-size: 10px; font-weight: 700; }.followup-queue strong { color: var(--ink); font-size: 13px; }.followup-queue.active { border-color: #b8d6c1; background: #f2faf4; color: var(--forest); }.followup-queue:hover { border-color: #9dc4aa; }
    .followup-detail { margin-top: 13px; padding: 13px; border: 1px solid #d8e7dc; border-radius: 7px; background: #f8fcf8; }
    .followup-detail-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; }.followup-detail-label { display: block; color: #88621a; font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }.followup-detail-head strong { display: block; margin-top: 3px; font-size: 12px; }.followup-detail-head > span { color: var(--forest); font-size: 10px; font-weight: 800; white-space: nowrap; }
    .followup-list { display: grid; gap: 7px; margin-top: 11px; }.followup-item { display: grid; grid-template-columns: 27px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px; border: 1px solid #e3ece5; border-radius: 6px; background: white; }.contact-avatar { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: #dff0e4; color: #28704d; font-size: 9px; font-weight: 900; }.contact-avatar.blue { background: #e2edfb; color: #336baf; }.contact-avatar.gold { background: #fff0d7; color: #9e6d17; }.contact-avatar.green { background: #d7efe2; color: #297654; }.followup-item strong { display: block; font-size: 11px; }.followup-item small { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; line-height: 1.35; }.priority-pill { padding: 4px 5px; border-radius: 4px; background: #fff1db; color: #9b6617; font-size: 8px; font-weight: 900; white-space: nowrap; }.priority-pill.urgent { background: #fde7df; color: #ac4f36; }.priority-pill.done { background: #e4f3e8; color: #28734e; }
    .followup-disclaimer { display: flex; gap: 5px; margin-top: 10px; color: #7b6440; font-size: 9px; line-height: 1.45; }.followup-disclaimer svg { width: 13px; height: 13px; flex: 0 0 auto; }

    .scenario-card { padding: 22px; margin-top: 14px; overflow: hidden; position: relative; }
    .scenario-card::before { content: ""; position: absolute; right: -72px; bottom: -105px; width: 285px; height: 285px; border-radius: 50%; border: 34px solid #e5f2e8; }
    .scenario-head, .scenario-grid { position: relative; z-index: 1; }
    .scenario-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 19px; }
    .scenario-head h2 { margin: 0 0 4px; font-family: Manrope, sans-serif; font-size: 17px; }
    .scenario-head p { margin: 0; color: var(--muted); font-size: 11px; }
    .scenario-grid { display: grid; grid-template-columns: minmax(230px, 1fr) repeat(3, minmax(120px, .55fr)); gap: 12px; align-items: stretch; }
    .scenario-control { padding: 16px; background: #f4faf5; border: 1px solid #cfe2d4; border-radius: 7px; }
    .scenario-control label { display: flex; justify-content: space-between; gap: 10px; color: var(--ink); font-size: 12px; font-weight: 800; }
    .scenario-control output { color: var(--forest-2); }
    .scenario-control input { width: 100%; accent-color: var(--forest); margin: 20px 0 9px; }
    .scenario-control small { display: block; color: var(--muted); font-size: 10px; line-height: 1.45; }
    .scenario-result { padding: 16px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255,255,255,.9); }
    .scenario-result span { display: block; color: var(--muted); font-size: 10px; line-height: 1.35; }
    .scenario-result strong { display: block; margin-top: 9px; font-family: Manrope, sans-serif; font-size: 24px; color: var(--forest); }
    .scenario-result em { display: block; margin-top: 3px; color: var(--forest-2); font-size: 10px; font-style: normal; font-weight: 700; }

    .chat-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; height: calc(100vh - 160px); min-height: 560px; }
    .chat-card { display: flex; flex-direction: column; overflow: hidden; }
    .chat-head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
    .assistant-id { display: flex; align-items: center; gap: 11px; }
    .assistant-orb { width: 38px; height: 38px; border-radius: 8px; background: var(--forest); color: var(--lime); display: grid; place-items: center; }
    .assistant-id strong { display: block; font-size: 13px; }
    .assistant-id span { display: block; color: var(--muted); font-size: 10px; }
    .messages { flex: 1; padding: 24px; overflow: auto; display: flex; flex-direction: column; gap: 15px; background: #fbfcfb; }
    .message { max-width: 76%; padding: 12px 14px; border-radius: 8px; font-size: 13px; line-height: 1.55; }
    .message.assistant { background: white; border: 1px solid var(--line); align-self: flex-start; }
    .message.user { background: var(--forest); color: white; align-self: flex-end; }
    .chat-input { display: flex; gap: 8px; padding: 14px; border-top: 1px solid var(--line); background: white; }
    .chat-input input { flex: 1; height: 42px; border: 1px solid var(--line); border-radius: 6px; padding: 0 12px; }
    .send-button { width: 42px; border: 0; border-radius: 6px; background: var(--forest); color: white; display: grid; place-items: center; }
    .prompt-panel { padding: 18px; }
    .prompt-panel h3 { font-family: Manrope, sans-serif; font-size: 14px; margin: 0 0 14px; }
    .prompt { width: 100%; text-align: left; padding: 11px; border: 1px solid var(--line); border-radius: 6px; background: white; margin-bottom: 8px; color: var(--ink); font-size: 11px; line-height: 1.4; }
    .prompt:hover { border-color: var(--forest-2); background: #f7fbf8; }
    .ai-note { margin-top: 20px; padding: 12px; background: #fff8e9; border: 1px solid #f1d29a; border-radius: 7px; color: #71501a; font-size: 10px; line-height: 1.5; }

      .dashboard-actions { display: flex; align-items: center; gap: 10px; }
      .assistant-toggle { min-height: 38px; border: 1px solid #bcd8c6; border-radius: 7px; background: #f3fbf5; color: var(--forest); padding: 0 12px; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; gap: 7px; }
      .assistant-toggle svg { width: 16px; height: 16px; }
      .assistant-toggle span { color: #997128; font-size: 9px; padding-left: 5px; border-left: 1px solid #d6e4d9; }
      .assistant-drawer { position: fixed; top: 78px; right: 24px; z-index: 35; width: min(410px, calc(100vw - 48px)); height: min(660px, calc(100vh - 102px)); background: white; border: 1px solid #cfe0d3; border-radius: 8px; box-shadow: 0 22px 60px rgba(36, 69, 56, .20); overflow: hidden; display: none; }
      .assistant-drawer.open { display: block; }
      .assistant-drawer .chat-card { min-height: 0; height: 100%; }
      .drawer-close { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: white; display: grid; place-items: center; }
      .drawer-close svg { width: 15px; height: 15px; }
      .drawer-prompts { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 14px 14px; background: #fbfcfb; }
      .drawer-prompts .prompt { width: auto; margin: 0; padding: 7px 9px; font-size: 9px; }

    .settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .settings-card { padding: 20px; }
    .settings-card h2 { font-family: Manrope, sans-serif; font-size: 16px; margin: 0 0 18px; }
    .setting-row { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
    .setting-row:first-of-type { border-top: 0; }
    .setting-row strong { display: block; font-size: 12px; }
    .setting-row span { color: var(--muted); font-size: 10px; }
    .toggle { width: 38px; height: 22px; border-radius: 999px; background: #ccd6d0; position: relative; border: 0; }
    .toggle::after { content: ""; width: 16px; height: 16px; border-radius: 50%; background: white; position: absolute; top: 3px; left: 3px; transition: .2s; }
    .toggle.on { background: var(--forest-2); }
    .toggle.on::after { transform: translateX(16px); }

    .toast { position: fixed; right: 24px; bottom: 24px; background: #163b2e; color: white; padding: 12px 16px; border-radius: 7px; box-shadow: var(--shadow); font-size: 12px; z-index: 100; animation: toast-in .25s ease; }
    @keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
    @keyframes grow-bar { from { transform: scaleY(.08); } }
    @keyframes rise-in { from { opacity: 0; transform: translateY(14px); } }
    @keyframes fade-in { to { opacity: 1; } }
    @keyframes draw-line { to { stroke-dashoffset: 0; } }
    @keyframes point-in { to { opacity: 1; transform: scale(1); } }
    @keyframes forecast-flow { to { stroke-dashoffset: -52; } }
    @keyframes orbit-float { 50% { transform: translateY(-7px); } }
    @keyframes connector-flow { to { stroke-dashoffset: -26; } }

    @media (max-width: 1100px) {
      .kpi-grid { grid-template-columns: repeat(2, 1fr); }
      .dashboard-grid { grid-template-columns: 1fr; }
      .source-grid { grid-template-columns: repeat(2, 1fr); }
      .campaign-brief { grid-template-columns: 1fr 1fr; }
      .campaign-spotlight { grid-column: 1 / -1; }
      .intelligence-band { grid-template-columns: 1fr; }
      .scenario-grid { grid-template-columns: repeat(3, 1fr); }
      .scenario-control { grid-column: 1 / -1; }
        .pipeline-flow { grid-template-columns: 1fr; gap: 10px; }
        .pipeline-arrow { min-height: 22px; transform: rotate(90deg); }
        .pipeline-node.hub { min-height: 132px; }
        .future-lane { grid-template-columns: repeat(2, 1fr); }
        .future-lane-label { grid-column: 1 / -1; }
      .funnel { grid-template-columns: 1fr 1fr; }
      .funnel-step::after { display: none; }
      .funnel-step { border-radius: 7px !important; }
      .admissions-hero { grid-template-columns: 1fr 190px; }
      .connector-board-head { flex-direction: column; }
    }
    @media (max-width: 760px) {
      .login-screen { grid-template-columns: 1fr; }
      .login-visual { display: none; }
      .login-copy { margin-top: 48px; }
      .app-shell { display: block; }
      .sidebar { transform: translateX(-100%); transition: .25s; box-shadow: 12px 0 40px rgba(0,0,0,.2); }
      .sidebar.open { transform: translateX(0); }
      .main { margin-left: 0; }
      .mobile-menu { display: grid; place-items: center; }
      .topbar { padding: 0 14px; }
      .scope-switch { display: none; }
      .content { padding: 18px 14px; }
      .page-head { align-items: start; flex-direction: column; }
        .kpi-grid, .source-grid, .settings-grid, .health-grid, .signal-grid, .scenario-grid { grid-template-columns: 1fr; }
      .campaign-brief { grid-template-columns: 1fr; }
      .campaign-spotlight { grid-column: auto; }
      .campaign-toolbar, .campaign-controls { align-items: stretch; flex-direction: column; }
      .campaign-filter-group { justify-content: space-between; }
      .campaign-filter { flex: 1; }
      .scenario-control { grid-column: auto; }
      .donut-wrap { grid-template-columns: 1fr; justify-items: center; }
      .table-card { overflow-x: auto; }
      .table-toolbar { align-items: stretch; flex-direction: column; }
      .search { min-width: 0; width: 100%; }
      .funnel { grid-template-columns: 1fr; }
      .admissions-hero { grid-template-columns: 1fr; padding: 20px; }
      .admissions-hero h2 { font-size: 20px; }
      .admissions-orbit { width: 165px; }
      .sidebar-backdrop { position: fixed; z-index: 19; inset: 0; border: 0; background: rgba(21, 45, 34, .35); opacity: 0; pointer-events: none; transition: opacity .25s; }
      .sidebar-backdrop.open { display: block; opacity: 1; pointer-events: auto; }
      .followup-queues { grid-template-columns: 1fr; }
      .chart-mini-legend { display: none; }
      .connector-board { padding: 16px; }
      .connector-footer { display: grid; gap: 7px; }
      .chat-layout { grid-template-columns: 1fr; height: auto; }
      .chat-card { min-height: 620px; }
      .prompt-panel { display: none; }
        .dashboard-actions { width: 100%; justify-content: space-between; }
        .assistant-drawer { top: 74px; right: 10px; width: calc(100vw - 20px); height: calc(100vh - 86px); }
      .top-actions .select:first-child { display: none; }
    }
    @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
