.ib-creators {
    max-width: 1320px;
    margin: 0 auto;
    padding: 48px 24px 90px;
    color: #172c46;
    font-family: inherit;
}
.ib-creators-header {
    padding: 34px 0;
}
.ib-eyebrow {
    color: #1371bd;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
}
.ib-creators h1 {
    font-size: clamp(30px, 4vw, 52px);
    margin: 12px 0;
}
.ib-creators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}
.ib-creator-card {
    display: block;
    padding: 26px;
    border: 1px solid #dfe7f0;
    border-radius: 16px;
    background: white;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(20, 45, 77, .04);
    transition: transform .2s, box-shadow .2s;
}
.ib-creator-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(20, 45, 77, .12);
}
.ib-card-category {
    font-size: 12px;
    font-weight: 700;
    color: #1371bd;
}
.ib-creator-card h2 {
    font-size: 21px;
    margin: 12px 0;
}
.ib-creator-card p {
    line-height: 1.6;
    color: #607087;
}
.ib-creator-card strong {
    color: #1265b0;
}
.ib-creator-detail {
    max-width: 900px;
    padding: 32px;
    border: 1px solid #e1e8f0;
    border-radius: 20px;
    background: white;
}
.ib-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.ib-form-grid label {
    display: grid;
    gap: 9px;
    font-weight: 600;
}
.ib-form-grid input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    border: 1px solid #ccd8e5;
    border-radius: 10px;
    font: inherit;
}
.ib-creator-detail button {
    border: 0;
    border-radius: 10px;
    padding: 15px 28px;
    background: #1265b0;
    color: white;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.ib-creator-result {
    margin-top: 24px;
    line-height: 1.8;
}
.ib-back {
    color: #1265b0;
}
@media (max-width: 640px) {
    .ib-creators {
        padding: 24px 16px 60px;
    }
    .ib-form-grid {
        grid-template-columns: 1fr;
    }
    .ib-creator-detail {
        padding: 20px;
    }
}

/* INFOBUDO — ZESTAWIENIE MATERIALOWE V2 */
.ib-materials-scroll {
    width: 100%;
    overflow-x: auto;
    margin-top: 18px;
}

.ib-materials-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}

.ib-materials-table th,
.ib-materials-table td {
    padding: 13px 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.ib-materials-table th {
    background: #f1f5f9;
    color: #17324d;
    font-weight: 700;
}

.ib-materials-table td {
    color: #334155;
}

.ib-materials-table tbody tr:hover {
    background: #f8fafc;
}

.ib-materials-note {
    margin-top: 15px;
    font-size: 13px;
    color: #64748b;
}

/* INFOBUDO — CREATOR PREMIUM UI V1 */

.ib-creators {
  --ib-blue: #1767c7;
  --ib-ink: #172d46;
  --ib-line: #e1e9f2;
  --ib-soft: #f4f8fd;
  width: min(100% - 32px, 1480px);
  max-width: 1480px;
  margin: 28px auto 70px;
  color: var(--ib-ink);
}

.ib-creators *,
.ib-creators *::before,
.ib-creators *::after {
  box-sizing: border-box;
}

.ib-creators-header {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 5vw, 65px);
  border-radius: 24px;
  background: linear-gradient(125deg, #102b4c, #1767c7);
  color: #fff;
  margin-bottom: 28px;
}

.ib-creators-header::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -85px;
  top: -120px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(255,255,255,.035),
    0 0 0 90px rgba(255,255,255,.025);
  pointer-events: none;
}

.ib-creators-header h1 {
  color: #fff;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.12;
  letter-spacing: -.035em;
  margin: 14px 0;
  max-width: 800px;
}

.ib-creators-header p {
  color: #dbeafe;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.65;
  max-width: 650px;
}

.ib-eyebrow {
  display: inline-flex;
  color: #bfdbfe;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.ib-creators button,
.ib-creators input,
.ib-creators select {
  font: inherit;
}

.ib-creators button {
  cursor: pointer;
  transition: transform .18s, box-shadow .18s;
}

.ib-creators button:hover {
  transform: translateY(-1px);
}

.ib-creators input,
.ib-creators select {
  min-height: 48px;
  max-width: 100%;
  border: 1px solid #cbd8e6;
  border-radius: 11px;
  background: #fff;
  padding: 11px 14px;
  color: var(--ib-ink);
}

.ib-creators input:focus,
.ib-creators select:focus {
  outline: 3px solid rgba(23,103,199,.16);
  border-color: var(--ib-blue);
}

.ib-creators a:focus-visible,
.ib-creators button:focus-visible {
  outline: 3px solid #60a5fa;
  outline-offset: 3px;
}

#ib-creator-form {
  background: #fff;
  border: 1px solid var(--ib-line);
  border-radius: 20px;
  padding: clamp(20px, 3vw, 34px);
  box-shadow: 0 12px 40px rgba(20,48,80,.06);
}

.ib-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 22px;
}

.ib-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-weight: 650;
}

#ib-creator-form button[type="submit"] {
  min-height: 48px;
  padding: 12px 25px;
  border: 0;
  border-radius: 11px;
  background: var(--ib-blue);
  color: white;
  font-weight: 750;
}

.ib-materials-scroll {
  overflow-x: auto;
  max-width: 100%;
}

.ib-materials-table {
  width: 100%;
  border-collapse: collapse;
}

.ib-materials-table th,
.ib-materials-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--ib-line);
  text-align: left;
}

.ib-materials-table th {
  background: var(--ib-soft);
}

@media (max-width: 768px) {
  .ib-creators {
    width: calc(100% - 20px);
    margin: 12px auto 40px;
  }

  .ib-creators-header {
    padding: 28px 22px;
    border-radius: 16px;
  }

  .ib-form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #ib-creator-form {
    padding: 18px;
  }

  #ib-creator-form button[type="submit"] {
    width: 100%;
  }
}

/* INFOBUDO CATALOG PREMIUM V1 */

.ib-creators [hidden] {
  display: none !important;
}

.ib-catalog-toolbar {
  margin: 34px 0 24px;
}

.ib-catalog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 25px;
}

.ib-section-kicker {
  display: block;
  color: #1767c7;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  margin-bottom: 9px;
}

.ib-catalog-heading h2,
.ib-workspace-copy h2 {
  font-size: clamp(24px, 2.5vw, 34px);
  letter-spacing: -.03em;
  margin: 0 0 10px;
  color: #172d46;
}

.ib-catalog-heading p {
  color: #64748b;
  margin: 0;
}

.ib-catalog-counter {
  min-width: 110px;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 15px 22px;
  border: 1px solid #dce8f5;
  border-radius: 16px;
  background: #f5f9ff;
}

.ib-catalog-counter strong {
  font-size: 32px;
  color: #1767c7;
}

.ib-catalog-counter span {
  font-size: 12px;
  color: #64748b;
}

.ib-catalog-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 18px;
  background: #fff;
  border: 1px solid #dce5ef;
  border-radius: 15px;
  margin-bottom: 18px;
  box-shadow: 0 6px 24px rgba(15,45,80,.035);
}

.ib-catalog-search > span {
  font-size: 26px;
  color: #1767c7;
}

.ib-catalog-search input {
  width: 100%;
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
  min-height: 45px;
}

.ib-catalog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.ib-category-pill {
  padding: 10px 16px;
  border: 1px solid #dce5ef;
  border-radius: 100px;
  background: #fff;
  color: #405875;
  font-size: 13px;
  font-weight: 650;
}

.ib-category-pill.is-active,
.ib-category-pill:hover {
  background: #1767c7;
  color: #fff;
  border-color: #1767c7;
}

.ib-creators-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 50px;
}

.ib-creator-card {
  display: flex;
  flex-direction: column;
  min-height: 245px;
  padding: 25px;
  border: 1px solid #e1e9f2;
  border-radius: 18px;
  background: #fff;
  text-decoration: none;
  color: #172d46;
  box-shadow: 0 6px 25px rgba(18,49,82,.035);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.ib-creator-card:hover {
  transform: translateY(-4px);
  border-color: #9fc5f0;
  box-shadow: 0 18px 40px rgba(18,49,82,.11);
}

.ib-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.ib-card-icon {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  background: #edf5ff;
  border-radius: 12px;
  color: #1767c7;
  font-size: 24px;
}

.ib-card-category {
  font-size: 11px;
  font-weight: 750;
  color: #1767c7;
  background: #f0f6ff;
  border-radius: 30px;
  padding: 7px 11px;
}

.ib-creator-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  letter-spacing: -.02em;
  color: #172d46;
}

.ib-creator-card p {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.65;
  color: #64748b;
}

.ib-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #edf1f6;
  font-size: 12px;
  color: #718096;
}

.ib-card-bottom strong {
  color: #1767c7;
  white-space: nowrap;
}

.ib-catalog-workspace {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid #dce8f5;
  border-radius: 20px;
  background: #f3f8ff;
  min-height: 260px;
  margin: 28px 0;
}

.ib-workspace-copy {
  padding: clamp(25px, 4vw, 45px);
  align-self: center;
}

.ib-workspace-copy p {
  max-width: 450px;
  line-height: 1.7;
  color: #64748b;
}

.ib-workspace-copy a {
  display: inline-flex;
  padding: 12px 19px;
  margin-top: 10px;
  border-radius: 10px;
  background: #1767c7;
  color: white;
  text-decoration: none;
  font-weight: 750;
}

.ib-workspace-visual {
  display: grid;
  place-items: center;
  min-height: 260px;
  background-color: #e7f2ff;
  background-image:
    linear-gradient(#c5def5 1px, transparent 1px),
    linear-gradient(90deg, #c5def5 1px, transparent 1px);
  background-size: 20px 20px;
}

.ib-workspace-plan {
  position: relative;
  width: 230px;
  height: 150px;
  border: 8px solid #235987;
  background: rgba(255,255,255,.55);
  box-shadow: 0 12px 25px rgba(15,45,80,.12);
}

.ib-plan-room-a {
  position: absolute;
  left: 48%;
  top: 0;
  bottom: 0;
  border-left: 6px solid #235987;
}

.ib-plan-room-b {
  position: absolute;
  left: 48%;
  right: 0;
  top: 52%;
  border-top: 6px solid #235987;
}

.ib-workspace-plan span {
  position: absolute;
  top: -32px;
  left: 35%;
  font-size: 12px;
  color: #235987;
  font-weight: 800;
}

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

@media(max-width: 650px) {
  .ib-creators-grid,
  .ib-catalog-workspace {
    grid-template-columns: 1fr;
  }

  .ib-catalog-heading {
    align-items: flex-start;
  }

  .ib-catalog-counter {
    min-width: 80px;
    padding: 12px;
  }

  .ib-catalog-counter strong {
    font-size: 25px;
  }

  .ib-creator-card {
    min-height: 210px;
  }

  .ib-workspace-visual {
    min-height: 210px;
  }
}
