.eg-heading-color-editable{position:relative;padding-right:48px}.eg-article-header h1.eg-heading-color-editable{padding-right:48px}.eg-article-header .eg-heading-color-trigger{position:absolute;right:0;top:0;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--muted);opacity:0;pointer-events:none}@media(hover:none){.eg-article-header .eg-heading-color-trigger{opacity:1;pointer-events:auto}}.eg-article-header .eg-heading-color-trigger[aria-expanded=true],.eg-article-header h1:focus-within>.eg-heading-color-trigger,.eg-article-header h1:hover>.eg-heading-color-trigger{opacity:1;pointer-events:auto}@media(max-width:767px){.eg-article-header .eg-heading-color-trigger{opacity:1;pointer-events:auto}}.eg-article-header h1[data-auto-title]{color:var(--eg-auto-title-main)!important}.eg-article-header h1[data-auto-title] .eg-article-title-prefix{color:inherit}.eg-article-header h1[data-auto-title] .eg-article-title-name{color:var(--eg-auto-title-accent)!important}.eg-article-header h1[data-auto-title] .eg-auto-title-fragment{color:var(--eg-auto-fragment)!important}html.eg-theme-transition .eg-article-header h1[data-auto-title],html.eg-theme-transition .eg-article-header h1[data-auto-title] :is(.eg-article-title-prefix,.eg-article-title-name,.eg-auto-title-fragment){transition:none!important}.eg-prose .eg-heading-color-trigger{position:absolute;right:0;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--muted);opacity:0;pointer-events:none;transition:opacity .12s}.eg-heading-color-trigger svg{width:22px;height:22px;fill:currentColor;stroke:none}.eg-heading-color-editable:focus-within>.eg-heading-color-trigger,.eg-heading-color-editable:hover>.eg-heading-color-trigger,.eg-heading-color-trigger[aria-expanded=true]{opacity:1;pointer-events:auto}.eg-prose .eg-heading-color-trigger:hover{border-color:var(--theme-accent,var(--brand-red));color:var(--theme-accent,var(--brand-red))}@media(hover:none){.eg-prose .eg-heading-color-trigger{opacity:1;pointer-events:auto}}#eg-heading-color-menu{position:fixed;z-index:100050;padding:4px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);box-shadow:0 8px 24px #0002}#eg-heading-color-menu[hidden]{display:none}#eg-heading-color-menu button{display:block;width:100%;min-height:44px;padding:8px 12px;background:0 0;color:var(--ink);border:0;border-radius:4px;text-align:left;font:500 14px/1.4 var(--font-body)}#eg-heading-color-menu button:hover{background:var(--theme-raised,#f5f7fa);color:var(--theme-accent,var(--brand-red))}#eg-title-colors-dialog{width:min(680px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);overflow:auto;font:400 14px/1.5 var(--font-body)}#eg-title-colors-dialog::backdrop{background:rgb(9 14 19 / .65)}.eg-title-colors-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.eg-title-colors-heading h2{margin:0;font-size:20px;line-height:1.3}#eg-title-colors-dialog button{min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:6px;background:var(--theme-raised,var(--surface));color:var(--ink);font:600 13px/1.4 var(--font-body)}.eg-title-colors-heading button{flex:0 0 44px;width:44px;font-size:22px!important}#eg-title-colors-dialog button:hover{border-color:var(--theme-accent,var(--brand-red))}#eg-heading-color-menu button:focus-visible,#eg-title-colors-dialog :is(button,input):focus-visible,.eg-heading-color-trigger:focus-visible{outline:2px solid var(--theme-accent,var(--brand-red));outline-offset:3px}#eg-title-colors-dialog button:disabled{opacity:.55;cursor:wait}#eg-title-colors-help{margin:12px 0;color:var(--muted)}.eg-title-colors-themes{display:flex;gap:8px}#eg-title-colors-dialog [aria-pressed=true]{border-color:var(--theme-accent,var(--brand-red));color:var(--theme-accent,var(--brand-red))}.eg-title-colors-preview{margin:16px 0;padding:16px;background:var(--theme-page,#f5f7fa);border:1px solid var(--line);border-radius:8px;font:800 24px/1.25 var(--font-heading);overflow-wrap:anywhere}.eg-title-colors-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.eg-title-colors-fields fieldset{min-width:0;margin:0;padding:12px;border:1px solid var(--line);border-radius:8px}.eg-title-colors-fields legend{padding:0 6px;font-weight:700}.eg-title-color-field+.eg-title-color-field{margin-top:16px}.eg-title-color-inputs{display:flex;align-items:center;gap:8px;margin:6px 0}#eg-title-colors-dialog input[type=color]{width:52px;height:44px;flex:0 0 52px;padding:4px}#eg-title-colors-dialog input[type=text]{min-width:0;width:100%;min-height:44px;padding:8px 12px;font:400 14px/1.4 var(--font-body)}#eg-title-colors-dialog input:is([type=color],[type=text]){border:1px solid var(--line);border-radius:6px;background:var(--theme-page,var(--surface));color:var(--ink)}#eg-title-colors-dialog input:disabled{opacity:.5}.eg-title-color-default{display:flex;align-items:center;gap:8px;min-height:44px;font-size:12px;color:var(--muted)}.eg-title-color-default input{width:18px;height:18px;margin:0;accent-color:var(--brand-red)}.eg-title-colors-actions{display:flex;flex-wrap:wrap;gap:8px}#eg-title-colors-dialog button[type=submit]{background:var(--brand-red);border-color:var(--brand-red);color:#fff}[data-title-colors-status]{min-height:21px;margin:12px 0;color:var(--muted)}@media(max-width:600px){#eg-title-colors-dialog{padding:16px}.eg-title-colors-fields{grid-template-columns:1fr;gap:12px}.eg-title-colors-actions button{width:100%}.eg-title-colors-themes button{flex:1}.eg-title-colors-preview{font-size:22px}}
