.smb-guide {
  max-width: 960px;
  line-height: 1.75;
}

.smb-intro {
  margin-block: 1.5rem;
}

.smb-intro .page-title {
  margin-block: .35rem .75rem;
}

.smb-cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .75rem;
}

.smb-topics {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid #ded4bf;
}

.smb-topics a {
  text-underline-offset: .2em;
}

.smb-guide section {
  margin-block: 1.5rem;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid #ded4bf;
  border-radius: .75rem;
  scroll-margin-block-start: 6rem;
}

.smb-guide section h2 {
  margin-block: 1.75rem .5rem;
}

.smb-guide section > h2:first-child {
  margin-block-start: 0;
}

.smb-guide small {
  display: block;
  margin-block: 1rem;
  font-size: .9rem;
}

.smb-table {
  overflow-x: auto;
  margin-block: 1rem;
}

.smb-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}

.smb-table :is(th, td) {
  padding: .65rem;
  text-align: start;
  border-bottom: 1px solid #ded4bf;
}

.smb-table th {
  background-color: #f3efe5;
}

.smb-guide .steps {
  display: grid;
  gap: .5rem;
}

.smb-guide .steps div,
.smb-guide .tile {
  padding: .75rem 1rem;
  background: #edf3f5;
  border-radius: .5rem;
}

.smb-guide .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: .75rem;
  margin-block: 1rem;
}

.smb-guide .tile strong {
  display: block;
  font-size: 1.4rem;
  font-variant-numeric: tabular-nums;
  unicode-bidi: isolate;
}

.smb-guide input[type="number"] {
  display: block;
  width: 100%;
  padding: .65rem;
  margin-top: .25rem;
  border: 1px solid #6e8391;
  border-radius: .4rem;
  font: inherit;
}

.smb-guide #questions label {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding-block: .4rem;
}

.smb-guide #questions input {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
}

.smb-guide .bar {
  min-width: min(100%, 10rem);
  padding: .3rem .65rem;
  margin-block: .4rem;
  border-radius: .3rem;
  background: #226c7e;
  color: #fff;
}

.smb-guide #budget-by-industry {
  scroll-margin-block-start: 6rem;
}

@media (max-width: 600px) {
  .smb-table table {
    min-width: 18rem;
    font-size: 1rem;
  }

  .smb-topics a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
