.guide-heading {
  margin-bottom: 1rem;
}

.guide-search-card {
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0.35rem 1.2rem rgba(24, 49, 78, 0.05);
}

.guide-search-card .form-label {
  font-weight: 700;
  color: #344b65;
}

.guide-search-card .input-group-text {
  background: #f8fbfe;
  color: #1595cb;
}

.guide-search-input .form-control {
  font-size: 1rem;
}

.guide-search-status {
  min-height: 1.25rem;
  color: #738398;
  font-size: 0.9rem;
}

.guide-quick-start,
.guide-recommended-flow {
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0.35rem 1.2rem rgba(24, 49, 78, 0.05);
}

.guide-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.guide-section-heading h2,
.guide-recommended-copy h2 {
  margin: 0.1rem 0 0.25rem;
  color: #21344a;
  font-size: 1.35rem;
  font-weight: 750;
}

.guide-section-heading p {
  margin: 0;
  color: #66798d;
}

.guide-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.guide-action-card {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  column-gap: 0.8rem;
  row-gap: 0.75rem;
  padding: 1rem;
  border: 1px solid #dce6ef;
  border-radius: 0.85rem;
  background: #fbfdff;
}

.guide-action-icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 0.75rem;
  color: #0b7fb6;
  background: #e8f7fd;
  font-size: 1.2rem;
}

.guide-action-icon-income {
  color: #128554;
  background: #e8f8f0;
}

.guide-action-icon-warning {
  color: #b47700;
  background: #fff5dc;
}

.guide-action-icon-report {
  color: #6652bd;
  background: #f0edff;
}

.guide-action-copy > span {
  color: #708297;
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guide-action-copy h3 {
  margin: 0.1rem 0 0.45rem;
  color: #263a51;
  font-size: 1.05rem;
  font-weight: 750;
}

.guide-action-copy ol {
  display: grid;
  gap: 0.2rem;
  padding-left: 1.15rem;
  margin: 0;
  color: #5d7084;
  font-size: 0.88rem;
}

.guide-action-buttons {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.guide-action-buttons .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.25rem;
  font-size: 0.86rem;
  font-weight: 650;
}

.guide-recommended-flow {
  display: grid;
  grid-template-columns: minmax(12rem, 0.8fr) minmax(0, 2fr) auto;
  align-items: center;
  gap: 1rem;
}

.guide-recommended-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.guide-recommended-steps li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.guide-recommended-steps li > span {
  display: grid;
  flex: 0 0 1.8rem;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #168fc4;
  font-size: 0.78rem;
  font-weight: 800;
}

.guide-recommended-steps strong,
.guide-recommended-steps small {
  display: block;
}

.guide-recommended-steps strong {
  color: #344a62;
  font-size: 0.86rem;
}

.guide-recommended-steps small {
  margin-top: 0.08rem;
  color: #75869a;
  font-size: 0.74rem;
  line-height: 1.25;
}

.guide-setup-button {
  white-space: nowrap;
}

.guide-layout {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.guide-layout > * {
  min-width: 0;
  max-width: 100%;
}

.guide-index {
  position: sticky;
  top: 5.25rem;
  padding: 1rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  background: #fff;
}

.guide-index h2 {
  margin: 0 0 0.75rem;
  color: #263b53;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-index nav {
  display: grid;
  gap: 0.25rem;
}

.guide-index a {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  padding: 0.6rem 0.7rem;
  border-radius: 0.65rem;
  color: #50657d;
  text-decoration: none;
  font-weight: 600;
}

.guide-index a:hover,
.guide-index a:focus {
  color: #0b78ae;
  background: #edf8fd;
}

.guide-index i {
  width: 1.1rem;
  color: #1595cb;
  text-align: center;
}

.guide-content {
  display: grid;
  gap: 1rem;
}

.guide-topic {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 1rem;
  scroll-margin-top: 5.5rem;
  padding: 1.2rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0.35rem 1.2rem rgba(24, 49, 78, 0.04);
}

.guide-topic > div:last-child {
  min-width: 0;
}

.guide-topic[hidden] {
  display: none;
}

.guide-topic-icon {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  border-radius: 0.9rem;
  color: #0b7fb6;
  background: #e8f7fd;
  font-size: 1.35rem;
}

.guide-topic-kicker {
  color: #1389bd;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.guide-topic h2 {
  margin: 0.1rem 0 0.6rem;
  color: #21344a;
  font-size: 1.35rem;
  font-weight: 750;
}

.guide-topic p,
.guide-topic li {
  color: #566b81;
}

.guide-steps,
.guide-checklist {
  display: grid;
  gap: 0.45rem;
  margin: 0.8rem 0;
}

.guide-checklist {
  padding-left: 0;
  list-style: none;
}

.guide-checklist li {
  position: relative;
  padding-left: 1.55rem;
}

.guide-checklist li::before {
  position: absolute;
  left: 0;
  color: #15965d;
  font-family: "bootstrap-icons";
  content: "\f26a";
}

.guide-callout {
  display: flex;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
  margin: 0.8rem 0;
  border-left: 3px solid #1595cb;
  border-radius: 0.55rem;
  color: #425a73;
  background: #edf8fd;
}

.guide-callout-warning {
  border-left-color: #e3a51b;
  background: #fff8e8;
}

.guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.guide-links a {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border: 1px solid #c9d7e5;
  border-radius: 0.55rem;
  color: #275b82;
  background: #fff;
  text-decoration: none;
  font-weight: 650;
}

.guide-links a:hover,
.guide-links a:focus {
  border-color: #1595cb;
  color: #0875a9;
  background: #f2fbff;
}

.guide-visual {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid #d5e0ea;
  border-radius: 0.8rem;
  background: #f5f8fb;
  text-align: left;
  box-shadow: 0 0.3rem 1rem rgba(25, 53, 82, 0.08);
}

.guide-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 25rem;
  object-fit: cover;
  object-position: top left;
  transition: transform 180ms ease;
}

.guide-visual span {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(19, 48, 76, 0.92);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 0.2rem 0.7rem rgba(17, 40, 64, 0.2);
}

.guide-visual:hover img,
.guide-visual:focus-visible img {
  transform: scale(1.012);
}

.guide-visual:focus-visible {
  outline: 3px solid rgba(13, 110, 253, 0.35);
  outline-offset: 2px;
}

.guide-image-modal .modal-content {
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
}

.guide-image-modal .modal-body {
  padding: 0;
  overflow: auto;
  background: #eaf0f6;
}

.guide-modal-image {
  display: block;
  width: 100%;
  min-width: min(72rem, 100%);
  height: auto;
}

.guide-no-results {
  padding: 3rem 1rem;
  border: 1px dashed #cbd7e2;
  border-radius: 1rem;
  text-align: center;
}

.guide-no-results h2 {
  margin-top: 0.75rem;
  font-size: 1.2rem;
}

.guide-platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.guide-platform {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #dbe5ee;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0.35rem 1rem rgba(25, 54, 78, 0.05);
}

.guide-platform header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.guide-platform h3 {
  margin: 0 0 0.1rem;
  font-size: 1rem;
}

.guide-platform-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  color: #168bc1;
  background: #eaf7fd;
  font-size: 1.2rem;
}

.guide-browser-label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #6f7e8d;
  font-size: 0.78rem;
}

.guide-browser-label i {
  color: #168bc1;
}

.guide-install-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid #dbe5ee;
  border-radius: 0.9rem;
  background: #f8fafc;
}

.guide-install-heading > div {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.guide-install-heading strong,
.guide-install-heading span {
  display: block;
}

.guide-install-heading > div > div > span {
  color: #6f7e8d;
  font-size: 0.84rem;
}

.guide-install-heading-icon {
  display: inline-grid !important;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  color: #fff;
  background: #168bc1;
}

.guide-install-time {
  flex: 0 0 auto;
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  color: #607284;
  font-size: 0.82rem;
}

.guide-device-demo {
  position: relative;
  min-height: 8.4rem;
  margin-bottom: 0.95rem;
  overflow: hidden;
  border: 1px solid #d5e1eb;
  border-radius: 0.8rem;
  background: linear-gradient(145deg, #f4f8fb, #eaf1f7);
}

.guide-device-demo-phone {
  max-width: 17rem;
  margin-right: auto;
  margin-left: auto;
}

.guide-demo-bar,
.guide-demo-menubar,
.guide-demo-toolbar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid #d5e1eb;
  background: #fff;
  color: #536779;
  font-size: 0.72rem;
}

.guide-demo-address {
  min-width: 0;
  flex: 1;
  padding: 0.32rem 0.55rem;
  overflow: hidden;
  border-radius: 999px;
  background: #eef3f7;
  color: #607284;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guide-demo-menu {
  position: absolute;
  top: 2.65rem;
  right: 0.55rem;
  display: grid;
  min-width: 10.5rem;
  padding: 0.35rem;
  border: 1px solid #d6e0e9;
  border-radius: 0.55rem;
  background: #fff;
  box-shadow: 0 0.45rem 1.1rem rgba(24, 50, 71, 0.14);
  font-size: 0.72rem;
}

.guide-demo-menu span,
.guide-demo-menu strong {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.5rem;
  border-radius: 0.35rem;
}

.guide-demo-menu strong,
.guide-demo-callout,
.guide-demo-install-icon {
  color: #087daf;
  background: #e8f6fc;
}

.guide-demo-screen {
  display: grid;
  place-items: center;
  min-height: 4.5rem;
  color: #31485d;
  font-weight: 700;
}

.guide-demo-toolbar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  justify-content: space-around;
  border-top: 1px solid #d5e1eb;
  border-bottom: 0;
}

.guide-demo-toolbar strong {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 0.45rem;
  color: #087daf;
  background: #dff2fb;
}

.guide-demo-callout {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.6rem;
  border-radius: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
}

.guide-device-demo-phone .guide-demo-callout {
  right: auto;
  bottom: 2.75rem;
  left: 50%;
  width: max-content;
  max-width: calc(100% - 1rem);
  transform: translateX(-50%);
}

.guide-demo-window-controls {
  display: flex;
  gap: 0.3rem;
  padding: 0.45rem 0.6rem;
  border-bottom: 1px solid #d5e1eb;
  background: #fff;
}

.guide-demo-window-controls i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #b8c7d3;
}

.guide-demo-install-icon {
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.45rem;
}

.guide-demo-menubar {
  border-bottom: 0;
}

.guide-demo-menu-mac {
  top: 3.1rem;
  right: auto;
  left: 3.3rem;
}

.guide-install-steps {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-install-steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: #526578;
  font-size: 0.84rem;
  line-height: 1.4;
}

.guide-install-steps li > span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  color: #087daf;
  background: #e8f6fc;
  font-size: 0.72rem;
  font-weight: 800;
}

.guide-install-help {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid #f0d99b;
  border-radius: 0.9rem;
  background: #fffaf0;
}

.guide-install-help-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: #976700;
  background: #fff0c7;
}

.guide-install-help strong {
  display: block;
  margin-bottom: 0.2rem;
}

.guide-install-help p {
  margin: 0;
  color: #6c6250;
  font-size: 0.84rem;
}

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

  .guide-recommended-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-setup-button {
    justify-self: start;
  }

  .guide-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .guide-index {
    position: static;
    width: 100%;
    overflow: hidden;
  }

  .guide-index nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .guide-section-heading {
    display: grid;
    align-items: start;
  }

  .guide-section-heading .btn {
    width: 100%;
  }

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

  .guide-action-card {
    padding: 0.85rem;
  }

  .guide-action-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-action-buttons .btn {
    justify-content: center;
  }

  .guide-action-buttons .btn:only-child,
  .guide-action-buttons .btn:nth-child(3) {
    grid-column: 1 / -1;
  }

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

  .guide-setup-button {
    width: 100%;
  }

  .guide-search-input .form-control {
    min-width: 0;
    font-size: 0.875rem;
  }

  .guide-search-card,
  .guide-index,
  .guide-topic {
    border-radius: 0.8rem;
  }

  .guide-index nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-topic {
    grid-template-columns: 1fr;
    width: 100%;
    padding: 1rem;
  }

  .guide-topic-icon {
    width: 2.75rem;
    height: 2.75rem;
  }

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

  .guide-install-heading {
    align-items: flex-start;
  }

  .guide-install-time {
    margin-top: 0.3rem;
  }

  .guide-links {
    display: grid;
  }

  .guide-links a {
    justify-content: center;
  }

  .guide-visual img {
    max-height: 14rem;
  }

  .guide-visual span {
    right: 0.5rem;
    bottom: 0.5rem;
  }
}
