body{margin:0;font-family:Inter,Arial,sans-serif;background:#f5f7fb;color:#172033}header{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;background:#fff;border-bottom:1px solid #dce3ef}main{padding:24px}h1,h2,h3,p{margin-top:0}button{background:#315f8f;color:#fff;border:0;border-radius:8px;padding:10px 14px;cursor:pointer;font-weight:600}button+button{margin-left:8px}button:disabled{opacity:.45;cursor:not-allowed}input{box-sizing:border-box;padding:10px;border:1px solid #ccd6e0;border-radius:8px;margin:6px 0;width:100%;max-width:320px}label{font-weight:600}.periodBar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.periodPicker{display:flex;align-items:end;gap:12px;background:#fff;border:1px solid #dce3ef;border-radius:8px;padding:10px 12px;flex-wrap:wrap}.periodPicker span{align-self:center;color:#52627a;font-size:12px;font-weight:800;text-transform:uppercase}.periodPicker label{display:grid;gap:4px;font-size:12px;color:#52627a}.periodPicker select{min-width:132px;border:1px solid #ccd6e0;border-radius:8px;padding:9px 10px;background:#fff;color:#172033;font-weight:700}.periodPicker strong{align-self:center;color:#172033;font-size:14px;text-transform:capitalize;white-space:nowrap}.toolbar{display:flex;gap:12px;align-items:end;margin-bottom:16px;flex-wrap:wrap}.toolbar input{width:160px;margin-left:6px}.toolbarGroup{display:flex;gap:8px;align-items:end;background:#fff;border:1px solid #dce3ef;border-radius:8px;padding:8px}.toolbarGroup span{align-self:center;color:#52627a;font-size:12px;font-weight:800;text-transform:uppercase}.compactToolbar{align-items:stretch}.toolbarMenu{position:relative;background:#fff;border:1px solid #dce3ef;border-radius:8px;min-width:190px}.toolbarMenu summary{list-style:none;cursor:pointer;padding:12px 40px 12px 14px;color:#263548;font-weight:800;position:relative}.toolbarMenu summary::-webkit-details-marker{display:none}.toolbarMenu summary:after{content:"";position:absolute;right:14px;top:50%;width:8px;height:8px;border-right:2px solid #52627a;border-bottom:2px solid #52627a;transform:translateY(-65%) rotate(45deg);transition:transform .15s ease}.toolbarMenu[open] summary:after{transform:translateY(-35%) rotate(225deg)}.toolbarMenuPanel{position:absolute;top:calc(100% + 6px);left:0;z-index:30;display:grid;gap:8px;min-width:280px;background:#fff;border:1px solid #b8c6d8;border-radius:8px;padding:10px;box-shadow:0 18px 44px #0f172a2e}.toolbarMenu[open]{border-color:#b8c6d8}.toolbarMenu[open] .toolbarMenuPanel{display:grid}.toolbarMenuPanel.compact{min-width:240px}.toolbarMenuPanel button{margin-left:0;text-align:left}.dateGroup{align-items:end}.actionRefresh{background:#315f8f}.actionPrimary{background:#2f7d57}.actionLeads{background:#6f4aa8}.actionTraffic{background:#8a5a13}.actionCategories{background:#0f766e}.actionPrevious{background:#4d7c0f}.actionCurrent{background:#1f766d}.yearTabs{display:flex;align-items:center;gap:0;overflow:auto;margin-bottom:10px;background:#fff;border:1px solid #b8c6d8;border-radius:8px;width:max-content;max-width:100%}.yearTabs strong{padding:0 12px;color:#52627a;font-size:12px;text-transform:uppercase;white-space:nowrap}.yearTabs button{border-radius:0;background:#fff;color:#263548;margin:0;border-left:1px solid #dce3ef;min-width:76px}.yearTabs button.active{background:#315f8f;color:#fff}.monthTabs{display:flex;gap:0;overflow:auto;margin-bottom:12px;background:#fff;border:1px solid #b8c6d8;border-radius:8px}.monthTabs button{border-radius:0;background:#fff;color:#263548;margin:0;border-right:1px solid #dce3ef;min-width:74px;text-transform:capitalize}.monthTabs button:last-child{border-right:0}.monthTabs button.active{background:#315f8f;color:#fff}.tableWrap{overflow:auto;background:#fff;border:1px solid #dce3ef;border-radius:8px;max-height:72vh}table{border-collapse:collapse;width:max-content;min-width:100%}th,td{border-bottom:1px solid #eef2f7;border-right:1px solid #eef2f7;padding:9px 10px;text-align:right;white-space:nowrap}th{position:sticky;top:0;background:#f9fbfe;z-index:1;cursor:pointer}th:nth-child(-n+4),td:nth-child(-n+4){text-align:left}td:first-child,th:first-child{position:sticky;left:0;background:#fff;z-index:2}.ok{color:#11823b;font-weight:700}.bad{color:#bf1d1d;font-weight:700}.center{height:100vh;display:grid;place-items:center}.card{background:#fff;border:1px solid #dce3ef;border-radius:8px;padding:20px;box-shadow:0 10px 30px #1428500f}.loginCard{width:min(380px,calc(100vw - 48px))}.settings,.settingsPage{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px;align-items:start}.settingsTabs{display:flex;gap:0;align-items:center;overflow:auto;background:#fff;border:1px solid #b8c6d8;border-radius:8px}.settingsTabs button{border-radius:0;background:#fff;color:#263548;margin:0;border-right:1px solid #dce3ef;white-space:nowrap}.settingsTabs button:last-child{border-right:0}.settingsTabs button.active{background:#315f8f;color:#fff}.fileLine{display:flex;flex-direction:column;gap:6px;background:#f8fafc;border:1px solid #dce3ef;border-radius:8px;padding:10px}.fileLine span{font-weight:800;color:#263548;font-size:12px}.notice{grid-column:1/-1;background:#eaf7ef;border:1px solid #b9e2c6;color:#116b32;border-radius:8px;padding:12px}.insightsPanel{background:#fff;border:1px solid #dce3ef;border-radius:8px;padding:14px;margin-bottom:14px}.insightsPanel .cardHeader h3{margin:0}.insightsPanel .cardHeader span{color:#52627a;font-size:12px;font-weight:700}.insightGroup{margin-top:14px}.insightGroup h4{margin:0 0 8px;color:#172033;font-size:14px}.insightsGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px;margin-top:12px}.insightCard{border:1px solid #eef2f7;border-radius:8px;background:#fafcff;padding:12px}.insightCard strong{display:block;margin-bottom:8px}.insightSections{display:grid;grid-template-columns:minmax(190px,.8fr) minmax(320px,1.6fr);gap:10px;margin-bottom:8px}.insightSection{border:1px solid #e2e8f0;border-radius:8px;background:#fff;padding:10px}.insightSection h4{margin:0 0 8px;color:#52627a;font-size:11px;text-transform:uppercase;letter-spacing:.04em}.insightMetrics{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}.insightMetrics span{background:#fff;border:1px solid #dce3ef;border-radius:6px;padding:5px 7px;font-size:12px;font-weight:700;color:#263548}.insightDataMetrics span:nth-child(n+4){display:none}.insightFactors{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:7px}.factorCoverage{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.factorCoverage span{background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;color:#1d4e89;font-size:11px;font-weight:900;padding:4px 8px}.factorPill{border:1px solid #dce3ef;border-radius:7px;padding:7px 8px;background:#f8fafc;display:grid;gap:3px;min-height:54px}.factorPill b{font-size:11px;color:#52627a}.factorPill em{font-style:normal;font-size:13px;font-weight:800;color:#172033}.factorPill small{width:max-content;border-radius:999px;padding:2px 6px;font-size:11px;font-weight:900}.factorGood{border-color:#b7e4c7;background:#f0fbf4}.factorGood small{background:#d8f3dc;color:#126b3a}.factorBad{border-color:#fecaca;background:#fff5f5}.factorBad small{background:#fee2e2;color:#b42318}.factorNeutral small{background:#eef2f7;color:#52627a}.insightCard p{margin:0;color:#52627a;line-height:1.45;font-size:13px}@media(max-width:760px){.insightSections,.insightFactors{grid-template-columns:1fr}}.syncNotice{background:#fff;border:1px solid #b8c6d8;border-left:5px solid #6f4aa8;border-radius:8px;padding:12px 14px;margin:-4px 0 16px;box-shadow:0 8px 22px #14285014}.syncHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.syncHeader strong{color:#172033}.syncHeader span{color:#6f4aa8;font-weight:800}.syncBar{height:10px;background:#eef2f7;border-radius:999px;overflow:hidden}.syncBar span{display:block;height:100%;background:linear-gradient(90deg,#6f4aa8,#22a06b);border-radius:999px;transition:width .25s ease}.syncStats{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.syncStats span{background:#f4f7fb;border:1px solid #dce3ef;border-radius:6px;padding:5px 8px;color:#263548;font-size:12px;font-weight:700}.syncNotice p{margin:8px 0 0;color:#9f1239}.factorStatusTableWrap{display:block!important;overflow:auto;margin-top:12px;border:1px solid #dce3ef;border-radius:8px;max-width:100%}.factorStatusTable{display:table!important;width:100%;min-width:920px;table-layout:fixed;font-size:12px;margin:0}.factorStatusTable thead{display:table-header-group!important}.factorStatusTable tbody{display:table-row-group!important}.factorStatusTable tr{display:table-row!important}.factorStatusTable th,.factorStatusTable td{display:table-cell!important;text-align:left;vertical-align:top;white-space:normal;padding:8px 10px}.factorStatusTable th{position:sticky;top:0;background:#edf3fb;z-index:1}.factorStatusTable th:nth-child(1),.factorStatusTable td:nth-child(1){width:110px}.factorStatusTable th:nth-child(2),.factorStatusTable td:nth-child(2){width:90px}.factorStatusTable th:nth-child(3),.factorStatusTable td:nth-child(3){width:130px}.factorStatusTable th:nth-child(4),.factorStatusTable td:nth-child(4){width:110px}.factorStatusTable th:nth-child(5),.factorStatusTable td:nth-child(5){width:110px}.factorStatusTable th:nth-child(6),.factorStatusTable td:nth-child(6){width:auto;word-break:break-word}.statusOk{color:#116b32;font-weight:800}.statusMiss{color:#9f1239;font-weight:800}.statusMuted{color:#52627a;font-weight:700}a{color:#315f8f;cursor:pointer;margin-top:12px}nav button{background:#263548}nav button.active{background:#315f8f}.segmented{display:flex;border:1px solid #b8c6d8;border-radius:8px;overflow:hidden;background:#fff}.segmented button{border-radius:0;background:#fff;color:#263548;margin:0;border-right:1px solid #dce3ef}.segmented button:last-child{border-right:0}.segmented button.active{background:#315f8f;color:#fff}.excelShell{background:#fff;border:1px solid #c9d4e2;border-radius:8px;overflow:hidden}.excelTopbar{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:10px 12px;background:#f4f7fb;border-bottom:1px solid #dce3ef}.excelTopbar strong{display:block;font-size:15px}.excelTopbar span{font-size:12px;color:#52627a}.switchLine{display:flex!important;align-items:center;gap:8px;background:#fff;border:1px solid #b8c6d8;border-radius:8px;padding:8px 10px;font-size:12px;font-weight:800;color:#263548;white-space:nowrap}.switchLine input{width:auto;margin:0}.switchLine span{font-size:12px;color:#263548}.excelFilters{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:8px 12px;border-bottom:1px solid #dce3ef;background:#fff}.excelFilters strong{font-size:12px;color:#52627a}.excelFilters label{display:flex;align-items:center;gap:5px;font-size:12px;font-weight:600}.excelFilters input{width:auto;margin:0}.legend{display:flex;gap:8px;flex-wrap:wrap}.legend span{padding:4px 8px;border-radius:4px;color:#172033}.legendBad{background:#f4b6b6}.legendMid{background:#ffe599}.legendGood{background:#b6d7a8}.excelWrap{max-height:74vh;overflow:auto;background:#fff}.excelTable{border-collapse:collapse;width:max-content;min-width:100%;font-size:12px}.excelTable th,.excelTable td{border:1px solid #cfd8e3;padding:5px 6px;min-width:74px;height:24px;text-align:right;white-space:nowrap}.excelTable thead th{position:sticky;top:0;z-index:5;background:#edf3fb;text-align:center;font-weight:700;height:32px;box-sizing:border-box}.excelTable thead tr:first-child th{top:0}.excelTable thead tr:nth-child(2) th{top:32px;height:31px}.excelTable tbody tr:hover th,.excelTable tbody tr:hover td{background:#fff8d6!important}.excelTable .corner,.excelTable .rowSection,.excelTable .rowChannel,.excelTable .rowMetric{position:sticky;text-align:left;z-index:6;background:#fff}.excelTable .colSection,.excelTable .rowSection{display:none}.excelTable .colChannel,.excelTable .rowChannel{left:0;min-width:190px;max-width:190px}.excelTable .colMetric,.excelTable .rowMetric{left:203px;min-width:220px;max-width:220px}.excelTable thead .corner{z-index:8;background:#dbe7f6}.rowSection,.rowChannel,.rowMetric{overflow:hidden;text-overflow:ellipsis}.rowSection{font-weight:700;background:#eef5ff}.rowChannel{font-weight:700;background:#f8fbff}.rowMetric{font-weight:500}.monthHead{background:#b6d7a8!important}.weekHead{background:#9fc5e8!important}.partialWeekHead{background:#c7b8ea!important}.weekToggle{display:inline-grid;place-items:center;width:20px;height:20px;padding:0;margin:0 6px 0 0;border-radius:4px;background:#263548;color:#fff;vertical-align:middle}.monthSub,.weekSub{background:#d9ead3!important}.dateHead{background:#fff2cc!important;min-width:78px!important}.weekendHead{background:#f4cccc!important;color:#7f1d1d}.history{background:#efefef!important;color:#5b6472}.planHead{background:#cfe2f3!important}.groupStart th,.groupStart td{border-top:2px solid #7b93b3}.planCell{background:#f7fbff}.factCell{background:#fff}.mutedCell{color:#6b7280;background:#fafafa}.sparkCol{min-width:42px!important}.sparkCell{min-width:42px!important;background:#fff;padding:4px!important}.sparkCell span{display:block;height:12px;background:#6aa84f;border-radius:2px}.dayCell{background:#fff}.weekendCell{background:#fff5f5}.leadLink,.analysisLink{background:transparent;color:#315f8f;padding:0;border-radius:0;text-decoration:underline;font-weight:800}.leadLink:hover,.analysisLink:hover{color:#1f4d7a;background:transparent}.modalBackdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:120;background:#0f172a8c;display:flex;align-items:center;justify-content:center;padding:24px}.leadModal{background:#fff;border-radius:8px;box-shadow:0 24px 80px #0f172a47;width:min(1180px,calc(100vw - 48px));max-height:calc(100vh - 48px);display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden}.modalHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #dce3ef;background:#f8fbff}.modalHeader h3{margin:0;font-size:16px}.leadModalTableWrap{overflow:auto}.leadModalTable{font-size:12px}.leadModalTable th,.leadModalTable td{text-align:left;max-width:260px;overflow:hidden;text-overflow:ellipsis}.analysisModal{width:min(980px,calc(100vw - 48px))}.analysisModalBody{overflow:auto;padding:14px;display:grid;gap:10px}.sortHeader{display:flex;align-items:center;gap:6px;width:100%;padding:0;background:transparent;color:inherit;border:0;border-radius:0;font:inherit;font-weight:800;text-align:left}.sortHeader:hover{background:transparent;color:#315f8f}.sortMark{display:inline-block;min-width:10px;color:#315f8f;font-size:10px}.seoUrlModal{background:#fff;border-radius:8px;box-shadow:0 24px 80px #0f172a47;width:min(720px,calc(100vw - 48px));max-height:calc(100vh - 48px);display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden}.seoUrlModalBody{padding:16px;overflow:auto}.seoUrlModal textarea{box-sizing:border-box;width:100%;max-width:none;min-height:280px;border:1px solid #ccd6e0;border-radius:8px;padding:12px;font-family:Consolas,monospace;line-height:1.5}.seoUrlModalActions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.seoUrlModalActions span{color:#52627a;font-size:12px;font-weight:700}.scoreGood{background:#b6d7a8;color:#154c16;font-weight:700}.scoreMid{background:#ffe599;color:#6f5200;font-weight:700}.scoreBad{background:#f4b6b6;color:#7f1d1d;font-weight:700}.scoreEmpty{background:#f7f7f7;color:#9ca3af}.wideCard{grid-column:1/-1}.cardHeader{display:flex!important;align-items:center;justify-content:space-between;gap:12px}.settingsGrid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px 14px}.settingsGrid label,.metricSettings label{font-size:12px;font-weight:700;color:#52627a}.settingsGrid input,.settingsGrid select,.settingsGrid textarea,.metricSettings input,.categoryRow input,.categoryRow select{display:block;width:100%;max-width:none;margin-top:6px}.settingsGrid textarea{box-sizing:border-box;min-height:74px;border:1px solid #ccd6e0;border-radius:8px;padding:10px;font-family:Consolas,monospace;line-height:1.4;resize:vertical}.settingsGrid .ghostButton{width:100%;margin-top:6px}select{box-sizing:border-box;padding:10px;border:1px solid #ccd6e0;border-radius:8px;background:#fff}.metricSettings{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px 14px}.categoryEditor{display:grid!important;gap:10px;margin:12px 0}.categoryRow{display:grid!important;grid-template-columns:100px repeat(4,minmax(150px,1fr)) 90px;gap:8px;align-items:center;padding:8px;border:1px solid #eef2f7;border-radius:8px;background:#fafcff}.categoryRowSeoId{grid-template-columns:100px minmax(180px,1fr) minmax(180px,1fr) minmax(140px,180px) 96px 90px}.checkLine{display:flex!important;align-items:center;gap:6px;font-size:12px}.checkLine input{width:auto;margin:0}.ghostButton{background:#eef2f7;color:#263548}.dangerZone{border-color:#f0b8b8;background:snow}.dangerButton{background:#b42318;margin-top:10px}.dangerButton:hover{background:#8f1d14}.inlineDanger{margin-top:0}.plansList{display:flex!important;flex-wrap:wrap;gap:8px;margin-top:12px}.plansList span{background:#f4f7fb;border:1px solid #dce3ef;border-radius:8px;padding:6px 8px;font-size:12px}.planToolbar{display:flex!important;align-items:end;gap:16px;flex-wrap:wrap;margin-bottom:12px}.planToolbar label{min-width:220px;font-size:12px;color:#52627a}.planToolbar span{font-size:13px;color:#263548;font-weight:700;padding-bottom:10px}.planTableWrap{display:block!important;overflow:auto;border:1px solid #dce3ef;border-radius:8px;background:#fff;margin-bottom:12px}.planTable{display:table!important;width:100%;min-width:760px}.planTable thead{display:table-header-group!important}.planTable tbody{display:table-row-group!important}.planTable tr{display:table-row!important}.planTable th,.planTable td{display:table-cell!important}.planTable th,.planTable td{text-align:left;padding:8px;border-right:1px solid #eef2f7;border-bottom:1px solid #eef2f7}.planTable thead th{position:sticky;top:0;background:#edf3fb;z-index:1}.planTable tbody th{font-weight:700;background:#f8fbff;min-width:220px}.planTable input{width:100%;max-width:none;margin:0;text-align:right}.hintText{color:#52627a;font-size:13px;line-height:1.45}.mappingList{display:grid!important;gap:8px;margin-top:12px}.mappingItem{display:grid!important;grid-template-columns:minmax(220px,1fr) minmax(180px,1fr) minmax(120px,160px) 90px;gap:8px;align-items:center;padding:8px;border:1px solid #eef2f7;border-radius:8px;background:#fafcff}.mappingItem span{color:#172033}.mappingItem strong{color:#315f8f}.userItem{grid-template-columns:minmax(220px,1fr) 130px minmax(160px,220px) 150px 100px}.userItem input{max-width:none;margin:0}.metrikaSummary{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin-top:14px}.debugTableWrap{display:block!important;overflow:auto;margin-top:14px;border:1px solid #dce3ef;border-radius:8px;background:#fff;max-height:420px}.debugTable{font-size:12px}.debugTable th,.debugTable td{text-align:left;max-width:260px;overflow:hidden;text-overflow:ellipsis}.kpiMini{background:#f7fbff;border:1px solid #dce3ef;border-radius:8px;padding:10px}.kpiMini span{display:block;color:#52627a;font-size:12px}.kpiMini strong{font-size:18px;color:#172033}.chartsPage{display:grid;gap:16px}.chartsToolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.chartCategoryFilters{background:#fff;border:1px solid #dce3ef;border-radius:8px;padding:14px;display:grid;gap:10px}.chartFilterHeader{display:flex;justify-content:space-between;align-items:center;gap:12px}.chartFilterList{display:flex;gap:10px;flex-wrap:wrap}.chartFilterList label{display:flex;align-items:center;gap:6px;background:#f7fbff;border:1px solid #dce3ef;border-radius:6px;padding:7px 10px;font-size:12px;color:#263548}.kpiStrip{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.kpiCard{background:#fff;border:1px solid #dce3ef;border-radius:8px;padding:16px}.kpiCard span{display:block;color:#52627a;font-size:12px}.kpiCard strong{font-size:24px}.chartPanel{background:#fff;border:1px solid #dce3ef;border-radius:8px;padding:18px}.barChart{height:190px;display:flex;align-items:end;gap:12px;border-left:1px solid #dce3ef;border-bottom:1px solid #dce3ef;padding:8px 8px 24px;overflow:auto}.barGroup{display:grid;grid-template-columns:16px 16px;gap:3px;align-items:end;position:relative;min-width:42px;height:160px}.barGroup span{position:absolute;bottom:-22px;left:0;font-size:11px;color:#52627a}.bar{width:16px;border-radius:3px 3px 0 0}.costBar{background:#1f6feb}.leadsBar{background:#22a06b}.chartLegend{display:flex;gap:12px;align-items:center;margin-top:14px;color:#52627a}.costDot,.leadsDot{width:10px;height:10px;border-radius:50%;display:inline-block}.costDot{background:#1f6feb}.leadsDot{background:#22a06b}.lineChartsGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(420px,1fr));gap:16px}.lineChartPanel{background:#fff;border:1px solid #dce3ef;border-radius:8px;padding:16px;min-width:0}.lineChartPanel.expanded{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto}.chartPanelHeader{display:flex;justify-content:space-between;align-items:start;gap:12px}.chartPanelHeader h3{margin:0 0 8px}.chartPanelHeader span{color:#52627a;font-size:12px}.lineChartPanel svg{width:100%;height:auto;display:block}.axisLine{stroke:#8da0b8;stroke-width:1.2}.gridLine{stroke:#edf2f7;stroke-width:1}.axisText{fill:#52627a;font-size:12px}.metricLine{stroke-width:2.4;stroke-linejoin:round;stroke-linecap:round}.lineLegend{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px;color:#52627a;font-size:12px}.lineLegend span{display:flex;align-items:center;gap:5px}.lineLegend i{width:10px;height:10px;border-radius:50%;display:inline-block}.chartOverlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#0f172a94;padding:24px;display:flex;align-items:center;justify-content:center}.chartOverlayPanel{background:#fff;border-radius:8px;box-shadow:0 24px 80px #0f172a47;width:min(1280px,calc(100vw - 48px));height:min(780px,calc(100vh - 48px));overflow:auto}@media(max-width:900px){.categoryRow{grid-template-columns:1fr}.excelTable .colChannel,.excelTable .rowChannel{left:0;min-width:130px}.excelTable .colMetric,.excelTable .rowMetric{left:143px;min-width:180px}}.settingsSubsection{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px 14px;border:1px solid #dce3ef;border-radius:8px;background:#f8fbff;padding:12px}.settingsSubsection strong{grid-column:1/-1;color:#172033;font-size:13px}.settingsSubsection .hintText{grid-column:1/-1;margin:0}.analysisProgress{display:grid;grid-template-columns:minmax(220px,1fr) 160px auto;align-items:center;gap:8px;min-height:34px;padding:6px 10px;border:1px solid #d9e2ef;border-radius:8px;background:#f7fbff;color:#263348;font-size:12px}.analysisProgress progress{width:100%;height:10px;accent-color:#2563eb}.actionAnalysis{background:#7c3aed;color:#fff}.actionAnalysis:disabled{opacity:.65;cursor:wait}@media(max-width:760px){.analysisProgress{grid-template-columns:1fr;align-items:start}.analysisProgress progress{width:100%}}header{align-items:flex-start;gap:20px;flex-wrap:wrap}.projectHeading h2{margin-bottom:12px}.projectTabs{display:flex;gap:6px;flex-wrap:wrap}.projectTabs button{margin:0;background:#f0f4f9;color:#52627a;border:1px solid #dce3ef;font-size:12px;padding:8px 11px;white-space:nowrap}.projectTabs button.active{background:#315f8f;border-color:#315f8f;color:#fff}.projectTabs button:hover{border-color:#315f8f}header nav{display:flex;gap:8px;flex-wrap:wrap}header nav button{margin:0}.projectsWorkspace{max-width:1200px;margin:0 auto}.projectsIntro p{color:#52627a;line-height:1.6;max-width:800px}.projectCards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px;margin:24px 0}.projectCard{display:grid;grid-template-columns:44px 1fr;align-items:center;gap:14px;background:#fff;border:1px solid #dce3ef;border-radius:12px;padding:20px}.projectCard h3{margin:0 0 6px;overflow-wrap:anywhere}.projectCard p{color:#52627a;margin:0;font-size:13px}.projectIcon{display:grid;place-items:center;width:44px;height:44px;background:#eaf0f8;color:#315f8f;font-weight:800;font-size:20px;border-radius:10px}.projectActions{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}.projectActions button{margin:0}.projectForm{padding:24px;background:#fff;border:1px solid #dce3ef;border-radius:12px}.projectFormFields{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:16px}.projectFormFields label{display:flex;flex-direction:column;flex:1;min-width:220px;max-width:420px;font-size:13px;color:#52627a}.projectFormFields input{max-width:none}.projectMessage{margin:16px 0 0;color:#315f8f}.projectForm .hintText{margin:16px 0 0;line-height:1.6}@media(max-width:600px){header{padding:16px}.projectTabs{gap:5px}header nav button{font-size:12px;padding:9px 11px}main{padding:16px}.projectCards{grid-template-columns:1fr}}.projectEmptyNotice{display:flex;gap:8px;align-items:center;flex-wrap:wrap;background:#eef4fb;border:1px solid #ccdced;border-radius:8px;padding:12px 16px;margin-bottom:16px;font-size:13px;color:#52627a}.projectEmptyNotice button{padding:7px 10px}.settingsSurface{min-width:0;background:#fff;border:1px solid #dce3ef;border-radius:12px;padding:24px;box-shadow:0 8px 24px #14285008}.settingsSectionHeader{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.settingsEyebrow{display:block;color:#64748b;font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;margin-bottom:8px}.settingsSectionHeader h3{margin:0 0 8px;font-size:22px;letter-spacing:-.02em}.settingsSectionHeader p{margin:0;color:#64748b;font-size:13px;line-height:1.5}.settingsSectionHeader strong{color:#334155;font-weight:600}.settingsSurface button{margin:0;line-height:1.35;font-size:12px;min-height:38px}.settingsSurface button:focus-visible,.settingsSurface input:focus-visible,.settingsSurface select:focus-visible,.settingsSurface textarea:focus-visible{outline:3px solid #c2d9ef;outline-offset:2px}.settingsSectionHeader>button{flex-shrink:0}.integrationGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.integrationCard{display:flex;flex-direction:column;min-width:0;padding:20px;border:1px solid #e2e8f0;border-radius:10px;background:#fff}.integrationCardWide{grid-column:1/-1}.integrationTitle{display:flex;align-items:center;gap:12px;margin-bottom:22px}.integrationMark{flex-shrink:0;display:grid;place-items:center;width:38px;height:38px;border:1px solid #dae5f0;background:#f0f5fa;color:#315f8f;border-radius:10px;font-size:14px;font-weight:800}.integrationTitle h4,.settingsJournalHeader h4{margin:0 0 5px;font-size:15px;color:#172033}.integrationTitle p,.settingsJournalHeader p{margin:0;color:#64748b;font-size:12px;line-height:1.5}.settingsFields{display:grid;gap:16px;min-width:0}.settingsFields>label,.settingsJournalControls>label,.settingsDangerMonth{display:flex;flex-direction:column;gap:7px;min-width:0;color:#475569;font-size:12px;font-weight:600}.settingsSurface input:not([type=checkbox]),.settingsSurface select,.settingsSurface textarea{box-sizing:border-box;width:100%;max-width:none;margin:0;padding:10px 12px;min-height:40px;border:1px solid #d5dfe9;border-radius:7px;background:#fbfcfe;color:#172033;font-family:inherit;font-size:13px;line-height:1.4}.settingsSurface textarea{resize:vertical;min-height:82px}.settingsSurface input::placeholder,.settingsSurface textarea::placeholder{color:#94a3b8;font-size:12px}.settingsFieldsColumns{grid-template-columns:repeat(2,minmax(0,1fr))}.settingsFieldWide{grid-column:1/-1}.settingsFields>.settingsToggle{display:flex;flex-direction:row;align-items:center;gap:10px;border-radius:7px;padding:12px;background:#f5f8fc;line-height:1.5;color:#334155}.settingsToggle input[type=checkbox]{width:16px;height:16px;flex-shrink:0;margin:0;accent-color:#315f8f}.settingsCardFooter{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:auto;padding-top:20px}.settingsCardFooter>span{font-size:11px;color:#94a3b8}.settingsSurface .settingsTextButton{background:transparent;color:#315f8f;padding:8px 0;min-height:0;font-weight:600}.settingsHelp{margin:0;color:#64748b;font-size:12px;line-height:1.6;font-weight:400}.integrationCard>.settingsHelp{margin-top:16px}.settingsLastRun{font-size:11px;color:#64748b;margin:12px 0 0}.settingsSaveBar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:20px;padding:16px 0 0;border-top:1px solid #e8edf3}.settingsSaveBar p{margin:0;color:#64748b;font-size:12px}.settingsSurface .metrikaSummary{margin-top:20px;padding:16px;border-radius:8px;background:#f6f9fc;border:1px solid #e2e8f0}.settingsSurface .metrikaSummary .hintText{grid-column:1/-1;margin:4px 0 0;overflow-wrap:anywhere}.manualImportLayout{display:grid;grid-template-columns:minmax(160px,.8fr) minmax(230px,1fr) minmax(230px,1fr);align-items:start;gap:24px}.manualImportActions{display:flex;flex-direction:column;gap:10px}.settingsUpload{display:flex;flex-direction:column;gap:8px;padding:16px;border:1px dashed #bacbde;border-radius:8px;background:#f8fafd;min-width:0}.settingsUploadTitle{font-size:13px;font-weight:700;color:#334155}.settingsUpload>span:not(.settingsUploadTitle){font-size:11px;color:#64748b;font-weight:400;line-height:1.5}.settingsSurface .settingsUpload input[type=file]{padding:0;border:0;background:transparent;min-height:0;font-size:11px}.settingsUpload input::file-selector-button{border:1px solid #d5dfe9;border-radius:5px;padding:6px 8px;background:#fff;color:#475569;margin-right:8px;cursor:pointer}.settingsJournal{margin-top:24px;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden;min-width:0}.settingsJournalHeader{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px}.settingsJournalControls{display:flex;align-items:flex-end;gap:12px}.settingsJournalControls>label{min-width:180px}.settingsJournal .factorStatusTableWrap{margin:0;border:0;border-top:1px solid #e2e8f0;border-radius:0;max-height:420px;overflow:auto}.settingsJournal .factorStatusTable{width:100%;min-width:720px;font-size:12px}.settingsJournal .factorStatusTable th{padding:12px 16px;font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:#64748b;background:#f8fafc}.settingsJournal .factorStatusTable td{padding:12px 16px;vertical-align:top}.settingsJournal .factorStatusTable td:last-child{white-space:normal;min-width:180px;max-width:450px;overflow-wrap:anywhere;font-weight:400;color:#64748b}.settingsJournal .factorStatusTable .settingsEmptyCell{text-align:center;white-space:normal;padding:34px;color:#94a3b8}.settingsDanger{margin-top:28px;border:1px solid #f0d6d5;border-radius:10px;background:#fffcfc;padding:20px}.settingsDangerHeader h4{margin:0 0 7px;font-size:14px;color:#9b3732}.settingsDangerHeader p{margin:0;color:#806363;font-size:12px;line-height:1.6;max-width:800px}.settingsDangerGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:20px;padding-top:20px;border-top:1px solid #f1e4e4}.settingsDangerGrid>div{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.settingsDangerGrid>div+div{border-left:1px solid #f1e4e4;padding-left:24px}.settingsDangerGrid h5{margin:0;font-size:13px;color:#475569}.settingsDangerGrid p{margin:0;line-height:1.6;color:#806363;font-size:12px;max-width:400px}.settingsDangerMonth{width:100%;max-width:260px}.settingsSurface .settingsDangerButton{background:#fff;color:#a63730;border:1px solid #e8bfbc;margin-top:auto}.settingsSurface .settingsDangerButton:hover{background:#fff1f0;border-color:#cd918b}@media(min-width:1500px){.apiSettingsPanel,.dataSettingsPanel{max-width:1320px;width:100%;box-sizing:border-box;margin:0 auto}}@media(max-width:1000px){.manualImportLayout{grid-template-columns:1fr 1fr}.settingsUpload{grid-column:1/-1}}@media(max-width:680px){.settingsSurface{padding:16px}.settingsSectionHeader{align-items:flex-start;flex-direction:column;gap:16px}.settingsSectionHeader>button{width:100%}.integrationGrid,.settingsFieldsColumns,.manualImportLayout,.settingsDangerGrid{grid-template-columns:1fr}.integrationCard{padding:16px}.integrationCardWide,.settingsFieldWide{grid-column:auto}.settingsSaveBar{align-items:stretch;flex-direction:column}.settingsJournalHeader{align-items:stretch;flex-direction:column;padding:16px}.settingsJournalControls{flex-wrap:wrap}.settingsJournalControls>label{flex:1;min-width:150px}.settingsDangerGrid>div+div{border-left:0;border-top:1px solid #f1e4e4;padding-left:0;padding-top:20px}.settingsDanger{padding:16px}.settingsSurface .settingsCardFooter button{max-width:100%}.settingsSectionHeader h3{font-size:20px}}.projectSiteHeading{min-width:0}.projectSiteHeading h3 a{color:#172033;text-decoration:none;display:inline;overflow-wrap:anywhere}.projectSiteHeading h3 a:hover{color:#315f8f;text-decoration:underline;text-underline-offset:3px}.projectSiteHeading h3 a:focus-visible{outline:3px solid #c2d9ef;outline-offset:3px;border-radius:3px}.projectSiteHeading h3 a span{display:inline-block;font-size:14px;color:#94a3b8;margin-left:7px;font-weight:400}.projectIcon img{display:block;object-fit:contain;border-radius:4px}.settingsJournal .factorStatusTable{table-layout:auto;min-width:980px}.goalsDisplayOptions{display:flex;align-items:center;gap:22px;flex-wrap:wrap;background:#f5f8fc;padding:16px;border-radius:8px;font-size:13px;color:#475569}.goalsDisplayOptions label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600}.goalsDisplayOptions input,.goalChoice input{width:16px;height:16px;margin:0;accent-color:#315f8f;flex-shrink:0}.goalsDefinition{margin:14px 0 22px}.goalsCatalogToolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}.settingsSurface .goalsCatalogToolbar input{flex:1;max-width:440px;min-width:190px}.goalsCatalogToolbar>span{color:#64748b;font-size:12px;margin-left:auto}.goalsCatalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:540px;overflow:auto;padding:2px}.goalChoice{display:flex;align-items:flex-start;gap:12px;border:1px solid #e2e8f0;border-radius:8px;padding:14px;cursor:pointer;min-width:0}.goalChoiceSelected{background:#f2f7fc;border-color:#91b2d5}.goalChoice input{margin-top:2px}.goalChoice strong{display:block;font-size:13px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.goalChoice small{display:block;font-size:11px;color:#64748b;font-weight:400;margin-top:5px}.goalsEmpty{padding:24px;grid-column:1/-1;color:#64748b;text-align:center;font-size:13px}.goalsAlert,.goalsSuccess{padding:12px 16px;border:1px solid #efcf9d;background:#fffbf2;color:#885c24;border-radius:8px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.goalsSuccess{border-color:#bbddc8;background:#f0f9f3;color:#267047}.goalsLastImport{margin-top:16px}.goalsReportHint{margin:0 0 12px;font-size:12px;color:#64748b;line-height:1.5}@media(max-width:680px){.goalsCatalog{grid-template-columns:1fr}.goalsDisplayOptions{gap:14px}.goalsDisplayOptions strong{width:100%}.goalsCatalogToolbar>span{margin-left:0}}.fullWeeksHint{margin:0;padding:8px 12px;color:#64748b;background:#f8fafc;font-size:12px;line-height:1.5;border-bottom:1px solid #e2e8f0}.excelTable .outsidePeriodHead{background:#e2eaf4!important;color:#64748b;border-top:2px solid #9cb0c8}.excelTable .outsidePeriodCell{background:#f1f5f9;color:#64748b}.excelTable .outsidePeriodCell.weekendCell{background:#e9eef5}@media(max-width:680px){.compactToolbar .dateGroup{flex-wrap:wrap;box-sizing:border-box;max-width:100%}.compactToolbar .dateGroup input{width:140px}.excelTopbar{flex-wrap:wrap;justify-content:flex-start}}:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#243248;background:#f5f7fa;font-synthesis:none}*{box-sizing:border-box}body{font-family:inherit;font-size:14px;line-height:1.5;color:#243248;background:#f5f7fa}button,input,select,textarea{font:inherit}button{font-weight:600;transition:background .15s,border-color .15s;min-height:38px}button:hover:not(:disabled){filter:brightness(.96)}button:focus-visible,summary:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b9d6ff;outline-offset:2px}button+button{margin-left:0}input,select,textarea{border:1px solid #d5dde8;border-radius:8px;background:#fff;color:#243248;padding:8px 10px}input[type=checkbox]{width:16px;min-width:16px;accent-color:#3168ad}label{font-weight:500}header{padding:20px 28px;gap:24px;align-items:flex-start}header h2{font-size:20px;letter-spacing:-.5px;margin:0 0 12px}header nav{display:flex;gap:4px;flex-wrap:wrap}header nav button{background:transparent;color:#64748b;padding:8px 12px}header nav button.active{background:#eaf1fb;color:#255d9e}.projectHeading{min-width:0;flex:1}.projectTabs{display:flex;gap:6px;overflow-x:auto;flex-wrap:nowrap;max-width:100%;padding-bottom:3px}.projectTabs button{flex-shrink:0;background:transparent;color:#64748b;border:1px solid transparent;font-size:12px;padding:6px 10px;min-height:32px}.projectTabs button.active{background:#fff;border-color:#b9cde7;color:#255d9e;box-shadow:none}main{padding:24px 28px}.reportCommandBar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:24px}.periodPicker{border:0;background:transparent;padding:0;gap:10px}.periodPicker label{font-size:11px;gap:3px}.periodPicker select{font-weight:600;min-width:120px;padding:7px 10px}.commandActions{display:flex;gap:8px;align-items:center}.customPeriod,.toolbarMenu{position:relative;border:1px solid #d5dde8;border-radius:8px;background:#fff;min-width:0}.customPeriod summary,.toolbarMenu summary{cursor:pointer;list-style:none;padding:8px 30px 8px 12px;font-size:13px;font-weight:500;white-space:nowrap}.customPeriod summary:after{content:"⌄";position:absolute;right:12px}.customPeriodPanel{position:absolute;right:0;top:calc(100% + 8px);z-index:30;background:#fff;box-shadow:0 12px 36px #172b4d20;border:1px solid #dce3ef;border-radius:12px;padding:16px;display:flex;gap:12px}.customPeriodPanel label{font-size:12px}.customPeriodPanel input{display:block;width:155px}.toolbarMenuPanel{right:0;left:auto;gap:2px;border-color:#e2e8f0;padding:8px;min-width:270px;box-shadow:0 12px 36px #172b4d20;border-radius:12px}.toolbarMenuPanel button{background:transparent;color:#334155;font-size:13px;padding:8px 10px;min-height:34px}.toolbarMenuPanel button:hover{background:#f1f5fb}.menuGroupLabel{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:#8290a4;padding:10px 10px 3px}.reportViewBar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.reportViewBar h1{font-size:26px;letter-spacing:-.8px;font-weight:650;margin:2px 0 0;text-transform:capitalize}.settingsEyebrow{font-size:10px;letter-spacing:.1em;color:#8290a4}.segmented{padding:3px;border:1px solid #e1e6ee;border-radius:9px;background:#edf1f6;gap:2px}.segmented button{background:transparent;color:#69788c;border:0;border-radius:6px;padding:6px 12px;min-height:30px;font-size:12px}.segmented button.active{background:#fff;color:#255d9e;box-shadow:0 1px 3px #122b4520}.excelShell{border:1px solid #dce3ed;border-radius:12px;background:#fff;overflow:hidden}.excelTopbar{padding:14px 16px;gap:10px;flex-wrap:wrap;justify-content:flex-start;border-bottom:1px solid #e7ecf2;background:#fff}.excelTopbar>div:first-child{margin-right:auto}.excelTopbar strong{font-size:13px}.excelTopbar select{font-size:12px;max-width:220px;padding:6px 10px;min-height:34px}.excelTopbar .switchLine{font-size:12px}.reportHelp,.reportCategoryFilter{font-size:12px;color:#718096;border-bottom:1px solid #edf1f6;padding:8px 16px}.reportHelp summary,.reportCategoryFilter summary{cursor:pointer;width:fit-content}.reportHelp p{margin:8px 0;max-width:920px}.reportHelp .fullWeeksHint{padding:0;background:none;border:0}.excelFilters{padding:12px 0;gap:12px;background:none;border:0}.excelTable .weekHead{background:#eaf0f8;color:#385576}.excelTable .monthHead{background:#dce8f7;color:#254e80}.excelTable .rowChannel,.excelTable .rowMetric{background:#fff}.excelTable .rowChannel,.excelTable .colChannel{width:203px;min-width:203px;max-width:203px}.excelTable .rowMetric,.excelTable .colMetric{left:203px;width:233px;min-width:233px;max-width:233px}.excelTable .rowMetric{box-shadow:3px 0 4px -3px #76869d}.excelTable th{font-weight:600}.statusNotice{display:flex;align-items:flex-start;gap:10px;padding:12px 16px;border:1px solid;border-radius:10px;margin:0 0 16px;font-size:13px;grid-column:1/-1}.statusNotice p{margin:0;flex:1;overflow-wrap:anywhere}.statusNoticeMark{font-weight:700}.statusNotice-success{background:#f0f8f4;border-color:#cce5d8;color:#27694b}.statusNotice-warning{background:#fffaf0;border-color:#eddfb9;color:#856321}.statusNotice-error{background:#fff4f3;border-color:#efd2cf;color:#a74740}.statusNotice-progress{background:#eef5fd;border-color:#ccdef5;color:#315f8f}.statusDismiss{background:transparent;color:inherit;padding:0;min-height:20px;font-size:20px;line-height:20px}.settingsTabs{border:0;border-bottom:1px solid #dce3ed;border-radius:0;background:transparent;padding:0 0 8px;gap:4px}.settingsTabs button{border:0;border-radius:7px;background:transparent;color:#718096;font-size:13px;padding:8px 12px}.settingsTabs button.active{background:#e6eef9;color:#255d9e}.card,.settingsSurface{box-shadow:none;border-color:#e0e6ee;border-radius:12px}.card h3,.settingsSurface h3{font-size:17px;letter-spacing:-.3px}.card label{display:block;font-size:13px}.settingsGrid label input,.settingsGrid label select{display:block;width:100%;max-width:none}.hintText,.settingsSectionHeader p{color:#718096;line-height:1.6}.ghostButton{background:#fff;color:#526781;border:1px solid #d5dde8}.settingsTextButton{background:transparent;color:#526781;border:0;font-size:12px}.integrationCard,.projectCard{box-shadow:none}.projectCard h3{font-size:17px}.actionCategories,.actionTraffic,.actionLeads,.actionPrimary,.actionPrevious,.actionCurrent{background:#315f8f}.loginCard{display:grid;gap:16px;padding:32px;width:min(420px,calc(100vw - 32px));box-shadow:0 16px 60px #2039580c}.loginCard h1{font-size:25px;letter-spacing:-.6px;line-height:1.25;margin:0}.loginCard p{font-size:13px;color:#718096;margin:0}.loginCard label{font-size:12px}.loginCard input{display:block;width:100%;max-width:none;margin:5px 0 0}.loginBrandMark{width:46px;height:46px;display:grid;place-items:center;background:#eaf1fb;color:#255d9e;border-radius:12px;font-weight:750;font-size:13px}.loginCard .statusNotice{margin:0}.loginCard .statusNotice p{color:inherit}@media(max-width:900px){header{flex-direction:column;gap:14px;padding:18px}.projectHeading{width:100%}main{padding:18px}.reportCommandBar{flex-wrap:wrap;margin-bottom:18px}.commandActions,.reportViewBar{flex-wrap:wrap}.excelTable .rowChannel,.excelTable .colChannel{width:143px;min-width:143px;max-width:143px}.excelTable .rowMetric,.excelTable .colMetric{left:143px;width:193px;min-width:193px;max-width:193px}}@media(max-width:540px){main{padding:12px}header{padding:16px 12px}.commandActions{width:100%;gap:6px}.commandActions>button,.commandActions summary{font-size:12px}.toolbarMenuPanel{min-width:255px;max-width:calc(100vw - 24px)}.customPeriodPanel{left:0;right:auto;flex-wrap:wrap;min-width:210px}.reportViewBar h1{font-size:23px}.excelTopbar>div:first-child{width:100%}.excelTopbar{padding:12px}.excelTopbar select{max-width:100%;flex:1}.settingsTabs{max-width:100%}.settingsPage{grid-template-columns:minmax(0,1fr)}.card,.settingsSurface{padding:16px}.reportViewBar .segmented{width:100%}.reportViewBar .segmented button{flex:1}.loginCard{padding:26px}}@media(max-width:680px){.categoryRow,.categoryRowSeoId{grid-template-columns:minmax(0,1fr)!important;gap:10px}.categoryRow input,.categoryRow select{width:100%;max-width:100%;min-width:0}.categoryEditor,.mappingList,.mappingItem,.settingsGrid,.metricSettings{min-width:0;max-width:100%}.mappingItem{flex-wrap:wrap;overflow-wrap:anywhere}.planToolbar{flex-wrap:wrap}.settingsGrid{grid-template-columns:minmax(0,1fr)}.card input,.card select{max-width:100%}}@media(max-width:900px){.mappingItem,.categoryRowSeoId{grid-template-columns:minmax(0,1fr)}}.excelTable .monthHead{background:#dce8f7!important;color:#254e80}.excelTable .weekHead{background:#eaf0f8!important;color:#385576}.excelTable .monthSub,.excelTable .weekSub{background:#f0f4fa!important}.excelTable .dateHead{background:#f8fafc!important}.excelTable .weekendHead{background:#f7eeee!important}.excelTable .weekToggle{min-height:22px;height:22px;width:22px;background:#d8e3f2;color:#315f8f}.excelTable .leadLink,.excelTable .analysisLink{min-height:0;line-height:1.5;font-weight:600}.excelTable tbody tr:hover th,.excelTable tbody tr:hover td{background:#edf4fc!important}.chartsPage,.lineChartsGrid{min-width:0}.lineChartsGrid{grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr))}.chartFilterList label{overflow-wrap:anywhere;white-space:normal}.chartFilterHeader{flex-wrap:wrap}.chartsToolbar input{max-width:160px}.chartPanelHeader h3{font-size:16px}@media(max-width:540px){.excelTable .rowChannel,.excelTable .colChannel{width:112px;min-width:112px;max-width:112px}.excelTable .rowMetric,.excelTable .colMetric{left:112px;width:143px;min-width:143px;max-width:143px}.excelTable .rowMetric,.excelTable .rowChannel{white-space:normal;overflow-wrap:anywhere;font-size:11px}}.offlineLeadImport{margin-bottom:24px}.offlineLeadImport h4{font-size:17px;margin:0 0 6px}.offlineLeadImport .settingsSectionHeader{padding:0;border:0;margin-bottom:12px}.offlinePreview{display:grid;gap:14px;margin-top:16px;min-width:0}.offlinePreview>label{display:grid;gap:6px;font-size:12px;max-width:300px}.offlineSummary{display:flex;gap:12px;flex-wrap:wrap;background:#f3f6fa;padding:12px;border-radius:8px;font-size:13px}.offlineTableWrap{max-width:100%;overflow:auto;border:1px solid #e0e6ee;border-radius:8px;max-height:400px}.offlineTableWrap table{font-size:12px}.offlineTableWrap td,.offlineTableWrap th{text-align:left}.offlinePreview ul{max-height:220px;overflow:auto;padding-left:20px}.offlinePreview .goalsAlert{margin:0}
