/* Graphiques du bilan d’activité */
.summary-sections { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }
.summary-card {
  --summary-accent:#237caf; height:100%; min-width:0; display:flex; flex-direction:column; align-items:stretch;
  padding:clamp(15px,1.8vw,23px); border:1px solid #d3e2e9; border-radius:14px; background:#fff;
}
.summary-card.summary-seo { --summary-accent:#16847a; }
.summary-card.summary-contacts { --summary-accent:#976c54; }
.summary-title { display:flex; align-items:center; gap:9px; color:var(--summary-accent); }
.summary-title h2 { margin:0; color:#17394e; font-size:clamp(16px,1.3vw,20px); line-height:1.15; letter-spacing:-.02em; }
.summary-title .icon { width:21px; height:21px; }
.summary-metrics { display:flex; align-items:end; flex-wrap:wrap; gap:12px 20px; margin:17px 0 14px; }
.summary-metric dt { display:flex; align-items:center; color:#476374; gap:2px; font-size:12px; }
.summary-metric .report-chart-info { width:24px; height:24px; margin:0; padding:4px; }
.summary-metric .report-chart-info .icon { width:14px; height:14px; }
.summary-metric dd { margin:0; color:#19394c; font-weight:650; font-size:clamp(20px,2.4vw,36px); letter-spacing:-.045em; line-height:1.1; }
.summary-card>.range-reading { margin-top:auto; }
.summary-card>.text-link { align-self:flex-start; color:var(--summary-accent); }
.summary-timeline { margin-top:17px; }
.summary-timeline>summary { width:fit-content; padding:8px 0; color:#285974; cursor:pointer; font-size:14px; font-weight:600; }
.summary-timeline[open]>.card { margin-top:7px; }
.audience-charts { margin-top:18px; }
.social-network-list { display:grid; }
.social-network-row { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:38px; width:100%; padding:6px 2px; border:0; border-bottom:1px solid #e6edf2; background:transparent; color:#214056; font:inherit; font-size:14px; cursor:help; }
.social-network-row:last-child { border-bottom:0; }
.social-network-row:is(:hover,:focus-visible) { background:#f2f7fa; }
.social-network-name { display:inline-flex; align-items:center; gap:10px; }
.social-network-row strong { font-variant-numeric:tabular-nums; }
.social-logo { display:block; flex:none; width:21px; height:21px; }
.chart-rank-note, .top-pages-chart>details>summary { font-size:12px; color:#4c6576; }
.top-pages-chart>details>summary { cursor:pointer; padding:6px 0; }
.top-pages-chart>details .top-page-row { width:100%; }
@media (max-width:950px) { .summary-sections { grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr)); } }
.overview-panels.overview-charts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}
.overview-charts .overview-traffic-chart { grid-column: 1 / -1; min-width: 0; }
.overview-charts .card-head:has(> .report-chart-info), .home-rankings .card-head { justify-content: flex-start; align-items: center; gap: 5px; }
.channel-visual { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; }
.channel-ring { position: relative; flex: 0 1 43%; min-width: 110px; max-width: 190px; }
.channel-ring svg { display: block; width: 100%; aspect-ratio: 1; }
.channel-ring circle:hover { filter: brightness(.91); }
.channel-number { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; pointer-events: none; }
.channel-number strong { font-size: clamp(17px, 2.2vw, 29px); line-height: 1.1; color: #11354b; }
.channel-number small { color: #4a6575; font-size: 11px; }
.channel-legend { flex: 1 1 160px; }
.channel-legend-row {
  width: 100%; display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 8px;
  padding: 8px 0; border: 0; border-bottom: 1px solid #e8eff3; background: transparent;
  color: #25485d; text-align: left; font: inherit; font-size: 13px;
}
.channel-legend-row:last-child { border-bottom-color: transparent; }
.channel-legend-row strong, .top-page-row strong { color: #16394e; font-variant-numeric: tabular-nums; white-space: nowrap; }
.channel-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--channel-color); }
.top-pages-chart { display: grid; gap: 2px; }
.top-page-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(40px, 1fr) max-content; gap: 10px;
  border: 0; padding: 7px 0; background: transparent; text-align: left; align-items: center; font: inherit; font-size: 13px; color: #274a61; }
.top-page-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.top-page-track { display: block; border-radius: 3px; height: 9px; background: #e9f2f7; }
.top-page-track i { display: block; border-radius: inherit; height: 100%; background: #539cdb; }
.top-page-row:first-child i { background: #267cc7; }
.top-page-row:hover .top-page-track i, .top-page-row:focus-visible .top-page-track i { background: #135c9a; }
.all-page-views { margin-top: 12px; }
.lead-chart { display: flex; width: 100%; gap: 7px; color: #526b7a; font-size: 12px; }
.lead-chart-body { flex: 1; min-width: 0; }
.lead-plot, .lead-axis { position: relative; height: 110px; }
.lead-plot svg { width: 100%; height: 100%; display: block; }
.lead-point { position: absolute; display: grid; place-items: center; border: none; padding: 0;
  width: min(20px, 4%); min-width: 8px; height: 20px; background: transparent; transform: translate(-50%, -50%); }
.lead-point span { width: 7px; height: 7px; background: #16877f; border-radius: 50%; }
.lead-point:hover span, .lead-point:focus-visible span { box-shadow: 0 0 0 4px #198b842e; }
.lead-point.lead-missing span { background: #8597a3; width: 7px; height: 2px; }
.lead-axis span { display: block; line-height: 1; transform: translateY(-50%); }
.lead-axis span:first-child { margin-top: 13px; }
.lead-axis span:last-child { position: absolute; top: 89%; right: 0; }
.lead-dates { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0 0; }
.lead-coverage, .lead-caption { font-size: 12px; color: #506a7b; margin: 8px 0; }
.lead-caption i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #16877f; }
@media (max-width: 850px) { .overview-panels.overview-charts { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .channel-visual { gap: 8px; } .channel-ring { max-width: 145px; } }
.icon{width:21px;height:21px;flex-shrink:0;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0)}.skip-link{position:fixed;top:-80px;left:16px;z-index:100;background:white;padding:12px}.skip-link:focus{top:10px}.login-card h1{font-weight:400;font-size:30px;letter-spacing:-1.2px;margin:14px -15px}.login-card label{display:block;text-align:left;margin:32px 0 12px;font-size:14px}.login-card .primary{width:100%;display:flex;align-items:center;justify-content:center;gap:22px;color:#052030}.login-field input{width:100%;background:none;border:0;color:#a8bdd1;font:16px Arial;letter-spacing:2px;outline:none}.login-field input::placeholder{color:#8295ab}.login-field .icon{width:16px;color:#8b9bae}.login-note .icon{width:15px;height:15px}.login-logo{object-fit:contain}.brand-mark{height:52px;width:35px;object-fit:contain}.brand strong{font-size:17px;letter-spacing:3px}.brand-sub{display:block;font-size:12px;letter-spacing:.6px;margin-top:5px;color:#a6c8df}.header-button{background:transparent;border:0;color:#dbe9f4;padding:9px;cursor:pointer;font:inherit}.prototype-pill{font-size:12px;padding:6px 10px;border:1px solid #344d63;border-radius:30px;color:#c2d7e5}.toolbar-site{display:flex;align-items:center;gap:12px}.toolbar-site> .icon{background:#e2f0f8;box-sizing:content-box;padding:10px;border-radius:50%;color:#428db6}.toolbar-site small{display:block;color:#6b8092;margin-top:4px;font-size:12px}.period-chip{padding:9px 12px;background:#f1f7fa;border:1px solid #d7e4ec;border-radius:9px;font-size:14px}.kpi-card{position:relative;overflow:hidden}.kpi-help{position:absolute;bottom:13px;right:13px;color:#7290a4;background:transparent;border:0;cursor:pointer;padding:3px}.kpi-help .icon{width:17px;height:17px}.kpi-caption{padding-right:20px}.kpi-grid{margin-bottom:22px}.chart-wrap svg{width:100%;display:block;min-width:0}.axis-label{font:12px Arial;fill:#647f94}.chart-bar{cursor:pointer;outline:none}.chart-bar:hover rect:first-child,.chart-bar:focus rect:first-child{fill:#166ba1;filter:drop-shadow(0 2px 3px #22558822)}.chart-legend i{display:inline-block;width:9px;height:9px;margin-right:6px;border-radius:3px}.bar-row>div:first-child{display:flex;justify-content:space-between;gap:15px;align-items:baseline}.bar-row strong{white-space:nowrap}.summary-pair{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0}.summary-pair strong{display:block;font-size:29px;letter-spacing:-1px;color:#15364b}.summary-pair span{display:block;margin-top:7px;color:#657f91;font-size:14px}.health-summary{display:flex;gap:20px;padding:14px 0}.large-icon{display:flex;align-items:center;justify-content:center;width:66px;height:66px;border-radius:16px;background:#e9f2f8;color:#4385a2;flex-shrink:0}.large-icon .icon{width:34px;height:34px}.page-tabs{margin:22px 0}.page-tabs button{display:flex;align-items:center;gap:8px}.conversion-stack{display:flex;height:18px;gap:3px;border-radius:7px;overflow:hidden;margin:25px 0}.result-row{display:flex;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid #e7eef3;font-size:14px}.result-row strong{white-space:nowrap}.journey>div{display:grid;grid-template-columns:28px 1fr;gap:8px 14px;padding:16px 0;border-bottom:1px solid #e7eef3}.journey strong{grid-column:2;font-size:14px;color:#71899c}.journey .icon{color:#4f93b8}.timeline-item{display:flex;gap:18px;padding:20px 0;border-bottom:1px solid #e5eef3}.timeline-item h3{margin:0}.health-card small{display:block;margin:18px 0;color:#74889a}.health-card h2{font-size:19px}.status-legend p{display:flex;gap:12px;align-items:center}.article-example blockquote{margin:18px 0;padding:18px;border-left:3px solid #4ba6bf;background:#f1f8fc;border-radius:0 9px 9px 0;line-height:1.65}.search-input{display:flex;align-items:center;gap:10px;max-width:440px;background:#f7fafc;border:1px solid #d7e4ec;border-radius:10px;padding:10px 13px;margin:20px 0;color:#6c889a}.search-input input{border:0;background:transparent;font:inherit;min-width:0;width:100%;color:#17394e;outline:none}.data-table th{text-align:left}.data-table td{text-align:left}.page-footer{text-align:center;padding:28px 0 5px}.modal{width:min(650px,calc(100% - 32px));padding:25px;border:1px solid #d4e2e9;border-radius:20px;box-shadow:0 30px 100px #0a223e40;color:#17394e;background:white;max-height:85vh;overflow:auto}.modal::backdrop{background:rgba(8,23,41,.55);backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:start;justify-content:space-between;gap:20px}.modal-head h2{font-size:23px;margin:0}.modal-close{border:0;background:#edf4f8;color:#446a83;border-radius:50%;padding:8px;cursor:pointer}.modal-body{line-height:1.65}.modal-body li{margin:10px 0}.button-link{display:inline-block;text-decoration:none}.details-box{padding:15px;background:#f2f7fa;border-radius:12px;margin-top:20px}.details-box summary{cursor:pointer;font-weight:600}.cabinet-icon{padding:10px;color:#307daa;background:#dcedf8;border-radius:12px}.site-card small{display:block;font-size:11.5px;line-height:1.5;margin-top:5px}.sidebar-footer p{font-size:14px;line-height:1.65}.nav-item{text-align:left}.nav-item>span:last-child{min-width:0}.app-shell p{line-height:1.6}.app-shell .card+ .card{margin-top:22px}.app-shell .grid-equal+.card,.app-shell .grid-two+.card{margin-top:22px}.card .footer-note{margin-bottom:0}button,a,input,select{touch-action:manipulation}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #1d85c4;outline-offset:3px}dialog .primary{padding:12px 18px}.health-card .text-link{display:block}.card h3{font-size:16px;line-height:1.4}.source-badge .icon{width:14px;height:14px}.toolbar{gap:15px}.empty-state>.icon{height:40px;width:40px}.footer-note{overflow-wrap:anywhere}.card-head{gap:12px}.toolbar small{font-size:12px}.login-note{display:flex;gap:8px;align-items:center;justify-content:center}.demo-note{font-size:12px!important;color:#70879e!important;line-height:1.6;margin-top:24px!important}.page-head .outline-button{white-space:nowrap}.alert-banner>.icon{margin-top:2px;flex-shrink:0}.table-wrap{overflow-x:auto}.login-screen{min-height:100vh}.grid-two,.grid-equal{margin-top:22px}.card .bar-list{margin-top:24px}@media(max-width:760px){.page-head{align-items:start!important}.page-head .outline-button{font-size:0;padding:11px}.page-head .outline-button .icon{width:20px}.toolbar{align-items:start;flex-direction:column}.source-badge{align-self:flex-start}.card-head{flex-wrap:wrap}.chart-legend{flex-wrap:wrap}.chart-wrap svg{min-width:460px}.chart-wrap{overflow-x:auto}.status-legend p{align-items:start;flex-direction:column;gap:6px}.topbar-actions .prototype-pill{display:none}.login-card h1{font-size:27px}.summary-pair strong{font-size:25px}.page-tabs{display:flex!important;overflow-x:auto}.page-tabs button{white-space:nowrap}.health-card .badge{white-space:normal}.card{padding:20px!important}.sidebar.open{box-shadow:25px 0 100px #0a223e44}.page-subtitle{font-size:15px!important}}@media print{.topbar,.sidebar,.toolbar button,.page-head button,.page-footer,.mobile-menu,.kpi-help{display:none!important}.workspace{margin:0!important;padding:10px!important}.card,.kpi-card{break-inside:avoid;box-shadow:none!important}.app-shell{background:white!important}}
.login-field input{background:#0c1625;border:1px solid #263b50;outline:none}.text-link{border:0;background:transparent;padding:0;cursor:pointer}.toolbar{background:white;border:1px solid #d4e2e9;border-radius:19px;padding:15px 20px;justify-content:space-between;box-shadow:0 14px 34px #224a650a;margin-bottom:10px}.bar-row{display:block}.bar-track{margin-top:11px}.site-card{display:flex;align-items:center;gap:10px;padding:13px 10px}.sidebar>.nav-group{display:block;font-size:11px;letter-spacing:1.3px;margin:0 12px 13px;color:#6b8598}.sidebar-footer>strong{display:block;font-size:14px;margin:10px 0 7px}.sidebar-footer>.icon{color:#4c94ad}.sidebar nav{display:flex;flex-direction:column;gap:6px}.kpi-card::before{content:'';position:absolute;left:17px;right:17px;top:0;height:3px;background:var(--tone);opacity:.65}.kpi-value{display:block;margin:10px 0}.workspace #page{max-width:1500px;margin:0 auto}.page-title{font-weight:500;font-size:34px}.breadcrumb{font-size:11px;color:#23709d;letter-spacing:1.6px;font-weight:700;margin-bottom:10px}.source-badge::before{display:none}.period-picker select{appearance:none;background:linear-gradient(45deg,transparent 50%,#577a94 50%) right 4px center/5px 5px no-repeat;padding:2px 22px 2px 2px;font-size:14px}.app-shell .grid-two>.card+.card,.app-shell .grid-equal>.card+.card{margin-top:0}.mobile-menu{color:#315e7c!important;margin-bottom:18px;background:white!important}.modal-head{padding:0 0 18px}.modal-body{padding:18px 0 0}.modal-head h2{line-height:1.3}.table-wrap .data-table tbody th{white-space:normal;background:transparent;font-weight:600;font-size:14px}.timeline-item{margin-left:0}.timeline-item::before{display:none}.login-field input{background:#0c1625!important;border:1px solid #263b50!important}.login-card h1{margin-bottom:14px}.login-card .login-subtitle{margin-bottom:30px}.login-field{margin-bottom:17px}.login-screen .login-card .primary{color:#052030;background:#5ac6e7}.brand-sub{max-width:220px}.source-badge{white-space:nowrap}@media(max-width:760px){.page-title{font-size:27px}.toolbar{padding:15px}.sidebar .site-card{margin-top:10px}.period-picker{width:100%}.period-picker select{max-width:none;width:100%}}
.mobile-menu{display:none}@media(max-width:760px){.mobile-menu{display:inline-flex}}.nav-desc{font-size:12px}.nav-item{padding-top:10px;padding-bottom:10px}.sidebar{padding-top:22px}.sidebar .site-card{margin-bottom:24px}.sidebar-footer{margin-top:24px}
.app-shell .health-grid>.card+.card{margin-top:0}.health-grid>.card{margin-bottom:0}.login-logo{width:70px;height:110px}.card .health-title{justify-content:space-between}
.login-cabinet-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 4vw, 20px);
  margin-bottom: 26px;
}

.login-monogram {
  display: block;
  width: clamp(72px, 24vw, 108px);
  height: auto;
  flex-shrink: 0;
}

.login-cabinet-name {
  color: #f5f7f9;
  font-size: clamp(14px, 5vw, 18px);
  line-height: 1.03;
  text-align: left;
  text-transform: uppercase;
}

.login-cabinet-name > * { display: block; }
.cabinet-brand-prefix { color: #c6d4df; font-size: .84em; }
.cabinet-brand-place { color: #ff862d; font-weight: 600; }
.topbar {
  color: #17394e;
  background: #fff;
  border-bottom: 1px solid #d4e4ee;
}
.topbar .brand { gap: 11px; color: inherit; }
.topbar .brand-mark {
  box-sizing: border-box;
  width: 40px;
  height: 44px;
  padding: 6px 7px;
  border-radius: 9px;
  background: #153950;
}
.topbar .brand strong { font-size: 17px; letter-spacing: -.02em; }
.topbar .brand-sub { margin-top: 2px; color: #536e80; letter-spacing: 0; }
.topbar .topbar-actions { gap: 8px; }
.topbar-actions .data-connection, .topbar-actions .logout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 6px 10px;
  font: inherit;
  font-size: 13px;
  line-height: 1.25;
  border-radius: 8px;
  cursor: pointer;
}
.topbar-actions .data-connection { color: #425f72; background: transparent; border: 1px solid transparent; }
.topbar-actions .data-connection:hover { color: #193e54; background: #f0f6fa; }
.connection-dot {
  --dot-color: #687d89;
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dot-color);
}
.data-connection[data-state="online"] .connection-dot { --dot-color: #167451; }
.data-connection[data-state="partial"] .connection-dot { --dot-color: #986000; }
.data-connection[data-state="offline"] .connection-dot { --dot-color: #b94142; }
.data-connection[data-state="loading"] .connection-dot { --dot-color: #397aa5; }
.topbar-actions .logout-button { border: 1px solid #c5d9e7; color: #254f6c; background: #fff; font-weight: 600; }
.topbar-actions .logout-button .icon { width: 16px; height: 16px; }
.topbar-actions .logout-button:hover { color: #123b55; border-color: #a7c3d6; background: #eff6fa; }
.topbar-actions button:focus-visible { outline: 2px solid #236998; outline-offset: 2px; }
@media (max-width: 760px) {
  .topbar .brand-mark { width: 34px; height: 38px; }
  .topbar .brand strong { font-size: 15px; }
  .topbar .brand-sub { font-size: 11px; }
  .topbar-actions .data-connection, .topbar-actions .logout-button { min-height: 44px; }
}
@media (max-width: 540px) {
  .topbar { gap: 6px; padding-inline: 12px; }
  .topbar .brand { gap: 7px; }
  .topbar .topbar-actions { gap: 4px; }
  .topbar-actions .data-connection { width: 44px; padding: 0; position: relative; }
  .data-connection [data-connection-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.cabinet-logo-defs { position: absolute; overflow: hidden; pointer-events: none; }
.cabinet-light-band { opacity: 0; }

.workspace .page-head { align-items: center; margin-bottom: 12px; }
.workspace .page-title {
  margin: 0; font-size: clamp(29px, 3vw, 44px); font-weight: 580;
  letter-spacing: -.045em; line-height: 1.12; color: #17364b;
}
.view-tools { display: flex; margin: 0 0 24px; align-items: center; }
.view-tools:has(.period-freshness) { flex-wrap: wrap; gap: 5px 12px; }
.period-freshness { color: #526b7c; font-size: 12px; }
.view-tools .period-picker { padding: 3px 9px; min-height: 34px; border-radius: 6px; }
.view-tools .period-picker select { max-width: 100%; }
.view-tools .icon { width: 15px; height: 15px; }
.view-date { display: inline-flex; align-items: center; gap: 7px; color: #526d80; font-size: 13px; }
.bridge-connect { margin: 0 0 14px; }
.bridge-archive {
  border: 0; background: transparent; padding: 8px; color: #b7d9e8; font: inherit;
  font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.bridge-archive:focus-visible { outline: 2px solid #6bc8e9; outline-offset: 2px; }
.login-field input[type="password"]:focus-visible { border-color: #6bc8e9; outline: 2px solid #6bc8e9; outline-offset: 2px; }
.range-tools { flex-wrap: wrap; gap: 6px 12px; }
.range-reading, .range-search-strip small { color: #526b7c; font-size: 12px; line-height: 1.45; }
.range-reading { margin: 0 0 10px; }
.range-search-strip {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 25px; padding: 13px 18px; margin: 0 0 20px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: #345468; font-size: 13px;
}
.range-search-strip > div:first-child { flex: 1 1 240px; }
.range-search-strip small { display: block; margin-top: 3px; }
.range-search-strip .text-link { display: inline-flex; align-items: center; gap: 6px; }
.range-search-strip .icon { width: 16px; height: 16px; }
.range-search-strip strong { color: #173c53; font-size: 22px; }
.overview-kpis { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.overview-kpis .kpi-card { min-height: 135px; padding: 19px 22px 18px; border-radius: 14px; }
.overview-kpis .kpi-card::before { display: none; }
.overview-kpis .kpi-value { font-size: clamp(34px, 3.2vw, 52px); font-weight: 570; line-height: 1.1; letter-spacing: -.055em; }
.overview-kpis .kpi-label { font-size: 14px; font-weight: 600; }
.overview-kpis .kpi-icon { display: inline-flex; width: 34px; height: 34px; border-radius: 10px; }
.overview-kpis .kpi-icon .icon { width: 19px; height: 19px; }
.overview-kpis .kpi-card:first-child { background: #12374e; border-color: #12374e; color: white; }
.overview-kpis .kpi-card:first-child .kpi-label, .overview-kpis .kpi-card:first-child .kpi-value { color: white; }
.overview-kpis .kpi-card:first-child .kpi-icon { color: #dcf4ff; background: #25516a; }
.overview-kpis .kpi-card:first-child .kpi-help { color: #bed6e5; }
.overview-panels { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(245px,1fr); align-items: stretch; gap: 16px; }
.overview-panels > .card { margin: 0 !important; border-radius: 14px; padding: 22px; }
.overview-panels .card-head { margin-bottom: 18px; }
.overview-panels .bar-list { margin-top: 12px; }
.history-chart { padding: 12px 0 23px 36px; }
.daily-chart .calendar-week, .daily-chart .day-count, .daily-chart .daily-mark:not(.daily-tick) .history-label { display: none; }
.daily-chart .history-month.no-reading .history-bar { background: #8999a2; }
.daily-chart .history-bar { width: min(62%, 26px); left: 50%; right: auto; transform: translateX(-50%); }
.calendar-trigger { font: 13px/1.4 Arial, Helvetica, sans-serif; text-align: left; }
.calendar-trigger:hover, .calendar-trigger[aria-expanded="true"] { border-color: #81abc5; }
.calendar-caret {
  width: 6px; height: 6px; margin: -3px 3px 0 5px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}
#report-calendar {
  box-sizing: border-box; position: fixed; z-index: 85; inset: auto;
  top: var(--calendar-top, 8px); left: clamp(8px, var(--calendar-left), calc(100% - 360px));
  margin: 0; width: min(352px, calc(100vw - 16px)); max-width: none;
  max-height: calc(100dvh - 16px); overflow: auto; padding: 18px;
  border: 1px solid #c8dbe5; border-radius: 12px; color: #17394d;
  background: #fff; box-shadow: 0 14px 42px #173c552a;
  font: 13px/1.4 Arial, Helvetica, sans-serif;
}
#report-calendar::backdrop { background: #15364d18; }
#report-calendar h2 { margin: 0 0 13px; color: #17394d; font-size: 17px; line-height: 1.3; }
#report-calendar button, #report-calendar select, #report-calendar input { font-family: inherit; }
#report-calendar button:focus-visible, #report-calendar select:focus-visible, #report-calendar input:focus-visible {
  outline: 2px solid #1973a2; outline-offset: 1px;
}
.calendar-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.calendar-dates label { display: grid; gap: 4px; color: #496575; font-size: 12px; font-weight: 600; }
.calendar-dates input, #calendar-month, #report-calendar .calendar-step, .calendar-footer button {
  min-width: 0; min-height: 34px; padding: 4px 7px;
  border: 1px solid #c9dae4; border-radius: 6px; background: white; color: #24485e; font-size: 13px;
}
.calendar-dates input { box-sizing: border-box; width: 100%; font-variant-numeric: tabular-nums; }
.calendar-month-nav { display: flex; align-items: center; justify-content: space-between; margin: 15px 0 7px; }
#calendar-month { max-width: 72%; border-color: transparent; font-weight: 600; text-transform: capitalize; }
#report-calendar .calendar-step { width: 35px; font: 22px/1 Arial, sans-serif; }
#report-calendar .calendar-step:disabled, .calendar-footer button:disabled { opacity: .4; cursor: default; }
.calendar-weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; text-align: center; }
.calendar-weekdays { margin-bottom: 4px; color: #516d7c; font-size: 11px; }
.calendar-days button {
  min-width: 0; min-height: 34px; padding: 2px; border: 0; border-radius: 5px;
  background: transparent; color: #243f52; font-size: 13px; font-variant-numeric: tabular-nums;
}
.calendar-days button.between { color: #16496a; background: #e1eff7; }
.calendar-days button.endpoint { color: white; background: #235f80; font-weight: 700; }
.calendar-days button:enabled:hover { box-shadow: inset 0 0 0 1px #467a98; }
.calendar-days button:disabled { color: #8999a4; background: #f4f6f7; cursor: default; }
#calendar-status { margin: 10px 0 6px; min-height: 17px; color: #506878; font-size: 12px; }
.calendar-shortcuts, .calendar-footer { display: flex; align-items: center; gap: 8px; }
.calendar-shortcuts button {
  min-height: 32px; padding: 3px 6px; border: 0; border-radius: 4px;
  background: transparent; color: #175f87; font-size: 12px; text-decoration: underline; text-underline-offset: 2px;
}
.calendar-footer { justify-content: flex-end; margin-top: 8px; padding-top: 12px; border-top: 1px solid #e0e8ed; }
.calendar-footer button { padding-inline: 12px; }
.calendar-footer [data-apply] { color: white; background: #185c82; border-color: #185c82; font-weight: 600; }
@media (max-width: 560px) {
  #report-calendar { inset: 0; margin: auto; height: fit-content; width: min(370px, calc(100vw - 16px)); padding: 15px; }
  .calendar-days button { min-height: 40px; }
  #report-calendar .calendar-step, .calendar-dates input, #calendar-month, .calendar-footer button, .calendar-shortcuts button { min-height: 40px; }
}
.daily-missing { color: #536b7d; font-size: 14px; }
.report-chart-months { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; color: #31596f; font-size: 13px; }
.report-chart-months button { min-height: 32px; min-width: 32px; font-size: 17px; }
.report-chart-months button:disabled { color: #9caab2; cursor: default; }
.overview-kpis .kpi-card:first-child .kpi-caption { color: #d4e5ed; }
@media (max-width: 760px) {
  .history-chart.daily-chart { padding: 0; }
  .daily-chart .calendar-week, .daily-chart .history-columns {
    display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 4px; grid-auto-flow: row;
  }
  .daily-chart .calendar-week { text-align: center; margin-bottom: 5px; font-size: 10px; color: #567084; }
  .daily-chart .history-plot { height: auto; }
  .daily-chart .history-columns { position: static; }
  .daily-chart .history-month:first-child { grid-column-start: var(--first-weekday); }
  .daily-chart .history-rule, .daily-chart .history-bar { display: none; }
  .daily-chart .daily-mark { min-height: 43px; border-radius: 6px; background: rgba(63, 139, 158, var(--day-shade)); color: #16384a; }
  .daily-chart .daily-mark[aria-describedby] { outline: 2px solid #33778e; }
  .daily-chart .daily-mark .history-label, .daily-chart .daily-mark:not(.daily-tick) .history-label {
    display: block; position: static; transform: none; color: #476074; font-size: 10px;
  }
  .daily-chart .day-count { display: block; font-size: 13px; font-weight: 650; }
  .daily-chart .daily-mark.no-reading { background: #eef0f1; }
}
.history-plot { height: clamp(148px,14vw,218px); position: relative; }
.history-rule { position: absolute; left: 0; right: 0; border-top: 1px dashed #dbe5ea; pointer-events: none; }
.history-rule span { position: absolute; right: calc(100% + 6px); transform: translateY(-50%); font-size: 11px; color: #536d80; white-space: nowrap; }
.history-columns { position: absolute; inset: 0; display: grid; grid-auto-columns: minmax(0,1fr); grid-auto-flow: column; }
.history-month { min-width: 0; position: relative; padding: 0; border: 0; background: transparent; color: #4a6374; font: inherit; }
.history-bar { position: absolute; bottom: 0; left: 19%; right: 19%; background: #77a6c4; border-radius: 4px 4px 0 0; }
.history-month.with-ads .history-bar, .history-key .paid-key { background: #2a7883; }
.history-month:is(:hover,:focus-visible) .history-bar { background: #173f58; }
.history-month.selected-month .history-label { color: #164e73; border-bottom: 2px solid #1977a3; font-weight: 700; }
.bar-row[data-chart-tip] {
  display: block; width: 100%; padding: 0; border: 0; background: transparent;
  text-align: left; font-family: inherit; line-height: inherit;
}
.bar-row-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bar-row .bar-track, .bar-row .bar-fill { display: block; }
.bar-row[aria-describedby="chart-tooltip"] .bar-fill { background: #245c7a; }
.history-month[aria-describedby="chart-tooltip"] .history-bar { background: #173f58; }
#chart-tooltip {
  position: fixed; z-index: 90; width: max-content; max-width: min(250px, calc(100vw - 16px));
  padding: 10px 12px; border: 1px solid #406076; border-radius: 9px;
  color: #fff; background: #123449; box-shadow: 0 5px 16px #0e253036;
  font: 12px/1.4 Arial, Helvetica, sans-serif; overflow-wrap: anywhere;
}
#chart-tooltip strong { display: block; margin-bottom: 6px; font-size: 13px; }
#chart-tooltip.day-value-tooltip { pointer-events:none; }
#chart-tooltip dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 12px; margin: 0; }
#chart-tooltip dt { color: #c6dce8; }
#chart-tooltip dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
@media print { #chart-tooltip { display: none !important; } }
.history-label { position: absolute; left: 50%; top: calc(100% + 4px); transform: translateX(-50%); font-size: 11px; white-space: nowrap; }
.history-key { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 15px; margin-top: 9px; color: #526b7c; font-size: 12px; }
.history-key span { display: inline-flex; align-items: center; gap: 6px; }
.history-key i { width: 8px; height: 8px; border-radius: 2px; background: #77a6c4; }
.history-key small { margin-left: auto; font-size: 11px; }
.overview-signal {
  display: flex; align-items: center; width: 100%; gap: 13px; margin: 16px 0 0;
  background: #fffaf1; color: #4a3720; border: 1px solid #e7d9bb; border-radius: 12px;
  padding: 12px 16px; text-align: left; font: inherit;
}
.overview-signal:hover { background: #fcf1da; }
.overview-signal strong, .overview-signal small { display: block; }
.overview-signal strong { font-size: 14px; }
.overview-signal small { color: #705d40; font-size: 12px; }
.signal-icon { color: #896127; display: flex; }
.signal-arrow { margin-left: auto; }
@media (max-width: 1090px) {
  .overview-panels { grid-template-columns: minmax(0,1.5fr) minmax(210px,1fr); }
}
@media (max-width: 850px) { .overview-panels { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .view-tools .period-picker { width: auto; max-width: 100%; }
  .overview-kpis { gap: 8px; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .overview-kpis .kpi-card { min-height: 108px; padding: 13px 15px; }
  .overview-kpis .kpi-card:first-child { grid-column: 1/-1; }
  .overview-kpis .kpi-label { font-size: 12px; }
  .overview-kpis .kpi-icon { width: 24px; height: 24px; }
  .overview-kpis .kpi-icon .icon { width: 15px; height: 15px; }
  .history-chart { padding-left: 29px; }
  .history-label, .history-rule span { font-size: 9px; }
  .history-key { gap: 3px 9px; font-size: 10px; }
  .overview-panels .card-head .text-link { font-size: 12px; }
}

@media (prefers-reduced-motion: no-preference) {
  .cabinet-light-base {
    animation: cabinet-polish 1700ms ease-in-out both;
  }
  .cabinet-light-band {
    animation: cabinet-pass-light 1540ms 80ms cubic-bezier(.44, .07, .27, .96) both;
  }
}

@keyframes cabinet-polish {
  0%, 15% { opacity: .26; }
  72%, 100% { opacity: 1; }
}

@keyframes cabinet-pass-light {
  0% { opacity: 0; transform: translateX(-135px); }
  12%, 83% { opacity: 1; }
  100% { opacity: 0; transform: translateX(250px); }
}

.sidebar {
  width: 224px;
  padding: 13px 29px 16px 10px;
  background: #f8fcfd;
  border-right-color: #dce6ec;
}
.workspace { margin-left: 224px; }
.nav-site {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 3px 7px 14px 11px;
  color: #145f99;
}
.sidebar nav.site-tree {
  flex: none;
  gap: 0;
  padding: 5px 0 0 10px;
  border-left: 1px solid #c9dbe6;
}
.site-toggle {
  width: 100%;
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 8px 4px 7px;
  border: 0;
  border-radius: 8px;
  color: #145f99;
  background: #e8f2f9;
  text-align: left;
  font: 700 11px/1.35 Arial, Helvetica, sans-serif;
}
.site-toggle:not(:first-child) { margin-top: 6px; }
.site-toggle .icon { width: 15px; height: 15px; color: #4a849e; }
.site-toggle:hover { background: #deedf7; }
.site-nav-status { color: #526977; font-size: .9em; font-weight: 500; white-space: nowrap; }
.health-coming-soon {
  display: inline-flex; align-items: center; gap: .6rem; margin: 0;
  padding: .65rem 1rem; border: 1px solid var(--line); border-radius: var(--radius);
  color: #34566a; background: var(--surface); font-weight: 600;
}
.health-coming-soon .icon { width: 18px; height: 18px; }
.site-monogram {
  flex: 0 0 22px;
  height: 24px;
  background: #ad6d43;
  mask: url("assets/logo-latapie-blanc.png") center / contain no-repeat;
}
.site-identity { flex: 1; min-width: 0; }
.site-identity strong, .site-identity small {
  display: block;
  white-space: nowrap;
}
.site-identity strong { font-size: 10.5px; line-height: 14px; font-weight: 700; }
.site-identity small { font-size: 8.5px; line-height: 11px; color: #516978; }
.site-toggle-sign {
  flex: 0 0 8px;
  margin-left: auto;
  height: 8px;
  position: relative;
  color: #78909f;
}
.site-toggle-sign::before, .site-toggle[aria-expanded="false"] .site-toggle-sign::after {
  content: "";
  position: absolute;
  inset: 3px 0 auto;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}
.site-toggle-sign::after { transform: rotate(90deg); }
.site-tree .site-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-left: 15px;
  padding: 2px 0 0 8px;
  border-left: 1px solid #dce6ec;
}
.site-link {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 25px;
  align-items: center;
  padding: 3px 6px 3px 25px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #536b7b;
  text-align: left;
  font: 600 10.5px/1.35 Arial, Helvetica, sans-serif;
}
.site-link::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8fa7b6;
}
.site-link-label { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.site-link:hover { background: #e8f2f9; color: #145f99; }
.site-link[aria-current="page"] {
  color: #0d609f;
  background: #dbeeff;
  box-shadow: inset 3px 0 #2f8bce;
}
.site-link[aria-current="page"]::before { background: #2f8bce; }
.site-tree button:focus-visible { outline: 2px solid #236998; outline-offset: -2px; }
.sidebar-tools { margin: auto 0 0 11px; padding-top: 20px; }
.sidebar-tools button { font: 600 11px/1.4 Arial, Helvetica, sans-serif; color: #536b7b; }
.sidebar-dismiss { display: none; }
@media (max-width: 760px) {
  .sidebar { width: min(278px, 92vw); visibility: hidden; padding-right: 17px; }
  .sidebar.open { visibility: visible; }
  .workspace { margin-left: 0; }
  .site-toggle { min-height: 48px; }
  .site-toggle { font-size: 14px; }
  .site-identity strong { font-size: 14px; line-height: 18px; }
  .site-identity small { font-size: 11px; line-height: 14px; }
  .site-link { min-height: 44px; font-size: 14px; }
  .site-link-label { white-space: normal; }
  .sidebar-tools { display: flex; flex-direction: column; align-items: start; }
  .sidebar-tools button { min-height: 44px; font-size: 13px; }
  .sidebar-dismiss { display: block; border: 0; padding: 0; background: transparent; }
}

.contact-coverage {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: -8px 0 18px;
  padding: 10px 14px;
  border-left: 3px solid #a2c2d4;
  background: #f4f8fb;
  color: #344f63;
  font-size: 14px;
}
.contact-coverage > .icon { width: 17px; height: 17px; }
.contact-coverage > span { flex: 1 1 280px; }
.contact-panels .card-head { flex-wrap: wrap; }
.contact-ads { display: flex; align-items: center; gap: 10px; color: #345468; }
.contact-ads > strong { color: #173c53; font-size: 28px; line-height: 1.1; }
.contact-ads-icon { display: inline-grid; place-items: center; height: 32px; width: 32px; flex: 0 0 32px; border-radius: 8px; background: #edf4f7; }
.contact-ads-icon .icon { width: 18px; height: 18px; }
.contact-caption { color: #536b7d; font-size: 13px; line-height: 1.5; margin: 12px 0 0; }
.contact-trend:not(.daily-chart) .history-plot { height: clamp(115px, 11vw, 160px); }
.contact-trend:not(.daily-chart) .history-bar { max-width: 58px; margin-inline: auto; }
.contact-trend .partial-reading .history-bar,
.history-key .contact-partial-key { background: repeating-linear-gradient(135deg, #5686a7 0 3px, #b3cddd 3px 6px); }
.contact-trend .partial-reading:is(:hover, :focus-visible) .history-bar { outline: 2px solid #285570; }
.contact-trend:not(.daily-chart) .no-reading .history-bar,
.contact-trend.daily-chart .no-reading .history-bar,
.history-key .contact-missing-key { border: 1px dashed #677e8e; background: #edf1f3; }
.contact-trend.with-contact-events { padding-bottom: 34px; }
.contact-trend.with-contact-events .history-label { top: calc(100% + 15px); }
.contact-event-marks {
  position: absolute;
  top: calc(100% + 3px);
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 2px;
  pointer-events: none;
}
.contact-event-marker {
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
}
.contact-event-marker.event-contact { border-radius: 50%; background: #b65b13; }
.contact-event-marker.event-callback { width: 7px; height: 7px; border-radius: 1px; background: #7a51a0; transform: rotate(45deg); }
.contact-event-marker.event-other { border: 2px solid #4f6571; border-radius: 2px; background: #fff; }
.contact-event-dates { display: flex; flex-wrap: wrap; gap: 3px 16px; padding: 0; margin: 8px 0 0; list-style: none; color: #435d70; font-size: 12px; }
.contact-event-dates time { font-weight: 650; color: #24465b; }
.contact-event-index { margin-top: 8px; }
.contact-event-index summary { width: fit-content; color: #276789; font-size: 12px; cursor: pointer; }
@media (max-width: 760px) {
  .contact-trend.daily-chart.with-contact-events { padding-bottom: 0; }
  .contact-trend.daily-chart.with-contact-events .daily-mark { padding-bottom: 7px; }
  .contact-trend.daily-chart .contact-event-marks { top: auto; bottom: 3px; }
  .contact-trend.daily-chart .contact-event-marker { width: 6px; height: 6px; }
}
.contact-source { margin: 18px 0 0; }

.report-chart-info {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; flex: 0 0 auto; padding: 3px;
  border: 0; border-radius: 50%; background: transparent; color: #376a8a;
  cursor: pointer;
}
.report-chart-info .icon { width: 19px; height: 19px; }
.report-chart-info:hover, .report-chart-info:focus-visible { color: #143b55; background: #e6f1f7; }
.geo-switch { margin-bottom: 8px; }
.geo-total { margin: 6px 0 12px; font-size: 13px; color: #475f75; }
.geo-total strong { color: #174e54; font-size: 21px; margin-right: 3px; }
.geo-list { list-style: none; padding: 0; margin: 0; }
.geo-rank { display: grid; grid-template-columns: minmax(0, .85fr) minmax(35px, 1fr) max-content; align-items: center; gap: 12px; width: 100%; padding: 8px 0; border: 0; background: transparent; color: #213e56; cursor: help; font: inherit; font-size: 14px; text-align: left; }
.geo-label { display: contents; }
.geo-label > span { grid-row: 1; grid-column: 1; overflow-wrap: anywhere; }
.geo-label > strong { grid-row: 1; grid-column: 3; min-width: 2ch; text-align: right; }
.geo-label strong, .geo-unknown strong, .query-wrap td { font-variant-numeric: tabular-nums; }
.geo-track { grid-row: 1; grid-column: 2; height: 8px; background: #e6f0f3; }
.geo-track, .geo-track > span { display: block; border-radius: 6px; }
.geo-track > span { height: 100%; background: #189993; }
.geo-list li:first-child .geo-track > span { background: #087c78; }
.geo-rank:hover .geo-track > span, .geo-rank:focus-visible .geo-track > span { background: #125f60; }
.geo-unknown { display: flex; justify-content: space-between; gap: 8px; margin-top: 13px; padding: 10px 0 0; border-top: 1px solid #e5e0eb; color: #536579; font-size: 13px; }
.query-controls, .report-pager { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.query-controls { justify-content: space-between; margin: 12px 0; }
.query-controls .search-input { margin: 0; max-width: 100%; }
.query-controls .query-filters { flex-wrap: wrap; max-width: 100%; }
.query-wrap .data-table th:first-child { overflow-wrap: anywhere; min-width: 160px; }
.query-wrap .data-table td, .query-wrap .data-table thead th:not(:first-child) { text-align: right; white-space: nowrap; }
.query-wrap .report-col-heading { display: inline-flex; align-items: center; gap: 2px; }
.report-col-heading .report-chart-info { width: 24px; height: 24px; color: inherit; }
.report-col-heading .report-chart-info .icon { width: 15px; height: 15px; }
.query-impressions { display: inline-flex; align-items: center; justify-content: end; gap: 8px; }
.query-impressions > i, .query-impressions > i > i { display: block; height: 5px; border-radius: 4px; }
.query-impressions > i { width: 48px; background: #e5eff8; }
.query-impressions > i > i { background: #3a85b8; }
.report-pager { justify-content: space-between; margin-top: 12px; color: #52677b; font-size: 13px; }
.report-pager button[disabled] { opacity: .5; cursor: default; }
.report-pager [hidden] { display: none; }
@media (max-width: 620px) {
  .query-wrap .data-table th:first-child { min-width: 106px; }
  .query-impressions > i { display: none; }
  .query-controls .search-input { width: 100%; }
}

.organic-value{display:block;color:#193e57;font-size:clamp(1.6rem,3vw,2.4rem);font-weight:700;font-variant-numeric:tabular-nums}
.cabinet-outcomes{margin:.65rem 0}.cabinet-outcomes div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:.55rem 0;border-bottom:1px solid #e0eaf0}
.cabinet-outcomes dt{color:#304f61}.cabinet-outcomes dd{margin:0;font-variant-numeric:tabular-nums;font-weight:700;color:#163d55}
.cabinet-outcomes div:before{content:"";width:.55rem;height:.55rem;flex:none;align-self:center;border-radius:50%;background:#4188ac}.cabinet-outcomes div:nth-child(2):before{background:#927abb}.cabinet-outcomes div:nth-child(3):before{background:#bc814d}.cabinet-outcomes dt{flex:1}
.contact-all{margin-top:16px}.contact-all>summary{cursor:pointer;color:#28566d;font-weight:600}.contact-all[open]>summary{margin-bottom:16px}

.home-form-dot, .history-key i.home-form-key { background: #b56415; border-radius: 50%; width: 9px; height: 9px; }
.home-form-dot { position: absolute; top: -4px; left: 50%; transform: translateX(-50%); border: 1px solid white; box-shadow: 0 0 0 1px #a4530c; }
.home-lead-note { display: flex; align-items: center; gap: .45rem; color: #775020; }
.home-traffic {
  border: 1px solid #d6e5ef;
  border-radius: 17px;
  background: white;
  padding: 25px 28px 17px;
  box-shadow: 0 6px 26px #25446209;
}
.home-traffic-head, .home-traffic-toolbar, .home-line-key {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px;
}
.home-traffic-head h2 { margin: 0; color: #173951; font-size: clamp(21px,2.4vw,27px); font-weight: 650; line-height: 1.15; letter-spacing: -.025em; }
.workspace .period-page-head {
  container: period-header / inline-size;
  display: grid;
  grid-template-columns: minmax(min-content, 1fr) minmax(0, max-content) minmax(0, 1fr);
  gap: 0;
  margin-bottom: clamp(18px, 2vw, 26px);
}
.period-page-head .page-title {
  padding-inline-end: 12px;
  align-self: center;
}
.period-page-head .view-tools { margin: 0; min-width: 0; align-self: center; }
.period-page-head .calendar-trigger {
  gap: 10px;
  min-height: 46px;
  padding: 6px 13px 6px 7px;
  border: 1px solid #a6c5dc;
  border-radius: 12px;
  background: #fff;
  color: #204c70;
  box-shadow: 0 2px 6px #183f5c12;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  white-space: normal;
  cursor: pointer;
}
.period-page-head .calendar-trigger .icon {
  box-sizing: content-box;
  width: 18px; height: 18px; padding: 6px;
  border-radius: 7px;
  background: #e6f2fb;
  color: #226093;
}
.period-page-head .calendar-caret { flex: none; margin-inline-start: 2px; }
.period-page-head .calendar-trigger:is(:hover, [aria-expanded="true"]) {
  background: #f4f9fd;
  border-color: #6597bb;
}
.period-page-head .calendar-trigger[aria-expanded="true"] .calendar-caret {
  margin-top: 3px; transform: rotate(225deg);
}
.period-page-head .calendar-trigger:focus-visible { outline: 3px solid #276d9e; outline-offset: 3px; }
@container period-header (max-width: 440px) {
  .period-page-head .calendar-trigger { padding-inline: 5px 9px; gap: 7px; font-size: 13px; }
}
.home-traffic-kpis { display: flex; flex-wrap: wrap; align-items: start; gap: 10px; margin: 19px 0; }
.home-traffic-kpis .kpi-card {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 1px 9px;
  max-width: 100%;
  min-height: 0;
  padding: 9px 12px;
  border: 1px solid #d7e6f3;
  border-radius: 10px;
  background: #f8fbff;
  box-shadow: none;
  overflow: visible;
}
.home-traffic-kpis .kpi-card::before { display: none; }
.home-traffic-kpis .kpi-card:nth-child(2) { border-color: #e4def1; background: #faf9fd; }
.home-traffic-kpis .kpi-top { display: contents; }
.home-traffic-kpis .kpi-icon { display:inline-flex; grid-area:1 / 1 / 3 / 2; width:28px; height:28px; border-radius:8px; color:#207acd; background:#e9f3ff; }
.home-traffic-kpis .kpi-card:nth-child(2) .kpi-icon { color: #7954b2; background: #f0eafa; }
.home-traffic-kpis .kpi-icon svg { width: 16px; height: 16px; }
.home-traffic-kpis .kpi-label { grid-area:1 / 2; color:#526c81; font-size:11.5px; font-weight:550; line-height:1.35; }
.home-traffic-kpis .kpi-value { grid-area:2 / 2; margin:0; color:#183e5e; font-size:23px; font-weight:650; line-height:1.12; font-variant-numeric:tabular-nums; }
.home-traffic-kpis .kpi-help { position:static; grid-area:1 / 3 / 3 / 4; display:grid; place-items:center; width:24px; height:28px; padding:3px; }
.home-traffic-kpis .kpi-caption { grid-column:2 / -1; max-width:38ch; margin:0; padding:0; font-size:11px; }
.home-traffic-toolbar { margin: 4px 0 6px; }
.home-traffic-toolbar .segmented { padding:3px; gap:2px; border-radius:8px; background:#eef4f8; }
.home-traffic-toolbar .segmented button { padding:6px 10px; border-radius:5px; font-size:12px; }
.home-traffic-toolbar [aria-pressed=true] { font-weight: 600; }
.home-traffic-toolbar .report-chart-months { margin:0; gap:8px; color:#526e83; font-size:13px; }
.home-traffic-toolbar .report-chart-months button { min-width:27px; min-height:27px; border-radius:5px; }
.home-traffic-toolbar .report-chart-months button:hover:enabled { background:#edf5fc; }
.home-line-chart { --curve-color:#247fd6; --axis-left:36px; --axis-right:12px; }
.home-line-chart[data-metric="pageViews"] { --curve-color:#8460c8; }
.home-line-grid { position:relative; height:194px; margin:13px var(--axis-right) 0 var(--axis-left); isolation:isolate; }
.home-line-tick {
  position:absolute; right:calc(100% + 9px); width:100%; transform:translateY(-50%);
  font-size:11px; line-height:1; text-align:right; color:#57748b; pointer-events:none;
}
.home-line-tick::before { content:''; position:absolute; top:50%; left:calc(100% + 9px); width:100%; border-top:1px solid #e1eaf2; }
.home-line-plot { position:absolute; inset:0; width:100%; height:100%; overflow:visible; pointer-events:none; }
.home-line-stroke { fill:none; stroke:var(--curve-color); stroke-width:2.3px; stroke-linecap:round; stroke-linejoin:round; vector-effect:non-scaling-stroke; }
.home-line-day {
  position:absolute; top:0; height:100%; padding:0; margin:0; border:0; background:transparent;
  cursor:pointer; touch-action:pan-y;
}
.home-line-day::before {
  content:''; display:none; position:absolute; top:0; bottom:0; left:var(--anchor-x);
  border-left:1px dashed var(--curve-color); opacity:.52; pointer-events:none;
}
.home-line-day[data-point-active]::before { display:block; }
.home-line-day:focus-visible { outline:2px solid var(--curve-color); outline-offset:1px; border-radius:4px; }
.home-line-point {
  position:absolute; width:9px; height:9px; left:var(--anchor-x); top:var(--point-y); transform:translate(-50%,-50%);
  border:2px solid white; border-radius:50%; background:var(--curve-color); opacity:0; pointer-events:none;
}
.home-line-day:is(.is-isolated,.is-event) .home-line-point { opacity:1; }
.home-line-day.is-event .home-line-point { width:11px; height:11px; background:#c47528; }
.home-line-day[data-point-active] .home-line-point {
  opacity:1; border-color:var(--curve-color); background:white; box-shadow:0 0 0 4px color-mix(in srgb,var(--curve-color) 14%,transparent);
}
.home-line-day.no-reading .home-line-point { display:none; }
.home-line-axis { position:relative; height:29px; margin:0 var(--axis-right) 0 var(--axis-left); color:#57748b; font-size:11px; }
.home-line-axis span { position:absolute; top:7px; transform:translateX(-50%); }
.home-line-key { justify-content:flex-start; gap:4px 15px; padding-top:10px; border-top:1px solid #e3ecf2; font-size:11.5px; line-height:1.4; color:#526e83; }
.home-line-key small { font-size:inherit; }
.home-line-key small:first-of-type { margin-left:auto; }
.home-line-swatch, .home-line-event-swatch { display:inline-block; vertical-align:middle; margin-right:6px; }
.home-line-swatch { width:16px; height:2px; background:var(--curve-color,#247fd6); }
.home-line-event-swatch { width:7px; height:7px; border-radius:50%; background:#c47528; }
.home-line-source { color:#526e83; margin:5px 0 0; font-size:11.5px; }
.home-traffic .daily-missing { margin:8px 0; padding:12px; background:#f7fafc; border-radius:8px; color:#526e83; font-size:13px; }
#chart-tooltip.home-line-tooltip { background:#f6fbff; color:#1b4162; border-color:#bdd8f3; border-radius:10px; box-shadow:0 5px 16px #284f6d14; padding:10px 13px; pointer-events:none; }
#chart-tooltip.home-line-tooltip strong { font-weight:500; color:#456786; font-size:11px; }
#chart-tooltip.home-line-tooltip dt { color:#48677e; align-self:center; }
#chart-tooltip.home-line-tooltip dd:first-of-type { font-size:18px; font-weight:650; }
@media (max-width:600px) {
  #home-activity .home-traffic { padding:17px 12px 12px!important; }
  .home-traffic-head { align-items:flex-start; }
  .home-traffic-kpis { align-items:stretch; gap:6px; margin:14px 0; }
  .home-traffic-kpis .kpi-card { flex:1 1 124px; grid-template-rows:1fr auto; padding:7px; gap:2px 5px; }
  .home-traffic-kpis .kpi-icon { width:22px; height:24px; }
  .home-traffic-kpis .kpi-label { grid-column:2 / -1; align-self:start; font-size:11px; }
  .home-traffic-kpis .kpi-help { grid-area:2 / 3; width:24px; height:24px; }
  .home-traffic-kpis .kpi-value { font-size:20px; }
  .home-traffic-toolbar { gap:4px; }
  .home-traffic-toolbar .segmented button { padding:6px 8px; font-size:11px; }
  .home-traffic-toolbar .report-chart-months { gap:2px; font-size:12px; }
  .home-line-chart { --axis-left:26px; }
  .home-line-grid { height:160px; }
  .home-line-key small:first-of-type { margin-left:0; }
}
.geo-label strong small { font-size: 11px; font-weight: 500; color: #53697c; white-space: nowrap; }
.geo-area .geo-rank { grid-template-columns: minmax(0,1.3fr) minmax(32px,1fr) max-content; }
#geo-countries .geo-track > span { background: #327da9; }
#geo-countries .geo-list li:nth-child(2) .geo-track > span { background: #238580; }
#geo-countries .geo-list li:nth-child(3) .geo-track > span { background: #8062a6; }

.home-rankings {
  container: home-rankings / inline-size;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 14px;
}
.home-rankings > #home-top-pages { display: grid; min-width: 0; }
.app-shell .home-rankings .card { margin: 0; padding: 18px; border-radius: 14px; }
.home-rankings .card-head { flex-wrap: nowrap; margin-bottom: 15px; }
.home-rankings .top-page-row { grid-template-columns: minmax(0, 1.8fr) minmax(30px, .7fr) max-content; gap: 8px; }
.home-rankings .geo-rank { grid-template-columns: minmax(0, 1.3fr) minmax(27px, .8fr) max-content; gap: 7px; }
.home-rankings .report-pager { gap: 6px; }
.home-rankings .report-pager button { padding-inline: 10px; }
.home-rankings .footer-note { margin-top: 17px; padding-top: 12px; }
@container home-rankings (614px <= width < 928px) {
  #home-top-pages { grid-column: 1 / -1; }
}
.seo-panels { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); gap: 16px; }
.seo-panels .card { min-width: 0; }
.seo-metric { font-size: clamp(26px,3vw,34px); font-weight: 700; font-variant-numeric: tabular-nums; color: #1d5e85; }
.seo-metric-impressions { color: #14796f; }
.seo-metric-ctr { color: #705394; }
.seo-week-scroll { overflow-x: auto; margin: 6px 0 0; }
.seo-week-chart { display: block; width: 100%; height: auto; }
.seo-week-chart text { fill: #465e72; font: 9px system-ui,sans-serif; }
.seo-gridline { fill: none; stroke: #dce5eb; stroke-width: 1; }
.seo-line { fill: none; stroke: #327ba7; stroke-width: 2.4; stroke-linejoin: round; }
.seo-dot { fill: #286f99; }
.seo-column { fill: #21867c; }
.seo-hit { fill: transparent; cursor: help; }
.seo-hit:focus-visible { outline: 2px solid #264d66; outline-offset: 1px; }
.seo-week-rates { max-height: 146px; overflow: auto; margin-top: 10px; }
.seo-rate { display: grid; grid-template-columns: max-content minmax(20px,1fr) 59px; width: 100%; align-items: center; gap: 8px; padding: 6px 0; background: transparent; border: 0; font: inherit; font-size: 12px; color: #334d63; cursor: help; }
.seo-rate > i, .seo-rate > i > i { display: block; border-radius: 6px; height: 7px; }
.seo-rate > i { background: #edebf3; }
.seo-rate > i > i { background: #8465ad; }
.seo-rate > strong { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.seo-page-fold { margin: 12px 0; }
.seo-page-fold .geo-total .report-chart-info { vertical-align: middle; }
.report-chapter { --accent-chapitre:#236a9a; --fond-picto:#e7f2fa; min-width:0; margin:0 0 16px; padding:clamp(16px,2.2vw,26px); background:#fff; border:1px solid #d0e0e9; border-radius:15px; scroll-margin-top:90px; }
#bilan-audience { --accent-chapitre:#126f71; --fond-picto:#e4f4f1; }
#bilan-seo { --accent-chapitre:#70518a; --fond-picto:#f2edf7; }
.bilan-section-title { display:flex; align-items:center; gap:10px; margin:0; color:#17394e; font-size:clamp(18px,2vw,23px); line-height:1.2; letter-spacing:-.025em; }
.bilan-section-title .icon { box-sizing:content-box; width:19px; height:19px; padding:7px; color:var(--accent-chapitre); background:var(--fond-picto); border-radius:9px; }
.bilan-section-title:focus { outline:none; }
.bilan-section #bilan-content { scroll-margin-top:90px; }
.report-chapter .chapter-source { margin:8px 0; color:#526a79; font-size:12px; line-height:1.45; }
.report-chapter .chapter-kpis { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:15px 0 10px; gap:0; }
.workspace .chapter-kpis .kpi-card { position:relative; min-width:0; min-height:0; border:none; border-radius:0; padding:0 22px; background:transparent; box-shadow:none; }
.workspace .chapter-kpis .kpi-card + .kpi-card { border-left:1px solid #d7e5eb; }
.workspace .chapter-kpis .kpi-card:first-child { padding-left:0; }
.chapter-kpis .kpi-card::before, .chapter-kpis .kpi-icon { display:none; }
.chapter-kpis .kpi-label { padding-inline-end:20px; font-size:13px; font-weight:550; color:#486171; }
.chapter-kpis .kpi-value { margin:4px 0; color:#16394e; font-size:clamp(21px,2.2vw,30px); font-weight:650; letter-spacing:-.035em; line-height:1.18; }
.chapter-kpis .kpi-caption { margin:4px 0 0; padding:0; font-size:12px; color:#526a79; }
.chapter-kpis .kpi-help { bottom:auto; top:0; right:6px; }
.chapter-kpis .page-views-open { margin-top:3px; }
.report-chapter .chapter-detail { margin:10px 0 0; padding-top:4px; border-top:1px solid #dbe5ea; }
.report-chapter .chapter-detail>summary { width:fit-content; padding:9px 0 5px; font-size:14px; font-weight:600; color:var(--accent-chapitre); cursor:pointer; }
.chapter-detail[open]>summary { margin-bottom:8px; }
.app-shell .report-chapter .chapter-detail .card { min-width:0; background:transparent; border:0; border-radius:0; box-shadow:none; padding:9px 0!important; margin:0; }
.report-chapter .chapter-detail .card-head { margin:0 0 10px; }
.report-chapter .chapter-detail .card-title { font-size:16px; line-height:1.3; }
.report-chapter .overview-panels { margin:2px 0; gap:14px 28px; }
#contact-period-indicators { container: contact-summary / inline-size; }
.report-chapter .chapter-kpis.contact-kpis {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 8px;
  margin: 10px 0;
}
.report-chapter .contact-kpis:has(> :nth-child(3)) {
  grid-template-columns: minmax(0, 1.38fr) minmax(0, .9fr) minmax(0, 1.13fr);
}
.workspace .chapter-kpis.contact-kpis > .kpi-card {
  display: grid;
  grid-template-columns: auto auto minmax(24px, 1fr);
  grid-template-areas: "label value help" "detail detail detail";
  align-content: center;
  align-items: center;
  gap: 0 8px;
  min-width: 0;
  padding: 8px 12px !important;
  background: #f7fafc;
  border: 1px solid #dfeaf1;
  border-radius: 9px;
}
.contact-kpis .kpi-top { grid-area: label; margin: 0; gap: 6px; justify-content: flex-start; }
.contact-kpis .kpi-label { padding: 0; color: #28485d; font-size: 14px; line-height: 1.25; }
.contact-kpis .kpi-value { grid-area: value; margin: 0; font-size: 23px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.contact-kpis .tone-teal .kpi-icon {
  display: inline-flex; order: -1; width: auto; height: auto;
  padding: 0; background: transparent; color: #286d75;
}
.contact-kpis .tone-teal .kpi-icon .icon { width: 17px; height: 17px; }
.contact-kpis .kpi-help {
  position: static; grid-area: help; justify-self: end; display: inline-grid;
  place-items: center; width: 24px; height: 28px; padding: 0;
}
.contact-kpis .kpi-caption {
  grid-area: detail; margin: 4px 0 0; padding: 0;
  font-size: 13px; line-height: 1.4; color: #486171;
}
.contact-breakdown { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 15px; }
.contact-breakdown > span { display: inline-flex; align-items: center; gap: 5px; }
.contact-breakdown .icon { width: 16px; height: 16px; color: #a64f12; }
.contact-breakdown > span:nth-child(2) .icon { color: #785198; }
.contact-breakdown b {
  min-width: 1.35em; padding: 1px 4px; background: #e6eff5; color: #20465f;
  border-radius: 5px; font-size: 17px; line-height: 1.15;
  font-weight: 650; font-variant-numeric: tabular-nums; text-align: center;
}
.contact-breakdown small { font-size: inherit; }
@container contact-summary (max-width: 860px) {
  .report-chapter .contact-kpis:has(> :nth-child(3)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-kpis:has(> :nth-child(3)) > :first-child { grid-column: 1 / -1; }
}
@container contact-summary (max-width: 540px) {
  .report-chapter .chapter-kpis.contact-kpis { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .workspace .chapter-kpis.contact-kpis > .kpi-card { padding: 6px 9px !important; }
}
.report-chapter .contact-chart .card-head > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  width: 100%;
}
.report-chapter .contact-chart .card-head p { margin: 0; font-size: 12px; }
.app-shell .report-chapter .contact-chart .card { padding: 8px 0 0 !important; }
@media (min-width: 761px) {
  .contact-chart .contact-trend .history-plot { height: clamp(95px, 8vw, 125px); }
}
.report-chapter .channel-ring { max-width:142px; }
.report-chapter #seo-trend { margin:8px 0 15px; }
.report-chapter #seo-trend h3 { margin:0 0 8px; font-size:15px; }
.bilan-section .activity-detail-fold { margin-top:12px; }
.bilan-section .segmented { flex-wrap:wrap; }
.campaign-source { display:flex; align-items:baseline; flex-wrap:wrap; gap:0 16px; }
.campaign-source .text-link { font-size:13px; }
.campaign-unavailable { margin:8px 0 0; color:#486171; font-size:14px; }
.campaign-summary .campaign-kpis { grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr)); margin-bottom:0; }
.campaign-charts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:16px; }
.campaign-traffic { --accent-chapitre:#126f71; --fond-picto:#e4f4f1; }
.campaign-charts .bar-list { margin-top:14px; gap:4px; }
.campaign-charts .bar-row[data-chart-tip] {
  display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) max-content;
  grid-template-areas:"label bar value"; align-items:center; gap:10px; min-height:32px;
}
.campaign-charts .bar-row-heading { display:contents; }
.campaign-charts .bar-row-heading > span { grid-area:label; color:#315165; font-size:13px; }
.campaign-charts .bar-row-heading > strong { grid-area:value; color:#1e4057; font-size:14px; font-variant-numeric:tabular-nums; }
.campaign-charts .bar-track { grid-area:bar; width:100%; height:8px; margin:0; background:#e7eff4; }
.campaign-spend .bar-fill { background:#327bba; }
.campaign-traffic .bar-fill { background:#16857e; }
.campaign-charts .footer-note { margin:14px 0 0; text-align:left; font-size:12px; }
@media (max-width:1000px) {
  .campaign-charts { grid-template-columns:minmax(0,1fr); gap:0; }
}
@media (max-width:620px) {
  .campaign-summary.report-chapter .campaign-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
  .workspace .campaign-kpis.chapter-kpis > .kpi-card {
    padding:8px 10px !important; background:#f7fafc; border:1px solid #dfeaf1; border-radius:9px;
  }
  .campaign-kpis .kpi-top { margin-bottom:5px; }
}
@media (max-width:460px) {
  .workspace .period-page-head:has(~ #campagnes-resultats) { grid-template-columns:minmax(0,1fr); gap:8px; }
}
@media (max-width:620px) {
  .report-chapter .chapter-kpis, .report-chapter .overview-panels { grid-template-columns:minmax(0,1fr); }
  .workspace .chapter-kpis .kpi-card { padding:9px 28px 9px 0!important; }
  .workspace .chapter-kpis .kpi-card + .kpi-card { border-left:0; border-top:1px solid #e6edf1; }
  .chapter-kpis .kpi-help { top:9px; }
  .social-network-row { min-height:44px; }
}
