#analytics-preferences { margin: 1rem auto; max-inline-size: 44rem; inline-size: calc(100% - 2rem); }
#analytics-preferences [hidden] { display: none !important; }
#analytics-preferences .sha-panel { margin-block-start: .5rem; border: 1px solid #76877e; border-radius: .35rem; padding: 1rem; color: #192d2a; background: #f7f3e9; }
#analytics-preferences .sha-panel h2 { font: 700 1.1rem/1.3 system-ui, sans-serif; margin: 0 0 .45rem; }
#analytics-preferences .sha-panel p { font: 1rem/1.5 system-ui, sans-serif; margin: 0; }
#analytics-preferences .sha-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-block-start: .8rem; }
#analytics-preferences button { font: inherit; min-block-size: 2.75rem; cursor: pointer; }
#analytics-preferences .sha-actions button { color: #192d2a; background: #fff; border: 1px solid #415851; border-radius: .24rem; padding: .4rem .65rem; }
#analytics-preferences .sha-trigger { color: inherit; background: transparent; padding: .35rem .3rem; border: 1px solid currentColor; border-radius: .24rem; }
#analytics-preferences button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
#analytics-preferences button:disabled { opacity: .6; cursor: not-allowed; }
#analytics-preferences .sha-status { font: .875rem/1.45 system-ui, sans-serif; margin: .35rem 0 0; }
#analytics-preferences:empty, #analytics-preferences .sha-status:empty { display: none; }
#analytics-preferences .sha-panel a { color: #192d2a; text-decoration: underline; }
