/* anagen.app/pomoc: help centre. Loaded after /styles.css and uses its tokens (Manrope, Espresso, Copper only as accent,
   Sand lines, Milk background). Light only. Nothing here changes the home page. */

.pm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pm-body .nav { border-bottom: 1px solid var(--line); }
.pm-body .nav-links a[aria-current="page"] { color: var(--espresso); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--copper); text-decoration-thickness: 2px; }
.pm a:not(.btn) { color: var(--espresso); }

/* ------------------------------------------------------------------ hub */
.pm-hero { position: relative; overflow: hidden; isolation: isolate; padding: 72px 0 40px; }
.pm-hero .hero-kv { position: absolute; z-index: -1; top: -120px; right: -260px; width: 1000px; max-width: none; opacity: .55; pointer-events: none; }
.pm-hero h1 { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.12; font-weight: 500; }
.pm-hero .lead { margin-top: 16px; }
.pm-search { position: relative; margin-top: 32px; max-width: 640px; }
.pm-search svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--text-3, #6D625E); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.pm-search input { width: 100%; height: 56px; padding: 0 18px 0 50px; border: 1px solid var(--border-control); border-radius: var(--r-c); background: var(--white);
  font: 500 17px/1 "Manrope", "Segoe UI", Arial, sans-serif; color: var(--black); -webkit-appearance: none; appearance: none; }
.pm-search input:focus { outline: 2px solid var(--espresso); outline-offset: 2px; }
.pm-search input::placeholder { color: var(--text-3, #6D625E); }
.pm-results { margin-top: 12px; max-width: 640px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-c); padding: 6px; }
.pm-results a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 14px; border-radius: var(--r-s); color: var(--black) !important; font-weight: 600; }
.pm-results a:hover, .pm-results a:focus-visible { background: var(--sand-soft); }
.pm-results small { flex: none; font-weight: 500; font-size: 13px; color: var(--text-3, #6D625E); }
.pm-results p { padding: 12px 14px; color: var(--text-2); }
.pm-results p a { display: inline; padding: 0; text-decoration: underline; }

.pm-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 20px; padding: 16px 0 24px; }
.pm-cats[hidden] { display: none; }
.pm-cat { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-p); padding: 26px 26px 22px; scroll-margin-top: 96px; }
.pm-cat h2 { font-size: 21px; line-height: 1.3; }
.pm-cat > p { margin-top: 6px; font-size: 15px; color: var(--text-3, #6D625E); }
.pm-cat ul { margin-top: 14px; display: grid; gap: 2px; }
.pm-cat li a { display: block; padding: 7px 0; font-weight: 500; line-height: 1.4; color: var(--black) !important; border-bottom: 1px solid var(--line-soft); }
.pm-cat li:last-child a { border-bottom: 0; }
.pm-cat li a:hover { color: var(--espresso) !important; text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: 4px; }
.pm-hub-foot { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; padding: 8px 0 96px; }
.pm-hub-contact { padding: 26px; border-radius: var(--r-p); border: 1px dashed var(--border-control); }
.pm-hub-contact h2 { font-size: 21px; }
.pm-hub-contact p { margin-top: 8px; color: var(--text-2); }
.pm-hub-contact a { text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------ article */
.pm-crumbs { padding-top: 28px; }
.pm-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; color: var(--text-3, #6D625E); }
.pm-crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.pm-crumbs li + li::before { content: "›"; margin: 0 8px; color: var(--copper); }
.pm-crumbs a { color: var(--text-3, #6D625E) !important; }
.pm-crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pm-crumbs a[aria-current] { color: var(--black) !important; }

.pm-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; padding: 20px 0 104px; }
.pm-article { min-width: 0; max-width: 760px; }
.pm-kicker { font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.pm-kicker a { color: var(--copper) !important; }
.pm-article h1 { margin-top: 8px; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.16; font-weight: 500; }
.pm-lead { margin-top: 16px; font-size: 18px; line-height: 1.6; color: var(--text-2); }
.pm-article h2 { margin: 44px 0 14px; font-size: 22px; line-height: 1.3; }
.pm-article p, .pm-article li, .pm-article td, .pm-article th { font-size: 16px; line-height: 1.65; color: #2B2220; }
.pm-article p + p { margin-top: 12px; }
.pm-article p a, .pm-article li a { text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: 3px; }
.pm-article b { font-weight: 600; color: var(--black); }
.pm-article kbd { display: inline-block; min-width: 1.6em; padding: 1px 6px; border: 1px solid var(--border-control); border-bottom-width: 2px; border-radius: var(--r-s);
  background: var(--white); font: 600 13px/1.5 "Manrope", "Segoe UI", Arial, sans-serif; text-align: center; color: var(--black); white-space: nowrap; }

.pm-steps { counter-reset: pm; display: grid; gap: 14px; margin: 6px 0 0; }
.pm-steps > li { counter-increment: pm; position: relative; padding-left: 44px; }
.pm-steps > li::before { content: counter(pm); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--espresso); color: var(--white);
  display: grid; place-items: center; font-size: 14px; font-weight: 600; line-height: 1; }
.pm-list { display: grid; gap: 10px; padding-left: 22px; list-style: disc; margin-top: 6px; }
.pm-list li::marker { color: var(--copper); }

.pm-fig { margin: 26px 0; }
.pm-fig a { display: block; border-radius: var(--r-c); overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: 0 18px 40px -30px rgba(64, 46, 42, .45); }
.pm-fig img { width: 100%; height: auto; }
.pm-fig figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--text-3, #6D625E); }
.pm-figs2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.pm-figs2 .pm-fig { margin: 14px 0; }

.pm-table { width: 100%; margin-top: 8px; border-collapse: collapse; }
.pm-table th { text-align: left; font-weight: 600; font-size: 14px; color: var(--text-3, #6D625E); padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); }
.pm-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.pm-table td:first-child { white-space: nowrap; width: 1%; }

.pm-related { margin-top: 48px; padding-top: 8px; border-top: 1px solid var(--line); }
.pm-related h2 { margin-top: 28px; }
.pm-related ul { display: grid; gap: 8px; }
.pm-related a { font-weight: 600; }
.pm-help { margin-top: 32px; padding: 16px 18px; border-radius: var(--r-c); background: var(--sand-soft); font-size: 15px !important; }

.pm-side { position: sticky; top: 96px; display: grid; gap: 20px; }
.pm-toc { padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-p); }
.pm-toc-h { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3, #6D625E); }
.pm-toc ul { margin-top: 10px; display: grid; gap: 2px; }
.pm-toc li a { display: block; padding: 6px 10px; margin: 0 -10px; border-radius: var(--r-s); font-size: 15px; line-height: 1.4; font-weight: 500; color: var(--black) !important; }
.pm-toc li a:hover { background: var(--sand-soft); }
.pm-toc li a[aria-current="page"] { background: var(--sand-soft); color: var(--espresso) !important; font-weight: 600; }
.pm-toc-all { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: 3px; }

/* the quiet sales block for visitors before purchase */
.pm-buy { padding: 22px; border-radius: var(--r-p); background: var(--sand-soft); border: 1px solid var(--line); }
.pm-buy-h { font-weight: 600; font-size: 16px; color: var(--black); }
.pm-buy-p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.pm-buy-row { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.pm-buy-video { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--espresso); text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: 3px; }
.pm-buy-video svg { width: 18px; height: 18px; fill: var(--copper); }

.pm-body .foot-bottom a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 960px) {
  .pm-layout { grid-template-columns: 1fr; gap: 40px; padding-bottom: 80px; }
  .pm-side { position: static; }
  .pm-hub-foot { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pm-body .wrap { width: calc(100% - 32px); }
  .pm-hero { padding: 40px 0 24px; }
  .pm-hero .hero-kv { width: 640px; right: -360px; top: -40px; opacity: .4; }
  .pm-search input { height: 52px; font-size: 16px; }
  .pm-cat { padding: 22px 20px 18px; }
  .pm-crumbs { padding-top: 18px; }
  .pm-figs2 { grid-template-columns: 1fr; }
  .pm-article h2 { margin-top: 36px; font-size: 20px; }
  .pm-steps > li { padding-left: 40px; }
  .pm-table td:first-child { white-space: normal; }
  .pm-body .nav .btn-sm { padding: 0 12px; font-size: 14px; }
  .pm-body .logo img { width: 150px; }
}
