.analytics-panel[hidden]{display:none!important}
.analytics-panel{box-sizing:border-box;width:100%;padding:18px max(24px,calc((100vw - 1160px)/2));background:#fffaf5;color:#493c42;border-bottom:1px solid #e4cbd5;font:14px/1.7 system-ui,sans-serif}
.analytics-panel h2{margin:0 0 9px;font-size:20px;line-height:1.4;color:#743d55}.analytics-panel p{margin:8px 0}.analytics-panel details{margin-top:12px;font-size:13px}.analytics-panel summary{min-height:44px;align-content:center;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.analytics-panel a{color:#743d55}
.analytics-actions{display:flex;gap:12px;margin-top:16px;max-width:420px}.analytics-actions button{flex:1;min-height:44px;padding:10px;border:1px solid #934665;border-radius:12px;background:#fffaf5;color:#743d55;font:inherit;font-weight:650;cursor:pointer}.analytics-actions button:hover{background:#f4e3ea}.analytics-actions button:disabled{opacity:.5;cursor:not-allowed}
.analytics-actions button:focus-visible,.analytics-preferences-button:focus-visible,.analytics-panel summary:focus-visible{outline:3px solid #bd668a;outline-offset:3px}.analytics-preferences-button{display:block;margin:16px auto;padding:8px 14px;min-height:44px;border:1px solid currentColor;border-radius:20px;background:transparent;color:inherit;font:inherit;font-size:13px;cursor:pointer}.analytics-status{font-size:13px;color:#743d55}
@media(max-width:480px){.analytics-panel{padding:16px}}
/* 2026-11-26: panel sits at the end of <body> (after the main content), shown as a bottom sheet */.analytics-panel{position:fixed;left:0;right:0;bottom:0;z-index:1000;max-height:85vh;overflow:auto;border-bottom:0;border-top:1px solid #e4cbd5;box-shadow:0 -10px 28px rgba(73,60,66,.14)}.analytics-panel .analytics-more{font-size:13px}.analytics-panel .analytics-more a{display:inline-flex;align-items:center;min-height:44px}
