/*
 * Страница политики конфиденциальности (Д-2221, модуль `guest-politika.js`). Вид - утверждённый макет
 * `docs/mockups/d2221-politika-konfidencialnosti/` (источник `istochnik/inject.js`, кадры p01, k02, k03, k04b):
 * только токены `tokens.css` и живые классы портала (`.head`, `.body`, `.notice`, `.okafe-sec`).
 *
 * Слой лежит поверх портала и кончается над его нижней панелью (`--pol-niz` ставит модуль по замеру `.gnav`):
 * панель видна и работает, как на кадре p01.
 */
.pol-sloy {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: var(--pol-niz, 0px);
  z-index: 40;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
}
.pol-sloy > .head { flex: 0 0 auto; }
/* P-139 кр. 7: `outline: none` оставлен нарочно - `.pol-body` не управляющий элемент, фокус ему даёт скрипт при открытии слоя; рамка вокруг всего слоя ничего не говорит. Ссылки внутри рамку получают (`guest-ramka-fokusa.css`). */
.pol-sloy > .pol-body { flex: 1 1 auto; min-height: 0; outline: none; }

.pol-wrap { display: flex; flex-direction: column; gap: 14px; padding: 4px 0 8px; max-width: 760px; margin: 0 auto; color: var(--text); }
.pol-h1 { margin: 0; font-size: 26px; line-height: 1.2; font-weight: 800; overflow-wrap: anywhere; }
.pol-ver { display: flex; flex-wrap: wrap; gap: 8px; }
.pol-chip { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--panel-2); font-size: 14px; font-weight: 600; }
.pol-lead { margin: 0; font-size: 16px; line-height: 1.5; }
.pol-toc { display: grid; grid-template-columns: 1fr 1fr; column-gap: 6px; padding: 6px 8px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); }
.pol-toc-t { grid-column: 1 / -1; padding: 8px 6px 2px; font-size: 13px; color: var(--muted); }
.pol-toc a { min-width: 0; display: flex; align-items: center; min-height: 44px; padding: 0 6px; color: var(--text); font-size: 16px; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.pol-toc a::after { content: '›'; margin-left: auto; padding-left: 6px; color: var(--accent); font-size: 22px; }
.pol-sec { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.pol-h2 { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 800; overflow-wrap: anywhere; }
.pol-h3 { margin: 4px 0 0; font-size: 17px; line-height: 1.3; font-weight: 700; overflow-wrap: anywhere; }
.pol-p { margin: 0; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.pol-ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.45; }
.pol-ul li { overflow-wrap: anywhere; }
.pol-box { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); }
.pol-lab { font-size: 13px; line-height: 1.3; color: var(--muted); }
.pol-val { font-size: 16px; line-height: 1.4; font-weight: 700; overflow-wrap: anywhere; }
.pol-note { font-size: 14px; line-height: 1.4; color: var(--muted); overflow-wrap: anywhere; }
.pol-a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.pol-contact a, .pol-box a { display: inline-flex; align-items: center; min-height: 44px; }
.pol-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.pol-th { display: none; }
.pol-wrap .notice { margin: 0; overflow-wrap: anywhere; }
.pol-end { height: 24px; }

@media (min-width: 720px) {
  .pol-grid.cols { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 10px; row-gap: 8px; }
  .pol-grid.cols .pol-th { display: block; padding: 0 14px; font-size: 13px; color: var(--muted); }
  .pol-grid.cols .pol-row { display: contents; }
  .pol-grid.cols .pol-c { padding: 12px 14px; border: 1px solid var(--line); background: var(--panel); overflow-wrap: anywhere; }
  .pol-grid.cols .pol-c:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); border-right: 0; font-weight: 700; }
  .pol-grid.cols .pol-c:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
  .pol-grid:not(.cols) .pol-row { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); }
  .pol-grid:not(.cols) .pol-row .pol-c:first-child { font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
  .pol-grid:not(.cols) .pol-row .pol-c:last-child { font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
}
@media (max-width: 719.98px) {
  .pol-row { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); }
  .pol-row .pol-c:first-child { font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
  .pol-row .pol-c:last-child { font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
}
@media (max-width: 380px) {
  .pol-h1 { font-size: 23px; }
  .pol-h2 { font-size: 18px; }
  .pol-p, .pol-ul, .pol-lead { font-size: 15px; }
  .pol-val { font-size: 15px; }
}

/* Ссылка под текстом согласия: отдельная строка вне галочки, под текстом согласия (макет k03, k04b). */
.pol-ssylka {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  margin: -8px 0 6px 38px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  cursor: pointer;
}

/* Строка «Ваши данные» в панели «О кафе» (макет k02): действие - кнопка вида `.okafe-act`. */
.okafe-privacy .pol-okafe-act { border: 0; background: none; padding: 0; font: inherit; cursor: pointer; text-align: left; }
