/* Shared footer links only; each tool keeps its own working surface. */
.tools-nav{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;width:100%;margin-top:8px;padding-top:14px;border-top:1px solid currentColor;font-size:.8125rem;line-height:1.5}
.tools-nav>span{font-weight:650}.tools-nav a{color:inherit;text-underline-offset:3px;padding:5px 0;min-height:32px;display:inline-flex;align-items:center}.tools-nav a:focus-visible{outline:3px solid currentColor;outline-offset:4px;border-radius:2px}
/* Analytics choice is secondary and never blocks the tool. */
.tool-stats{padding:16px;margin:8px 0 20px;border:1px solid currentColor;border-radius:14px;font-size:.875rem}.tool-stats strong{font-size:.875rem}.tool-stats p{font-size:.8125rem;line-height:1.65;margin:6px 0}.tool-stats-actions{display:flex;gap:8px;margin-top:12px}.tool-stats-actions button{flex:1;min-height:44px;font:inherit;border:1px solid currentColor;border-radius:10px;background:transparent;color:inherit;cursor:pointer}.tool-stats-actions button:focus-visible{outline:3px solid currentColor;outline-offset:3px}
/* Shared compact controls and non-modal overlays. */
.theme-switch{margin-left:auto;display:inline-flex;gap:3px;padding:3px;border:1px solid #d8dfeb;border-radius:12px;background:#e9eef7;max-width:100%}.theme-switch button{font:inherit;font-size:.75rem;line-height:1;min-height:36px;min-width:48px;padding:8px 10px;border:0;border-radius:9px;background:transparent;color:#536078;cursor:pointer;white-space:nowrap}.theme-switch button[aria-checked="true"]{background:#fff;color:#1937b2;box-shadow:0 1px 4px #14254418;font-weight:700}.theme-switch button:focus-visible{outline:3px solid #2447e8;outline-offset:2px}.footer-settings{display:flex;flex-wrap:wrap;gap:4px 20px;width:100%}.footer-link{padding:6px 0;min-height:36px;background:none;border:0;border-radius:2px;color:inherit;font:inherit;font-size:.75rem;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.consent-panel{position:fixed;z-index:50;inset:auto 20px 20px auto;width:min(360px,calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:auto;padding:18px;background:#fff;color:#18233b;border:1px solid #d5ddea;border-radius:16px;box-shadow:0 14px 54px #1728432b;box-sizing:border-box}.consent-panel[hidden]{display:none!important}.popover-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.popover-heading h2{font-size:.9375rem;margin:0;letter-spacing:-.02em}.popover-close{background:transparent;color:inherit;border:0;border-radius:8px;padding:0;min-width:36px;min-height:36px;font:inherit;font-size:1.5rem;line-height:1;cursor:pointer}.consent-panel p{font-size:.8125rem;line-height:1.65;margin:10px 0}.consent-choice:empty{display:none}.consent-choice{color:#5f6d83}.consent-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0 4px}.consent-actions button{min-height:44px;border:1px solid #bac7dd;border-radius:10px;background:#eef2fa;color:#27395f;font:inherit;font-size:.875rem;font-weight:650;cursor:pointer}.consent-panel button:focus-visible,.consent-panel a:focus-visible{outline:3px solid #2447e8;outline-offset:3px}.privacy-panel{width:min(440px,calc(100vw - 32px))}.privacy-copy p{font-size:.75rem}.privacy-copy a{color:inherit}.consent-panel .footer-link{margin-top:6px}html[data-theme="dark"] .theme-switch{background:#1d2636;border-color:#3c4960}html[data-theme="dark"] .theme-switch button{color:#b5c0d3}html[data-theme="dark"] .theme-switch button[aria-checked="true"]{background:#344360;color:#e7efff}html[data-theme="dark"] .consent-panel{background:#191f2c;color:#e7edf8;border-color:#46546d;box-shadow:0 14px 54px #0008}html[data-theme="dark"] .consent-actions button{background:#293651;color:#e3ebff;border-color:#657594}html[data-theme="dark"] .consent-choice{color:#b5c0d3}html[data-theme="dark"] .theme-switch button:focus-visible,html[data-theme="dark"] .consent-panel button:focus-visible,html[data-theme="dark"] .consent-panel a:focus-visible{outline-color:#abc0ff}@media(max-width:420px){.consent-panel{right:16px;bottom:16px}.theme-switch{gap:2px}.theme-switch button{padding:8px;min-width:44px}}
