/* PhDHub — стилі теми. Кольори й розміри — змінні нижче. */
:root {
	--ph-accent: #0B6B5D;
	--ph-accent-dark: #08493F;
	--ph-accent-soft: #EAF3F1;
	--ph-accent-line: #BFDDD6;
	--ph-ground: #F2F7F6;
	--ph-ink: #10201F;
	--ph-ink-2: #3C5250;
	--ph-ink-3: #4A5F5D;
	--ph-line: #DCE8E5;
	--ph-mint: #3FD1B3;
	--ph-danger: #9A3412;
	--ph-danger-soft: #FDEDE6;
	--ph-shadow: 0 20px 50px rgba(16, 32, 31, 0.08);
	--ph-shadow-lg: 0 20px 50px rgba(16, 32, 31, 0.14);
	--ph-font: "PT Sans Caption", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--ph-ground); color: var(--ph-ink); font-family: var(--ph-font); font-size: 16px; line-height: 1.5; }
a { color: var(--ph-accent); }
a:hover { color: var(--ph-accent-dark); }
img { max-width: 100%; height: auto; }
.ph-icon { flex-shrink: 0; }

.ph-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; background: #fff; border-radius: 12px; }
.ph-skip:focus { left: 16px; }

.ph-container { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.ph-container--narrow { max-width: 880px; }
/* Футер завжди внизу екрана, навіть коли вмісту мало (кабінет з 1–2 звітами, вхід). */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px)); }
.ph-main { flex: 1 0 auto; }
.ph-header, .ph-footer { flex-shrink: 0; }

/* ---------- Типографіка ---------- */
.ph-h1 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.15; font-weight: 700; }
.ph-h1--page { font-size: clamp(26px, 3vw, 32px); line-height: 1.2; margin-bottom: 24px; }
.ph-h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; font-weight: 700; }
.ph-h3 { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 700; }
.ph-lead { margin: 0; font-size: 18px; color: var(--ph-ink-2); max-width: 580px; }
.ph-muted { color: var(--ph-ink-2); font-size: 15px; margin: 0; }
.ph-accent { color: var(--ph-accent); }

/* ---------- Кнопки, бейджі ---------- */
.ph-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 18px; background: var(--ph-accent); color: #fff; font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .2s; }
.ph-btn:hover, .ph-btn:focus-visible { background: var(--ph-accent-dark); color: #fff; }
.ph-btn--sm { min-height: 48px; padding: 0 20px; border-radius: 16px; }
.ph-btn--lg { min-height: 60px; padding: 0 32px; border-radius: 20px; font-size: 17px; }
.ph-btn--block { width: 100%; }
.ph-btn--dark { background: var(--ph-ink); font-weight: 400; }
.ph-btn--dark:hover { background: #000; }
.ph-btn--soft { background: var(--ph-accent-soft); color: var(--ph-accent); min-height: 44px; border-radius: 14px; padding: 0 18px; }
.ph-btn--soft:hover { background: var(--ph-accent-line); color: var(--ph-accent-dark); }
.ph-btn--outline { background: #fff; color: var(--ph-ink); border: 1px solid #C9D9D5; font-weight: 400; }
.ph-btn--outline:hover { background: var(--ph-accent-soft); color: var(--ph-ink); }
.ph-report__actions .ph-btn--outline { min-height: 44px; border-radius: 14px; padding: 0 18px; }
.ph-btn--disabled { background: var(--ph-ground); color: var(--ph-ink-3); font-weight: 400; cursor: default; }
.ph-btn--disabled:hover { background: var(--ph-ground); color: var(--ph-ink-3); }
.ph-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.ph-badge { display: inline-block; font-size: 12px; line-height: 1.4; padding: 3px 8px; border-radius: 8px; font-weight: 400; white-space: nowrap; }
.ph-badge--live { background: var(--ph-accent); color: #fff; }
.ph-badge--soon { background: var(--ph-ground); color: var(--ph-ink-3); }
.ph-tag { display: inline-block; align-self: flex-start; font-size: 13px; padding: 3px 10px; border-radius: 8px; background: var(--ph-accent-soft); color: var(--ph-accent); }

/* ---------- Шапка ---------- */
.ph-header { position: relative; z-index: 50; background: #fff; border-bottom: 1px solid var(--ph-line); }
.ph-header__in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-top: 14px; padding-bottom: 14px; }
.ph-logo { display: flex; align-items: center; gap: 10px; color: var(--ph-ink); text-decoration: none; }
.ph-logo:hover { color: var(--ph-ink); }
.ph-logo__mark { width: 40px; height: 40px; border-radius: 12px; background: var(--ph-accent); color: #fff; display: grid; place-items: center; }
.ph-logo__text { font-size: 22px; font-weight: 700; }
.ph-logo__text span { color: var(--ph-accent); }
.ph-header__back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-left: auto; text-decoration: none; }
.ph-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-size: 15px; }
.ph-nav__link { padding: 10px 0; color: var(--ph-ink); text-decoration: none; }
.ph-nav__link:hover, .ph-nav__link.is-current { color: var(--ph-accent); }
.ph-nav__link.is-current { font-weight: 700; }
.ph-header__right { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* Випадні меню: відкриваються наведенням (комп'ютер) і кліком (телефон, клавіатура) — assets/js/phdhub.js. */
.ph-dd { position: relative; }
.ph-dd__toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; border: 0; background: transparent; color: var(--ph-ink); font: inherit; font-size: 15px; cursor: pointer; }
.ph-nav__strong { font-weight: 700; }
.ph-dd__toggle .ph-icon:last-child { transition: transform .2s; }
.ph-dd.is-open .ph-dd__toggle .ph-icon:last-child { transform: rotate(180deg); }
.ph-dd__panel { display: none; position: absolute; top: 100%; left: 0; z-index: 60; width: 360px; max-width: calc(100vw - 32px); margin-top: 8px; padding: 8px; background: #fff; border: 1px solid var(--ph-line); border-radius: 20px; box-shadow: var(--ph-shadow-lg); flex-direction: column; gap: 2px; }
.ph-dd__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; } /* міст для курсора між кнопкою і меню */
.ph-dd--right .ph-dd__panel { left: auto; right: 0; width: 230px; }
.ph-dd.is-open .ph-dd__panel { display: flex; }
@media (hover: hover) and (pointer: fine) {
	.ph-dd:hover .ph-dd__panel { display: flex; }
}
.ph-dd__item { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 14px; border-radius: 14px; color: var(--ph-ink); text-decoration: none; font-size: 15px; }
.ph-dd__panel--services .ph-dd__item { justify-content: space-between; }
a.ph-dd__item:hover, a.ph-dd__item:focus-visible { background: var(--ph-accent-soft); color: var(--ph-ink); }
.ph-dd__item.is-live { background: var(--ph-accent-soft); font-weight: 700; }
.ph-dd__item.is-soon { color: var(--ph-ink-3); }
.ph-dd__item--danger, .ph-dd__item--danger:hover { color: var(--ph-danger) !important; }
.ph-user { font-weight: 700; gap: 10px; }
.ph-user__avatar { width: 40px; height: 40px; border-radius: 50%; background: #DDEFEB; color: var(--ph-accent); display: grid; place-items: center; font-size: 15px; }

/* ---------- Блоки ---------- */
.ph-section { padding-bottom: 72px; display: flex; flex-direction: column; gap: 28px; }
.ph-section__head { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.ph-card { background: #fff; border-radius: 28px; padding: 24px; }
.ph-card--lg { padding: 32px; border-radius: 32px; }
.ph-grid { display: grid; gap: 16px; }
.ph-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.ph-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.ph-grid--6 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }

.ph-hero { padding-top: 72px; padding-bottom: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 48px; align-items: center; }
.ph-hero__text { display: flex; flex-direction: column; gap: 24px; }

/* Шлях до ступеня (головна) */
.ph-path { padding: 28px; box-shadow: var(--ph-shadow); }
.ph-path__title { display: block; font-size: 18px; margin-bottom: 14px; }
.ph-path__list { list-style: none; margin: 0; padding: 0; }
.ph-path__step { position: relative; display: flex; gap: 16px; padding-bottom: 18px; }
.ph-path__step:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: var(--ph-line); }
.ph-path__step > div { display: flex; flex-direction: column; gap: 4px; padding-top: 6px; }
.ph-path__num, .ph-step__num { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ph-accent); color: var(--ph-accent); font-weight: 700; display: grid; place-items: center; }

/* Картки послуг (головна) */
.ph-service { display: flex; flex-direction: column; gap: 12px; border: 2px solid #fff; }
.ph-service--live { border-color: var(--ph-accent); }
.ph-service__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ph-service__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--ph-accent-soft); color: var(--ph-accent); display: grid; place-items: center; }
.ph-service--live .ph-service__icon { background: var(--ph-accent); color: #fff; }
.ph-service__title { margin: 0; font-size: 20px; line-height: 1.25; }
.ph-service__text { flex: 1 1 auto; font-size: 14px; }
.ph-service .ph-btn { min-height: 48px; border-radius: 16px; }

/* Переваги (суцільні картки) */
.ph-feature { background: var(--ph-accent); color: #fff; border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.ph-feature__icon { width: 56px; height: 56px; border-radius: 18px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; }
.ph-feature__title { font-size: 22px; line-height: 1.25; }
.ph-feature p { margin: 0; color: #E6F4F1; font-size: 15px; }
.ph-feature ul { margin: 0; padding-left: 18px; color: #E6F4F1; font-size: 15px; display: flex; flex-direction: column; gap: 6px; }

/* Приклад звіту (посадкова) */
.ph-report-preview { padding: 18px; box-shadow: var(--ph-shadow); display: flex; flex-direction: column; gap: 12px; }
.ph-report-preview__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 6px 0; }
.ph-sheet { border: 1px solid var(--ph-line); border-radius: 16px; padding: 22px 22px 0; height: 560px; overflow: hidden; display: flex; flex-direction: column; gap: 10px; font-size: 11px; line-height: 1.35; color: #1F1F1F; }
.ph-sheet__brand { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; border-bottom: 2px solid var(--ph-accent); padding-bottom: 6px; }
.ph-sheet__brand strong { font-size: 18px; }
.ph-sheet__brand strong span { color: var(--ph-accent); }
.ph-sheet__brand > span { font-size: 9px; color: #6B6B6B; }
.ph-sheet__h1 { font-size: 14px; }
.ph-sheet__h2 { font-size: 13px; color: var(--ph-accent); }
.ph-sheet__table { margin: 0; display: grid; grid-template-columns: 120px minmax(0, 1fr); border: 1px solid var(--ph-line); border-radius: 6px; }
.ph-sheet__table--flat { border: 0; border-radius: 0; }
.ph-sheet__table dt, .ph-sheet__table dd { margin: 0; padding: 4px 8px; border-bottom: 1px solid #EEF4F2; font-size: 10px; }
.ph-sheet__table dt { font-weight: 700; color: #555; font-size: 9.5px; }
.ph-sheet__note { background: var(--ph-accent-soft); border: 1px solid var(--ph-accent-line); border-radius: 4px; padding: 6px 8px; font-size: 9px; }
.ph-sheet__note strong { color: var(--ph-accent); }
.ph-sheet__card { border: 1px solid var(--ph-accent-line); border-radius: 4px; }
.ph-sheet__num { background: var(--ph-accent); color: #fff; font-weight: 700; padding: 3px 8px; }
.ph-sheet__pubs { padding: 6px 8px; display: flex; flex-direction: column; gap: 4px; font-size: 10px; }
.ph-sheet__pubs strong { color: #555; font-size: 9.5px; }

/* Темний блок із цифрами */
.ph-dark { background: var(--ph-ink); color: #fff; border-radius: 32px; padding: 40px; display: flex; flex-direction: column; gap: 28px; }
.ph-dark__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.ph-dark .ph-h2 { font-size: 28px; }
.ph-live { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #B9D3CE; }
.ph-live span { width: 8px; height: 8px; border-radius: 50%; background: var(--ph-mint); }
.ph-stat { border-radius: 20px; background: #1C3533; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.ph-stat strong { font-size: 30px; line-height: 1.1; color: var(--ph-mint); }
.ph-stat span { font-size: 14px; color: #D6E6E3; }

.ph-source { display: flex; flex-direction: column; gap: 10px; }
.ph-source__icon { width: 44px; height: 44px; border-radius: 14px; background: #DDEFEB; color: var(--ph-accent); display: grid; place-items: center; }
.ph-source strong, .ph-step strong { font-size: 17px; }

.ph-criteria { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 12px; }
.ph-criteria li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: var(--ph-ground); }
.ph-criteria li > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.ph-criteria__num { flex: 0 0 36px; height: 36px; border-radius: 12px; background: var(--ph-accent); color: #fff; font-weight: 700; display: grid; place-items: center; }
.ph-step { display: flex; flex-direction: column; gap: 12px; }

/* Часті питання */
.ph-faq { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 32px; padding-bottom: 80px; }
.ph-faq__head { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; }
.ph-faq__list { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.ph-faq__item { background: #fff; border-radius: 20px; }
.ph-faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 16px 22px; font-weight: 700; cursor: pointer; }
.ph-faq__item summary::-webkit-details-marker { display: none; }
.ph-faq__sign { flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--ph-accent-soft); color: var(--ph-accent); display: grid; place-items: center; font-size: 20px; line-height: 1; }
.ph-faq__sign::before { content: "+"; }
.ph-faq__item[open] .ph-faq__sign::before { content: "\2212"; }
.ph-faq__item p { margin: 0; padding: 0 22px 20px; color: var(--ph-ink-2); font-size: 15px; }

/* ---------- Форми: вхід, реєстрація, профіль ---------- */
.ph-auth { display: flex; justify-content: center; padding: 56px 16px; }
.ph-auth__card { width: 100%; max-width: 480px; padding: 40px 36px; border-radius: 32px; box-shadow: var(--ph-shadow); display: flex; flex-direction: column; gap: 20px; }
.ph-auth__head { display: flex; flex-direction: column; gap: 6px; }
.ph-auth__switch { margin: 0; text-align: center; color: var(--ph-ink-2); }
.ph-auth__switch a { font-weight: 700; }
.ph-or { display: flex; align-items: center; gap: 12px; color: var(--ph-ink-3); font-size: 14px; }
.ph-or::before, .ph-or::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--ph-line); }
.ph-form { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.ph-form--grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px 20px; margin-top: 20px; }
.ph-form__submit { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.ph-field { display: flex; flex-direction: column; gap: 8px; }
.ph-field label { font-size: 14px; font-weight: 700; }
.ph-field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; }
.ph-field input, .ph-field select, .ph-field textarea { width: 100%; min-height: 48px; padding: 0 16px; border: 1px solid transparent; border-radius: 14px; background: var(--ph-ground); color: var(--ph-ink); font: inherit; font-size: 16px; }
.ph-field input:focus, .ph-field select:focus, .ph-field textarea:focus { outline: none; border-color: var(--ph-accent); background: #fff; }
/* Кнопка-список (спеціальність, заклад у профілі) — як поле вводу, відкриває вікно вибору. */
.ph-select { width: 100%; min-height: 48px; padding: 10px 44px 10px 16px; border: 1px solid transparent; border-radius: 14px; background: var(--ph-ground) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%233C5250' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h10'/%3E%3C/svg%3E") no-repeat right 16px center; color: var(--ph-ink); font: inherit; font-size: 16px; text-align: left; line-height: 1.35; cursor: pointer; }
.ph-select:hover, .ph-select:focus-visible { border-color: var(--ph-accent); background-color: #fff; outline: none; }
.ph-select .is-placeholder { color: var(--ph-ink-3); }
.fah-opp.fah-opp--modals { padding: 0; background: none; }
.ph-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ph-ink-2); cursor: pointer; }
.ph-check input { width: 20px; height: 20px; margin: 1px 0 0; flex: 0 0 20px; accent-color: var(--ph-accent); }
.ph-alert { padding: 12px 16px; border-radius: 14px; font-size: 15px; }
.ph-alert--error { background: var(--ph-danger-soft); color: var(--ph-danger); }
.ph-alert--success, .ph-alert--info { background: var(--ph-accent-soft); color: var(--ph-accent); }
.ph-social { display: flex; justify-content: center; }

/* ---------- Кабінет і профіль ---------- */
.ph-cabinet, .ph-profile, .ph-content, .ph-form-page { padding-top: 40px; padding-bottom: 72px; }
.ph-profile { display: flex; flex-direction: column; gap: 24px; }
.ph-profile .ph-h1--page { margin-bottom: 0; }
.ph-back { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; text-decoration: none; }
.ph-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; margin-bottom: 24px; border-radius: 20px; background: #fff; max-width: 100%; }
.ph-tabs__tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 14px; background: transparent; color: var(--ph-ink); font: inherit; font-size: 15px; cursor: pointer; }
.ph-tabs__tab:hover { background: var(--ph-ground); }
.ph-tabs__tab[aria-selected="true"] { background: var(--ph-accent); color: #fff; font-weight: 700; }
.ph-tabs__tab:disabled { color: var(--ph-ink-3); opacity: .55; cursor: not-allowed; background: transparent; }
.ph-tabs__tab[aria-selected="true"] .ph-badge { background: rgba(255, 255, 255, .2); color: #fff; }
.ph-cabinet__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.ph-reports { display: flex; flex-direction: column; gap: 16px; }
.ph-report { border: 1px solid var(--ph-line); border-radius: 20px; padding: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.ph-report__info { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ph-report__info .ph-muted { font-size: 14px; }
.ph-report__topic { font-size: 17px; line-height: 1.35; }
.ph-report__counts { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 15px; }
.ph-report__counts b { color: var(--ph-accent); }
.ph-report__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ph-report__status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; color: var(--ph-ink-2); }
.ph-report--failed { border-color: #F2C9B8; }
.ph-badge--ok { background: var(--ph-accent-soft); color: var(--ph-accent); }
.ph-badge--failed { background: var(--ph-danger-soft); color: var(--ph-danger); font-weight: 700; }
.ph-badge--pending { background: #FFF4D6; color: #7A5B00; font-weight: 700; }
.ph-empty { padding: 40px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.ph-empty .ph-muted { max-width: 480px; }
.ph-empty__icon { width: 72px; height: 72px; border-radius: 24px; background: var(--ph-accent-soft); color: var(--ph-accent); display: grid; place-items: center; }

/* Анкета (assets/opponents/fah-opponents.css) усередині теми: без власного фону й відступів сторінки */
.ph-form-page > .ph-alert { margin-bottom: 20px; }
.ph-form-page .fah-opp { background: transparent; padding: 0; }
.ph-form-page .fah-opp-hero, .ph-form-page .fah-opp-card { max-width: none; }

.ph-prose { color: var(--ph-ink-2); }
.ph-prose h2, .ph-prose h3 { color: var(--ph-ink); }

/* ---------- Підвал ---------- */
.ph-footer { background: var(--ph-ink); color: #D6E6E3; }
.ph-footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 36px; padding-bottom: 36px; font-size: 14px; }
.ph-footer strong { color: #fff; }
.ph-footer a { color: #D6E6E3; }
.ph-footer__menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- Телефон ---------- */
@media (max-width: 767px) {
	.ph-container { padding-left: 16px; padding-right: 16px; }
	.ph-header__in { gap: 8px 16px; }
	.ph-header__right { margin-left: 0; width: 100%; }
	.ph-user__name { display: none; }
	.ph-dd--right { margin-left: auto; }
	.ph-hero { padding-top: 40px; padding-bottom: 40px; gap: 32px; }
	.ph-card--lg, .ph-dark, .ph-feature { padding: 24px 20px; border-radius: 24px; }
	.ph-auth__card { padding: 28px 20px; }
	.ph-sheet { height: 460px; padding: 16px 14px 0; }
	.ph-sheet__table { grid-template-columns: 96px minmax(0, 1fr); }
	.ph-actions .ph-btn, .ph-empty .ph-btn { width: 100%; }
	.ph-field input, .ph-field select { font-size: 16px; }
}

/* ---------- Про нас ---------- */
.ph-about { padding-top: 40px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 24px; }
.ph-about__intro { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 32px 48px; align-items: center; }
.ph-about__text .ph-h1--page { margin-bottom: 16px; }
.ph-about__text p { margin: 0 0 14px; color: var(--ph-ink-2); }
.ph-about__mission { border: 1.5px solid var(--ph-accent); border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 12px; }
.ph-about__label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ph-accent); }
.ph-about__mission strong { font-size: 22px; line-height: 1.35; }
.ph-team__title { text-align: center; margin-bottom: 32px; }
.ph-team__grid { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px 24px; }
.ph-team__member { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.ph-team__photo { width: 160px; height: 160px; border-radius: 50%; padding: 10px; background: var(--ph-accent-soft); box-shadow: 0 0 0 10px #F7FBFA; margin-bottom: 16px; }
.ph-team__photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.ph-team__initials { width: 100%; height: 100%; border-radius: 50%; background: #DDEFEB; color: var(--ph-accent); display: grid; place-items: center; font-size: 40px; font-weight: 700; }
.ph-team__name { font-size: 17px; }
.ph-team__role { font-size: 14px; color: var(--ph-ink-3); }
@media (max-width: 767px) { .ph-about__mission { padding: 24px; } .ph-about__mission strong { font-size: 19px; } }

/* ---------- Контакти ---------- */
.ph-contacts { padding-top: 40px; padding-bottom: 72px; }
.ph-contacts__card { min-height: 480px; }
.ph-contacts__body { max-width: 660px; display: flex; flex-direction: column; gap: 14px; }
.ph-contacts__body .ph-h1--page { margin-bottom: 8px; }
.ph-contacts__subtitle { margin: 0; font-size: 18px; }
.ph-contacts__email { margin: 4px 0 8px; }
.ph-contacts__email a { font-weight: 700; }
.ph-contacts__form { display: flex; flex-direction: column; gap: 16px; margin-top: 12px; }
.ph-contacts__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.ph-contacts__form textarea { min-height: 112px; padding-top: 12px; padding-bottom: 12px; resize: vertical; }
.ph-contacts__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; white-space: nowrap; }
.ph-recaptcha-note { margin: 0; font-size: 12px; color: var(--ph-ink-3); }

/* Телефон: якірні пункти меню («Вимоги», «Питання»…) ховаються, щоб шапка займала один-два рядки. */
@media (max-width: 767px) {
	.ph-nav__link--anchor { display: none; }
	.ph-header__right .ph-btn--sm { min-height: 44px; padding: 0 14px; font-size: 14px; }
}

/* ---------- Хлібні крихти ---------- */
.ph-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding-top: 24px; font-size: 13px; color: var(--ph-ink-2); }
.ph-crumbs a { color: var(--ph-ink-2); text-decoration: none; opacity: 0.75; }
.ph-crumbs a:hover { color: var(--ph-accent); opacity: 1; }
.ph-crumbs__sep { opacity: 0.5; }
.ph-crumbs [aria-current] { color: var(--ph-ink); }
.ph-crumbs + .ph-hero { padding-top: 32px; }
.ph-crumbs + .ph-about, .ph-crumbs + .ph-contacts, .ph-crumbs + .ph-content { padding-top: 20px; }
@media (max-width: 767px) { .ph-crumbs { padding-top: 16px; } .ph-crumbs + .ph-hero { padding-top: 20px; } }
