.analytics-admin h3{margin-top:0}.analytics-period{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.analytics-panel{padding:26px;background:white;border:1px solid var(--line);border-radius:14px;margin:24px 0;min-width:0}.analytics-panels{display:grid;grid-template-columns:1fr 1fr;gap:24px}.analytics-panels .analytics-panel{margin:0}.analytics-chart{width:100%;height:auto;min-height:160px;max-height:280px}.analytics-chart text{font:12px Arial;fill:#65766b}.analytics-axis{stroke:#dbe2d5}.analytics-line{fill:none;stroke:#31594d;stroke-width:3}.analytics-chart circle,.analytics-bars rect{fill:#31594d}.analytics-bars>div{display:grid;grid-template-columns:130px 1fr 45px;align-items:center;gap:12px;margin:15px 0;font-size:13px}.analytics-bars svg{width:100%;height:18px}.analytics-revenue{font-size:34px;font-weight:bold;color:#31594d}.analytics-chart .heat-0{fill:#edf0e7}.analytics-chart .heat-1{fill:#c7d6b7}.analytics-chart .heat-2{fill:#93ad83}.analytics-chart .heat-3{fill:#62846b}.analytics-chart .heat-4{fill:#31594d}.analytics-panel summary{font-weight:bold;cursor:pointer;margin-bottom:18px}.statistics-consent{position:fixed;z-index:1500;bottom:16px;left:16px;max-width:560px;max-height:85vh;overflow:auto;background:#fff;padding:24px;border:1px solid #c4d0bd;border-radius:14px;box-shadow:0 12px 50px #263e372b;color:#263e37}.statistics-consent h2{font-size:22px}.statistics-consent p{font-size:14px;line-height:1.65}.statistics-consent>div{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.statistics-consent .button{min-width:110px}.statistics-preference{display:block;margin:15px 0}.analytics-admin .metric small{display:block;color:var(--muted)}@media(max-width:800px){.analytics-panels{grid-template-columns:1fr}.analytics-panel{padding:18px}.analytics-bars>div{grid-template-columns:100px 1fr 35px}.statistics-consent{left:10px;right:10px;bottom:10px;padding:18px}.analytics-admin .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

.analytics-range{display:flex;flex-wrap:wrap;gap:15px;align-items:end;margin:20px 0}.analytics-range label{min-width:170px}.analytics-range input{display:block}

/* Compact, full-width preference band with equally accessible actions. */
.statistics-consent{inset:auto 0 0;max-width:none;width:100%;max-height:40dvh;display:flex;align-items:center;justify-content:space-between;gap:16px 28px;flex-wrap:wrap;padding:14px max(5%,calc((100vw - 1440px)/2));border:0;border-top:1px solid var(--line,#cbd9de);border-radius:0;background:var(--theme-bg,#f5f9fa);color:var(--theme-ink,#173e4b);box-shadow:0 -4px 20px #173e4b12;font-family:Arial,Helvetica,sans-serif;line-height:1.5}
.statistics-consent .statistics-consent-copy{display:block;flex:1 1 340px}.statistics-consent h2{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.statistics-consent p{margin:0;font-size:13px;line-height:1.5}
.statistics-consent .statistics-consent-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex:0 0 auto;margin-left:auto}.statistics-consent .button{min-width:88px;min-height:40px;padding:8px 16px;font-size:13px;border-radius:6px;margin:0}.statistics-consent-actions a{font-size:12px;text-decoration:underline;text-underline-offset:3px;padding:8px 4px}.statistics-consent #statistics-choice-error:empty{display:none}.statistics-consent #statistics-choice-error:not(:empty){flex-basis:100%;color:#a12e25}body:has(.statistics-consent){padding-bottom:84px}
@media(max-width:700px){.statistics-consent{padding:12px 5%;gap:10px}.statistics-consent .statistics-consent-copy{flex-basis:100%}.statistics-consent .statistics-consent-actions{width:100%;justify-content:flex-end}.statistics-consent .button{min-height:40px;min-width:88px;padding:8px 13px}body:has(.statistics-consent){padding-bottom:132px}}

/* Restrained preference actions, with full touch areas on small screens. */
.statistics-consent .statistics-consent-actions{gap:8px}.statistics-consent .button{min-width:76px;min-height:34px;padding:6px 13px;border:1px solid var(--line,#cbd9de);border-radius:18px;background:transparent;color:var(--theme-ink,#173e4b);box-shadow:none;font-size:12px;font-weight:400;line-height:1.5}.statistics-consent .button:first-child{border-color:var(--theme-primary,#24586a);background:var(--theme-primary,#24586a);color:var(--theme-on-primary,#fff)}.statistics-consent .button:hover{border-color:var(--theme-primary,#24586a);background:var(--theme-soft,#e7f0f3);color:var(--theme-ink,#173e4b)}.statistics-consent .button:first-child:hover{background:var(--theme-hover,#173e4b);color:var(--theme-on-hover,#fff)}.statistics-consent-actions a{padding:6px;font-size:12px;color:var(--muted,#536b77)}
@media(max-width:700px){.statistics-consent .button{min-height:40px;min-width:80px;padding:7px 13px}.statistics-consent .statistics-consent-actions{gap:8px}}
