/* HW Accessibility: reading preferences. */
.hw-prefs { position: fixed; left: 16px; bottom: 16px; z-index: 9990; font-family: var(--wp--preset--font-family--body, system-ui, sans-serif); }
.hw-prefs-toggle { width: 44px; height: 44px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--wp--preset--color--ink, #222) 18%, transparent); background: var(--wp--preset--color--surface, #fff); color: var(--wp--preset--color--ink, #222); font-family: var(--wp--preset--font-family--heading, Georgia, serif); font-size: 17px; font-weight: 600; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.hw-prefs-toggle:hover { background: var(--wp--preset--color--alt, #f3f0ea); }
.hw-prefs-toggle:focus-visible { outline: 3px solid var(--wp--preset--color--accent-strong, #444); outline-offset: 2px; }
.hw-prefs-panel { position: absolute; left: 0; bottom: 54px; width: 250px; background: var(--wp--preset--color--surface, #fff); color: var(--wp--preset--color--ink, #222); border: 1px solid color-mix(in srgb, var(--wp--preset--color--ink, #222) 15%, transparent); border-radius: 14px; padding: 14px 16px; box-shadow: 0 12px 32px rgba(0,0,0,.18); display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.hw-prefs-panel[hidden] { display: none; }
.hw-prefs-title { margin: 0; font-weight: 700; }
.hw-prefs-panel fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.hw-prefs-panel legend { font-size: 13px; color: var(--wp--preset--color--muted, #666); padding: 0; margin-bottom: 4px; }
.hw-prefs-panel label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.hw-prefs-panel input { accent-color: var(--wp--preset--color--accent-strong, #444); width: 18px; height: 18px; margin: 0; }
.hw-prefs-reset { align-self: flex-start; font: inherit; font-size: 14px; background: none; border: 0; padding: 0; color: var(--wp--preset--color--accent-strong, #444); text-decoration: underline; cursor: pointer; }
@media print { .hw-prefs { display: none; } }

/* The preferences themselves. */
html.hw-pref-size-lg { font-size: 112.5%; }
html.hw-pref-size-xl { font-size: 125%; }
html.hw-pref-size-lg body, html.hw-pref-size-xl body { font-size: inherit; }
html.hw-pref-links a:not(.wp-element-button):not(.wp-block-button__link) { text-decoration: underline !important; text-underline-offset: 3px; }
html.hw-pref-spacing body { line-height: 1.9 !important; letter-spacing: 0.01em; }
html.hw-pref-spacing p, html.hw-pref-spacing li { line-height: 1.9 !important; }
html.hw-pref-contrast {
	--wp--preset--color--body: var(--wp--preset--color--ink);
	--wp--preset--color--muted: var(--wp--preset--color--ink);
}
html.hw-pref-contrast body { color: var(--wp--preset--color--ink); }
html.hw-pref-contrast .is-style-card, html.hw-pref-contrast .wp-block-details, html.hw-pref-contrast input, html.hw-pref-contrast textarea, html.hw-pref-contrast select { border-color: var(--wp--preset--color--ink) !important; }
html.hw-pref-contrast a:not(.wp-element-button):not(.wp-block-button__link) { text-decoration: underline !important; }
