.howto-guide,
.howto-guide *,
.howto-guide *::before,
.howto-guide *::after {
  box-sizing: border-box;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.guide-step {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid #d8dde5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(11, 37, 69, .08);
  color: #172033;
}

.guide-step-heading {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}

.guide-step-number {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #0b2545;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.guide-step h3 {
  margin: 0;
  color: #0b2545;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}

.guide-visual {
  width: 100%;
  height: 176px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 15px;
  border-radius: 14px;
  background: linear-gradient(145deg, #edf3f8, #f9f6ee);
}

.guide-phone-screen {
  width: 118px;
  height: 156px;
  padding: 10px;
  border: 4px solid #0b2545;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(11, 37, 69, .16);
}

.guide-ui-bar {
  display: flex;
  gap: 3px;
  margin-bottom: 10px;
}

.guide-ui-bar span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c8a45d;
}

.guide-ui-title,
.guide-ui-field,
.guide-ui-button,
.guide-ui-link,
.guide-status-copy i {
  display: block;
  border-radius: 5px;
}

.guide-ui-title {
  width: 58%;
  height: 7px;
  margin-bottom: 10px;
  background: #0b2545;
}

.guide-ui-field {
  width: 100%;
  height: 19px;
  margin-bottom: 7px;
  border: 1px solid #d8dde5;
  background: #f8fafc;
}

.guide-ui-field-short {
  margin-bottom: 9px;
}

.guide-ui-button {
  width: 100%;
  height: 18px;
  margin-top: 7px;
  background: #0b2545;
}

.guide-ui-button-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8dde5;
  background: #fff;
  color: #0b2545;
  font-size: 9px;
}

.guide-dashboard-screen {
  padding-top: 10px;
}

.guide-status-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border-radius: 10px;
  background: #f7f4ec;
}

.guide-qr-code {
  width: 48px;
  height: 48px;
  border: 5px solid #fff;
  background:
    repeating-conic-gradient(#0b2545 0 25%, #fff 0 50%) 0 / 10px 10px;
  box-shadow: 0 0 0 1px #d8dde5;
}

.guide-status-copy {
  display: grid;
  gap: 6px;
}

.guide-status-copy i {
  width: 100%;
  height: 5px;
  background: #aeb8c4;
}

.guide-status-copy i:first-child {
  width: 70%;
  background: #0b2545;
}

.guide-ui-link {
  width: 62%;
  height: 5px;
  margin: 8px auto 0;
  background: #c8a45d;
}

.guide-attach-scene {
  width: 172px;
  height: 128px;
  position: relative;
}

.guide-item {
  position: absolute;
  background: #0b2545;
  box-shadow: 0 8px 16px rgba(11, 37, 69, .16);
}

.guide-item-wallet {
  width: 88px;
  height: 60px;
  left: 4px;
  bottom: 8px;
  border-radius: 10px;
}

.guide-item-bag {
  width: 62px;
  height: 76px;
  right: 2px;
  top: 8px;
  border-radius: 18px 18px 9px 9px;
  background: #c8a45d;
}

.guide-item-bag::before {
  width: 30px;
  height: 18px;
  position: absolute;
  top: -12px;
  left: 16px;
  border: 5px solid #c8a45d;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  content: '';
}

.guide-item-key {
  width: 58px;
  height: 20px;
  right: 26px;
  bottom: 4px;
  border-radius: 10px;
  transform: rotate(-10deg);
  background: #718096;
}

.guide-qr-tag {
  width: 29px;
  height: 29px;
  position: absolute;
  right: 7px;
  bottom: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  border-radius: 5px;
  background: #fff;
  color: #0b2545;
  font-size: 8px;
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}

.guide-nfc-tag {
  min-width: 34px;
  height: 24px;
  position: absolute;
  right: -10px;
  bottom: -3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 3px solid #fff;
  border-radius: 12px;
  background: #227245;
  color: #fff;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .04em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}

.guide-item-key .guide-qr-tag {
  width: 24px;
  height: 24px;
  right: -8px;
  bottom: -2px;
}

.guide-notification {
  width: 176px;
  padding: 15px;
  border: 1px solid #d8dde5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(11, 37, 69, .14);
}

.guide-notification-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  float: left;
  margin-right: 9px;
  border-radius: 10px;
  background: #e8f5ed;
  color: #227245;
  font-size: 17px;
}

.guide-notification-copy {
  display: grid;
  gap: 7px;
  padding-top: 3px;
}

.guide-notification-copy b,
.guide-notification-copy span,
.guide-notification-meta,
.guide-notification-map span {
  display: block;
  height: 6px;
  border-radius: 4px;
  background: #0b2545;
}

.guide-notification-copy span {
  width: 74%;
  background: #aeb8c4;
}

.guide-notification-map {
  clear: both;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  padding: 9px;
  border-radius: 9px;
  background: #f7f4ec;
}

.guide-notification-map i {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 5px solid #c8a45d;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.guide-notification-map span {
  width: 72%;
  background: #718096;
}

.guide-notification-meta {
  width: 48%;
  margin-top: 10px;
  background: #d8dde5;
}

.guide-step-description {
  margin: 0 0 10px;
  color: #596579;
  font-size: 13px;
  line-height: 1.65;
}

.guide-step-note {
  margin: 0 0 12px;
  padding: 10px 11px;
  border-radius: 10px;
  background: #e8f5ed;
  color: #24563c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.guide-step-note > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 20px;
  margin-right: 7px;
  padding: 0 5px;
  border-radius: 10px;
  background: #227245;
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .05em;
  vertical-align: 1px;
}

.guide-step-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-step-list li {
  position: relative;
  margin: 0;
  padding-left: 20px;
  color: #39465a;
  font-size: 12px;
  line-height: 1.55;
}

.guide-step-list li::before {
  width: 14px;
  height: 14px;
  position: absolute;
  top: 2px;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e8f5ed;
  color: #227245;
  content: '\2713';
  font-size: 9px;
  font-weight: 900;
}

.howto-page {
  background: #eef1f5;
  color: #172033;
}

.howto-page .container.how {
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
  margin: 32px auto 56px;
  padding: 36px;
  border: 0;
  border-radius: 20px;
  background: #f7f4ec;
  box-shadow: 0 10px 28px rgba(10, 23, 43, .12);
}

.howto-page .contents {
  width: 100%;
  padding: 0;
}

.howto-page .container.how .contents > .catch {
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  color: #0b2545;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.howto-page .container.how p.guide-lead {
  max-width: 680px;
  margin: 0 auto 32px;
  color: #596579;
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
}

.guide-settings {
  margin-top: 30px;
  padding: 26px;
  border: 1px solid #d8dde5;
  border-radius: 18px;
  background: #fff;
}

.guide-settings > h2 {
  margin: 0 0 20px;
  color: #0b2545;
  font-size: 20px;
  text-align: center;
}

.guide-settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.guide-setting-card {
  min-width: 0;
  padding: 18px;
  border-radius: 14px;
  background: #f7f4ec;
  text-align: center;
}

.guide-setting-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 13px;
  background: #0b2545;
  color: #fff;
  font-size: 20px;
}

.guide-setting-card h3 {
  margin: 0 0 7px;
  color: #0b2545;
  font-size: 15px;
}

.howto-page .guide-setting-card p {
  margin: 0;
  color: #596579;
  font-size: 12px;
  line-height: 1.65;
}

.guide-cta {
  margin-top: 28px;
  text-align: center;
}

.guide-cta a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 11px;
  background: #0b2545;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.howto-page .guide-cta p {
  margin: 10px 0 0;
  color: #718096;
  font-size: 11px;
}

@media (max-width: 1100px) {
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .guide-step {
    padding: 16px;
  }

  .guide-visual {
    height: 160px;
  }

  .howto-page .container.how {
    width: 100%;
    margin: 0 auto 32px;
    padding: 28px 16px 38px;
    border-radius: 0;
  }

  .guide-settings {
    padding: 18px;
  }

  .guide-settings-grid {
    grid-template-columns: 1fr;
  }
}
