/* Great Vibes 400 cyrillic-ext */
@font-face {
  font-family: 'HubGrav Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/great-vibes-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Great Vibes 400 cyrillic */
@font-face {
  font-family: 'HubGrav Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/great-vibes-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Great Vibes 400 latin-ext */
@font-face {
  font-family: 'HubGrav Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/great-vibes-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Great Vibes 400 latin */
@font-face {
  font-family: 'HubGrav Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/great-vibes-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Lobster 400 cyrillic-ext */
@font-face {
  font-family: 'HubGrav Lobster';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/lobster-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Lobster 400 cyrillic */
@font-face {
  font-family: 'HubGrav Lobster';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/lobster-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Lobster 400 latin-ext */
@font-face {
  font-family: 'HubGrav Lobster';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/lobster-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Lobster 400 latin */
@font-face {
  font-family: 'HubGrav Lobster';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/lobster-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Caveat 600 cyrillic-ext */
@font-face {
  font-family: 'HubGrav Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/caveat-600-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Caveat 600 cyrillic */
@font-face {
  font-family: 'HubGrav Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/caveat-600-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Caveat 600 latin-ext */
@font-face {
  font-family: 'HubGrav Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/caveat-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Caveat 600 latin */
@font-face {
  font-family: 'HubGrav Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/caveat-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* EB Garamond 500 cyrillic-ext */
@font-face {
  font-family: 'HubGrav EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/eb-garamond-500-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* EB Garamond 500 cyrillic */
@font-face {
  font-family: 'HubGrav EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/eb-garamond-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* EB Garamond 500 greek */
@font-face {
  font-family: 'HubGrav EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/eb-garamond-500-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* EB Garamond 500 latin-ext */
@font-face {
  font-family: 'HubGrav EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/eb-garamond-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* EB Garamond 500 latin */
@font-face {
  font-family: 'HubGrav EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/eb-garamond-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Montserrat 600 cyrillic-ext */
@font-face {
  font-family: 'HubGrav Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/montserrat-600-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Montserrat 600 cyrillic */
@font-face {
  font-family: 'HubGrav Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/montserrat-600-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Montserrat 600 latin-ext */
@font-face {
  font-family: 'HubGrav Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/montserrat-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Montserrat 600 latin */
@font-face {
  font-family: 'HubGrav Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/montserrat-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Comfortaa 600 cyrillic-ext */
@font-face {
  font-family: 'HubGrav Comfortaa';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/comfortaa-600-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Comfortaa 600 cyrillic */
@font-face {
  font-family: 'HubGrav Comfortaa';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/comfortaa-600-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Comfortaa 600 greek */
@font-face {
  font-family: 'HubGrav Comfortaa';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/comfortaa-600-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* Comfortaa 600 latin-ext */
@font-face {
  font-family: 'HubGrav Comfortaa';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/comfortaa-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Comfortaa 600 latin */
@font-face {
  font-family: 'HubGrav Comfortaa';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/comfortaa-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* The sibling rule hides only the native options beside this initialized editor. */
.hub-grav ~ .hub-grav-native { display: none !important; }
.hub-grav { --hg-accent: #2f96c9; color: inherit; font: inherit; line-height: 1.5; min-width: 0; max-width: 100%; margin: 0 0 24px; text-align: left; }
.hub-grav *, .hub-grav *::before, .hub-grav *::after { box-sizing: border-box; }
.hub-grav [hidden] { display: none !important; }
.hub-grav button, .hub-grav input { font-family: inherit; font-style: normal; text-transform: none; letter-spacing: normal; }
.hub-grav button { -webkit-appearance: none; appearance: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin: 0; border: 1px solid #dcdcdc; border-radius: 8px; padding: 10px 12px; color: inherit; background: #fff; cursor: pointer; line-height: 1.4; font-size: 13px; font-weight: 400; text-align: center; box-shadow: none; white-space: normal; overflow-wrap: break-word; }
.hub-grav button:hover { border-color: var(--hg-accent); }
.hub-grav button:focus, .hub-grav input:focus { outline: 2px solid var(--hg-accent); outline-offset: 3px; }
.hub-grav button:focus:not(:focus-visible) { outline: none; }
.hub-grav button:focus-visible, .hub-grav input:focus-visible { outline: 2px solid var(--hg-accent); outline-offset: 3px; }
.hub-grav .hub-grav-toggle { display: flex; width: 100%; gap: 0; padding: 3px; border: 1px solid #dcdcdc; border-radius: 8px; background: #f6f7f8; }
.hub-grav .hub-grav-segment { flex: 1 1 0; gap: 5px; min-width: 0; padding: 9px 6px; border-color: transparent; background: transparent; font-weight: 600; flex-wrap: wrap; }
.hub-grav .hub-grav-segment[aria-pressed="true"] { border-color: var(--hg-accent); background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.hub-grav .hub-grav-segment[aria-pressed="true"]::before { content: "✓"; color: var(--hg-accent); }
.hub-grav .hub-grav-price { display: inline-block; padding: 2px 6px; border-radius: 4px; background: #f0f2f4; color: inherit; white-space: nowrap; font-size: 11px; font-weight: 600; }
.hub-grav .hub-grav-editor { padding-top: 22px; animation: hub-grav-reveal .18s ease-out; }
.hub-grav .hub-grav-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.hub-grav .hub-grav-label { display: block; margin: 0 0 9px; font-size: 14px; font-weight: 600; line-height: 1.5; }
.hub-grav .hub-grav-counter { flex-shrink: 0; opacity: .65; font-size: 12px; font-variant-numeric: tabular-nums; }
.hub-grav .hub-grav-counter.hub-grav-limit { opacity: 1; color: var(--hg-accent); font-weight: 600; }
.hub-grav .hub-grav-input { -webkit-appearance: none; appearance: none; display: block; width: 100%; min-width: 0; min-height: 48px; height: auto; padding: 12px 13px; border: 1px solid #dcdcdc; border-radius: 8px; color: inherit; background: #fff; font-size: 16px; line-height: 1.4; box-shadow: none; }
.hub-grav .hub-grav-input::placeholder { color: #7b7e82; opacity: 1; font-size: 14px; }
.hub-grav .hub-grav-input[aria-invalid="true"] { border-color: #a5332d; }
.hub-grav .hub-grav-section { margin-top: 22px; }
.hub-grav .hub-grav-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.hub-grav .hub-grav-chip { max-width: 100%; min-height: 44px; padding: 8px 11px; background: #fafafa; font-size: 12px; }
.hub-grav .hub-grav-chip[aria-pressed="true"] { border-color: var(--hg-accent); background: #fff; color: var(--hg-accent); }
.hub-grav .hub-grav-fonts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.hub-grav .hub-grav-font { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 7px; width: 100%; min-width: 0; min-height: 106px; padding: 12px 10px 10px; overflow: hidden; }
.hub-grav .hub-grav-font[aria-checked="true"] { border-color: var(--hg-accent); box-shadow: inset 0 0 0 1px var(--hg-accent); background: #fafcfd; }
.hub-grav .hub-grav-font-sample { display: block; width: 100%; min-width: 0; height: 40px; padding: 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 26px; line-height: 40px; font-kerning: normal; }
.hub-grav .hub-grav-font-label { display: block; color: inherit; opacity: .7; font-size: 11px; font-weight: 400; line-height: 1.4; }
.hub-grav .hub-grav-check { position: absolute; display: none; top: 3px; right: 7px; font-size: 12px; font-weight: 600; color: var(--hg-accent); }
.hub-grav .hub-grav-font[aria-checked="true"] .hub-grav-check { display: block; }
.hub-grav .hub-grav-font:disabled { cursor: not-allowed; border-color: #e3e3e3; background: #f5f5f5; box-shadow: none; }
.hub-grav .hub-grav-font:disabled .hub-grav-font-sample { opacity: .35; }
.hub-grav .hub-grav-font-warning { display: block; font-size: 10px; color: #6d7278; line-height: 1.4; }
.hub-grav .hub-grav-preview { width: 100%; min-width: 0; overflow: hidden; border: 1px solid #e4e5e6; border-radius: 8px; background: #f6f7f8; padding: 12px 6px; }
.hub-grav .hub-grav-preview svg { display: block; width: 100%; height: auto; overflow: hidden; }
.hub-grav .hub-grav-preview text { white-space: pre; font-kerning: normal; paint-order: stroke fill; }
.hub-grav .hub-grav-caption { margin: 9px 0 0; font-size: 11px; opacity: .7; line-height: 1.6; overflow-wrap: break-word; }
.hub-grav .hub-grav-note { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid #e8e8e8; font-size: 11px; opacity: .7; line-height: 1.7; }
.hub-grav .hub-grav-error { margin: 7px 0 0; color: #a5332d; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-wrap; }
.hub-grav .hub-grav-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (min-width: 480px) { .hub-grav .hub-grav-fonts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hub-grav.hub-grav-narrow .hub-grav-fonts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@keyframes hub-grav-reveal { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .hub-grav .hub-grav-editor { animation: none; } }
