.pohoda-guide {
  --pohoda-ink: #172938;
  --pohoda-muted: #66798a;
  --pohoda-line: #dfe7ec;
  --pohoda-soft: #f5f8fa;
  --pohoda-accent: #148f83;
  --pohoda-accent-soft: #e5f8f5;
  --pohoda-warning: #fff7df;
  color: var(--pohoda-ink);
  background: #fff;
  border: 1px solid var(--pohoda-line);
  border-radius: 8px;
  overflow: hidden;
}

.pohoda-guide__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 22px 24px;
  border-bottom: 1px solid var(--pohoda-line);
}

.pohoda-guide__eyebrow {
  margin-bottom: 5px;
  color: var(--pohoda-accent);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.pohoda-guide h2 {
  margin: 0;
  color: var(--pohoda-ink);
  font-size: 23px;
  line-height: 1.25;
}

.pohoda-guide__lead {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--pohoda-muted);
  font-size: 14px;
  line-height: 1.55;
}

.pohoda-guide__source {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid #bfe2dd;
  border-radius: 6px;
  color: #116d64;
  background: #f4fbfa;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  text-decoration: none;
}

.pohoda-guide__source:hover {
  border-color: var(--pohoda-accent);
  background: var(--pohoda-accent-soft);
}

.pohoda-guide__before {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 24px;
  background: var(--pohoda-soft);
  border-bottom: 1px solid var(--pohoda-line);
}

.pohoda-guide__before strong {
  color: var(--pohoda-ink);
  font-size: 13px;
}

.pohoda-guide__before ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--pohoda-muted);
  font-size: 13px;
  line-height: 1.45;
}

.pohoda-guide__before li::before {
  content: "\2713";
  margin-right: 6px;
  color: var(--pohoda-accent);
  font-weight: 900;
}

.pohoda-guide__step {
  display: grid;
  grid-template-columns: 38px minmax(230px, .75fr) minmax(320px, 1.25fr);
  gap: 16px;
  align-items: start;
  padding: 20px 24px;
  border-bottom: 1px solid var(--pohoda-line);
}

.pohoda-guide__step:last-of-type {
  border-bottom: 0;
}

.pohoda-guide__number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  color: #fff;
  background: var(--pohoda-ink);
  font-size: 14px;
  font-weight: 850;
}

.pohoda-guide__copy h3 {
  margin: 1px 0 7px;
  color: var(--pohoda-ink);
  font-size: 16px;
  line-height: 1.35;
}

.pohoda-guide__copy p,
.pohoda-guide__copy li,
.pohoda-guide__screen-caption,
.pohoda-guide__tip,
.pohoda-guide__trouble p {
  color: var(--pohoda-muted);
  font-size: 13px;
  line-height: 1.5;
}

.pohoda-guide__copy p {
  margin: 0;
}

.pohoda-guide__copy ul {
  margin: 9px 0 0;
  padding-left: 18px;
}

.pohoda-guide__copy code {
  padding: 2px 5px;
  border: 1px solid #d8e2e8;
  border-radius: 4px;
  background: #f7f9fa;
  color: #30485b;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
}

.pohoda-guide__download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: 12px;
  padding: 8px 12px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--pohoda-accent);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.pohoda-guide__menu-path {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 54px;
  padding: 12px;
  border: 1px solid var(--pohoda-line);
  background: var(--pohoda-soft);
}

.pohoda-guide__menu-path span {
  padding: 7px 9px;
  border: 1px solid #cbd8e0;
  border-radius: 4px;
  background: #fff;
  color: #344b5d;
  font-size: 12px;
  font-weight: 700;
}

.pohoda-guide__menu-path i {
  color: #8a9aa8;
  font-style: normal;
}

.pohoda-guide__screen {
  margin: 0;
  min-width: 0;
}

.pohoda-guide__screen a {
  display: block;
  border: 1px solid #cfdbe2;
  background: #eef3f6;
  overflow: hidden;
}

.pohoda-guide__screen img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
}

.pohoda-guide__screen-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  font-size: 11px;
}

.pohoda-guide__screen-caption a {
  display: inline;
  border: 0;
  color: var(--pohoda-accent);
  background: transparent;
  font-weight: 750;
  text-decoration: underline;
}

.pohoda-guide__tip {
  margin-top: 12px;
  padding: 10px 11px;
  border-left: 3px solid var(--pohoda-accent);
  background: var(--pohoda-accent-soft);
  color: #315d59;
}

.pohoda-guide__warning {
  margin: 0;
  padding: 13px 24px;
  border-top: 1px solid #efd994;
  border-bottom: 1px solid #efd994;
  background: var(--pohoda-warning);
  color: #684f16;
  font-size: 13px;
  line-height: 1.5;
}

.pohoda-guide__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px 24px 20px;
}

.pohoda-guide__trouble summary {
  color: var(--pohoda-ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.pohoda-guide .pohoda-guide__trouble {
  margin: 0;
  padding: 0;
  border: 0;
}

.pohoda-guide__trouble p {
  margin: 8px 0 0;
}

.pohoda-guide__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.pohoda-guide__links a {
  color: var(--pohoda-accent);
  font-size: 12px;
  font-weight: 750;
  text-decoration: underline;
}

.pohoda-guide--modal {
  border: 0;
}

.pohoda-guide--modal .pohoda-guide__header {
  padding-right: 66px;
}

@media (max-width: 820px) {
  .pohoda-guide__header,
  .pohoda-guide__footer {
    grid-template-columns: 1fr;
  }

  .pohoda-guide__source {
    width: fit-content;
    white-space: normal;
  }

  .pohoda-guide__before {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pohoda-guide__step {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .pohoda-guide__visual,
  .pohoda-guide__screen {
    grid-column: 2;
  }

  .pohoda-guide__links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .pohoda-guide__header,
  .pohoda-guide__before,
  .pohoda-guide__step,
  .pohoda-guide__footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .pohoda-guide__step {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
  }

  .pohoda-guide__number {
    width: 30px;
    height: 30px;
  }

  .pohoda-guide__warning {
    padding: 12px 14px;
  }
}
