/* Light visual foundation shared by the CRM; dashboard components stay scoped. */
body.dashboard-light {
    --ink: #202e35;
    --muted: #62727b;
    --petrol: #204b61;
    --sky: #8ecde2;
    --orange: #ff693b;
    --line: #e4e9eb;
    --surface: #ffffff;
    --canvas: #f5f6f5;
    --radius: 24px;
    background: var(--canvas);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
.dashboard-light h1, .dashboard-light h2, .dashboard-light h3, .dashboard-light h4,
.dashboard-light h5, .dashboard-light h6 { color: var(--ink); font-family: inherit; }
.dashboard-light button, .dashboard-light input, .dashboard-light select, .dashboard-light a, .dashboard-light .btn { font-family: inherit; }
.dashboard-light a { color: var(--petrol); }
.dashboard-light .text-muted { color: var(--muted) !important; }
.dashboard-light .text-dark { color: var(--ink) !important; }
.dashboard-light :focus-visible { outline: 3px solid #3b8fae; outline-offset: 4px; }
.dashboard-light .content-page { margin-top: 0; margin-left: 252px; padding: 0 38px 90px; }
.dashboard-light #dashboard > .container-fluid { max-width: 1600px; margin: auto; padding: 0; }
.dashboard-light .content-page > .content { margin-top: 0; }
body.dashboard-light[data-sidebar-color=dark] .left-side-menu {
    width: 252px; padding-top: 36px;
    background: linear-gradient(160deg, #243943, #10252f 80%);
    box-shadow: 4px 0 24px #102b3710;
}
.dashboard-light .user-box { padding: 0 22px 26px; margin-bottom: 24px !important; border-bottom: 1px solid #ffffff14; }
.dashboard-light .user-box .avatar-md { width: 76px; height: 76px; object-fit: cover; border: 1px solid #ffffff32; box-shadow: 0 8px 18px #00000030; margin-bottom: 12px; }
.dashboard-light .user-box .text-dark { color: #fff !important; font-size: 17px; line-height: 1.5; font-weight: 600; white-space: normal; }
.dashboard-light .user-box .text-muted { color: #abc0ca !important; font-size: 14px; margin: 8px 0 0; }
.dashboard-light #sidebar-menu { padding: 0 16px 28px; }
.dashboard-light #sidebar-menu .menu-title { color: #9cb3bf; font-size: 11px; letter-spacing: .13em; padding: 0 16px 16px; }
.dashboard-light #sidebar-menu > ul > li > a { color: #d6e2e8; padding: 13px 15px; margin-bottom: 5px; font-size: 15px; border-radius: 12px; transition: background .18s ease, color .18s ease; }
.dashboard-light #sidebar-menu > ul > li > a i { color: #a8c7d4; font-size: 20px; margin-right: 12px; }
.dashboard-light #sidebar-menu > ul > li > a:hover { background: #ffffff0d; color: #fff; }
body.dashboard-light[data-sidebar-color=dark] .left-side-menu #sidebar-menu > ul > li > a { color: #d6e2e8; }
body.dashboard-light[data-sidebar-color=dark] .left-side-menu #sidebar-menu .menu-title { color: #9cb3bf !important; }
body.dashboard-light[data-sidebar-color=dark] .left-side-menu #sidebar-menu > ul > li.menuitem-active > a { color: #153b4d; }
.dashboard-light #sidebar-menu > ul > li.menuitem-active > a { background: #e8f3f8; color: #153b4d; font-weight: 600; box-shadow: 0 5px 12px #00000010; }
.dashboard-light #sidebar-menu > ul > li.menuitem-active > a i { color: #24516a; }
.dashboard-light .nav-second-level li a { color: #c0d4df; font-size: 14px; }
.dashboard-light .navbar-custom { position: relative; left: auto !important; right: auto !important; background: transparent !important; padding: 0; margin: 24px 0 40px !important; z-index: 101; }
.dashboard-light .navbar-custom > .container-fluid { padding: 0; max-width: 1600px; }
.dashboard-light .dashboard-breadcrumb { color: var(--muted); font-size: 14px; text-transform: none; }
.dashboard-light .dashboard-breadcrumb > span { margin: 0 14px; color: #99a8af; }
.dashboard-light .dashboard-breadcrumb strong { color: var(--ink); font-weight: 500; }
.dashboard-light .navbar-custom .nav-link { color: var(--ink); padding: 0; font-size: 14px; }
.dashboard-light .navbar-custom .pro-user-name, body.dashboard-light[data-topbar-color=light] .navbar-custom .topnav-menu .nav-link { color: var(--ink); }
.dashboard-light .navbar-custom .nav-user img { width: 36px; height: 36px; max-width: 36px; object-fit: cover; border: 2px solid white; box-shadow: 0 2px 8px #204b6118; }
.dashboard-light .button-menu-mobile { display: inline-flex !important; align-items: center; justify-content: center; color: var(--petrol); height: 44px; width: 44px; margin-right: 14px; padding: 0; line-height: 1; border-radius: 12px; background: #eaf0f3; }
.dashboard-light .navbar-custom .button-menu-mobile, .dashboard-light .navbar-custom .button-menu-mobile i { color: var(--petrol) !important; }
.dashboard-light .navbar-custom .button-menu-mobile i { display: block; line-height: 1; }
.dashboard-light .dashboard-hero { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin: 0 0 32px; }
.dashboard-light .dashboard-eyebrow { display: block; color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .13em; line-height: 1.6; margin-bottom: 10px; }
.dashboard-light .dashboard-hero h1 { font-size: clamp(32px, 2.8vw, 46px); letter-spacing: -.045em; font-weight: 600; line-height: 1.12; margin: 0 0 16px; }
.dashboard-light .dashboard-hero h1 > span { color: var(--orange); }
.dashboard-light .dashboard-hero p { color: var(--muted); font-size: 16px; max-width: 620px; margin: 0; }
.dashboard-light .btn { border-radius: 12px; font-size: 15px; font-weight: 600; padding: 11px 17px; min-height: 44px; line-height: 1.4; transition: box-shadow .18s ease, background .18s ease; }
.dashboard-light .btn-primary, .dashboard-light .btn-success { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.dashboard-light .btn-primary:hover, .dashboard-light .btn-success:hover { background: #143a4d; border-color: #143a4d; box-shadow: 0 5px 14px #204b6128; }
.dashboard-light .btn-outline-primary, .dashboard-light .btn-outline-secondary, .dashboard-light .btn-default, .dashboard-light .btn-light { background: white; color: var(--petrol); border: 1px solid #cedade; }
.dashboard-light .btn-outline-primary:hover, .dashboard-light .btn-default:hover, .dashboard-light .btn-light:hover { background: #eaf3f7; }
.dashboard-light .btn-link { color: var(--petrol); padding-left: 0; padding-right: 0; border: 0; }
.dashboard-light .dashboard-report-link { white-space: nowrap; flex-shrink: 0; color: #3c2117; background: var(--orange); border: 0; border-radius: 100px; padding: 14px 22px; box-shadow: 0 5px 14px #ad3e1720; }
.dashboard-light .dashboard-report-link:hover { background: #ff815b; box-shadow: 0 7px 20px #ad3e1735; color: #3c2117; }
.dashboard-light .dashboard-report-link i:first-child { margin-right: 8px; }
.dashboard-light .dashboard-report-link i:last-child { margin-left: 12px; }
.dashboard-light .card { background: var(--surface); border: 1px solid #fff; border-radius: var(--radius); box-shadow: 0 6px 14px #253b4805, 0 18px 46px #253b4807; margin-bottom: 24px; }
.dashboard-light .card-body { padding: 28px; }
.dashboard-light #card-select .card { border-radius: 20px !important; margin-bottom: 20px; border-color: var(--line); box-shadow: 0 3px 12px #204b6103; }
.dashboard-light #card-select .card-body { padding: 18px 24px !important; font-size: 16px; }
.dashboard-light #dateSelector .form-group.row { gap: 20px 32px; flex-wrap: nowrap; align-items: stretch; }
.dashboard-light #card-select .dashboard-company-label { display: flex; flex-direction: column; align-items: stretch; gap: 9px; flex: 1; min-width: 0; padding: 0; text-align: left; line-height: 1.5; font-size: 14px; font-weight: 500; margin: 0; }
.dashboard-light #card-select .dashboard-company-label > span, .dashboard-light .dashboard-filter-label { color: var(--muted); font-size: 13px; font-weight: 500; }
.dashboard-light #dateSelector .dashboard-company-label .bootstrap-select.form-control { width: 100% !important; max-width: 100% !important; }
.dashboard-light #card-select .filter-option-inner { font-size: 17px; line-height: 1.5; font-weight: 600; }
.dashboard-light #card-select select#company ~ button { min-width: 0; padding: 12px 16px; background: #f7f9fa; border: 1px solid var(--line); color: var(--ink); min-height: 58px; }
.dashboard-light #card-select .bootstrap-select > button.btn { color: var(--ink) !important; }
.dashboard-light #card-select .bootstrap-select > button.btn:hover, .dashboard-light #card-select .bootstrap-select > button.btn:focus { background: #edf5f8 !important; }
.dashboard-light #card-select .form-group.row .dropdown { width: 100% !important; }
.dashboard-light .dashboard-calendar-range { flex-direction: column; align-items: stretch; gap: 9px; min-width: 330px; }
.dashboard-light .dashboard-date-range-trigger { background: #f7f9fa; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); padding: 8px 16px; min-height: 58px; gap: 16px; grid-template-columns: 1fr auto 1fr auto; }
.dashboard-light .dashboard-date-range-trigger:hover, .dashboard-light .dashboard-date-range-trigger:focus { background: #edf5f8; border-color: #8fb8c8; color: var(--ink); }
.dashboard-light .dashboard-date-range-part small { color: var(--muted); font-size: 11px; font-weight: 500; line-height: 1.2; }
.dashboard-light .dashboard-date-range-part strong { font-size: 15px; font-weight: 600; line-height: 1.6; }
.dashboard-light .dashboard-date-range-arrow, .dashboard-light .dashboard-date-range-icon { color: var(--petrol); }
.dashboard-light .form-control { background: #f7f9fa; border: 1px solid #cad5db; color: var(--ink); border-radius: 10px; min-height: 46px; padding: 10px 13px; font-size: 16px; box-shadow: none; }
.dashboard-light .form-control:focus { background: #fff; color: var(--ink); border-color: #4385a0; box-shadow: 0 0 0 3px #62b3d322; }
.dashboard-light .form-control::placeholder { color: #71828b; }
.dashboard-light .dropdown-menu { background: white; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: 0 16px 40px #204b6120; font-size: 15px; }
.dashboard-light .dropdown-header, .dashboard-light .dropdown-item { color: var(--ink); }
.dashboard-light .dropdown-item { border-radius: 8px; padding: 10px 14px; }
.dashboard-light .dropdown-item:hover, .dashboard-light .dropdown-item:focus, .dashboard-light .dropdown-item.active,
.dashboard-light .bootstrap-select.show-tick .dropdown-menu .inner ul li.selected { background: #e6f1f6; color: var(--petrol); }
.dashboard-light .dropdown-divider { border-color: var(--line); }
.dashboard-light #card-select.admin-init { position: relative; height: auto; display: block; z-index: auto; }
.dashboard-light #card-select.admin-init .card { margin-top: 0; }
.dashboard-light #card-select.admin-init ~ section { filter: none; }
.dashboard-light #dashboardWelcome { display: none; }
.dashboard-light .dashboard-awaiting-company #dashboardWelcome { display: block; }
.dashboard-light .dashboard-awaiting-company .dashboard-data { display: none; }
.dashboard-light .dashboard-load-failed .dashboard-data { display: none; }
.dashboard-light .dashboard-view-bar { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 14px 24px; margin-bottom: 28px; }
.dashboard-light .dashboard-view-control { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.dashboard-light .dashboard-view-label { color: var(--ink); font-size: 14px; font-weight: 650; }
.dashboard-light .dashboard-view-switch { display: inline-flex; padding: 5px; background: #fff3eb; border: 1px solid #f3cfb9; border-radius: 100px; gap: 4px; }
.dashboard-light .dashboard-view-switch button { background: transparent; border: 0; border-radius: 100px; color: #70412b; font-size: 15px; padding: 12px 26px; font-weight: 650; cursor: pointer; min-height: 46px; transition: background-color .22s ease, color .22s ease, box-shadow .22s ease, transform .22s ease; }
.dashboard-light .dashboard-view-switch button:hover:not([aria-pressed=true]) { background: #fff; color: #69341d; }
.dashboard-light .dashboard-view-switch button:focus-visible { outline: 3px solid #b94c1e; outline-offset: 2px; }
.dashboard-light .dashboard-view-switch button[aria-pressed=true] { background: #ff6533; color: #3f1b0e; box-shadow: 0 3px 10px #ad411f26; }
@media (prefers-reduced-motion: no-preference) {
    .dashboard-light .dashboard-view-switch button[data-dashboard-mode=advanced][aria-pressed=false] { animation: dashboard-view-discover 1.05s ease-in-out 4 1s; }
}
@keyframes dashboard-view-discover { 0%, 100% { box-shadow: none; transform: translateY(0); } 50% { box-shadow: 0 0 0 4px #ff653355; transform: translateY(-2px); } }
.dashboard-light .dashboard-customize-button { margin-left: auto; min-height: 48px; padding: 10px 18px; border: 1px solid #b7dcc7; border-radius: 13px; background: #fff; color: #145235; font-size: 14px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 9px; }
.dashboard-light .dashboard-customize-button:hover, .dashboard-light .dashboard-customize-button[aria-expanded=true] { background: #e7f9ee; border-color: #25d366; }
.dashboard-light .dashboard-customize-button:disabled { opacity: .6; cursor: wait; }
.dashboard-light .dashboard-customizer[hidden], .dashboard-light .dashboard-module[hidden] { display: none !important; }
.dashboard-light .dashboard-customizer { background: #fff; border: 1px solid #d7e8df; border-radius: 24px; padding: 28px; margin: 0 0 30px; box-shadow: 0 16px 38px #123c2910; }
.dashboard-light .dashboard-customizer-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.dashboard-light .dashboard-customizer-heading h2 { color: var(--ink); font-size: 24px; margin: 0 0 8px; }
.dashboard-light .dashboard-customizer-heading p { color: var(--muted); font-size: 15px; margin: 0; }
.dashboard-light .dashboard-customizer-close { width: 42px; height: 42px; border: 1px solid #d4e4da; border-radius: 12px; background: #f6faf8; color: #244b38; flex: 0 0 auto; cursor: pointer; }
.dashboard-light .dashboard-customizer-content { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: 28px; margin-top: 26px; }
.dashboard-light .dashboard-customizer-content h3 { color: var(--ink); font-size: 17px; margin: 0 0 12px; }
.dashboard-light .dashboard-customizer-content p, .dashboard-light .dashboard-customizer-content small { color: var(--muted); font-size: 14px; }
.dashboard-light .dashboard-module-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.dashboard-light .dashboard-module-choice { display: flex; align-items: center; gap: 9px; min-height: 48px; margin: 0; padding: 10px 13px; background: #f5faf7; border: 1px solid #dcebe2; border-radius: 11px; color: #244638; font-size: 14px; cursor: pointer; }
.dashboard-light .dashboard-module-choice input { width: 17px; height: 17px; flex: 0 0 auto; accent-color: #25c963; }
.dashboard-light .dashboard-module-choice span { min-width: 0; flex: 1; }
.dashboard-light .dashboard-module-choice small { font-size: 12px; color: #52705f; }
.dashboard-light .dashboard-customizer-avatar { padding: 18px; border: 1px solid #dcebe2; border-radius: 16px; background: #f8fbf9; }
.dashboard-light .dashboard-customizer-avatar p { margin: 0 0 16px; }
.dashboard-light .dashboard-avatar-editor { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
.dashboard-light .dashboard-avatar-editor img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; border: 2px solid #d2e6d9; }
.dashboard-light .dashboard-avatar-editor input { width: 100%; max-width: 240px; font-size: 14px; }
.dashboard-light .dashboard-avatar-file-label { display: none; }
.dashboard-light .dashboard-avatar-editor button { border: 0; border-radius: 10px; padding: 9px 13px; background: #25d366; color: #103a25; font-weight: 700; cursor: pointer; }
.dashboard-light .dashboard-avatar-editor button:disabled { opacity: .45; cursor: not-allowed; }
.dashboard-light .dashboard-customizer-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; border-top: 1px solid #e2eee6; margin-top: 26px; padding-top: 20px; }
.dashboard-light .dashboard-customizer-actions p { flex: 1; color: #24523a; margin: 0; min-width: 180px; font-size: 14px; }
.dashboard-light .dashboard-customizer-actions p.is-error { color: #ad3b32; }
.dashboard-light .dashboard-customizer-actions button { border-radius: 11px; min-height: 44px; padding: 10px 16px; font-size: 14px; font-weight: 700; cursor: pointer; }
.dashboard-light .dashboard-customizer-reset { color: #2b5540; background: #fff; border: 1px solid #c9e3d3; }
.dashboard-light .dashboard-customizer-save { color: #103a25; background: #25d366; border: 1px solid #25d366; }
.dashboard-light .dashboard-customizer-save:disabled { opacity: .55; cursor: wait; }
.dashboard-light .dashboard-module-board { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.dashboard-light .dashboard-module { grid-column: span 12; min-width: 0; }
.dashboard-light .dashboard-module-wide { grid-column: span 7; }
.dashboard-light .dashboard-module-narrow { grid-column: span 5; }
.dashboard-light .dashboard-module > .card, .dashboard-light .dashboard-module > .dashboard-analysis > .card { width: 100%; margin: 0; }
.dashboard-light .dashboard-module > .dashboard-channels { margin-bottom: 0; }
.dashboard-light #dashboard:not(.dashboard-editing) .dashboard-module-unavailable { display: none; }
.dashboard-light .dashboard-module-toolbar { display: none; }
.dashboard-light .dashboard-editing .dashboard-module { position: relative; padding: 12px; border: 2px dashed #a7ddbd; border-radius: 22px; background: #f9fcfa; }
.dashboard-light .dashboard-editing .dashboard-module-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: #214b35; font-size: 14px; }
.dashboard-light .dashboard-module-grip { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 10px; background: #e5f9ec; color: #135c34; cursor: grab; font-size: 18px; }
.dashboard-light .dashboard-module-grip:active { cursor: grabbing; }
.dashboard-light .dashboard-module-actions { display: flex; gap: 6px; margin-left: auto; }
.dashboard-light .dashboard-module-actions button { min-width: 36px; min-height: 36px; padding: 4px 8px; border: 1px solid #bfdcca; border-radius: 9px; background: #fff; color: #24523a; cursor: pointer; }
.dashboard-light .dashboard-module.is-dragging { opacity: .55; }
.dashboard-light .dashboard-module.is-drop-target { border-color: #189b4d; background: #e9f9ef; box-shadow: 0 0 0 3px #25d36644; }
.dashboard-light .dashboard-module-board .dashboard-goal-settings { margin: 0; }
@media (max-width: 1050px) { .dashboard-light .dashboard-module-wide, .dashboard-light .dashboard-module-narrow { grid-column: span 12; } }
@media (max-width: 700px) {
    .dashboard-light .dashboard-customize-button { margin-left: 0; }
    .dashboard-light .dashboard-customizer { padding: 20px; }
    .dashboard-light .dashboard-customizer-content { grid-template-columns: minmax(0, 1fr); }
    .dashboard-light .dashboard-module-choices { grid-template-columns: minmax(0, 1fr); }
    .dashboard-light .dashboard-module-board { gap: 18px; }
    .dashboard-light .dashboard-editing .dashboard-module-toolbar { flex-wrap: wrap; }
}
.dashboard-light .dashboard-view-bar p { color: var(--muted); margin: 0; font-size: 14px; }
.dashboard-light #dashboard[data-dashboard-view=essential] .dashboard-advanced,
.dashboard-light #dashboard[data-dashboard-view=essential] #conversionCostMetrics { display: none !important; }
.dashboard-light #dashboard[data-dashboard-view=essential] .dashboard-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dashboard-light #dashboard[data-dashboard-view=essential] .dashboard-analysis { grid-template-columns: minmax(0, 1fr); }
.dashboard-light #dashboard[data-dashboard-view=essential] .dashboard-stat { padding: 32px; }
.dashboard-light #dashboard[data-dashboard-view=essential] .dashboard-stat h2,
.dashboard-light #dashboard[data-dashboard-view=essential] .dashboard-stat h3 { font-size: clamp(36px, 3vw, 48px); }
.dashboard-light .dashboard-welcome { position: relative; background: linear-gradient(120deg, #fff, #edf6f9); border: 1px solid #fff; border-radius: 28px; padding: 56px; display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 16px; }
.dashboard-light .dashboard-welcome-icon { display: grid; place-items: center; background: var(--petrol); width: 82px; height: 82px; border-radius: 23px; color: #fff; font-size: 32px; box-shadow: 0 12px 26px #204b6124; }
.dashboard-light .dashboard-welcome h2 { font-size: 28px; letter-spacing: -.03em; margin: 0 0 12px; }
.dashboard-light .dashboard-welcome p { max-width: 620px; color: var(--muted); font-size: 17px; margin: 0; }
.dashboard-light .dashboard-welcome-step { display: flex; gap: 14px; align-items: center; width: 100%; color: var(--muted); font-size: 14px; margin-top: 18px; }
.dashboard-light .dashboard-welcome-step > span { color: var(--petrol); font-weight: 600; }
.dashboard-light .dashboard-data { padding: 0 12px; }
.dashboard-light .dashboard-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 22px 0; }
.dashboard-light .dashboard-section-heading h2 { font-size: 25px; letter-spacing: -.03em; font-weight: 600; margin: 0; }
.dashboard-light .dashboard-section-heading .dashboard-eyebrow { margin-bottom: 6px; }
.dashboard-light .dashboard-period-note { color: var(--muted); font-size: 13px; display: flex; gap: 8px; align-items: center; }
.dashboard-light .dashboard-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.dashboard-light .dashboard-stat { padding: 26px; margin: 0; position: relative; min-width: 0; }
.dashboard-light .dashboard-stat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.dashboard-light .dashboard-stat-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #edf4f7; color: var(--petrol); font-size: 20px; }
.dashboard-light .dashboard-help { border: 1px solid #d6e0e5; border-radius: 50%; width: 28px; height: 28px; background: transparent; color: #667e8a; font-size: 13px; padding: 0; cursor: help; }
.dashboard-light .dashboard-help:hover { background: #eef4f7; }
.dashboard-light .dashboard-stat-label { font-size: 16px; color: #4b616d; font-weight: 500; margin-bottom: 8px; }
.dashboard-light .dashboard-stat h2, .dashboard-light .dashboard-stat h3 { font-size: clamp(30px, 2.5vw, 40px); letter-spacing: -.045em; line-height: 1.2; font-weight: 600; margin: 0 0 18px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dashboard-light .dashboard-stat h3 > span, .dashboard-light .dashboard-stat h3 > small { font-size: .5em; font-weight: 500; letter-spacing: -.01em; }
.dashboard-light .dashboard-stat-detail { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0; }
.dashboard-light .dashboard-stat-feature { background: linear-gradient(135deg, #294b5c, #112833); border-color: #24414f; box-shadow: 0 14px 28px #12334224; }
.dashboard-light .dashboard-stat-feature h2 { color: #fff; }
.dashboard-light .dashboard-stat-feature .dashboard-stat-label { color: #e7f3f8; }
.dashboard-light .dashboard-stat-feature .dashboard-stat-detail { color: #b7d2de; }
.dashboard-light .dashboard-stat-feature .dashboard-stat-icon { color: #acdded; background: #ffffff12; }
.dashboard-light .dashboard-stat-feature .dashboard-help { color: #b9d7e4; border-color: #ffffff30; }
.dashboard-light #investedPeriodMetrics { background: linear-gradient(145deg, #fff8ed, #ffecd8); border-color: #f6e3ce; }
.dashboard-light #investedPeriodMetrics .dashboard-stat-icon { background: #ffe0bc; color: #9a5822; }
.dashboard-light #contactCostMetrics { background: linear-gradient(145deg, #f0f8f4, #e1eee8); border-color: #dbe9e2; }
.dashboard-light #contactCostMetrics .dashboard-stat-icon { background: #d1e8db; color: #28634f; }
.dashboard-light #contactCostMetrics h3 { color: #235743; }
.dashboard-light .dashboard-feature-line { display: block; width: 42px; height: 3px; margin-top: 20px; background: var(--sky); border-radius: 8px; }
.dashboard-light .dashboard-channels { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); padding: 22px 28px; margin: 24px 0 32px; gap: 20px; background: #eaf2f5; border: 1px solid #e1ecef; border-radius: 20px; }
.dashboard-light .dashboard-channels-heading { align-self: center; display: flex; flex-direction: column; gap: 6px; }
.dashboard-light .dashboard-channels-heading strong { font-size: 15px; font-weight: 600; }
.dashboard-light .dashboard-channels-heading span { font-size: 13px; color: var(--muted); }
.dashboard-light .dashboard-channel { display: flex; align-items: center; gap: 16px; border-left: 1px solid #cfdee5; padding-left: 24px; border-radius: 0; }
.dashboard-light .dashboard-channel > i:first-child { color: var(--petrol); font-size: 23px; }
.dashboard-light .dashboard-channel p { color: var(--muted); font-size: 14px; margin: 0 0 3px; }
.dashboard-light .dashboard-channel h3 { font-size: 25px; font-weight: 600; margin: 0; line-height: 1.2; }
.dashboard-light .dashboard-channel-arrow { margin-left: auto; color: #527a8d; font-size: 18px; }
.dashboard-light .dashboard-channel:hover .dashboard-channel-arrow { color: #a64321; transform: translate(2px, -2px); }
.dashboard-light .dashboard-analysis, .dashboard-light .dashboard-history { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 24px; align-items: stretch; margin-bottom: 24px; }
.dashboard-light .dashboard-advertising { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: 24px; container: dashboard-balance / inline-size; }
.dashboard-light .dashboard-primary-chart { width: 100%; margin-bottom: 28px; }
.dashboard-light .dashboard-primary-chart > .card { width: 100%; margin: 0; }
.dashboard-light .dashboard-analysis > .card, .dashboard-light .dashboard-advertising > .card, .dashboard-light .dashboard-history > .card { margin: 0; min-width: 0; }
.dashboard-light .dashboard-chart-card { padding: 30px; }
.dashboard-light .dashboard-card-heading { display: flex; gap: 16px; justify-content: space-between; margin-bottom: 24px; position: relative; }
.dashboard-light .dashboard-card-heading h2 { font-size: 21px; font-weight: 600; line-height: 1.35; letter-spacing: -.025em; margin: 0; }
.dashboard-light .dashboard-card-heading p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 8px 0 0; }
.dashboard-light .dashboard-chart-legend { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 16px; font-size: 13px; color: #526975; }
.dashboard-light .dashboard-chart-legend span { display: inline-flex; align-items: center; gap: 8px; }
.dashboard-light .dashboard-chart-legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dashboard-light .dot-petrol { background: #24516a; }
.dashboard-light .dot-sky { background: #60a9c4; }
.dashboard-light .dot-orange { background: #ec754d; }
.dashboard-light .dot-whatsapp { background: #25d366; }
.dashboard-light .dot-phone { background: #85a1b4; }
.dashboard-light .dot-email { background: #e66e38; }
.dashboard-light .dashboard-chart-caption { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 18px 0 0; }
.dashboard-light .ads-chart-controls { display: inline-flex; gap: 6px; padding: 5px; margin: -6px 0 12px; border-radius: 12px; background: #edf3f5; }
.dashboard-light .ads-chart-controls button { min-height: 40px; padding: 8px 14px; border: 0; border-radius: 9px; background: transparent; color: #496573; font-size: 14px; font-weight: 600; cursor: pointer; }
.dashboard-light .ads-chart-controls button[aria-pressed="true"] { background: #fff; color: var(--petrol); box-shadow: 0 2px 8px #183c4d14; }
.dashboard-light .ads-chart-period { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 16px; margin: 0 0 18px; background: #f4faf7; border: 1px solid #d5e9db; border-radius: 16px; }
.dashboard-light .ads-chart-presets { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; border-radius: 12px; background: #e8f3ec; }
.dashboard-light .ads-chart-presets button { min-height: 42px; padding: 9px 16px; border: 0; border-radius: 9px; background: transparent; color: #305343; font-size: 14px; font-weight: 600; cursor: pointer; }
.dashboard-light .ads-chart-presets button[aria-pressed="true"] { background: #fff; color: #075e31; box-shadow: 0 2px 8px #123c251a; }
.dashboard-light .ads-chart-presets button:disabled, .dashboard-light .ads-chart-custom-range button:disabled { cursor: wait; opacity: .6; }
.dashboard-light .ads-chart-custom-range { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.dashboard-light .ads-chart-custom-range[hidden] { display: none; }
.dashboard-light .ads-chart-custom-range label { display: grid; gap: 4px; margin: 0; color: #305343; font-size: 13px; font-weight: 600; }
.dashboard-light .ads-chart-custom-range input { min-width: 160px; min-height: 42px; background: #fff; }
.dashboard-light .ads-chart-custom-range .btn { min-height: 42px; }
.dashboard-light .ads-chart-range-feedback { flex-basis: 100%; margin: 0; color: #9b4126; font-size: 13px; }
.dashboard-light .ads-chart-range-feedback:empty { display: none; }
.dashboard-light .dashboard-goal-settings { padding: 28px; margin-top: 0; }
.dashboard-light .dashboard-goal-progress { display: flex; align-items: center; gap: 16px; margin: -10px 0 14px; }
.dashboard-light #contactChart { flex: 0 0 154px; width: 154px; }
.dashboard-light .dashboard-goal-progress p { font-size: 14px; color: var(--muted); margin: 0; }
.dashboard-light .dashboard-goal-progress strong { display: block; font-size: 20px; color: var(--ink); margin: 8px 0; }
.dashboard-light .dashboard-goal-progress small { font-size: 13px; line-height: 1.5; display: block; }
.dashboard-light .dashboard-goal-insight p { background: #f1f6f8; padding: 14px 16px; border-radius: 12px; font-size: 14px; margin: 0 0 10px; color: var(--petrol); }
.dashboard-light .dashboard-goal-insight small { color: var(--muted); font-size: 13px; line-height: 1.65; margin-top: 4px; }
.dashboard-light .dashboard-goal-editor { border-color: var(--line); padding-top: 18px; margin-top: 18px; }
.dashboard-light .dashboard-goal-editor label { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.dashboard-light .dashboard-goal-actions { display: flex; gap: 10px; }
.dashboard-light .dashboard-goal-actions input { width: 100%; min-width: 0; }
.dashboard-light .dashboard-goal-actions button { flex-shrink: 0; }
.dashboard-light #contactsGoalFeedback { font-size: 14px; display: block; }
.dashboard-light .text-success { color: #247150 !important; }
.dashboard-light .text-pink { color: #ae2d42 !important; }
.dashboard-light .dashboard-balance-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; background: linear-gradient(145deg, #c7e8f3, #93cce0); border-color: #b9e0ee; padding: 30px; text-align: left; }
.dashboard-light .dashboard-balance-card > p { font-size: 15px; margin: 20px 0 6px; color: #355866; }
.dashboard-light .dashboard-balance-card > h2 { color: #153747; font-size: 38px; font-weight: 600; letter-spacing: -.04em; margin: 0; }
.dashboard-light .dashboard-balance-card > h2 span, .dashboard-light .dashboard-balance-card > h2 small { font-size: 21px; }
.dashboard-light .dashboard-balance-card .dashboard-eyebrow { grid-column: 1; color: #355866; }
.dashboard-light .dashboard-balance-card > p, .dashboard-light .dashboard-balance-card > h2 { grid-column: 1; }
.dashboard-light #investmentChart { grid-column: 1; width: min(100%, 220px); min-width: 0; justify-self: center; margin: 20px auto 0; }
.dashboard-light .dashboard-balance-card .dashboard-chart-caption { text-align: center; font-size: 13px; }
/* Use the module's space, not the viewport: this card can move into a narrow column. */
@container dashboard-balance (min-width: 560px) {
    .dashboard-light .dashboard-balance-card { grid-template-columns: minmax(0, 1fr) 220px; column-gap: 24px; }
    .dashboard-light #investmentChart { grid-column: 2; grid-row: 1 / 5; margin: 0; }
    .dashboard-light .dashboard-balance-card .dashboard-chart-caption { text-align: left; }
}
.dashboard-light .dashboard-secondary-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0 0 32px; }
.dashboard-light .dashboard-stat-compact { padding: 24px; }
.dashboard-light .dashboard-stat-compact .dashboard-stat-top { margin-bottom: 16px; }
.dashboard-light .dashboard-stat-compact h3 { font-size: 30px; margin-bottom: 8px; }
.dashboard-light .dashboard-stat-compact .dashboard-stat-icon { width: 34px; height: 34px; border-radius: 10px; font-size: 18px; }
.dashboard-light .header-title { font-size: 24px; font-weight: 600; text-transform: none; letter-spacing: -.025em; line-height: 1.4; margin: 0 0 10px; }
.dashboard-light .sub-header { color: var(--muted); font-size: 15px; margin: 0 0 28px; }
.dashboard-light .keywords-cost-summary { margin: 0 -12px 24px; }
.dashboard-light .keywords-cost-summary-item { background: #f1f6f8; border: 1px solid #e4ecef; border-radius: 14px; padding: 18px 42px 18px 20px; }
.dashboard-light .keywords-cost-summary-item > span { font-size: 14px; color: #466271; }
.dashboard-light .keywords-cost-summary-item strong { color: var(--petrol); font-size: 24px; line-height: 1.8; letter-spacing: -.02em; }
.dashboard-light .keywords-cost-summary-item small { font-size: 13px; line-height: 1.6; color: var(--muted); }
.dashboard-light .table { font-size: 15px; color: #385361; margin-bottom: 0; }
.dashboard-light .table th { background: #f4f7f8; color: #415865; font-size: 13px; font-weight: 600; padding: 16px; border-color: var(--line); vertical-align: middle; }
.dashboard-light .table td { background: transparent; color: #415865; border-color: #eaf0f2; vertical-align: middle; padding: 18px 16px; }
.dashboard-light .table-striped tbody tr:nth-of-type(odd) { background: #fff; }
.dashboard-light .table-striped tbody tr:nth-of-type(even) { background: #fafbfc; }
.dashboard-light .table-striped tbody tr:hover { background: #eef6f9; }
.dashboard-light .table-striped tbody tr.contact-duplicate,
.dashboard-light .table-striped tbody tr.contact-duplicate:nth-of-type(odd),
.dashboard-light .table-striped tbody tr.contact-duplicate:nth-of-type(even) { background: #fff7e6; }
.dashboard-light .table-striped tbody tr.contact-duplicate:hover { background: #ffefcc; }
.dashboard-light .contact-duplicate-badge { display: block; width: max-content; max-width: 100%; margin-top: 6px; padding: 3px 8px; border-radius: 999px; background: #ffe0a3; color: #80510a; font-size: 11px; font-weight: 700; line-height: 1.35; }
.dashboard-light .responsive-table-plugin .table-responsive[data-pattern="priority-columns"] { border: 1px solid var(--line); border-radius: 12px; }
.dashboard-light #tableKeywords .keywords-total-row th { background: #e7f0f4; border-top: 1px solid #b5ceda; color: var(--petrol); font-size: 14px; }
.dashboard-light .table-wrapper .btn-toolbar { margin: 0 0 18px; }
.dashboard-light .table-wrapper .btn-toolbar .btn { font-size: 13px; padding: 8px 13px; background: #fff; color: #345465; border-color: #dce6eb; }
.dashboard-light .table-wrapper .dropdown-menu { min-width: 240px; }
.dashboard-light .table-wrapper .dropdown-menu li { color: var(--ink); }
.dashboard-light .table-wrapper .dropdown-menu li input { accent-color: var(--petrol); }
.dashboard-light .table-wrapper .checkbox-row input { accent-color: var(--petrol); }
.dashboard-light .btn-danger { background: #fff0ee; border-color: #f4c8c2; color: #a82e23; }
.dashboard-light tr.unfocused.focused a { color: var(--petrol); }
.dashboard-light tr.focused td { background: #e4f2f8; color: var(--ink); }
.dashboard-light .footer { position: absolute; left: 252px; background: transparent; color: var(--muted); border-top: 1px solid var(--line); font-size: 13px; padding: 22px 38px; }
.dashboard-light #dashboard span.tootip { right: 12px; top: 12px; background: #eff4f6; color: #526e7d; border: 1px solid #d5e0e5; font-size: 12px !important; width: 23px; height: 23px; line-height: 23px; padding: 0; min-height: 0; border-radius: 50%; box-shadow: none; }
.dashboard-light #dashboard .dashboard-card-heading span.tootip { position: static; flex: 0 0 23px; margin-left: 4px; }
.dashboard-light .tooltip-inner { background: #203d4c; color: #fff; font-size: 14px; padding: 14px 18px; line-height: 1.6; border-radius: 12px; }
.dashboard-light .apexcharts-tooltip { color: var(--ink); font-family: inherit; }
.dashboard-light .apexcharts-tooltip.apexcharts-theme-light { border-color: var(--line); box-shadow: 0 8px 24px #204b611c; background: #fff; }
.dashboard-light .apexcharts-menu { background: #fff; color: var(--ink); border-color: var(--line); }
.dashboard-light .apexcharts-menu.apexcharts-menu-open { background: #fff; border-color: var(--line); }
.dashboard-light .apexcharts-menu-item:hover { background: #eaf3f7 !important; }
.dashboard-light #chartDayOfTheWeek .apexcharts-legend { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 12px !important; }
.dashboard-light #chartDayOfTheWeek .apexcharts-legend-series { display: inline-flex !important; align-items: center; flex: 0 1 auto; min-height: 38px; margin: 0 !important; padding: 8px 12px; background: #f2f7f9; border: 1px solid #d7e5e9; border-radius: 10px; text-align: left !important; }
.dashboard-light #chartDayOfTheWeek .apexcharts-legend-marker { position: static !important; flex: 0 0 12px; width: 12px !important; height: 12px !important; margin-right: 8px !important; border-radius: 50% !important; }
.dashboard-light #chartDayOfTheWeek .apexcharts-legend-text { display: inline-block; width: auto; color: #234350 !important; font-size: 14px !important; font-weight: 600 !important; }
.dashboard-light #mainChartGoogleAds svg, .dashboard-light #mainChartGoogleAds svg foreignObject { padding-bottom: 0; box-sizing: border-box; }
.dashboard-light #mainChartGoogleAds .apexcharts-legend { bottom: 0 !important; padding: 0 !important; gap: 8px; }
.dashboard-light #mainChartGoogleAds .apexcharts-legend-series { flex: 1; padding: 10px 8px; margin: 2px 0 !important; background: #f2f6f8; border-radius: 10px; text-align: left !important; min-width: 95px; }
.dashboard-light #mainChartGoogleAds .apexcharts-legend-marker { position: relative !important; width: 7px !important; height: 7px !important; border-radius: 50% !important; margin-right: 6px; top: -2px !important; }
.dashboard-light #mainChartGoogleAds .apexcharts-legend-text { color: #4b6573 !important; font-size: 12px !important; }
.dashboard-light #mainChartGoogleAds .apexcharts-legend-text > span { display: block; font-size: 16px !important; color: var(--ink); margin: 4px 0 0 14px; font-weight: 600 !important; }
.dashboard-light .dashboard-google-date-picker { box-shadow: 0 18px 50px #183c4d24; border-radius: 18px; border-color: #dce6eb; color: var(--ink); }
.dashboard-light .dashboard-google-date-picker .ranges li { font-size: 14px; }
.dashboard-light .dashboard-google-date-picker .dashboard-relative-days-row, .dashboard-light .dashboard-google-date-picker .dashboard-compare-type { font-size: 14px; }
.dashboard-light .dashboard-google-date-picker th.next.available, .dashboard-light .dashboard-google-date-picker th.prev.available { background: #edf4f7; color: var(--petrol); }
.dashboard-light .dashboard-switch input:checked + .dashboard-switch-slider { background: var(--petrol); }
.dashboard-light .dashboard-google-date-picker .ranges li.active, .dashboard-light .dashboard-google-date-picker td.active, .dashboard-light .dashboard-google-date-picker td.active:hover { background: var(--petrol); color: #fff; }
.dashboard-light .dashboard-google-date-picker .drp-buttons .btn { font-size: 14px; min-height: 40px; border-radius: 8px; }
.dashboard-light .dashboard-google-date-picker .drp-buttons .btn-primary { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.dashboard-light .dashboard-google-date-picker .dashboard-days-shortcuts label, .dashboard-light .dashboard-google-date-picker .dashboard-compare-toggle { font-size: 14px; }
.dashboard-light .dashboard-comparison { background: #f2f7f9; border: 1px solid #dce8ee; border-radius: 14px; padding: 20px; }
.dashboard-light .dashboard-comparison-heading { font-size: 15px; color: var(--petrol); }
.dashboard-light .dashboard-comparison-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dashboard-light .dashboard-comparison-item { background: white; border: 1px solid #e1e9ed; padding: 16px; border-radius: 12px; color: var(--ink); }
.dashboard-light .dashboard-comparison-item strong { color: var(--ink); font-size: 18px; }
.dashboard-light .dashboard-comparison-item span, .dashboard-light .dashboard-comparison-item small { color: #506775; font-size: 14px; }
.dashboard-light #dashboard .loader { position: fixed; inset: 0; z-index: 1020; height: 100vh; background: #f5f6f5d9; border-radius: 0; backdrop-filter: blur(5px); }
.dashboard-light #dashboard .loader div { color: var(--petrol); }
.dashboard-light #dashboard .loader p { color: var(--petrol); font-size: 17px !important; }
.dashboard-light .loader.blur ~ div { filter: none; }
.dashboard-light .jq-toast-single { font-size: 14px; line-height: 1.6; border-radius: 12px; }
@media (min-width: 1800px) {
    .dashboard-light .dashboard-secondary-kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (min-width: 993px) {
    body.dashboard-light[data-sidebar-size=condensed] .content-page { margin-left: 84px !important; }
    body.dashboard-light[data-sidebar-size=condensed] .footer { left: 84px !important; }
    body.dashboard-light[data-sidebar-size=condensed] .left-side-menu { position: fixed; width: 84px !important; padding-top: 28px; z-index: 100; }
    body.dashboard-light[data-sidebar-size=condensed] .left-side-menu .user-box { display: block !important; padding: 0 12px 24px; margin-bottom: 24px !important; }
    body.dashboard-light[data-sidebar-size=condensed] .left-side-menu .user-box .avatar-md { width: 46px; height: 46px; margin: 0; }
    body.dashboard-light[data-sidebar-size=condensed] .left-side-menu .user-box .dropdown,
    body.dashboard-light[data-sidebar-size=condensed] .left-side-menu .user-box p { display: none !important; }
    body.dashboard-light[data-sidebar-size=condensed] #sidebar-menu { padding: 0 12px; }
    body.dashboard-light[data-sidebar-size=condensed] .left-side-menu #sidebar-menu > ul > li > a { display: flex; width: 60px; min-height: 54px; padding: 16px; justify-content: center; align-items: center; }
    body.dashboard-light[data-sidebar-size=condensed] .left-side-menu #sidebar-menu > ul > li > a i { margin: 0; width: 24px; font-size: 22px; line-height: 24px; }
    body.dashboard-light[data-sidebar-size=condensed] .left-side-menu #sidebar-menu > ul > li > a > span { display: none !important; }
    body.dashboard-light[data-sidebar-size=condensed] .left-side-menu #sidebar-menu > ul > li:hover > a { width: 60px; box-shadow: none; background: #ffffff14; color: #fff; }
    body.dashboard-light[data-sidebar-size=condensed] .left-side-menu #sidebar-menu > ul > li.menuitem-active:hover > a { background: #e8f3f8; color: var(--petrol); }
    body.dashboard-light[data-sidebar-size=condensed] .left-side-menu #sidebar-menu > ul > li:hover > .collapse > ul { left: 72px; background: #fff; border: 1px solid #dce7ed; border-radius: 12px; box-shadow: 0 8px 24px #204b6120; }
    body.dashboard-light[data-sidebar-size=condensed] .left-side-menu .nav-second-level li a { color: #24516a; font-size: 15px; padding: 14px 18px; }
}
@media (max-width: 1399px) {
    .dashboard-light .content-page { padding-left: 28px; padding-right: 28px; margin-left: 230px; }
    body.dashboard-light[data-sidebar-color=dark] .left-side-menu { width: 230px; }
    .dashboard-light .footer { left: 230px; }
    .dashboard-light .dashboard-kpis { gap: 16px; }
    .dashboard-light .dashboard-stat { padding: 22px; }
    .dashboard-light .dashboard-stat h2, .dashboard-light .dashboard-stat h3 { font-size: 32px; }
    .dashboard-light .dashboard-analysis { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
    .dashboard-light .dashboard-chart-card, .dashboard-light .dashboard-goal-settings { padding: 24px; }
    .dashboard-light .dashboard-channels { grid-template-columns: repeat(3, 1fr); }
    .dashboard-light .dashboard-channels-heading { grid-column: 1 / -1; flex-direction: row; gap: 12px; }
    .dashboard-light .dashboard-channel:nth-child(2) { border-left: 0; padding-left: 0; }
    .dashboard-light .dashboard-hero p { max-width: 520px; }
}
@media (max-width: 1199px) {
    .dashboard-light #dashboard[data-dashboard-view=essential] .dashboard-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-light #dashboard[data-dashboard-view=essential] #contactsMetric { grid-column: 1 / -1; }
    .dashboard-light .dashboard-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-light .dashboard-stat h2, .dashboard-light .dashboard-stat h3 { font-size: 38px; }
    .dashboard-light .dashboard-stat-feature { min-height: 235px; }
    .dashboard-light .dashboard-analysis, .dashboard-light .dashboard-advertising, .dashboard-light .dashboard-history { grid-template-columns: minmax(0, 1fr); }
    .dashboard-light .dashboard-goal-progress { justify-content: flex-start; }
    .dashboard-light .dashboard-goal-actions { max-width: 500px; }
    .dashboard-light .dashboard-hero { align-items: flex-start; flex-direction: column; gap: 20px; }
    .dashboard-light .dashboard-hero p { max-width: 100%; }
    .dashboard-light .dashboard-secondary-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-light #dateSelector .form-group.row { flex-wrap: wrap; }
    .dashboard-light .dashboard-calendar-range { min-width: 300px; flex: 1; }
    .dashboard-light #card-select .dashboard-company-label { flex-basis: 240px; }
}
@media (max-width: 992px) {
    body.dashboard-light[data-sidebar-color=dark] .left-side-menu { padding-top: 84px; z-index: 1001; }
    .dashboard-light .navbar-custom { z-index: 1002; }
}
@media (max-width: 767px) {
    .dashboard-light #dashboard[data-dashboard-view=essential] .dashboard-kpis { grid-template-columns: minmax(0, 1fr); }
    .dashboard-light #dashboard[data-dashboard-view=essential] .dashboard-stat { padding: 28px; }
    .dashboard-light .content-page { margin-left: 0 !important; margin-top: 0; padding: 0 20px 88px; }
    .dashboard-light .navbar-custom.my-3 { margin: 0 -20px 26px !important; padding: 12px 16px; background: #f5f6f5f2 !important; border-bottom: 1px solid var(--line); }
    .dashboard-light .dashboard-breadcrumb { font-size: 13px; }
    .dashboard-light .dashboard-breadcrumb > span, .dashboard-light .dashboard-breadcrumb { color: transparent; }
    .dashboard-light .dashboard-breadcrumb > span { margin: 0; }
    .dashboard-light .dashboard-breadcrumb { font-size: 0; }
    .dashboard-light .dashboard-breadcrumb strong { font-size: 14px; }
    .dashboard-light .navbar-custom .pro-user-name { display: none; }
    body.dashboard-light[data-sidebar-color=dark] .left-side-menu { padding-top: 84px; z-index: 1001; }
    .dashboard-light .navbar-custom { z-index: 1002; }
    .dashboard-light .dashboard-hero h1 { font-size: 35px; }
    .dashboard-light .dashboard-hero p { font-size: 16px; }
    .dashboard-light .dashboard-hero { gap: 22px; margin-bottom: 28px; }
    .dashboard-light #card-select .card-body { padding: 20px !important; }
    .dashboard-light #dateSelector .form-group.row { flex-direction: column; gap: 20px; }
    .dashboard-light #card-select .dashboard-company-label { flex-basis: auto; }
    .dashboard-light .dashboard-calendar-range { min-width: 0; }
    .dashboard-light .dashboard-date-range-trigger { padding: 10px 12px; gap: 10px; }
    .dashboard-light .dashboard-date-range-part strong { font-size: 14px; }
    .dashboard-light .dashboard-section-heading { align-items: start; flex-direction: column; gap: 10px; margin: 24px 0 18px; }
    .dashboard-light .dashboard-section-heading h2 { font-size: 25px; }
    .dashboard-light .dashboard-kpis { gap: 14px; }
    .dashboard-light .dashboard-stat { padding: 22px; }
    .dashboard-light .dashboard-kpis { grid-template-columns: minmax(0, 1fr); }
    .dashboard-light .dashboard-stat h2, .dashboard-light .dashboard-stat h3 { font-size: 38px; }
    .dashboard-light .dashboard-stat-top { margin-bottom: 20px; }
    .dashboard-light .dashboard-stat-feature { min-height: 0; }
    .dashboard-light .dashboard-stat-detail { font-size: 15px; }
    .dashboard-light .dashboard-channels { grid-template-columns: 1fr; padding: 24px; gap: 18px; }
    .dashboard-light .dashboard-channels-heading { flex-direction: column; gap: 4px; margin-bottom: 6px; }
    .dashboard-light .dashboard-channel { padding: 16px 0 0; border-left: 0; border-top: 1px solid #cfdee5; }
    .dashboard-light .dashboard-channel:nth-child(2) { padding-top: 16px; }
    .dashboard-light .dashboard-channel p { font-size: 15px; }
    .dashboard-light .dashboard-analysis, .dashboard-light .dashboard-advertising, .dashboard-light .dashboard-history { gap: 20px; }
    .dashboard-light .dashboard-chart-card, .dashboard-light .dashboard-goal-settings { padding: 24px 18px; }
    .dashboard-light .dashboard-card-heading h2 { font-size: 22px; }
    .dashboard-light .dashboard-card-heading p, .dashboard-light .dashboard-goal-insight p { font-size: 15px; }
    .dashboard-light .dashboard-chart-legend { gap: 14px; font-size: 13px; }
    .dashboard-light .dashboard-goal-progress { gap: 8px; }
    .dashboard-light #contactChart { flex-basis: 130px; width: 130px; }
    .dashboard-light .dashboard-goal-progress strong { font-size: 19px; }
    .dashboard-light .dashboard-goal-actions .btn { padding-left: 12px; padding-right: 12px; }
    .dashboard-light .dashboard-balance-card { padding: 26px; }
    .dashboard-light .dashboard-secondary-kpis { gap: 14px; grid-template-columns: minmax(0, 1fr); }
    .dashboard-light .dashboard-stat-compact { padding: 22px; }
    .dashboard-light .dashboard-stat-compact h3 { font-size: 32px; }
    .dashboard-light .dashboard-stat-compact .dashboard-stat-top { margin-bottom: 16px; }
    .dashboard-light .card-body { padding: 24px 18px; }
    .dashboard-light .keywords-cost-summary { gap: 12px; }
    .dashboard-light .dashboard-comparison-metrics { grid-template-columns: minmax(0, 1fr); }
    .dashboard-light .dashboard-google-date-picker { border-radius: 16px; }
    .dashboard-light #mainChartGoogleAds .apexcharts-legend-series { min-width: 85px; padding: 6px; }
    .dashboard-light #mainChartGoogleAds .apexcharts-legend-text { font-size: 11px !important; }
    .dashboard-light #mainChartGoogleAds .apexcharts-legend-text > span { font-size: 14px !important; }
    .dashboard-light .footer { left: 0; padding: 22px 20px; }
    .dashboard-light .dashboard-welcome { padding: 28px; }
    .dashboard-light .dashboard-welcome h2 { font-size: 26px; }
    .dashboard-light .dashboard-welcome-step { flex-wrap: wrap; line-height: 1.8; }
}
@media (prefers-reduced-motion: no-preference) {
    .dashboard-light .dashboard-hero, .dashboard-light .dashboard-data { animation: dashboard-appear .45s ease both; }
    .dashboard-light .dashboard-stat { transition: transform .2s ease, box-shadow .2s ease; }
    .dashboard-light .dashboard-stat:hover { transform: translateY(-3px); box-shadow: 0 16px 34px #204b6110; }
    @keyframes dashboard-appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
    .dashboard-light *, .dashboard-light *::before, .dashboard-light *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Contact channels belong to the summary; each keeps a stable, recognisable color. */
.dashboard-light #dashboard .dashboard-channels { padding: 0; background: transparent; border: 0; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dashboard-light #dashboard .dashboard-channels-heading { grid-column: 1 / -1; gap: 8px; align-items: baseline; }
.dashboard-light #dashboard .dashboard-channels-heading strong { font-size: 18px; }
.dashboard-light #dashboard .dashboard-channels-heading span { font-size: 14px; }
.dashboard-light #dashboard .dashboard-channel { --channel-color: #087f42; --channel-accent: #25d366; --channel-tint: #e5faed; display: grid; position: relative; grid-template-columns: 56px minmax(0, 1fr) 18px; gap: 14px; align-items: start; padding: 26px 22px 22px; border: 1px solid #d5e8dd; border-radius: 22px; background: #fff; color: #213c33; box-shadow: 0 8px 22px #143c2810; }
.dashboard-light #dashboard #phoneMetrics { --channel-color: #1965a4; --channel-accent: #2784d5; --channel-tint: #eaf4fc; border-color: #d9e7f1; }
.dashboard-light #dashboard #emailMetrics { --channel-color: #a84416; --channel-accent: #eb652b; --channel-tint: #fff1e8; border-color: #f0e1d7; }
.dashboard-light #dashboard .dashboard-channel > i:first-child { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 17px; background: var(--channel-tint); color: var(--channel-color); font-size: 30px; }
.dashboard-light #dashboard .dashboard-channel p { color: #39564a; font-weight: 600; font-size: 16px; margin: 1px 0 8px; }
.dashboard-light #dashboard .dashboard-channel h3 { font-size: 38px; line-height: 1.12; letter-spacing: -.8px; color: #203c30; margin: 0 0 8px; }
.dashboard-light #dashboard .dashboard-channel .channel-share { display: block; color: #577064; font-size: 13px; line-height: 1.5; }
.dashboard-light #dashboard .dashboard-channel .dashboard-channel-arrow { font-size: 18px; color: var(--channel-color); }
.dashboard-light #dashboard .channel-action { grid-column: 2 / -1; color: var(--channel-color); font-size: 13px; font-weight: 600; }
.dashboard-light #dashboard .channel-progress { grid-column: 1 / -1; display: block; height: 5px; border-radius: 6px; overflow: hidden; background: var(--channel-tint); }
.dashboard-light #dashboard .channel-progress > span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--channel-accent); }
.dashboard-light #dashboard .dashboard-channel.channel-empty { box-shadow: none; background: #fcfdfc; }
.dashboard-light #dashboard .dashboard-channel:focus-visible,
.dashboard-light #contactTrends button:focus-visible,
.dashboard-light #contactTrends summary:focus-visible { outline: 3px solid #1965a4; outline-offset: 4px; }

.dashboard-light #contactTrends { min-width: 0; }
.dashboard-light #dashboardGoalSettings { align-self: start; }
.dashboard-light #contactTrends .trend-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 14px 20px; margin-bottom: 16px; }
.dashboard-light #contactTrends .trend-mode { display: flex; gap: 4px; padding: 5px; border-radius: 14px; background: #f0f5f2; width: fit-content; max-width: 100%; margin: 0; }
.dashboard-light #contactTrends .trend-mode button { border: 0; padding: 11px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; color: #496458; background: transparent; }
.dashboard-light #contactTrends .trend-mode button[aria-pressed=true] { background: #fff; color: #11643c; box-shadow: 0 2px 7px #24483415; }
.dashboard-light #contactTrends .trend-view-label, .dashboard-light #contactTrends .trend-compare-controls > label { display: flex; align-items: center; gap: 10px; margin: 0; color: #3d5b4d; font-size: 14px; font-weight: 600; }
.dashboard-light #contactTrends .trend-view-label select, .dashboard-light #contactTrends .trend-compare-controls select { width: auto; min-height: 44px; border-radius: 10px; border-color: #c4d8cb; background: #fff; color: #244833; font-size: 14px; }
.dashboard-light #contactTrends .trend-compare-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding: 16px 18px; margin-bottom: 18px; border: 1px solid #d4e7db; border-radius: 16px; background: #f6fbf8; }
.dashboard-light #contactTrends .trend-compare-toggle { min-height: 44px; cursor: pointer; }
.dashboard-light #contactTrends .trend-compare-toggle input { width: 19px; height: 19px; accent-color: #25d366; }
.dashboard-light #contactTrends .trend-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.dashboard-light #contactTrends .trend-filters button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; border-radius: 24px; border: 1px solid #c4d8cb; padding: 9px 13px; background: #fff; color: #2f5140; font-size: 14px; }
.dashboard-light #contactTrends .trend-filters button[aria-pressed=false] { background: #f3f5f4; color: #65776d; border-style: dashed; text-decoration: line-through; }
.dashboard-light #contactTrends .trend-filters i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.dashboard-light #contactTrends .trend-hint { font-size: 13px; line-height: 1.6; color: #597165; margin: 0 0 10px; }
.dashboard-light #contactTrends .trend-insights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.dashboard-light #contactTrends .trend-insights > div { padding: 18px; background: #f0faf4; border-radius: 16px; }
.dashboard-light #contactTrends .trend-insights span, .dashboard-light #contactTrends .trend-insights small { display: block; color: #4b6b58; font-size: 13px; line-height: 1.5; }
.dashboard-light #contactTrends .trend-insights strong { display: block; font-size: 23px; color: #175b36; margin: 8px 0; }
.dashboard-light #contactTrends .trend-reading { margin: 20px 0; color: #365b45; font-size: 15px; line-height: 1.7; }
.dashboard-light #contactTrends .trend-investment { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 0 0 20px; }
.dashboard-light #contactTrends .trend-investment > div { min-width: 0; padding: 18px; border: 1px solid #d9e9df; border-radius: 16px; background: #f8fbf9; }
.dashboard-light #contactTrends .trend-investment span, .dashboard-light #contactTrends .trend-investment small { display: block; color: #516b5b; font-size: 13px; line-height: 1.5; }
.dashboard-light #contactTrends .trend-investment strong { display: block; margin: 7px 0; color: #174934; font-size: 22px; overflow-wrap: anywhere; }
.dashboard-light #contactTrends details { border-top: 1px solid #e0eae3; padding: 14px 0; font-size: 14px; color: #496453; }
.dashboard-light #contactTrends summary { cursor: pointer; font-weight: 600; color: #23603e; padding: 7px 0; }
.dashboard-light #contactTrends details p { font-size: 14px; margin-top: 12px; line-height: 1.75; }
.dashboard-light #contactTrends .trend-table .table-responsive { max-height: 400px; margin-top: 12px; }
.dashboard-light #contactTrends .trend-table table { font-size: 13px; }
.dashboard-light #contactTrends .trend-table caption { font-size: 13px; }
.dashboard-light #contactTrends .trend-tooltip { min-width: 210px; padding: 16px 18px; color: #294937; font-size: 14px; background: #fff; border-radius: 12px; }
.dashboard-light #contactTrends .trend-tooltip > strong { display: block; margin-bottom: 14px; color: #163d28; }
.dashboard-light #contactTrends .trend-tooltip > div, .dashboard-light #contactTrends .trend-tooltip footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 9px; }
.dashboard-light #contactTrends .trend-tooltip i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; }
.dashboard-light #contactTrends .trend-tooltip footer { border-top: 1px solid #dce8df; padding-top: 10px; margin-top: 12px; }
.dashboard-light #contactTrends .trend-tooltip small { display: block; margin-top: 10px; }
@media (max-width: 1100px) and (min-width: 768px) {
    .dashboard-light #dashboard .dashboard-channel { grid-template-columns: 48px minmax(0, 1fr); padding: 22px 18px; }
    .dashboard-light #dashboard .dashboard-channel > i:first-child { width: 48px; height: 48px; }
    .dashboard-light #dashboard .dashboard-channel .dashboard-channel-arrow { display: none; }
}
@media (max-width: 767px) {
    .dashboard-light .ads-chart-controls { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
    .dashboard-light .ads-chart-controls button { width: 100%; }
    .dashboard-light #dashboard .dashboard-channels { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .dashboard-light #dashboard .dashboard-channels-heading { align-items: start; }
    .dashboard-light #dashboard .dashboard-channel { padding: 24px; }
    .dashboard-light #contactTrends .trend-mode { width: 100%; }
    .dashboard-light #contactTrends .trend-mode button { flex: 1; padding: 11px 8px; }
    .dashboard-light #contactTrends .trend-insights { gap: 8px; }
    .dashboard-light #contactTrends .trend-insights > div { padding: 14px 10px; }
    .dashboard-light #contactTrends .trend-insights strong { font-size: 20px; }
    .dashboard-light #contactTrends .trend-investment { grid-template-columns: minmax(0,1fr); }
    .dashboard-light #contactTrends .trend-compare-controls > label { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: no-preference) {
    .dashboard-light #dashboard .dashboard-channel { transition: transform .2s ease, box-shadow .2s ease; }
    .dashboard-light #dashboard .dashboard-channel:hover { transform: translateY(-3px); box-shadow: 0 12px 24px #143c281a; }
    .dashboard-light #dashboard .channel-progress > span { transition: width .35s ease; }
}

/* Dashboard progressive entry: filters, view choice, then results. */
.dashboard-light .dashboard-hero { margin-bottom: 28px; }
.dashboard-light .dashboard-hero h1 { margin: 0; font-size: clamp(32px, 3vw, 42px); }
.dashboard-light #dashboard[data-dashboard-step="filters"] .dashboard-view-stage,
.dashboard-light #dashboard:not([data-dashboard-step="results"]) .dashboard-data,
.dashboard-light #dashboard:not([data-dashboard-step="results"]) .check-data-whatsapp-exists,
.dashboard-light #dashboard:not([data-dashboard-step="results"]) .check-data-phonetrack-exists,
.dashboard-light #dashboard:not([data-dashboard-step="results"]) .check-data-phone-exists,
.dashboard-light #dashboard:not([data-dashboard-step="results"]) .check-data-email-exists,
.dashboard-light #dashboard:not([data-dashboard-step="results"]) #dashboardComparison,
.dashboard-light #dashboard:not([data-dashboard-step="results"]) #dashboardReportCta { display: none !important; }
.dashboard-light .dashboard-view-stage { margin-top: 12px; }
.dashboard-light .dashboard-view-stage .dashboard-view-bar { align-items: center; padding: 26px 30px; border: 1px solid #dcebe3; border-radius: 22px; background: #f9fcfa; }
.dashboard-light .dashboard-view-label { font-size: 17px; font-weight: 700; }
.dashboard-light .dashboard-view-stage #dashboardViewDescription { display: none; }
.dashboard-light #dashboard[data-dashboard-step="view-choice"] .dashboard-view-stage .dashboard-view-bar { justify-content: center; text-align: center; }
.dashboard-light #dashboard[data-dashboard-step="view-choice"] .dashboard-view-control { align-items: center; }
.dashboard-light .dashboard-stage-feedback[hidden] { display: none; }
.dashboard-light .dashboard-stage-feedback { margin: -8px 0 22px; padding: 14px 18px; border: 1px solid #e9c3bd; border-radius: 12px; background: #fff7f5; color: #874238; font-size: 14px; }
.dashboard-light #dashboard[data-dashboard-step="view-choice"] .dashboard-view-stage .dashboard-customize-button,
.dashboard-light #dashboard[data-dashboard-step="loading"] .dashboard-view-stage .dashboard-customize-button { display: none; }
.dashboard-light .dashboard-stage-loading { display: none; align-items: center; gap: 12px; padding: 14px 30px 24px; color: #315746; font-size: 15px; }
.dashboard-light #dashboard[data-dashboard-step="loading"] .dashboard-stage-loading { display: flex; }
.dashboard-light .dashboard-stage-loading-indicator { width: 18px; height: 18px; border: 2px solid #bcecd0; border-top-color: #25c963; border-radius: 50%; animation: dashboard-loading-spin .8s linear infinite; }
.dashboard-light .dashboard-report-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 40px 0 24px; padding: 32px; border: 1px solid #f7d8c9; border-radius: 24px; background: linear-gradient(110deg, #fffaf6, #fff3e9); }
.dashboard-light .dashboard-report-cta h2 { margin: 7px 0 8px; color: var(--ink); font-size: 24px; }
.dashboard-light .dashboard-report-cta p { margin: 0; color: var(--muted); font-size: 15px; }
.dashboard-light .dashboard-report-cta .dashboard-report-link { display: inline-flex; align-items: center; justify-content: center; margin: 0; min-height: 50px; font-size: 15px; font-weight: 700; }
@keyframes dashboard-loading-spin { to { transform: rotate(360deg); } }
@keyframes dashboard-stage-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dashboard-choice-breathe { 0%, 100% { box-shadow: 0 0 0 0 #ff653300; } 50% { box-shadow: 0 0 0 5px #ff653335; } }
@media (prefers-reduced-motion: no-preference) {
    .dashboard-light #dashboard[data-dashboard-step="view-choice"] .dashboard-view-stage,
    .dashboard-light #dashboard[data-dashboard-step="results"] .dashboard-data,
    .dashboard-light #dashboard[data-dashboard-step="results"] .dashboard-report-cta { animation: dashboard-stage-enter .5s ease both; }
    .dashboard-light #dashboard[data-dashboard-step="view-choice"] .dashboard-view-switch button { animation: dashboard-choice-breathe 2.8s ease-in-out infinite; }
    .dashboard-light #dashboard[data-dashboard-step="view-choice"] .dashboard-view-switch button + button { animation-delay: 1.4s; }
}
@media (prefers-reduced-motion: reduce) { .dashboard-light .dashboard-stage-loading-indicator { animation: none; } }
@media (max-width: 700px) {
    .dashboard-light .dashboard-view-stage .dashboard-view-bar { align-items: flex-start; padding: 22px; }
    .dashboard-light .dashboard-report-cta { flex-direction: column; align-items: stretch; padding: 24px; }
    .dashboard-light .dashboard-report-cta .dashboard-report-link { width: 100%; }
}
