/**
 * Compact online-tools catalog — matches navy / gold landing cards.
 */

html:has(body.si-otools-page) {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.si-otools-page) {
    scroll-behavior: auto;
  }
}

.si-page .si-otools.si-reveal,
.si-page .si-otools-wrap.si-reveal,
.si-landing .si-otools-wrap.si-reveal {
  opacity: 1;
  transform: none;
}

.si-otools-wrap,
.si-page .si-otools-wrap {
  margin: 18px 0 0;
}

.si-otools-search,
.si-page .si-otools-search,
.si-about .si-otools-search {
  position: relative;
  z-index: 12;
  margin: 0;
}

.si-otools-search__label,
.si-page .si-otools-search__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.si-otools-search__bar,
.si-page .si-otools-search__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid #e3e6ee;
  background: var(--si-white, #fff);
  box-shadow: 0 6px 18px rgba(28, 33, 64, 0.08);
}

.si-otools-search__field,
.si-page .si-otools-search__field {
  position: relative;
  flex: 1 1 180px;
  min-width: 0;
}

.si-otools-search__input,
.si-page .si-otools-search__input {
  display: block;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  height: 42px;
  padding: 0 14px 0 40px;
  border: 1px solid #e3e6ee;
  border-radius: 8px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c2140' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") 12px center / 16px 16px no-repeat,
    #fff;
  color: var(--si-navy-deep, #1c2140);
  font-family: "Qanelas", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 42px;
  outline: none;
}

.si-otools-search__input::placeholder,
.si-page .si-otools-search__input::placeholder {
  color: rgba(58, 66, 112, 0.55);
}

.si-otools-search__input::-webkit-search-decoration,
.si-otools-search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.si-otools-search__input:focus,
.si-page .si-otools-search__input:focus {
  border-color: rgba(255, 188, 94, 0.75);
  box-shadow: 0 0 0 3px rgba(255, 219, 110, 0.28);
}

.si-otools-search__submit,
.si-page .si-otools-search__submit {
  flex: 0 0 auto;
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: var(--si-gold-grad, linear-gradient(137.84deg, #ffdb6e 26.31%, #ffbc5e 93.75%));
  color: var(--si-navy-deep, #1c2140);
  font-family: "Qanelas", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.si-otools-search__submit:hover,
.si-page .si-otools-search__submit:hover,
.si-otools-search__submit:focus-visible,
.si-page .si-otools-search__submit:focus-visible {
  background: var(--si-gold-grad-rev, linear-gradient(137.84deg, #ffbc5e 26.31%, #ffdb6e 93.75%));
}

.si-otools-search__submit:focus-visible,
.si-page .si-otools-search__submit:focus-visible {
  outline: 2px solid #ffbc5e;
  outline-offset: 2px;
}

.si-otools-search__clear,
.si-page .si-otools-search__clear {
  flex: 0 0 auto;
  color: var(--si-navy-soft, #3a4270);
  font-family: "Qanelas", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.si-otools-search__clear:hover,
.si-page .si-otools-search__clear:hover {
  color: var(--si-navy-deep, #1c2140);
}

.si-otools-search__suggest,
.si-page .si-otools-search__suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  display: block;
  box-sizing: border-box;
  margin: 0;
  padding: 6px;
  list-style: none;
  max-height: 280px;
  overflow: auto;
  border-radius: 12px;
  border: 1px solid #e3e6ee;
  background: #fff;
  box-shadow: 0 12px 32px rgba(28, 33, 64, 0.14);
}

.si-otools-search__suggest[hidden],
.si-page .si-otools-search__suggest[hidden] {
  display: none;
}

.si-otools-search__suggest-item,
.si-page .si-otools-search__suggest-item {
  margin: 0;
  padding: 0;
}

.si-otools-search__suggest-link,
.si-page .si-otools-search__suggest-link {
  display: block;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--si-navy-deep, #1c2140);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.si-otools-search__suggest-link:hover,
.si-page .si-otools-search__suggest-link:hover,
.si-otools-search__suggest-link:focus-visible,
.si-page .si-otools-search__suggest-link:focus-visible,
.si-otools-search__suggest-link.is-active,
.si-page .si-otools-search__suggest-link.is-active {
  background: rgba(255, 219, 110, 0.28);
  color: var(--si-navy-deep, #1c2140);
  outline: none;
}

.si-otools-search__suggest-name,
.si-page .si-otools-search__suggest-name {
  display: block;
  font-family: "Qanelas", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

.si-otools-search__suggest-meta,
.si-page .si-otools-search__suggest-meta {
  display: block;
  margin-top: 3px;
  color: var(--si-navy-soft, #3a4270);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.si-otools-search__suggest-empty,
.si-page .si-otools-search__suggest-empty {
  padding: 10px 12px;
  color: var(--si-navy-soft, #3a4270);
  font-size: 13px;
  line-height: 1.4;
}

.si-otools,
.si-page .si-otools {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.si-otools__jump,
.si-page .si-otools__jump {
  position: static;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.si-otools__jump-link,
.si-page .si-otools__jump-link {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  box-sizing: border-box;
  min-height: 92px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(245, 205, 121, 0.14);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 219, 110, 0.08), transparent 55%),
    linear-gradient(165deg, #232849 0%, #1c2140 60%, #151933 100%);
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-family: "Qanelas", sans-serif;
  transition: background 0.25s var(--si-ease, cubic-bezier(0.22, 1, 0.36, 1)),
    color 0.25s var(--si-ease, cubic-bezier(0.22, 1, 0.36, 1)),
    border-color 0.25s var(--si-ease, cubic-bezier(0.22, 1, 0.36, 1)),
    transform 0.25s var(--si-ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.si-otools__jump-copy,
.si-page .si-otools__jump-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.si-otools__jump-title,
.si-page .si-otools__jump-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
}

.si-otools__jump-lead,
.si-page .si-otools__jump-lead {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.si-otools__jump-count,
.si-page .si-otools__jump-count {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 30px;
  height: 30px;
  padding: 0 6px;
  border-radius: 50%;
  background: #e3e6ee;
  color: #6b7289;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
  transition: background 0.25s var(--si-ease, cubic-bezier(0.22, 1, 0.36, 1)),
    color 0.25s var(--si-ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.si-otools__jump-link:hover,
.si-page .si-otools__jump-link:hover,
.si-otools__jump-link:focus-visible,
.si-page .si-otools__jump-link:focus-visible {
  border-color: transparent;
  background: var(--si-gold-grad, linear-gradient(137.84deg, #ffdb6e 26.31%, #ffbc5e 93.75%));
  color: var(--si-navy-deep, #1c2140);
  transform: translateY(-1px);
}

.si-otools__jump-link:hover .si-otools__jump-lead,
.si-page .si-otools__jump-link:hover .si-otools__jump-lead,
.si-otools__jump-link:focus-visible .si-otools__jump-lead,
.si-page .si-otools__jump-link:focus-visible .si-otools__jump-lead {
  color: rgba(28, 33, 64, 0.7);
}

.si-otools__jump-link:hover .si-otools__jump-count,
.si-page .si-otools__jump-link:hover .si-otools__jump-count,
.si-otools__jump-link:focus-visible .si-otools__jump-count,
.si-page .si-otools__jump-link:focus-visible .si-otools__jump-count {
  background: rgba(28, 33, 64, 0.1);
  color: var(--si-navy-deep, #1c2140);
}

.si-otools__jump-link:focus-visible,
.si-page .si-otools__jump-link:focus-visible {
  outline: 2px solid #2e3359;
  outline-offset: 2px;
}

.si-otools__board,
.si-page .si-otools__board {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-areas:
    "webdev design"
    "webdev seo"
    "webdev general";
  gap: 12px;
  align-items: start;
}

#si-otools-webdev,
.si-page #si-otools-webdev {
  grid-area: webdev;
}

#si-otools-design,
.si-page #si-otools-design {
  grid-area: design;
}

#si-otools-seo,
.si-page #si-otools-seo {
  grid-area: seo;
}

#si-otools-general,
.si-page #si-otools-general {
  grid-area: general;
}

.si-otools__panel,
.si-page .si-otools__panel {
  scroll-margin-top: 16px;
  min-width: 0;
  padding: 16px 14px 14px;
  background: var(--si-white, #fff);
  border: 1px solid #e3e6ee;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(28, 33, 64, 0.08);
}

.si-otools__head,
.si-page .si-otools__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(46, 51, 89, 0.08);
}

.si-otools__head-main,
.si-page .si-otools__head-main {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.si-otools__index,
.si-page .si-otools__index {
  flex: 0 0 auto;
  margin-top: 3px;
  background: var(--si-gold-grad, linear-gradient(137.84deg, #ffdb6e 26.31%, #ffbc5e 93.75%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.si-otools__title,
.si-page .si-otools__title {
  margin: 0;
  color: var(--si-navy-deep, #1c2140);
  font-family: "Qanelas", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.25;
  text-transform: uppercase;
}

.si-otools__title::after,
.si-page .si-otools__title::after {
  content: "";
  display: block;
  width: 2rem;
  height: 0.22rem;
  margin-top: 7px;
  border-radius: 0.5rem;
  background: var(--si-gold-grad, linear-gradient(137.84deg, #ffdb6e 26.31%, #ffbc5e 93.75%));
}

.si-otools__panel .si-otools__lead,
.si-page .si-otools__panel .si-otools__lead {
  display: none;
}

.si-otools__panel .si-otools__lead.is-visible,
.si-page .si-otools__panel .si-otools__lead.is-visible {
  display: block;
  margin: 6px 0 0;
  color: var(--si-navy-soft, #3a4270);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
}

.si-otools__where,
.si-page .si-otools__where {
  color: var(--si-navy-soft, #3a4270);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

.si-otools__list--results,
.si-page .si-otools__list--results {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.si-otools__empty,
.si-page .si-otools__empty {
  margin: 4px 0 0;
  color: var(--si-navy-soft, #3a4270);
  font-size: 15px;
  line-height: 1.45;
}

.si-otools__back,
.si-page .si-otools__back {
  margin: 14px 0 0;
}

.si-otools__back a,
.si-page .si-otools__back a {
  color: var(--si-navy-deep, #1c2140);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.si-otools__back a:hover,
.si-page .si-otools__back a:hover {
  color: #2e3359;
}

.si-otools__count,
.si-page .si-otools__count {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 30px;
  height: 30px;
  padding: 0 6px;
  border-radius: 50%;
  background: var(--si-navy, #2e3359);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.si-otools__head:hover .si-otools__count,
.si-page .si-otools__head:hover .si-otools__count,
.si-otools__panel:hover .si-otools__count,
.si-page .si-otools__panel:hover .si-otools__count {
  background: #e3e6ee;
  color: #6b7289;
}

.si-otools__filters,
.si-page .si-otools__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}

.si-otools__filter,
.si-page .si-otools__filter {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  cursor: pointer;
  margin: 0;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid rgba(28, 33, 64, 0.14);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 219, 110, 0.08), transparent 55%),
    linear-gradient(165deg, #232849 0%, #1c2140 60%, #151933 100%);
  color: rgba(255, 255, 255, 0.9);
  font-family: "Qanelas", sans-serif;
  font-size: 12px;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.si-otools__filter:hover,
.si-page .si-otools__filter:hover,
.si-otools__filter:focus-visible,
.si-page .si-otools__filter:focus-visible,
.si-otools__filter.is-current,
.si-page .si-otools__filter.is-current {
  border-color: transparent;
  background: var(--si-gold-grad, linear-gradient(137.84deg, #ffdb6e 26.31%, #ffbc5e 93.75%));
  color: var(--si-navy-deep, #1c2140);
}

.si-otools__filter:focus-visible,
.si-page .si-otools__filter:focus-visible {
  outline: 2px solid #ffbc5e;
  outline-offset: 2px;
}

.si-otools__item.is-hidden,
.si-page .si-otools__item.is-hidden {
  display: none;
}

.si-otools__list,
.si-page .si-otools__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.si-otools__item,
.si-page .si-otools__item {
  margin: 0;
  padding: 0;
  min-width: 0;
}

.si-otools__link,
.si-page .si-otools__link {
  display: flex;
  align-items: center;
  gap: 14px;
  box-sizing: border-box;
  min-height: 84px;
  height: 100%;
  padding: 16px 18px;
  border: 1px solid #e3e6ee;
  border-radius: 12px;
  background: #f7f8fb;
  color: var(--si-navy-deep, #1c2140);
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(28, 33, 64, 0.04);
  transition: background 0.2s var(--si-ease, cubic-bezier(0.22, 1, 0.36, 1)),
    border-color 0.2s var(--si-ease, cubic-bezier(0.22, 1, 0.36, 1)),
    box-shadow 0.2s var(--si-ease, cubic-bezier(0.22, 1, 0.36, 1)),
    transform 0.2s var(--si-ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.si-otools__copy,
.si-page .si-otools__copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1 1 auto;
  min-width: 0;
}

.si-otools__name,
.si-page .si-otools__name {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
}

.si-otools__hint,
.si-page .si-otools__hint {
  color: var(--si-muted, #5e6678);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.si-otools__meta,
.si-page .si-otools__meta {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.si-otools__draft,
.si-page .si-otools__draft {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 5px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 219, 110, 0.12), transparent 55%),
    linear-gradient(165deg, #232849 0%, #1c2140 60%, #151933 100%);
  color: var(--si-gold, #ffdb6e);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.si-otools__go,
.si-page .si-otools__go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  opacity: 1;
  background: var(--si-navy-deep, #1c2140);
  color: #fff;
  transition: background 0.25s var(--si-ease, cubic-bezier(0.22, 1, 0.36, 1)),
    color 0.25s var(--si-ease, cubic-bezier(0.22, 1, 0.36, 1)),
    transform 0.25s var(--si-ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.si-otools__go::after,
.si-page .si-otools__go::after {
  content: "";
  display: block;
  box-sizing: border-box;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, 0);
}

.si-otools__link:hover,
.si-page .si-otools__link:hover,
.si-otools__link:focus-visible,
.si-page .si-otools__link:focus-visible {
  background: #fff;
  border-style: solid;
  border-color: rgba(255, 188, 94, 0.55);
  box-shadow: 0 8px 22px rgba(28, 33, 64, 0.1);
  color: var(--si-navy, #2e3359);
  transform: translateY(-1px);
}

.si-otools__link:hover .si-otools__go,
.si-page .si-otools__link:hover .si-otools__go,
.si-otools__link:focus-visible .si-otools__go,
.si-page .si-otools__link:focus-visible .si-otools__go {
  background: var(--si-gold-grad, linear-gradient(137.84deg, #ffdb6e 26.31%, #ffbc5e 93.75%));
  color: var(--si-navy-deep, #1c2140);
}

.si-otools__link:focus-visible,
.si-page .si-otools__link:focus-visible {
  outline: 2px solid #2e3359;
  outline-offset: 2px;
}

.si-otools__item.is-draft .si-otools__link,
.si-page .si-otools__item.is-draft .si-otools__link {
  border-style: dashed;
}

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

  .si-otools__board,
  .si-page .si-otools__board {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: none;
  }

  #si-otools-webdev,
  .si-page #si-otools-webdev,
  #si-otools-design,
  .si-page #si-otools-design,
  #si-otools-seo,
  .si-page #si-otools-seo,
  #si-otools-general,
  .si-page #si-otools-general {
    grid-area: auto;
  }

  .si-otools__list,
  .si-page .si-otools__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 990px) {
  .si-otools__jump,
  .si-page .si-otools__jump {
    top: 8px;
  }

  .si-otools__panel,
  .si-page .si-otools__panel {
    scroll-margin-top: 96px;
    padding: 18px 16px 12px;
  }
}

@media (max-width: 700px) {
  .si-otools-search__field,
  .si-page .si-otools-search__field {
    flex: 1 1 100%;
  }

  .si-otools-search__submit,
  .si-page .si-otools-search__submit {
    flex: 1 1 auto;
  }

  .si-otools__filter,
  .si-page .si-otools__filter {
    padding: 8px 12px;
    font-size: 11px;
  }

  .si-otools__list,
  .si-page .si-otools__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .si-otools__jump-link,
  .si-page .si-otools__jump-link {
    flex: 1 1 calc(50% - 8px);
    justify-content: space-between;
  }

  .si-otools__title,
  .si-page .si-otools__title {
    font-size: 18px;
  }

  .si-otools__name,
  .si-page .si-otools__name {
    font-size: 17px;
  }

  .si-otools__link,
  .si-page .si-otools__link {
    min-height: 76px;
    padding: 14px 16px;
  }
}

.si-nautilus-category__admin-note,
.si-page .si-nautilus-category__admin-note {
  margin: 0 0 12px;
  padding: 10px 14px;
  border: 1px dashed rgba(255, 188, 94, 0.55);
  border-radius: 10px;
  background: rgba(255, 219, 110, 0.12);
  color: var(--si-navy-soft, #3a4270);
  font-size: 14px;
  line-height: 1.45;
}

/* Nautilus category archive — full-width one-column list (non-pinned) */
.si-nautilus-category-wrap,
.si-page .si-nautilus-category-wrap {
  margin-top: 0;
}

.si-nautilus-feed + .si-nautilus-category-wrap,
.si-page .si-nautilus-feed + .si-nautilus-category-wrap {
  margin-top: 12px;
}

.si-otools.si-nautilus-category-catalog .si-otools__board,
.si-page .si-otools.si-nautilus-category-catalog .si-otools__board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.si-otools.si-nautilus-category-catalog .si-otools__panel,
.si-page .si-otools.si-nautilus-category-catalog .si-otools__panel {
  width: 100%;
  min-width: 0;
}

.si-otools.si-nautilus-category-catalog .si-otools__list,
.si-page .si-otools.si-nautilus-category-catalog .si-otools__list {
  grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 1100px) {
  .si-otools.si-nautilus-category-catalog .si-otools__board,
  .si-page .si-otools.si-nautilus-category-catalog .si-otools__board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .si-otools.si-nautilus-category-catalog .si-otools__board,
  .si-page .si-otools.si-nautilus-category-catalog .si-otools__board {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Nautilus scripts — full-width stacked sections (draft page template) */
.si-otools.si-nautilus-catalog .si-otools__board,
.si-page .si-otools.si-nautilus-catalog .si-otools__board {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.si-otools.si-nautilus-catalog .si-otools__panel,
.si-page .si-otools.si-nautilus-catalog .si-otools__panel {
  width: 100%;
}

.si-otools.si-nautilus-catalog .si-otools__list,
.si-page .si-otools.si-nautilus-catalog .si-otools__list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .si-otools.si-nautilus-catalog .si-otools__list,
  .si-page .si-otools.si-nautilus-catalog .si-otools__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .si-otools.si-nautilus-catalog .si-otools__list,
  .si-page .si-otools.si-nautilus-catalog .si-otools__list {
    grid-template-columns: minmax(0, 1fr);
  }
}
