/* olivo — самодостатній: локальні шрифти + інлайн база (origin) + скін. Без зовнішніх залежностей. */

/* ===== LOCAL FONTS ===== */
/* vietnamese */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGHInHEVA.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;
}
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGGInHEVA.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGIInE.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;
}
/* vietnamese */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGHInHEVA.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;
}
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGGInHEVA.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGIInE.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;
}
/* vietnamese */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGHInHEVA.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;
}
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGGInHEVA.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/3y9K6as8bTXq_nANBjzKo3IeZx8z6up5BeSl9D4dj_x9PpZBMlGIInE.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.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;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.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;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.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;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.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;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.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;
}


/* ===== BASE (origin, інлайн) ===== */

:root {
  --primary:#6366f1; --primary-h:#4f46e5; --on-primary:#fff; --text:#111827; --text-2:#6b7280;
  --bg:#f9fafb; --bg-card:#fff; --bg-soft:#f3f4f6; --border:#e5e7eb; --header-bg:#fff;
  --danger:#ef4444; --danger-bg:rgba(239,68,68,.1); --danger-bd:rgba(239,68,68,.45);
  --success:#10b981; --success-bg:rgba(16,185,129,.13);
  --track:#d1d5db; --knob:#fff; --overlay:rgba(15,23,42,.5);
  --shadow:0 1px 4px rgba(0,0,0,.07); --shadow-lg:0 12px 40px rgba(15,23,42,.18); --radius:12px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --primary:#818cf8; --primary-h:#a5b4fc; --text:#f1f5f9; --text-2:#94a3b8;
    --bg:#0f172a; --bg-card:#1e293b; --bg-soft:#273449; --border:#334155; --header-bg:#1e293b;
    --track:#475569; --overlay:rgba(0,0,0,.62);
    --shadow:0 1px 4px rgba(0,0,0,.25); --shadow-lg:0 12px 40px rgba(0,0,0,.5);
  }
}
[data-theme="dark"] {
  --primary:#818cf8; --primary-h:#a5b4fc; --text:#f1f5f9; --text-2:#94a3b8;
  --bg:#0f172a; --bg-card:#1e293b; --bg-soft:#273449; --border:#334155; --header-bg:#1e293b;
  --track:#475569; --overlay:rgba(0,0,0,.62);
  --shadow:0 1px 4px rgba(0,0,0,.25); --shadow-lg:0 12px 40px rgba(0,0,0,.5);
}
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
body { font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif; background:var(--bg); color:var(--text); line-height:1.25; min-height:100vh; display:flex; flex-direction:column; }
main { flex:1; }
a { color:var(--primary); text-decoration:none; transition:color .15s; }
a:hover { color:var(--primary-h); }
img { max-width:100%; display:block; }
.container { max-width:1200px; margin:0 auto; padding:0 40px; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:10px 22px; border-radius:8px; font-size:14px; font-weight:600; cursor:pointer; border:none; transition:.2s; }
.btn-primary { background:var(--primary); color:var(--on-primary); box-shadow:0 2px 10px rgba(0,0,0,.12); }
.btn-primary:hover { background:var(--primary-h); color:var(--on-primary); transform:translateY(-1px); }
.btn-outline { background:transparent; color:var(--text); border:1px solid var(--border); }
.btn-outline:hover { background:var(--bg-card); }
.card { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:28px; box-shadow:var(--shadow); }
h1 { font-size:clamp(1.75rem,4vw,2.75rem); font-weight:800; letter-spacing:-.03em; line-height:1.15; }
h2 { font-size:clamp(1.35rem,3vw,2rem); font-weight:700; letter-spacing:-.02em; }
h3 { font-size:1.15rem; font-weight:600; }
p:not([class]) { color:var(--text-2); }


.site-header { background:var(--header-bg); border-bottom:1px solid var(--border); position:sticky; top:0; z-index:100; box-shadow:var(--shadow); }
.site-header .container { display:flex; align-items:center; gap:18px; height:64px; }
.site-logo { font-size:17px; font-weight:800; color:var(--text); white-space:nowrap; flex-shrink:0; display:inline-flex; align-items:center; }
.site-logo-img { height:38px; width:auto; max-width:200px; display:block; object-fit:contain; }
.site-nav { flex:1; display:flex; align-items:center; gap:4px; }
.site-nav a { padding:7px 13px; border-radius:8px; font-size:14px; font-weight:500; color:var(--text-2); transition:.15s; }
.site-nav a:hover { background:var(--bg-soft); color:var(--text); }
.site-nav-actions { margin-left:auto; display:flex; align-items:center; gap:10px; }
.site-actions, .site-header-right { flex-shrink:0; display:flex; align-items:center; gap:8px; margin-left:auto; }
.site-user { font-size:13px; font-weight:600; color:var(--primary); padding:7px 10px; }
.site-logout { font-size:13px; color:var(--text-2); }
.site-logout:hover { color:var(--text); }
.nav-toggle { width:42px; height:42px; padding:0; border:none; background:transparent; cursor:pointer; flex-direction:column; align-items:center; justify-content:center; gap:5px; border-radius:9px; flex-shrink:0; }
.nav-toggle:hover { background:var(--bg-soft); }
.nav-toggle span { display:block; width:22px; height:2px; background:var(--text); border-radius:2px; transition:transform .26s ease, opacity .2s ease; }
.site-header.nav-open .nav-toggle span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity:0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
.nav-overlay { display:none; }
.site-account { position:relative; }
.site-account-btn { display:inline-flex; align-items:center; gap:7px; background:transparent; border:1px solid var(--border); border-radius:9px; padding:7px 12px; font-size:14px; font-weight:600; color:var(--text); cursor:pointer; transition:.15s; }
.site-account-btn:hover { background:var(--bg-soft); }
.site-account-btn .fa-chevron-down { font-size:11px; color:var(--text-2); transition:transform .2s; }
.site-account.is-open .site-account-btn .fa-chevron-down { transform:rotate(180deg); }
.site-account-menu { position:absolute; top:calc(100% + 8px); right:0; min-width:190px; background:var(--bg-card); border:1px solid var(--border); border-radius:12px; box-shadow:var(--shadow-lg); padding:6px; opacity:0; visibility:hidden; transform:translateY(-6px); transition:opacity .18s, transform .18s, visibility .18s; z-index:200; }
.site-account.is-open .site-account-menu { opacity:1; visibility:visible; transform:translateY(0); }
.site-account-menu a { display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:8px; font-size:14px; color:var(--text); }
.site-account-menu a:hover { background:var(--bg-soft); }
.site-account-menu a i { width:16px; text-align:center; color:var(--text-2); }
.site-account-logout { color:var(--danger); }
.site-account-logout i { color:var(--danger); }
.site-nav-head { display:none; }
.site-nav-close { width:40px; height:40px; border:none; background:transparent; color:var(--text-2); font-size:20px; cursor:pointer; border-radius:9px; display:flex; align-items:center; justify-content:center; }
.site-nav-close:hover { background:var(--bg-soft); color:var(--text); }


.site-footer { background:var(--header-bg); border-top:1px solid var(--border); padding:30px 0 0; margin-top:auto; }
.site-footer .container { display:flex; flex-direction:column; align-items:stretch; gap:18px; }
.site-footer-copy { font-size:14px; color:var(--text-2); }
.site-footer nav { display:flex; flex-wrap:wrap; gap:10px 20px; }
.site-footer nav a { font-size:13px; color:var(--text-2); }
.site-footer nav a:hover { color:var(--text); }


.hero { padding:80px 20px; text-align:center; }
.hero-inner { max-width:640px; margin:0 auto; }
.hero h1 { margin-bottom:16px; }
.hero-accent { color:var(--primary); }
.hero p { font-size:1.1rem; margin-bottom:36px; max-width:480px; margin-left:auto; margin-right:auto; }
.hero-actions { display:flex; gap:12px; flex-wrap:wrap; justify-content:center; }
.features { padding:0 20px 80px; }
.features-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:20px; }
.feature-ico { font-size:28px; margin-bottom:12px; }
.card h3 { margin-bottom:8px; }
.card > p { font-size:14px; }


.page { max-width:1200px; margin:0 auto; padding:60px 40px; }
.page h1 { margin-bottom:16px; }
.page h2 { margin:28px 0 12px; }
.page p { margin-bottom:14px; }
.page ul { margin:0 0 14px 22px; color:var(--text-2); }
.page .lead { font-size:1.05rem; margin-bottom:28px; }
.page .updated { font-size:13px; color:var(--text-2); margin-bottom:24px; }


.blog { max-width:1200px; margin:0 auto; padding:60px 40px; }
.blog-title { margin-bottom:8px; }
.blog-sub { font-size:15px; color:var(--text-2); margin-bottom:40px; }
.blog-back { font-size:13px; color:var(--text-2); display:inline-block; margin-bottom:24px; text-decoration:none; }
.blog-back:hover { color:var(--primary); }
.blog-list { display:flex; flex-direction:column; gap:12px; }
.blog-item { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px 22px; background:var(--bg-card); border:1px solid var(--border); border-radius:12px; }
.blog-item-title { font-size:15px; font-weight:600; margin:0; }
.blog-item-title a { color:var(--text); text-decoration:none; }
.blog-item-title a:hover { color:var(--primary); }
.blog-item-date { font-size:12px; color:var(--text-2); white-space:nowrap; flex-shrink:0; }

.blog-cats { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:28px; }
.blog-cat { display:inline-flex; align-items:center; padding:6px 14px; border:1px solid var(--border); border-radius:20px; font-size:13px; font-weight:500; color:var(--text-2); background:var(--bg-card); transition:.15s; }
.blog-cat:hover { color:var(--primary); border-color:var(--primary); }


.post { max-width:1200px; margin:0 auto; padding:60px 40px; }
.post-body { max-width:820px; }
.post-title { margin-bottom:12px; }
.post-meta { font-size:13px; color:var(--text-2); margin-bottom:32px; padding-bottom:24px; border-bottom:1px solid var(--border); }
.post-body { line-height:1.8; }
.post-body p { margin-bottom:16px; }
.post-body img { max-width:100%; height:auto; border-radius:10px; }


.contact-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:16px; margin-top:24px; }
.contact-ico { font-size:22px; color:var(--primary); margin-bottom:10px; }
.contact-item h3 { font-size:14px; margin-bottom:4px; }
.contact-item p { font-size:14px; margin:0; line-height:1.5; }
.contact-item a { color:inherit; text-decoration:none; }
.contact-item a:hover { color:var(--primary); }


.err { padding:80px 20px; text-align:center; }
.err-code { font-size:clamp(5rem,15vw,8rem); font-weight:900; color:var(--primary); line-height:1; margin-bottom:16px; }
.err h1 { margin-bottom:12px; }
.err p { margin-bottom:36px; max-width:420px; margin-left:auto; margin-right:auto; }


/* Turnstile = фіксований iframe 300px. Внутрішня ширина картки має дорівнювати 300,
   щоб поля й капча збігалися: 300 + padding(60) + border(2) + .auth-padding(40) = 402. */
.auth { max-width:402px; margin:60px auto; padding:0 20px; }
.auth-card { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow); padding:30px; text-align:center; }
.auth-field, .auth .btn, .auth-alt, .auth-sep, .cf-turnstile, .auth-terms, .auth-secure { max-width:300px; margin-left:auto; margin-right:auto; }
.auth-card h1 { font-size:1.5rem; margin-bottom:10px; }
.auth-sub { font-size:14px; color:var(--text-2); margin-bottom:20px; }
.auth-label { display:block; text-align:left; font-size:13px; color:var(--text-2); margin-bottom:10px; }
.auth-field { display:block; width:100%; height:46px; padding:0 15px; margin-bottom:15px; border:1px solid var(--border); border-radius:8px; background:var(--bg); color:var(--text); font-size:15px; outline:none; box-sizing:border-box; }
.auth-field:focus { border-color:var(--primary); }

.auth-field-phone, .auth-field-lock, .auth-field-tg, .auth-field-mail {
  padding-left:41px; background-repeat:no-repeat; background-position:12px center; background-size:18px 18px;
}
.auth-field-phone { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C%2Fpath%3E%3C%2Fsvg%3E"); }
.auth-field-lock { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'%3E%3C%2Frect%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'%3E%3C%2Fpath%3E%3C%2Fsvg%3E"); }
.auth-field-tg { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='22' y1='2' x2='11' y2='13'%3E%3C%2Fline%3E%3Cpolygon points='22 2 15 22 11 13 2 9 22 2'%3E%3C%2Fpolygon%3E%3C%2Fsvg%3E"); }
.auth-field-mail { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'%3E%3C%2Frect%3E%3Cpath d='M2 7l10 6 10-6'%3E%3C%2Fpath%3E%3C%2Fsvg%3E"); }
.auth .btn { width:100%; height:46px; }
.auth-sep { display:flex; align-items:center; gap:10px; margin:20px 0; color:var(--text-2); font-size:12px; }
.auth-sep::before, .auth-sep::after { content:''; flex:1; height:1px; background:var(--border); }
.cf-turnstile { display:flex; justify-content:center; margin-bottom:15px; min-height:65px; }
.auth-alt { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; padding:0 15px; height:46px; border-radius:8px; font-size:14px; font-weight:600; border:1px solid var(--border); color:var(--text); margin-bottom:10px; }
.auth-alt:hover { background:var(--bg); }
.auth-alt img, .auth-alt svg { width:18px; height:18px; flex-shrink:0; }
.auth-terms { margin-top:18px; padding-top:16px; border-top:1px solid var(--border); font-size:11px; line-height:1.5; color:var(--text-2); text-align:center; }
.auth-terms a { color:var(--primary); text-decoration:none; }
.auth-terms a:hover { text-decoration:underline; }
.auth-secure { display:flex; align-items:center; justify-content:center; gap:7px; margin-top:12px; font-size:12px; color:var(--text-2); }
.auth-secure i { color:var(--success, #16a34a); }
.psk-notify { padding:10px 15px; border-radius:8px; margin-bottom:15px; font-size:14px; text-align:center; }
.psk-notify--error { background:var(--danger-bg); color:var(--danger); }
.psk-notify--success { background:var(--success-bg); color:var(--success); }


.psk-profile { max-width:860px; margin:40px auto; padding:0 16px; }
.psk-card { background:var(--bg-card); border-radius:14px; border:1px solid var(--border); box-shadow:var(--shadow); padding:28px 32px; margin-bottom:20px; }
.psk-card-title { font-size:15px; font-weight:700; color:var(--text); margin:0 0 20px; padding-bottom:14px; border-bottom:1px solid var(--border); display:flex; align-items:center; gap:8px; }
.psk-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media(max-width:600px){ .psk-row { grid-template-columns:1fr; } }
.psk-field { display:flex; flex-direction:column; gap:5px; }
.psk-label { font-size:12px; font-weight:600; color:var(--text-2); text-transform:uppercase; letter-spacing:.4px; }
.psk-input { padding:10px 14px; border:1px solid var(--border); border-radius:8px; font-size:14px; line-height:1.5; color:var(--text); background:var(--bg-card); outline:none; transition:border-color .15s; width:100%; box-sizing:border-box; }
.psk-input:focus { border-color:var(--primary); }
.psk-input[readonly] { background:var(--bg); color:var(--text-2); cursor:not-allowed; }
.psk-avatar-wrap { display:flex; align-items:center; gap:20px; margin-bottom:20px; }
.psk-avatar-img { width:80px; height:80px; border-radius:50%; object-fit:cover; border:2px solid var(--border); flex-shrink:0; }
.psk-avatar-btns { display:flex; flex-direction:column; align-items:stretch; gap:8px; min-width:0; }
.psk-avatar-btns .psk-btn { white-space:nowrap; text-align:center; }
@media (max-width:600px) { .psk-avatar-wrap { gap:14px; } .psk-avatar-btns { flex:1; } }
.psk-btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:9px 18px; border-radius:8px; font-size:13px; font-weight:600; cursor:pointer; border:none; transition:.15s; text-decoration:none; }
.psk-btn-primary { background:var(--primary); color:var(--on-primary); }
.psk-btn-primary:hover { background:var(--primary-h); }
.psk-btn-outline { background:transparent; border:1px solid var(--border); color:var(--text); }
.psk-btn-outline:hover { background:var(--bg); }
.psk-btn-danger { background:transparent; border:1px solid var(--danger-bd); color:var(--danger); }
.psk-btn-danger:hover { background:var(--danger-bg); }
.psk-toggle-row { display:flex; align-items:center; justify-content:space-between; padding:12px 0; border-bottom:1px solid var(--border); }
.psk-toggle-row:last-child { border-bottom:none; }
.psk-toggle-info { display:flex; flex-direction:column; gap:2px; }
.psk-toggle-label { font-size:14px; font-weight:500; color:var(--text); }
.psk-toggle-desc { font-size:12px; color:var(--text-2); }
.psk-switch { position:relative; display:inline-block; width:40px; height:22px; flex-shrink:0; }
.psk-switch input { opacity:0; width:0; height:0; }
.psk-slider { position:absolute; inset:0; background:var(--track); border-radius:22px; transition:.2s; cursor:pointer; }
.psk-slider:before { content:''; position:absolute; width:16px; height:16px; left:3px; top:3px; background:var(--knob); border-radius:50%; transition:.2s; }
.psk-switch input:checked + .psk-slider { background:var(--primary); }
.psk-switch input:checked + .psk-slider:before { transform:translateX(18px); }
.psk-switch input:disabled + .psk-slider { opacity:.4; cursor:not-allowed; }
.psk-conn { display:flex; align-items:center; justify-content:space-between; padding:12px 0; border-bottom:1px solid var(--border); }
.psk-conn:last-child { border-bottom:none; }
.psk-conn-left { display:flex; align-items:center; gap:10px; font-size:14px; font-weight:500; color:var(--text); }
.psk-conn-badge { font-size:11px; font-weight:600; padding:3px 8px; border-radius:20px; }
.psk-badge-ok { background:var(--success-bg); color:var(--success); }
.psk-badge-no { background:var(--bg-soft); color:var(--text-2); }
.psk-pass-section { display:none; }
.psk-pass-section.visible { display:block; padding-top:16px; margin-bottom:6px; border-bottom:1px solid var(--border); }
.psk-bottom-bar { display:flex; justify-content:space-between; align-items:center; padding-top:20px; border-top:1px solid var(--border); margin-top:4px; }
.psk-bottom-actions { display:flex; gap:10px; align-items:center; }
.psk-logout { color:var(--danger); font-size:13px; font-weight:600; text-decoration:none; }
.psk-logout:hover { text-decoration:underline; }


.psk-readonly { padding:10px 14px; border:1px solid var(--border); border-radius:8px; font-size:14px; line-height:1.5; color:var(--text-2); background:var(--bg); width:100%; box-sizing:border-box; }
.psk-file-hidden { display:none; }
.psk-btn-sm { font-size:12px; padding:6px 14px; }

.psk-modal { position:fixed; inset:0; background:var(--overlay); display:none; align-items:center; justify-content:center; z-index:9999; }
.psk-modal-box { background:var(--bg-card); padding:20px; border-radius:14px; max-width:500px; width:92%; text-align:center; }
.psk-modal-box.sm { max-width:380px; padding:30px; }
.psk-crop-area { max-height:380px; overflow:hidden; margin-bottom:16px; }
.psk-crop-area img { max-width:100%; }
.psk-modal-actions { display:flex; justify-content:space-between; gap:10px; }
.psk-modal-actions .psk-btn { flex:1; }
.psk-modal-title { margin:0 0 8px; }
.psk-modal-desc { font-size:13px; color:var(--text-2); margin-bottom:20px; }
.psk-modal-input { width:100%; padding:14px; border-radius:8px; border:1px solid var(--border); background:var(--bg); color:var(--text); font-size:16px; text-align:center; letter-spacing:2px; margin-bottom:16px; box-sizing:border-box; outline:none; }
.psk-btn-tg { flex:1; background:#2AABEE; color:var(--on-primary); border:none; border-radius:8px; padding:10px; font-weight:600; font-size:14px; cursor:pointer; }
.psk-form-error { color:var(--danger); font-size:13px; margin-bottom:12px; }

.auth-tg-ico { color:#2AABEE; }


@media (max-width:1023px) {
  .container { padding:0 24px; }
  .page, .blog, .post { padding:48px 24px; }
  .hero { padding:60px 20px; }
  .features { padding:0 20px 60px; }
  .psk-profile { padding:0 24px; }
}

@media (max-width:860px) {
  /* Позиціонування дровера/оверлея/nav-toggle — спільна система в /a/css/pages.css (не дублювати тут,
     давнє дублювання конфліктувало з нею й ламало затемнення фону при відкритому меню). */
  [data-site-header] .site-nav a { padding:13px 14px; font-size:15px; font-weight:500; border-radius:10px; color:var(--text); }
  [data-site-header] .site-nav a:hover { background:var(--bg-soft); }
  .site-nav-actions { margin:14px 0 0; padding-top:14px; border-top:1px solid var(--border); flex-direction:column; align-items:stretch; gap:8px; }
  .site-nav-actions .btn { width:100%; }
  .site-account-name { max-width:90px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
}

@media (max-width:699px) {
  .container { padding:0 16px; }
  .page, .blog, .post { padding:32px 16px; }
  .psk-profile { margin:24px auto; padding:0 16px; }
  .psk-card { padding:22px 18px; }
  .site-header .container { height:58px; gap:12px; }
  .site-logo { min-width:0; max-width:38vw; overflow:hidden; text-overflow:ellipsis; }
  .site-footer .container { align-items:center; text-align:center; gap:12px; }
  .site-footer-top { justify-content:center; }
  .site-footer-social { margin-left:0; }
  .site-footer nav { justify-content:center; }
  .blog-item { flex-direction:column; align-items:flex-start; gap:4px; }
  .hero { padding:48px 16px; }
  .hero p { font-size:1rem; }
  .features { padding:0 16px 48px; }
}


.psk-preview-bar { position:fixed; left:50%; bottom:20px; transform:translateX(-50%); z-index:99999; display:flex; align-items:center; gap:14px; background:#111827; color:var(--on-primary); padding:10px 18px; border-radius:30px; box-shadow:0 10px 30px rgba(0,0,0,.35); font-size:14px; max-width:92vw; }
.psk-preview-bar b { color:#a3ff00; }
.psk-preview-bar a { color:var(--on-primary); text-decoration:underline; font-size:13px; white-space:nowrap; }

/* Підвал: контакти + соцмережі */
.site-footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; width: 100%; }
.site-footer-contacts { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.site-footer-contacts a, .site-footer-contacts span { color: var(--text-2); text-decoration: none; font-size: 14px; display: inline-flex; align-items: center; gap: 7px; }
.site-footer-contacts a:hover { color: var(--primary); }
.site-footer-social { display: flex; gap: 10px; margin-left: auto; }
.site-footer-social a { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-soft); color: var(--text-2); text-decoration: none; transition: background .15s, color .15s; }
.site-footer-social a:hover { background: var(--primary); color: var(--on-primary); }

/* Сторінки контенту (Контакти / Про нас) — генерик, тема-залежні */
.pg-wrap { max-width: 920px; margin: 0 auto; padding: clamp(32px,6vw,72px) clamp(20px,4vw,32px); }
.pg-eyebrow { display: inline-block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--primary); font-weight: 600; }
.pg-title { font-size: clamp(32px,5vw,52px); line-height: 1.05; margin: 14px 0 0; color: var(--text); }
.pg-lead { font-size: 18px; line-height: 1.6; color: var(--text-2); max-width: 640px; margin: 20px 0 0; }
.pg-body { font-size: 16px; line-height: 1.7; color: var(--text-2); max-width: 640px; margin: 28px 0 0; }
.pg-grid3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 36px 0 0; }
.pg-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-align: center; }
.pg-card-n { font-size: 28px; font-weight: 700; color: var(--text); }
.pg-card-l { font-size: 13px; color: var(--text-2); margin-top: 4px; }
.pg-contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 32px 0 0; }
.pg-contact { display: flex; flex-direction: column; gap: 6px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-decoration: none; transition: border-color .15s, transform .15s; }
.pg-contact:hover { border-color: var(--primary); transform: translateY(-2px); }
.pg-contact-ic { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); font-size: 17px; margin-bottom: 6px; }
.pg-contact-k { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.pg-contact-v { font-size: 16px; color: var(--text); font-weight: 500; word-break: break-word; }
@media (max-width: 700px) { .pg-grid3, .pg-contact-grid { grid-template-columns: 1fr; } }

/* === Кабінет клієнта v2: сайдбар + секції (theme-vars, адаптується під шаблон) === */
.psk-acc { max-width: 1140px; margin: 40px auto; padding: 0 16px; }
.psk-acc-layout { display: grid; grid-template-columns: 280px 1fr; gap: 20px; align-items: start; }
.psk-acc-side { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: 16px; position: sticky; top: 88px; }
.psk-acc-user { display: flex; gap: 12px; align-items: center; padding: 6px 6px 16px; border-bottom: 1px solid var(--border); margin-bottom: 12px; }
.psk-acc-ava { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; background: var(--bg-soft, var(--bg)); }
.psk-acc-user-info { min-width: 0; }
.psk-acc-user-name { font-weight: 700; font-size: 15px; line-height: 1.2; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.psk-acc-user-meta { font-size: 13px; line-height: 1.2; color: var(--text-2); margin-top: 2px; }
/* роль показується як тьмяний текст у .psk-acc-user-meta (без бейджа) */
.psk-acc-nav { display: flex; flex-direction: column; gap: 3px; }
.psk-acc-link { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: 10px; border: none; background: none; color: var(--text-2); font-size: 14px; font-weight: 600; cursor: pointer; text-align: left; width: 100%; text-decoration: none; font-family: inherit; transition: background .12s, color .12s; }
.psk-acc-link i { width: 18px; text-align: center; font-size: 15px; }
.psk-acc-link:hover { background: var(--bg-soft, var(--bg)); color: var(--text); }
.psk-acc-link.is-active { background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); }
.psk-acc-logout { color: var(--primary); margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--border); border-radius: 0; }
.psk-acc-main { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: 28px 32px; min-height: 320px; }
.psk-acc-section { display: none; animation: pskFade .18s ease; }
.psk-acc-section.is-active { display: block; }
@keyframes pskFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.psk-acc-h { font-size: 20px; font-weight: 700; color: var(--text); margin: 0 0 4px; }
.psk-acc-sub { font-size: 14px; color: var(--text-2); margin: 0 0 22px; }
.psk-acc-save { margin-top: 24px; }
.psk-acc-save .psk-btn { padding: 11px 28px; font-size: 14px; min-height: 43px; }
.psk-acc-section .psk-row { margin-bottom: 18px; }
.psk-acc-section .psk-row:last-child { margin-bottom: 0; }
/* Сітка полів: 2 колонки; якщо полів 3 — перше на всю ширину, решта по 50% */
.psk-fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.psk-fgrid > .psk-field:first-child:nth-last-child(3) { grid-column: 1 / -1; }
@media (max-width: 600px) { .psk-fgrid { grid-template-columns: 1fr; } }
.psk-acc-conn-title { font-size: 13px; font-weight: 700; color: var(--text); margin: 22px 0 10px; }
.psk-acc-admin { color: var(--text-2); }
.psk-conn-ico-g { color: #ea4335; width: 18px; }
.psk-conn-ico-t { color: #2aabee; width: 18px; }
.psk-field-empty { display: none; }
@media (max-width: 820px) {
  .psk-acc-layout { grid-template-columns: 1fr; }
  .psk-acc-side { position: static; }
  .psk-acc-nav { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .psk-acc-link { width: auto; flex: 1 1 calc(50% - 3px); }
  .psk-acc-logout { flex-basis: 100%; width: 100%; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--border); }
  .psk-field-empty { display: none; }
}
@media (min-width: 601px) { .psk-acc-main .psk-row { grid-template-columns: 1fr 1fr; } }

/* Інформер — анонс-смужка зверху сайту (спільна для всіх шаблонів) */
.psk-informer { position: relative; background: var(--primary, #6366f1); color: var(--on-primary, #fff); font-size: 13px; }
.psk-informer-in { max-width: 1200px; margin: 0 auto; padding: 9px 46px; display: flex; align-items: center; justify-content: center; gap: 9px; text-align: center; line-height: 1.4; }
.psk-informer-in > i { font-size: 13px; opacity: .9; flex: none; }
.psk-informer-text, .psk-informer-link { color: inherit; }
.psk-informer-link { text-decoration: underline; font-weight: 600; }
.psk-informer-link:hover { text-decoration: none; }
.psk-informer-x { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); background: none; border: 0; color: inherit; opacity: .7; cursor: pointer; font-size: 14px; line-height: 1; padding: 4px 6px; }
.psk-informer-x:hover { opacity: 1; }
.psk-informer.is-closing { display: none; }
@media (max-width: 560px) { .psk-informer-in { font-size: 12px; padding: 8px 40px; } }


/* ===== SKIN (olivo) ===== */
/* Olivo — доставка їжі / ресторан. Скін над origin: палітра, типографіка, акценти.
   HTML-структура спільна (global_blocks), тут лише візуальна мова дизайну. */
:root {
    --bg: #f4f1ec;
    --bg-card: #ffffff;
    --bg-soft: #ebe7df;
    --text: #171410;
    --text-2: #6b6559;
    --border: #e0dace;
    --header-bg: rgba(244, 241, 236, .92);
    --radius: 16px;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #0f0d0a;
        --bg-card: #181510;
        --bg-soft: #221d16;
        --text: #f2eee6;
        --text-2: #9b9686;
        --border: #2e2820;
        --header-bg: rgba(15, 13, 10, .92);
    }
}
[data-theme="dark"] {
    --bg: #0f0d0a;
    --bg-card: #181510;
    --bg-soft: #221d16;
    --text: #f2eee6;
    --text-2: #9b9686;
    --border: #2e2820;
    --header-bg: rgba(15, 13, 10, .92);
}

body { font-family: "Inter", system-ui, -apple-system, sans-serif; }
h1, h2, h3, .site-logo, .shop-title, .shop-product-title, .ol-logo-name {
    font-family: "Bricolage Grotesque", "Inter", sans-serif;
    font-weight: 800;
    letter-spacing: -.02em;
}
.btn-primary, .shop-add { font-weight: 700; }

/* Топбар Olivo */
.ol-topbar { background: var(--text); color: var(--bg); text-align: center; font-size: 13px; font-weight: 600; padding: 9px 16px; letter-spacing: .01em; }
.ol-topbar b { color: var(--primary); }

/* Шапка Olivo (за макетом dostavka-restoran) */
.ol-header { position: sticky; top: 0; z-index: 40; background: var(--header-bg); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.ol-header .container { display: none; }
.ol-header-row { max-width: 1180px; margin: 0 auto; padding: 0 24px; min-height: 66px; display: flex; align-items: center; gap: 16px; }
.ol-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.ol-logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; flex: none; }
.ol-logo-name { font-size: 19px; }
.ol-nav { display: flex; align-items: center; gap: 20px; margin-left: 8px; }
.ol-nav a { font-size: 15px; font-weight: 600; color: var(--text-2); text-decoration: none; padding: 6px 2px; }
.ol-nav a:hover { color: var(--text); }
.ol-spacer { flex: 1; }
.ol-actions { display: flex; align-items: center; gap: 8px; }

/* Підвал Olivo */
.ol-footer { border-top: 1px solid var(--border); background: var(--bg-card); margin-top: 40px; }
.ol-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; padding: clamp(40px, 5vw, 60px) 24px 28px; max-width: 1180px; margin: 0 auto; }
.ol-foot-logo { display: flex; align-items: center; gap: 10px; }
.ol-foot-logo-name { font-family: "Bricolage Grotesque", "Inter", sans-serif; font-weight: 800; font-size: 18px; color: var(--text); }
.ol-foot-desc { font-size: 14px; color: var(--text-2); margin: 13px 0 0; max-width: 280px; line-height: 1.55; }
.ol-foot-social { display: flex; gap: 12px; margin-top: 16px; font-size: 16px; }
.ol-foot-social a { color: var(--text-2); }
.ol-foot-social a:hover { color: var(--primary); }
.ol-foot-h { font-weight: 700; font-size: 14px; margin-bottom: 12px; color: var(--text); }
.ol-foot-col { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.ol-foot-col a, .ol-foot-contacts span { color: var(--text-2); text-decoration: none; }
.ol-foot-col a:hover { color: var(--primary); }
.ol-footer-bottom { border-top: 1px solid var(--border); padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--text-2); max-width: 1180px; margin: 0 auto; }
.ol-footer-bottom strong { color: var(--text); }
@media (max-width: 760px) { .ol-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }

/* Головна Olivo (герой-ресторан + переваги) */
.ol-hero { max-width: 1180px; margin: 0 auto; padding: clamp(28px, 4vw, 52px) 24px 10px; }
.ol-hero-card { position: relative; border-radius: calc(var(--radius) + 4px); overflow: hidden; border: 1px solid var(--border); min-height: clamp(360px, 44vw, 480px); display: flex; align-items: flex-end; }
.ol-hero-bg { position: absolute; inset: 0; background-color: #8a5a3c; background-image: var(--ph, repeating-linear-gradient(135deg, rgba(0,0,0,.06) 0 14px, rgba(0,0,0,0) 14px 30px)); background-size: cover; background-position: center; }
.ol-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.62), rgba(0,0,0,.08)); }
.ol-hero-body { position: relative; padding: clamp(26px, 4vw, 50px); max-width: 600px; color: #fff; }
.ol-hero-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 13px; font-weight: 700; }
.ol-hero-title { font-family: "Bricolage Grotesque", "Inter", sans-serif; font-weight: 800; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.02; letter-spacing: -.02em; margin: 18px 0 0; color: #fff; }
.ol-hero-desc { font-size: 16px; opacity: .92; max-width: 440px; margin: 14px 0 0; }
.ol-hero-cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.ol-hero-btn2 { padding: 14px 24px; border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.1); color: #fff; font-size: 15px; font-weight: 600; border-radius: var(--radius); text-decoration: none; backdrop-filter: blur(4px); }
.ol-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: clamp(32px, 4vw, 52px) 24px 0; max-width: 1180px; margin: 0 auto; }
.ol-feat { border: 1px solid var(--border); background: var(--bg-card); border-radius: var(--radius); padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.ol-feat-ic { width: 42px; height: 42px; border-radius: 12px; background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 17px; flex: none; }
.ol-feat-h { font-weight: 700; font-size: 15px; margin: 0 0 3px; color: var(--text); }
.ol-feat p { font-size: 13px; color: var(--text-2); line-height: 1.5; margin: 0; }
@media (max-width: 760px) { .ol-feats { grid-template-columns: 1fr; } }

/* Головна Olivo: плитки категорій + переваги + CTA */
.ol-home-cats { max-width: 1180px; margin: 0 auto; padding: clamp(40px,5vw,72px) 24px 0; }
.ol-home-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.ol-home-title { font-family: "Bricolage Grotesque", "Inter", sans-serif; font-weight: 800; font-size: clamp(24px,3vw,34px); letter-spacing: -.02em; margin: 0; color: var(--text); }
.ol-home-more { color: var(--primary); font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.ol-home-more:hover { text-decoration: underline; }
.ol-cats-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.ol-cat-tile { position: relative; display: block; border-radius: calc(var(--radius) + 4px); overflow: hidden; min-height: 210px; text-decoration: none; border: 1px solid var(--border); }
.ol-cat-tile-lg { grid-row: 1 / span 2; }
.ol-cat-ph { position: absolute; inset: 0; background-image: var(--ph, repeating-linear-gradient(135deg, color-mix(in srgb, var(--primary) 18%, var(--bg-soft)) 0 22px, var(--bg-soft) 22px 44px)); background-size: cover; background-position: center; transition: transform .4s ease; }
.ol-cat-tile:hover .ol-cat-ph { transform: scale(1.04); }
.ol-cat-cap { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; padding: 26px; background: linear-gradient(transparent 42%, rgba(0,0,0,.5)); }
.ol-cat-k { color: #fff; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .88; }
.ol-cat-t { font-family: "Bricolage Grotesque", "Inter", sans-serif; color: #fff; font-weight: 800; font-size: clamp(20px,2.2vw,28px); line-height: 1.05; }
.ol-home-perks { max-width: 1180px; margin: 0 auto; padding: clamp(40px,5vw,64px) 24px; display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.ol-perk { display: flex; align-items: flex-start; gap: 14px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.ol-perk-ic { flex: none; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); font-size: 18px; }
.ol-perk b { display: block; font-size: 15px; color: var(--text); margin-bottom: 3px; }
.ol-perk small { color: var(--text-2); font-size: 13px; line-height: 1.5; }
.ol-home-cta { max-width: 1180px; margin: 0 auto clamp(40px,6vw,80px); padding: clamp(32px,4vw,54px); border-radius: calc(var(--radius) + 6px); background: var(--text); color: var(--bg); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ol-cta-title { font-family: "Bricolage Grotesque", "Inter", sans-serif; font-weight: 800; font-size: clamp(26px,3.4vw,40px); letter-spacing: -.02em; margin: 0; color: var(--bg); }
.ol-cta-sub { margin: 12px 0 0; max-width: 460px; opacity: .82; font-size: 15px; line-height: 1.55; }
.ol-cta-btn { flex: none; }
@media (max-width: 760px) {
    .ol-cats-grid { grid-template-columns: 1fr; }
    .ol-cat-tile-lg { grid-row: auto; }
    .ol-home-perks { grid-template-columns: 1fr; }
    .ol-home-cta { flex-direction: column; align-items: flex-start; }
}

/* Обране: серце в хедері */
.site-wish { position: relative; display: inline-flex; align-items: center; color: var(--text); text-decoration: none; font-size: 18px; padding: 4px; }
.site-wish:hover { color: var(--primary); }
.site-wish-count { position: absolute; top: -4px; right: -6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--primary); color: var(--on-primary, #fff); font-size: 10px; font-weight: 700; display: none; align-items: center; justify-content: center; }
.site-wish-count.has { display: inline-flex; }

/* Блог-журнал Olivo */
.ol-blog { max-width: 1100px; margin: 0 auto; padding: clamp(28px,5vw,60px) clamp(20px,4vw,48px); }
.ol-blog-head { text-align: center; margin-bottom: 34px; }
.ol-blog-title { font-size: clamp(34px,5vw,60px); margin: 10px 0 0; }
.ol-blog-sub { color: var(--text-2); margin: 12px 0 0; }
.ol-blog-cats { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.ol-blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 20px; }
.ol-blog-card { border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); overflow: hidden; background: var(--bg-card); transition: transform .15s, box-shadow .15s; }
.ol-blog-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.ol-blog-card-link { display: flex; flex-direction: column; gap: 10px; padding: 24px; text-decoration: none; color: var(--text); height: 100%; }
.ol-blog-card-date { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.ol-blog-card-title { font-size: 19px; line-height: 1.3; margin: 0; flex: 1; }
.ol-blog-card-more { color: var(--primary); font-weight: 600; font-size: 14px; }

.site-logo-img { height: 34px; width: auto; }

/* Плавна прокрутка по якорях + відступ під липкий хедер */
html{scroll-behavior:smooth}
:where([id]){scroll-margin-top:88px}

/* Контраст: hero-підпис і CTA-підпис — явний світлий текст на фото/темному тлі (було невидимо) */
.ol-hero-desc { color: rgba(255,255,255,.93); opacity: 1; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.ol-cta-sub { color: var(--bg); opacity: .92; }

:focus:not(:focus-visible) { outline: none; }

.site-account { position:relative; margin-left:8px; }
.site-account .btn { min-height:0; padding:5px 22px; }

/* ── Афіша ── */
.afisha-page { padding:48px 0 64px; }
.afisha-head { margin-bottom:30px; }
.afisha-head h1 { font-size:clamp(26px,4vw,38px); margin:0 0 8px; }
.afisha-head p { color:var(--text-2); margin:0; }
.afisha-back { display:inline-block; font-size:13px; color:var(--primary); text-decoration:none; margin-bottom:10px; }
.afisha-back:hover { text-decoration:underline; }
.afisha-cat { margin-bottom:40px; }
.afisha-cat-name { font-size:18px; margin:0 0 18px; padding-bottom:10px; border-bottom:1px solid var(--border); }
.afisha-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:22px; }
.afisha-empty { color:var(--text-2); padding:20px 0; }
.afisha-card { display:flex; flex-direction:column; background:var(--bg-card); border:1px solid var(--border); border-radius:16px; overflow:hidden; transition:transform .2s, box-shadow .2s, border-color .2s; }
.afisha-card:hover { transform:translateY(-4px); box-shadow:0 16px 36px color-mix(in srgb, var(--text) 10%, transparent); border-color:color-mix(in srgb, var(--primary) 40%, var(--border)); }
.afisha-card-img { position:relative; aspect-ratio:16/10; overflow:hidden; background:var(--header-bg); }
.afisha-card-img img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .3s; }
.afisha-card:hover .afisha-card-img img { transform:scale(1.05); }
.afisha-card-date { position:absolute; left:12px; top:12px; background:var(--primary); color:#fff; font-size:12px; font-weight:700; border-radius:8px; padding:5px 10px; }
.afisha-card-b { padding:16px 18px 18px; display:flex; flex-direction:column; gap:10px; flex:1; }
.afisha-card-t { font-size:17px; margin:0; line-height:1.3; }
.afisha-card-t a { color:var(--text); text-decoration:none; }
.afisha-card-t a:hover { color:var(--primary); }
.afisha-card-meta { display:flex; flex-direction:column; gap:5px; font-size:13px; color:var(--text-2); }
.afisha-card-meta i { width:15px; color:var(--primary); margin-right:5px; }
.afisha-btn { margin-top:auto; align-self:flex-start; background:var(--primary); color:#fff; font-size:14px; font-weight:600; padding:9px 18px; border-radius:10px; text-decoration:none; transition:filter .15s; }
.afisha-btn:hover { filter:brightness(1.08); }
.afisha-event { padding:48px 0 64px; }
.afisha-event h1 { font-size:clamp(26px,4vw,38px); margin:0 0 16px; }
.afisha-event-img { aspect-ratio:21/9; border-radius:16px; overflow:hidden; background:var(--header-bg); background-size:cover; background-position:center; margin-bottom:18px; }
.afisha-event-meta { font-size:14px; color:var(--text-2); margin-bottom:24px; padding-bottom:20px; border-bottom:1px solid var(--border); }
.afisha-event-body { line-height:1.8; margin-bottom:24px; }
.afisha-event-body p { margin-bottom:16px; }
.extra-fields { display:grid; grid-template-columns:max-content 1fr; gap:8px 16px; margin:0 0 24px; font-size:14px; }
.extra-fields dt { color:var(--text-2); }
.extra-fields dd { margin:0; }

/* evt-alias:start — перехід де-afisha: класи .evt-* дублюють .afisha-* поки триває міграція розмітки */
.evt-page { padding:48px 0 64px; }
.evt-head { margin-bottom:30px; }
.evt-head h1 { font-size:clamp(26px,4vw,38px); margin:0 0 8px; }
.evt-head p { color:var(--text-2); margin:0; }
.evt-back { display:inline-block; font-size:13px; color:var(--primary); text-decoration:none; margin-bottom:10px; }
.evt-back:hover { text-decoration:underline; }
.evt-cat { margin-bottom:40px; }
.evt-cat-name { font-size:18px; margin:0 0 18px; padding-bottom:10px; border-bottom:1px solid var(--border); }
.evt-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:22px; }
.evt-empty { color:var(--text-2); padding:20px 0; }
.evt-card { display:flex; flex-direction:column; background:var(--bg-card); border:1px solid var(--border); border-radius:16px; overflow:hidden; transition:transform .2s, box-shadow .2s, border-color .2s; }
.evt-card:hover { transform:translateY(-4px); box-shadow:0 16px 36px color-mix(in srgb, var(--text) 10%, transparent); border-color:color-mix(in srgb, var(--primary) 40%, var(--border)); }
.evt-card-img { position:relative; aspect-ratio:16/10; overflow:hidden; background:var(--header-bg); }
.evt-card-img img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .3s; }
.evt-card:hover .evt-card-img img { transform:scale(1.05); }
.evt-card-date { position:absolute; left:12px; top:12px; background:var(--primary); color:#fff; font-size:12px; font-weight:700; border-radius:8px; padding:5px 10px; }
.evt-card-b { padding:16px 18px 18px; display:flex; flex-direction:column; gap:10px; flex:1; }
.evt-card-t { font-size:17px; margin:0; line-height:1.3; }
.evt-card-t a { color:var(--text); text-decoration:none; }
.evt-card-t a:hover { color:var(--primary); }
.evt-card-meta { display:flex; flex-direction:column; gap:5px; font-size:13px; color:var(--text-2); }
.evt-card-meta i { width:15px; color:var(--primary); margin-right:5px; }
.evt-btn { margin-top:auto; align-self:flex-start; background:var(--primary); color:#fff; font-size:14px; font-weight:600; padding:9px 18px; border-radius:10px; text-decoration:none; transition:filter .15s; }
.evt-btn:hover { filter:brightness(1.08); }
.evt-event { padding:48px 0 64px; }
.evt-event h1 { font-size:clamp(26px,4vw,38px); margin:0 0 16px; }
.evt-event-img { aspect-ratio:21/9; border-radius:16px; overflow:hidden; background:var(--header-bg); background-size:cover; background-position:center; margin-bottom:18px; }
.evt-event-meta { font-size:14px; color:var(--text-2); margin-bottom:24px; padding-bottom:20px; border-bottom:1px solid var(--border); }
.evt-event-body { line-height:1.8; margin-bottom:24px; }
.evt-event-body p { margin-bottom:16px; }
/* evt-alias:end */
