/* Skileo Help Center — the app's tokens (src/app/theme/palettes.ts): primary #5a5aff, the surface greys, Montserrat
   for titles (600, page and section titles alike) and controls, Inter for reading text (served from assets/fonts), radii as the app (md 6 px rows, 8 px tiles, lg 10 px cards, xl 12 px popovers), pill buttons; the dark scheme is the app's surfaceDark. */

/* Fonts, served from assets/fonts and split by script: a page downloads only the scripts it shows, every language
   is covered. Inter 4.1 (SIL OFL, inter-LICENSE.txt) for reading text: the release's full files split with all their
   OpenType features, Regular, SemiBold for bold, Italic; "other" holds the rest of the release (Vietnamese, symbols).
   Montserrat (SIL OFL, montserrat-LICENSE.txt) for titles and controls: Google Fonts' variable files, 400 to 700; it
   has no Greek. The version is in the file names (a year's cache). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-4.1-regular-latin.woff2') format('woff2');
  unicode-range:
    U+0000, U+0020-007E, U+00A0-00AC, U+00AE-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+2000-200B, U+2010-2027, U+202F-2055, U+2057, U+205F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+FEFF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-4.1-regular-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-0148, U+014A-01C3, U+01C5-0254, U+0256-027B, U+027E-0284, U+0286-0290, U+0292-02A4, U+02A6-02BA, U+02BD-02C5,
    U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+1D00, U+1D0D, U+1D1B, U+1D43, U+1D47-1D49, U+1D4D,
    U+1D4F-1D50, U+1D52, U+1D56-1D58, U+1D5B, U+1D62-1D65, U+1D9C, U+1DA0, U+1DBB, U+1DBF, U+1E00-1E9B, U+1E9D-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20AF, U+20B1-20B5, U+20B8-20BA, U+20BC-20C0, U+2113, U+2C7C, U+2C7F, U+A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-4.1-regular-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-0479, U+0480-049D, U+04A0-04FF, U+052F, U+20B4, U+2116, U+2DFF, U+A69F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-4.1-regular-greek.woff2') format('woff2');
  unicode-range:
    U+0374-0376, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03D7, U+03DC-03DD, U+03F0-03F6, U+03F9-03FA,
    U+03FC-03FF, U+1F00-1F15, U+1F18-1F1D, U+1F20-1F45, U+1F48-1F4D, U+1F50-1F57, U+1F59, U+1F5B, U+1F5D, U+1F5F-1F7D,
    U+1F80-1FB4, U+1FB6-1FC4, U+1FC6-1FD3, U+1FD6-1FDB, U+1FDD-1FEF, U+1FF2-1FF4, U+1FF6-1FFE;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-4.1-regular-other.woff2') format('woff2');
  unicode-range:
    U+02CD, U+02D8-02D9, U+02DB, U+0300, U+0302-0303, U+0306-0307, U+0309-030A, U+030C, U+030F, U+0313, U+0315, U+031B,
    U+0323, U+0326-0328, U+032C, U+0337-0338, U+0342-0343, U+0346-036F, U+0E3F, U+1DC0-1DF5, U+1DFC-1DFF, U+1EA0-1EF1,
    U+2070-2071, U+2074-208E, U+2090-209C, U+20DB-20DE, U+20E8, U+20F0, U+2100-2101, U+2103, U+2105-2106, U+2109,
    U+2117, U+211E-2121, U+2126, U+212A-212B, U+212E, U+2132, U+213B, U+214D, U+2150-217F, U+2183-2186, U+2189, U+2190,
    U+2192, U+2194-2199, U+21A9-21AA, U+21B0-21B1, U+21B3-21B5, U+21BA-21BB, U+21D0, U+21D2, U+21D4, U+21DE-21DF,
    U+21E4-21E5, U+21E7, U+21EA, U+2202, U+2205-2206, U+220F, U+2211, U+221A, U+221E, U+222B, U+2236, U+2248, U+2260,
    U+2264-2265, U+2295-2298, U+2303-2305, U+2318, U+2325-2327, U+232B, U+2380, U+2387, U+238B, U+23CE-23CF, U+2423,
    U+2460-2468, U+24B6-24CF, U+24EA, U+25A0-25A2, U+25AA, U+25B2-25B3, U+25B6-25B7, U+25BA-25BD, U+25C0-25C1,
    U+25C4-25C7, U+25CA-25CB, U+25CF, U+25E6, U+25EF, U+2600, U+2605-2606, U+263C, U+2661, U+2665, U+266A-266B, U+26A0,
    U+2713, U+2717, U+2756, U+2764, U+2780-2788, U+27EF, U+27F5-27FA, U+2913, U+2A38, U+2B06, U+2B12-2B13, U+2B1C,
    U+2B24, U+2E18, U+A92E, U+E000, U+E002-E05E, U+E06A-E0BD, U+E0C8-E0CC, U+E0DC-E0E6, U+E0F3-E0F5, U+E106,
    U+E109-E10A, U+E10C-E10F, U+E111-E113, U+E117-E118, U+E121-E122, U+E124, U+E12A-E15E, U+E163, U+E1C3, U+E1D2-E1DF,
    U+E1E1-E2DC, U+EE01-EE07, U+EE09-EE0A, U+EE0C-EE12, U+EE14, U+EE17, U+EE1D-EE45, U+EE47-EE84, U+EE87-EED6,
    U+EED8-EEE1, U+F6C3, U+1F12F-1F149, U+1F16A-1F16B, U+1F850, U+1F852;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-4.1-semibold-latin.woff2') format('woff2');
  unicode-range:
    U+0000, U+0020-007E, U+00A0-00AC, U+00AE-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+2000-200B, U+2010-2027, U+202F-2055, U+2057, U+205F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+FEFF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-4.1-semibold-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-0148, U+014A-01C3, U+01C5-0254, U+0256-027B, U+027E-0284, U+0286-0290, U+0292-02A4, U+02A6-02BA, U+02BD-02C5,
    U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+1D00, U+1D0D, U+1D1B, U+1D43, U+1D47-1D49, U+1D4D,
    U+1D4F-1D50, U+1D52, U+1D56-1D58, U+1D5B, U+1D62-1D65, U+1D9C, U+1DA0, U+1DBB, U+1DBF, U+1E00-1E9B, U+1E9D-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20AF, U+20B1-20B5, U+20B8-20BA, U+20BC-20C0, U+2113, U+2C7C, U+2C7F, U+A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-4.1-semibold-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-0479, U+0480-049D, U+04A0-04FF, U+052F, U+20B4, U+2116, U+2DFF, U+A69F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-4.1-semibold-greek.woff2') format('woff2');
  unicode-range:
    U+0374-0376, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03D7, U+03DC-03DD, U+03F0-03F6, U+03F9-03FA,
    U+03FC-03FF, U+1F00-1F15, U+1F18-1F1D, U+1F20-1F45, U+1F48-1F4D, U+1F50-1F57, U+1F59, U+1F5B, U+1F5D, U+1F5F-1F7D,
    U+1F80-1FB4, U+1FB6-1FC4, U+1FC6-1FD3, U+1FD6-1FDB, U+1FDD-1FEF, U+1FF2-1FF4, U+1FF6-1FFE;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-4.1-semibold-other.woff2') format('woff2');
  unicode-range:
    U+02CD, U+02D8-02D9, U+02DB, U+0300, U+0302-0303, U+0306-0307, U+0309-030A, U+030C, U+030F, U+0313, U+0315, U+031B,
    U+0323, U+0326-0328, U+032C, U+0337-0338, U+0342-0343, U+0346-036F, U+0E3F, U+1DC0-1DF5, U+1DFC-1DFF, U+1EA0-1EF1,
    U+2070-2071, U+2074-208E, U+2090-209C, U+20DB-20DE, U+20E8, U+20F0, U+2100-2101, U+2103, U+2105-2106, U+2109,
    U+2117, U+211E-2121, U+2126, U+212A-212B, U+212E, U+2132, U+213B, U+214D, U+2150-217F, U+2183-2186, U+2189, U+2190,
    U+2192, U+2194-2199, U+21A9-21AA, U+21B0-21B1, U+21B3-21B5, U+21BA-21BB, U+21D0, U+21D2, U+21D4, U+21DE-21DF,
    U+21E4-21E5, U+21E7, U+21EA, U+2202, U+2205-2206, U+220F, U+2211, U+221A, U+221E, U+222B, U+2236, U+2248, U+2260,
    U+2264-2265, U+2295-2298, U+2303-2305, U+2318, U+2325-2327, U+232B, U+2380, U+2387, U+238B, U+23CE-23CF, U+2423,
    U+2460-2468, U+24B6-24CF, U+24EA, U+25A0-25A2, U+25AA, U+25B2-25B3, U+25B6-25B7, U+25BA-25BD, U+25C0-25C1,
    U+25C4-25C7, U+25CA-25CB, U+25CF, U+25E6, U+25EF, U+2600, U+2605-2606, U+263C, U+2661, U+2665, U+266A-266B, U+26A0,
    U+2713, U+2717, U+2756, U+2764, U+2780-2788, U+27EF, U+27F5-27FA, U+2913, U+2A38, U+2B06, U+2B12-2B13, U+2B1C,
    U+2B24, U+2E18, U+A92E, U+E000, U+E002-E05E, U+E06A-E0BD, U+E0C8-E0CC, U+E0DC-E0E6, U+E0F3-E0F5, U+E106,
    U+E109-E10A, U+E10C-E10F, U+E111-E113, U+E117-E118, U+E121-E122, U+E124, U+E12A-E15E, U+E163, U+E1C3, U+E1D2-E1DF,
    U+E1E1-E2DC, U+EE01-EE07, U+EE09-EE0A, U+EE0C-EE12, U+EE14, U+EE17, U+EE1D-EE45, U+EE47-EE84, U+EE87-EED6,
    U+EED8-EEE1, U+F6C3, U+1F12F-1F149, U+1F16A-1F16B, U+1F850, U+1F852;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-4.1-italic-latin.woff2') format('woff2');
  unicode-range:
    U+0000, U+0020-007E, U+00A0-00AC, U+00AE-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+2000-200B, U+2010-2027, U+202F-2055, U+2057, U+205F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+FEFF;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-4.1-italic-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-0148, U+014A-01C3, U+01C5-0254, U+0256-027B, U+027E-0284, U+0286-0290, U+0292-02A4, U+02A6-02BA, U+02BD-02C5,
    U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+1D00, U+1D0D, U+1D1B, U+1D43, U+1D47-1D49, U+1D4D,
    U+1D4F-1D50, U+1D52, U+1D56-1D58, U+1D5B, U+1D62-1D65, U+1D9C, U+1DA0, U+1DBB, U+1DBF, U+1E00-1E9B, U+1E9D-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20AF, U+20B1-20B5, U+20B8-20BA, U+20BC-20C0, U+2113, U+2C7C, U+2C7F, U+A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-4.1-italic-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-0479, U+0480-049D, U+04A0-04FF, U+052F, U+20B4, U+2116, U+2DFF, U+A69F;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-4.1-italic-greek.woff2') format('woff2');
  unicode-range:
    U+0374-0376, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03D7, U+03DC-03DD, U+03F0-03F6, U+03F9-03FA,
    U+03FC-03FF, U+1F00-1F15, U+1F18-1F1D, U+1F20-1F45, U+1F48-1F4D, U+1F50-1F57, U+1F59, U+1F5B, U+1F5D, U+1F5F-1F7D,
    U+1F80-1FB4, U+1FB6-1FC4, U+1FC6-1FD3, U+1FD6-1FDB, U+1FDD-1FEF, U+1FF2-1FF4, U+1FF6-1FFE;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-4.1-italic-other.woff2') format('woff2');
  unicode-range:
    U+02CD, U+02D8-02D9, U+02DB, U+0300, U+0302-0303, U+0306-0307, U+0309-030A, U+030C, U+030F, U+0313, U+0315, U+031B,
    U+0323, U+0326-0328, U+032C, U+0337-0338, U+0342-0343, U+0346-036F, U+0E3F, U+1DC0-1DF5, U+1DFC-1DFF, U+1EA0-1EF1,
    U+2070-2071, U+2074-208E, U+2090-209C, U+20DB-20DE, U+20E8, U+20F0, U+2100-2101, U+2103, U+2105-2106, U+2109,
    U+2117, U+211E-2121, U+2126, U+212A-212B, U+212E, U+2132, U+213B, U+214D, U+2150-217F, U+2183-2186, U+2189, U+2190,
    U+2192, U+2194-2199, U+21A9-21AA, U+21B0-21B1, U+21B3-21B5, U+21BA-21BB, U+21D0, U+21D2, U+21D4, U+21DE-21DF,
    U+21E4-21E5, U+21E7, U+21EA, U+2202, U+2205-2206, U+220F, U+2211, U+221A, U+221E, U+222B, U+2236, U+2248, U+2260,
    U+2264-2265, U+2295-2298, U+2303-2305, U+2318, U+2325-2327, U+232B, U+2380, U+2387, U+238B, U+23CE-23CF, U+2423,
    U+2460-2468, U+24B6-24CF, U+24EA, U+25A0-25A2, U+25AA, U+25B2-25B3, U+25B6-25B7, U+25BA-25BD, U+25C0-25C1,
    U+25C4-25C7, U+25CA-25CB, U+25CF, U+25E6, U+25EF, U+2600, U+2605-2606, U+263C, U+2661, U+2665, U+266A-266B, U+26A0,
    U+2713, U+2717, U+2756, U+2764, U+2780-2788, U+27EF, U+27F5-27FA, U+2913, U+2A38, U+2B06, U+2B12-2B13, U+2B1C,
    U+2B24, U+2E18, U+A92E, U+E000, U+E002-E05E, U+E06A-E0BD, U+E0C8-E0CC, U+E0DC-E0E6, U+E0F3-E0F5, U+E106,
    U+E109-E10A, U+E10C-E10F, U+E111-E113, U+E117-E118, U+E121-E122, U+E124, U+E12A-E15E, U+E163, U+E1C3, U+E1D2-E1DF,
    U+E1E1-E2DC, U+EE01-EE07, U+EE09-EE0A, U+EE0C-EE12, U+EE14, U+EE17, U+EE1D-EE45, U+EE47-EE84, U+EE87-EED6,
    U+EED8-EEE1, U+F6C3, U+1F12F-1F149, U+1F16A-1F16B, U+1F850, U+1F852;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/montserrat-v31-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/montserrat-v31-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/montserrat-v31-vietnamese.woff2') format('woff2');
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309,
    U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/montserrat-v31-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;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/montserrat-v31-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;
}

:root {
  /* Montserrat has no Greek: Greek letters in titles and controls come from Inter. */
  --font-ui: 'Montserrat', 'Inter', Helvetica, Arial, sans-serif;
  --font-text: 'Inter', Helvetica, Arial, sans-serif;
  --page: #f8f8f8;
  --card: #ffffff;
  /* Text darker than the app's (#4b4b4b, #5e5873, #6e6b7b) for long reading in Source Sans, on white: headings and
     bold 12.9:1, article text 9.5:1, secondary text 6.5:1 (5.8:1 on the grey chips). */
  --ink: #332f45;
  --body: #47425c;
  --muted: #5f5c6d;
  --line: #ebe9f1;
  --line-strong: #d8d6de;
  --fill: #f3f2f7;
  --tint: #f7f7ff;
  --primary: #5a5aff;
  --primary-hover: #4c4cd9;
  --link: #4c4cd9;
  --link-hover: #3f3fb2;
  --accent-ink: #5a5aff;
  --on-bg: #efefff;
  --on-ink: #3f3fb2;
  --tip-bg: #f7f7ff;
  --tip-ink: #32328c;
  --warn-bg: #fffaf6;
  --warn-ink: #66401b;
  --warn-icon: #b26f2f;
  --switch: #eeecf3;
  --switch-hover: #e4e2ea;
  --knob: #ffffff;
  --switch-off: #b9b9c3;
  --shadow: 0 6px 20px rgba(34, 41, 47, 0.07);
  --dot: #d8d6de;
  --way-tile: rgba(90, 90, 255, 0.14);
  --pop-shadow: 0 16px 48px rgba(34, 41, 47, 0.14);
  color-scheme: light;
}

[data-theme='dark'] {
  --page: #12151f;
  --card: #1e2235;
  --ink: #f1f2f8;
  --body: #c0c4d4;
  --muted: #a0a5b8;
  --line: #2a2f45;
  --line-strong: #394060;
  --fill: #272c45;
  --tint: #171b2c;
  --link: #9999ff;
  --link-hover: #b8b8ff;
  --accent-ink: #9999ff;
  --on-bg: #272c5c;
  --on-ink: #d7d7ff;
  --tip-bg: #1f2342;
  --tip-ink: #d7d7ff;
  --warn-bg: #2b2218;
  --warn-ink: #ffd6ae;
  --warn-icon: #ffb167;
  --switch: #171b29;
  --switch-hover: #20243a;
  --knob: #2a2f45;
  --switch-off: #6b7088;
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  --dot: #2a2f45;
  --way-tile: rgba(90, 90, 255, 0.22);
  --pop-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--body);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link);
  text-decoration: none;
}
a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.25;
}
/* Page titles at 600 too, as on www.skileo.com (owner's choice 2026-11-05). */

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
}
.skip:focus {
  top: 12px;
}
.ico {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 13px;
}
.label {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Buttons: pills, as in the app. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 10rem;
  background: none;
  color: var(--body);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}
.btn:hover {
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
}
.btn-ghost {
  background: var(--card);
  border-color: var(--line-strong);
}
.btn-ghost:hover,
.btn-plain:hover {
  background: var(--fill);
  color: var(--ink);
}
.btn-plain {
  padding: 0 12px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--body);
}
a.card:hover {
  border-color: #b8b8ff;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--body);
}
[data-theme='dark'] a.card:hover {
  border-color: var(--primary);
}
.mark {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.mark-neutral {
  background: var(--fill);
  color: var(--body);
}
/* A software's two-letter mark ("Ac"), white on its colour, as in the app's switcher. */
.mark-code {
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}

/* Header */
.top {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: flex;
  flex: none;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  white-space: nowrap;
}
.brand:hover {
  text-decoration: none;
  color: var(--ink);
}
/* The wordmark's lowercase letters sit low in its box (k and l rise, nothing descends): lifted so their centre
   meets the centre of "Help Center". */
.logo {
  display: block;
  height: 22px;
  width: auto;
  transform: translateY(-2.5px);
}
.logo-dark,
[data-theme='dark'] .logo-light {
  display: none;
}
[data-theme='dark'] .logo-dark {
  display: block;
}
.brand-sep {
  width: 1px;
  height: 22px;
  background: var(--line-strong);
}
.brand-name {
  font-weight: 600;
}
/* One row above phone width, whatever the language: the button says one word ("Support", "Поддръжка"), the search
   gives way first, then (below 900 px) the button, which the pages offer again ("Still stuck?", the contact block). */
.top-search {
  flex: 0 1 420px;
  min-width: 0;
}
.top-nav {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
}
.top-signin {
  white-space: nowrap;
}
/* Phones: the language button keeps its globe (the name stays for screen readers) so "Sign in" fits in every language. */
@media (max-width: 480px) {
  .lang-menu summary span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}
@media (max-width: 360px) {
  .top-nav {
    gap: 4px;
  }
  .top-signin {
    padding: 0 12px;
    font-size: 13px;
  }
}
@media (min-width: 761px) {
  .top-row {
    flex-wrap: nowrap;
  }
}
/* From 761 px the header stays on screen and, once the page scrolls (help.js sets .float), becomes a floating pill
   around the same content, as on www.skileo.com (site.css .top.float) and like the app's floating sidebar. It keeps
   its 69 px, so nothing below it moves; on wide screens the pill reaches 8 px past the frame and the logo stays in
   place. Phones keep the bar as it was: there it takes two rows, which a pill does not suit. */
@media (min-width: 761px) {
  html {
    scroll-padding-top: 69px;
  }
  .top {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flow-root;
    transition:
      background-color 0.25s ease,
      border-color 0.25s ease;
  }
  .top-row {
    transition:
      min-height 0.25s ease,
      margin 0.25s ease,
      padding 0.25s ease,
      max-width 0.25s ease,
      background-color 0.25s ease,
      box-shadow 0.25s ease;
  }
  .top.float {
    background-color: transparent;
    border-bottom-color: transparent;
  }
  .top.float .top-row {
    min-height: 56px;
    margin-top: 6px;
    margin-bottom: 6px;
    max-width: 1296px;
    padding: 0 8px 0 40px;
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-radius: 10rem;
    box-shadow:
      inset 0 0 0 1px var(--line),
      0 8px 28px rgba(34, 41, 47, 0.1),
      0 1px 3px rgba(34, 41, 47, 0.05);
  }
  [data-theme='dark'] .top.float .top-row {
    background-color: rgba(30, 34, 53, 0.94);
    box-shadow:
      inset 0 0 0 1px var(--line),
      0 8px 28px rgba(0, 0, 0, 0.35);
  }
  :root {
    --sticky-top: 93px; /* the "On this page" column stays clear of the header */
  }
}
@media (min-width: 761px) and (max-width: 1328px) {
  .top.float .top-row {
    max-width: calc(100% - 32px);
    padding-left: 24px;
  }
}

/* Theme switch: the app's ThemeSwitch.vue. */
.tsw {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  width: 74px;
  height: 40px;
  padding: 3px;
  border: 0;
  border-radius: 20px;
  background: var(--switch);
  cursor: pointer;
  transition: background 0.2s ease;
}
.tsw:hover {
  background: var(--switch-hover);
}
.tsw .k {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--knob);
  box-shadow: 0 2px 6px rgba(34, 41, 47, 0.18);
  transform: translateX(34px);
  transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.tsw .c {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--switch-off);
  transition: color 0.3s ease;
}
.tsw .c svg {
  transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.tsw .c.l {
  color: var(--ink);
}
.tsw .c.d svg {
  transform: rotate(-30deg) scale(0.9);
}
[data-theme='dark'] .tsw .k {
  transform: translateX(0);
}
[data-theme='dark'] .tsw .c.d {
  color: var(--ink);
}
[data-theme='dark'] .tsw .c.d svg {
  transform: none;
}
[data-theme='dark'] .tsw .c.l {
  color: var(--switch-off);
}
[data-theme='dark'] .tsw .c.l svg {
  transform: rotate(60deg) scale(0.9);
}

/* Language menu */
.lang-menu {
  position: relative;
}
.lang-menu summary::-webkit-details-marker {
  display: none;
}
.lang-pop {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  width: 260px;
  max-height: 420px;
  overflow: auto;
  padding: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(34, 41, 47, 0.14);
}
.lang-pop ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.lang-pop a {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
}
.lang-pop a:hover {
  background: var(--fill);
  text-decoration: none;
}
.lang-pop a[aria-current] {
  background: var(--on-bg);
  color: var(--on-ink);
}
.lang-note {
  color: var(--muted);
  font-weight: 500;
  font-size: 12px;
}

/* Search */
.search {
  position: relative;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10rem;
  background: var(--fill);
  color: var(--muted);
}
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}
.search kbd {
  padding: 0 7px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--card);
  color: var(--muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}
.search-field:focus-within {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}
.search-hero .search-field {
  height: 58px;
  padding: 0 10px 0 22px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  box-shadow: 0 8px 28px rgba(90, 90, 255, 0.1);
}
.search-hero input {
  font-size: 16px;
}
.search-list,
.search-empty {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(34, 41, 47, 0.14);
  text-align: left;
}
.search-empty {
  padding: 14px;
  color: var(--muted);
  font-size: 14px;
}
.search-list a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink);
}
.search-list a:hover,
.search-list a[aria-selected='true'] {
  background: var(--fill);
  text-decoration: none;
}
.search-list strong {
  font-weight: 600;
}
.search-list span {
  color: var(--muted);
  font-size: 13px;
}

/* Home */
.hero {
  background: var(--tint);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-top: 72px;
  padding-bottom: 64px;
  text-align: center;
}
.hero h1 {
  margin: 0;
  font-size: 40px;
  letter-spacing: -0.01em;
}
.hero-sub {
  margin: 0;
  font-family: var(--font-text);
  font-size: 16px;
  color: var(--muted);
}
.hero .search {
  width: 100%;
  max-width: 680px;
  margin-top: 8px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  max-width: 760px;
  font-size: 13px;
  font-weight: 500;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 10rem;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--body);
}
.chip:hover {
  border-color: #b8b8ff;
  color: var(--link);
  text-decoration: none;
}
.home {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding-top: 56px;
  padding-bottom: 72px;
}
.home h2 {
  margin: 0 0 20px;
  font-size: 22px;
}
.grid {
  display: grid;
  gap: 16px;
}
.home .group-hint {
  margin: -14px 0 20px;
}
/* Software page: its sections, then the common ones. */
.sec {
  margin-bottom: 28px;
}
.sec-title {
  margin: 0 0 12px;
  font-size: 20px;
}
.common h3.sec-title {
  font-size: 17px;
}
.sec-title a {
  color: var(--ink);
}
.common > h2 {
  margin: 12px 0 4px;
  font-size: 22px;
}
.common > p {
  margin: 0 0 20px;
}
.grid-software {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.grid-workspace {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.cat-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
}
.cat-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
}
.cat-row > span:last-child {
  display: flex;
  flex-direction: column;
}
.cat-title {
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
}
.cat-text {
  flex: 1;
  font-size: 13.5px;
  line-height: 1.5;
}
.cat-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--link);
  font-size: 13px;
  font-weight: 600;
}
.recent {
  padding: 24px;
}
.recent h2 {
  margin-bottom: 12px;
  font-size: 18px;
}
.recent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 4px 16px;
}
.row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 500;
}
.row:hover {
  background: var(--fill);
  text-decoration: none;
  color: var(--ink);
}
.row .muted {
  font-size: 13px;
  font-weight: 400;
}
.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
}
.contact-text {
  display: flex;
  flex: 1 1 380px;
  align-items: center;
  gap: 18px;
}
.contact-text .mark {
  border-radius: 8px;
  background: var(--tint);
  color: var(--accent-ink);
}
.contact h2 {
  margin: 0;
  font-size: 20px;
}
.contact p {
  margin: 2px 0 0;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Category and article pages: menu + content, the menu stacks away on a phone. */
.page {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px;
  padding-top: 32px;
  padding-bottom: 80px;
}
.side {
  flex: 1 1 220px;
  max-width: 250px;
}
.side .label {
  padding: 0 10px 8px;
}
.side .label:not(:first-child) {
  padding-top: 20px;
}
.side ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.side a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--body);
  font-size: 14px;
  font-weight: 500;
}
.side a:hover {
  background: var(--fill);
  color: var(--ink);
  text-decoration: none;
}
.side a.open {
  color: var(--ink);
  font-weight: 600;
}
.side a.on {
  background: var(--on-bg);
  color: var(--on-ink);
  font-weight: 600;
}
.side-sub {
  margin: 2px 0 6px !important;
}
.side-sub a {
  min-height: 32px;
  /* Under the software's name: past its 22 px square and the 10 px gap. */
  padding: 5px 10px 5px 42px;
  font-size: 13.5px;
  line-height: 1.4;
}
.page-main {
  flex: 999 1 560px;
  min-width: 0;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 500;
}
.crumbs li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.crumbs a {
  color: var(--muted);
}
.crumbs [aria-current] {
  color: var(--ink);
}
.cat-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.cat-head-title {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cat-head h1 {
  margin: 0;
  font-size: 34px;
}
.cat-head p {
  margin: 0;
}
.lead {
  margin: 0 0 24px;
  max-width: 68ch;
  color: var(--body);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.65;
}
.list {
  overflow: hidden;
}
.art {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.art:first-child {
  border-top: 0;
}
.art:hover {
  background: var(--fill);
  text-decoration: none;
  color: var(--muted);
}
.art-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}
.art-title {
  color: var(--ink);
  font-weight: 600;
}
.art:hover .art-title {
  color: var(--link);
}
.art-sub {
  font-family: var(--font-text);
  font-size: 14px;
  line-height: 1.5;
}

/* Article */
.article-main {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}
.article {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 760px;
}
.article h1 {
  margin: 0 0 12px;
  font-size: 36px;
  letter-spacing: -0.01em;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 8px;
  padding: 4px 0;
}
.fact {
  display: flex;
  flex: 1 1 150px;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 12px 18px;
  border-left: 1px solid var(--line);
}
.fact:first-child {
  border-left: 0;
}
.fact dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.prose {
  color: var(--body);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.7;
}
/* Headings, step numbers and the app's labels keep the app's font. */
.prose h2,
.prose h3,
.prose ol.steps > li::before,
.ui {
  font-family: var(--font-ui);
}
.prose h2 {
  margin: 44px 0 12px;
  font-size: 22px;
  scroll-margin-top: 24px;
}
.prose h3 {
  margin: 28px 0 8px;
  font-size: 18.5px;
}
.prose p {
  margin: 0 0 16px;
}
.prose ul {
  margin: 0 0 16px;
  padding-left: 22px;
}
.prose li {
  margin: 4px 0;
}
.prose strong {
  color: var(--ink);
}
.prose ol.steps {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.prose ol.steps > li {
  position: relative;
  margin: 0 0 14px;
  padding-left: 42px;
  counter-increment: step;
}
.prose ol.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--on-bg);
  color: var(--on-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.ui {
  padding: 1px 7px;
  border-radius: 6px;
  background: var(--fill);
  color: var(--ink);
  font-size: 0.86em;
  font-weight: 600;
  white-space: nowrap;
}
.note {
  margin: 8px 0 20px;
  padding: 16px 18px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.6;
}
.note::before {
  content: attr(data-label);
  display: block;
  margin-bottom: 2px;
  font-weight: 700;
}
.note p:last-child {
  margin-bottom: 0;
}
.note-tip,
.note-note {
  background: var(--tip-bg);
  color: var(--tip-ink);
}
.note-warning {
  background: var(--warn-bg);
  color: var(--warn-ink);
}
.note strong,
.note .ui {
  color: inherit;
}
.faq-list {
  margin-bottom: 8px;
}
.faq {
  border-top: 1px solid var(--line);
}
.faq:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 4px;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .chev {
  color: var(--muted);
  transition: transform 0.2s ease;
}
.faq[open] summary .chev {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 4px 6px;
  font-family: var(--font-text);
  font-size: 15px;
}
.next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding: 20px 24px;
}
.next > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.next-title {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}
.next .ico {
  color: var(--accent-ink);
}
.toc-col {
  position: sticky;
  top: var(--sticky-top, 24px);
  display: flex;
  flex: 0 0 220px;
  flex-direction: column;
  gap: 28px;
  padding-top: 34px;
}
.toc {
  display: flex;
  flex-direction: column;
}
.toc .label {
  margin-bottom: 10px;
}
.toc a {
  display: block;
  padding: 5px 0 5px 14px;
  border-left: 2px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
}
.toc a:hover {
  border-left-color: #b8b8ff;
  color: var(--ink);
  text-decoration: none;
}
.toc a.on {
  border-left-color: var(--primary);
  color: var(--on-ink);
  font-weight: 600;
}
.related {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
}
.stuck {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}
.stuck p {
  margin: 0;
  font-family: var(--font-text);
  font-size: 14px;
  line-height: 1.5;
}
.stuck .stuck-title {
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
}
.stuck .btn {
  justify-content: center;
}
.copy {
  align-self: flex-start;
  padding: 0;
  min-height: 32px;
  color: var(--muted);
  font-size: 13px;
}
.copy:hover {
  background: none;
}

/* Not found: the app 404's design codes (src/modules/shell/views/Error404View.vue): "404" with the wordmark's "o" as
   the zero, the dot grid, the address chip, the "Or try one of these" cards. Search stays the main action. */
.notfound {
  position: relative;
  overflow: hidden;
}
.nf-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 22%, #000 0%, transparent 75%);
}
.nf-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 16px 56px;
  text-align: center;
}
.nf-code {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.03em;
  color: var(--ink);
  font-size: 88px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
/* The "o" sits on the baseline at the digits' cap height, as in the app. */
.nf-ring {
  display: block;
  width: 0.73em;
  height: 0.72em;
  margin: 0 0.02em 0.13em;
  fill: var(--primary);
}
.notfound h1 {
  margin: 24px 0 0;
  font-size: 30px;
}
.nf-text {
  max-width: 520px;
  margin: 12px 0 0;
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.65;
}
.nf-url {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin: 18px 0 0;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 10rem;
  background: var(--card);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}
.nf-url [data-missed] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.notfound .search {
  width: 100%;
  margin-top: 32px;
}
.nf-closest {
  width: 100%;
  margin-top: 14px;
  overflow: hidden;
  text-align: left;
}
.nf-closest h2,
.nf-ways h2 {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nf-closest h2 {
  padding: 12px 16px 6px;
  color: var(--muted);
}
.nf-closest .art {
  padding: 12px 16px;
}
.nf-closest .art:first-of-type {
  border-top: 0;
}
.nf-closest mark {
  background: none;
  color: var(--ink);
  font-weight: 700;
}
.nf-ways {
  width: 100%;
  margin-top: 44px;
}
.nf-ways h2 {
  margin-bottom: 14px;
  color: var(--body);
}
.nf-ways-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.way {
  display: flex;
  align-items: center;
  flex: 1 1 200px;
  gap: 14px;
  max-width: 260px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--body);
  text-align: left;
  transition: border-color 0.15s;
}
.way:hover {
  border-color: #9999ff;
  color: var(--body);
  text-decoration: none;
}
.way-icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--way-tile);
  color: var(--accent-ink);
}
.way-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  font-size: 13px;
}
.way-title {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.foot {
  background: var(--card);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.foot .wrap {
  padding-top: 20px;
  padding-bottom: 20px;
}
/* "© <year> skileo · One tool. Many talents. · <EU flag> Made across Europe." — the brand lower case, in the ink. */
.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 5px;
}
.foot-brand {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.foot-brand:hover {
  text-decoration: underline;
}
/* The footer's "Cookies": opens the cookie banner again. */
.foot-link {
  border: 0;
  background: none;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.foot-link:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* The cookie banner (the public site's: a card at the bottom left, Reject and Accept side by side, same weight). */
.cc {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 60;
  width: 340px;
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(2, 2, 3, 0.2);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.cc[hidden] {
  display: none;
}
.cc-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}
.cc-text {
  margin: 0 0 14px;
  font-family: var(--font-text);
  font-size: 14px;
}
.cc-text a {
  color: inherit;
  text-decoration: underline;
}
.cc-actions {
  display: flex;
  gap: 8px;
}
.cc-actions .btn {
  flex: 1 1 0;
  justify-content: center;
}

.foot-eu {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.foot-eu img {
  display: block;
  flex: none;
}

@media (max-width: 1100px) {
  .toc-col {
    display: none;
  }
}
@media (max-width: 760px) {
  .wrap {
    padding: 0 16px;
  }
  .hide-sm {
    display: none !important;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero-inner {
    padding-top: 48px;
    padding-bottom: 40px;
  }
  .page {
    gap: 24px;
    padding-top: 20px;
  }
  .article h1,
  .cat-head h1 {
    font-size: 28px;
  }
  .fact {
    flex-basis: 45%;
    border-left: 0;
  }
  .search-hero .btn {
    display: none;
  }
}
/* Article tools: Print and "Ask AI" on the breadcrumb's line (help.js). */
.art-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.art-top .crumbs ol {
  margin: 0;
}
.tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10rem;
  background: var(--card);
  color: var(--body);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.tool:hover {
  background: var(--fill);
  color: var(--ink);
}
.tool-icon {
  width: 36px;
  padding: 0;
}
.tool-ai[aria-expanded='true'] {
  background: var(--fill);
  color: var(--ink);
}
.ai {
  position: relative;
}
.ai-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  width: 264px;
  padding: 6px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--pop-shadow);
}
.ai-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.ai-item:hover,
.ai-item:focus-visible {
  background: var(--fill);
  color: var(--ink);
  text-decoration: none;
}
.ai-item .ico {
  color: var(--muted);
}
.ai-item .ext {
  margin-left: auto;
}
.ai-sep {
  height: 1px;
  margin: 6px 4px;
  background: var(--line);
}
.ai-label {
  margin: 0;
  padding: 6px 10px 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Print: the article alone, light, its questions open (help.js opens them before printing). */
@media print {
  :root,
  [data-theme='dark'] {
    --page: #fff;
    --card: #fff;
    --ink: #22292f;
    --body: #4b4b4b;
    --muted: #5f5c6d;
    --line: #d8d6de;
    --fill: #f3f2f7;
    color-scheme: light;
  }
  .skip,
  .top,
  .side,
  .tools,
  .toc-col,
  .next,
  .foot,
  .cc,
  .faq summary .chev {
    display: none !important;
  }
  .page {
    display: block;
    padding: 0;
  }
  .article {
    max-width: none;
  }
  .note,
  .faq {
    break-inside: avoid;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tsw .k,
  .tsw .c,
  .tsw .c svg,
  .faq summary .chev {
    transition: none;
  }
}
