@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@600;700;800&display=swap');

:root {
    --navy-950: #071426;
    --navy-900: #0b1f3a;
    --navy-800: #12345b;
    --blue-600: #1479e8;
    --blue-500: #2993ff;
    --cyan-400: #48d7ef;
    --slate-900: #152033;
    --slate-700: #445269;
    --slate-500: #77849a;
    --slate-300: #cad3df;
    --slate-200: #e4e9f0;
    --slate-100: #f1f4f8;
    --slate-50: #f7f9fc;
    --white: #fff;
    --green: #16a36a;
    --amber: #e69819;
    --purple: #7457dc;
    --danger: #d33b54;
    --shadow: 0 12px 36px rgba(22, 37, 61, .08);
    --sidebar-width: 264px;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body { margin: 0; min-height: 100%; background: var(--slate-50); color: var(--slate-900); font: 15px/1.55 Inter, Arial, sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; width: var(--sidebar-width); display: flex; flex-direction: column; padding: 22px 16px 18px; overflow-y: auto; color: #dce9f8; background: linear-gradient(175deg, var(--navy-950), #0b2342 62%, #0d3155); }
.brand { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 8px 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand-mark { width: 39px; height: 39px; flex: none; display: grid; place-items: center; position: relative; color: white; background: linear-gradient(145deg, var(--blue-500), #1754b8); border-radius: 11px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 8px 20px rgba(17, 118, 221, .25); transform: skew(-8deg); }
.brand-mark span { font: 800 21px/1 Manrope, sans-serif; transform: skew(8deg); }
.brand strong { display: block; color: white; font: 800 16px/1.25 Manrope, sans-serif; letter-spacing: -.2px; }
.brand small { display: block; margin-top: 3px; color: #8fa8c3; font-size: 10px; letter-spacing: .5px; text-transform: uppercase; }
.main-nav { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 18px 0; }
.nav-caption { margin: 16px 10px 6px; color: #7089a5; font-size: 10px; font-weight: 700; letter-spacing: 1.2px; }
.nav-caption:first-child { margin-top: 0; }
.nav-link { min-height: 42px; display: flex; align-items: center; gap: 11px; padding: 8px 10px; color: #b9cbde; border: 1px solid transparent; border-radius: 10px; font-weight: 500; transition: .2s ease; }
.nav-link:hover { color: white; background: rgba(255,255,255,.055); }
.nav-link.is-active { color: white; background: linear-gradient(90deg, rgba(41,147,255,.25), rgba(41,147,255,.09)); border-color: rgba(72,215,239,.15); box-shadow: inset 3px 0 0 var(--cyan-400); }
.nav-link.is-disabled { cursor: default; opacity: .62; }
.nav-link em { margin-left: auto; color: #6f8cab; font-size: 9px; font-style: normal; text-transform: uppercase; }
.nav-icon { width: 25px; height: 25px; display: grid; place-items: center; color: #a9c9e9; background: rgba(255,255,255,.06); border-radius: 7px; font-size: 12px; font-weight: 800; }
.sidebar-footer { padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); }
.user-card { display: flex; align-items: center; gap: 10px; padding: 4px; }
.avatar { width: 34px; height: 34px; display: grid; place-items: center; flex: none; color: white; background: #1c76ce; border-radius: 50%; font-weight: 800; }
.user-card strong, .user-card small { display: block; max-width: 155px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-card strong { color: white; font-size: 12px; }
.user-card small { color: #829bb7; font-size: 10px; }
.logout-button { width: 100%; margin-top: 10px; padding: 8px; color: #a9bed3; background: transparent; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; cursor: pointer; font-size: 11px; }
.logout-button:hover { color: white; border-color: rgba(255,255,255,.25); }

.main-content { min-height: 100vh; margin-left: var(--sidebar-width); }
.topbar { height: 67px; position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 0 34px; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--slate-200); backdrop-filter: blur(12px); }
.menu-button { display: none; border: 0; background: none; color: var(--slate-700); font-size: 22px; cursor: pointer; }
.topbar-path { display: flex; align-items: center; gap: 9px; color: var(--slate-500); font-size: 12px; }
.topbar-path b { color: var(--slate-300); }
.topbar-path strong { color: var(--slate-700); }
.environment-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; color: #2b6b52; background: #ecf9f3; border: 1px solid #d2f0e2; border-radius: 999px; font-size: 11px; font-weight: 600; }
.environment-badge i { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 4px rgba(22,163,106,.1); }
.page-content { max-width: 1500px; margin: auto; padding: 34px; }

.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.page-heading h1 { margin: 5px 0 5px; font: 800 clamp(25px, 3vw, 35px)/1.2 Manrope, sans-serif; letter-spacing: -1.1px; }
.page-heading p { max-width: 680px; margin: 0; color: var(--slate-500); }
.eyebrow { display: block; color: var(--blue-600); font-size: 11px; font-weight: 800; letter-spacing: 1.25px; }
.eyebrow.light { color: #60dced; }
.heading-actions { display: flex; gap: 10px; }
.primary-button, .secondary-button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 15px; border-radius: 9px; cursor: pointer; font-weight: 700; font-size: 12px; transition: .2s ease; }
.primary-button { color: white; background: var(--blue-600); border: 1px solid var(--blue-600); box-shadow: 0 6px 16px rgba(20,121,232,.17); }
.primary-button:hover { background: #0868cd; transform: translateY(-1px); }
.secondary-button { color: var(--slate-700); background: white; border: 1px solid var(--slate-200); }
.secondary-button:hover:not(:disabled) { border-color: #b7c6d8; }
.primary-button:disabled, .secondary-button:disabled { cursor: not-allowed; opacity: .58; box-shadow: none; }
.full { width: 100%; }

.period-bar { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; padding: 10px 16px; background: white; border: 1px solid var(--slate-200); border-radius: 11px; box-shadow: 0 4px 15px rgba(22,37,61,.035); }
.period-bar div:first-child { display: flex; align-items: center; gap: 12px; }
.period-bar span { color: var(--slate-500); font-size: 11px; }
.period-bar strong { font-size: 12px; }
.period-status { display: flex; align-items: center; gap: 8px; color: var(--slate-700); font-size: 11px; font-weight: 600; }
.period-status i { width: 8px; height: 8px; background: var(--amber); border-radius: 50%; }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-bottom: 16px; }
.metric-card { min-height: 144px; position: relative; overflow: hidden; padding: 19px; background: white; border: 1px solid var(--slate-200); border-radius: 12px; box-shadow: 0 4px 18px rgba(22,37,61,.045); }
.metric-card::after { width: 80px; height: 80px; content: ''; position: absolute; right: -28px; bottom: -31px; background: var(--tone); border-radius: 50%; opacity: .07; }
.metric-top { display: flex; align-items: center; justify-content: space-between; color: var(--slate-500); font-size: 11px; font-weight: 600; }
.metric-top i { width: 8px; height: 8px; background: var(--tone); border-radius: 3px; }
.metric-card > strong { display: block; margin: 16px 0 4px; font: 800 29px/1 Manrope, sans-serif; letter-spacing: -.7px; }
.metric-card > small { color: var(--slate-500); font-size: 11px; }
.tone-blue { --tone: var(--blue-600); }
.tone-green { --tone: var(--green); }
.tone-amber { --tone: var(--amber); }
.tone-purple { --tone: var(--purple); }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(290px, .75fr); gap: 16px; margin-bottom: 16px; }
.panel { background: white; border: 1px solid var(--slate-200); border-radius: 12px; box-shadow: 0 5px 20px rgba(22,37,61,.045); }
.panel-heading { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; border-bottom: 1px solid var(--slate-100); }
.panel-heading h2 { margin: 4px 0 0; font: 700 16px/1.25 Manrope, sans-serif; letter-spacing: -.25px; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.status-pill.pending { color: #9a6511; background: #fff6dc; border: 1px solid #f9e7ad; }
.status-pill.connected { color: #17734e; background: #eaf9f2; border: 1px solid #cdebdc; }
.empty-chart { min-height: 300px; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 25px; text-align: center; }
.empty-chart strong { margin-top: 18px; font-size: 13px; }
.empty-chart p { max-width: 440px; margin: 6px 0 0; color: var(--slate-500); font-size: 11px; }
.chart-bars { height: 94px; display: flex; align-items: end; gap: 8px; padding: 11px 15px; border-bottom: 1px solid var(--slate-200); }
.chart-bars i { width: 13px; height: 36%; background: #dbe6f2; border-radius: 4px 4px 0 0; }
.chart-bars i:nth-child(2) { height: 58%; }
.chart-bars i:nth-child(3) { height: 42%; }
.chart-bars i:nth-child(4) { height: 77%; background: #bdd9f6; }
.chart-bars i:nth-child(5) { height: 55%; }
.chart-bars i:nth-child(6) { height: 87%; background: #9bc9f5; }
.chart-bars i:nth-child(7) { height: 66%; }
.health-list { padding: 8px 18px; }
.health-item { display: grid; grid-template-columns: 35px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--slate-100); }
.health-item:last-child { border-bottom: 0; }
.provider-dot { width: 31px; height: 31px; display: grid; place-items: center; color: var(--provider-color); background: color-mix(in srgb, var(--provider-color) 10%, white); border: 1px solid color-mix(in srgb, var(--provider-color) 20%, white); border-radius: 9px; font-size: 9px; font-weight: 800; }
.health-item strong, .health-item small { display: block; }
.health-item strong { font-size: 13px; }
.health-item small { margin-top: 2px; color: var(--slate-500); font-size: 11px; }
.status-dot { width: 8px; height: 8px; background: var(--slate-300); border-radius: 50%; }
.status-dot.ok { background: var(--green); }
.panel-link { min-height: 45px; display: flex; align-items: center; justify-content: space-between; padding: 10px 18px; color: var(--blue-600); border-top: 1px solid var(--slate-100); font-size: 12px; font-weight: 700; }
.insight-panel { margin-bottom: 20px; }
.ai-label { padding: 5px 9px; color: #654bb7; background: #f1edff; border-radius: 999px; font-size: 9px; font-weight: 700; }
.insight-empty { display: flex; align-items: center; gap: 15px; padding: 22px 20px; }
.insight-empty > span { width: 38px; height: 38px; display: grid; place-items: center; color: var(--blue-600); background: #eaf4ff; border-radius: 10px; font-size: 20px; }
.insight-empty strong, .insight-empty p { display: block; margin: 0; }
.insight-empty strong { font-size: 14px; }
.insight-empty p { margin-top: 4px; color: var(--slate-500); font-size: 12px; }

/* Executive overview: larger type, progressive disclosure and chart-first reading. */
.overview-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:32px; margin-bottom:24px; }
.overview-heading h1 { margin:6px 0 7px; font:800 clamp(30px,3.2vw,43px)/1.12 Manrope,sans-serif; letter-spacing:-1.4px; }
.overview-heading p { max-width:760px; margin:0; color:var(--slate-500); font-size:15px; }
.overview-freshness { min-width:190px; padding-left:22px; border-left:1px solid var(--slate-200); }
.overview-freshness span,.overview-freshness small { display:block; color:var(--slate-500); font-size:12px; }
.overview-freshness strong { display:block; margin:3px 0; font:800 20px/1.25 Manrope,sans-serif; }
.overview-period { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:18px; padding:14px 16px 14px 20px; background:#fff; border:1px solid var(--slate-200); border-radius:14px; box-shadow:0 4px 15px rgba(22,37,61,.035); }
.overview-period>div span,.overview-period>div strong { display:block; }
.overview-period>div span { color:var(--slate-500); font-size:12px; }
.overview-period>div strong { margin-top:2px; font-size:14px; }
.overview-period-switch { display:flex; padding:4px; background:var(--slate-100); border-radius:11px; }
.overview-period-switch a { min-width:96px; padding:8px 13px; border-radius:8px; color:var(--slate-500); text-align:center; font-size:13px; font-weight:700; }
.overview-period-switch a.is-active { color:var(--navy-900); background:#fff; box-shadow:0 2px 8px rgba(22,37,61,.1); }
.overview-report-filter { display:grid; grid-template-columns:minmax(220px,.65fr) minmax(390px,1fr) minmax(330px,1.15fr); align-items:center; gap:20px; margin-bottom:18px; padding:17px 20px; background:#fff; border:1px solid var(--slate-200); border-radius:14px; box-shadow:0 4px 15px rgba(22,37,61,.035); }
.report-filter-intro>strong,.report-filter-intro>small { display:block; }.report-filter-intro>strong { margin:4px 0 2px; font:800 19px/1.25 Manrope,sans-serif; }.report-filter-intro>small { color:var(--slate-500); font-size:12px; }
.overview-report-filter form { display:grid; grid-template-columns:minmax(170px,1fr) auto; gap:8px; align-items:end; }.overview-report-filter form label { grid-column:1/-1; color:var(--slate-700); font-size:12px; font-weight:700; }.overview-report-filter select { width:100%; height:42px; padding:0 36px 0 12px; color:var(--slate-900); background:#fff; border:1px solid var(--slate-300); border-radius:9px; outline:none; font-size:14px; }.overview-report-filter select:focus { border-color:var(--blue-500); box-shadow:0 0 0 3px rgba(41,147,255,.12); }
.report-filter-note { display:flex; align-items:flex-start; gap:10px; padding:12px 14px; color:#315473; background:#f0f7ff; border:1px solid #d9eaff; border-radius:10px; font-size:12px; line-height:1.5; }.report-filter-note>i { width:20px; height:20px; display:grid; place-items:center; flex:none; color:#fff; background:var(--blue-600); border-radius:50%; font-size:11px; font-style:normal; font-weight:800; }.report-filter-note strong { display:block; color:#173854; font-size:12px; }
.overview-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin-bottom:20px; }
.overview-kpi { position:relative; overflow:visible; min-height:178px; padding:22px; background:#fff; border:1px solid var(--slate-200); border-top:3px solid var(--tone); border-radius:14px; box-shadow:0 6px 22px rgba(22,37,61,.055); }
.overview-kpi-label { display:flex; align-items:center; gap:7px; min-height:24px; color:var(--slate-700); font-size:13px; font-weight:700; }
.info-tip { width:19px; height:19px; display:inline-grid; place-items:center; position:relative; flex:none; padding:0; color:#60738e; background:#fff; border:1px solid #cad6e5; border-radius:50%; cursor:help; font:700 11px/1 Inter,sans-serif; }
.info-tip::after { width:260px; content:attr(data-tooltip); position:absolute; left:50%; bottom:calc(100% + 10px); z-index:50; padding:10px 12px; color:#fff; background:#10243f; border-radius:8px; box-shadow:0 8px 24px rgba(7,20,38,.2); font-size:12px; font-weight:500; line-height:1.45; opacity:0; pointer-events:none; transform:translate(-50%,5px); transition:.18s ease; }
.info-tip:hover::after,.info-tip:focus::after { opacity:1; transform:translate(-50%,0); }
.overview-kpi>strong { display:block; margin:17px 0 11px; font:800 clamp(27px,2.35vw,36px)/1.05 Manrope,sans-serif; letter-spacing:-1px; overflow-wrap:anywhere; }
.overview-kpi-change { font-size:13px; font-weight:700; }
.overview-kpi-change.is-up { color:#087f5b; }.overview-kpi-change.is-down { color:#c53c52; }
.overview-kpi-change.is-neutral { color:#47627f; }
.overview-kpi>small { display:block; margin-top:5px; color:var(--slate-500); font-size:12px; }
.overview-main-grid { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(340px,.75fr); gap:20px; margin-bottom:28px; }
.overview-trend-panel,.overview-insight-panel { min-width:0; overflow:hidden; border-radius:15px; }
.overview-panel-heading { min-height:92px; display:flex; align-items:flex-start; justify-content:space-between; gap:24px; padding:20px 22px; border-bottom:1px solid var(--slate-100); }
.overview-panel-heading h2 { margin:5px 0 3px; font:800 20px/1.25 Manrope,sans-serif; letter-spacing:-.4px; }
.overview-panel-heading p { margin:0; color:var(--slate-500); font-size:13px; }
.overview-panel-heading>a { align-self:center; color:var(--blue-600); font-size:13px; font-weight:700; }
.trend-legend { display:flex; align-items:center; gap:7px; margin-top:5px; color:var(--slate-500); font-size:11px; white-space:nowrap; }
.trend-legend i { width:9px; height:9px; background:#d7e0eb; border-radius:3px; }
.trend-range-control { display:flex; align-items:flex-end; flex-direction:column; gap:5px; }.trend-range-control>span { color:var(--slate-500); font-size:11px; }.trend-range-control .overview-period-switch a { min-width:64px; padding:7px 10px; }
.trend-controls { display:flex; gap:8px; overflow-x:auto; padding:15px 20px 5px; scrollbar-width:thin; }
.trend-controls button { flex:none; padding:8px 12px; color:var(--slate-600,#58677d); background:#fff; border:1px solid var(--slate-200); border-radius:999px; cursor:pointer; font-size:12px; font-weight:700; }
.trend-controls button.is-active { color:#fff; background:var(--navy-900); border-color:var(--navy-900); }
.trend-chart { padding:10px 20px 22px; }
.trend-chart-summary { display:flex; align-items:baseline; justify-content:space-between; gap:15px; padding:3px 1px 12px; }
.trend-chart-summary span { color:var(--slate-500); font-size:12px; }.trend-chart-summary strong { font:800 22px Manrope,sans-serif; }
.trend-bars { min-height:245px; display:grid; grid-template-columns:repeat(var(--bar-count,12),minmax(30px,1fr)); align-items:end; gap:10px; overflow-x:auto; padding:22px 3px 0; border-bottom:1px solid var(--slate-200); }
.trend-bar { min-width:34px; display:flex; align-items:center; flex-direction:column; justify-content:flex-end; height:220px; position:relative; }
.trend-bar-value { position:absolute; bottom:calc(var(--height) + 36px); color:var(--slate-700); font-size:11px; font-weight:700; white-space:nowrap; opacity:0; transition:.15s ease; }
.trend-bar:hover .trend-bar-value,.trend-bar:focus-within .trend-bar-value { opacity:1; }
.trend-bar-column { width:min(44px,70%); height:var(--height); min-height:3px; background:linear-gradient(180deg,#2993ff,#1479e8); border-radius:7px 7px 2px 2px; box-shadow:0 7px 16px rgba(20,121,232,.15); transition:height .3s ease; }
.trend-bar.is-empty .trend-bar-column { height:3px; background:#dfe6ef; box-shadow:none; }
.trend-bar.is-current .trend-bar-column { background:linear-gradient(180deg,#4fd9ec,#159dcc); }
.trend-bar-label { margin-top:9px; color:var(--slate-500); font-size:11px; white-space:nowrap; }
.overview-insight-list { padding:5px 20px; }
.overview-insight-list article { display:grid; grid-template-columns:10px minmax(0,1fr); gap:12px; padding:18px 0; border-bottom:1px solid var(--slate-100); }
.overview-insight-list article:last-child { border:0; }.overview-insight-list article>i { width:9px; height:9px; margin-top:6px; background:#2b84e9; border-radius:50%; }
.overview-insight-list article.tone-good>i { background:var(--green); }.overview-insight-list article.tone-attention>i { background:var(--amber); }
.overview-insight-list strong { display:block; font-size:14px; line-height:1.4; }.overview-insight-list p { margin:5px 0 0; color:var(--slate-500); font-size:12px; line-height:1.55; }
.overview-deep-link { display:flex; align-items:center; justify-content:space-between; padding:15px 20px; color:var(--blue-600); border-top:1px solid var(--slate-100); font-size:13px; font-weight:800; }
.overview-channel-section { margin:31px 0; }
.overview-section-title { display:flex; align-items:end; justify-content:space-between; gap:24px; margin:0 2px 15px; }
.overview-section-title h2 { margin:5px 0 0; font:800 23px/1.2 Manrope,sans-serif; }.overview-section-title p { max-width:460px; margin:0; color:var(--slate-500); font-size:13px; text-align:right; }
.overview-channel-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.overview-channel-card { min-height:242px; display:flex; flex-direction:column; padding:20px; background:#fff; border:1px solid var(--slate-200); border-radius:14px; box-shadow:0 5px 20px rgba(22,37,61,.045); }
.channel-card-top { display:flex; align-items:center; justify-content:space-between; color:var(--channel-color); font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.5px; }
.channel-card-top i { width:9px; height:9px; background:var(--slate-300); border-radius:50%; }.channel-card-top i.is-ready { background:var(--green); box-shadow:0 0 0 4px rgba(22,163,106,.1); }
.overview-channel-card h3 { min-height:44px; margin:18px 0 8px; font:700 15px/1.45 Manrope,sans-serif; }
.overview-channel-card>strong { font:800 24px/1.2 Manrope,sans-serif; overflow-wrap:anywhere; }.overview-channel-card>small { margin-top:7px; color:var(--slate-500); font-size:11px; }
.overview-channel-card>a { display:flex; align-items:center; justify-content:space-between; margin-top:auto; padding-top:16px; color:var(--blue-600); border-top:1px solid var(--slate-100); font-size:12px; font-weight:800; }
.overview-detail-panel { margin-bottom:20px; overflow:hidden; border-radius:15px; }
.overview-detail-panel summary { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 22px; cursor:pointer; list-style:none; }.overview-detail-panel summary::-webkit-details-marker { display:none; }
.overview-detail-panel summary strong,.overview-detail-panel summary small { display:block; }.overview-detail-panel summary strong { margin-top:5px; font-size:16px; }.overview-detail-panel summary small { margin-top:2px; color:var(--slate-500); font-size:12px; }
.detail-toggle { padding:7px 12px; color:var(--blue-600); background:#eef6ff; border-radius:8px; font-size:12px; font-weight:800; }.overview-detail-panel[open] .detail-toggle { font-size:0; }.overview-detail-panel[open] .detail-toggle::after { content:'Kapat'; font-size:12px; }
.overview-table-wrap { overflow-x:auto; border-top:1px solid var(--slate-100); }.overview-table { width:100%; min-width:980px; border-collapse:collapse; }.overview-table th,.overview-table td { padding:14px 18px; text-align:left; border-bottom:1px solid var(--slate-100); font-size:13px; }.overview-table th { color:var(--slate-700); background:#f7f9fc; font-size:12px; }.overview-table td:first-child strong,.overview-table td:first-child small { display:block; }.overview-table td:first-child small { margin-top:3px; color:#b27106; font-size:10px; }
.coverage-pill { display:inline-block; padding:5px 8px; color:#66758b; background:#eef2f7; border-radius:999px; font-size:11px; font-weight:700; }.coverage-4 { color:#087b56; background:#e9f8f1; }
.overview-monthly-panel { margin-bottom:20px; overflow:hidden; border-radius:15px; }.monthly-count { align-self:center; padding:7px 11px; color:#49617e; background:#f0f4f8; border-radius:999px; font-size:11px; font-weight:800; white-space:nowrap; }.overview-table tr.is-selected-month td { background:#f1f7ff; }.overview-table tr.is-selected-month td:first-child { box-shadow:inset 3px 0 0 var(--blue-600); }.month-report-link { display:inline-block; min-width:82px; padding:7px 10px; color:var(--blue-600); background:#eef6ff; border-radius:8px; text-align:center; font-size:11px; font-weight:800; white-space:nowrap; }.is-selected-month .month-report-link { color:#fff; background:var(--blue-600); }
.overview-health-panel { margin-bottom:20px; overflow:hidden; border-radius:15px; }.overview-health-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; }.overview-health-grid article { display:grid; grid-template-columns:38px minmax(0,1fr) 10px; align-items:center; gap:11px; padding:16px 20px; border-right:1px solid var(--slate-100); border-bottom:1px solid var(--slate-100); }.overview-health-grid article:nth-child(3n) { border-right:0; }.overview-health-grid strong,.overview-health-grid small { display:block; }.overview-health-grid strong { font-size:13px; }.overview-health-grid small { margin-top:2px; color:var(--slate-500); font-size:11px; }

@media(max-width:1250px) { .overview-report-filter { grid-template-columns:1fr 1fr; }.report-filter-note { grid-column:1/-1; }.overview-kpis,.overview-channel-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.overview-main-grid { grid-template-columns:1fr; } }
@media(max-width:900px) { .overview-health-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.overview-health-grid article:nth-child(3n) { border-right:1px solid var(--slate-100); }.overview-health-grid article:nth-child(2n) { border-right:0; } }
@media(max-width:650px) { .overview-heading,.overview-section-title { align-items:flex-start; flex-direction:column; }.overview-freshness { width:100%; padding:12px 0 0; border-left:0; border-top:1px solid var(--slate-200); }.overview-period { align-items:flex-start; flex-direction:column; }.overview-report-filter { grid-template-columns:1fr; }.report-filter-note { grid-column:auto; }.overview-report-filter form { grid-template-columns:1fr; }.overview-report-filter form label { grid-column:auto; }.overview-period-switch { width:100%; }.overview-period-switch a { flex:1; }.overview-kpis,.overview-channel-grid,.overview-health-grid { grid-template-columns:1fr; }.overview-health-grid article { border-right:0!important; }.overview-section-title p { text-align:left; }.overview-panel-heading { flex-direction:column; }.trend-range-control { width:100%; align-items:flex-start; }.trend-legend { white-space:normal; }.trend-bars { min-width:620px; }.info-tip::after { left:auto; right:-10px; transform:translateY(5px); }.info-tip:hover::after,.info-tip:focus::after { transform:translateY(0); } }

.notice-card { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 18px; padding: 14px 16px; color: #174c76; background: #edf7ff; border: 1px solid #cfeaff; border-radius: 11px; }
.notice-card > span { width: 24px; height: 24px; display: grid; place-items: center; flex: none; color: white; background: var(--blue-600); border-radius: 50%; font-size: 12px; font-weight: 800; }
.notice-card strong, .notice-card p { display: block; margin: 0; }
.notice-card strong { font-size: 11px; }
.notice-card p { margin-top: 2px; color: #4e7392; font-size: 12px; }
.integration-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.integration-card { padding: 19px; background: white; border: 1px solid var(--slate-200); border-radius: 12px; box-shadow: 0 5px 20px rgba(22,37,61,.045); }
.integration-head { display: flex; align-items: flex-start; justify-content: space-between; }
.provider-logo { width: 43px; height: 43px; display: grid; place-items: center; color: white; background: var(--provider-color); border-radius: 12px; box-shadow: 0 7px 15px color-mix(in srgb, var(--provider-color) 22%, transparent); font-size: 11px; font-weight: 800; }
.integration-card h2 { margin: 16px 0 5px; font: 700 15px/1.3 Manrope, sans-serif; }
.integration-card > p { min-height: 47px; margin: 0; color: var(--slate-500); font-size: 12px; }
.integration-meta { display: grid; grid-template-columns: 1fr auto; gap: 7px 12px; margin: 16px 0; padding: 12px 0; border-block: 1px solid var(--slate-100); font-size: 11px; }
.integration-meta span { color: var(--slate-500); }
.integration-meta strong { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; }
.empty-state { min-height: 390px; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 40px; text-align: center; }
.empty-state > span { width: 56px; height: 56px; display: grid; place-items: center; color: var(--blue-600); background: #eaf4ff; border-radius: 16px; font-size: 23px; }
.empty-state h2 { margin: 18px 0 6px; font: 700 17px Manrope, sans-serif; }
.empty-state p { max-width: 430px; margin: 0 0 18px; color: var(--slate-500); font-size: 11px; }
.report-list { padding: 8px 20px; }
.report-list article { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--slate-100); }
.report-list strong, .report-list small { display: block; }
.report-list small { margin-top: 3px; color: var(--slate-500); font-size: 11px; }
.alert { margin-bottom: 16px; padding: 12px 15px; border-radius: 9px; font-size: 11px; }
.alert-success { color: #17734e; background: #eaf9f2; border: 1px solid #cdebdc; }

.guest-body { background: white; }
.login-page { min-height: 100vh; display: grid; grid-template-columns: minmax(430px, 1.05fr) minmax(430px, .95fr); }
.login-story { min-height: 100vh; position: relative; display: flex; align-items: center; overflow: hidden; padding: clamp(50px, 7vw, 110px); color: white; background: radial-gradient(circle at 85% 25%, rgba(45,166,240,.24), transparent 30%), linear-gradient(145deg, #071426 5%, #0a284a 60%, #0b3d68); }
.login-story::after { width: 420px; height: 420px; content: ''; position: absolute; right: -220px; bottom: -180px; border: 1px solid rgba(72,215,239,.2); border-radius: 50%; box-shadow: 0 0 0 70px rgba(72,215,239,.025), 0 0 0 140px rgba(72,215,239,.02); }
.story-content { position: relative; z-index: 2; max-width: 590px; }
.story-brand { display: flex; align-items: center; gap: 13px; margin-bottom: clamp(70px, 12vh, 140px); }
.story-brand strong { font: 800 18px Manrope, sans-serif; }
.login-story h1 { margin: 12px 0 18px; font: 800 clamp(33px, 4.1vw, 58px)/1.09 Manrope, sans-serif; letter-spacing: -2.1px; }
.login-story p { max-width: 520px; color: #adc3da; font-size: 15px; }
.story-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; color: #d6e7f6; font-size: 11px; }
.story-points span { display: flex; align-items: center; gap: 7px; }
.story-points i { color: var(--cyan-400); font-style: normal; }
.story-grid { position: absolute; inset: 0; opacity: .11; background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px); background-size: 55px 55px; mask-image: linear-gradient(to right, transparent 5%, black 70%); }
.login-panel { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 50px; background: #fff; }
.login-box { width: 100%; max-width: 390px; }
.login-box h2 { margin: 7px 0 7px; font: 800 30px/1.2 Manrope, sans-serif; letter-spacing: -.9px; }
.muted { margin: 0; color: var(--slate-500); font-size: 12px; }
.auth-form { margin-top: 31px; }
.auth-form > label, .password-label label { display: block; margin: 0 0 7px; color: var(--slate-700); font-size: 11px; font-weight: 700; }
.auth-form input[type=email], .auth-form input[type=password] { width: 100%; height: 46px; padding: 0 13px; color: var(--slate-900); background: white; border: 1px solid var(--slate-300); border-radius: 9px; outline: none; transition: .2s ease; }
.auth-form input:focus { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(41,147,255,.12); }
.password-label { margin-top: 17px; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 65px !important; }
.password-wrap button { position: absolute; right: 7px; top: 7px; height: 32px; padding: 0 8px; color: var(--blue-600); background: transparent; border: 0; cursor: pointer; font-size: 10px; font-weight: 700; }
.field-error { margin: 7px 0 0; color: var(--danger); font-size: 10px; }
.check-row { display: inline-flex !important; align-items: center; gap: 7px; margin: 14px 0 17px !important; color: var(--slate-500) !important; cursor: pointer; font-weight: 500 !important; }
.check-row input { accent-color: var(--blue-600); }
.login-help { display: flex; align-items: flex-start; gap: 9px; margin-top: 23px; padding-top: 18px; color: var(--slate-500); border-top: 1px solid var(--slate-200); }
.login-help p { margin: 0; font-size: 10px; }

@media (max-width: 1100px) {
    .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .integration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .login-story { padding: 55px; }
}

@media (max-width: 820px) {
    .sidebar { transform: translateX(-100%); transition: transform .25s ease; }
    .app-shell.menu-open .sidebar { transform: translateX(0); box-shadow: 20px 0 45px rgba(7,20,38,.25); }
    .main-content { margin-left: 0; }
    .menu-button { display: block; }
    .topbar { padding: 0 20px; }
    .topbar-path span, .topbar-path b { display: none; }
    .page-content { padding: 25px 20px; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .login-page { grid-template-columns: 1fr; }
    .login-story { display: none; }
}

@media (max-width: 580px) {
    .page-heading { align-items: flex-start; flex-direction: column; }
    .heading-actions { width: 100%; }
    .heading-actions > * { flex: 1; }
    .metric-grid, .integration-grid { grid-template-columns: 1fr; }
    .period-bar { align-items: flex-start; flex-direction: column; }
    .period-bar div:first-child { align-items: flex-start; flex-direction: column; gap: 2px; }
    .login-panel { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Partner work center — operational view across Ads, SEO and the website. */
.work-hero { display:flex; align-items:flex-end; justify-content:space-between; gap:32px; margin-bottom:22px; }
.work-hero h1 { margin:6px 0 8px; font:800 clamp(30px,3.2vw,44px)/1.08 Manrope,sans-serif; letter-spacing:-1.5px; }
.work-hero p { max-width:790px; margin:0; color:var(--slate-500); font-size:15px; }
.work-freshness { min-width:240px; padding-left:22px; border-left:1px solid var(--slate-200); }
.work-freshness span,.work-freshness small,.work-freshness strong { display:block; }.work-freshness span,.work-freshness small { color:var(--slate-500); font-size:12px; }.work-freshness strong { margin:3px 0; font:800 20px Manrope,sans-serif; }
.work-period { display:grid; grid-template-columns:minmax(210px,.7fr) auto minmax(310px,1fr); align-items:center; gap:22px; margin-bottom:18px; padding:17px 20px; border-radius:14px; }
.work-period>div:first-child strong,.work-period>div:first-child small { display:block; }.work-period>div:first-child strong { margin:4px 0 2px; font:800 18px Manrope,sans-serif; }.work-period>div:first-child small { color:var(--slate-500); font-size:12px; }
.work-period nav { display:flex; padding:4px; background:var(--slate-100); border-radius:11px; }.work-period nav a { min-width:70px; padding:8px 11px; color:var(--slate-500); border-radius:8px; text-align:center; font-size:12px; font-weight:800; }.work-period nav a.is-active { color:var(--navy-900); background:#fff; box-shadow:0 2px 8px rgba(22,37,61,.1); }
.work-period-note { display:flex; align-items:flex-start; gap:9px; padding:11px 13px; color:#315473; background:#f0f7ff; border:1px solid #d9eaff; border-radius:10px; font-size:12px; }.work-period-note i,.journey-note>i { width:20px; height:20px; display:grid; place-items:center; flex:none; color:#fff; background:var(--blue-600); border-radius:50%; font-size:11px; font-style:normal; font-weight:800; }
.pulse-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-bottom:18px; }.pulse-card { overflow:hidden; border-radius:14px; }.pulse-card header { display:flex; justify-content:space-between; gap:20px; padding:18px 20px; border-bottom:1px solid var(--slate-100); }.pulse-card h2 { margin:4px 0 0; font:800 18px Manrope,sans-serif; }.pulse-card header small { align-self:center; color:var(--slate-500); font-size:12px; }.pulse-values { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }.pulse-values>div { min-height:98px; padding:17px; border-right:1px solid var(--slate-100); }.pulse-values>div:last-child { border:0; }.pulse-values span,.pulse-values strong { display:block; }.pulse-values span { min-height:37px; color:var(--slate-500); font-size:12px; line-height:1.35; }.pulse-values strong { margin-top:6px; font:800 17px/1.25 Manrope,sans-serif; overflow-wrap:anywhere; }
.work-kpis { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-bottom:20px; }.work-kpi { min-height:148px; padding:20px; background:#fff; border:1px solid var(--slate-200); border-top:3px solid var(--tone); border-radius:14px; box-shadow:0 5px 20px rgba(22,37,61,.045); }.work-kpi>span { display:flex; align-items:center; gap:7px; color:var(--slate-700); font-size:13px; font-weight:700; }.work-kpi>strong { display:block; margin:15px 0 8px; font:800 clamp(25px,2.2vw,34px)/1 Manrope,sans-serif; letter-spacing:-.8px; }.work-kpi>small { color:var(--slate-500); font-size:12px; font-weight:650; }.work-kpi>small.is-good { color:#087f5b; }.work-kpi>small.is-bad { color:#c53c52; }
.work-main-grid { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(330px,.65fr); gap:18px; margin-bottom:20px; }.action-panel,.journey-panel,.work-trend-panel,.work-table-panel,.baseline-panel { overflow:hidden; border-radius:15px; }.work-panel-head { min-height:88px; display:flex; align-items:flex-start; justify-content:space-between; gap:20px; padding:19px 20px; border-bottom:1px solid var(--slate-100); }.work-panel-head h2 { margin:4px 0 3px; font:800 19px/1.3 Manrope,sans-serif; }.work-panel-head p { margin:0; color:var(--slate-500); font-size:12px; }.work-panel-head>a { align-self:center; color:var(--blue-600); font-size:12px; font-weight:800; white-space:nowrap; }.action-count,.trend-note { align-self:center; padding:6px 10px; color:#556982; background:#f0f4f8; border-radius:999px; font-size:11px; font-weight:800; white-space:nowrap; }
.action-list { padding:0 20px; }.action-list article { display:grid; grid-template-columns:34px minmax(0,1fr) auto; gap:13px; padding:19px 0; border-bottom:1px solid var(--slate-100); }.action-list article:last-child { border:0; }.action-order { width:30px; height:30px; display:grid; place-items:center; color:#fff; background:#2e86e8; border-radius:9px; font-size:12px; font-weight:800; }.priority-high .action-order { background:#e39a19; }.action-copy h3 { margin:8px 0 4px; font:800 15px/1.35 Manrope,sans-serif; }.action-copy p { margin:3px 0; color:var(--slate-500); font-size:12px; line-height:1.55; }.action-copy>strong { display:block; margin-top:8px; font-size:12px; }.area-pill,.priority-label { display:inline-block; margin-right:6px; padding:4px 7px; border-radius:6px; font-size:10px; font-weight:800; }.area-pill { color:#1769bf; background:#eef6ff; }.priority-label { color:#8d681d; background:#fff5da; }.action-status { align-self:start; padding:5px 8px; color:#64758b; background:#f0f3f7; border-radius:999px; font-size:10px; font-weight:800; }
.journey-steps { padding:18px 22px; }.journey-steps article { display:flex; align-items:center; gap:13px; padding:13px; background:#f8fafc; border:1px solid var(--slate-100); border-radius:11px; }.journey-steps article>span { width:28px; height:28px; display:grid; place-items:center; flex:none; color:#246ba9; background:#e5f2ff; border-radius:8px; font-size:11px; font-weight:800; }.journey-steps small,.journey-steps strong,.journey-steps em { display:block; }.journey-steps small { color:var(--slate-500); font-size:11px; }.journey-steps strong { margin-top:2px; font:800 20px Manrope,sans-serif; }.journey-steps em { color:#55708d; font-size:10px; font-style:normal; }.journey-steps>i { display:block; height:20px; color:#91a3b6; text-align:center; font-style:normal; }.journey-steps article.is-result { background:#edfaf4; border-color:#d4f0e2; }.journey-note { display:flex; align-items:flex-start; gap:10px; margin:0 20px 20px; padding:12px; background:#f0f7ff; border-radius:10px; }.journey-note p { margin:0; color:#4d6c87; font-size:11px; line-height:1.5; }
.work-trend-panel { margin-bottom:20px; }.monthly-work-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:0; padding:20px; }.monthly-work-grid>article { padding:0 17px 16px; border-right:1px solid var(--slate-100); }.monthly-work-grid>article:last-child { border:0; }.month-bar { height:100px; display:flex; align-items:end; margin-bottom:12px; border-bottom:1px solid var(--slate-200); }.month-bar i { width:42px; min-height:3px; margin:auto; background:linear-gradient(180deg,#2993ff,#1479e8); border-radius:7px 7px 2px 2px; box-shadow:0 6px 14px rgba(20,121,232,.15); }.monthly-work-grid article.is-partial .month-bar i { background:linear-gradient(180deg,#4fd9ec,#159dcc); }.monthly-work-grid h3 { display:inline-block; margin:0 6px 12px 0; font:800 16px Manrope,sans-serif; }.monthly-work-grid>article>small { color:#ad730b; font-size:9px; }.monthly-work-grid dl { margin:0; }.monthly-work-grid dl div { display:flex; justify-content:space-between; gap:10px; padding:7px 0; border-bottom:1px dashed var(--slate-100); }.monthly-work-grid dt { color:var(--slate-500); font-size:10px; }.monthly-work-grid dd { margin:0; text-align:right; font-size:11px; font-weight:750; }.data-footnote { margin:0; padding:12px 20px; color:var(--slate-500); background:#fafbfd; border-top:1px solid var(--slate-100); font-size:10px; }
.work-detail-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin-bottom:20px; }.work-table-wrap { overflow:auto; max-height:445px; }.work-table-wrap table { width:100%; min-width:600px; border-collapse:collapse; }.work-table-wrap th,.work-table-wrap td { padding:13px 16px; text-align:left; border-bottom:1px solid var(--slate-100); font-size:12px; }.work-table-wrap th { position:sticky; top:0; z-index:1; color:var(--slate-700); background:#f7f9fc; font-size:11px; }.work-table-wrap td strong { font-size:12px; }.risk-table { border-top:3px solid #eda51c; }.review-pill { display:inline-block; padding:4px 8px; color:#9a6511; background:#fff5d9; border-radius:999px; font-size:10px; font-weight:800; }.empty-row { padding:30px!important; color:var(--slate-500); text-align:center!important; }
.detail-data-note { padding:10px 16px; color:#5f7189; background:#fafbfd; border-bottom:1px solid var(--slate-100); font-size:10px; }
.baseline-panel { margin-bottom:20px; }.baseline-panel summary { display:flex; justify-content:space-between; gap:20px; padding:19px 22px; cursor:pointer; list-style:none; }.baseline-panel summary::-webkit-details-marker { display:none; }.baseline-panel summary strong,.baseline-panel summary small { display:block; }.baseline-panel summary strong { margin-top:4px; font-size:15px; }.baseline-panel summary small { margin-top:2px; color:var(--slate-500); font-size:11px; }.baseline-panel summary>span { align-self:center; color:var(--blue-600); font-size:12px; font-weight:800; }.baseline-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; padding:20px; border-top:1px solid var(--slate-100); }.baseline-grid article { padding:17px; background:#f8fafc; border:1px solid var(--slate-100); border-radius:11px; }.baseline-grid h3 { margin:0 0 12px; font:800 15px Manrope,sans-serif; }.baseline-grid article>div { display:flex; justify-content:space-between; gap:14px; padding:8px 0; border-bottom:1px dashed var(--slate-200); font-size:12px; }.baseline-grid p { grid-column:1/-1; margin:0; padding:12px 14px; color:#735716; background:#fff7df; border:1px solid #f5df9b; border-radius:10px; font-size:12px; }
@media(max-width:1200px) { .work-period { grid-template-columns:1fr 1fr; }.work-period-note { grid-column:1/-1; }.pulse-values { grid-template-columns:repeat(2,minmax(0,1fr)); }.pulse-values>div:nth-child(2) { border-right:0; }.pulse-values>div:nth-child(-n+2) { border-bottom:1px solid var(--slate-100); }.work-main-grid { grid-template-columns:1fr; } }
@media(max-width:900px) { .work-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); }.work-detail-grid { grid-template-columns:1fr; } }
@media(max-width:650px) { .work-hero { align-items:flex-start; flex-direction:column; }.work-freshness { width:100%; padding:12px 0 0; border-left:0; border-top:1px solid var(--slate-200); }.work-period { grid-template-columns:1fr; }.work-period-note { grid-column:auto; }.work-period nav { overflow-x:auto; }.pulse-grid,.work-kpis,.baseline-grid { grid-template-columns:1fr; }.work-panel-head { flex-direction:column; }.action-list article { grid-template-columns:30px minmax(0,1fr); }.action-status { grid-column:2; }.monthly-work-grid { grid-template-columns:repeat(3,minmax(160px,1fr)); overflow-x:auto; }.baseline-grid p { grid-column:auto; } }

/* v0.15.1 — clearer periods, neutral volume changes and separated data flows. */
.pulse-values span,.pulse-values strong,.pulse-values small { display:block; }
.pulse-values small { margin-top:4px; color:#8b98aa; font-size:9px; }
.same-period-note { display:flex; align-items:flex-start; gap:10px; margin:-3px 0 18px; padding:11px 14px; color:#664c18; background:#fff8e6; border:1px solid #f1dfa7; border-radius:11px; }
.same-period-note i { width:20px; height:20px; display:grid; place-items:center; flex:none; color:#fff; background:#d8981e; border-radius:50%; font-size:11px; font-style:normal; font-weight:800; }
.same-period-note p { margin:0; font-size:11px; line-height:1.55; }
.selected-report-block { margin-bottom:22px; padding:0 0 4px; background:#f2f6fb; border:1px solid #dce5ef; border-radius:16px; }
.selected-report-head { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:18px 20px; background:#fff; border-bottom:1px solid #dce5ef; border-radius:15px 15px 0 0; }
.selected-report-head h2 { margin:4px 0 2px; font:800 20px Manrope,sans-serif; }
.selected-report-head p { margin:0; color:var(--slate-500); font-size:12px; }
.selected-report-head>span { padding:8px 12px; color:#244766; background:#edf5fd; border-radius:9px; font-size:12px; font-weight:800; white-space:nowrap; }
.metric-group-head { display:flex; align-items:center; justify-content:space-between; gap:22px; margin:18px 17px 10px; }
.metric-group-head>div { display:flex; align-items:center; gap:11px; }
.metric-group-head>div>span { width:29px; height:29px; display:grid; place-items:center; color:#fff; background:#173f68; border-radius:8px; font-size:10px; font-weight:800; }
.metric-group-head strong,.metric-group-head small { display:block; }
.metric-group-head strong { font-size:14px; }
.metric-group-head small,.metric-group-head>p { margin:2px 0 0; color:var(--slate-500); font-size:11px; }
.metric-group-head>p { text-align:right; }
.selected-report-block .work-kpis { display:grid; gap:14px; margin:0 16px 19px; }
.selected-report-block .work-kpis-ads { grid-template-columns:repeat(4,minmax(0,1fr)); }
.selected-report-block .work-kpis-support { grid-template-columns:repeat(2,minmax(0,1fr)); }
.selected-report-block .work-kpi { min-height:182px; padding:19px; border-radius:13px; box-shadow:0 4px 16px rgba(22,37,61,.04); }
.selected-report-block .work-kpi>span { min-height:42px; align-items:flex-start; font-size:12px; line-height:1.4; }
.selected-report-block .work-kpi>strong { margin:13px 0 8px; font-size:clamp(24px,2vw,32px); }
.selected-report-block .work-kpi>small { display:block; min-height:19px; color:#48627d; font-size:11px; font-weight:700; }
.selected-report-block .work-kpi>small.is-neutral { color:#48627d; }
.selected-report-block .work-kpi>em { display:block; margin-top:9px; padding-top:8px; color:#7d899b; border-top:1px solid var(--slate-100); font-size:9px; font-style:normal; line-height:1.45; }
.channel-reading-panel { overflow:hidden; border-radius:15px; }
.channel-flow-block { margin:17px 20px 0; padding:15px; background:#f8fafc; border:1px solid var(--slate-100); border-radius:12px; }
.flow-title { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:13px; }
.flow-title span { color:#1875d2; font-size:10px; font-weight:800; letter-spacing:.8px; }
.flow-title small { color:var(--slate-500); font-size:9px; }
.mini-flow { display:grid; grid-template-columns:minmax(0,1fr) 15px minmax(0,1fr) 15px minmax(0,1fr); align-items:center; gap:5px; }
.mini-flow>i { color:#8ea3b8; text-align:center; font-style:normal; }
.mini-flow article,.traffic-facts article { padding:11px; background:#fff; border:1px solid var(--slate-100); border-radius:9px; }
.mini-flow small,.mini-flow strong,.mini-flow em,.traffic-facts small,.traffic-facts strong { display:block; }
.mini-flow small,.traffic-facts small { color:var(--slate-500); font-size:9px; line-height:1.35; }
.mini-flow strong,.traffic-facts strong { margin-top:4px; font:800 17px Manrope,sans-serif; }
.mini-flow em { color:#52708f; font-size:9px; font-style:normal; }
.web-flow { background:#f7fbfa; }
.web-flow .flow-title span { color:#11825a; }
.traffic-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
@media(max-width:1100px) { .selected-report-block .work-kpis-ads { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:900px) { .selected-report-block .work-kpis-support { grid-template-columns:1fr; } }
@media(max-width:650px) { .selected-report-head,.metric-group-head { align-items:flex-start; flex-direction:column; }.metric-group-head>p { text-align:left; }.selected-report-block .work-kpis-ads,.selected-report-block .work-kpis-support { grid-template-columns:1fr; }.mini-flow { grid-template-columns:1fr; }.mini-flow>i { transform:rotate(90deg); }.traffic-facts { grid-template-columns:1fr; } }

/* v0.16.0 — result quality and measurement health. */
.result-quality-panel { margin-bottom:22px; overflow:hidden; border-radius:15px; }
.result-quality-head { min-height:96px; }
.quality-state { display:inline-flex; align-items:center; gap:8px; align-self:center; padding:8px 11px; border-radius:999px; font-size:11px; font-weight:800; white-space:nowrap; }
.quality-state i { width:8px; height:8px; border-radius:50%; }
.quality-state.is-partial { color:#8a5b09; background:#fff5da; border:1px solid #f4dfaa; }
.quality-state.is-partial i { background:#e69819; }
.quality-state.is-attention { color:#a12f43; background:#fff0f3; border:1px solid #f5ced7; }
.quality-state.is-attention i { background:#d33b54; }
.quality-summary-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-bottom:1px solid var(--slate-200); }
.quality-summary-grid article { min-height:155px; padding:20px 22px; border-right:1px solid var(--slate-100); }
.quality-summary-grid article:last-child { border-right:0; }
.quality-summary-grid span,.quality-summary-grid strong,.quality-summary-grid small { display:block; }
.quality-summary-grid span { min-height:40px; color:var(--slate-700); font-size:12px; font-weight:700; line-height:1.45; }
.quality-summary-grid strong { margin:13px 0 8px; font:800 clamp(25px,2vw,32px)/1 Manrope,sans-serif; letter-spacing:-.7px; }
.quality-summary-grid small { color:var(--slate-500); font-size:11px; line-height:1.45; }
.quality-summary-grid article.is-unavailable { background:repeating-linear-gradient(-45deg,#fbfcfe,#fbfcfe 8px,#f7f9fc 8px,#f7f9fc 16px); }
.quality-summary-grid article.is-unavailable strong { color:#8794a7; }
.quality-content-grid { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(360px,.75fr); }
.quality-breakdown { min-width:0; padding:20px 22px; border-right:1px solid var(--slate-200); }
.measurement-health { min-width:0; padding:20px 22px; background:#fbfcfe; }
.quality-subhead { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:15px; }
.quality-subhead strong,.quality-subhead small { display:block; }
.quality-subhead strong { font-size:14px; }
.quality-subhead small { margin-top:3px; color:var(--slate-500); font-size:11px; }
.quality-subhead>span { padding:6px 9px; color:#52677f; background:#edf2f7; border-radius:999px; font-size:10px; font-weight:800; white-space:nowrap; }
.quality-type-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; }
.quality-type-list>article { min-width:0; padding:15px; background:#fff; border:1px solid var(--slate-200); border-radius:11px; box-shadow:0 3px 12px rgba(22,37,61,.035); }
.quality-type-title { display:flex; align-items:flex-start; gap:9px; }
.quality-type-title>i { width:10px; height:10px; flex:none; margin-top:4px; background:var(--tone); border-radius:3px; }
.quality-type-title strong,.quality-type-title small { display:block; }
.quality-type-title strong { font-size:13px; }
.quality-type-title small { margin-top:2px; color:var(--slate-500); font-size:10px; line-height:1.4; }
.quality-type-value { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin:14px 0 8px; }
.quality-type-value strong { font:800 22px/1 Manrope,sans-serif; }
.quality-type-value small { color:var(--slate-500); font-size:10px; }
.quality-progress { height:5px; overflow:hidden; background:#edf1f5; border-radius:999px; }
.quality-progress i { display:block; height:100%; background:var(--tone); border-radius:inherit; }
.quality-type-list>article>span { display:block; margin-top:8px; color:#66768b; font-size:10px; font-weight:700; }
.fraction-note { display:flex; align-items:flex-start; gap:9px; margin-top:12px; padding:11px 12px; color:#49657f; background:#eef6ff; border:1px solid #dcecff; border-radius:10px; }
.fraction-note>i { width:19px; height:19px; display:grid; place-items:center; flex:none; color:#fff; background:var(--blue-600); border-radius:50%; font-size:10px; font-style:normal; font-weight:800; }
.fraction-note p { margin:0; font-size:11px; line-height:1.55; }
.measurement-checks { display:flex; flex-direction:column; }
.measurement-checks article { display:grid; grid-template-columns:10px minmax(0,1fr) auto; align-items:center; gap:11px; padding:12px 0; border-bottom:1px solid var(--slate-100); }
.measurement-checks article:last-child { border-bottom:0; }
.measurement-checks article>i { width:9px; height:9px; background:var(--slate-300); border-radius:50%; box-shadow:0 0 0 4px rgba(119,132,154,.08); }
.measurement-checks article.is-ready>i { background:var(--green); box-shadow:0 0 0 4px rgba(22,163,106,.1); }
.measurement-checks article.is-error>i { background:var(--danger); box-shadow:0 0 0 4px rgba(211,59,84,.09); }
.measurement-checks strong,.measurement-checks small { display:block; }
.measurement-checks strong { font-size:12px; }
.measurement-checks small { margin-top:2px; color:var(--slate-500); font-size:10px; line-height:1.4; }
.measurement-checks article>span { padding:5px 8px; color:#786020; background:#fff5da; border-radius:999px; font-size:9px; font-weight:800; white-space:nowrap; }
.measurement-checks article.is-ready>span { color:#14704c; background:#eaf8f1; }
.measurement-checks article.is-error>span { color:#a12f43; background:#fff0f3; }
.quality-decision-note { display:grid; grid-template-columns:auto minmax(0,1fr); gap:9px; margin:0 22px 20px; padding:13px 15px; color:#634c18; background:#fff7df; border:1px solid #f2dda0; border-radius:10px; font-size:11px; line-height:1.55; }
.quality-decision-note strong { white-space:nowrap; }
@media(max-width:1150px) { .quality-summary-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.quality-summary-grid article:nth-child(2) { border-right:0; }.quality-summary-grid article:nth-child(-n+2) { border-bottom:1px solid var(--slate-100); }.quality-content-grid { grid-template-columns:1fr; }.quality-breakdown { border-right:0; border-bottom:1px solid var(--slate-200); } }
@media(max-width:650px) { .quality-summary-grid,.quality-type-list { grid-template-columns:1fr; }.quality-summary-grid article { border-right:0; border-bottom:1px solid var(--slate-100); }.quality-content-grid { grid-template-columns:1fr; }.quality-subhead { flex-direction:column; }.measurement-checks article { grid-template-columns:10px minmax(0,1fr); }.measurement-checks article>span { grid-column:2; justify-self:start; }.quality-decision-note { grid-template-columns:1fr; }.quality-decision-note strong { white-space:normal; } }

/* v0.16.1 — precise defined/active result labels. */
.quality-subhead>span { max-width:280px; white-space:normal; text-align:right; line-height:1.35; }
@media(max-width:650px) { .quality-subhead>span { max-width:none; text-align:left; } }

/* v0.19.0 — monthly management reports. */
.reports-hero { display:flex; align-items:flex-end; justify-content:space-between; gap:30px; margin-bottom:24px; }
.reports-hero h1 { margin:6px 0 7px; font:800 clamp(30px,3.2vw,43px)/1.12 Manrope,sans-serif; letter-spacing:-1.4px; }
.reports-hero p { max-width:780px; margin:0; color:var(--slate-500); font-size:15px; }
.reports-freshness { min-width:205px; padding-left:22px; border-left:1px solid var(--slate-200); }
.reports-freshness span,.reports-freshness small,.reports-freshness strong { display:block; }
.reports-freshness span,.reports-freshness small { color:var(--slate-500); font-size:12px; }
.reports-freshness strong { margin:3px 0; font:800 20px/1.25 Manrope,sans-serif; }
.report-control-panel { display:grid; grid-template-columns:minmax(210px,.6fr) minmax(500px,1.35fr) auto; align-items:end; gap:22px; margin-bottom:14px; padding:18px 20px; background:#fff; border:1px solid var(--slate-200); border-radius:15px; box-shadow:0 5px 20px rgba(22,37,61,.045); }
.report-control-copy span,.report-control-copy strong,.report-control-copy small { display:block; }
.report-control-copy span { color:var(--blue-600); font-size:10px; font-weight:800; letter-spacing:1px; }
.report-control-copy strong { margin:3px 0 2px; font:800 20px Manrope,sans-serif; }
.report-control-copy small { color:var(--slate-500); font-size:12px; }
.report-control-panel form { display:grid; grid-template-columns:minmax(260px,1fr) auto; align-items:end; gap:9px; }
.report-control-panel label { grid-column:1/-1; color:var(--slate-700); font-size:12px; font-weight:750; }
.report-control-panel select { width:100%; height:42px; padding:0 36px 0 12px; color:var(--slate-900); background:#fff; border:1px solid var(--slate-300); border-radius:9px; font-size:13px; outline:none; }
.report-control-panel select:focus { border-color:var(--blue-500); box-shadow:0 0 0 3px rgba(41,147,255,.12); }
.report-actions { display:flex; gap:8px; }
.report-scope-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-bottom:30px; }
.report-scope-card { min-height:108px; padding:15px 17px; background:#fff; border:1px solid var(--slate-200); border-left:4px solid var(--slate-300); border-radius:12px; }
.report-scope-card.is-ready { border-left-color:var(--green); }.report-scope-card.is-partial { border-left-color:var(--amber); }.report-scope-card.is-missing { background:#fafbfd; }
.report-scope-card div { display:flex; align-items:center; gap:8px; color:var(--slate-700); font-size:12px; font-weight:800; }
.report-scope-card i { width:8px; height:8px; background:var(--slate-300); border-radius:50%; }.report-scope-card.is-ready i { background:var(--green); }.report-scope-card.is-partial i { background:var(--amber); }
.report-scope-card strong,.report-scope-card small { display:block; }.report-scope-card strong { margin:11px 0 4px; font-size:13px; }.report-scope-card small { color:var(--slate-500); font-size:11px; line-height:1.45; }
.report-section-heading { display:flex; align-items:flex-end; justify-content:space-between; margin:0 0 13px; }
.report-section-heading h2 { margin:4px 0 3px; font:800 22px/1.25 Manrope,sans-serif; }.report-section-heading p { margin:0; color:var(--slate-500); font-size:12px; }
.report-kpi-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:15px; margin-bottom:22px; }
.report-kpi-card { min-height:198px; padding:19px; background:#fff; border:1px solid var(--slate-200); border-top:3px solid var(--tone); border-radius:14px; box-shadow:0 5px 20px rgba(22,37,61,.045); }
.report-kpi-source { display:flex; align-items:flex-start; justify-content:space-between; gap:9px; padding-bottom:11px; border-bottom:1px solid var(--slate-100); }
.report-kpi-source span { color:var(--tone); font-size:10px; font-weight:800; text-transform:uppercase; }.report-kpi-source small { color:var(--slate-500); text-align:right; font-size:10px; }
.report-kpi-card h3 { min-height:38px; margin:13px 0 7px; color:var(--slate-700); font-size:13px; line-height:1.45; }
.report-kpi-card>strong { display:block; font:800 clamp(26px,2.25vw,34px)/1.05 Manrope,sans-serif; letter-spacing:-.8px; overflow-wrap:anywhere; }
.report-kpi-card>p { margin:12px 0 0; font-size:11px; font-weight:750; line-height:1.4; }.report-kpi-card .is-good { color:#087f5b; }.report-kpi-card .is-bad { color:#c53c52; }.report-kpi-card .is-neutral { color:#62738a; }
.report-analysis-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-bottom:31px; }
.report-analysis-card { overflow:hidden; border-radius:15px; }.report-analysis-card>header { min-height:91px; padding:18px 20px; border-bottom:1px solid var(--slate-100); }
.report-analysis-card>header span { color:var(--tone); font-size:10px; font-weight:800; letter-spacing:1px; }.report-analysis-card>header h2 { margin:4px 0 0; font:800 19px/1.3 Manrope,sans-serif; }
.report-analysis-card.is-strength { --tone:var(--green); }.report-analysis-card.is-risk { --tone:var(--danger); }.report-analysis-card.is-action { --tone:var(--blue-600); }
.report-analysis-card>div { padding:0 20px; }.report-analysis-card section { display:grid; grid-template-columns:28px minmax(0,1fr); gap:11px; padding:16px 0; border-bottom:1px solid var(--slate-100); }.report-analysis-card section:last-child { border:0; }
.report-analysis-card section>i { width:26px; height:26px; display:grid; place-items:center; color:#fff; background:var(--tone); border-radius:8px; font-size:11px; font-style:normal; font-weight:800; }
.report-analysis-card section strong,.report-analysis-card section p,.report-analysis-card section em { display:block; }.report-analysis-card section strong { font-size:13px; line-height:1.4; }.report-analysis-card section p { margin:4px 0 0; color:var(--slate-500); font-size:11px; line-height:1.55; }.report-analysis-card section em { margin-bottom:4px; color:var(--blue-600); font-size:9px; font-style:normal; font-weight:800; text-transform:uppercase; }
.report-channel-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-bottom:22px; }
.report-channel-card { overflow:hidden; border-top:3px solid var(--tone); border-radius:15px; }.report-channel-card.channel-ads { --tone:var(--blue-600); }.report-channel-card.channel-web { --tone:var(--purple); }.report-channel-card.channel-seo { --tone:var(--green); }
.report-channel-card>header { min-height:92px; display:flex; align-items:flex-start; justify-content:space-between; gap:14px; padding:18px 19px; border-bottom:1px solid var(--slate-100); }
.report-channel-card>header span { color:var(--tone); font-size:10px; font-weight:800; text-transform:uppercase; }.report-channel-card>header h3 { margin:4px 0 0; font:800 17px Manrope,sans-serif; }.report-channel-card>header small { color:var(--slate-500); text-align:right; font-size:10px; white-space:nowrap; }
.report-channel-card dl { margin:0; padding:4px 19px; }.report-channel-card dl div { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:11px 0; border-bottom:1px dashed var(--slate-100); }.report-channel-card dt { color:var(--slate-600,#5f6f84); font-size:12px; }.report-channel-card dd { margin:0; text-align:right; font-size:13px; font-weight:800; }
.report-channel-card>footer { padding:13px 19px; color:#5d7188; background:#f8fafc; border-top:1px solid var(--slate-100); font-size:10px; line-height:1.55; }.report-channel-empty { padding:44px 20px; color:var(--slate-500); text-align:center; font-size:12px; }
.report-monthly-panel { margin-bottom:20px; overflow:hidden; border-radius:15px; }.report-panel-head { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; padding:19px 21px; border-bottom:1px solid var(--slate-100); }
.report-panel-head h2 { margin:4px 0 3px; font:800 20px Manrope,sans-serif; }.report-panel-head p { margin:0; color:var(--slate-500); font-size:11px; }.report-panel-head>span { padding:7px 10px; color:#34536f; background:#eef4fa; border-radius:8px; font-size:10px; font-weight:800; }
.report-table-wrap { max-height:540px; overflow:auto; }.report-table { width:100%; min-width:1020px; border-collapse:collapse; }.report-table th,.report-table td { padding:13px 15px; border-bottom:1px solid var(--slate-100); text-align:left; font-size:12px; white-space:nowrap; }.report-table thead th { position:sticky; top:0; z-index:2; color:var(--slate-700); background:#f5f8fb; font-size:11px; }.report-table tbody th a { color:var(--blue-600); font-weight:800; }.report-table tr.is-selected th,.report-table tr.is-selected td { background:#eef6ff; }.report-table tr.is-selected th { box-shadow:inset 3px 0 0 var(--blue-600); }
.coverage-pill { display:inline-block; padding:5px 8px; color:#4e6580; background:#edf2f7; border-radius:999px; font-size:10px; font-weight:800; }
.report-glossary,.report-archive { margin-bottom:16px; overflow:hidden; border-radius:14px; }.report-glossary>summary,.report-archive>summary { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:18px 20px; cursor:pointer; list-style:none; }.report-glossary>summary::-webkit-details-marker,.report-archive>summary::-webkit-details-marker { display:none; }.report-glossary>summary strong,.report-archive>summary strong { display:block; margin-top:4px; font-size:15px; }.report-glossary>summary>span,.report-archive>summary>span { color:var(--blue-600); font-size:11px; font-weight:800; }
.report-glossary-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); border-top:1px solid var(--slate-100); }.report-glossary-grid article { padding:16px 20px; border-right:1px solid var(--slate-100); border-bottom:1px solid var(--slate-100); }.report-glossary-grid strong { font-size:12px; }.report-glossary-grid p { margin:4px 0 0; color:var(--slate-500); font-size:11px; line-height:1.55; }.report-archive-empty { padding:25px 20px; color:var(--slate-500); border-top:1px solid var(--slate-100); text-align:center; font-size:12px; }
@media(max-width:1200px) { .report-control-panel { grid-template-columns:1fr 1.5fr; }.report-actions { grid-column:1/-1; justify-content:flex-end; }.report-kpi-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.report-analysis-grid { grid-template-columns:1fr; }.report-channel-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:850px) { .reports-hero { align-items:flex-start; flex-direction:column; }.reports-freshness { width:100%; padding:12px 0 0; border-left:0; border-top:1px solid var(--slate-200); }.report-control-panel { grid-template-columns:1fr; }.report-control-panel form { grid-template-columns:1fr; }.report-control-panel label,.report-actions { grid-column:auto; }.report-actions { justify-content:flex-start; }.report-scope-grid,.report-channel-grid { grid-template-columns:1fr; } }
@media(max-width:650px) { .report-kpi-grid,.report-glossary-grid { grid-template-columns:1fr; }.report-actions { flex-direction:column; }.report-actions a,.report-actions button { width:100%; }.report-panel-head { flex-direction:column; } }
@media print {
    .sidebar,.topbar,.report-control-panel,.report-glossary,.report-archive { display:none!important; }
    .main-content { margin:0!important; }.page-content { max-width:none!important; padding:12mm!important; }.reports-hero { margin-bottom:12px; }
    .report-scope-grid,.report-kpi-grid,.report-analysis-grid,.report-channel-grid { break-inside:avoid; }.report-analysis-grid,.report-channel-grid { grid-template-columns:repeat(3,1fr); }
    .panel,.report-kpi-card,.report-scope-card { box-shadow:none!important; }.report-monthly-panel { break-before:page; }
}
