/*! Dashboard Premium v2.2 - Projects Page Premium - Cache Bust: <?= date('Y-m-d-Hi'); ?> */
:root {
  --ib-base-bg: #08060f;
  --ib-surface: #101629;
  --ib-surface-soft: rgba(29, 38, 63, 0.72);
  --ib-border: rgba(255, 255, 255, 0.08);
  --ib-border-strong: rgba(255, 255, 255, 0.18);
  --ib-text: #e6edff;
  --ib-muted: #95a2c7;
  --ib-accent: #ff4d6d;
  --ib-accent-2: #7c3aed;
  --ib-accent-3: #f97316;
  --ib-highlight: linear-gradient(140deg, rgba(255, 77, 109, 0.95), rgba(124, 58, 237, 0.95));
  --ib-highlight-soft: linear-gradient(180deg, rgba(124, 58, 237, 0.18), rgba(249, 115, 22, 0));
  --ib-light-bg: #f6f7fb;
  --ib-card-dark: #121a30;
  --ib-card-darker: #0f1628;
  --ib-chip: rgba(255, 255, 255, 0.12);
  --ib-chip-alt: rgba(14, 23, 42, 0.85);
  --ib-chip-text: #f3f4ff;
  --ib-chip-text-alt: #dfe2ff;
  --ib-shadow: 0 18px 45px rgba(8, 6, 20, 0.32);
  --ib-shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.18);
  --ib-radius-lg: 28px;
  --ib-radius-md: 20px;
  --ib-radius-sm: 14px;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body.if-body {
  font: 400 16px/1.55 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--ib-base-bg);
  color: var(--ib-text);
  -webkit-font-smoothing: antialiased;
}

body.if-body.creators-page,
body.if-body.creator-show {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #f1f5f9;
  min-height: 100vh;
}

.if-container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header / footer --------------------------------------------------- */
.ib-site-header {
  --ib-app-header-height: 68px;
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(90deg, rgba(14, 10, 25, 0.92), rgba(34, 17, 53, 0.94));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px rgba(8, 10, 32, 0.32);
}

.ib-site-header nav{
  background-color: transparent !important;
  box-shadow: none !important;
}

.ib-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
}

.ib-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.ib-brand img {
  display: block;
  width: 132px;
  height: auto;
  max-height: 36px;
  object-fit: contain;
  padding: 0;
  position: static;
}

.ib-site-header--minimal .ib-nav {
  justify-content: flex-start;
}

.ib-site-header--minimal .ib-brand img {
  width: 120px;
  max-height: 32px;
}

.ib-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.ib-menu a {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 600;
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ib-menu a:hover,
.ib-menu a:focus-visible,
.ib-menu a.is-active {
  color: #ff4d6d;
  transform: translateY(-1px);
  outline: none;
}

.ib-site-footer {
  margin-top: 72px;
  background: #0e1020;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(209, 217, 245, 0.82);
  padding: 24px 0;
}

.ib-footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ib-footer-links a {
  color: inherit;
  text-decoration: none;
  margin-left: 16px;
  font-weight: 600;
}

.ib-footer-links a:hover,
.ib-footer-links a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  outline: none;
}

/* Hero -------------------------------------------------------------- */
.creators-hero {
  position: relative;
  padding: 86px 0 78px;
  overflow: hidden;
  background:
    radial-gradient(1600px 820px at 10% -10%, rgba(131, 58, 180, 0.32), transparent 68%),
    radial-gradient(1400px 720px at 90% 0%, rgba(225, 48, 108, 0.28), transparent 62%),
    linear-gradient(140deg, #201237 0%, #4b1765 35%, #E1306C 70%, #FCAF45 100%);
  color: #fff;
}

.creators-hero__wrap {
  position: relative;
  width: min(1680px, calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  justify-content: center;
}

.creators-hero__text {
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
  align-items: center;
}

.creators-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(11, 15, 27, 0.62);
  padding: 11px 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.creators-hero__title {
  margin: 0;
  font-size: clamp(38px, 5.4vw, 66px);
  letter-spacing: -0.015em;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
}

.creators-hero__title span {
  display: block;
  font-size: clamp(22px, 3.2vw, 30px);
  letter-spacing: 0.42em;
  font-weight: 900;
  margin-bottom: 10px;
}

.creators-hero__description {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 680px;
}

.creators-hero__summary {
  margin: 8px 0 0;
  padding: 12px 28px;
  border-radius: 999px;
  background: rgba(15, 21, 35, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f8f7ff;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

.creators-hero__hint {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
}

.creators-hero__filters {
  margin-top: 18px;
  border: none;
  border-radius: 999px;
  padding: 14px 30px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ff4d6d 0%, #7c3aed 60%, #FCAF45 100%);
  color: #0f111a;
  box-shadow: 0 18px 42px rgba(20, 13, 40, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.creators-hero__filters:hover,
.creators-hero__filters:focus-visible {
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 22px 56px rgba(20, 13, 40, 0.42);
}

@media (min-width: 992px) {
  .creators-hero__filters {
    display: none;
  }
}

@media (max-width: 991px) {
  .creators-hero__filters {
    display: inline-flex;
  }
}

.creators-highlight {
  padding: 52px 0 40px;
  background:
    radial-gradient(1200px 680px at 12% 0%, rgba(131, 58, 180, 0.12), transparent 60%),
    radial-gradient(1200px 660px at 88% -10%, rgba(225, 48, 108, 0.12), transparent 58%),
    linear-gradient(180deg, #faf7ff 0%, #f5f6ff 100%);
}

.creators-highlight__wrap {
  width: min(1680px, calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.creators-highlight__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.creators-highlight__header h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #17152d;
}

.creators-highlight__header p {
  margin: 0;
  color: #31395c;
  max-width: 520px;
  font-size: 15px;
}

.creators-highlight__grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Creator cards ---------------------------------------------------- */
.creator-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  border-radius: var(--ib-radius-md);
  background: linear-gradient(150deg, rgba(17, 24, 39, 0.96), rgba(12, 18, 34, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--ib-shadow);
  color: #eaf1ff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}

.creator-card:hover,
.creator-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 30px 50px rgba(10, 16, 32, 0.32);
  outline: none;
}

.creator-card--featured {
  background: linear-gradient(150deg, rgba(21, 30, 54, 0.96), rgba(30, 19, 58, 0.92));
}

.creator-card--featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(120deg, rgba(255, 77, 109, 0.92), rgba(124, 58, 237, 0.82));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.creator-card--suggestion {
  background: linear-gradient(150deg, rgba(15, 23, 42, 0.92), rgba(9, 14, 26, 0.92));
}

.creator-card__rank {
  position: absolute;
  top: -18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(110deg, rgba(131, 58, 180, 1), rgba(225, 48, 108, 1));
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 16px 28px rgba(56, 10, 71, 0.32);
}

.creator-card__header {
  display: flex;
  gap: 16px;
  align-items: center;
}

.creator-card__avatar {
  width: 58px;
  height: 58px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06));
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.38);
  flex-shrink: 0;
  margin: 0;
}

.creator-card__avatar .ib-avatar-component {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
}

.creator-card__avatar .ib-avatar-fallback {
  border-radius: inherit;
}

.creator-card--featured .creator-card__avatar {
  width: 68px;
  height: 68px;
  border-radius: 26px;
  margin-right: -6px;
}

.creator-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creator-card__header-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.creator-card__identity {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.creator-card__handle {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: rgba(203, 213, 255, 0.85);
}

.creator-card__type {
  margin: 2px 0 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(165, 243, 252, 0.88);
}

.creator-card__fit {
  position: absolute;
  top: -15px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(131, 58, 180, 0.95), rgba(225, 48, 108, 0.95));
  color: #fff;
  box-shadow: 0 22px 36px rgba(131, 58, 180, 0.32);
  z-index: 3;
}

.creator-card--has-fit {
  padding-top: 30px;
}

.creator-card--has-fit.creator-card--featured {
  padding-top: 70px;
}

.creator-card--has-fit .creator-card__rank {
  top: 32px;
}

.creator-card__name {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.creator-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #a7f3d0;
  position: static;
}

.creators-highlight .creator-card__meta-block strong{
  font-size: 9px !important;
}

.creator-card__badge .fa-solid {
  color: #34d399;
}

.creator-card__headline {
  margin: 6px 0 0;
  font-size: 14px;
  color: rgba(226, 232, 255, 0.7);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

:root {
  --ib-star-filled: #f5c542;
  --ib-star-empty: #cbd5e1;
}

.creator-card__stats {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.creator-card__stat {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.creator-card__stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(226, 232, 255, 0.6);
  font-weight: 700;
}

.creator-card__stat-value {
  font-size: 20px;
  font-weight: 800;
  color: #f8fafc;
}

.creator-card__stat--rating {
  flex-direction: row;
  align-items: center;
  gap: 6px;
  color: rgba(248, 250, 255, 0.88);
}

.creator-card__location-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(226, 232, 255, 0.45);
}

.creator-card__location-line i {
  color: rgba(148, 163, 184, 0.75);
}

.creator-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 13px;
  color: rgba(248, 250, 255, 0.86);
}

.creator-card__rating--empty {
  opacity: 0.75;
}

.creator-card__stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.creator-card__star {
  position: relative;
  display: inline-flex;
  width: 16px;
  height: 16px;
}

.creator-card__star::before {
  content: '★';
  font-size: 16px;
  line-height: 1;
  color: var(--ib-star-empty);
}

.creator-card__star.is-filled::before {
  color: var(--ib-star-filled);
}

.creator-card__star.is-half::before {
  color: transparent;
  background: linear-gradient(90deg, var(--ib-star-filled) 0%, var(--ib-star-filled) 50%, var(--ib-star-empty) 50%);
  -webkit-background-clip: text;
  background-clip: text;
}

.creator-card__rating-value {
  font-weight: 700;
}

.creator-card__rating-count {
  font-size: 12px;
  color: rgba(226, 232, 255, 0.65);
}

.creator-card__meta {
  margin: 0px 0 0px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 640px) {
  .creator-card__meta {
    grid-template-columns: 1fr;
  }
}

.creator-card__meta-block {
  background: rgba(13, 19, 34, 0.86);
  border: 1px solid rgba(148, 163, 234, 0.2);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 0;
}

.creator-card__meta-block strong {
  font-size: 9px;
  font-weight: 800;
  color: #ffffff;
}

.creator-card__meta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(79, 70, 229, 0.24);
  color: #a5b4fc;
  box-shadow: inset 0 0 0 1px rgba(79, 70, 229, 0.3);
  font-size: 12px;
}

.creator-card__meta-icon svg{
  width: 11px;
  height: 11px;
}

.creator-card__content {
  display: grid;
  gap: 14px;
}

.creator-card__section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.creator-card__section-title {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(203, 213, 255, 0.88);
}

.creator-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.creator-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f4f5ff;
  background: rgba(17, 20, 30, 0.72);
}

.creator-chip--platform {
  border-color: rgba(129, 140, 248, 0.5);
  box-shadow: inset 0 0 0 1px rgba(129, 140, 248, 0.3);
}

.creator-chip--niche {
  border-color: rgba(236, 72, 153, 0.5);
  box-shadow: inset 0 0 0 1px rgba(236, 72, 153, 0.28);
}

.creator-chip--format {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.28);
}

.creator-chip--compliance {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(15, 23, 42, 0.85);
  font-size: 11px;
  padding: 5px 10px;
}

.creator-chip--more {
  border-color: rgba(148, 163, 184, 0.5);
  color: rgba(226, 232, 255, 0.7);
  background: rgba(15, 23, 42, 0.6);
}

.creator-card__section--metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.creator-card__metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(15, 23, 42, 0.38);
  border-radius: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.creator-card__metric-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(203, 213, 255, 0.82);
}

.creator-card__metric-value {
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
}

.creator-card__footer {
  display: flex;
  margin-top: auto;
}

.creator-card__cta {
  width: 100%;
  padding: 12px 16px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.creator-card__cta:hover,
.creator-card__cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(14, 18, 34, 0.35);
  outline: none;
}

@media (min-width: 1024px) {
  .creator-card__headline {
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 768px) {
  .creator-card__chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .creator-chip {
    justify-content: center;
  }
}

/* Creator show ----------------------------------------------------- */
.creator-show-hero {
  background:
    radial-gradient(1200px 680px at 12% -10%, rgba(131, 58, 180, 0.45), transparent 58%),
    radial-gradient(1200px 720px at 88% 0%, rgba(236, 72, 153, 0.45), transparent 60%),
    linear-gradient(180deg, #120b23 0%, #1a1033 100%);
  padding: 72px 0 120px;
  color: #f8faff;
}

.creator-show-hero .creator-card__badge{
  position: relative !important;
  right: 0 !important;
  padding: 12px 18px !important;
  line-height: 1.25em !important;
  font-size: 13px !important;
}

.creator-show-hero__wrap {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.creator-show-hero__info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1 1 auto;
}

.creator-show-back {
  color: rgba(226, 232, 255, 0.85);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.creator-show-back:hover {
  text-decoration: underline;
}

.creator-show-hero__header {
  display: flex;
  align-items: center;
  gap: 22px;
}

.creator-show-avatar {
  width: 160px;
  height: 160px;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(135deg, #c084fc, #ec4899);
  padding: 4px;
  box-shadow: 0 24px 48px rgba(12, 10, 32, 0.45);
}

.creator-show-avatar .ib-avatar-component {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  background: transparent;
  box-shadow: none;
}

.creator-show-avatar .ib-avatar-fallback {
  border-radius: 28px;
}

.creator-show-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  object-fit: cover;
}

.creator-show-hero__identity {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.creator-show-name {
  margin: 0;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 900;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.creator-show-handle {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(226, 232, 255, 0.75);
}

.creator-show-type {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(129, 230, 217, 0.92);
}

.creator-show-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.creator-show-rating__value {
  font-size: 18px;
}

.creator-show-rating__count {
  font-size: 13px;
  color: rgba(226, 232, 255, 0.65);
}

.creator-show-rating__tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(226, 232, 255, 0.72);
  background: rgba(148, 163, 184, 0.2);
  padding: 4px 8px;
  border-radius: 999px;
}

.creator-show-location,
.creator-show-update {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(226, 232, 255, 0.78);
}

.creator-show-headline {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(226, 232, 255, 0.88);
}

.creator-show-hero__cta {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
}

.creator-show-brand-cta {
  width: min(1200px, calc(100% - 64px));
  margin: 20px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 20px !important;
}

@media(min-width: 768px) {
  .creator-show-brand-cta {
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    text-align: left !important;
  }
  .creator-show-brand-cta h2,
  .creator-show-brand-cta p{
    text-align: left !important;
  }
  .creator-show-brand-cta > div {
    justify-items: stretch !important;
  }
  .creator-show-brand-cta.creator-show-brand-cta--after-bio{
    margin-top: -6.5em !important;
  }
}

.creator-show-brand-cta > div {
  display: grid;
  gap: 6px;
  justify-items: center;
}

.creator-show-brand-cta--before-recommendations {
  margin-top: 18px;
  margin-bottom: 6px;
}

.creator-show-brand-cta h2 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.32;
}

.creator-show-brand-cta p {
  margin: 0;
  max-width: 820px;
}

.creator-show-brand-cta .ib-btn {
  margin-inline: auto;
}

.creator-show-overview {
  width: min(1200px, calc(100% - 64px));
  margin: -48px auto 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(148, 163, 234, 0.22);
  border-radius: 30px;
  padding: 44px 52px;
  box-shadow: 0 32px 68px rgba(8, 12, 32, 0.42);
  display: flex;
  flex-direction: column;
  gap: 32px;
  color: #0f172a;
}

.creator-show--with-brand-cta .creator-show-overview {
  margin-top: 20px;
}

.creator-show-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.creator-show-meta__card {
  background: linear-gradient(135deg, rgba(29, 34, 54, 0.9), rgba(18, 24, 44, 0.92));
  border: 1px solid rgba(148, 163, 234, 0.24);
  border-radius: 20px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 18px 32px rgba(12, 16, 32, 0.28);
}

.creator-show-meta__icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(124, 58, 237, 0.18);
  color: #c7d2fe;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 234, 0.28);
  font-size: 16px;
}

.creator-show-meta__content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.creator-show-meta__card span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(202, 208, 238, 0.68);
}

.creator-show-meta__card strong {
  font-size: 17px;
  color: #f9fafc;
}

.creator-show-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.creator-show-chips h3{
  width: 100%;
  float: left;
  color: #0f172a;
}

.creator-show-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  background: rgba(14, 18, 34, 0.8);
  border: 1px solid rgba(148, 163, 234, 0.28);
  color: #0f172a;
}

.creator-show-chip--empty {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #64748b;
}

.creator-show-chip--platform {
  background: rgba(124, 58, 237, 0.22);
  border-color: rgba(124, 58, 237, 0.38);
}

.creator-show-chip--niche {
  background: rgba(236, 72, 153, 0.22);
  border-color: rgba(236, 72, 153, 0.38);
}

.creator-show-chip--format {
  background: rgba(249, 115, 22, 0.22);
  border-color: rgba(249, 115, 22, 0.38);
}

.creator-show-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.creator-show-metric {
  background: rgba(12, 18, 36, 0.88);
  border-radius: 18px;
  padding: 18px 20px;
  color: #f8faff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.creator-show-metric span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(226, 232, 255, 0.65);
}

.creator-show-metric strong {
  font-size: 18px;
}

.creator-show-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.creator-show-section__header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
}

.creator-show-section__header p {
  margin: 4px 0 0;
  color: #475569;
}

.creator-show-platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.creator-show-platform {
  border: 1px solid rgba(148, 163, 234, 0.22);
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #ffffff;
}

.creator-show-platform__label {
  font-weight: 800;
  font-size: 15px;
  color: #0f172a;
}

.creator-show-platform__handle {
  font-size: 13px;
  color: #475569;
}

.creator-show-platform__followers {
  font-size: 16px;
  color: #111c35;
}

.creator-show-platform__link {
  margin-top: auto;
  align-self: flex-start;
  font-weight: 700;
  font-size: 13px;
  color: #7c3aed;
  text-decoration: none;
}

.creator-show-platform__link:hover {
  text-decoration: underline;
}

.creator-show-packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.creator-show-package {
  border-radius: 18px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(35, 29, 58, 0.92), rgba(26, 20, 44, 0.88));
  border: 1px solid rgba(148, 163, 234, 0.26);
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 16px 32px rgba(10, 12, 28, 0.32);
}

.creator-show-package__label {
  font-size: 13px;
  font-weight: 700;
  color: #c7d2fe;
}

.creator-show-package__price {
  font-size: 18px;
  color: #fef3c7;
}

.creator-show-reviews {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.creator-show-reviews__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.creator-show-reviews__title {
  color: #0f172a;
}

.creator-show-reviews__summary {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.creator-show-reviews__score {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid rgba(148, 163, 234, 0.24);
  box-shadow: 0 12px 24px rgba(10, 12, 28, 0.24);
}

.creator-show-reviews__score-value {
  font-size: 20px;
  font-weight: 800;
  color: #f8fafc;
}

.creator-show-reviews__count {
  font-size: 13px;
  color: rgba(226, 232, 255, 0.72);
}

.creator-show-reviews__list {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
}

.creator-show-review {
  background: linear-gradient(135deg, rgba(18, 24, 44, 0.96), rgba(15, 19, 36, 0.92));
  border: 1px solid rgba(148, 163, 234, 0.24);
  border-radius: 20px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #f1f5ff;
  box-shadow: 0 18px 32px rgba(10, 12, 28, 0.3);
}

.creator-show-review__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.creator-show-review__avatar {
  flex-shrink: 0;
}

.creator-show-review__identity {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.creator-show-review__author {
  font-weight: 800;
  font-size: 14px;
  color: #ffffff;
}

.creator-show-review__role {
  font-size: 12px;
  color: rgba(202, 208, 238, 0.72);
}

.creator-show-review__rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.creator-show-review__rating-value {
  font-weight: 700;
  font-size: 14px;
}

.creator-show-review__comment {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(233, 237, 255, 0.9);
}

.creator-show-review__comment.is-muted {
  color: rgba(203, 213, 255, 0.68);
}

.creator-show-review__date {
  font-size: 12px;
  color: rgba(203, 213, 255, 0.6);
}

.creator-show-reviews__empty {
  background: rgba(18, 24, 44, 0.7);
  border: 1px dashed rgba(148, 163, 234, 0.3);
  border-radius: 20px;
  padding: 20px 24px;
  color: rgba(226, 232, 255, 0.9);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.creator-show-reviews__empty strong {
  font-size: 16px;
  color: #f8fafc;
}

.creator-show-reviews__empty p {
  margin: 0;
  font-size: 13px;
  color: rgba(203, 213, 255, 0.72);
}

.creator-show-reviews__more {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 234, 0.22);
  background: rgba(18, 24, 44, 0.82);
  padding: 14px 18px;
  color: #eef2ff;
}

.creator-show-reviews__more summary {
  cursor: pointer;
  font-weight: 700;
  color: #c7d2fe;
  list-style: none;
  position: relative;
  padding-right: 24px;
}

.creator-show-reviews__more summary::marker,
.creator-show-reviews__more summary::-webkit-details-marker {
  display: none;
}

.creator-show-reviews__more summary::after {
  content: '\f078';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #c7d2fe;
  transition: transform 0.2s ease;
}

.creator-show-reviews__more[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}

.creator-show-reviews__more[open] {
  background: rgba(18, 24, 44, 0.94);
}

.creator-show-related {
  width: min(1200px, calc(100% - 64px));
  margin: 48px auto 80px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.creator-show-related .creator-show-section__header h2 {
  color: #e2e8f0;
}

.creator-show-related .creator-show-section__header p {
  color: #94a3b8;
}

.creator-show-services {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.creator-show-service {
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 16px;
  background: #ffffff;
  padding: 14px 16px;
  display: grid;
  gap: 8px;
}

.creator-show-service__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.creator-show-service__title {
  font-size: 15px;
  color: #0f172a;
}

.creator-show-service__price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
  color: #166534;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
}

.creator-show-service__desc {
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.45;
}

.creator-show-related__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .creator-show-hero__wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .creator-show-brand-cta {
    margin-top: 16px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .creator-show-brand-cta--before-recommendations {
    margin-top: 14px;
    margin-bottom: 4px;
  }

  .creator-show-hero__cta {
    justify-content: flex-start;
  }

  .creator-show-overview {
    padding: 36px 28px;
  }

  .creator-show-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .creator-show-hero {
    padding: 48px 0 36px;
  }

  .creator-show-brand-cta {
    width: min(1200px, calc(100% - 40px));
    margin-top: 14px;
    padding: 20px 18px;
    gap: 12px;
  }

  .creator-show-brand-cta--before-recommendations {
    margin-top: 12px;
    margin-bottom: 2px;
  }

  .creator-show-hero__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .creator-show-avatar {
    width: 104px;
    height: 104px;
  }

  .creator-show-overview {
    margin-top: -36px;
    padding: 32px 22px;
  }

  .creator-show--with-brand-cta .creator-show-overview {
    margin-top: 14px;
  }

  .creator-show-related__grid {
    grid-template-columns: 1fr;
  }
}

.ib-btn--neon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 14px;
  text-transform: none;
  text-decoration: none !important;
  color: #fff !important;
  background: linear-gradient(135deg, #833ab4 0%, #e1306c 55%, #fcaf45 100%) !important;
  border: none !important;
  box-shadow:
    0 12px 28px rgba(131, 58, 180, 0.32),
    0 16px 40px rgba(225, 48, 108, 0.28),
    0 0 0 2px rgba(255, 255, 255, 0.12) inset;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ib-btn--neon:hover,
.ib-btn--neon:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 18px 36px rgba(131, 58, 180, 0.38),
    0 24px 54px rgba(225, 48, 108, 0.36),
    0 0 0 2px rgba(255, 255, 255, 0.18) inset;
  outline: none;
}

/* Filters & layout -------------------------------------------------- */
.creators-layout {
  padding: 32px 0 96px;
}

.creators-layout__wrap {
  width: min(1680px, calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  align-items: start;
}

.creators-sidebar {
  position: sticky;
  top: 96px;
  padding-right: 6px;
}

.creators-sidebar {
  scrollbar-width: thin;
  scrollbar-color: rgba(75, 85, 118, 0.45) transparent;
}

.creators-sidebar::-webkit-scrollbar {
  width: 6px;
}

.creators-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.creators-sidebar::-webkit-scrollbar-thumb {
  background: rgba(75, 85, 118, 0.45);
  border-radius: 999px;
}

.creators-sidebar__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.creators-sidebar__group {
  background: linear-gradient(150deg, rgba(12, 18, 32, 0.96), rgba(16, 23, 38, 0.92));
  border: 1px solid rgba(148, 163, 234, 0.28);
  border-radius: var(--ib-radius-sm);
  padding: 28px 22px 22px;
  padding-top: 0px;
  color: #e9edff;
  position: relative;
}

.creators-sidebar__group legend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 6px 16px;
  border-radius: 999px;
  margin: 0 0 8px;
  background: linear-gradient(135deg, rgba(131, 58, 180, 1), rgba(225, 48, 108, 1), rgba(249, 115, 22, 1));
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(131, 58, 180, 0.28);
}

.creators-sidebar__group--inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.creators-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.creators-field span {
  font-weight: 700;
  font-size: 13px;
  color: rgba(248, 250, 255, 0.94);
}

.ib-input,
.ib-select,
.ib-select.browser-default {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  border-radius: 12px !important;
  padding: 10px 14px !important;
  height: 44px !important;
  color: #111c35 !important;
  box-shadow: none !important;
  margin-bottom: 10px !important;
}

.ib-input::placeholder,
.ib-select::placeholder,
.ib-select.browser-default::placeholder {
  color: #111c35 !important;
}

.ib-input:focus,
.ib-select:focus {
  border-color: rgba(124, 58, 237, 0.68) !important;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18) !important;
  outline: none;
}

.creators-field--inline {
  margin-bottom: 0;
}

.creators-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(124, 58, 237, 0.5) rgba(15, 23, 42, 0.4);
}

.creators-checklist--types {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  max-height: none;
}

.creators-checklist::-webkit-scrollbar {
  width: 6px;
}

.creators-checklist::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.35);
  border-radius: 999px;
}

.creators-checklist::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.8), rgba(236, 72, 153, 0.8));
  border-radius: 999px;
}

.creators-check {
  position: relative;
  padding-left: 0px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(226, 232, 255, 0.88);
  cursor: pointer;
}

.creators-check input {
  position: absolute;
  opacity: 0;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  margin: 0;
}

.creators-check span {
  position: relative;
  font-weight: 700;
}

.creators-check span::before {
  content: '';
  position: absolute;
  left: -28px;
  top: -2px;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid rgba(148, 163, 234, 0.5) !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

.creators-check input:checked + span::before {
  border-top: 2px solid transparent !important;
  border-left: 2px solid transparent !important;
  border-right: 2px solid #ff4b6e !important;
  border-bottom: 2px solid #ff4b6e !important;
}

.creators-check span::after {
  content: '';
  position: absolute;
  left: -22px;
  top: 3px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
}

.creators-check input:checked + span::after {
  opacity: 1;
}

.creators-sidebar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ib-filter-btn {
  border: 0;
  border-radius: 12px;
  padding: 10px 18px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 14px;
  text-transform: none;
  text-decoration: none !important;
  color: #fff !important;
  background: linear-gradient(135deg, #833ab4 0%, #e1306c 55%, #fcaf45 100%) !important;
  border: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ib-filter-btn:hover,
.ib-filter-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 20px 34px rgba(124, 58, 237, 0.32);
  outline: none;
}

.creators-reset {
  font-weight: 700;
  color: #e9d5ff !important;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}

.creators-reset:hover,
.creators-reset:focus-visible {
  background: rgba(15, 23, 42, 0.08);
  color: #111c35;
  outline: none;
}

/* Grid cards -------------------------------------------------------- */
.creators-results__grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1080px) {
.creators-results__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .creators-results__grid {
    grid-template-columns: 1fr;
  }
}

.creators-results__grid--suggestions {
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.ib-card {
  background: var(--ib-card-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--ib-radius-sm);
  padding: 22px;
  color: #eaf1ff;
  box-shadow: var(--ib-shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ib-card:hover,
.ib-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 26px 42px rgba(11, 19, 38, 0.32);
  outline: none;
}

.ib-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.ib-avatar {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.05));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.ib-avatar-component {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ff4d6d, #7c3aed);
  color: #fff;
  position: relative;
  flex-shrink: 0;
}

.ib-avatar-sm {
  width: 32px;
  height: 32px;
  font-size: 0.85rem;
}

.ib-avatar-md {
  width: 44px;
  height: 44px;
  font-size: 1rem;
}

.ib-avatar-lg {
  width: 72px;
  height: 72px;
  font-size: 1.3rem;
}

.ib-avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ib-avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ff4d6d, #7c3aed);
  color: #fff;
}

.ib-avatar-fallback-hidden {
  display: none;
}

.ib-avatar-initial {
  line-height: 1;
}

.ib-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ib-name {
  margin: 0;
  font-weight: 800;
  font-size: 18px;
  color: #ffffff;
}

.ib-loc {
  margin: 2px 0 0;
  font-size: 13px;
  color: rgba(221, 230, 255, 0.72);
}

.ib-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ib-chip,
.ib-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.ib-chip {
  background: linear-gradient(135deg, rgba(229, 229, 229, 0.15) 0%, rgba(200, 200, 200, 0.06) 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.12);
}

.ib-chip:hover {
  background: linear-gradient(135deg, rgba(229, 229, 229, 0.2) 0%, rgba(200, 200, 200, 0.1) 100%);
  border-color: rgba(255, 255, 255, 0.2);
}

.ib-pill {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
  color: rgba(235, 240, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.18);
}

.ib-pill:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.08) 100%);
  border-color: rgba(255, 255, 255, 0.24);
}

.ib-kpis p {
  margin: 3px 0;
  font-size: 13px;
  color: rgba(226, 232, 255, 0.82);
}

.ib-actions {
  display: flex;
  justify-content: flex-end;
}

.ib-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(90deg, #ff4d6d, #7c3aed);
  box-shadow: 0 18px 32px rgba(255, 77, 109, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ib-cta:hover,
.ib-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 36px rgba(255, 77, 109, 0.4);
  outline: none;
}

.ib-empty-state {
  margin-top: 48px;
  padding: 64px 32px;
  text-align: center;
  border-radius: var(--ib-radius-lg, 16px);
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.98) 0%, rgba(241, 245, 249, 0.95) 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.ib-empty-state__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0e7ff 0%, #ddd6fe 100%);
  color: #6366f1;
}

.ib-empty-state__icon svg {
  opacity: 0.9;
}

.ib-empty-state h3,
.ib-empty-state__title {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 600;
  color: #1e293b;
  letter-spacing: -0.02em;
}

.ib-empty-state p,
.ib-empty-state__text {
  margin: 0 0 32px;
  font-size: 15px;
  line-height: 1.6;
  color: #64748b;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.ib-empty-state__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.ib-empty-state[hidden] {
  display: none !important;
}

/* Empty state - Matching variant */
.ib-empty-state--matching {
  margin-top: 32px;
}

/* Empty state - Creators variant */
.ib-empty-state--creators {
  margin-top: 24px;
}

/* Responsive */
@media (max-width: 768px) {
  .ib-empty-state {
    margin-top: 32px;
    padding: 48px 24px;
  }

  .ib-empty-state__icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
  }

  .ib-empty-state__icon svg {
    width: 48px;
    height: 48px;
  }

  .ib-empty-state h3,
  .ib-empty-state__title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .ib-empty-state p,
  .ib-empty-state__text {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .ib-empty-state__actions {
    flex-direction: column;
    width: 100%;
  }

  .ib-empty-state__actions .ib-btn {
    width: 100%;
  }
}

.ib-suggestions {
  margin-top: 42px;
  padding: 28px;
  border-radius: var(--ib-radius-sm);
  background: rgba(17, 24, 39, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--ib-shadow);
  color: #f1f5ff;
}

.ib-suggestions[hidden] {
  display: none !important;
}

.ib-suggestions__header {
  margin-bottom: 22px;
}

.ib-suggestions__header h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
}

.ib-suggestions__header p {
  margin: 0;
  color: rgba(224, 230, 255, 0.7);
}

.ib-sentinel {
  width: 100%;
  height: 1px;
  margin-top: 32px;
}

.ib-loader--creators {
  width: 100%;
  justify-content: center;
  margin-top: 18px;
  color: rgba(224, 230, 255, 0.85);
}

/* Modal (mobile filters) ------------------------------------------- */
.ib-modal .modal-content {
  padding: 22px 20px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0b1222, #14172b);
  color: #f8fafc;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.ib-modal h4 {
  margin: 0 0 14px;
  font-weight: 800;
  font-size: 20px;
  color: #f8fafc;
}

.ib-modal .ib-modal-form {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.ib-modal .creators-sidebar__group,
.ib-modal .ib-row-1,
.ib-modal .ib-row-2,
.ib-modal .ib-row-3 {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 14px 14px 10px;
}

.ib-modal .ib-row-1,
.ib-modal .ib-row-2,
.ib-modal .ib-row-3 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.ib-modal .ib-row-1 > *,
.ib-modal .creators-sidebar__group > label {
  grid-column: span 12;
}

.ib-modal .ib-row-2 > * {
  grid-column: span 6;
}

.ib-modal .ib-row-3 > * {
  grid-column: span 4;
}

.ib-modal .ib-check,
.ib-modal .creators-field,
.ib-modal .creators-checklist label {
  color: #e5e7eb;
}

.ib-modal .ib-input,
.ib-modal .ib-select,
.ib-modal input[type="text"],
.ib-modal input[type="number"],
.ib-modal select {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  border-radius: 12px;
}

.ib-modal .ib-fieldset.ib-checks {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 10px 12px;
}

.ib-modal .ib-check input:checked + span {
  color: #fff;
}

.ib-modal .ib-modal-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  grid-column: 1 / -1;
}

.ib-modal .ib-modal-actions .ib-filter-btn {
  background: linear-gradient(90deg, #ff4d6d, #7c3aed);
}

.ib-modal .creators-reset,
.ib-modal [data-modal-reset] {
  color: #cbd5e1;
}

@media (max-width: 980px) {
  .creators-layout__wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .creators-sidebar {
    display: none;
  }

  .creators-results__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .creators-highlight__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .creators-hero__filters {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .creators-hero {
    padding: 66px 0 52px;
  }

  .creators-hero__filters {
    display: inline-flex;
    margin-top: 8px;
  }

  .creators-highlight__grid {
    grid-template-columns: 1fr;
  }

  .creators-results__grid {
    grid-template-columns: 1fr;
  }

  .creators-sidebar__group--inline {
    grid-template-columns: 1fr;
  }

  .creators-sidebar__actions {
    flex-wrap: wrap;
    justify-content: stretch;
  }

  .creators-sidebar__actions .ib-filter-btn {
    width: 100%;
  }

  .creators-reset {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .ib-nav {
    flex-direction: column;
    gap: 12px;
    padding: 12px 0;
  }

  .ib-site-header--minimal .ib-nav {
    flex-direction: row;
    justify-content: flex-start;
    gap: 0;
    padding: 12px 0;
  }

  .ib-menu {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .creators-sidebar__group {
    padding: 16px;
  }

  .ib-card {
    padding: 18px;
  }
}

.ib-modal .ib-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 6px;
}

.ib-modal .ib-modal-actions .ib-filter-btn {
  background: linear-gradient(90deg, #ff4d6d, #7c3aed);
}

.creators-page .select-dropdown,
.creators-page .dropdown-content.select-dropdown {
  display: none !important;
}

.ib-empty-state a.ib-cta {
  display: inline-flex;
}

.ib-card a.ib-cta {
  min-width: 140px;
}

.creators-page .ib-chip {
  background: rgba(124, 58, 237, 0.25);
  border: 1px solid rgba(124, 58, 237, 0.4);
}

.creators-page .ib-pill {
  background: rgba(249, 115, 22, 0.18);
  border: 1px solid rgba(249, 115, 22, 0.32);
}

.creators-page .ib-chip,
.creators-page .ib-pill {
  color: #ffffff;
}

.creators-page .ib-cta {
  background: linear-gradient(90deg, #ff4d6d, #f97316);
}

.creators-page .ib-card {
  color: #f3f5ff;
}

/* Inbox redesign */



.ib-inbox-page {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: calc(100vh - 65px);
  max-height: calc(100vh - 65px);
  padding: 0 8px 12px;
  background: linear-gradient(90deg, rgba(14, 10, 25, 0.92), rgba(34, 17, 53, 0.94));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px rgba(8, 10, 32, 0.32);
}

.ib-inbox-layout {
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 16px;
  position: relative;
  overflow: hidden;
  overflow-y: auto;
  height: calc(100vh - 65px);
  min-height: calc(100vh - 65px);
}

.ib-inbox-column {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.ib-inbox-sidebar-col,
.ib-inbox-thread-col {
  min-height: calc(100vh - 65px);
  position: relative;
  overflow-y: auto;
}

.ib-inbox-thread-col {
  overflow: hidden;
}

.ib-inbox-thread-col #inbox-conversation {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 98%;
  width: 100%;
  float: left;
}

#inbox-conversation .center-align {
  text-align: center;
  min-height: calc(100vh - 90px);
  display: flex;
  align-content: center;
  justify-content: center;
  flex-wrap: wrap;
}

#inbox-conversation .card-title, #inbox-conversation p {
  width: 100%;
  float: left;
}

.ib-sidebar-card {
  border-radius: 14px !important;
  position: relative;
  height: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ib-inbox-sidebar {
  padding: 12px 16px 8px;
}

.ib-search-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0px 12px;
  background: linear-gradient(90deg, rgba(14, 10, 25, 0.92), rgba(34, 17, 53, 0.94));
  border-radius: 999px;
  border: 1px solid #08060f;
  box-shadow: none;
  height: 36px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ib-search-pill:hover,
.ib-search-pill:focus-within {
  border-color: rgba(124, 58, 237, 0.68);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
}

.ib-search-pill svg {
  width: 16px;
  height: 16px;
  color: #6b7280;
  flex-shrink: 0;
}

.ib-search-pill input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 14px;
  color: #ffffff;
  border: none !important;
  box-shadow: none !important;
  height: 36px !important;
  margin: 0 !important;

}

.ib-inbox-filters {
  display: flex;
  gap: 8px;
  margin: 8px 0 0;
}

.ib-inbox-filters .inbox-filter {
  border-radius: 999px;
  padding: 0px 14px;
  text-transform: none;
  line-height: 1em;
  border: 1px solid #e5e7eb;
  color: #374151;
  font-weight: 600;
  background: #fff;
}

.ib-inbox-filters .inbox-filter.active {
  background: linear-gradient(120deg, #ff4d6d, #7c3aed);
  color: #fff;
  border-color: transparent;
}

.ib-thread-list {
  flex: 1;
  overflow-y: auto !important;
}

.ib-thread-list .collection-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ib-thread-list .collection-item:hover {
  background: #f8f5ff;
}

.ib-thread-list .collection-item.active {
  background: rgba(255, 77, 109, 0.08) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 77, 109, 0.2) !important;
}

.ib-inbox-back-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #4b5563;
}

.ib-inbox-back-btn:focus-visible,
.ib-inbox-back-btn:hover {
  background: rgba(124, 58, 237, 0.08);
}

.inbox-thread-avatar {
  width: 44px;
  height: 44px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inbox-thread-avatar__inner {
  width: 100%;
  height: 100%;
  box-shadow: none;
}

.inbox-thread-main {
  flex: 1;
  min-width: 0;
}

.inbox-thread-top,
.inbox-thread-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.inbox-thread-name {
  font-weight: 700;
  color: #0f172a;
  font-size: 15px;
}

.inbox-thread-time {
  font-size: 12px;
}

.inbox-thread-preview {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.inbox-thread-status {
  margin-right: 4px;
  display: inline-flex;
  align-items: center;
}

.inbox-thread-status .msg-status {
  font-size: 0.85rem;
}

.grey-text.text-darken-2.inbox-thread-preview--typing {
  color: #9c27b0 !important;
  font-style: italic;
}

.thread-preview-icon-audio {
  color: #7c3aed;
  display: inline-flex;
  align-items: center;
}

.thread-preview-icon-media {
  color: #7c3aed;
  display: inline-flex;
  align-items: center;
}

.thread-preview-audio-duration {
  font-variant-numeric: tabular-nums;
  color: #4b5563;
}

.inbox-thread-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ib-thread-list::-webkit-scrollbar {
  width: 8px;
}

.ib-thread-list::-webkit-scrollbar-thumb {
  background: rgba(124, 58, 237, 0.3);
  border-radius: 10px;
}

.inbox-unread-badge {
  background: #ff4d6d;
  color: #fff;
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.conversation-wrapper {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  max-height: calc(100vh - 90px);
  width: 100%;
  max-width: 100%;
  margin-top: 8px;
  position: relative;
}

.conversation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.conversation-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.conversation-header-left a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.conversation-avatar {
  width: 44px;
  height: 44px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.conversation-avatar__inner {
  width: 44px;
  height: 44px;
  box-shadow: none;
}

.conversation-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.conversation-subtext {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6b7280;
}

.conversation-subtext .ib-status--typing {
  color: #9c27b0;
  font-style: italic;
}

.conversation-subtext .presence-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0px;
}

.presence-dot.online {
  background: #22c55e;
}

.presence-dot.offline {
  background: #9ca3af;
}

.ib-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  background-color: #4b1765 !important;
  text-transform: none !important;
  font-weight: bold !important;
}

.ib-profile-link:hover {
  background: rgba(124, 58, 237, 0.08);
}

.conversation-body {
  padding: 16px;
  flex: 1;
  overflow-y: auto;
  background: #f8fafc;
  min-height: 0;
  max-height: calc(100vh - 220px);
}

.ib-lightgallery-host {
  display: none;
}

.chat-row {
  display: flex;
  margin-bottom: 8px;
}

.ConversationMessage--new {
  animation: conversation-message-appear 0.18s ease-out;
}

@keyframes conversation-message-appear {
  from {
    transform: translateY(4px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.chat-row.brand {
  justify-content: flex-end;
}

.chat-row.creator {
  justify-content: flex-start;
}

.chat-bubble {
  max-width: 78%;
  padding: 8px 12px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  position: relative;
}

.chat-row.brand .chat-bubble {
  background: #e8e7ff;
}

.chat-row.brand .chat-bubble::after,
.chat-row.creator .chat-bubble::after {
  content: '';
  position: absolute;
  top: 6px;
  width: 14px;
  height: 14px;
}

.chat-row.brand .chat-bubble::after {
  right: -7px;
  border-left: 14px solid #e8e7ff;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}

.chat-row.creator .chat-bubble::after {
  left: -7px;
  border-right: 14px solid #ffffff;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}

.chat-bubble-meta {
  font-size: 11px;
  color: #4b5563;
  margin-bottom: 4px;
}

.chat-bubble-text {
  white-space: pre-wrap;
  word-break: break-word;
  color: #111827;
  font-size: 14px;
}

.chat-bubble-time {
  font-size: 11px;
  color: #6b7280;
  margin-top: 6px;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.msg-status {
  font-size: 12px;
  line-height: 1;
  color: #6b7280;
}

.msg-status--sent {
  color: #9ca3af;
}

.msg-status--delivered {
  color: #6b7280;
}

.msg-status--read {
  color: #ec4899;
}

.ib-message.ib-message--audio {
  position: relative;
  padding: 12px 16px 12px 14px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ib-message--audio.brand::after,
.ib-message--audio.creator::after {
  content: '';
  position: absolute;
  bottom: 12px;
  width: 14px;
  height: 14px;
  background: inherit;
  transform: rotate(45deg);
  box-shadow: -2px 2px 6px rgba(0, 0, 0, 0.08);
}

.ib-message--audio.brand::after {
  right: -6px;
}

.ib-message--audio.creator::after {
  left: -6px;
}

.ib-voice-shell {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(520px, 100%);
  min-width: min(320px, 100%);
}

.ib-voice-avatar {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.ib-voice-avatar .Avatar,
.ib-voice-avatar__img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
}

.ib-voice-mic {
  position: absolute;
  right: -4px;
  bottom: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(140deg, #ff4d6d, #7c3aed);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.25);
}

.ib-message--audio .ib-audio-player {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: min(320px, 100%);
}

.ib-audio-play {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(140deg, #ff4d6d, #7c3aed);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.25);
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}

.ib-audio-play .fa-pause {
  display: none;
}

.ib-audio-play.is-playing .fa-play {
  display: none;
}

.ib-audio-play.is-playing .fa-pause {
  display: inline-block;
}

.ib-audio-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  bottom: -10px;
}

.ib-audio-main .ib-voice-time-sent {
  position: relative;
  right: -4px;
}

.ib-audio-progress,
.ib-audio-track {
  position: relative;
  height: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.12);
  overflow: visible;
  cursor: pointer;
  bottom: -3px;
  width: 100%;
  min-width: 140px;
}

.ib-audio-progress-fill,
.ib-audio-track-progress {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(135deg, #ff4d6d, #7c3aed);
  border-radius: 999px;
  transition: width 0.08s linear;
}

.ib-audio-progress-thumb,
.ib-audio-track-handle {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff, #f3e8ff);
  box-shadow: 0 4px 8px rgba(124, 58, 237, 0.3);
  pointer-events: auto;
  left: 0%;
}

.ib-attachment-grid {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
  width: 100%;
  max-width: 340px;
}

.ib-attachment-grid.grid-count-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.ib-attachment-grid.grid-count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ib-attachment-grid.grid-count-3,
.ib-attachment-grid.grid-count-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.ib-attachment-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  min-height: 120px;
  max-height: 220px;
  background: #0f172a;
}

.ib-attachment-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ib-attachment-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0f172a;
}

.ib-media-card {
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
  cursor: pointer;
}

.ib-media-card__thumb {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ib-media-card__thumb img,
.ib-media-card__thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ib-media-card__poster--blank {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.6));
}

.ib-message-video-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0f172a;
  display: block;
}

.lg-thumb-item .ib-media-card__thumb--gallery {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 64px;
  overflow: hidden;
  border-radius: 10px;
  background: #0f172a;
}

.lg-thumb-item .ib-media-card__thumb--gallery .ib-media-card__poster,
.lg-thumb-item .ib-media-card__thumb--gallery .ib-media-card__poster--blank {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lg-thumb-item .ib-media-card__overlay--thumb {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.55));
}

.lg-thumb-item.ib-gallery-video-thumb .ib-media-card__thumb {
  width: 100%;
  height: 100%;
  border-radius: 0px;
  background: #0f172a;
}

.lg-thumb-item.ib-gallery-video-thumb .ib-message-video-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lg-thumb-item .ib-media-card__play-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  font-size: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.95), rgba(59, 130, 246, 0.85));
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(56, 189, 248, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.lg-thumb-item .ib-media-card__duration{
  right: 2px;
  bottom: 2px;
  font-size: 10px;
}

.ib-media-thumb--blank {
  width: 100%;
  height: 100%;
  min-height: 68px;
  display: grid;
  place-items: center;
  background: #0f172a;
  color: #e5e7eb;
  font-size: 14px;
}

.lg-thumb-item.ib-video-no-thumb {
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #e5e7eb;
}

.lg-thumb-item.ib-video-no-thumb img {
  display: none;
}

.lg-thumb-item .ib-thumb-fallback {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #e5e7eb;
}

.ib-media-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.45));
}

.ib-media-card__media--error {
  background: rgba(15, 23, 42, 0.35);
  color: #e2e8f0;
}

.ib-media-card__play-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.95), rgba(59, 130, 246, 0.85));
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(56, 189, 248, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.ib-media-card__duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 6px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  z-index: 1;
}

.ib-project-attachment-card .ib-media-card__duration{
  padding: 10px 6px;
}

.ib-attachment-thumb.is-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.45));
}

.ib-attachment-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  pointer-events: none;
}

.ib-attachment-more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  background: rgba(0, 0, 0, 0.45);
}

.ib-attachment-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.ib-attachment-doc {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  color: #111827;
  text-decoration: none;
}

.chat-row.brand .ib-attachment-doc {
  background: rgba(255, 255, 255, 0.8);
}

.ib-attachment-doc__icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ff4d6d, #7c3aed);
  color: #fff;
  display: block;
}

.ib-attachment-doc__icon svg{
  display: block;
  box-sizing: inherit !important;
  width: 28px;
  height: 28px;
  padding: 4px;
}

.ib-attachment-doc__meta strong {
  display: block;
  font-size: 13px;
}

.ib-attachment-filename,
.ib-profile-file__name {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 230px;
}

@media (max-width: 640px) {
  .ib-attachment-filename {
    max-width: 190px;
    width: 100%;
  }

  .ib-profile-file__name{
    max-width: 280px;
    width: 100%;
  }

  .chat-link-card,
  .ib-profile-link-card,
  .ib-profile-file {
    max-width: calc(100vw - 32px);
  }

  .chat-bubble--attachments{
    max-width: calc(100% - 48px) !important;
  }
}

.ib-attachment-doc__meta small {
  color: #4b5563;
}

.chat-bubble--attachments {
  padding: 10px 12px;
  max-width: 420px;
}

.chat-link-card {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f172a;
  text-decoration: none;
  color: #e2e8f0;
  margin-top: 6px;
}

.chat-link-card__thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.chat-link-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-link-card__icon {
  color: #cbd5e1;
  font-size: 18px;
}

.chat-link-card__body { flex: 1; min-width: 0; }
.chat-link-card__title { font-weight: 700; font-size: 14px; margin-bottom: 4px; color: #e2e8f0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-link-card__desc { font-size: 13px; color: #cbd5e1; margin-bottom: 2px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; }
.chat-link-card__url { font-size: 12px; color: #94a3b8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-link-card { max-width: 100%; background: rgba(15, 23, 42, 0.8); }

@media (max-width: 640px) {
  .chat-link-card,
  .ib-profile-link-card,
  .ib-profile-file,
  .ib-attachment-doc {
    max-width: calc(100vw - 24px);
  }
}

.ib-audio-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #111827;
  font-variant-numeric: tabular-nums;
  gap: 8px;
}

.ib-audio-timer {
  font-weight: 700;
}

.ib-voice-time-sent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #374151;
}

.ib-voice-time-sent .msg-status {
  font-size: 12px;
  margin-left: 2px;
}

.ib-message--audio .chat-bubble-time {
  display: none;
}

.ib-chat-typing {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #616161;
  font-size: 0.9rem;
}

.ib-chat-attachments-preview {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 2px 6px 0;
  margin-bottom: 10px;
}

.ib-link-preview-status {
  color: #94a3b8;
  font-size: 12px;
  padding: 0 2px 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ib-link-preview-status[hidden] {
  display: none !important;
}

.ib-attach-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f172a;
  min-width: 180px;
  position: relative;
  color: #f3f4f6;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.ib-attach-card__thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ib-attach-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ib-attach-card__video {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(15, 23, 42, 0.9));
}

.ib-attach-card__video-icon {
  color: #fff;
  font-size: 18px;
}

.ib-attach-card__icon {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #e5e7eb;
}

.ib-attach-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 150px;
}

.ib-attach-card__name {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ib-attach-card__ext {
  font-size: 12px;
  color: #c084fc;
}

.ib-attach-card--link .ib-attach-card__name,
.ib-attach-card--link .ib-attach-card__ext {
  max-width: 160px;
}

.ib-attach-card__remove {
  position: absolute;
  top: 4px;
  right: 4px;
  border: none;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.ib-attach-inside {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  z-index: 2;
}

.ib-chat-attach-toggle {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ib-chat-attach-toggle:hover {
  color: #ffffff;
  transform: scale(1.04);
}

.ib-chat-attach-menu {
  position: absolute;
  bottom: 58px;
  left: 0;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  background: #0f172a;
  color: #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.45);
  min-width: 200px;
  z-index: 3;
}

.ib-chat-attach-menu.is-open {
  display: flex;
}

.ib-chat-attach-menu button {
  background: transparent;
  border: none;
  color: inherit;
  text-align: left;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ib-chat-attach-menu button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.ib-chat-attach-menu__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff4d6d, #7c3aed);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.ib-chat-attach-menu__label {
  font-size: 14px;
}

.ib-chat-dropzone {
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(124, 58, 237, 0.4);
  border-radius: 16px;
  background: rgba(17, 24, 39, 0.45);
  color: #e5e7eb;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 5;
}

.ib-chat-dropzone.is-active {
  display: flex;
}

.ib-chat-dropzone__inner {
  text-align: center;
  display: grid;
  gap: 6px;
  padding: 16px 22px;
  background: rgba(15, 23, 42, 0.7);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.ib-chat-dropzone__icon {
  font-size: 24px;
  color: #c084fc;
}

.ib-chat-dropzone__copy strong {
  display: block;
  font-size: 15px;
}

.ib-chat-dropzone__copy span {
  font-size: 13px;
  color: #d1d5db;
}

.typing-dots {
  display: inline-flex;
  gap: 3px;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  background: #9c27b0;
  border-radius: 50%;
  display: inline-block;
  animation: ib-dot 1.2s infinite ease-in-out;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes ib-dot {
  0%, 80%, 100% {
    opacity: 0.4;
  }
  40% {
    opacity: 1;
  }
}

.ib-inline-alert {
  margin: 8px 16px 0;
  font-size: 13px;
}

.chat-date-separator {
  text-align: center;
  margin: 12px 0;
}

.chat-date-separator span {
  display: inline-block;
  background: #e5e7eb;
  color: #374151;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.conversation-form {
  padding: 10px 14px 14px;
  border-top: 1px solid #f0f0f0;
  background: #fff;
  flex-shrink: 0;
  display: block;
}


.ib-message-input-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

.ib-message-input-wrap {
  flex: 1;
  position: relative;
  background: linear-gradient(90deg, rgba(14, 10, 25, 0.92), rgba(34, 17, 53, 0.94));
  border-radius: 999px;
  border: 1px solid #08060f;
  padding: 0;
  display: flex;
  align-items: center;
  min-height: 48px;
}

.ib-message-input {
  width: 100%;
  border: none;
  background: transparent;
  resize: none;
  min-height: 48px;
  max-height: 48px;
  outline: none;
  font-size: 14px;
  position: relative;
  color: #f9fafb;
  padding: 14px 60px 14px 46px;
  overflow: hidden;
}

.ib-message-send {
  border: none;
  background: linear-gradient(120deg, #ff4d6d, #7c3aed);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.25);
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
}

.ib-message-send .ib-mic-icon {
  display: none;
}

.inbox-message-form.is-voice-mode .ib-message-send .ib-send-icon {
  display: none;
}

.inbox-message-form.is-voice-mode .ib-message-send .ib-mic-icon {
  display: inline-block;
}

.ib-voice-recorder {
  display: none;
  align-items: center;
  gap: 10px;
  background: #111827;
  color: #f3f4f6;
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  flex: 1;
  width: 100%;
  min-height: 52px;
  flex-wrap: wrap;
}

.ib-voice-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  flex: 1;
}

.ib-voice-timer {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.ib-voice-btn {
  border: none;
  background: transparent;
  color: inherit;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
}

.ib-voice-btn--stop {
  background: linear-gradient(120deg, #ff4d6d, #7c3aed);
  color: #fff;
  box-shadow: 0 8px 18px rgba(124, 58, 237, 0.35);
}

@media (max-width: 640px) {
  .ib-voice-recorder {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .ib-voice-status {
    font-size: 13px;
  }

  .ib-audio-player {
    gap: 10px;
  }
}

.inbox-message-form.is-recording .ib-message-input-wrap {
  display: none;
}

.inbox-message-form.is-recording .ib-voice-recorder {
  display: inline-flex;
}

.inbox-message-form.is-recording .ib-message-send {
  display: none;
}

.inbox-page-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
}

.ib-inbox-subtitle {
  font-size: 14px;
}

.ib-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  position: absolute;
  right: 20px;
}

.ib-nav-actions .ib-icon-btn--shortcut {
  position: relative;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.18));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 14px 28px rgba(8, 10, 32, 0.22);
  gap: 0;
  color: #f8fafc;
  overflow: visible;
}

.ib-nav-actions .ib-icon-btn--shortcut:hover,
.ib-nav-actions .ib-icon-btn--shortcut:focus-visible,
.ib-nav-actions .ib-icon-btn--shortcut.is-open {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(124, 58, 237, 0.16));
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 28px rgba(8, 10, 32, 0.28);
  transform: translateY(-1px);
}

.ib-nav-actions .ib-icon-btn--shortcut.has-unread {
  border-color: rgba(244, 114, 182, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 30px rgba(236, 72, 153, 0.18);
}

.ib-nav-actions .ib-icon-btn__glyph {
  width: auto;
  height: auto;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: inherit;
  flex: 0 0 auto;
  font-size: 16px;
  line-height: 1;
}

.ib-nav-actions .ib-icon-btn__copy {
  display: none;
}

.ib-nav-actions .ib-icon-btn__label {
  color: #f8fafc;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
}

.ib-nav-actions .ib-icon-btn__meta {
  color: rgba(226, 232, 240, 0.74);
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
}

.ib-nav-actions .ib-icon-btn--notifications.has-unread .ib-icon-btn__glyph {
  color: #fda4af;
}

.ib-nav-actions .ib-icon-btn--inbox.has-unread .ib-icon-btn__glyph {
  color: #7dd3fc;
}

.ib-nav-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(12, 10, 32, 0.35);
}

.ib-nav-user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  color: #f9fafb;
}

.ib-nav-user-meta strong {
  display: block;
  color: #f9fafb;
  font-size: 0.95rem;
}

.ib-nav-login {
  color: #f9fafb;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.ib-nav-avatar .ib-avatar-component {
  width: 100%;
  height: 100%;
  box-shadow: none;
}

.ib-nav-user {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.header-user-dropdown__info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 20px;
  min-width: 0;
}

.ib-icon-btn.ib-avatar-trigger {
  padding: 0 !important;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 22px rgba(8, 10, 32, 0.24);
}

.header-user-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 760px;
  max-width: 72vw;
  width: 100%;
  background: rgba(14, 10, 25, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(8, 10, 32, 0.4);
  padding: 12px 20px 12px;
  display: none;
  z-index: 140;
}

.header-user-dropdown.is-open {
  display: block;
}

.header-user-dropdown__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #f7f7fb;
}

.header-user-dropdown__userbar {
  border-radius: 12px 12px 0 0;
  padding: 10px 12px;
  padding-right: 35px;
  padding-bottom: 30px;
  padding-left: 35px;
  border: none;
  background: rgba(14, 10, 25, 1)  ;
  position: absolute;
  top: -75px;
  right: 00px;
}

.header-user-dropdown__user {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.header-user-dropdown__avatar .ib-avatar-component {
  width: 35px;
  height: 35px;
}

.header-user-dropdown__name {
  font-size: .9rem;
  color: #f9fafb;
  position: relative;
  top: 5px !important;
  left: -5px !important;
  display: block;
  max-width: 176px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-user-dropdown__role {
  top: -5px !important;
  left: -5px !important;
  position: relative;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.header-user-dropdown__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.header-user-dropdown__column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header-user-dropdown__title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #f9f0ff;
  letter-spacing: 0.01em;
}

.header-user-dropdown__link {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 600;
  padding: 4px 6px;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.header-user-dropdown__link:hover,
.header-user-dropdown__link:focus-visible {
  background: rgba(255, 77, 109, 0.14);
  color: #ffd0e1;
}

.header-user-dropdown__posts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.header-user-dropdown__post {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: center;
  padding: 6px;
  border-radius: 10px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  color: #f8f8ff;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.header-user-dropdown__post:hover,
.header-user-dropdown__post:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.header-user-dropdown__post-thumb {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff4b8b, #7f5af0);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
}

.header-user-dropdown__post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.header-user-dropdown__post-title {
  font-weight: 700;
  line-height: 1.3;
  font-size: .8em !important;
}

.header-user-dropdown__post-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.header-user-dropdown__footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 6px;
  flex-wrap: wrap;
}

.header-user-dropdown__logout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.header-user-dropdown__logout--accent {
  background: linear-gradient(135deg, #ff4b6e, #7f5af0);
  box-shadow: 0 10px 24px rgba(127, 90, 240, 0.35);
  border-color: transparent;
}

.header-user-dropdown__logout:hover,
.header-user-dropdown__logout:focus-visible {
  filter: brightness(1.05);
}

.header-user-dropdown__empty {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
}

.ib-notifications-dropdown {
  position: absolute;
  right: 20px;
  top: calc(100% + 12px);
  width: 440px;
  min-width: 400px;
  max-width: calc(100vw - 36px);
  background:
    radial-gradient(circle at top right, rgba(244, 114, 182, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(11, 13, 28, 0.98) 0%, rgba(18, 12, 34, 0.99) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 24px 56px rgba(8, 10, 32, 0.42);
  padding: 16px;
  display: none;
  z-index: 150;
  backdrop-filter: blur(18px);
}

.ib-notifications-dropdown.is-open {
  display: block;
}

.ib-notifications-dropdown__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
}

.ib-notifications-dropdown__eyebrow,
.ib-inbox-preview-dropdown__eyebrow {
  color: rgba(226, 232, 240, 0.62);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ib-notifications-dropdown__title-row,
.ib-inbox-preview-dropdown__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
}

.ib-notifications-dropdown__title {
  font-weight: 800;
  color: #f9f0ff;
  font-size: 1.02rem;
}

.ib-notifications-dropdown__state,
.ib-inbox-preview-dropdown__state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f8d4e8;
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}

.ib-notifications-dropdown__subtitle {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.45;
  margin-top: 6px;
}

.ib-notifications-dropdown__action {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.76rem;
  padding: 8px 11px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ib-notifications-dropdown__action:hover,
.ib-notifications-dropdown__action:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.ib-notifications-dropdown__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 390px;
  overflow-y: auto;
  padding-right: 4px;
}

.ib-notifications-dropdown__list .ib-notification-item + .ib-notification-item,
.ib-notifications-dropdown__list .ib-notif-item + .ib-notif-item {
  margin-top: 2px;
}

.ib-notification-item,
.ib-notif-item {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  height: auto !important;
  min-height: 96px;
  padding: 13px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
  color: #f8f8ff;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: background-color 0.24s ease, border-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.ib-notification-item::before,
.ib-notif-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fb7185, #a855f7);
  opacity: 0;
  transform: scaleY(0.45);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.ib-notification-item:hover,
.ib-notification-item:focus-visible,
.ib-notif-item:hover,
.ib-notif-item:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 26px rgba(8, 10, 32, 0.24);
  transform: translateY(-1px);
}

.ib-notification-item.is-unread,
.ib-notif-item.is-unread {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.24), rgba(236, 72, 153, 0.16));
  border-color: rgba(139, 92, 246, 0.42);
  box-shadow: 0 12px 24px rgba(124, 58, 237, 0.18);
}

.ib-notification-item.is-unread::before,
.ib-notif-item.is-unread::before,
.ib-notification-item.is-recent-read::before,
.ib-notif-item.is-recent-read::before {
  opacity: 1;
  transform: scaleY(1);
}

.ib-notification-item.is-recent-read,
.ib-notif-item.is-recent-read {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(59, 130, 246, 0.12));
  border-color: rgba(74, 222, 128, 0.34);
  box-shadow: 0 12px 24px rgba(34, 197, 94, 0.14);
}

.ib-notification-item.is-recent-read::before,
.ib-notif-item.is-recent-read::before {
  background: linear-gradient(180deg, #34d399, #60a5fa);
}

.ib-notification-item__media {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff4b8b, #7f5af0);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  overflow: hidden;
  position: relative;
}

.ib-notification-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ib-notification-item__media i {
  font-size: 18px;
}

.ib-notification-item__dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.7);
  opacity: 0;
}

.ib-notification-item__content,
.ib-notif-content {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    'title meta'
    'body meta';
  align-items: start;
  gap: 6px 12px;
}

.ib-notification-item__title,
.ib-notif-title {
  grid-area: title;
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

.ib-notification-item__body,
.ib-notif-preview {
  grid-area: body;
  display: -webkit-box;
  line-clamp: 2;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  line-height: 1.45;
  white-space: normal;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ib-notification-item__meta,
.ib-notif-meta {
  grid-area: meta;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 6px;
  min-width: max-content;
}

.ib-notification-item__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
}

.ib-notification-item__status--unread {
  background: rgba(249, 115, 22, 0.16);
  border: 1px solid rgba(251, 146, 60, 0.28);
  color: #fdba74;
}

.ib-notification-item__status--read {
  background: rgba(148, 163, 184, 0.16);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #cbd5e1;
}

.ib-notification-item__status--recent {
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(74, 222, 128, 0.22);
  color: #bbf7d0;
}

.ib-notification-item__meta-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.ib-notification-item.is-unread .ib-notification-item__dot,
.ib-notif-item.is-unread .ib-notification-item__dot {
  opacity: 1;
}

.ib-notifications-dropdown__empty {
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.ib-notifications-dropdown__empty[hidden] {
  display: none !important;
}

.ib-notifications-dropdown__footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;

  .ib-sidebar-project-card__facts {
    grid-template-columns: 1fr;
  }
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ib-notifications-dropdown__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ib-notifications-dropdown__link:hover,
.ib-notifications-dropdown__link:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.ib-inbox-preview-dropdown {
  position: absolute;
  right: 72px;
  top: calc(100% + 12px);
  width: 360px;
  max-width: calc(100vw - 40px);
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(9, 14, 27, 0.98) 0%, rgba(10, 18, 36, 0.99) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 24px 56px rgba(8, 10, 32, 0.42);
  padding: 16px;
  display: none;
  z-index: 150;
  backdrop-filter: blur(18px);
}

.ib-inbox-preview-dropdown.is-open {
  display: block;
}

.ib-inbox-preview-dropdown__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
}

.ib-inbox-preview-dropdown__title {
  font-weight: 800;
  color: #f9f0ff;
  font-size: 1.02rem;
}

.ib-inbox-preview-dropdown__subtitle {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.45;
  margin-top: 6px;
}

.ib-inbox-preview-dropdown__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 340px;
  overflow-y: auto;
  padding-right: 4px;
}

.ib-notifications-dropdown__list,
.ib-inbox-preview-dropdown__list,
.header-user-dropdown__inner {
  scrollbar-width: thin;
  scrollbar-color: rgba(244, 114, 182, 0.8) rgba(255, 255, 255, 0.08);
}

.ib-notifications-dropdown__list::-webkit-scrollbar,
.ib-inbox-preview-dropdown__list::-webkit-scrollbar,
.header-user-dropdown__inner::-webkit-scrollbar {
  width: 10px;
}

.ib-notifications-dropdown__list::-webkit-scrollbar-track,
.ib-inbox-preview-dropdown__list::-webkit-scrollbar-track,
.header-user-dropdown__inner::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.ib-notifications-dropdown__list::-webkit-scrollbar-thumb,
.ib-inbox-preview-dropdown__list::-webkit-scrollbar-thumb,
.header-user-dropdown__inner::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(244, 114, 182, 0.94), rgba(124, 58, 237, 0.94));
  border-radius: 999px;
  border: 2px solid rgba(12, 12, 29, 0.48);
}

.ib-inbox-preview-item {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 12px;
  min-height: 92px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  text-align: left;
  color: #f8f8ff;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: background-color 0.24s ease, border-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.ib-inbox-preview-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #22d3ee, #3b82f6);
  opacity: 0;
  transform: scaleY(0.45);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.ib-inbox-preview-item:hover,
.ib-inbox-preview-item:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 24px rgba(8, 10, 32, 0.22);
  transform: translateY(-1px);
}

.ib-inbox-preview-item.is-unread {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(59, 130, 246, 0.14));
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 12px 24px rgba(14, 165, 233, 0.14);
}

.ib-inbox-preview-item.is-unread::before {
  opacity: 1;
  transform: scaleY(1);
}

.ib-inbox-preview-item__media {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #22c55e, #3b82f6);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  overflow: hidden;
}

.ib-inbox-preview-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ib-inbox-preview-item__title {
  grid-area: title;
  font-weight: 700;
  font-size: 0.9rem;
}

.ib-inbox-preview-item__body {
  grid-area: body;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  margin-top: 2px;
  overflow: hidden;
}

.ib-inbox-preview-item__body--rich {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  -webkit-line-clamp: unset;
}

.ib-inbox-preview-item__body--rich .thread-preview-icon-audio,
.ib-inbox-preview-item__body--rich .thread-preview-audio-duration {
  color: rgba(255, 255, 255, 0.78);
}

.ib-inbox-preview-item__content {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    'title meta'
    'body meta';
  gap: 6px 10px;
  align-items: start;
}

.ib-inbox-preview-item__meta-row {
  grid-area: meta;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 6px;
  min-width: max-content;
}

.ib-inbox-preview-item__meta {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.55);
}

.ib-inbox-preview-item__state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.14);
  border: 1px solid rgba(34, 211, 238, 0.2);
  color: #a5f3fc;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

.ib-inbox-preview-item__badge {
  align-self: start;
  min-width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #22d3ee, #3b82f6);
  color: #fff;
  border-radius: 999px;
  padding: 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 18px rgba(14, 165, 233, 0.22);
}

.ib-inbox-preview-dropdown__empty {
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.ib-inbox-preview-dropdown__empty[hidden] {
  display: none !important;
}

.ib-inbox-preview-dropdown__footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ib-inbox-preview-dropdown__all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.75rem;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ib-inbox-preview-dropdown__all:hover,
.ib-inbox-preview-dropdown__all:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.ib-review-modal .modal-content {
  padding: 28px 32px 16px;
}

.ib-review-modal__header h5 {
  margin-top: 0;
  font-weight: 700;
  color: #1f2937;
}

.ib-review-modal__subtitle {
  margin-top: 6px;
  color: #6b7280;
}

.ib-review-modal__feedback {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  background: rgba(99, 102, 241, 0.08);
  color: #4338ca;
}

.ib-review-modal__feedback.is-success {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.ib-review-modal__feedback.is-error {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}

.ib-review-modal__stars {
  display: flex;
  gap: 8px;
  margin: 18px 0 10px;
}

.ib-review-star {
  border: none;
  background: rgba(203, 213, 225, 0.25);
  color: var(--ib-star-empty);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.ib-review-star:hover,
.ib-review-star.is-hover,
.ib-review-star.is-active {
  background: rgba(245, 197, 66, 0.2);
  color: var(--ib-star-filled);
  transform: translateY(-1px);
}

.ib-review-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 24px 18px;
  border-top: 1px solid #e5e7eb;
}

.ib-review-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
}

.ib-review-status--neutral {
  background: #f3f4f6;
  color: #4b5563;
}

@media (max-width: 992px) {
  .header-user-dropdown {
    position: fixed;
    top: 76px;
    left: 14px;
    right: 14px;
    min-width: unset;
    width: auto;
    max-width: none;
  }

  .header-user-dropdown__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ib-notifications-dropdown {
    position: fixed;
    top: 76px;
    left: 14px;
    right: 14px;
    width: auto;
    min-width: 0;
    max-width: none;
  }

  .ib-inbox-preview-dropdown {
    position: fixed;
    top: 76px;
    left: 14px;
    right: 14px;
    width: auto;
    max-width: none;
  }

  .ib-thread-list {
    max-height: calc(100vh - 250px);
  }

  .ib-profile-link{
    display: none !important;
  }
}

@media (max-width: 860px) {
  .ib-nav-actions .ib-icon-btn--shortcut {
    width: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 14px;
  }

  .ib-nav-actions .ib-icon-btn__copy {
    display: none;
  }

  .ib-notifications-dropdown__footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ib-site-header {
    --ib-app-header-height: 64px;
  }

  .ib-nav {
    min-height: 64px;
    gap: 10px;
    justify-content: flex-end;
  }

  .ib-site-header:not(.ib-site-header--minimal) .ib-brand {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .ib-nav-actions {
    position: static;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    float: left;
    gap: 8px;
  }

  .ib-nav-user {
    padding: 4px 8px;
    gap: 8px;
    min-width: 0;
  }

  .header-user-dropdown__info {
    min-width: 0;
    padding-right: 8px;
  }

  .header-user-dropdown__name,
  .header-user-dropdown__role {
    top: 0 !important;
    left: 0 !important;
  }

  .header-user-dropdown__name {
    max-width: min(108px, calc(100vw - 232px));
    font-size: 0.8rem;
  }

  .header-user-dropdown__role {
    font-size: 0.74rem;
    white-space: nowrap;
  }

  .ib-icon-btn.ib-avatar-trigger {
    width: 40px;
    height: 40px;
  }

  .header-user-dropdown__grid {
    grid-template-columns: 1fr;
  }

  .header-user-dropdown__post {
    grid-template-columns: 38px 1fr;
  }

  .header-user-dropdown__post-title {
    font-size: 1rem !important;
    padding-left: 10px;
  }

  .ib-notifications-dropdown,
  .ib-inbox-preview-dropdown,
  .header-user-dropdown {
    position: fixed;
    left: 10px;
    right: 10px;
    top: calc(var(--ib-app-header-height) + env(safe-area-inset-top, 0px) + 8px);
    width: auto;
    min-width: 0;
    max-width: none;
    max-height: calc(100dvh - var(--ib-app-header-height) - env(safe-area-inset-top, 0px) - 18px);
    z-index: 180;
  }

  .ib-notifications-dropdown,
  .ib-inbox-preview-dropdown {
    padding: 14px;
    border-radius: 18px;
  }

  .header-user-dropdown {
    padding: 12px 12px 14px;
    border-radius: 18px;
  }

  .header-user-dropdown__userbar {
    position: static;
    padding: 0;
    margin-bottom: 2px;
    border-radius: 0;
    background: transparent;
  }

  .header-user-dropdown__user {
    justify-content: flex-start;
  }

  .header-user-dropdown__inner {
    max-height: calc(100dvh - var(--ib-app-header-height) - env(safe-area-inset-top, 0px) - 42px);
    overflow-y: auto;
    padding-right: 2px;
  }

  .ib-notifications-dropdown__header,
  .ib-inbox-preview-dropdown__header,
  .ib-notifications-dropdown__footer,
  .ib-inbox-preview-dropdown__footer {
    position: sticky;
    z-index: 1;
    backdrop-filter: blur(16px);
    background: linear-gradient(180deg, rgba(12, 12, 29, 0.98), rgba(12, 12, 29, 0.9));
  }

  .ib-notifications-dropdown__header,
  .ib-inbox-preview-dropdown__header {
    top: 0;
  }

  .ib-notifications-dropdown__footer,
  .ib-inbox-preview-dropdown__footer {
    bottom: 0;
    background: linear-gradient(180deg, rgba(12, 12, 29, 0.88), rgba(12, 12, 29, 0.98));
  }

  .ib-notifications-dropdown__list,
  .ib-inbox-preview-dropdown__list {
    max-height: calc(100dvh - var(--ib-app-header-height) - env(safe-area-inset-top, 0px) - 176px);
    padding-right: 6px;
  }

  .btn-group--grid {
    grid-template-columns: 1fr;
  }

  .btn-group--grid .btn-primary,
  .btn-group--grid .btn-secondary,
  .btn-group--grid .btn-danger,
  .btn-group--grid .btn-ghost,
  .btn-group--stack .btn-primary,
  .btn-group--stack .btn-secondary,
  .btn-group--stack .btn-danger,
  .btn-group--stack .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .conversation-body {
    max-height: calc(100vh - 320px);
    overflow-x: hidden;
  }

  .presence-label {
    font-size: 0.75rem !important;
  }
}

.ib-icon-btn {
  position: relative;
  border: 1px solid transparent;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  color: #f3f5ff;
  font-size: 18px;
}

.ib-icon-btn:hover {
  background: rgba(124, 58, 237, 0.12);
}

.ib-icon-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  background: #ff4d6d;
  color: #fff;
  border-radius: 999px;
  padding: 0 6px;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(14, 10, 25, 0.96);
  box-shadow: 0 10px 18px rgba(255, 77, 109, 0.24);
}

.btn-primary,
.btn-secondary,
.btn-danger,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #f8fafc;
  color: #1f2937;
  border-color: #e2e8f0;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #eef2ff;
  color: #312e81;
  border-color: #c7d2fe;
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  box-shadow: 0 10px 22px rgba(248, 113, 113, 0.3);
}

.btn-danger:hover,
.btn-danger:focus-visible {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: #1f2937;
  border-color: transparent;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(79, 70, 229, 0.1);
  color: #312e81;
}

.btn-primary:disabled,
.btn-secondary:disabled,
.btn-danger:disabled,
.btn-ghost:disabled,
.btn-primary[disabled],
.btn-secondary[disabled],
.btn-danger[disabled],
.btn-ghost[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn-icon i {
  font-size: 0.95em;
}

.btn-sm {
  padding: 8px 12px;
  font-size: 0.82rem;
  border-radius: 10px;
}

.btn-md {
  padding: 10px 18px;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-group--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.btn-group--stack {
  flex-direction: column;
}

.ib-avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(180deg, #7c3aed, #ff4d6d);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.ib-avatar-initial {
  line-height: 1;
}

@media (max-width: 768px) {
  .js-ib-thread-list-scroll,
  .js-ib-conversation-scroll,
  .js-ib-sidebar-scroll {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ib-inbox-page,
  .ib-inbox-layout,
  .ib-inbox-sidebar-col,
  .ib-inbox-thread-col {
    min-height: calc(100vh - 80px);
  }

  .ib-inbox-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ib-inbox-layout.is-mobile-list .ib-inbox-sidebar-col {
    display: block;
  }

  .ib-inbox-layout.is-mobile-list .ib-inbox-thread-col {
    display: none;
  }

  .ib-inbox-layout.is-mobile-thread .ib-inbox-sidebar-col {
    display: none;
  }

  .ib-inbox-layout.is-mobile-thread .ib-inbox-thread-col {
    display: flex;
  }

  .ib-inbox-back-btn {
    display: inline-flex;
  }

  .conversation-wrapper {
    max-height: calc(100vh - 160px);
  }
}

/* Perfil lateral do inbox */
.conversation-wrapper {
  position: relative;
}

[data-profile-overlay] {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 24;
}

[data-profile-overlay][hidden] {
  display: none !important;
}

.ib-body--drawer-open {
  overflow: hidden;
  touch-action: none;
}

.ib-profile-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 480px;
  max-width: 100%;
  height: 100%;
  background: #0f172a;
  color: #e5e7eb;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  transform: translateX(110%);
  transition: transform 0.25s ease, opacity 0.2s ease;
  z-index: 25;
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.ib-profile-panel.is-open {
  transform: translateX(0);
}

.ib-profile-panel__header {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  padding: 14px 156px 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ib-profile-panel__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #7c3aed, #f472b6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ib-profile-panel__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ib-profile-avatar__fallback {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.ib-profile-panel__title {
  flex: 1;
  min-width: 0;
}

.ib-profile-panel__support {
  position: absolute;
  top: 52px;
  right: 14px;
  min-height: 32px;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  font-size: 0.74rem !important;
  line-height: 1;
  gap: 6px;
  max-width: 132px;
  justify-content: center;
}

.ib-loader {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: inherit;
  opacity: 0.85;
}

.ib-loader__spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  animation: ib-loader-spin 0.8s linear infinite;
}

@keyframes ib-loader-spin {
  to { transform: rotate(360deg); }
}

.ib-loader--threads,
.ib-loader--messages-top,
.ib-loader--sidebar-media {
  width: 100%;
  justify-content: center;
}

.ib-sidebar-media-loader,
.inbox-thread-loader {
  display: flex;
  justify-content: center;
}

.ib-loader--messages-top {
  padding-top: 8px;
}

.ib-sidebar-media-empty {
  margin: 12px 0;
  text-align: center;
}
.ib-profile-panel__name { font-weight: 700; font-size: 16px; }
.ib-profile-panel__role { color: #94a3b8; font-size: 13px; }

.ib-profile-panel__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 23, 42, 0.72);
  color: #cbd5e1;
  cursor: pointer;
  font-size: 18px;
  margin-left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.ib-profile-panel__tabs {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ib-profile-panel__tabs::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.ib-profile-panel__content {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 77, 109, 0.68) rgba(255, 255, 255, 0.08);
}

.ib-profile-panel__content::-webkit-scrollbar {
  width: 8px;
}

.ib-profile-panel__content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.ib-profile-panel__content::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 77, 109, 0.9), rgba(124, 58, 237, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ib-profile-panel__content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(255, 77, 109, 1), rgba(124, 58, 237, 1));
}

.ib-profile-panel__body {
  display: grid;
  grid-template-columns: 140px 1fr;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.ib-profile-panel__tabs {
  background: rgba(255, 255, 255, 0.03);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  min-height: 100%;
}

.ib-profile-panel__tabs button {
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
  background: transparent;
  color: #cbd5e1;
  border-radius: 10px;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  font-size: .8em !important;
  border: 1px solid transparent;
  position: relative;
}

.ib-profile-panel__tabs button .ib-profile-tab__label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ib-tab-indicator {
  position: absolute;
  top: 8px;
  right: 8px;
  min-width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f97316;
  color: #0f172a;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  padding: 0 4px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.6);
}

.ib-tab-indicator.is-visible {
  display: inline-flex;
  height: 16px;
  min-width: 16px;
}

.ib-tab-indicator.is-dot {
  width: 8px;
  min-width: 8px;
  height: 8px;
  padding: 0;
}

.ib-profile-panel__tabs button.is-active,
.ib-profile-panel__tabs button:hover {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(244, 114, 182, 0.25));
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}

.ib-profile-panel__content {
  padding: 16px 18px;
  overflow-y: auto;
  max-height: 100%;
}

.ib-business-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.ib-business-action {
  min-width: 0;
  text-align: center;
  padding: 10px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  color: #0f172a;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ib-business-action:hover {
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.ib-business-action__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  font-size: 16px;
  background: #eef2ff;
  color: #4338ca;
}

.ib-business-action__label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
}

.ib-profile-projects__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.ib-profile-projects__title {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: #172033;
}

.ib-profile-projects__subtitle {
  margin-top: 4px;
  font-size: 0.76rem;
  line-height: 1.45;
  color: #64748b;
}

.ib-profile-projects__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #eef2ff, #fdf2f8);
  border: 1px solid rgba(99, 102, 241, 0.12);
  color: #4338ca;
  font-size: 0.74rem;
  font-weight: 800;
}

.ib-profile-projects__empty {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfdff 0%, #f8fafc 100%);
  border: 1px dashed #d6e2d7;
  color: #475569;
}

.ib-profile-projects__empty strong {
  color: #1e293b;
}

.ib-sidebar-projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.ib-sidebar-project-card {
  position: relative;
  margin: 0;
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(145deg, #121a30 0%, #0f1628 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 18px 42px rgba(8, 6, 20, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.ib-sidebar-project-card--highlight {
  border-color: rgba(250, 204, 21, 0.28);
  background: linear-gradient(145deg, rgba(250, 204, 21, 0.08) 0%, #121a30 100%);
}

.ib-sidebar-project-card::after {
  content: '';
  position: absolute;
  inset: auto -40px -60px auto;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.18) 0%, rgba(99, 102, 241, 0.02) 70%);
  pointer-events: none;
}

.ib-sidebar-project-card__header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: flex-start;
  gap: 14px;
  padding: 18px 18px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ib-sidebar-project-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.18), rgba(99, 102, 241, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f5d0fe;
  flex-shrink: 0;
}

.ib-sidebar-project-card__heading {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.ib-sidebar-project-card__eyebrow {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
  font-weight: 700;
}

.ib-sidebar-project-card__title {
  margin: 0;
  min-width: 0;
  font-size: 1rem;
  line-height: 1.3;
  color: #fff;
  word-break: break-word;
}

.ib-sidebar-project-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.ib-sidebar-project-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 800;
}

.ib-sidebar-project-pill--primary {
  background: rgba(250, 204, 21, 0.18);
  border: 1px solid rgba(250, 204, 21, 0.24);
  color: #fde68a;
}

.ib-sidebar-project-pill--status {
  background: rgba(96, 165, 250, 0.16);
  border: 1px solid rgba(96, 165, 250, 0.22);
  color: #bfdbfe;
}

.ib-sidebar-project-pill--muted {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.76);
}

.ib-sidebar-project-card__body {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 18px;
}

.ib-sidebar-project-card__summary {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.85rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.ib-sidebar-project-card__facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.ib-sidebar-project-card__fact {
  min-width: 0;
  padding: 12px 13px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.ib-sidebar-project-card__fact-label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
}

.ib-sidebar-project-card__fact-value {
  display: block;
  color: #fff;
  font-size: 0.83rem;
  line-height: 1.35;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.ib-sidebar-project-card__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.ib-sidebar-project-card__signal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  font-weight: 700;
  max-width: 100%;
}

.ib-sidebar-project-card__actions {
  display: flex;
  width: 100%;
}

.ib-sidebar-project-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f472b6 0%, #818cf8 100%);
  color: #fff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 30px rgba(129, 140, 248, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.ib-sidebar-project-card__action:hover,
.ib-sidebar-project-card__action:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(129, 140, 248, 0.3);
  filter: brightness(1.03);
}

.ib-business-action.is-disabled {
  background: #f8fafc;
  border-style: dashed;
  color: #475569;
  cursor: default;
  box-shadow: none;
  transform: none;
}

.ib-business-action.is-disabled .ib-business-action__icon {
  background: #e2e8f0;
  color: #64748b;
}

.ib-profile-panel__content .collection {
  margin: 0;
}

.ib-profile-section + .ib-profile-section {
  margin-top: 12px;
}

.ib-profile-overview__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.ib-profile-stars { display: inline-flex; gap: 2px; align-items: center; }
.ib-profile-star-wrap { position: relative; display: inline-block; width: 18px; height: 18px; }
.ib-profile-star-base,
.ib-profile-star-fill { position: absolute; inset: 0; font-size: 16px; line-height: 18px; display: block; }
.ib-profile-star-base { color: var(--ib-star-empty); }
.ib-profile-star-fill { overflow: hidden; background: linear-gradient(135deg, var(--ib-star-filled), var(--ib-star-filled)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.ib-profile-score { color: #cbd5e1; font-size: 14px; }

.ib-profile-overview__rating .ib-profile-stars{
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
  flex-wrap: wrap;
}

.ib-profile-overview__rating .creator-card__stars {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  float: left;
  gap: 2px;
}

.ib-profile-overview__rating .creator-card__star {
  width: 40px;
  height: 40px;
}

.ib-profile-overview__rating .creator-card__star::before {
  font-size: 40px;
}

.ib-profile-review {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.ib-profile-review__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #f472b6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}
.ib-profile-review__avatar.ib-avatar-component { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; }
.ib-profile-review__avatar .ib-avatar-image,
.ib-profile-review__avatar .ib-avatar-fallback { border-radius: 50%; }
.ib-profile-review__body { flex: 1; min-width: 0; }
.ib-profile-review__title { font-weight: 600; margin-bottom: 2px; }
.ib-profile-review__meta { color: #94a3b8; font-size: 12px; margin-bottom: 4px; }
.ib-profile-review__text { color: #cbd5e1; font-size: 13px; }
.ib-profile-review__stars { margin-bottom: 4px; }

.ib-profile-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.ib-profile-media-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.ib-profile-media-card .ib-media-card__thumb {
  min-height: 140px;
  background: #0f172a;
}

.ib-profile-media-card .ib-media-card__thumb img,
.ib-profile-media-card .ib-media-card__thumb video,
.ib-profile-media-card .ib-media-card__poster {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.ib-profile-file-list,
.ib-profile-link-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ib-profile-file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #e5e7eb;
  text-decoration: none;
}

.ib-profile-file__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #7c3aed, #f472b6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.ib-profile-file__meta small { display: block; color: #9ca3af; }

.ib-profile-link-card {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: #e5e7eb;
}

.ib-profile-link-card__thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.06);
}

.ib-profile-link-card__content {
  min-width: 0;
  flex: 1;
}

.ib-profile-link-card__title { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ib-profile-link-card__desc {
  color: #cbd5e1;
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ib-profile-link-card__url {
  color: #94a3b8;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lg-thumb-item { position: relative; }
.inbox-media-thumb-timer {
  position: absolute;
  right: 6px;
  bottom: 6px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 999px;
}

@media (max-width: 1024px) {
  .ib-profile-panel { width: 420px; }
}

@media (max-width: 768px) {
  .ib-profile-panel {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    transform: translate3d(0, 110%, 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overscroll-behavior: contain;
  }
  .ib-profile-panel.is-open {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .ib-profile-panel__body { grid-template-columns: 1fr; }
  .ib-profile-panel__tabs { flex-direction: row; overflow-x: auto; }
  .ib-profile-panel__tabs button { flex: 1; justify-content: center; white-space: nowrap; }
  .ib-profile-link-card,
  .ib-profile-file,
  .chat-link-card,
  .ib-attachment-doc { max-width: 95vw; }
  .ib-profile-panel__tabs button{
    font-size: 0.8rem !important;
    padding: 2px 8px;
    margin: 0;
  }
  .ib-profile-panel__tabs button .ib-tab-indicator {
    top: 4px;
    right: 4px;
  }
  .ib-profile-panel__tabs button svg{
    margin-right: 0px !important;
  }
  .ib-profile-panel__support {
    top: 50px;
    right: 12px;
    max-width: 124px;
    padding: 5px 9px !important;
    font-size: 0.7rem !important;
  }
  .ib-profile-panel__header {
    padding-right: 146px;
  }
  .ib-profile-panel__close {
    top: 8px;
    right: 10px;
  }
  .ib-profile-section {
    min-height: calc(100vh - 170px);
  }
  .ib-business-action {
    flex: 1 1 100%;
  }
}

.ib-gallery-video-thumb {
  position: relative;
}

.ib-gallery-video-thumb .ib-media-card__thumb--gallery {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ib-gallery-thumb-hidden {
  opacity: 0;
  position: relative;
  z-index: 1;
}

/* Inbox UI kit */
.if-body .ib-card {
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.if-body .ib-card--compact .ib-card-body {
  padding: 10px 12px;
}

.if-body .ib-card--compact .ib-card-actions {
  padding: 6px 10px;
}

.if-body .ib-card-link {
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.if-body .ib-card-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
}

.if-body .ib-card-link__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.if-body .ib-card-actions {
  position: relative;
  z-index: 2;
}

.if-body .ib-page-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.if-body .ib-page-header__nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.if-body .ib-page-header__links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}

.if-body .ib-page-header__link {
  color: #475569;
}

.if-body .ib-page-header__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.if-body .ib-page-header__title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.if-body .ib-page-header__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.if-body .ib-parties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.if-body .ib-parties-card {
  padding: 12px 14px;
  background: #f8fafc;
  border-radius: 10px;
}

.if-body .ib-parties-label {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 4px;
}

.if-body .ib-parties-name {
  font-weight: 600;
  color: #0f172a;
}

.if-body .ib-parties-slug {
  color: #64748b;
  font-weight: 500;
  margin-left: 4px;
}
.if-body .ib-card-header,
.if-body .ib-card-body,
.if-body .ib-card-actions {
  gap: 8px;
}

.if-body .ib-title {
  font-weight: 700;
  color: #1f2937;
}

.if-body .ib-subtitle {
  font-weight: 600;
  color: #334155;
}

.if-body .ib-meta {
  color: #64748b;
  font-size: 0.9rem;
}

.if-body .ib-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.if-body .ib-badge--status-draft { background: linear-gradient(135deg, rgba(203, 213, 225, 0.15) 0%, rgba(148, 163, 184, 0.08) 100%); color: #cbd5e1; border: 1px solid rgba(203, 213, 225, 0.25); }
.if-body .ib-badge--status-sent { background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(147, 197, 253, 0.08) 100%); color: #93c5fd; border: 1px solid rgba(59, 130, 246, 0.25); }
.if-body .ib-badge--status-accepted { background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(74, 222, 128, 0.08) 100%); color: #86efac; border: 1px solid rgba(34, 197, 94, 0.25); }
.if-body .ib-badge--status-rejected { background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(248, 113, 113, 0.08) 100%); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.25); }
.if-body .ib-badge--status-cancelled { background: linear-gradient(135deg, rgba(100, 116, 139, 0.15) 0%, rgba(149, 165, 166, 0.08) 100%); color: #cbd5e1; border: 1px solid rgba(100, 116, 139, 0.25); }
.if-body .ib-badge--status-awaiting_terms { background: linear-gradient(135deg, rgba(251, 146, 60, 0.15) 0%, rgba(253, 186, 116, 0.08) 100%); color: #fdba74; border: 1px solid rgba(251, 146, 60, 0.25); }
.if-body .ib-badge--status-terms_accepted { background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(74, 222, 128, 0.08) 100%); color: #86efac; border: 1px solid rgba(34, 197, 94, 0.25); }
.if-body .ib-badge--status-awaiting_delivery { background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(147, 197, 253, 0.08) 100%); color: #93c5fd; border: 1px solid rgba(59, 130, 246, 0.25); }
.if-body .ib-badge--status-delivery_sent { background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(250, 204, 21, 0.08) 100%); color: #fcd34d; border: 1px solid rgba(245, 158, 11, 0.25); }
.if-body .ib-badge--status-delivery_rejected { background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(248, 113, 113, 0.08) 100%); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.25); }
.if-body .ib-badge--status-delivery_revision_requested { background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(250, 204, 21, 0.08) 100%); color: #fcd34d; border: 1px solid rgba(245, 158, 11, 0.25); }
.if-body .ib-badge--status-job_completed { background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(74, 222, 128, 0.08) 100%); color: #86efac; border: 1px solid rgba(34, 197, 94, 0.25); }

.if-body .ib-badge--contract-accepted { background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(74, 222, 128, 0.08) 100%); color: #86efac; border: 1px solid rgba(34, 197, 94, 0.25); }
.if-body .ib-badge--contract-pending_acceptance { background: linear-gradient(135deg, rgba(251, 146, 60, 0.15) 0%, rgba(253, 186, 116, 0.08) 100%); color: #fdba74; border: 1px solid rgba(251, 146, 60, 0.25); }
.if-body .ib-badge--contract-awaiting_acceptance { background: linear-gradient(135deg, rgba(100, 116, 139, 0.15) 0%, rgba(149, 165, 166, 0.08) 100%); color: #cbd5e1; border: 1px solid rgba(100, 116, 139, 0.25); }

.if-body .ib-badge--job-in_progress { background: #e0f2fe; color: #0369a1; }
.if-body .ib-badge--job-delivered { background: #fef3c7; color: #b45309; }
.if-body .ib-badge--job-completed { background: #dcfce7; color: #15803d; }
.if-body .ib-badge--job-cancelled { background: #f3f4f6; color: #6b7280; }

.if-body .ib-btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.if-body .ib-btn-icon i {
  font-size: 0.9em;
}

.if-body .ib-btn {
  border-radius: 10px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.if-body .ib-btn.is-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.if-body .ib-btn.is-loading::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-top-color: #fff;
  animation: ibSpin 0.7s linear infinite;
}

@keyframes ibSpin {
  to { transform: translateY(-50%) rotate(360deg); }
}

.if-body .ib-btn--secondary {
  background: #e2e8f0;
  color: #0f172a;
}

.if-body .ib-btn--primary {
  background: #2563eb;
  color: #fff;
}

.if-body .ib-btn--danger {
  background: #dc2626;
  color: #fff;
}

.if-body .ib-proposal-card {
  margin: 0 0 12px 0;
}

.if-body .ib-proposal-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.if-body .ib-proposal-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.if-body .ib-proposal-card__eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  font-weight: 600;
}

.if-body .ib-proposal-card__title {
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.if-body .ib-proposal-card__badge {
  white-space: nowrap;
}

.if-body .ib-proposal-card__details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.if-body .ib-proposal-card__detail {
  background: #f8fafc;
  border-radius: 10px;
  padding: 8px 10px;
}

.if-body .ib-proposal-card__detail-label {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.if-body .ib-proposal-card__detail-value {
  font-weight: 600;
  color: #0f172a;
}

.if-body .ib-proposal-card__actions {
  padding: 8px 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  align-items: center;
}

.if-body .ib-proposal-card__action {
  display: inline-flex;
  align-items: center;
  width: 100%;
}

.if-body .ib-proposal-card__action button,
.if-body .ib-proposal-card__action a {
  width: 100%;
  justify-content: center;
  min-height: 36px;
  min-width: 0;
}

@media (max-width: 600px) {
  .if-body .ib-proposal-card__actions {
    grid-template-columns: 1fr;
  }

  .if-body .ib-proposal-card__action {
    max-width: none;
  }

  .if-body .ib-proposal-card__action button,
  .if-body .ib-proposal-card__action a {
    width: 100%;
    min-width: 0;
  }
}

.if-body .ib-profile-business__list {
  max-height: clamp(240px, 45vh, 420px);
  overflow-y: auto;
  padding-right: 4px;
}

.if-body .ib-profile-business__collection .collection-item {
  border-bottom: 1px solid #e2e8f0;
}

.if-body .chat-row.system {
  justify-content: center;
}

.if-body .ib-event-card {
  width: min(560px, 100%);
  padding: 16px 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.if-body .ib-event-card__header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.if-body .ib-event-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #0f172a;
  flex-shrink: 0;
}

.if-body .ib-event-card__title {
  font-weight: 700;
  color: #0f172a;
}

.if-body .ib-event-card__body {
  margin-top: 12px;
  color: #334155;
  font-size: 0.93rem;
  line-height: 1.55;
}

.if-body .ib-event-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.if-body .ib-event-card__review-header {
  font-weight: 600;
  color: #1f2937;
}

.if-body .ib-event-card__review-stars {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.if-body .ib-event-card__review-score {
  font-weight: 600;
  color: #4b5563;
}

.if-body .ib-event-card__review-comment {
  margin-top: 8px;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.4;
}

.if-body .ib-event-card--premium {
  border-color: rgba(34, 197, 94, 0.35);
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.9), rgba(220, 252, 231, 0.9));
}

.if-body .ib-event-card--premium .ib-event-card__icon {
  background: #22c55e;
  color: #fff;
}

.if-body .ib-event-card--premium .ib-badge {
  background: #16a34a;
  color: #fff;
}

.if-body .ib-badge--event-proposal_accepted { background: #dcfce7; color: #15803d; }
.if-body .ib-badge--event-proposal_sent { background: #e0f2fe; color: #0369a1; }
.if-body .ib-badge--event-proposal_cancelled { background: #fee2e2; color: #b91c1c; }
.if-body .ib-badge--event-contract_terms_accepted_brand,
.if-body .ib-badge--event-contract_terms_accepted_creator { background: #e0f2fe; color: #0369a1; }
.if-body .ib-badge--event-contract_fully_accepted { background: #16a34a; color: #fff; }
.if-body .ib-badge--event-job_delivery_submitted { background: #e0f2fe; color: #075985; }
.if-body .ib-badge--event-job_delivery_accepted,
.if-body .ib-badge--event-job_completed { background: #dcfce7; color: #15803d; }
.if-body .ib-badge--event-job_review_prompt,
.if-body .ib-badge--event-job_review_submitted { background: #ede9fe; color: #6d28d9; }
.if-body .ib-badge--event-job_delivery_revision_requested { background: #fef9c3; color: #92400e; }
.if-body .ib-badge--event-job_delivery_rejected { background: #fee2e2; color: #b91c1c; }
.if-body,
html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.if-body * {
  box-sizing: border-box;
}

.if-body img,
.if-body video,
.if-body iframe,
.if-body canvas {
  max-width: 100%;
  height: auto;
}

.if-body .card {
  width: 100%;
}

@media (max-width: 768px) {
  .if-body .container {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .if-body .row {
    margin-left: 0;
    margin-right: 0;
  }

  .if-body .row .col {
    width: 100% !important;
    margin-left: 0;
  }

  .if-body .btn,
  .if-body .btn-small,
  .if-body .btn-flat {
    min-height: 44px;
  }
}

.ib-briefing-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 18px;
  margin: 12px 0 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.ib-briefing-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.ib-briefing-card__title {
  font-size: 1rem;
  font-weight: 700;
}

.ib-briefing-card__subtitle {
  font-size: 0.85rem;
  color: #64748b;
}

.ib-briefing-card__summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px 16px;
}

.ib-briefing-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.85rem;
  color: #475569;
}

.ib-briefing-item strong {
  color: #0f172a;
  font-weight: 600;
}

.ib-briefing-card__actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ib-badge--briefing {
  background: #eef2ff;
  color: #4338ca;
}

.ib-badge--briefing-sent {
  background: #ecfdf3;
  color: #166534;
}

.ib-badge--briefing-confirmed {
  background: #e0f2fe;
  color: #0369a1;
}

.ib-badge--briefing-draft,
.ib-badge--briefing-missing {
  background: #fef3c7;
  color: #92400e;
}

.ib-briefing-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 4px;
  font-size: 0.9rem;
  color: #475569;
}

.ib-briefing-shipping-notes[hidden] {
  display: none !important;
}

.ib-briefing-details__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.ib-briefing-details__body {
  display: grid;
  gap: 12px;
}

.ib-briefing-details__item strong {
  display: block;
  margin-bottom: 4px;
  color: #0f172a;
}

.ib-briefing-details__item p {
  margin: 0;
  color: #475569;
}

/* Creator portal */
.creator-portal {
  background: #f6f7fb;
  color: #0f172a;
}

.creator-portal__header {
  position: sticky;
  top: 0;
  z-index: 40;
}

.creator-portal__nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.creator-portal__nav-link {
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.creator-portal__nav-link--accent {
  color: #e11d8a;
}

.creator-portal__user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 24px;
}

.creator-portal__avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #334155;
  overflow: hidden;
}

.creator-portal__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creator-portal__user-info {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: #64748b;
}

.creator-portal__user-info strong {
  color: #0f172a;
  font-size: 13px;
}

.creator-portal__main {
  padding: 32px 0 48px;
}

.creator-portal__content {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.creator-portal__content.creator-portal__content--profile-edit {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

.creator-form__header {
  margin-bottom: 22px;
}

.creator-form__header h1 {
  margin: 0 0 8px;
  font-size: 28px;
  color: #0f172a;
}

.creator-form__sub {
  margin: 0;
  color: #475569;
  font-size: 14px;
}

.creator-form__section {
  margin: 20px 0;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
}

.creator-form__section-title {
  margin: 0 0 12px;
  font-size: 16px;
  color: #0f172a;
}

.creator-form__hint {
  margin-top: 6px;
  font-size: 12px;
  color: #64748b;
}

/* ── CREATOR PROFILE PRO ─────────────────────────────────────────── */
.creator-portal .creator-profile-pro {
  display: grid;
  gap: 18px;
  color: #e2e8f0;
}

/* ── HERO ─────────────────────────────────────────────────────────── */
.creator-portal .creator-profile-pro__hero {
  display: grid;
  grid-template-columns: 1.3fr minmax(260px, 1fr);
  gap: 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.45);
  padding: 24px 28px;
}

.creator-portal .creator-profile-pro__eyebrow {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.52);
  background: rgba(99, 102, 241, 0.2);
  color: #c7d2fe;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  margin-bottom: 10px;
}

.creator-portal .creator-profile-pro__hero h1 {
  margin: 0 0 8px;
  color: #f8fafc;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.2;
}

.creator-portal .creator-profile-pro__hero p {
  margin: 0;
  color: #94a3b8;
  line-height: 1.55;
  font-size: 14px;
}

/* ── PROGRESS ─────────────────────────────────────────────────────── */
.creator-portal .creator-profile-pro__progress {
  border-radius: 14px;
  border: 1px solid rgba(100, 116, 139, 0.35);
  background: rgba(15, 23, 42, 0.62);
  padding: 16px 18px;
  display: grid;
  gap: 8px;
  align-content: start;
  transition: border-color 0.3s;
}

.creator-portal .creator-profile-pro__progress strong {
  color: #f8fafc;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.creator-portal .creator-profile-pro__progress span {
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 11px;
  font-weight: 700;
}

.creator-portal .creator-profile-pro__progress small {
  color: #64748b;
  font-size: 11px;
  line-height: 1.4;
}

.creator-portal .creator-profile-pro__progress--high  { border-color: rgba(248, 113, 113, 0.52); }
.creator-portal .creator-profile-pro__progress--high  strong { color: #fca5a5; }
.creator-portal .creator-profile-pro__progress--medium { border-color: rgba(251, 191, 36, 0.55); }
.creator-portal .creator-profile-pro__progress--medium strong { color: #fde047; }
.creator-portal .creator-profile-pro__progress--ok    { border-color: rgba(74, 222, 128, 0.45); }
.creator-portal .creator-profile-pro__progress--ok    strong { color: #86efac; }

.creator-portal .creator-profile-pro .progress-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.creator-portal .creator-profile-pro .progress-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #6366f1, #818cf8);
  transition: width 0.5s ease;
}

/* ── STATUS GRID ──────────────────────────────────────────────────── */
.creator-portal .creator-profile-pro__status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.creator-portal .creator-profile-pro__status-card {
  border-radius: 14px;
  border: 1px solid rgba(100, 116, 139, 0.22);
  background: rgba(15, 23, 42, 0.65);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 24px 1fr;
  grid-template-areas:
    "icon title"
    "icon subtitle";
  column-gap: 10px;
  row-gap: 2px;
  align-items: center;
  transition: border-color 0.2s;
}

.creator-portal .creator-profile-pro__status-card i {
  grid-area: icon;
  font-size: 20px;
  color: #475569;
  margin: 0;
  line-height: 1;
  align-self: center;
  justify-self: center;
}

.creator-portal .creator-profile-pro__status-card strong {
  grid-area: title;
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.creator-portal .creator-profile-pro__status-card span {
  grid-area: subtitle;
  color: #64748b;
  font-size: 12px;
  line-height: 1.2;
}

.creator-portal .creator-profile-pro__status-card svg {
  width: 20px;
  height: 20px;
  position: relative;
  top: 8px;
}

.creator-portal .creator-profile-pro__status-card.is-ok {
  border-color: rgba(74, 222, 128, 0.42);
  background: rgba(5, 46, 22, 0.4);
}
.creator-portal .creator-profile-pro__status-card.is-ok i    { color: #4ade80; }
.creator-portal .creator-profile-pro__status-card.is-ok span { color: #86efac; }

.creator-portal .creator-profile-pro__status-card.is-pending {
  border-color: rgba(251, 191, 36, 0.38);
}
.creator-portal .creator-profile-pro__status-card.is-pending i    { color: #fbbf24; }
.creator-portal .creator-profile-pro__status-card.is-pending span { color: #fde68a; }

/* ── FORM CONTAINER ───────────────────────────────────────────────── */
.creator-portal .creator-profile-pro__form {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(160deg, #1e293b 0%, #0f172a 100%);
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.38);
  padding: 20px;
  display: grid;
  gap: 16px;
}

/* ── TABS ─────────────────────────────────────────────────────────── */
.creator-portal .creator-profile-pro__tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  overflow-x: auto;
  scrollbar-width: none;
}
.creator-portal .creator-profile-pro__tabs::-webkit-scrollbar { display: none; }

.creator-portal .creator-profile-pro__tab {
  flex: none;
  border: none;
  background: none;
  cursor: pointer;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s, border-color 0.2s;
}
.creator-portal .creator-profile-pro__tab i { font-size: 16px; }
.creator-portal .creator-profile-pro__tab:hover { color: #94a3b8; }

.creator-portal .creator-profile-pro__tab.is-active {
  color: #a5b4fc;
  border-bottom-color: #6366f1;
}
.creator-portal .creator-profile-pro__tab.is-active i { color: #818cf8; }

/* ── PANELS ───────────────────────────────────────────────────────── */
.creator-portal .creator-profile-pro__panel {
  display: none;
  border-radius: 12px;
  border: 1px solid rgba(100, 116, 139, 0.18);
  background: rgba(15, 23, 42, 0.52);
  padding: 20px;
}
.creator-portal .creator-profile-pro__panel.is-active { display: grid; gap: 14px; }

.creator-portal .creator-profile-pro__panel-header {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(100, 116, 139, 0.18);
}

.creator-portal .creator-profile-pro__panel-header h2 {
  margin: 0 0 6px;
  color: #e2e8f0;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.creator-portal .creator-profile-pro__panel-header h2 i { font-size: 18px; color: #818cf8; }

.creator-portal .creator-profile-pro__panel-header p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

/* ── FIELDS ───────────────────────────────────────────────────────── */
.creator-portal .creator-profile-pro__avatar-editor {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(100, 116, 139, 0.2);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.48);
}

.creator-portal .creator-profile-pro__avatar-wrap {
  position: relative;
  width: 120px;
  height: 120px;
}

.creator-portal .creator-profile-pro__avatar-preview,
.creator-portal .creator-profile-pro__avatar-fallback {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  border: 2px solid rgba(129, 140, 248, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
}

.creator-portal .creator-profile-pro__avatar-fallback {
  background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
  color: #cbd5e1;
  font-weight: 700;
  font-size: 36px;
}

.creator-portal .creator-profile-pro__avatar-change,
.creator-portal .creator-profile-pro__avatar-remove {
  position: absolute;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.creator-portal .creator-profile-pro__avatar-change {
  left: 50%;
  transform: translateX(-50%);
  bottom: -8px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  gap: 6px;
  padding: 6px 12px;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
}

.creator-portal .creator-profile-pro__avatar-remove {
  top: 4px;
  right: 2px;
  width: 28px;
  height: 28px;
  background: rgba(239, 68, 68, 0.95);
  color: #fff;
  box-shadow: 0 8px 18px rgba(239, 68, 68, 0.3);
}

.creator-portal .creator-profile-pro__avatar-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-content: center;
}

.creator-portal .creator-profile-pro .field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #e2e8f0;
}

.creator-portal .creator-profile-pro .field label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.creator-portal .creator-profile-pro .field label em {
  font-weight: 400;
  font-style: normal;
  color: #475569;
  text-transform: none;
  letter-spacing: 0;
}

.creator-portal .creator-profile-pro .field input,
.creator-portal .creator-profile-pro .field textarea,
.creator-portal .creator-profile-pro .field select {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  color: #e2e8f0;
  font-size: 14px;
  padding: 10px 12px;
  width: 100%;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.creator-portal .creator-profile-pro .field input::placeholder,
.creator-portal .creator-profile-pro .field textarea::placeholder { color: #475569; }

.creator-portal .creator-profile-pro .field input:focus,
.creator-portal .creator-profile-pro .field textarea:focus,
.creator-portal .creator-profile-pro .field select:focus {
  border-color: rgba(129, 140, 248, 0.65);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
  background: rgba(255, 255, 255, 0.09);
}

.creator-portal .creator-profile-pro .field textarea {
  resize: vertical;
  min-height: 96px;
}

.creator-portal .creator-profile-pro .field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 32px;
}
.creator-portal .creator-profile-pro .field select option { background: #1e293b; color: #e2e8f0; }

.creator-portal .creator-profile-pro .field-hint {
  font-size: 11px;
  color: #475569;
  line-height: 1.4;
}

/* ── FIELD PREFIX WRAP ────────────────────────────────────────────── */
.creator-portal .creator-profile-pro .field-prefix-wrap {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.creator-portal .creator-profile-pro .field-prefix-wrap:focus-within {
  border-color: rgba(129, 140, 248, 0.65);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.creator-portal .creator-profile-pro .field-prefix {
  padding: 10px 8px 10px 12px;
  color: #475569;
  font-size: 15px;
  font-weight: 700;
  user-select: none;
  flex-shrink: 0;
}
.creator-portal .creator-profile-pro .field-prefix-wrap input {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  flex: 1;
  min-width: 0;
  padding-left: 2px !important;
}
.creator-portal .creator-profile-pro .field-prefix-wrap input:focus {
  border: none !important;
  box-shadow: none !important;
}

/* ── FIELD ROW ────────────────────────────────────────────────────── */
.creator-portal .creator-profile-pro .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: end;
}

/* ── SECTION DIVIDER ──────────────────────────────────────────────── */
.creator-portal .creator-profile-pro .field-section-divider {
  display: flex;
  align-items: center;
  gap: 10px;
}
.creator-portal .creator-profile-pro .field-section-divider::before,
.creator-portal .creator-profile-pro .field-section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(148, 163, 184, 0.14);
}
.creator-portal .creator-profile-pro .field-section-divider span {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── CHIP INPUT ───────────────────────────────────────────────────── */
.creator-portal .creator-profile-pro .chip-input {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  padding: 8px;
  min-height: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: flex-start;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.creator-portal .creator-profile-pro .chip-input:focus-within {
  border-color: rgba(129, 140, 248, 0.65);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.creator-portal .creator-profile-pro .chip-input__chip {
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.22);
  border: 1px solid rgba(129, 140, 248, 0.35);
  color: #c7d2fe;
  font-size: 12px;
  padding: 3px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.creator-portal .creator-profile-pro .chip-input__remove {
  background: none;
  border: none;
  color: #818cf8;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
}
.creator-portal .creator-profile-pro .chip-input__field {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #e2e8f0 !important;
  font-size: 13px !important;
  padding: 4px !important;
  min-width: 140px;
  outline: none;
  flex: 1;
}

.creator-portal .creator-profile-pro__formats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.creator-portal .creator-profile-pro__format-option {
  position: relative;
  border-radius: 14px;
  border: 1.5px solid rgba(148, 163, 184, 0.24);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.5));
  min-height: 66px;
  padding: 11px 13px;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 11px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.creator-portal .creator-profile-pro__format-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.creator-portal .creator-profile-pro__format-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  flex: 0 0 38px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(129, 140, 248, 0.38);
  color: #c7d2fe;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.creator-portal .creator-profile-pro__format-icon i {
  font-size: 14px;
  line-height: 1;
}

.creator-portal .creator-profile-pro__format-copy {
  min-width: 0;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 2px;
  pointer-events: none;
}

.creator-portal .creator-profile-pro__format-copy strong {
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
  color: #dbe6ff !important;
  line-height: 1.15 !important;
}

.creator-portal .creator-profile-pro__format-copy small {
  margin: 0 !important;
  display: block !important;
  font-size: 11px !important;
  color: #8ea0be !important;
  line-height: 1.2 !important;
}

.creator-portal .creator-profile-pro__format-option:hover {
  border-color: rgba(129, 140, 248, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(15, 23, 42, 0.35);
}

.creator-portal .creator-profile-pro__format-option:has(input:checked),
.creator-portal .creator-profile-pro__format-option.is-selected {
  border-color: rgba(129, 140, 248, 0.82);
  background: linear-gradient(145deg, rgba(79, 70, 229, 0.33), rgba(37, 99, 235, 0.26));
  box-shadow: 0 14px 24px rgba(67, 56, 202, 0.3);
}

.creator-portal .creator-profile-pro__format-option:has(input:checked) .creator-profile-pro__format-icon,
.creator-portal .creator-profile-pro__format-option.is-selected .creator-profile-pro__format-icon {
  background: rgba(224, 231, 255, 0.14);
  border-color: rgba(224, 231, 255, 0.5);
  color: #e0e7ff;
}

.creator-portal .creator-profile-pro__format-option:has(input:checked) .creator-profile-pro__format-copy strong,
.creator-portal .creator-profile-pro__format-option.is-selected .creator-profile-pro__format-copy strong {
  color: #f6f8ff !important;
}

.creator-portal .creator-profile-pro__format-option:has(input:checked) .creator-profile-pro__format-copy small,
.creator-portal .creator-profile-pro__format-option.is-selected .creator-profile-pro__format-copy small {
  color: #d2dcff !important;
}

.creator-portal .creator-profile-pro__format-option::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1.5px solid rgba(148, 163, 184, 0.7);
  background: transparent;
  transition: all 0.2s ease;
}

.creator-portal .creator-profile-pro__format-option:has(input:checked)::after,
.creator-portal .creator-profile-pro__format-option.is-selected::after {
  border-color: rgba(199, 210, 254, 0.95);
  background: rgba(199, 210, 254, 0.95);
}

@media (max-width: 860px) {
  .creator-portal .creator-profile-pro__formats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ib-ticket-case-rebuild .ib-ticket-case-header__identity {
  margin-top: 10px;
}

.ib-ticket-case-rebuild .ib-ticket-case-header {
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 48%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(14, 116, 144, 0.2);
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  padding: 16px;
}

.ib-ticket-case-rebuild .ib-ticket-case-header__eyebrow {
  display: inline-flex;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  font-weight: 700;
  color: #0369a1;
}

.ib-ticket-case-rebuild .ib-ticket-case-header__subject-helper {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 0.84rem;
}

.ib-ticket-case-rebuild .ib-ticket-case-header__chips .ib-ticket-pill {
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.ib-ticket-case-rebuild .ib-ticket-case-empty-context {
  border: 1px dashed #cddaf0;
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(180deg, #f9fbff 0%, #f2f7ff 100%);
  display: grid;
  gap: 7px;
  text-align: center;
}

.ib-ticket-case-rebuild .ib-ticket-case-empty-context__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  margin: 0 auto;
  background: #e6eeff;
  color: #1e40af;
}

.ib-ticket-case-rebuild .ib-ticket-case-empty-context__icon i {
  font-size: 18px;
}

.ib-ticket-case-rebuild .ib-ticket-case-empty-context strong {
  color: #0f172a;
  font-size: 0.95rem;
}

.ib-ticket-case-rebuild .ib-ticket-case-empty-context p {
  margin: 0;
  color: #475569;
  font-size: 0.84rem;
  line-height: 1.45;
}

.ib-ticket-case-rebuild .ib-ticket-case-card--ops .ib-ticket-meta-grid__item {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.ib-ticket-case-rebuild .ib-ticket-meta-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ib-ticket-case-rebuild .ib-ticket-shortcuts__cta {
  margin-left: auto;
}

.ib-ticket-case-rebuild .ib-ticket-case-card--orientation {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.ib-ticket-case-rebuild .ib-ticket-case-card--orientation .ib-ticket-actions-list li {
  line-height: 1.45;
}

@media (max-width: 760px) {
  .ib-ticket-case-rebuild .ib-ticket-case-empty-context .ib-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .creator-portal .creator-profile-pro__formats-grid {
    grid-template-columns: 1fr;
  }
}

/* ── SOCIAL HANDLES GRID ──────────────────────────────────────────── */
.creator-portal .creator-profile-pro .social-handles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.creator-portal .creator-profile-pro .social-handle-field {
  display: flex;
  gap: 12px;
  align-items: center;
}
.creator-portal .creator-profile-pro .social-handle-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: -14px;
}
.creator-portal .creator-profile-pro .social-handle-icon i { font-size: 18px; color: #fff; line-height: 1; }
.creator-portal .creator-profile-pro .social-handle-field .field { flex: 1; }

/* ── FISCAL TYPE SELECTOR ─────────────────────────────────────────── */
.creator-portal .creator-profile-pro .fiscal-type-selector {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.creator-portal .creator-profile-pro .fiscal-type-option {
  border-radius: 10px;
  border: 1.5px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: border-color 0.2s, background 0.2s;
}
.creator-portal .creator-profile-pro .fiscal-type-option input[type="radio"] { display: none; }
.creator-portal .creator-profile-pro .fiscal-type-option strong {
  font-size: 16px;
  font-weight: 700;
  color: #94a3b8;
  line-height: 1.1;
}
.creator-portal .creator-profile-pro .fiscal-type-option span {
  font-size: 11px;
  color: #475569;
}
.creator-portal .creator-profile-pro .fiscal-type-option:hover {
  border-color: rgba(129, 140, 248, 0.35);
  background: rgba(99, 102, 241, 0.08);
}
.creator-portal .creator-profile-pro .fiscal-type-option.is-active {
  border-color: rgba(129, 140, 248, 0.7);
  background: rgba(99, 102, 241, 0.18);
}
.creator-portal .creator-profile-pro .fiscal-type-option.is-active strong { color: #c7d2fe; }
.creator-portal .creator-profile-pro .fiscal-type-option.is-active span   { color: #a5b4fc; }

/* ── TERMS CHECKBOX ───────────────────────────────────────────────── */
.creator-portal .creator-profile-pro__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #94a3b8;
  font-size: 13px;
  cursor: pointer;
  line-height: 1.5;
}
.creator-portal .creator-profile-pro__check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #6366f1;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── TIP BOX ──────────────────────────────────────────────────────── */
.creator-portal .creator-profile-pro__tip {
  border-radius: 10px;
  border: 1px solid rgba(129, 140, 248, 0.25);
  background: rgba(99, 102, 241, 0.1);
  padding: 10px 14px;
}
.creator-portal .creator-profile-pro__tip p {
  margin: 0;
  color: #a5b4fc;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
}
.creator-portal .creator-profile-pro__tip p i { font-size: 14px; flex-shrink: 0; }

/* ── ACTIONS ──────────────────────────────────────────────────────── */
.creator-portal .creator-profile-pro__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}

/* ── BUTTONS ──────────────────────────────────────────────────────── */
.creator-portal .creator-profile-pro__actions .btn-pro-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 24px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
}
.creator-portal .creator-profile-pro__actions .btn-pro-primary:hover {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
  transform: translateY(-1px);
}
.creator-portal .creator-profile-pro__actions .btn-pro-primary i { font-size: 17px; }

.creator-portal .creator-profile-pro__actions .btn-pro-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid rgba(148, 163, 184, 0.22);
  border-radius: 10px;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.creator-portal .creator-profile-pro__actions .btn-pro-secondary:hover {
  border-color: rgba(148, 163, 184, 0.45);
  color: #94a3b8;
}
.creator-portal .creator-profile-pro__actions .btn-pro-secondary i { font-size: 17px; }

/* ── RESPONSIVE ───────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .creator-portal .creator-profile-pro__hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .creator-portal .creator-profile-pro__hero,
  .creator-portal .creator-profile-pro__form,
  .creator-portal .creator-profile-pro__panel { padding: 14px; }

  .creator-portal .creator-profile-pro__status-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .creator-portal .creator-profile-pro .social-handles-grid,
  .creator-portal .creator-profile-pro .field-row { grid-template-columns: 1fr; }
  .creator-portal .creator-profile-pro__avatar-editor { grid-template-columns: 1fr; }
  .creator-portal .creator-profile-pro__avatar-wrap { margin: 0 auto; }
  .creator-portal .creator-profile-pro__actions { flex-direction: column; }
  .creator-portal .creator-profile-pro__actions .btn-pro-primary,
  .creator-portal .creator-profile-pro__actions .btn-pro-secondary {
    width: 100%;
    justify-content: center;
  }
  .creator-portal .creator-profile-pro__tab { font-size: 12px; padding: 9px 14px; }
  .creator-portal .creator-profile-pro .fiscal-type-selector { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
  .creator-portal .creator-profile-pro__status-grid { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .creator-portal .creator-profile-pro__hero h1 { font-size: 1.3rem; }
  .creator-portal .creator-profile-pro__eyebrow { font-size: 10px; padding: 5px 10px; }
  .creator-portal .creator-profile-pro__progress strong { font-size: 1.55rem; }
  .creator-portal .creator-profile-pro__tab span { display: none; }
  .creator-portal .creator-profile-pro__tab i   { font-size: 20px; }
  .creator-portal .creator-profile-pro__tab { padding: 10px 14px; }
}

.creator-page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.creator-page-header h1 {
  margin: 0 0 6px;
  font-size: 28px;
  color: #0f172a;
}

.creator-page-sub {
  margin: 0;
  color: #475569;
  font-size: 14px;
}

.creator-page-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.creator-portal .ugc-rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.creator-portal .ugc-rules h2 {
  margin: 0 0 8px;
  font-size: 15px;
  color: #0f172a;
}

.creator-portal .ugc-rules ul {
  margin: 0;
  padding-left: 18px;
  color: #475569;
  font-size: 13px;
  display: grid;
  gap: 6px;
}

.creator-portal .ugc-checklist {
  list-style: none;
  padding-left: 0;
}

.creator-portal .ugc-checklist li::before {
  content: '• ';
  color: #8b0f5f;
  font-weight: 700;
}

.creator-portal .ugc-stepper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.creator-portal .ugc-step {
  display: flex;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  align-items: center;
}

.creator-portal .ugc-step__index {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.creator-portal .ugc-step__title {
  font-weight: 700;
  color: #0f172a;
}

.creator-portal .ugc-step__desc {
  font-size: 12px;
  color: #64748b;
}

.creator-portal .ugc-step.is-active {
  border-color: #c7d2fe;
  background: #eef2ff;
}

.creator-portal .ugc-step.is-complete {
  border-color: #6ee7b7;
  background: #ecfdf3;
}

.creator-portal .ugc-template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.creator-portal .ugc-template-group {
  margin-bottom: 16px;
}

.creator-portal .ugc-template-group__title {
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px;
}

.creator-portal .ugc-template {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  background: #ffffff;
  cursor: pointer;
  display: block;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.creator-portal .ugc-template input {
  display: none;
}

.creator-portal .ugc-template__title {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.creator-portal .ugc-template__title i {
  color: #8b0f5f;
  font-size: 14px;
}

.creator-portal .ugc-template__meta {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 6px;
}

.creator-portal .ugc-template__desc {
  font-size: 13px;
  color: #475569;
  margin-bottom: 8px;
}

.creator-portal .ugc-template.is-selected {
  border-color: #8b0f5f;
  box-shadow: 0 12px 24px rgba(139, 15, 95, 0.18);
}

.creator-portal .ugc-template__body {
  display: grid;
  gap: 6px;
}

.creator-portal .ugc-template__meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
}

.creator-portal .ugc-template__meta::before {
  content: '●';
  color: #8b0f5f;
  font-size: 10px;
}

.creator-portal .ugc-briefing {
  border-top: 1px solid #e2e8f0;
  padding-top: 10px;
  font-size: 13px;
  color: #475569;
}

.creator-portal .ugc-briefing summary {
  font-weight: 700;
  cursor: pointer;
  color: #0f172a;
}

.creator-portal .ugc-briefing__block {
  margin-top: 8px;
}

.creator-portal .ugc-briefing__block ol,
.creator-portal .ugc-briefing__block ul {
  margin: 6px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.creator-portal .ugc-errors {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 13px;
}

.creator-portal .ugc-errors ul {
  margin: 0;
  padding-left: 18px;
}

.creator-portal .ugc-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.creator-portal .ugc-preview__label {
  font-weight: 700;
  color: #0f172a;
  font-size: 13px;
}

.creator-portal .ugc-preview__video {
  max-height: 320px;
  width: 100%;
  border-radius: 12px;
  background: #0f172a;
}

.creator-portal .ugc-upload-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.creator-portal .ugc-upload-grid.has-preview {
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
}

.creator-portal .ugc-preview[hidden] {
  display: none;
}

.creator-portal .ugc-consent-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-weight: 600;
  color: #0f172a;
}

@media (max-width: 1100px) {
  .creator-portal .ugc-template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .creator-portal .ugc-template-grid {
    grid-template-columns: 1fr;
  }

  .creator-portal .ugc-upload-grid {
    grid-template-columns: 1fr;
  }

  .creator-portal .ugc-upload-grid.has-preview {
    grid-template-columns: 1fr;
  }
}

.creator-callout {
  padding: 12px 14px;
  border-radius: 12px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 13px;
  margin-bottom: 16px;
  border: 1px solid #c7d2fe;
}

.creator-portal__footer {
  text-align: center;
  padding: 24px 16px;
  color: #64748b;
  font-size: 13px;
}

.creator-portal__flash {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
}

.creator-portal__flash--success {
  background: #ecfdf3;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.creator-portal__flash--info {
  background: #fff0f7;
  color: #9d174d;
  border: 1px solid #fbcfe8;
}

.creator-portal__flash--danger {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.creator-portal__hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.creator-portal__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.creator-dashboard__header h1 {
  margin: 0 0 6px;
  font-size: 28px;
  color: #0f172a;
}

.creator-dashboard__header .muted {
  margin: 0;
}

.creator-portal__content--dashboard {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 12px 0 28px;
}

.creator-portal .creator-dashboard-pro {
  display: grid;
  gap: 16px;
  animation: creator-dashboard-pro-fade 0.5s ease-out;
}

@keyframes creator-dashboard-pro-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.creator-portal .creator-dashboard-pro__hero {
  display: grid;
  grid-template-columns: 1.3fr minmax(250px, 1fr);
  align-items: center;
  gap: 16px;
  border-radius: 18px;
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.45);
}

.creator-portal .creator-dashboard-pro__eyebrow {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.52);
  background: rgba(99, 102, 241, 0.2);
  color: #c7d2fe;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
}

.creator-portal .creator-dashboard-pro__hero h1 {
  margin: 10px 0 6px;
  color: #f8fafc;
  font-size: clamp(1.5rem, 2.35vw, 2.05rem);
}

.creator-portal .creator-dashboard-pro__hero p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.45;
}

.creator-portal .creator-dashboard-pro__chips {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.creator-portal .creator-dashboard-pro__chip {
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.45);
  background: rgba(15, 23, 42, 0.7);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
}

.creator-portal .creator-dashboard-pro__hero-actions {
  display: grid;
  align-content: center;
  justify-self: center;
  gap: 10px;
  width: min(100%, 340px);
}

.creator-portal .creator-dashboard-pro__hero-actions .btn {
  width: 100%;
}

.creator-portal .creator-dashboard-pro__top-grid,
.creator-portal .creator-dashboard-pro__ops-grid,
.creator-portal .creator-dashboard-pro__bottom-grid {
  display: grid;
  gap: 14px;
}

.creator-portal .creator-dashboard-pro__top-grid {
  grid-template-columns: 1.35fr 1fr;
}

.creator-portal .creator-dashboard-pro__ops-grid {
  grid-template-columns: 1.25fr 1fr;
}

.creator-portal .creator-dashboard-pro__bottom-grid {
  grid-template-columns: 1.25fr 1fr;
}

.creator-portal .creator-dashboard-pro__panel {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.38);
  padding: 16px;
}

.creator-portal .creator-dashboard-pro__panel header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.creator-portal .creator-dashboard-pro__panel header h2 {
  margin: 0;
  color: #f8fafc;
  font-size: 1.02rem;
}

.creator-portal .creator-dashboard-pro__panel header p {
  margin: 0;
  color: #cbd5e1;
  font-size: 12px;
}

.creator-portal .creator-dashboard-pro__panel header a {
  font-size: 12px;
  font-weight: 700;
  color: #c7d2fe;
  text-decoration: none;
}

.creator-portal .creator-dashboard-pro__kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.creator-portal .creator-dashboard-pro__kpi-card {
  border-radius: 12px;
  border: 1px solid rgba(100, 116, 139, 0.35);
  background: rgba(15, 23, 42, 0.62);
  padding: 11px;
  display: grid;
  gap: 6px;
}

.creator-portal .creator-dashboard-pro__kpi-card--high {
  border-color: rgba(248, 113, 113, 0.52);
  box-shadow: 0 12px 24px rgba(220, 38, 38, 0.2);
}

.creator-portal .creator-dashboard-pro__kpi-card--medium {
  border-color: rgba(251, 191, 36, 0.55);
  box-shadow: 0 10px 20px rgba(217, 119, 6, 0.2);
}

.creator-portal .creator-dashboard-pro__kpi-card--ok {
  border-color: rgba(100, 116, 139, 0.35);
}

.creator-portal .creator-dashboard-pro__kpi-card span {
  color: #94a3b8;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.creator-portal .creator-dashboard-pro__kpi-card strong {
  color: #f8fafc;
  font-size: 1.35rem;
  line-height: 1.1;
}

.creator-portal .creator-dashboard-pro__kpi-card small {
  color: #cbd5e1;
  font-size: 11px;
}

.creator-portal .creator-dashboard-pro__completion {
  margin-top: 12px;
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.36);
  background: rgba(15, 23, 42, 0.68);
  padding: 10px 12px;
}

.creator-portal .creator-dashboard-pro__completion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.creator-portal .creator-dashboard-pro__completion-head strong {
  color: #f8fafc;
  font-size: 13px;
}

.creator-portal .creator-dashboard-pro__completion-head span {
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
}

.creator-portal .creator-dashboard-pro__completion-message {
  margin: 10px 0 4px;
  font-size: 12px;
  font-weight: 700;
}

.creator-portal .creator-dashboard-pro__completion-message.is-alert {
  color: #fca5a5;
}

.creator-portal .creator-dashboard-pro__completion-message.is-ok {
  color: #86efac;
}

.creator-portal .creator-dashboard-pro__completion-detail {
  display: block;
  color: #cbd5e1;
  font-size: 11px;
  line-height: 1.45;
}

.creator-portal .creator-dashboard-pro__completion-next {
  margin-top: 10px;
  border: 1px solid rgba(148, 163, 184, 0.38);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.66);
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
}

.creator-portal .creator-dashboard-pro__completion-next span {
  color: #e2e8f0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.creator-portal .creator-dashboard-pro__completion-next .btn {
  min-height: 34px;
  white-space: nowrap;
}

.creator-portal .creator-dashboard-pro__completion-missing {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.creator-portal .creator-dashboard-pro__completion-missing li {
  border-radius: 999px;
  border: 1px solid rgba(251, 113, 133, 0.38);
  background: rgba(127, 29, 29, 0.2);
  color: #fecaca;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
}

.creator-portal .creator-dashboard-pro__completion-done {
  margin-top: 10px;
  display: block;
  color: #86efac;
  font-size: 11px;
}

.creator-portal .creator-dashboard-pro__list,
.creator-portal .creator-dashboard-pro__project-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.creator-portal .creator-dashboard-pro__list li,
.creator-portal .creator-dashboard-pro__project-list li {
  border-radius: 12px;
  border: 1px solid rgba(100, 116, 139, 0.34);
  background: rgba(15, 23, 42, 0.75);
  padding: 11px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  transition: all 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}

.creator-portal .creator-dashboard-pro__list li:hover,
.creator-portal .creator-dashboard-pro__project-list li:hover {
  transform: translateY(-2px);
  border-color: rgba(129, 140, 248, 0.5);
  box-shadow: 0 10px 24px rgba(99, 102, 241, 0.18);
}

.creator-portal .creator-dashboard-pro__list-main {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}

.creator-portal .creator-dashboard-pro__list-main > div {
  min-width: 0;
}

.creator-portal .creator-dashboard-pro__list-main strong,
.creator-portal .creator-dashboard-pro__project-list li strong {
  color: #f8fafc;
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
}

.creator-portal .creator-dashboard-pro__list-main small,
.creator-portal .creator-dashboard-pro__project-list li small {
  color: #cbd5e1;
  display: block;
  font-size: 12px;
  line-height: 1.42;
}

.creator-portal .creator-dashboard-pro__message-preview {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.creator-portal .creator-dashboard-pro__message-preview .thread-preview-icon-audio,
.creator-portal .creator-dashboard-pro__message-preview .thread-preview-audio-duration {
  color: #cbd5e1;
}

.creator-portal .creator-dashboard-pro__list-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(99, 102, 241, 0.35);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18) 0%, rgba(124, 58, 237, 0.16) 100%);
  flex-shrink: 0;
}

.creator-portal .creator-dashboard-pro__list-meta,
.creator-portal .creator-dashboard-pro__project-meta {
  min-width: 94px;
  display: grid;
  gap: 5px;
  justify-items: end;
}

.creator-portal .creator-dashboard-pro__list-meta span,
.creator-portal .creator-dashboard-pro__project-meta span {
  color: #cbd5e1;
  font-size: 12px;
}

.creator-portal .creator-dashboard-pro__list-meta a,
.creator-portal .creator-dashboard-pro__project-meta a {
  color: #c7d2fe;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.creator-portal .creator-dashboard-pro__status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.45);
  background: rgba(99, 102, 241, 0.15);
  color: #c7d2fe;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  padding: 4px 8px;
}

.creator-portal .creator-dashboard-pro__status-pill--progress,
.creator-portal .creator-dashboard-pro__status-pill--neutral {
  border-color: rgba(129, 140, 248, 0.45);
  background: rgba(99, 102, 241, 0.15);
  color: #c7d2fe;
}

.creator-portal .creator-dashboard-pro__status-pill--warning {
  border-color: rgba(251, 191, 36, 0.48);
  background: rgba(217, 119, 6, 0.16);
  color: #fde68a;
}

.creator-portal .creator-dashboard-pro__status-pill--success {
  border-color: rgba(74, 222, 128, 0.45);
  background: rgba(34, 197, 94, 0.14);
  color: #bbf7d0;
}

.creator-portal .creator-dashboard-pro__status-pill--danger {
  border-color: rgba(248, 113, 113, 0.5);
  background: rgba(220, 38, 38, 0.16);
  color: #fecaca;
}

.creator-portal .creator-dashboard-pro__fit-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.4);
  background: rgba(34, 197, 94, 0.14);
  color: #86efac;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  padding: 4px 8px;
}

.creator-portal .creator-dashboard-pro__project-list li.is-empty,
.creator-portal .creator-dashboard-pro__list li.is-empty {
  color: #94a3b8;
  display: block;
}

.creator-portal .creator-dashboard-pro__action-list {
  display: grid;
  gap: 8px;
}

.creator-portal .creator-dashboard-pro__action-link {
  border-radius: 10px;
  border: 1px solid rgba(99, 102, 241, 0.4);
  background: rgba(15, 23, 42, 0.75);
  color: #e2e8f0;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 12px;
  transition: all 0.22s ease;
}

.creator-portal .creator-dashboard-pro__action-link:hover {
  border-color: rgba(129, 140, 248, 0.65);
  color: #f8fafc;
  transform: translateY(-1px);
}

.creator-portal .creator-dashboard-pro__reviews-summary {
  margin-top: 12px;
  border-top: 1px solid rgba(100, 116, 139, 0.32);
  padding-top: 12px;
  display: grid;
  gap: 4px;
}

.creator-portal .creator-dashboard-pro__reviews-summary strong {
  color: #f8fafc;
}

.creator-portal .creator-dashboard-pro__reviews-summary small {
  color: #cbd5e1;
  font-size: 12px;
}

.creator-portal .creator-dashboard-pro .verification-item {
  border: 1px solid rgba(100, 116, 139, 0.34);
  background: rgba(15, 23, 42, 0.75);
}

.creator-portal .creator-dashboard-pro .verification-item__title {
  color: #f8fafc;
}

.creator-portal .creator-dashboard-pro .muted {
  color: #cbd5e1;
}

.creator-portal .creator-dashboard-pro .btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(99, 102, 241, 0.35);
}

.creator-portal .creator-dashboard-pro .btn-secondary {
  background: rgba(15, 23, 42, 0.8);
  color: #e2e8f0;
  border: 1px solid rgba(129, 140, 248, 0.35);
}

.creator-portal .creator-dashboard-v2__hero {
  display: grid;
  grid-template-columns: 1.35fr minmax(260px, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 14px;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.45);
  animation: creator-dashboard-slide-in 0.55s ease-out;
}

.creator-portal .creator-dashboard-v2 {
  animation: creator-dashboard-fade-in 0.6s ease-out;
}

@keyframes creator-dashboard-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes creator-dashboard-slide-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.creator-portal .creator-dashboard-v2__eyebrow {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.22);
  border: 1px solid rgba(129, 140, 248, 0.5);
}

.creator-portal .creator-dashboard-v2__hero h1 {
  margin: 10px 0 6px;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: #f8fafc;
}

.creator-portal .creator-dashboard-v2__hero p {
  margin: 0;
  color: #cbd5e1;
  max-width: 55ch;
}

.creator-portal .creator-dashboard-v2__chips {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.creator-portal .creator-dashboard-v2__chip {
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.45);
  background: rgba(30, 41, 59, 0.9);
  color: #e2e8f0;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 600;
}

.creator-portal .creator-dashboard-v2__hero-cta {
  display: grid;
  gap: 10px;
  justify-items: stretch;
}

.creator-portal .creator-dashboard-v2__hero-cta .btn {
  width: 100%;
}

.creator-portal .creator-dashboard-v2__progress-card {
  margin-top: 16px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  padding: 14px 16px;
}

.creator-portal .creator-dashboard-v2__progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  color: #f8fafc;
}

.creator-portal .creator-dashboard-v2__progress-head span {
  font-size: 13px;
  color: #cbd5e1;
  font-weight: 600;
}

.creator-portal .creator-dashboard-v2__kpis {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.creator-portal .creator-dashboard-v2__kpi {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.creator-portal .creator-dashboard-v2__kpi span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  font-weight: 700;
}

.creator-portal .creator-dashboard-v2__kpi strong {
  font-size: 1.4rem;
  line-height: 1.1;
  color: #f8fafc;
}

.creator-portal .creator-dashboard-v2__quick-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.creator-portal .creator-dashboard-v2__quick-link {
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.4);
  background: rgba(30, 41, 59, 0.9);
  color: #c7d2fe;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  text-decoration: none;
  transition: all 0.28s ease;
}

.creator-portal .creator-dashboard-v2__quick-link:hover {
  border-color: rgba(129, 140, 248, 0.6);
  color: #e2e8f0;
  transform: translateY(-1px);
}

.creator-portal .creator-dashboard-v2__grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.creator-portal .creator-dashboard-v2__panel {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  padding: 16px;
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.38);
  animation: creator-dashboard-card-in 0.5s ease-out backwards;
}

.creator-portal .creator-dashboard-v2__grid .creator-dashboard-v2__panel:nth-child(1) {
  animation-delay: 0.06s;
}

.creator-portal .creator-dashboard-v2__grid .creator-dashboard-v2__panel:nth-child(2) {
  animation-delay: 0.12s;
}

.creator-portal .creator-dashboard-v2__grid .creator-dashboard-v2__panel:nth-child(3) {
  animation-delay: 0.18s;
}

@keyframes creator-dashboard-card-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.creator-portal .creator-dashboard-v2__panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.creator-portal .creator-dashboard-v2__panel h2 {
  margin: 0;
  font-size: 1rem;
  color: #f8fafc;
}

.creator-portal .creator-dashboard-v2__panel header a {
  font-size: 12px;
  color: #c7d2fe;
  text-decoration: none;
  font-weight: 700;
}

.creator-portal .creator-dashboard-v2__list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.creator-portal .creator-dashboard-v2__list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-radius: 12px;
  border: 1px solid rgba(100, 116, 139, 0.34);
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  padding: 12px;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.creator-portal .creator-dashboard-v2__list li:hover {
  transform: translateY(-2px);
  border-color: rgba(129, 140, 248, 0.5);
  box-shadow: 0 12px 28px rgba(99, 102, 241, 0.22), 0 4px 12px rgba(2, 6, 23, 0.35);
}

.creator-portal .creator-dashboard-v2__list-main {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.creator-portal .creator-dashboard-v2__list-main > div {
  min-width: 0;
}

.creator-portal .creator-dashboard-v2__list-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border: 1px solid rgba(99, 102, 241, 0.35);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18) 0%, rgba(124, 58, 237, 0.16) 100%);
}

.creator-portal .creator-dashboard-v2__status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.42);
  background: rgba(99, 102, 241, 0.16);
  color: #c7d2fe;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  padding: 4px 8px;
}

.creator-portal .creator-dashboard-v2__list li strong {
  display: block;
  color: #f8fafc;
  margin-bottom: 3px;
}

.creator-portal .creator-dashboard-v2__list li small {
  color: #cbd5e1;
  display: block;
}

.creator-portal .creator-dashboard-v2__list li.is-empty {
  color: #94a3b8;
  display: block;
}

.creator-portal .creator-dashboard-v2__list-meta {
  display: grid;
  justify-items: end;
  gap: 6px;
  min-width: 78px;
}

.creator-portal .creator-dashboard-v2__list-meta span {
  font-size: 12px;
  color: #cbd5e1;
}

.creator-portal .creator-dashboard-v2__list-meta a {
  font-size: 12px;
  font-weight: 700;
  color: #c7d2fe;
  text-decoration: none;
  transition: color 0.2s ease;
}

.creator-portal .creator-dashboard-v2__list-meta a:hover {
  color: #e2e8f0;
}

.creator-portal .creator-dashboard-v2__bottom-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 14px;
}

.creator-portal .creator-dashboard-v2__panel--verification .verification-list {
  margin-top: 12px;
}

.creator-portal .creator-dashboard-v2__panel--messages .creator-dashboard-v2__list-icon {
  border-color: rgba(96, 165, 250, 0.4);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.18) 100%);
}

.creator-portal .creator-dashboard-v2__panel--proposals .creator-dashboard-v2__list-icon {
  border-color: rgba(251, 146, 60, 0.4);
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.2) 0%, rgba(249, 115, 22, 0.18) 100%);
}

.creator-portal .creator-dashboard-v2__panel--collabs .creator-dashboard-v2__list-icon {
  border-color: rgba(74, 222, 128, 0.4);
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.2) 0%, rgba(22, 163, 74, 0.18) 100%);
}

.creator-portal .creator-dashboard-v2__reviews-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
}

.creator-portal .creator-dashboard-v2__reviews-list li {
  border-radius: 12px;
  border: 1px solid rgba(100, 116, 139, 0.34);
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  padding: 10px 12px;
  display: grid;
  gap: 4px;
}

.creator-portal .creator-dashboard-v2__reviews-list li span,
.creator-portal .creator-dashboard-v2__reviews-list li small {
  color: #cbd5e1;
}

.creator-portal .creator-dashboard-v2 .verification-item {
  border: 1px solid rgba(100, 116, 139, 0.34);
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.creator-portal .creator-dashboard-v2 .verification-item__title {
  color: #f8fafc;
}

.creator-portal .creator-dashboard-v2 .muted {
  color: #cbd5e1;
}

.creator-portal .creator-dashboard-v2 .btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(99, 102, 241, 0.35);
}

.creator-portal .creator-dashboard-v2 .btn-primary:hover {
  filter: brightness(1.05);
}

.creator-portal .creator-dashboard-v2 .btn-secondary {
  background: rgba(30, 41, 59, 0.9);
  color: #e2e8f0;
  border: 1px solid rgba(129, 140, 248, 0.35);
}

.creator-portal .dashboard-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.creator-portal .dashboard-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.creator-portal .dashboard-card--profile {
  background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%);
}

.creator-portal .dashboard-card--verification {
  background: linear-gradient(180deg, #ffffff 0%, #fdf2f8 100%);
}

.creator-portal .dashboard-card__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.creator-portal .dashboard-card__title {
  margin: 8px 0 12px;
  font-size: 18px;
  color: #0f172a;
}

.creator-portal .dashboard-card__progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.creator-portal .progress-track {
  flex: 1;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  height: 10px;
}

.creator-portal .progress-bar {
  height: 10px;
  background: #8b0f5f;
}

.creator-portal .progress-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.creator-portal .dashboard-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.creator-portal .meta-pill {
  background: #eef2ff;
  color: #3730a3;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
}

.creator-portal .dashboard-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.creator-portal .verification-list {
  display: grid;
  gap: 14px;
}

.creator-portal .verification-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.creator-portal .verification-item__title {
  font-weight: 700;
  color: #0f172a;
}

.creator-portal .services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* ── CREATOR SERVICES PRO ────────────────────────────────────────── */
.creator-portal .creator-services-pro {
  display: grid;
  gap: 16px;
  color: #e2e8f0;
}

.creator-portal .creator-services-pro__hero {
  display: grid;
  grid-template-columns: 1.3fr minmax(240px, 1fr);
  gap: 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.45);
  padding: 24px 28px;
}

.creator-portal .creator-services-pro__eyebrow {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.52);
  background: rgba(99, 102, 241, 0.2);
  color: #c7d2fe;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
}

.creator-portal .creator-services-pro__hero h1 {
  margin: 10px 0 6px;
  color: #f8fafc;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.creator-portal .creator-services-pro__hero p {
  margin: 0;
  color: #94a3b8;
  line-height: 1.5;
}

.creator-portal .creator-services-pro__kpi {
  border-radius: 14px;
  border: 1px solid rgba(100, 116, 139, 0.35);
  background: rgba(15, 23, 42, 0.62);
  padding: 14px;
  display: grid;
  gap: 6px;
}

.creator-portal .creator-services-pro__kpi strong {
  color: #f8fafc;
  font-size: 1.8rem;
  line-height: 1;
}

.creator-portal .creator-services-pro__kpi span {
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  font-weight: 700;
}

.creator-portal .creator-services-pro__kpi small {
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.creator-portal .creator-services-pro__tips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.creator-portal .creator-services-pro__tips article {
  border-radius: 12px;
  border: 1px solid rgba(100, 116, 139, 0.28);
  background: rgba(15, 23, 42, 0.68);
  padding: 12px;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
}

.creator-portal .creator-services-pro__tips svg {
  color: #818cf8;
  width: 20px;
  height: 20px;
  position: relative;
  top: 10px;
}

.creator-portal .creator-services-pro__tips strong {
  display: block;
  color: #f8fafc;
  font-size: 12px;
  margin-bottom: 2px;
}

.creator-portal .creator-services-pro__tips span {
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.4;
}

.creator-portal .creator-services-pro__form {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(160deg, #1e293b 0%, #0f172a 100%);
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.38);
  padding: 16px;
  display: grid;
  gap: 14px;
}

.creator-portal .creator-services-pro__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.28);
  background: rgba(99, 102, 241, 0.08);
  padding: 10px 12px;
}

.creator-portal .creator-services-pro__toolbar p {
  margin: 0;
  color: #cbd5e1;
  font-size: 12px;
}

.creator-portal .creator-services-pro__toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.creator-portal .creator-services-pro__error {
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: rgba(127, 29, 29, 0.35);
  color: #fecaca;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 700;
}

.creator-portal .creator-services-pro .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 14px;
}

.creator-portal .creator-services-pro .service-card {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  padding: 14px;
  background: rgba(15, 23, 42, 0.66);
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.28);
  display: grid;
  gap: 12px;
}

.creator-portal .creator-services-pro .service-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.creator-portal .creator-services-pro .service-card__left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.creator-portal .creator-services-pro .service-card__drag {
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(148, 163, 184, 0.08);
  color: #94a3b8;
  border-radius: 8px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
}

.creator-portal .creator-services-pro .service-card__drag:active {
  cursor: grabbing;
}

.creator-portal .creator-services-pro .service-card__index {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.42);
  background: rgba(99, 102, 241, 0.16);
  color: #c7d2fe;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 10px;
}

.creator-portal .creator-services-pro .service-card__remove {
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.creator-portal .creator-services-pro .service-card__remove:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(248, 113, 113, 0.48);
}

.creator-portal .creator-services-pro .service-card__row {
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 12px;
}

.creator-portal .creator-services-pro .service-card__price input {
  text-align: right;
}

.creator-portal .creator-services-pro .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.creator-portal .creator-services-pro .field label {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.creator-portal .creator-services-pro .field input,
.creator-portal .creator-services-pro .field textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  color: #e2e8f0;
  font-size: 14px;
  padding: 10px 12px;
  width: 100%;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.creator-portal .creator-services-pro .field input::placeholder,
.creator-portal .creator-services-pro .field textarea::placeholder {
  color: #64748b;
}

.creator-portal .creator-services-pro .field input:focus,
.creator-portal .creator-services-pro .field textarea:focus {
  border-color: rgba(129, 140, 248, 0.65);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
  background: rgba(255, 255, 255, 0.09);
}

.creator-portal .creator-services-pro .field textarea {
  min-height: 96px;
  resize: vertical;
}

.creator-portal .creator-services-pro .field input.is-invalid,
.creator-portal .creator-services-pro .field textarea.is-invalid {
  border-color: rgba(248, 113, 113, 0.7);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.18);
}

.creator-portal .creator-services-pro .service-card.is-dragging {
  opacity: 0.68;
  transform: scale(0.99);
  border-color: rgba(129, 140, 248, 0.55);
}

.creator-portal .creator-services-pro .service-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.creator-portal .creator-services-pro .service-card__counter {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.creator-portal .creator-services-pro .creator-form__hint {
  color: #64748b;
  font-size: 11px;
}

.creator-portal .creator-services-pro__empty {
  border-radius: 12px;
  border: 1px dashed rgba(129, 140, 248, 0.45);
  background: rgba(99, 102, 241, 0.08);
  padding: 16px;
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
}

.creator-portal .creator-services-pro__empty[hidden] {
  display: none !important;
}

.creator-portal .creator-services-pro__empty i {
  color: #818cf8;
  font-size: 18px;
}

.creator-portal .creator-services-pro__empty strong {
  color: #e2e8f0;
  font-size: 13px;
}

.creator-portal .creator-services-pro__empty span {
  color: #94a3b8;
  font-size: 12px;
}

.creator-portal .creator-services-pro .services-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.creator-portal .creator-services-pro .btn-pro-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 20px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.creator-portal .creator-services-pro .btn-pro-primary:hover {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.creator-portal .creator-services-pro .btn-pro-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid rgba(148, 163, 184, 0.22);
  border-radius: 10px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  text-decoration: none;
}

.creator-portal .creator-services-pro .btn-pro-secondary:hover {
  border-color: rgba(148, 163, 184, 0.45);
}

.creator-portal .service-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.creator-portal .service-card__row {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 12px;
}

.creator-portal .service-card__price input {
  text-align: right;
}

.creator-portal .service-card__remove {
  align-self: flex-start;
}

.creator-portal .services-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.creator-portal .ugc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.creator-portal .ugc-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  max-width: 350px;
  gap: 12px;
  position: relative;
  margin-top: 10px;
}

.creator-portal .ugc-card__top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.creator-portal .ugc-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.creator-portal .ugc-card__meta {
  color: #64748b;
  font-size: 12px;
}

.creator-portal .ugc-card__note {
  font-size: 13px;
  color: #0f172a;
  background: #f8fafc;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid #e2e8f0;
}

.creator-portal .ugc-card__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: #64748b;
}

.creator-portal .ugc-empty {
  border: 1px dashed #cbd5f5;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  background: #f8fafc;
}

.creator-portal .ugc-empty h2 {
  margin: 0 0 8px;
  color: #0f172a;
}

.creator-portal .ugc-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 600;
  color: #0f172a;
}
@media (max-width: 720px) {
  .creator-portal .service-card__row {
    grid-template-columns: 1fr;
  }

  .creator-portal .creator-services-pro__hero,
  .creator-portal .creator-services-pro__form {
    padding: 14px;
  }

  .creator-portal .creator-services-pro__hero,
  .creator-portal .creator-services-pro__tips,
  .creator-portal .creator-services-pro .service-card__row,
  .creator-portal .creator-services-pro .services-actions {
    grid-template-columns: 1fr;
  }

  .creator-portal .creator-services-pro__toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .creator-portal .creator-services-pro__toolbar-actions {
    width: 100%;
  }

  .creator-portal .creator-services-pro .btn-pro-primary,
  .creator-portal .creator-services-pro .btn-pro-secondary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 1100px) {
  .creator-portal .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .creator-portal .services-grid {
    grid-template-columns: 1fr;
  }
}

.creator-portal .creator-steps {
  margin: 0;
  padding-left: 18px;
  color: #475569;
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.creator-portal .file-drop {
  border: 1px dashed #cbd5f5;
  border-radius: 14px;
  background: #f8fafc;
  padding: 18px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.creator-portal .file-drop input[type="file"] {
  display: none;
}

.creator-portal .file-drop__title {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.creator-portal .file-drop__sub {
  color: #64748b;
  font-size: 13px;
  margin-bottom: 10px;
}

.creator-portal .file-drop__meta {
  font-size: 12px;
  color: #475569;
}

.creator-portal .file-drop.is-dragging {
  border-color: #8b0f5f;
  background: #fdf2f8;
}

.creator-portal .field {
  margin-bottom: 16px;
}

.creator-portal .field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #0f172a;
}

.creator-portal .field input,
.creator-portal .field textarea,
.creator-portal .field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-sizing: border-box;
}

.creator-portal .creator-form .field input,
.creator-portal .creator-form .field textarea,
.creator-portal .creator-form .field select {
  padding: 9px 12px;
}

.creator-portal .field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.creator-portal .chip-input {
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 8px;
  background: #fff;
}

.creator-portal .chip-input__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.creator-portal .chip-input__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eef2ff;
  color: #3730a3;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
}

.creator-portal .chip-input__remove {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  color: inherit;
}

.creator-portal .chip-input__field {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14px;
  padding: 6px 4px;
}

.creator-portal .chip-input__hidden {
  display: none;
}

@media (max-width: 720px) {
  .creator-portal .field-row {
    grid-template-columns: 1fr;
  }
}

.creator-portal .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0;
}

.creator-portal .chip {
  padding: 6px 10px;
  background: #e5e7eb;
  border-radius: 999px;
  font-size: 13px;
}

.creator-portal .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  gap: 8px;
}

.creator-portal .btn-primary {
  background: #8b0f5f;
  color: #fff;
  box-shadow: 0 10px 20px rgba(139, 15, 95, 0.22);
}

.creator-portal .btn-secondary {
  background: #f1f5f9;
  color: #1f2937;
  border: 1px solid #e2e8f0;
}

.creator-portal .btn-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.creator-portal .dashboard-section {
  margin-top: 28px;
}

.creator-portal .dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.creator-portal .card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
}

.creator-portal .kpi-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.creator-portal .kpi-label {
  color: #64748b;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.creator-portal .kpi-value {
  font-size: 22px;
  color: #0f172a;
}

.creator-portal .dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.creator-portal .list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 12px;
}

.creator-portal .list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}

.creator-portal .list-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.creator-portal .muted {
  color: #64748b;
  font-size: 13px;
}

.creator-portal .link {
  color: #e11d8a;
  text-decoration: none;
  font-weight: 600;
}

.creator-portal .status-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  width: fit-content;
  margin-top: 6px;
}

.creator-portal .ugc-card__media{
  position: relative;
}

.creator-portal .ugc-card .status-badge{
  position: absolute;
  top: 5px;
  right: 10px;
}

.creator-portal .status-success {
  background: #ecfdf3;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.creator-portal .status-warning {
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fdba74;
}

.creator-portal .status-danger {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.creator-portal .plans {
  margin-top: 16px;
}

.creator-portal .plans .plan-row {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
}

.creator-portal .ugc-card__media {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.creator-portal .ugc-video-preview {
  width: 100%;
  max-height: 280px;
  border-radius: 12px;
  background: #0f172a;
}

.creator-portal .ugc-card__view {
  align-self: flex-start;
}

.ugc-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.ugc-modal[hidden] {
  display: none;
}

.ugc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
}

.ugc-modal__content {
  position: relative;
  background: #0f172a;
  border-radius: 16px;
  padding: 16px;
  max-width: 900px;
  width: min(90vw, 900px);
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ugc-modal__video {
  width: 100%;
  max-height: 70vh;
  border-radius: 12px;
}

.ugc-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 20px;
  line-height: 32px;
}

.creator-portal .creator-ugc-pro,
.creator-portal .creator-ugc-submit-pro {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.creator-portal .creator-ugc-pro__hero,
.creator-portal .creator-ugc-submit-pro__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border-radius: 18px;
  border: 1px solid rgba(99, 102, 241, 0.24);
  background: radial-gradient(circle at top left, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.94));
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.36);
  padding: 18px;
}

.creator-portal .creator-ugc-pro__eyebrow,
.creator-portal .creator-ugc-submit-pro__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c7d2fe;
  margin-bottom: 8px;
}

.creator-portal .creator-ugc-pro__hero h1,
.creator-portal .creator-ugc-submit-pro__hero h1 {
  margin: 0 0 8px;
  color: #f8fafc;
  font-size: 30px;
  line-height: 1.14;
}

.creator-portal .creator-ugc-pro__hero p,
.creator-portal .creator-ugc-submit-pro__hero p {
  margin: 0;
  color: #cbd5e1;
  font-size: 14px;
  max-width: 70ch;
}

.creator-portal .creator-ugc-pro__hero-actions,
.creator-portal .creator-ugc-submit-pro__hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.creator-portal .creator-ugc-pro .btn-pro-primary,
.creator-portal .creator-ugc-submit-pro .btn-pro-primary,
.creator-portal .creator-ugc-submit-pro__form .btn-pro-primary,
.creator-portal .creator-ugc-pro .btn-pro-secondary,
.creator-portal .creator-ugc-submit-pro .btn-pro-secondary,
.creator-portal .creator-ugc-submit-pro__form .btn-pro-secondary {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.creator-portal .creator-ugc-pro .btn-pro-primary,
.creator-portal .creator-ugc-submit-pro .btn-pro-primary,
.creator-portal .creator-ugc-submit-pro__form .btn-pro-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  box-shadow: 0 14px 28px rgba(59, 130, 246, 0.32);
}

.creator-portal .creator-ugc-pro .btn-pro-primary:hover,
.creator-portal .creator-ugc-submit-pro .btn-pro-primary:hover,
.creator-portal .creator-ugc-submit-pro__form .btn-pro-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(59, 130, 246, 0.42);
}

.creator-portal .creator-ugc-pro .btn-pro-secondary,
.creator-portal .creator-ugc-submit-pro .btn-pro-secondary,
.creator-portal .creator-ugc-submit-pro__form .btn-pro-secondary {
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.42);
}

.creator-portal .creator-ugc-pro .btn-pro-secondary:hover,
.creator-portal .creator-ugc-submit-pro .btn-pro-secondary:hover,
.creator-portal .creator-ugc-submit-pro__form .btn-pro-secondary:hover {
  border-color: rgba(129, 140, 248, 0.6);
  color: #e2e8f0;
  transform: translateY(-1px);
}

.creator-portal .creator-ugc-pro__kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.creator-portal .creator-ugc-pro__kpi-card {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(15, 23, 42, 0.62);
  padding: 14px;
  display: grid;
  gap: 4px;
}

.creator-portal .creator-ugc-pro__kpi-card strong {
  color: #f8fafc;
  font-size: 1.5rem;
  line-height: 1;
}

.creator-portal .creator-ugc-pro__kpi-card span {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.creator-portal .creator-ugc-pro__kpi-card--success {
  border-color: rgba(74, 222, 128, 0.34);
}

.creator-portal .creator-ugc-pro__kpi-card--warning {
  border-color: rgba(251, 191, 36, 0.42);
}

.creator-portal .creator-ugc-pro__kpi-card--danger {
  border-color: rgba(248, 113, 113, 0.4);
}

.creator-portal .creator-ugc-pro__guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.creator-portal .creator-ugc-pro__guide article,
.creator-portal .creator-ugc-submit-pro__highlights article {
  border-radius: 14px;
  border: 1px solid rgba(129, 140, 248, 0.28);
  background: rgba(30, 41, 59, 0.5);
  padding: 14px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
}

.creator-portal .creator-ugc-pro__guide i,
.creator-portal .creator-ugc-submit-pro__highlights i {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.22);
  color: #a5b4fc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.creator-portal .creator-ugc-pro__guide strong,
.creator-portal .creator-ugc-submit-pro__highlights strong {
  color: #e2e8f0;
  font-size: 13px;
}

.creator-portal .creator-ugc-pro__guide span,
.creator-portal .creator-ugc-submit-pro__highlights span {
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.45;
}

.creator-portal .creator-ugc-pro__callout {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: rgba(15, 23, 42, 0.58);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
}

.creator-portal .creator-ugc-pro__callout--success {
  border-color: rgba(74, 222, 128, 0.4);
  color: #bbf7d0;
}

.creator-portal .creator-ugc-pro__card {
  border-color: rgba(148, 163, 184, 0.26);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.86));
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.34);
  max-width: none;
}

.creator-portal .creator-ugc-pro__card .ugc-card__title {
  color: #e2e8f0;
}

.creator-portal .creator-ugc-pro__card .ugc-card__meta,
.creator-portal .creator-ugc-pro__card .ugc-card__foot {
  color: #94a3b8;
}

.creator-portal .creator-ugc-pro__card .ugc-card__note {
  background: rgba(30, 41, 59, 0.64);
  border-color: rgba(100, 116, 139, 0.35);
  color: #e2e8f0;
}

.creator-portal .creator-ugc-pro__empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  border-color: rgba(129, 140, 248, 0.4);
  background: rgba(15, 23, 42, 0.45);
  color: #cbd5e1;
}

.creator-portal .creator-ugc-pro__empty i {
  color: #a5b4fc;
  font-size: 20px;
}

.creator-portal .creator-ugc-submit-pro__highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.creator-portal .creator-ugc-submit-pro__rules {
  margin-bottom: 0;
}

.creator-portal .creator-ugc-submit-pro__form {
  border-radius: 18px;
  border: 1px solid rgba(99, 102, 241, 0.22);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.82));
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.34);
  padding: 18px;
}

.creator-portal .creator-ugc-submit-pro__section {
  border-radius: 14px;
  border: 1px solid rgba(100, 116, 139, 0.36);
  background: rgba(15, 23, 42, 0.5);
}

.creator-portal .creator-ugc-submit-pro__section .creator-form__section-title {
  color: #e2e8f0;
}

.creator-portal .creator-ugc-submit-pro__section-sub {
  margin: 0 0 12px;
  color: #94a3b8;
  font-size: 13px;
}

.creator-portal .creator-ugc-submit-pro__actions {
  margin-top: 20px;
}

.creator-portal .ugc-stepper .ugc-step {
  background: rgba(15, 23, 42, 0.52);
  border-color: rgba(100, 116, 139, 0.42);
}

.creator-portal .ugc-stepper .ugc-step__title {
  color: #e2e8f0;
}

.creator-portal .ugc-stepper .ugc-step__desc {
  color: #94a3b8;
}

.creator-portal .ugc-stepper .ugc-step.is-active {
  border-color: rgba(129, 140, 248, 0.6);
  background: rgba(79, 70, 229, 0.2);
}

.creator-portal .ugc-stepper .ugc-step.is-complete {
  border-color: rgba(74, 222, 128, 0.5);
  background: rgba(16, 185, 129, 0.16);
}

.creator-portal .creator-ugc-submit-pro__form .ugc-template {
  background: rgba(15, 23, 42, 0.48);
  border-color: rgba(100, 116, 139, 0.42);
}

.creator-portal .creator-ugc-submit-pro__form .ugc-template__title,
.creator-portal .creator-ugc-submit-pro__form .ugc-briefing summary,
.creator-portal .creator-ugc-submit-pro__form .field label,
.creator-portal .creator-ugc-submit-pro__form .ugc-template-group__title,
.creator-portal .ugc-stepper .ugc-step__index {
  color: #e2e8f0;
}

.creator-portal .creator-ugc-submit-pro__form .ugc-template__meta,
.creator-portal .creator-ugc-submit-pro__form .ugc-template__desc,
.creator-portal .creator-ugc-submit-pro__form .creator-form__hint,
.creator-portal .creator-ugc-submit-pro__form .file-drop__sub,
.creator-portal .creator-ugc-submit-pro__form .file-drop__meta,
.creator-portal .creator-ugc-submit-pro__form .ugc-briefing {
  color: #94a3b8;
}

.creator-portal .creator-ugc-submit-pro__form .ugc-template.is-selected {
  border-color: rgba(129, 140, 248, 0.9);
  box-shadow: 0 18px 30px rgba(79, 70, 229, 0.3);
}

.creator-portal .creator-ugc-submit-pro__form .file-drop,
.creator-portal .creator-ugc-submit-pro__form .ugc-consent-card,
.creator-portal .creator-ugc-submit-pro__form .field input,
.creator-portal .creator-ugc-submit-pro__form .field textarea {
  background: rgba(15, 23, 42, 0.56);
  border-color: rgba(100, 116, 139, 0.46);
  color: #e2e8f0;
}

.creator-portal .creator-ugc-submit-pro__form .field input::placeholder,
.creator-portal .creator-ugc-submit-pro__form .field textarea::placeholder {
  color: #64748b;
}

.creator-portal .creator-ugc-submit-pro__form .file-drop__title,
.creator-portal .creator-ugc-submit-pro__form .ugc-preview__label {
  color: #e2e8f0;
}

.creator-portal .creator-ugc-submit-pro__form .ugc-errors {
  border-color: rgba(248, 113, 113, 0.55);
  background: rgba(127, 29, 29, 0.25);
  color: #fecaca;
}

.creator-portal .creator-ugc-pro__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.creator-portal .creator-ugc-pro__grid .ugc-card {
  max-width: none;
}

.creator-portal .creator-ugc-submit-pro__hero {
  border-color: rgba(148, 163, 184, 0.35);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12);
}

.creator-portal .creator-ugc-submit-pro__eyebrow {
  color: #475569;
}

.creator-portal .creator-ugc-submit-pro__hero h1 {
  color: #0f172a;
}

.creator-portal .creator-ugc-submit-pro__hero p {
  color: #334155;
}

.creator-portal .creator-ugc-submit-pro__rules {
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  padding: 14px;
}

.creator-portal .creator-ugc-submit-pro__rules h2 {
  color: #0f172a;
}

.creator-portal .creator-ugc-submit-pro__rules ul {
  color: #334155;
}

.creator-portal .creator-ugc-submit-pro__form {
  border-color: #e2e8f0;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: 0 18px 28px rgba(15, 23, 42, 0.1);
}

.creator-portal .creator-ugc-submit-pro__section {
  border-color: #e2e8f0;
  background: #ffffff;
}

.creator-portal .creator-ugc-submit-pro__section .creator-form__section-title,
.creator-portal .creator-ugc-submit-pro__form .ugc-template__title,
.creator-portal .creator-ugc-submit-pro__form .ugc-briefing summary,
.creator-portal .creator-ugc-submit-pro__form .field label,
.creator-portal .creator-ugc-submit-pro__form .ugc-template-group__title {
  color: #0f172a;
}

.creator-portal .creator-ugc-submit-pro__section-sub,
.creator-portal .creator-ugc-submit-pro__form .ugc-template__meta,
.creator-portal .creator-ugc-submit-pro__form .ugc-template__desc,
.creator-portal .creator-ugc-submit-pro__form .creator-form__hint,
.creator-portal .creator-ugc-submit-pro__form .file-drop__sub,
.creator-portal .creator-ugc-submit-pro__form .file-drop__meta,
.creator-portal .creator-ugc-submit-pro__form .ugc-briefing {
  color: #475569;
}

.creator-portal .creator-ugc-submit-pro__form .ugc-template {
  border-color: #e2e8f0;
  background: #f8fafc;
}

.creator-portal .creator-ugc-submit-pro__form .ugc-template.is-selected {
  border-color: #6366f1;
  background: #eef2ff;
  box-shadow: 0 14px 24px rgba(99, 102, 241, 0.18);
}

.creator-portal .ugc-stepper .ugc-step {
  background: #ffffff;
  border-color: #e2e8f0;
}

.creator-portal .ugc-stepper .ugc-step__title {
  color: #0f172a;
}

.creator-portal .ugc-stepper .ugc-step__desc {
  color: #475569;
}

.creator-portal .ugc-stepper .ugc-step__index {
  color: #1e293b;
  background: #e2e8f0;
}

.creator-portal .ugc-stepper .ugc-step.is-active {
  border-color: rgba(79, 70, 229, 0.45);
  background: #eef2ff;
}

.creator-portal .ugc-stepper .ugc-step.is-active .ugc-step__index {
  background: #c7d2fe;
  color: #312e81;
}

.creator-portal .ugc-stepper .ugc-step.is-complete {
  border-color: rgba(16, 185, 129, 0.4);
  background: #ecfdf5;
}

.creator-portal .ugc-stepper .ugc-step.is-complete .ugc-step__index {
  background: #bbf7d0;
  color: #065f46;
}

.creator-portal .creator-ugc-submit-pro__form .file-drop,
.creator-portal .creator-ugc-submit-pro__form .ugc-consent-card,
.creator-portal .creator-ugc-submit-pro__form .field input,
.creator-portal .creator-ugc-submit-pro__form .field textarea {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}

.creator-portal .creator-ugc-submit-pro__form .field textarea {
  min-height: 76px;
  resize: vertical;
}

.creator-portal .creator-ugc-submit-pro__form .file-drop {
  padding: 14px;
}

.creator-portal .creator-ugc-submit-pro__form .file-drop.has-file {
  padding: 10px 12px;
  background: #ecfdf5;
  border-style: solid;
  border-color: #86efac;
}

.creator-portal .creator-ugc-submit-pro__form .ugc-consent-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  text-align: left;
}

.creator-portal .creator-ugc-submit-pro__form .ugc-consent-card input[type='checkbox'] {
  margin-top: 3px;
}

.creator-portal .creator-ugc-submit-pro__form .ugc-consent-card span {
  display: grid;
  gap: 4px;
  line-height: 1.35;
}

.creator-portal .creator-ugc-submit-pro__form .ugc-consent-card strong {
  color: #0f172a;
  font-size: 14px;
}

.creator-portal .creator-ugc-submit-pro__form .ugc-consent-card small {
  color: #475569;
  font-size: 12px;
}

.creator-portal .creator-ugc-submit-pro__form .ugc-briefing summary {
  padding: 8px 10px;
  border-radius: 10px;
  background: #eef2ff;
}

.creator-portal .creator-ugc-submit-pro__form .ugc-briefing[open] summary {
  background: #e0e7ff;
}

.creator-portal .creator-ugc-submit-pro__form .ugc-errors {
  border-color: #fca5a5;
  background: #fef2f2;
  color: #991b1b;
}

@media (max-width: 1100px) {
  .creator-portal .creator-ugc-pro__kpis,
  .creator-portal .creator-ugc-pro__guide,
  .creator-portal .creator-ugc-submit-pro__highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .creator-portal .creator-ugc-pro__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .creator-portal .creator-ugc-pro__hero,
  .creator-portal .creator-ugc-submit-pro__hero {
    grid-template-columns: 1fr;
  }

  .creator-portal .creator-ugc-pro__hero h1,
  .creator-portal .creator-ugc-submit-pro__hero h1 {
    font-size: 24px;
  }

  .creator-portal .creator-ugc-pro__kpis,
  .creator-portal .creator-ugc-pro__guide,
  .creator-portal .creator-ugc-submit-pro__highlights {
    grid-template-columns: 1fr;
  }

  .creator-portal .creator-ugc-pro__grid {
    grid-template-columns: 1fr;
  }

  .creator-portal .creator-ugc-pro .btn-pro-primary,
  .creator-portal .creator-ugc-submit-pro .btn-pro-primary,
  .creator-portal .creator-ugc-submit-pro__form .btn-pro-primary,
  .creator-portal .creator-ugc-pro .btn-pro-secondary,
  .creator-portal .creator-ugc-submit-pro .btn-pro-secondary,
  .creator-portal .creator-ugc-submit-pro__form .btn-pro-secondary {
    width: 100%;
  }

  .creator-portal .creator-ugc-pro__hero-actions,
  .creator-portal .creator-ugc-submit-pro__hero-actions {
    justify-content: stretch;
  }

  .creator-portal .creator-ugc-submit-pro__form {
    padding: 14px;
  }
}

/* Final polish: creator UGC submit page */
.creator-portal .creator-ugc-submit-pro,
.creator-portal .ugc-stepper,
.creator-portal .creator-ugc-submit-pro__form {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.creator-portal .creator-ugc-submit-pro {
  gap: 14px;
}

.creator-portal .creator-ugc-submit-pro__hero {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid #dbeafe;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 60%, #eef2ff 100%);
}

.creator-portal .creator-ugc-submit-pro__hero h1 {
  font-size: clamp(27px, 2.4vw, 38px);
  line-height: 1.15;
  margin-bottom: 10px;
}

.creator-portal .creator-ugc-submit-pro__hero p {
  font-size: 15px;
  color: #334155;
}

.creator-portal .creator-ugc-submit-pro__back-btn {
  min-height: 44px;
  min-width: 210px;
  border-radius: 12px;
  border-color: #cbd5e1;
  background: #ffffff;
  color: #334155;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
}

.creator-portal .creator-ugc-submit-pro__back-btn:hover {
  border-color: #6366f1;
  color: #312e81;
}

.creator-portal .creator-ugc-submit-pro__rules {
  padding: 16px;
  border-radius: 16px;
  background: #ffffff;
}

.creator-portal .ugc-stepper {
  margin-bottom: 12px;
}

.creator-portal .ugc-stepper .ugc-step {
  min-height: 66px;
  padding: 14px;
  border-radius: 14px;
}

.creator-portal .ugc-stepper .ugc-step__index {
  width: 32px;
  height: 32px;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid #cbd5e1;
}

.creator-portal .creator-ugc-submit-pro__form {
  border-radius: 20px;
  padding: 20px;
  background: #ffffff;
}

.creator-portal .creator-ugc-submit-pro__section {
  margin: 0 0 14px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.creator-portal .creator-ugc-submit-pro__section .creator-form__section-title {
  font-size: 19px;
}

.creator-portal .creator-ugc-submit-pro__section-sub {
  font-size: 13px;
  margin-bottom: 10px;
}

.creator-portal .creator-ugc-submit-pro__form .ugc-template {
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.creator-portal .creator-ugc-submit-pro__form .ugc-briefing summary {
  padding: 9px 12px;
  border: 1px solid #c7d2fe;
  border-radius: 10px;
  color: #3730a3;
  background: #eef2ff;
}

.creator-portal .creator-ugc-submit-pro__dropzone {
  border-color: #cbd5e1;
  border-width: 1px;
  border-style: dashed;
  border-radius: 12px;
  padding: 12px;
}

.creator-portal .creator-ugc-submit-pro__dropzone .file-drop__title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.creator-portal .creator-ugc-submit-pro__dropzone .file-drop__sub {
  font-size: 12px;
  margin-bottom: 6px;
}

.creator-portal .creator-ugc-submit-pro__dropzone .file-drop__meta {
  font-size: 12px;
  color: #1e293b;
}

.creator-portal .creator-ugc-submit-pro__dropzone.has-file {
  background: #ecfdf5;
  border-color: #4ade80;
}

.creator-portal .creator-ugc-submit-pro__upload-hint {
  margin-top: 8px;
}

.creator-portal .creator-ugc-submit-pro__form .ugc-upload-grid.has-preview {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
}

.creator-portal .creator-ugc-submit-pro__form .ugc-preview {
  margin-top: 0;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px;
  background: #ffffff;
}

.creator-portal .creator-ugc-submit-pro__form .ugc-preview__video {
  max-height: 210px;
  border-radius: 10px;
}

.creator-portal .creator-ugc-submit-pro__consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #dbeafe;
  background: #ffffff;
}

.creator-portal .creator-ugc-submit-pro__consent input[type='checkbox'] {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  margin: 2px 0 0;
  padding: 0;
  border: 1px solid #94a3b8;
  accent-color: #4f46e5;
  align-self: start;
}

.creator-portal .creator-ugc-submit-pro__consent-copy {
  display: grid;
  gap: 4px;
}

.creator-portal .creator-ugc-submit-pro__consent-copy strong {
  font-size: 14px;
  color: #0f172a;
}

.creator-portal .creator-ugc-submit-pro__consent-copy small {
  font-size: 12px;
  color: #475569;
  line-height: 1.4;
}

.creator-portal .creator-ugc-submit-pro__actions {
  margin-top: 10px;
}

.creator-portal .creator-ugc-submit-pro__submit-btn,
.creator-portal .creator-ugc-submit-pro__cancel-btn {
  min-height: 44px;
  border-radius: 12px;
}

.creator-portal .creator-ugc-submit-pro__cancel-btn {
  border-color: #cbd5e1;
  background: #ffffff;
  color: #334155;
}

@media (max-width: 900px) {
  .creator-portal .creator-ugc-submit-pro__form .ugc-upload-grid.has-preview {
    grid-template-columns: 1fr;
  }

  .creator-portal .creator-ugc-submit-pro__hero-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 960px) {
  .creator-portal__content {
    padding: 24px;
  }

  .creator-portal__nav {
    display: none;
  }

  .creator-portal .creator-dashboard-v2__hero,
  .creator-portal .creator-dashboard-v2__bottom-grid {
    grid-template-columns: 1fr;
  }

  .creator-portal .creator-dashboard-v2__kpis,
  .creator-portal .creator-dashboard-v2__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .creator-portal .creator-dashboard-pro__top-grid,
  .creator-portal .creator-dashboard-pro__ops-grid,
  .creator-portal .creator-dashboard-pro__bottom-grid {
    grid-template-columns: 1fr;
  }

  .creator-portal .creator-dashboard-pro__kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .creator-portal .creator-dashboard-pro__completion-next {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .creator-portal .field-row {
    grid-template-columns: 1fr;
  }

  .creator-portal .list-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .creator-portal .list-meta {
    align-items: flex-start;
  }

  .creator-portal .creator-dashboard-v2__hero {
    padding: 18px;
    border-radius: 18px;
  }

  .creator-portal .creator-dashboard-v2__kpis,
  .creator-portal .creator-dashboard-v2__grid {
    grid-template-columns: 1fr;
  }

  .creator-portal .creator-dashboard-v2__list li {
    flex-direction: column;
  }

  .creator-portal .creator-dashboard-v2__list-meta {
    justify-items: start;
  }

  .creator-portal .creator-dashboard-v2__status-pill {
    font-size: 9px;
    padding: 3px 7px;
  }

  .creator-portal .creator-dashboard-pro__hero {
    grid-template-columns: 1fr;
    padding: 16px;
    border-radius: 14px;
  }

  .creator-portal .creator-dashboard-pro__hero h1 {
    font-size: 1.45rem;
  }

  .creator-portal .creator-dashboard-pro__hero p {
    font-size: 13px;
  }

  .creator-portal .creator-dashboard-pro__kpis {
    grid-template-columns: 1fr;
  }

  .creator-portal .creator-dashboard-pro__list li,
  .creator-portal .creator-dashboard-pro__project-list li {
    flex-direction: column;
  }

  .creator-portal .creator-dashboard-pro__list-meta,
  .creator-portal .creator-dashboard-pro__project-meta {
    justify-items: start;
    min-width: 0;
  }
}

@media (max-width: 390px) {
  .creator-portal .creator-dashboard-pro__chip {
    font-size: 11px;
    padding: 5px 8px;
  }

  .creator-portal .creator-dashboard-pro__panel {
    padding: 12px;
    border-radius: 12px;
  }

  .creator-portal .creator-dashboard-pro__kpi-card strong {
    font-size: 1.2rem;
  }

  .creator-portal .creator-dashboard-pro__list-main strong,
  .creator-portal .creator-dashboard-pro__project-list li strong {
    font-size: 13px;
  }

  .creator-portal .creator-dashboard-pro__list-main small,
  .creator-portal .creator-dashboard-pro__project-list li small,
  .creator-portal .creator-dashboard-pro__list-meta span,
  .creator-portal .creator-dashboard-pro__project-meta span,
  .creator-portal .creator-dashboard-pro__list-meta a,
  .creator-portal .creator-dashboard-pro__project-meta a {
    font-size: 11px;
  }
}

@media (max-width: 390px) {
  .creator-portal .creator-dashboard-v2__hero {
    padding: 14px;
    gap: 12px;
    border-radius: 14px;
  }

  .creator-portal .creator-dashboard-v2__hero h1 {
    font-size: 1.32rem;
    margin-top: 6px;
  }

  .creator-portal .creator-dashboard-v2__hero p {
    font-size: 13px;
    line-height: 1.4;
  }

  .creator-portal .creator-dashboard-v2__chip {
    font-size: 11px;
    padding: 5px 9px;
  }

  .creator-portal .creator-dashboard-v2__progress-card,
  .creator-portal .creator-dashboard-v2__kpi,
  .creator-portal .creator-dashboard-v2__panel {
    padding: 12px;
    border-radius: 12px;
  }

  .creator-portal .creator-dashboard-v2__kpi strong {
    font-size: 1.16rem;
  }

  .creator-portal .creator-dashboard-v2__quick-actions {
    gap: 8px;
  }

  .creator-portal .creator-dashboard-v2__quick-link {
    font-size: 12px;
    padding: 7px 11px;
  }

  .creator-portal .creator-dashboard-v2__list li {
    padding: 10px;
    gap: 10px;
  }

  .creator-portal .creator-dashboard-v2__list-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 14px;
  }

  .creator-portal .creator-dashboard-v2__list li strong {
    font-size: 14px;
  }

  .creator-portal .creator-dashboard-v2__list li small,
  .creator-portal .creator-dashboard-v2__list-meta span,
  .creator-portal .creator-dashboard-v2__list-meta a {
    font-size: 12px;
  }
}

/* Blog CTA placeholders */
.ib-blog-cta {
  margin: 28px 0;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
}

.ib-blog-cta iframe {
  width: 100%;
  max-width: 100%;
  min-height: 280px;
  border: 0;
  border-radius: 10px;
}

.ib-blog-cta-mid { border-color: #cbd5e1; }
.ib-blog-cta-end { border-color: #bfdbfe; }
.ib-blog-cta-top { border-color: #ddd6fe; }


/* Shared auth card (lab + creator login) */
.lab-login-page { display:flex; align-items:center; justify-content:center; min-height:100vh; background: linear-gradient(135deg, #1d1233, #2c1c4b); padding:24px; }
.lab-login-card { background:#fff; border-radius:16px; max-width:460px; width:100%; box-shadow:0 18px 38px rgba(0,0,0,0.16); overflow:hidden; }
.lab-login-header { padding:20px 24px; background: linear-gradient(135deg, #6c1c7a, #ff4b8b); color:#fff; }
.lab-login-body { padding:24px; }
.lab-login-actions { display:flex; align-items:center; gap:12px; margin-top:18px; }
.lab-login-actions button { flex:1; }
.lab-login-error { background:#ffe5e5; color:#c62828; padding:10px 12px; border-radius:10px; margin-bottom:16px; font-weight:600; }
.lab-login-footer { padding:16px 24px; border-top:1px solid #eee; font-size:0.9rem; color:#666; display:flex; justify-content:space-between; align-items:center; gap:12px; }

.ib-brand-auth-shell {
  --ib-auth-accent: #7c3aed;
  --ib-auth-accent-soft: rgba(124, 58, 237, 0.12);
  --ib-auth-toggle-bg: #eef2ff;
  --ib-auth-toggle-color: #4338ca;
  --ib-auth-link-border: #a78bfa;
  --ib-auth-link-bg: #f3f0ff;
  --ib-auth-link-color: #5b21b6;
  --ib-auth-neon-bg: linear-gradient(135deg, #833ab4 0%, #e1306c 55%, #fcaf45 100%);
  --ib-auth-neon-shadow-1: rgba(131, 58, 180, 0.32);
  --ib-auth-neon-shadow-2: rgba(225, 48, 108, 0.28);
  --ib-auth-neon-hover-1: rgba(131, 58, 180, 0.38);
  --ib-auth-neon-hover-2: rgba(225, 48, 108, 0.36);
  --ib-auth-bg-radial-1: rgba(255, 77, 109, 0.34);
  --ib-auth-bg-radial-2: rgba(124, 58, 237, 0.36);
  --ib-auth-bg-gradient: linear-gradient(140deg, #070b18 0%, #1f1143 48%, #2b0f44 100%);
  min-height: 100vh;
  background:
    radial-gradient(1100px 700px at 10% -10%, var(--ib-auth-bg-radial-1), transparent 60%),
    radial-gradient(900px 600px at 95% 5%, var(--ib-auth-bg-radial-2), transparent 56%),
    var(--ib-auth-bg-gradient);
}

.ib-brand-auth-shell--brand {
  --ib-auth-accent: #7c3aed;
  --ib-auth-accent-soft: rgba(124, 58, 237, 0.12);
  --ib-auth-toggle-bg: #eef2ff;
  --ib-auth-toggle-color: #4338ca;
  --ib-auth-link-border: #a78bfa;
  --ib-auth-link-bg: #f3f0ff;
  --ib-auth-link-color: #5b21b6;
  --ib-auth-neon-bg: linear-gradient(135deg, #833ab4 0%, #e1306c 55%, #fcaf45 100%);
  --ib-auth-neon-shadow-1: rgba(131, 58, 180, 0.32);
  --ib-auth-neon-shadow-2: rgba(225, 48, 108, 0.28);
  --ib-auth-neon-hover-1: rgba(131, 58, 180, 0.38);
  --ib-auth-neon-hover-2: rgba(225, 48, 108, 0.36);
  --ib-auth-bg-radial-1: rgba(255, 77, 109, 0.34);
  --ib-auth-bg-radial-2: rgba(124, 58, 237, 0.36);
  --ib-auth-bg-gradient: linear-gradient(140deg, #070b18 0%, #1f1143 48%, #2b0f44 100%);
}

.ib-brand-auth-shell--creator {
  --ib-auth-accent: #2563eb;
  --ib-auth-accent-soft: rgba(37, 99, 235, 0.14);
  --ib-auth-toggle-bg: #e0ecff;
  --ib-auth-toggle-color: #1d4ed8;
  --ib-auth-link-border: #93c5fd;
  --ib-auth-link-bg: #eff6ff;
  --ib-auth-link-color: #1e40af;
  --ib-auth-neon-bg: linear-gradient(135deg, #2563eb 0%, #0891b2 55%, #22d3ee 100%);
  --ib-auth-neon-shadow-1: rgba(37, 99, 235, 0.34);
  --ib-auth-neon-shadow-2: rgba(8, 145, 178, 0.3);
  --ib-auth-neon-hover-1: rgba(37, 99, 235, 0.4);
  --ib-auth-neon-hover-2: rgba(8, 145, 178, 0.38);
  --ib-auth-bg-radial-1: rgba(59, 130, 246, 0.33);
  --ib-auth-bg-radial-2: rgba(14, 116, 144, 0.35);
  --ib-auth-bg-gradient: linear-gradient(140deg, #061227 0%, #102a43 48%, #0f3b4f 100%);
}

.ib-brand-onboarding-auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 0;
}

.ib-brand-onboarding-auth-wrap {
  max-width: 640px;
}

.ib-brand-onboarding-auth-card {
  background: #ffffff;
  color: #0f172a;
  padding: 28px;
  display: grid;
  gap: 18px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 24px;
  box-shadow: 0 28px 56px rgba(10, 10, 28, 0.35);
  animation: ib-auth-card-in .45s ease;
}

@keyframes ib-auth-card-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ib-brand-onboarding-auth-head {
  text-align: center;
}

.ib-brand-onboarding-auth-kicker {
  margin: 0 0 10px;
  color: var(--ib-auth-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ib-brand-onboarding-auth-head h1 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.5rem, 2vw, 1.95rem);
  font-weight: 800;
}

.ib-brand-onboarding-auth-head p {
  margin: 8px auto 0;
  max-width: 42ch;
  color: #475569;
  line-height: 1.65;
}

.ib-brand-onboarding-auth-head strong {
  color: #1e293b;
}

.ib-brand-onboarding-auth-form {
  display: grid;
  gap: 14px;
  text-align: left;
}

.ib-brand-onboarding-auth-field {
  display: grid;
  gap: 8px;
  color: #0f172a;
  font-weight: 600;
}

.ib-brand-onboarding-auth-input-wrap {
  position: relative;
}

.ib-brand-onboarding-auth-input-wrap input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px 88px 10px 12px;
  background: #fff;
  color: #0f172a;
}

.ib-brand-onboarding-auth-input-wrap input:focus {
  border-color: var(--ib-auth-accent);
  box-shadow: 0 0 0 3px var(--ib-auth-accent-soft);
  outline: none;
}

.ib-brand-onboarding-auth-input-wrap input.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.14);
}

.ib-brand-onboarding-auth-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  background: var(--ib-auth-toggle-bg);
  color: var(--ib-auth-toggle-color);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.ib-brand-onboarding-auth-help {
  margin: 0;
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
}

.ib-brand-onboarding-auth-submit {
  width: 100%;
  justify-content: center;
}

.ib-brand-onboarding-auth-submit.is-loading {
  opacity: 0.85;
  cursor: progress;
}

.ib-brand-onboarding-auth-badge {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid rgba(248, 113, 113, 0.34);
  color: #991b1b;
  background: rgba(248, 113, 113, 0.12);
  justify-self: center;
  margin-inline: auto;
}

.ib-brand-onboarding-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.ib-brand-onboarding-auth-actions .ib-btn {
  justify-content: center;
}

.ib-brand-onboarding-auth-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 14px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all .2s ease;
}

.ib-brand-onboarding-auth-link:hover,
.ib-brand-onboarding-auth-link:focus-visible {
  border-color: var(--ib-auth-link-border);
  background: var(--ib-auth-link-bg);
  color: var(--ib-auth-link-color);
  outline: none;
}

.ib-auth-legal {
  display: grid;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(203, 213, 225, 0.9);
  text-align: center;
}

.ib-auth-legal__eyebrow {
  margin: 0;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ib-auth-legal__copy {
  margin: 0;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.6;
}

.ib-auth-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.ib-auth-legal__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #f8fafc;
  color: #0f172a;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all .2s ease;
}

.ib-auth-legal__link:hover,
.ib-auth-legal__link:focus-visible {
  border-color: rgba(37, 99, 235, 0.28);
  background: rgba(239, 246, 255, 0.95);
  color: #1d4ed8;
  outline: none;
}

.ib-inbox-not-found {
  max-width: 840px;
}

.ib-inbox-not-found__card {
  display: grid;
  gap: 18px;
  padding: 26px;
}

.ib-inbox-not-found__head {
  text-align: center;
}

.ib-inbox-not-found__head h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2.1vw, 2rem);
}

.ib-inbox-not-found__head p {
  margin: 8px 0 0;
  color: #475569;
}

.ib-inbox-not-found__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.ib-inbox-not-found__actions .ib-btn {
  justify-content: center;
}

.ib-brand-auth-shell .ib-btn--neon {
  background: var(--ib-auth-neon-bg) !important;
  box-shadow:
    0 12px 28px var(--ib-auth-neon-shadow-1),
    0 16px 40px var(--ib-auth-neon-shadow-2),
    0 0 0 2px rgba(255, 255, 255, 0.12) inset;
}

.ib-brand-auth-shell .ib-btn--neon:hover,
.ib-brand-auth-shell .ib-btn--neon:focus-visible {
  box-shadow:
    0 18px 36px var(--ib-auth-neon-hover-1),
    0 24px 54px var(--ib-auth-neon-hover-2),
    0 0 0 2px rgba(255, 255, 255, 0.18) inset;
}

@media (max-width: 640px) {
  .ib-brand-onboarding-auth-card {
    padding: 22px 16px;
  }

  .ib-brand-onboarding-auth-actions .ib-btn {
    width: 100%;
    justify-content: center;
  }

  .ib-auth-legal__link {
    width: 100%;
  }
}


.ib-testmode-banner {
  margin: 0;
  padding: 6px 12px;
  text-align: center;
  font-size: 12px;
  letter-spacing: .02em;
  color: #fef3c7;
  background: rgba(124, 58, 237, .85);
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.ib-testmode-banner--admin {
  background: rgba(15, 23, 42, .92);
  color: #fde68a;
}


.ib-brand-dashboard__container {
  max-width: 1080px;
}

.ib-brand-dashboard__hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.ib-brand-dashboard__hero h1 { margin: 0 0 6px; }
.ib-brand-dashboard__hero p { margin: 0; color: #94a3b8; }

.ib-brand-dashboard__menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.ib-brand-dashboard__menu-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(148, 163, 184, .35);
  border-radius: 999px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 13px;
  background: rgba(15, 23, 42, .32);
}

.ib-brand-dashboard__menu-item:hover { border-color: rgba(168,85,247,.55); }

.ib-brand-dashboard__alert {
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  border: 1px solid transparent;
}
.ib-brand-dashboard__alert--success { background: rgba(74, 222, 128, 0.08); border-color: rgba(74, 222, 128, 0.35); }
.ib-brand-dashboard__alert--info { background: rgba(59, 130, 246, 0.08); border-color: rgba(59, 130, 246, 0.35); }
.ib-brand-dashboard__alert--danger { background: rgba(248, 113, 113, 0.08); border-color: rgba(248, 113, 113, 0.35); }

.ib-brand-dashboard__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 18px;
}

.ib-brand-card {
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 14px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(15,23,42,.58), rgba(15,23,42,.34));
  display: grid;
  gap: 10px;
}

.ib-brand-card h2 { margin: 0; font-size: 18px; }
.ib-brand-card p { margin: 0; color: #94a3b8; min-height: 44px; }
.ib-brand-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f5d0fe;
  background: rgba(168, 85, 247, .18);
}

.ib-brand-dashboard__meta { padding: 18px; }
.ib-brand-dashboard__meta h3 { margin: 0 0 12px; }
.ib-brand-dashboard__meta-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.ib-brand-dashboard__meta-grid span { display:block; color:#94a3b8; font-size:12px; margin-bottom:4px; }
.ib-brand-dashboard__meta-grid strong { color:#f8fafc; }

@media (max-width: 760px) {
  .ib-brand-dashboard__hero { flex-direction: column; align-items: flex-start; }
}


.ib-brand-dashboard__menu-item.is-active {
  border-color: rgba(168,85,247,.9);
  background: rgba(168,85,247,.25);
}

/* Brand portal premium ----------------------------------------------------- */
.ib-brand-page {
  display: grid;
  gap: 16px;
}

.ib-brand-dashboard {
  --ib-dash-text: #0f172a;
  --ib-dash-muted: #475569;
  --ib-dash-border: #dbe4f0;
  --ib-dash-bg: #ffffff;
}

.ib-brand-dashboard-v2 {
  --ib-dash-text: #f8fafc !important;
  --ib-dash-muted: #94a3b8 !important;
  --ib-dash-border: rgba(100, 116, 139, 0.3) !important;
  --ib-dash-bg: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
}

.ib-brand-dashboard .ib-card {
  background: var(--ib-dash-bg) !important;
  color: var(--ib-dash-text) !important;
  border: 1px solid var(--ib-dash-border);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.ib-brand-dashboard-v2 .ib-card.ib-brand-project-card {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(100, 116, 139, 0.3) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

.ib-brand-dashboard-v2 .ib-card.ib-brand-project-card:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(99, 102, 241, 0.5) !important;
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.2), 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}

.ib-brand-dashboard .ib-card p,
.ib-brand-dashboard .ib-card small,
.ib-brand-dashboard .ib-card li,
.ib-brand-dashboard .ib-card span {
  color: var(--ib-dash-muted);
}

.ib-brand-dashboard-v2 .ib-brand-project-card p,
.ib-brand-dashboard-v2 .ib-brand-project-card small,
.ib-brand-dashboard-v2 .ib-brand-project-card dt {
  color: #94a3b8 !important;
}

.ib-brand-dashboard .ib-card h2,
.ib-brand-dashboard .ib-card h3,
.ib-brand-dashboard .ib-card strong {
  color: var(--ib-dash-text);
}

.ib-brand-dashboard-v2 .ib-brand-project-card h2,
.ib-brand-dashboard-v2 .ib-brand-project-card dd {
  color: #f8fafc !important;
}

.ib-brand-dashboard-preview-note {
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12px;
  color: #475569;
}

.ib-brand-timeframe {
  padding: 12px 14px;
  display: grid;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.ib-brand-timeframe__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: #0f172a;
}

.ib-brand-timeframe__head strong {
  font-size: 13px;
}

.ib-brand-timeframe__head span {
  font-size: 12px;
  color: #64748b;
}

.ib-brand-timeframe__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ib-brand-timeframe__chip {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.ib-brand-timeframe__chip.is-active {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
}

.ib-brand-timeframe__chip:hover,
.ib-brand-timeframe__chip:focus-visible {
  border-color: #93c5fd;
  background: #f0f7ff;
  color: #1d4ed8;
  outline: none;
}

.ib-brand-projects-index .ib-brand-hero {
  background: transparent !important;
  border: none !important;
  padding: 24px 0 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 24px !important;
  margin-bottom: 24px !important;
}

.ib-brand-projects-index .ib-brand-hero h1 {
  margin: 0 0 8px !important;
  font-size: 2.2rem !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, #f8fafc 0%, #c7d2fe 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  letter-spacing: -0.02em !important;
}

.ib-brand-projects-index .ib-brand-hero p {
  margin: 0 !important;
  color: #94a3b8 !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
}

.ib-brand-projects-index .ib-brand-hero .ib-btn--neon {
  min-height: 48px !important;
  padding: 0 28px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%) !important;
  border: 1px solid rgba(168, 85, 247, 0.4) !important;
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.35), 0 0 0 1px rgba(168, 85, 247, 0.1) inset !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-transform: none !important;
  letter-spacing: 0.01em !important;
}

.ib-brand-projects-index .ib-brand-hero .ib-btn--neon:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 32px rgba(168, 85, 247, 0.45), 0 0 32px rgba(168, 85, 247, 0.25) !important;
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%) !important;
}

.ib-brand-hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ib-brand-first-action {
  border: 1px solid #dbeafe;
  background: linear-gradient(140deg, #eff6ff 0%, #f8fafc 100%);
  padding: 16px;
  display: grid;
  gap: 10px;
}

.ib-brand-first-action.is-ready {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.ib-brand-dashboard .ib-brand-first-action {
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.08);
}

.ib-brand-first-action__meta {
  font-size: 12px;
  color: #0369a1;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ib-brand-first-action__content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.ib-brand-first-action h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1.2rem;
}

.ib-brand-first-action p {
  margin: 6px 0 0;
  color: #475569;
}

.ib-brand-first-action__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ib-brand-first-action--full {
  min-height: 240px;
}

.ib-brand-first-action__content--split {
  align-items: stretch;
}

.ib-brand-first-action__main {
  display: grid;
  gap: 10px;
}

.ib-brand-first-action__side {
  min-width: 280px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.ib-brand-empty-state-mini {
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
}

.ib-brand-empty-state-mini span {
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ib-brand-empty-state-mini ol {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #334155;
  display: grid;
  gap: 4px;
}

.ib-brand-empty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ib-brand-empty-card {
  min-height: 180px;
  padding: 16px;
  display: grid;
  gap: 8px;
  align-content: start;
  background: #ffffff !important;
  border: 1px solid #e2e8f0;
}

.ib-brand-empty-card__label {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.ib-brand-empty-card strong {
  color: #0f172a;
  font-size: 1.05rem;
}

.ib-brand-empty-card p {
  margin: 0;
  color: #475569;
}

.ib-brand-empty-card ul {
  margin: 0;
  padding-left: 18px;
  color: #334155;
  display: grid;
  gap: 4px;
}

.ib-brand-onboarding {
  border: 1px dashed #93c5fd;
  background: linear-gradient(150deg, #ffffff 0%, #f8fafc 100%);
  padding: 18px;
  display: grid;
  gap: 14px;
}

.ib-brand-onboarding__content h2 {
  margin: 0;
  color: #0f172a;
}

.ib-brand-onboarding__content p {
  margin: 6px 0 0;
  color: #475569;
}

.ib-brand-onboarding__bullets {
  margin: 10px 0 0;
  padding-left: 20px;
  color: #334155;
  display: grid;
  gap: 6px;
}

.ib-brand-onboarding__actions .ib-btn {
  min-height: 46px;
  padding-inline: 20px;
}

.ib-brand-ops-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ib-brand-ops-grid--topline .ib-brand-ops-card {
  min-height: 130px;
}

.ib-brand-ops-card--highlight {
  border-color: #c7d2fe;
  background: linear-gradient(145deg, #eef2ff 0%, #ffffff 100%);
}

.ib-brand-ops-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ib-brand-ops-card span {
  color: #64748b;
  font-size: 13px;
}

.ib-brand-ops-card strong {
  font-size: 1.65rem;
  color: #0f172a;
  line-height: 1;
}

.ib-brand-ops-card small {
  color: #94a3b8;
  font-size: 12px;
}

.ib-brand-ops-grid--dashboard {
  align-items: stretch;
}

.ib-brand-ops-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.ib-brand-ops-layout__main,
.ib-brand-ops-layout__side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.ib-brand-ops-layout__side {
  grid-auto-rows: min-content;
}

.ib-brand-ops-priority--full {
  width: 100%;
}

.ib-brand-ops-priority {
  border: 1px solid #dbeafe;
  background: linear-gradient(140deg, #ffffff 0%, #f8fbff 100%);
  padding: 16px;
  display: grid;
  gap: 6px;
}

.ib-brand-ops-priority__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ib-brand-link-btn {
  min-height: 34px !important;
  padding: 6px 12px !important;
  font-size: 12px !important;
}

.ib-brand-ops-priority__eyebrow {
  font-size: 12px;
  color: #0369a1;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ib-brand-ops-priority h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1.1rem;
}

.ib-brand-ops-priority p {
  margin: 0;
  color: #475569;
}

.ib-brand-ops-card--messages {
  display: grid;
  gap: 10px;
}

.ib-brand-ops-card--messages .ib-brand-panel__header {
  margin-bottom: 0;
}

.ib-brand-ops-card__badge {
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e0e7ff;
  color: #1e3a8a;
  font-size: 12px;
  font-weight: 700;
}

.ib-brand-ops-card__footer {
  display: flex;
  justify-content: flex-start;
}

.ib-brand-ops-card__footer .ib-btn {
  min-height: 40px;
}

.ib-btn--open-chat {
  min-height: 44px !important;
  padding-inline: 18px !important;
  font-size: 13px !important;
  letter-spacing: 0.01em;
}

.ib-brand-dashboard .ib-btn {
  border-radius: 12px;
  min-height: 42px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background-color .16s ease;
}

.ib-brand-dashboard .ib-btn:hover,
.ib-brand-dashboard .ib-btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.ib-brand-dashboard .ib-btn--neon {
  border-radius: 12px;
  box-shadow:
    0 12px 24px rgba(131, 58, 180, 0.24),
    0 18px 34px rgba(225, 48, 108, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.22) inset;
}

.ib-brand-dashboard .ib-btn--neon:hover,
.ib-brand-dashboard .ib-btn--neon:focus-visible {
  box-shadow:
    0 16px 28px rgba(131, 58, 180, 0.3),
    0 22px 38px rgba(225, 48, 108, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.28) inset;
}

.ib-brand-dashboard .ib-btn--ghost,
.ib-brand-dashboard a.ib-btn:not(.ib-btn--neon):not(.ib-btn--primary):not(.ib-btn--danger):not(.ib-btn--secondary) {
  background: #f8fafc;
  color: #1e293b !important;
  border: 1px solid #d0dceb;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
}

.ib-brand-dashboard .ib-btn--ghost:hover,
.ib-brand-dashboard .ib-btn--ghost:focus-visible,
.ib-brand-dashboard a.ib-btn:not(.ib-btn--neon):not(.ib-btn--primary):not(.ib-btn--danger):not(.ib-btn--secondary):hover,
.ib-brand-dashboard a.ib-btn:not(.ib-btn--neon):not(.ib-btn--primary):not(.ib-btn--danger):not(.ib-btn--secondary):focus-visible {
  background: #eef6ff;
  border-color: #bfdbfe;
  color: #1d4ed8 !important;
}

.ib-brand-project-board {
  padding: 16px;
  display: grid;
  gap: 10px;
  background: #ffffff !important;
  border: 1px solid #e2e8f0;
}

.ib-brand-project-board__status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #475569;
  font-size: 13px;
}

.ib-brand-project-board__status span {
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 4px 10px;
  background: #f8fafc;
}

.ib-brand-action-list {
  padding: 16px;
  display: grid;
  gap: 10px;
  background: #ffffff !important;
  border: 1px solid #e2e8f0;
}

.ib-brand-action-list h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
}

.ib-brand-action-list ul {
  margin: 0;
  padding-left: 18px;
  color: #334155;
  display: grid;
  gap: 6px;
}

.ib-brand-list--projects-focus .ib-brand-list__item {
  min-height: 70px;
}

.ib-brand-empty,
.ib-brand-empty p,
.ib-brand-list__item,
.ib-brand-list__item strong,
.ib-brand-list__item small,
.ib-brand-action-list,
.ib-brand-action-list h3,
.ib-brand-action-list ul,
.ib-brand-project-board,
.ib-brand-project-board .ib-brand-panel__header h2,
.ib-brand-project-board__status,
.ib-brand-ops-card,
.ib-brand-ops-card span,
.ib-brand-ops-card strong,
.ib-brand-ops-card small {
  color: inherit;
}

.ib-brand-empty,
.ib-brand-list__item,
.ib-brand-action-list,
.ib-brand-project-board,
.ib-brand-ops-card,
.ib-brand-first-action,
.ib-brand-timeframe {
  color: #0f172a;
}

.ib-brand-dashboard .ib-brand-list__item {
  border-color: #dbe4f0;
  background: #ffffff;
}

.ib-brand-dashboard .ib-brand-list__item:hover {
  border-color: #bfdbfe;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

.ib-brand-empty p,
.ib-brand-list__item small,
.ib-brand-ops-card small,
.ib-brand-ops-priority p,
.ib-brand-action-list ul,
.ib-brand-project-board__status,
.ib-brand-timeframe__head span {
  color: #475569;
}

.ib-brand-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ib-brand-kpi-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ib-brand-kpi-card span { color: #64748b; font-size: 13px; }
.ib-brand-kpi-card strong { font-size: 1.65rem; color: #0f172a; line-height: 1; }
.ib-brand-kpi-card small { color: #94a3b8; font-size: 12px; }

.ib-brand-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
}

.ib-brand-panel { padding: 16px; }
.ib-brand-panel__header { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom: 10px; }
.ib-brand-panel__header h2 { margin: 0; font-size: 1.05rem; }

.ib-brand-dashboard-v2 {
  display: grid;
  gap: 16px;
  animation: dashboard-fade-in 0.6s ease-out;
  padding-top: 24px;
}

@keyframes dashboard-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ib-brand-dashboard-v2__hero {
  background: transparent !important;
  border: none !important;
  padding: 0 0 12px 0 !important;
}

.ib-brand-dashboard-v2__hero h1 {
  margin: 0 0 6px !important;
  font-size: 2rem !important;
  color: #f8fafc !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.ib-brand-dashboard-v2__hero p {
  margin: 0 0 8px !important;
  font-size: 0.98rem !important;
  color: #64748b !important;
  line-height: 1.5 !important;
}

.ib-brand-dashboard-v2__section {
  padding: 18px !important;
  display: grid !important;
  gap: 16px !important;
  animation: section-slide-in 0.5s ease-out backwards;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.05) 0%, rgba(241, 245, 249, 0.03) 100%) !important;
  border: 1px solid rgba(248, 250, 252, 0.08) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
  border-radius: 16px !important;
}

.ib-brand-dashboard-v2__section.ib-card {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.05) 0%, rgba(241, 245, 249, 0.03) 100%) !important;
  border: 1px solid rgba(248, 250, 252, 0.08) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

.ib-brand-dashboard-v2__section:nth-child(2) {
  animation-delay: 0.1s;
}

.ib-brand-dashboard-v2__section:nth-child(3) {
  animation-delay: 0.2s;
}

.ib-brand-dashboard-v2__section:nth-child(4) {
  animation-delay: 0.3s;
}

@keyframes section-slide-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ib-brand-dashboard-v2__section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ib-brand-dashboard-v2__section-head h2 {
  margin: 0 !important;
  color: #f8fafc !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
}

.ib-brand-dashboard-v2__section-head p {
  margin: 4px 0 0 !important;
  color: #64748b !important;
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
}

.ib-brand-dashboard-v2__section-head--split .ib-btn {
  min-height: 40px;
  transition: all 0.3s ease;
}

.ib-brand-dashboard-v2__section-head--split .ib-btn:hover {
  transform: translateX(2px);
}

.ib-brand-dashboard-v2__operation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ib-brand-dashboard-v2__operation-item {
  position: relative !important;
  border: 1px solid rgba(100, 116, 139, 0.3) !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  padding: 20px !important;
  display: block !important;
  overflow: hidden !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
  animation: card-fade-in 0.5s ease-out backwards;
  text-decoration: none !important;
  color: inherit !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

.ib-brand-dashboard-v2__operation-item:nth-child(1) {
  animation-delay: 0.05s;
}

.ib-brand-dashboard-v2__operation-item:nth-child(2) {
  animation-delay: 0.1s;
}

.ib-brand-dashboard-v2__operation-item:nth-child(3) {
  animation-delay: 0.15s;
}

.ib-brand-dashboard-v2__operation-item:nth-child(4) {
  animation-delay: 0.2s;
}

@keyframes card-fade-in {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ib-brand-dashboard-v2__operation-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(99, 102, 241, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.ib-brand-dashboard-v2__operation-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(99, 102, 241, 0.25), 0 8px 24px rgba(0, 0, 0, 0.5);
  border-color: rgba(99, 102, 241, 0.5);
}

.ib-brand-dashboard-v2__operation-item:hover::before {
  opacity: 1;
}

.ib-brand-dashboard-v2__operation-item.is-priority {
  border-color: rgba(251, 146, 60, 0.5);
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  box-shadow: 0 8px 24px rgba(251, 146, 60, 0.15);
}

.ib-brand-dashboard-v2__operation-item.is-priority:hover {
  border-color: rgba(251, 146, 60, 0.7);
  box-shadow: 0 16px 48px rgba(251, 146, 60, 0.3), 0 8px 24px rgba(0, 0, 0, 0.5);
}

.ib-brand-dashboard-v2__operation-item.is-empty-state {
  border-style: dashed;
  border-color: rgba(100, 116, 139, 0.3);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.5) 100%);
  opacity: 0.7;
}

.ib-brand-dashboard-v2__operation-item.is-empty-state:hover {
  opacity: 0.85;
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.15);
}

.ib-brand-dashboard-v2__operation-item.is-empty-state .ib-operation-value {
  opacity: 0.5;
}

.ib-brand-dashboard-v2__operation-item.is-empty-state .ib-operation-meta {
  font-style: italic;
}

.ib-priority-pulse {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fb923c;
  animation: priority-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes priority-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

.ib-operation-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.ib-operation-icon__emoji {
  font-size: 26px;
  line-height: 1;
}

.ib-brand-dashboard-v2__operation-item:hover .ib-operation-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(139, 92, 246, 0.25) 100%);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.ib-brand-dashboard-v2__operation-item--blue .ib-operation-icon {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%);
  border-color: rgba(59, 130, 246, 0.3);
}

.ib-brand-dashboard-v2__operation-item--orange .ib-operation-icon {
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.15) 0%, rgba(249, 115, 22, 0.15) 100%);
  border-color: rgba(251, 146, 60, 0.3);
}

.ib-brand-dashboard-v2__operation-item--purple .ib-operation-icon {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(147, 51, 234, 0.15) 100%);
  border-color: rgba(168, 85, 247, 0.3);
}

.ib-brand-dashboard-v2__operation-item--green .ib-operation-icon {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(22, 163, 74, 0.15) 100%);
  border-color: rgba(34, 197, 94, 0.3);
}

.ib-operation-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.ib-operation-label {
  color: #cbd5e1 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  margin-top: 10px !important;
}

.ib-operation-value {
  color: #f8fafc;
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ib-brand-dashboard-v2__operation-item--orange .ib-operation-value {
  background: linear-gradient(135deg, #fb923c 0%, #fdba74 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ib-brand-dashboard-v2__operation-item--purple .ib-operation-value {
  background: linear-gradient(135deg, #c084fc 0%, #d8b4fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ib-brand-dashboard-v2__operation-item--blue .ib-operation-value {
  background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ib-brand-dashboard-v2__operation-item--green .ib-operation-value {
  background: linear-gradient(135deg, #4ade80 0%, #86efac 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ib-operation-meta {
  color: #cbd5e1 !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}

.ib-operation-link {
  position: absolute !important;
  top: 20px !important;
  right: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  background: rgba(99, 102, 241, 0.2) !important;
  color: #c7d2fe !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  z-index: 100 !important;
  pointer-events: none !important;
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.25) !important;
}

.ib-brand-dashboard-v2__operation-item:hover .ib-operation-link {
  background: rgba(99, 102, 241, 0.35) !important;
  transform: scale(1.08) !important;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4) !important;
}

.ib-brand-dashboard-v2__empty {
  border: 1px dashed rgba(100, 116, 139, 0.4);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.3) 0%, rgba(15, 23, 42, 0.3) 100%);
  padding: 32px 24px;
  color: #cbd5e1;
  display: grid;
  gap: 12px;
  text-align: center;
  justify-items: center;
  transition: all 0.3s ease;
}

.ib-brand-dashboard-v2__empty:hover {
  border-color: rgba(99, 102, 241, 0.5);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.5) 100%);
}

.ib-brand-dashboard-v2__empty p {
  margin: 0;
  line-height: 1.5;
}

.ib-brand-dashboard-v2__empty p:first-of-type {
  font-weight: 700;
  color: #f1f5f9;
  font-size: 1.05rem;
}

.ib-brand-dashboard-v2__empty .ib-btn {
  margin-top: 8px;
}

.ib-brand-project-grid--focus-desktop {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ib-brand-dashboard-v2__conversations {
  display: grid;
  gap: 12px;
}

.ib-brand-dashboard-v2__conversation-item {
  position: relative;
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: 14px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  animation: card-fade-in 0.5s ease-out backwards;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.ib-brand-dashboard-v2__conversation-item:nth-child(1) {
  animation-delay: 0.05s;
}

.ib-brand-dashboard-v2__conversation-item:nth-child(2) {
  animation-delay: 0.1s;
}

.ib-brand-dashboard-v2__conversation-item:nth-child(3) {
  animation-delay: 0.15s;
}

.ib-brand-dashboard-v2__conversation-item:nth-child(4) {
  animation-delay: 0.2s;
}

.ib-brand-dashboard-v2__conversation-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ib-brand-dashboard-v2__conversation-item.is-unread {
  background: linear-gradient(135deg, #1e293b 0%, #1a2332 100%);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.2);
}

.ib-brand-dashboard-v2__conversation-item.is-unread::before {
  opacity: 1;
}

.ib-conversation-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.ib-conversation-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(100, 116, 139, 0.5);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.ib-conversation-avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  user-select: none;
  background: #6366f1;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

.ib-brand-dashboard-v2__conversation-item:hover .ib-conversation-avatar {
  transform: scale(1.08);
}

.ib-unread-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
  animation: unread-pulse 2s ease-in-out infinite;
}

@keyframes unread-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.ib-conversation-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ib-conversation-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ib-conversation-content strong {
  display: block !important;
  color: #f8fafc !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  transition: color 0.2s ease !important;
}

.ib-brand-dashboard-v2__conversation-item:hover .ib-conversation-content strong {
  color: #c7d2fe;
}

.ib-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ib-badge--new {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.ib-conversation-content small {
  display: block !important;
  color: #e2e8f0 !important;
  font-size: 0.88rem !important;
  line-height: 1.4 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

.ib-conversation-preview {
  display: inline-flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ib-conversation-preview .thread-preview-icon-audio,
.ib-conversation-preview .thread-preview-audio-duration,
.ib-conversation-preview__text {
  color: #e2e8f0;
}

.ib-conversation-meta {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.ib-conversation-time {
  color: #e2e8f0 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

.ib-conversation-arrow {
  color: #94a3b8;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(-4px);
}

.ib-brand-dashboard-v2__conversation-item:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.25), 0 4px 16px rgba(0, 0, 0, 0.4);
}

.ib-brand-dashboard-v2__conversation-item:hover .ib-conversation-arrow {
  opacity: 1;
  transform: translateX(0);
  color: #c7d2fe;
}

@media (max-width: 980px) {
  .ib-brand-dashboard-v2__operation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ib-brand-project-grid--focus-desktop {
    grid-template-columns: 1fr;
  }

  .ib-operation-icon {
    width: 48px;
    height: 48px;
  }

  .ib-operation-icon__emoji {
    font-size: 22px;
  }

  .ib-operation-value {
    font-size: 1.75rem;
  }
}

@media (max-width: 760px) {
  .ib-brand-dashboard-v2 {
    padding-top: 16px;
  }

  .ib-brand-dashboard-v2__section {
    padding: 16px;
  }

  .ib-brand-dashboard-v2__operation-grid {
    grid-template-columns: 1fr;
  }

  .ib-conversation-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .ib-conversation-avatar--initials {
    font-size: 14px;
  }

  .ib-conversation-meta {
    display: none;
  }

  .ib-brand-dashboard-v2__conversation-item {
    padding: 12px;
  }

  .ib-operation-icon {
    width: 44px;
    height: 44px;
  }

  .ib-operation-icon__emoji {
    font-size: 20px;
  }

  .ib-operation-value {
    font-size: 1.5rem;
  }

  .ib-brand-dashboard-v2__section-head {
    gap: 8px;
  }

  .ib-brand-dashboard-v2__section-head h2 {
    font-size: 1.05rem;
  }
}

@media (max-width: 360px) {
  .ib-brand-dashboard-v2 {
    padding-top: 12px;
  }

  .ib-brand-dashboard-v2__operation-item {
    padding: 16px;
  }

  .ib-operation-content {
    gap: 3px;
  }

  .ib-conversation-avatar {
    width: 36px;
    height: 36px;
  }

  .ib-conversation-avatar--initials {
    font-size: 12px;
  }
}

.ib-brand-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ib-brand-cta {
  display:flex;
  align-items:center;
  gap:10px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #dbeafe;
  color: #1e3a8a;
  background: #eff6ff;
  text-decoration: none;
  font-weight: 600;
}

.ib-brand-list { display:grid; gap:10px; }
.ib-brand-list__item {
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  background: #fff;
}
.ib-brand-list__item strong { display:block; font-size: 14px; }
.ib-brand-list__item small { display:block; color: #64748b; margin-top: 2px; }

.ib-brand-list__actions {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.ib-brand-list__actions span {
  color: #64748b;
  font-size: 12px;
}

.ib-message-time-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 2px 10px;
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
  border: 1px solid #bfdbfe;
  color: #1d4ed8 !important;
  font-size: 11px !important;
  font-weight: 700;
}

.ib-brand-panel--inbox .ib-btn {
  min-height: 40px;
}

.ib-brand-empty {
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 14px;
  background: #f8fafc;
}
.ib-brand-empty p { margin: 0 0 6px; color: #475569; }

.ib-brand-filter-row {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  align-items: end;
  padding: 14px;
}
.ib-brand-filter-row label span { display:block; font-size: 12px; color: #64748b; margin-bottom: 4px; }
.ib-brand-filter-row__actions { display:flex; gap:8px; justify-content:flex-end; }

.ib-brand-project-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap:12px; }
.ib-brand-project-card {
  padding: 14px !important;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  border: 1px solid rgba(100, 116, 139, 0.3) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.3s ease !important;
}
.ib-brand-project-card:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(99, 102, 241, 0.5) !important;
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.2) !important;
}
.ib-brand-project-card header { display:flex; justify-content:space-between; gap:8px; align-items:flex-start; }
.ib-brand-project-card h2 { margin: 0 !important; font-size: 1rem !important; color: #f8fafc !important; font-weight: 700 !important; }
.ib-brand-project-card p { color:#94a3b8 !important; min-height: 44px !important; }
.ib-brand-project-card dl { display:grid; grid-template-columns: 1fr 1fr; gap:8px; margin: 0; }
.ib-brand-project-card dt { font-size: 12px !important; color:#94a3b8 !important; font-weight: 600 !important; }
.ib-brand-project-card dd { margin: 2px 0 0 !important; font-weight: 700 !important; color:#f8fafc !important; }
.ib-brand-project-card__actions { margin-top: 10px; display:flex; gap:8px; }

/* Força aplicação nos cards dentro da dashboard v2 */
.ib-brand-dashboard-v2 .ib-brand-project-card,
.ib-brand-dashboard-v2 .ib-card.ib-brand-project-card {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  border: 1px solid rgba(100, 116, 139, 0.3) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

.ib-brand-dashboard-v2 .ib-brand-project-card h2,
.ib-brand-dashboard-v2 .ib-card.ib-brand-project-card h2 {
  color: #f8fafc !important;
}

.ib-brand-dashboard-v2 .ib-brand-project-card dd,
.ib-brand-dashboard-v2 .ib-card.ib-brand-project-card dd {
  color: #f8fafc !important;
}

.ib-brand-dashboard-v2 .ib-brand-project-card dt,
.ib-brand-dashboard-v2 .ib-brand-project-card p,
.ib-brand-dashboard-v2 .ib-card.ib-brand-project-card dt,
.ib-brand-dashboard-v2 .ib-card.ib-brand-project-card p {
  color: #94a3b8 !important;
}

.ib-brand-filter-row--projects {
  grid-template-columns: 180px 180px minmax(220px, 1fr) auto;
  align-items: end;
}

.ib-brand-filter-row--projects .ib-brand-filter-row__search {
  min-width: 0;
}

.ib-brand-project-grid--premium {
  grid-template-columns: repeat(auto-fit,minmax(48%,1fr));
}

.ib-brand-project-grid--list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.ib-brand-projects-index .ib-brand-project-card--premium {
  position: relative !important;
  border: 1px solid rgba(100, 116, 139, 0.3) !important;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  border-radius: 16px !important;
  padding: 20px !important;
  display: grid !important;
  gap: 16px !important;
  overflow: hidden !important;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
  animation: card-fade-in 0.5s ease-out backwards;
}

.ib-brand-projects-index .ib-brand-project-card--premium:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(168, 85, 247, 0.5) !important;
  box-shadow: 0 20px 48px rgba(168, 85, 247, 0.25), 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(168, 85, 247, 0.2) inset !important;
}

.ib-brand-projects-index .ib-brand-project-card--premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, rgba(99, 102, 241, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.ib-brand-projects-index .ib-brand-project-card--premium:hover::before {
  opacity: 1;
}

.ib-brand-project-card--premium:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow:
    0 24px 56px rgba(99, 102, 241, 0.25),
    0 12px 32px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(99, 102, 241, 0.2) inset;
}

.ib-brand-project-card--list {
  min-height: 290px;
  padding: 18px;
}

.ib-brand-project-card--list .ib-brand-project-card__footer {
  margin-top: auto;
}

@media (max-width: 760px) {
  .ib-brand-project-grid--list {
    grid-template-columns: 1fr;
  }

  .ib-brand-project-card--list {
    min-height: 0;
    padding: 14px;
  }
}

.ib-brand-project-card__header {
  display: grid;
  gap: 10px;
}

.ib-brand-project-card__title-wrap {
  display: grid;
  gap: 8px;
}

.ib-brand-projects-index .ib-brand-project-card__title-wrap h2 {
  margin: 0 !important;
  font-size: 1.15rem !important;
  line-height: 1.35 !important;
  color: #f8fafc !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  position: relative !important;
  z-index: 1 !important;
}

.ib-brand-projects-index .ib-brand-status-chip,
.ib-brand-projects-index .ib-brand-visibility-chip {
  position: relative !important;
  z-index: 1 !important;
  font-weight: 700 !important;
  font-size: 0.75rem !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  transition: all 0.3s ease !important;
}

.ib-brand-projects-index .ib-brand-status-chip:hover,
.ib-brand-projects-index .ib-brand-visibility-chip:hover {
  transform: translateY(-1px) !important;
}

.ib-brand-project-card__title-wrap p {
  margin: 6px 0 0 !important;
  color: #94a3b8 !important;
  min-height: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.ib-brand-project-card__chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.ib-brand-project-card__chips .ib-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  transition: all 0.3s ease;
}

.ib-brand-project-card--premium:hover .ib-chip {
  transform: translateY(-1px);
}

.ib-brand-status-chip.is-draft {
  background: linear-gradient(135deg, rgba(251, 146, 60, .25) 0%, rgba(249, 115, 22, .25) 100%);
  color: #fdba74;
  border: 1px solid rgba(251, 146, 60, .5);
  box-shadow: 0 2px 12px rgba(251, 146, 60, 0.2);
}

.ib-brand-status-chip.is-active {
  background: linear-gradient(135deg, rgba(34, 197, 94, .25) 0%, rgba(22, 163, 74, .25) 100%);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, .5);
  box-shadow: 0 2px 12px rgba(34, 197, 94, 0.25);
  animation: active-glow 3s ease-in-out infinite;
}

@keyframes active-glow {
  0%, 100% {
    box-shadow: 0 2px 12px rgba(34, 197, 94, 0.25);
  }
  50% {
    box-shadow: 0 2px 16px rgba(34, 197, 94, 0.4);
  }
}

.ib-brand-status-chip.is-done {
  background: linear-gradient(135deg, rgba(14, 165, 233, .25) 0%, rgba(2, 132, 199, .25) 100%);
  color: #7dd3fc;
  border: 1px solid rgba(14, 165, 233, .5);
  box-shadow: 0 2px 12px rgba(14, 165, 233, 0.2);
}

.ib-brand-status-chip.is-archived {
  background: linear-gradient(135deg, rgba(148, 163, 184, .25) 0%, rgba(100, 116, 139, .25) 100%);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, .45);
  box-shadow: 0 2px 12px rgba(148, 163, 184, 0.15);
}

.ib-brand-status-chip,
.ib-brand-visibility-chip {
  font-weight: 700;
}

.ib-brand-visibility-chip.is-public {
  background: rgba(99, 102, 241, .2);
  color: #c7d2fe;
  border: 1px solid rgba(99, 102, 241, .4);
}

.ib-brand-visibility-chip.is-private {
  background: rgba(71, 85, 105, .3);
  color: #cbd5e1;
  border: 1px solid rgba(100, 116, 139, .4);
}

.ib-brand-project-card__meta {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.ib-brand-project-card__counters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  animation: metrics-fade-in 0.6s ease-out 0.3s backwards;
}

@keyframes metrics-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ib-brand-project-card__counters .ib-chip {
  background: rgba(30, 41, 59, 0.8);
  color: #cbd5e1;
  border: 1px solid rgba(100, 116, 139, 0.4);
  transition: all 0.3s ease;
  font-weight: 700;
}

.ib-brand-project-card__counters .ib-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
}

.ib-brand-project-card__counters .ib-chip.is-matches {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.2) 100%);
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 2px 12px rgba(59, 130, 246, 0.2);
}

.ib-brand-project-card__counters .ib-chip.is-invites {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(147, 51, 234, 0.2) 100%);
  color: #d8b4fe;
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 2px 12px rgba(168, 85, 247, 0.2);
}

.ib-brand-project-card__counters .ib-chip.is-applications {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(22, 163, 74, 0.2) 100%);
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 2px 12px rgba(34, 197, 94, 0.2);
}

.ib-brand-project-card__chips .ib-chip.is-applications,
.ib-brand-project-card__chips .ib-chip.is-applications-empty {
  font-weight: 700;
}

.ib-brand-project-card__chips .ib-chip.is-applications {
  background: rgba(34, 197, 94, .14);
  color: #166534;
  border: 1px solid rgba(34, 197, 94, .28);
}

.ib-brand-project-card__chips .ib-chip.is-applications-empty {
  background: rgba(148, 163, 184, .16);
  color: #475569;
  border: 1px solid rgba(148, 163, 184, .3);
}

.ib-brand-live-indicator {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: #166534;
  background: rgba(34, 197, 94, .1);
  border: 1px solid rgba(34, 197, 94, .26);
  border-radius: 999px;
  padding: 3px 10px;
  width: fit-content;
}

.ib-brand-preview-banner {
  margin-top: 14px;
  border: 1px solid #dbeafe;
  background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ib-brand-preview-banner__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ib-brand-project-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ib-brand-empty--campaigns {
  text-align: center;
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 24px;
}

.ib-brand-empty__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #ede9fe 0%, #fce7f3 100%);
  color: #7c3aed;
  font-size: 22px;
}

.ib-brand-empty--campaigns p {
  margin: 0;
}

.ib-brand-project-card__meta dt {
  font-size: 11px !important;
  color: #94a3b8 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

.ib-brand-project-card__meta dd {
  margin: 2px 0 0 !important;
  font-size: .93rem !important;
  color: #f1f5f9 !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

.ib-brand-project-card__footer {
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(100, 116, 139, 0.3);
  padding-top: 10px;
}

.ib-brand-project-card__footer small {
  color: #94a3b8 !important;
  width: 100% !important;
}

.ib-brand-project-card__footer .ib-brand-project-card__actions {
  margin-top: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ib-brand-project-card__footer .ib-brand-project-card__actions .ib-btn {
  width: 100%;
  font-weight: 700;
  min-height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ib-brand-project-card__footer .ib-brand-project-card__actions .ib-btn:only-child {
  grid-column: 1 / -1;
}

.ib-brand-project-card__footer .ib-btn.ib-btn--neon {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: 1px solid #1d4ed8;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .24);
  font-weight: 800;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ib-brand-project-card__footer .ib-btn.ib-btn--neon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ib-brand-project-card__footer .ib-btn.ib-btn--neon:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, .35), 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.ib-brand-project-card__footer .ib-btn.ib-btn--neon:hover::before {
  opacity: 1;
}

.ib-brand-project-card__footer .ib-btn.ib-btn--ghost {
  background: linear-gradient(135deg, rgba(124, 58, 237, .14) 0%, rgba(99, 102, 241, .14) 100%);
  color: #4c1d95;
  border: 1px solid rgba(124, 58, 237, .36);
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ib-brand-projects-index .ib-brand-project-card__footer .ib-btn {
  position: relative !important;
  z-index: 1 !important;
  min-height: 44px !important;
  padding: 0 20px !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-transform: none !important;
  letter-spacing: 0.01em !important;
}

.ib-brand-projects-index .ib-brand-project-card__footer .ib-btn.ib-btn--neon {
  background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%) !important;
  border: 1px solid rgba(168, 85, 247, 0.4) !important;
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.3) !important;
  color: #ffffff !important;
}

.ib-brand-projects-index .ib-brand-project-card__footer .ib-btn.ib-btn--neon:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.4), 0 0 24px rgba(168, 85, 247, 0.2) !important;
}

.ib-brand-projects-index .ib-brand-project-card__footer .ib-btn.ib-btn--ghost {
  background: rgba(15, 23, 42, 0.6) !important;
  border: 1px solid rgba(148, 163, 184, 0.3) !important;
  color: #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.ib-brand-projects-index .ib-brand-project-card__footer .ib-btn.ib-btn--ghost:hover {
  background: rgba(30, 41, 59, 0.8) !important;
  border-color: rgba(168, 85, 247, 0.4) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2) !important;

/* Animações staggered para cards */
.ib-brand-projects-index .ib-brand-project-grid--premium .ib-brand-project-card--premium:nth-child(1) {
  animation-delay: 0.05s;
}

.ib-brand-projects-index .ib-brand-project-grid--premium .ib-brand-project-card--premium:nth-child(2) {
  animation-delay: 0.1s;
}

.ib-brand-projects-index .ib-brand-project-grid--premium .ib-brand-project-card--premium:nth-child(3) {
  animation-delay: 0.15s;
}

.ib-brand-projects-index .ib-brand-project-grid--premium .ib-brand-project-card--premium:nth-child(4) {
  animation-delay: 0.2s;
}

.ib-brand-projects-index .ib-brand-project-grid--premium .ib-brand-project-card--premium:nth-child(5) {
  animation-delay: 0.25s;
}

.ib-brand-projects-index .ib-brand-project-grid--premium .ib-brand-project-card--premium:nth-child(6) {
  animation-delay: 0.3s;
}

/* Responsividade mobile premium */
@media (max-width: 980px) {
  .ib-brand-projects-index .ib-brand-hero {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 20px 0 !important;
  }

  .ib-brand-projects-index .ib-brand-hero h1 {
    font-size: 1.85rem !important;
  }

  .ib-brand-projects-index .ib-brand-filter-row {
    padding: 18px !important;
  }

  .ib-brand-projects-index .ib-brand-filter-row--projects {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .ib-brand-projects-index .ib-brand-filter-row__actions {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 760px) {
  .ib-brand-projects-index .ib-brand-hero h1 {
    font-size: 1.65rem !important;
  }

  .ib-brand-projects-index .ib-brand-hero .ib-btn--neon {
    width: 100% !important;
  }

  .ib-brand-projects-index .ib-brand-filter-row {
    padding: 16px !important;
  }

  .ib-brand-projects-index .ib-brand-filter-row--projects {
    grid-template-columns: 1fr !important;
  }

  .ib-brand-projects-index .ib-brand-project-grid--premium {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 360px) {
  .ib-brand-projects-index .ib-brand-hero h1 {
    font-size: 1.45rem !important;
  }

  .ib-brand-projects-index .ib-brand-filter-row {
    padding: 14px !important;
  }

  .ib-brand-projects-index .ib-brand-project-card--premium {
    padding: 16px !important;
  }

  .ib-brand-projects-index .ib-brand-project-card__footer .ib-btn {
    min-height: 42px !important;
    padding: 0 16px !important;

    /* Empty state premium dark para projetos */
    .ib-brand-projects-index .ib-brand-empty {
      background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.7) 100%) !important;
      border: 1px solid rgba(148, 163, 184, 0.3) !important;
      box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4) !important;
      border-radius: 16px !important;
      padding: 48px 24px !important;
      text-align: center !important;
    }

    .ib-brand-projects-index .ib-brand-empty__icon {
      width: 64px !important;
      height: 64px !important;
      border-radius: 18px !important;
      background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%) !important;
      border: 1px solid rgba(168, 85, 247, 0.3) !important;
      color: #a855f7 !important;
      font-size: 26px !important;
      box-shadow: 0 8px 24px rgba(168, 85, 247, 0.25) !important;
      margin-bottom: 16px !important;
    }

    .ib-brand-projects-index .ib-brand-empty p {
      color: #e2e8f0 !important;
      font-size: 1rem !important;
      margin: 8px 0 !important;
    }

    .ib-brand-projects-index .ib-brand-empty p strong {
      font-size: 1.15rem !important;
      color: #f8fafc !important;
      font-weight: 800 !important;
      display: block !important;
      margin-bottom: 4px !important;
    }

    .ib-brand-projects-index .ib-brand-empty .ib-btn--neon {
      margin-top: 20px !important;
    }

    /* Meta fields premium */
    .ib-brand-projects-index .ib-brand-project-card__meta {
      position: relative !important;
      z-index: 1 !important;
      padding: 14px !important;
      background: rgba(15, 23, 42, 0.4) !important;
      border-radius: 12px !important;
      border: 1px solid rgba(100, 116, 139, 0.2) !important;
    }

    .ib-brand-projects-index .ib-brand-project-card__meta > div {
      display: flex !important;
      flex-direction: column !important;
      gap: 4px !important;
    }

    .ib-brand-projects-index .ib-brand-project-card__meta dt {
      font-size: 0.7rem !important;
      color: #94a3b8 !important;
      font-weight: 700 !important;
      text-transform: uppercase !important;
      letter-spacing: 0.06em !important;
    }

    .ib-brand-projects-index .ib-brand-project-card__meta dd {
      margin: 0 !important;
      font-size: 0.95rem !important;
      color: #f1f5f9 !important;
      font-weight: 700 !important;
      line-height: 1.3 !important;
    }

    /* Chips dentro dos cards */
    .ib-brand-projects-index .ib-brand-project-card__counters {
      position: relative !important;
      z-index: 1 !important;
    }

    .ib-brand-projects-index .ib-brand-project-card__counters .ib-chip {
      font-size: 0.8rem !important;
      padding: 6px 12px !important;
      font-weight: 800 !important;
      letter-spacing: 0.02em !important;
    }

    /* Status chips melhorados */
    .ib-brand-projects-index .ib-brand-status-chip.is-draft {
      background: rgba(148, 163, 184, 0.2) !important;
      color: #cbd5e1 !important;
      border-color: rgba(148, 163, 184, 0.4) !important;
    }

    .ib-brand-projects-index .ib-brand-status-chip.is-active {
      background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(22, 163, 74, 0.2)) !important;
      color: #86efac !important;
      border-color: rgba(34, 197, 94, 0.5) !important;
      box-shadow: 0 0 16px rgba(34, 197, 94, 0.2) !important;
    }

    .ib-brand-projects-index .ib-brand-status-chip.is-archived {
      background: rgba(100, 116, 139, 0.2) !important;
      color: #94a3b8 !important;
      border-color: rgba(100, 116, 139, 0.4) !important;
    }

    .ib-brand-projects-index .ib-brand-visibility-chip.is-public {
      background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.2)) !important;
      color: #93c5fd !important;
      border-color: rgba(59, 130, 246, 0.5) !important;
    }

    .ib-brand-projects-index .ib-brand-visibility-chip.is-private {
      background: rgba(100, 116, 139, 0.2) !important;
      color: #cbd5e1 !important;
      border-color: rgba(100, 116, 139, 0.4) !important;
    }
    font-size: 0.9rem !important;
  }
}
}

.ib-brand-projects-index .ib-brand-filter-row {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.7) 100%) !important;
  border: 1px solid rgba(148, 163, 184, 0.2) !important;
  border-radius: 16px !important;
  padding: 20px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
  backdrop-filter: blur(10px) !important;
  margin-bottom: 24px !important;
  gap: 16px !important;
}

.ib-brand-projects-index .ib-brand-filter-row label {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.ib-brand-projects-index .ib-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-transform: none;
  letter-spacing: .01em;
  font-size: .88rem;
  line-height: 1.15;
  white-space: nowrap;
}

.ib-brand-projects-index .ib-brand-filter-row label span {
  color: #e2e8f0 !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.ib-brand-projects-index .ib-brand-filter-row .ib-input,
.ib-brand-projects-index .ib-brand-filter-row .ib-select {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(203, 213, 225, 0.8) !important;
  border-radius: 10px !important;
  color: #0f172a !important;
  padding: 12px 14px !important;
  font-size: 0.95rem !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.ib-brand-projects-index .ib-brand-filter-row .ib-input:focus,
.ib-brand-projects-index .ib-brand-filter-row .ib-select:focus {
  border-color: #a855f7 !important;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1), 0 2px 12px rgba(0, 0, 0, 0.15) !important;
  outline: none !important;
}

.ib-brand-projects-index .ib-brand-filter-row__actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  align-items: stretch !important;
}

.ib-brand-projects-index .ib-brand-filter-row__actions .ib-btn {
  width: 100% !important;
  min-height: 46px !important;
  padding: 0 18px !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-transform: none !important;
  letter-spacing: 0.01em !important;
}

.ib-brand-projects-index .ib-brand-filter-row__actions .ib-btn--secondary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
  border: 1px solid rgba(37, 99, 235, 0.6) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3) !important;
}

.ib-brand-projects-index .ib-brand-filter-row__actions .ib-btn--secondary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4) !important;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
}

.ib-brand-projects-index .ib-brand-filter-row__actions .ib-btn--ghost {
  background: rgba(15, 23, 42, 0.6) !important;
  border: 1px solid rgba(148, 163, 184, 0.3) !important;
  color: #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.ib-brand-projects-index .ib-brand-filter-row__actions .ib-btn--ghost:hover {
  background: rgba(30, 41, 59, 0.8) !important;
  border-color: rgba(168, 85, 247, 0.4) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.ib-brand-match-summary {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.ib-brand-match-project-title {
  margin: 8px 0 0;
  font-size: .95rem;
  font-weight: 600;
  color: #0f172a;
}

.ib-brand-match-total {
  margin: 8px 0 0;
  color: #334155;
  font-weight: 500;
}

.ib-brand-match-total strong {
  color: #7c3aed;
  font-weight: 800;
}

/* Premium hero styling for matching page */
[data-brand-project-matching] .ib-brand-hero {
  position: relative;
  padding: 32px 28px !important;
  border-radius: 20px;
  border: 1px solid rgba(168, 85, 247, 0.3);
  background: linear-gradient(135deg,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(88, 28, 135, 0.92) 50%,
    rgba(147, 51, 234, 0.90) 100%
  );
  box-shadow: 0 16px 48px rgba(88, 28, 135, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  overflow: hidden;
  margin-top: 28px !important;
}

[data-brand-project-matching] {
  margin-top: 14px;
}

[data-brand-project-matching] .ib-brand-hero::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 30% 40%, rgba(168, 85, 247, 0.25), transparent 60%);
  animation: ibHeroGlow 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ibHeroGlow {
  0%, 100% { transform: translate(-20%, -20%) scale(1); opacity: 0.6; }
  50% { transform: translate(10%, 10%) scale(1.15); opacity: 0.9; }
}

[data-brand-project-matching] .ib-brand-hero > div {
  position: relative;
  z-index: 1;
}

[data-brand-project-matching] .ib-brand-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(147, 51, 234, 0.4);
  letter-spacing: -0.02em;
}

[data-brand-project-matching] .ib-brand-hero p {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

[data-brand-project-matching] .ib-brand-hero .ib-brand-match-project-title {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  font-weight: 700;
}

[data-brand-project-matching] .ib-brand-hero .ib-brand-match-total {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin: 12px 0 0;
}

[data-brand-project-matching] .ib-brand-hero .ib-brand-match-total strong {
  color: #fde68a;
  font-weight: 900;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

[data-brand-project-matching] .ib-brand-hero .ib-btn {
  position: relative;
  z-index: 1;
  min-height: 48px;
  min-width: 220px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  white-space: nowrap;
  transition: all 0.3s ease;
}

[data-brand-project-matching] .ib-brand-hero .ib-btn:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.ib-brand-matching-loading {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  border: none;
  border-radius: 0;
  background: linear-gradient(135deg,
    rgba(15, 23, 42, 0.97) 0%,
    rgba(30, 41, 59, 0.96) 25%,
    rgba(88, 28, 135, 0.92) 50%,
    rgba(147, 51, 234, 0.88) 75%,
    rgba(236, 72, 153, 0.90) 100%
  );
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 40px 24px;
  box-shadow: none;
  animation: ibLoadingFadeIn 0.4s ease-out;
}

@keyframes ibLoadingFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.ib-brand-matching-loading__counter {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.ib-brand-matching-loading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(147, 51, 234, 0.5);
  letter-spacing: -0.02em;
}

.ib-brand-matching-loading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  font-size: 1.05rem;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  margin-top: -20px;
}

.ib-brand-matching-loading__pulse {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0abfc, #c026d3, #7c3aed);
  box-shadow: 0 0 0 0 rgba(192, 38, 211, 0.6),
    0 8px 32px rgba(192, 38, 211, 0.5),
    inset 0 2px 8px rgba(255, 255, 255, 0.3);
  animation: ibMatchPulse 1.4s ease-in-out infinite;
  position: relative;
}

.ib-brand-matching-loading__pulse::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
}

.ib-brand-matching-loading__steps {
  width: min(1050px, 90%);
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.ib-brand-matching-loading__steps li {
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.6);
  display: grid;
  place-items: center;
  padding: 8px 10px;
  font-size: 0.76rem;
  line-height: 1.3;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
}

.ib-brand-matching-loading__steps li.is-active {
  border-color: rgba(236, 72, 153, 0.8);
  color: #ffffff;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.85), rgba(192, 38, 211, 0.75));
  box-shadow: 0 4px 16px rgba(192, 38, 211, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

@keyframes ibMatchPulse {
  0% {
    transform: scale(0.92);
    box-shadow: 0 0 0 0 rgba(192, 38, 211, 0.6), 0 8px 32px rgba(192, 38, 211, 0.5), inset 0 2px 8px rgba(255, 255, 255, 0.3);
  }
  50% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 20px rgba(192, 38, 211, 0), 0 8px 32px rgba(192, 38, 211, 0.7), inset 0 2px 8px rgba(255, 255, 255, 0.3);
  }
  100% {
    transform: scale(0.92);
    box-shadow: 0 0 0 0 rgba(192, 38, 211, 0), 0 8px 32px rgba(192, 38, 211, 0.5), inset 0 2px 8px rgba(255, 255, 255, 0.3);
  }
}

.ib-brand-matching-results.is-hidden {
  display: none;
}

[data-brand-project-matching] .ib-brand-filter-row {
  margin-bottom: 18px;
  border: 1px solid rgba(168, 85, 247, 0.28);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.74), rgba(30, 41, 59, 0.64));
  border-radius: 14px;
}

[data-brand-project-matching] .ib-brand-filter-row__actions {
  align-items: center;
  gap: 10px;
}

[data-brand-project-matching] .ib-brand-filter-row__actions .ib-btn--secondary {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid rgba(168, 85, 247, 0.45);
  background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
  color: #fff;
  font-weight: 800;
  text-transform: none;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.32);
}

[data-brand-project-matching] .ib-brand-filter-row__actions .ib-btn--secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(168, 85, 247, 0.35);
}

[data-brand-project-matching] .ib-brand-filter-row__actions .ib-btn--ghost {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.38);
  background: rgba(15, 23, 42, 0.62);
  color: #e2e8f0;
  font-weight: 700;
  text-transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-brand-project-matching] .ib-brand-filter-row__actions .ib-btn--ghost:hover {
  border-color: rgba(125, 211, 252, 0.5);
  background: rgba(30, 41, 59, 0.78);
}

.ib-brand-match-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.ib-brand-match-item {
  display: grid;
  gap: 10px;
}

.ib-brand-match-grid .creator-card {
  margin: 0;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(100, 116, 139, 0.3);
  background: linear-gradient(150deg, rgba(17, 24, 39, 0.96), rgba(12, 18, 34, 0.9));
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ib-brand-match-grid .creator-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 140, 248, 0.45);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.25);
}

.ib-brand-match-grid .creator-card__footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.ib-brand-match-grid .creator-card__cta-form {
  margin: 0;
}

.ib-brand-match-grid .creator-card__cta {
  min-height: 44px;
}

.ib-brand-match-item__footer {
  display: flex;
  justify-content: flex-end;
}

.ib-brand-match-why {
  min-height: 42px;
  border: 1px solid rgba(148, 163, 184, .58);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #334155;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.ib-brand-match-why:hover,
.ib-brand-match-why[aria-expanded="true"] {
  border-color: rgba(37, 99, 235, .5);
  color: #1d4ed8;
  background: rgba(219, 234, 254, .66);
}

.ib-brand-match-why i {
  color: #2563eb;
}

.ib-brand-match-reasons {
  border: 1px solid rgba(191, 219, 254, .86);
  border-radius: 12px;
  background: rgba(239, 246, 255, .78);
  padding: 10px 12px;
}

.ib-brand-match-reasons ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  color: #1e293b;
  font-size: .88rem;
}

.ib-brand-more-creators {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 36px 28px;
  border: 1px solid rgba(236, 72, 153, 0.45);
  border-radius: 20px;
  background: linear-gradient(135deg,
    rgba(124, 58, 237, 0.16) 0%,
    rgba(192, 38, 211, 0.12) 42%,
    rgba(236, 72, 153, 0.49) 72%,
    rgba(249, 115, 22, 0.44) 100%
  );
  box-shadow: 0 16px 36px rgba(88, 28, 135, 0.34), inset 0 1px 2px rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  margin-bottom: 28px !important;
}

.ib-brand-more-creators::before {
  content: '';
  position: absolute;
  inset: -50% -50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.42), transparent 58%);
  animation: ibMoreCreatorsGlow 4s linear infinite;
  pointer-events: none;
}

@keyframes ibMoreCreatorsGlow {
  0%, 100% { transform: translate(-25%, -25%) scale(1); opacity: 0.5; }
  50% { transform: translate(0%, 0%) scale(1.1); opacity: 0.8; }
}

.ib-brand-more-creators h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  position: relative;
  z-index: 1;
}

.ib-brand-more-creators p {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  max-width: 560px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.ib-brand-more-creators .ib-btn {
  position: relative;
  z-index: 1;
  min-width: 240px;
  min-height: 52px;
  font-size: 1.05rem;
  font-weight: 800;
  margin-top: 6px;
  text-transform: none !important;
}

.ib-public-projects {
  display: grid;
  gap: 12px;
}

.ib-public-projects-filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr)) auto;
  gap: 10px;
  align-items: end;
  padding: 14px;
}

.ib-public-projects-filters label span {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 4px;
}

.ib-public-projects-filters__actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.ib-public-projects-filters__actions .ib-btn {
  min-height: 42px;
  white-space: nowrap;
}

.ib-public-projects-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.ib-public-project-card {
  padding: 16px;
  display: grid;
  gap: 12px;
  border: 1px solid #e2e8f0;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.ib-public-project-card.is-highlighted {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.16);
}

.ib-public-project-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.ib-public-project-card__header h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.35;
}

.ib-public-project-card__header p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: .9rem;
}

.ib-public-project-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.ib-public-project-card__badges .ib-chip--score {
  background: rgba(2, 132, 199, .12);
  color: #075985;
  border: 1px solid rgba(2, 132, 199, .28);
}

.ib-public-project-card__brief {
  margin: 0;
  color: #334155;
  min-height: 58px;
  line-height: 1.45;
}

.ib-public-project-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ib-public-project-card__chips .ib-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
}

.ib-public-project-card__meta {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ib-public-project-card__meta dt {
  font-size: 12px;
  color: #94a3b8;
}

.ib-public-project-card__meta dd {
  margin: 3px 0 0;
  font-weight: 600;
  color: #0f172a;
}

.ib-public-project-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ib-public-project-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ib-public-project-card__actions form {
  margin: 0;
}

.ib-public-project-card__actions .ib-btn {
  min-height: 42px;
}

.ib-public-projects-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.ib-public-projects-pagination__page {
  min-width: 40px;
  min-height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.48);
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 600;
}

.ib-public-projects-pagination__page.is-active {
  background: linear-gradient(135deg, #f97316, #fb7185);
  border-color: rgba(251, 146, 60, 0.9);
  color: #ffffff;
}

.ib-public-projects-pagination__page:hover,
.ib-public-projects-pagination__page:focus-visible {
  border-color: rgba(56, 189, 248, 0.7);
  color: #f8fafc;
}

.ib-project-public-page {
  display: grid;
  gap: 12px;
}

.ib-project-public-page__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.ib-project-public-page__actions {
  align-items: flex-end;
}

.ib-project-public-page__actions form {
  margin: 0;
}

.ib-project-public-page__section {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.ib-project-public-page__section h2 {
  margin: 0;
  font-size: 1rem;
  color: #0f172a;
}

.ib-project-public-page__briefing {
  color: #334155;
  line-height: 1.55;
}

.ib-project-public-page__briefing p {
  margin: 0 0 10px;
}

.ib-project-public-page__briefing ul,
.ib-project-public-page__briefing ol {
  margin-top: 0;
}

.ib-project-public-page__briefing table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0;
}

.ib-project-public-page__briefing th,
.ib-project-public-page__briefing td {
  border: 1px solid #e2e8f0;
  padding: 8px;
  text-align: left;
}

.ib-project-public-page__briefing a {
  color: #0369a1;
  text-decoration: underline;
}

.ib-project-public-page__briefing blockquote {
  border-left: 3px solid #bae6fd;
  margin: 8px 0;
  padding: 4px 0 4px 10px;
  color: #475569;
}

.ib-project-public-page__requirements {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ib-project-public-page__meta {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.ib-project-public-page__meta dt {
  font-size: 12px;
  color: #94a3b8;
}

.ib-project-public-page__meta dd {
  margin: 3px 0 0;
  font-weight: 600;
  color: #0f172a;
}

.ib-project-public-page__notes {
  border-top: 1px solid #e2e8f0;
  padding-top: 10px;
}

.ib-project-public-page__notes strong {
  color: #0f172a;
}

.ib-project-public-page__notes p {
  margin: 6px 0 0;
  color: #334155;
}

.ib-project-public-page__empty {
  margin: 0;
  color: #64748b;
}

.ib-project-directory {
  padding-bottom: 88px;
}

.ib-project-directory__hero {
  padding: 56px 0 56px;
  background:
    radial-gradient(1000px 420px at 8% -10%, rgba(59, 130, 246, 0.22), transparent 58%),
    radial-gradient(880px 360px at 92% 0%, rgba(236, 72, 153, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(8, 13, 27, 0.98), rgba(10, 16, 30, 0.92));
}

.ib-project-directory__hero-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
}

.ib-project-directory__hero-copy {
  max-width: 760px;
  display: grid;
  gap: 14px;
}

.ib-project-directory__breadcrumb {
  background: transparent !important;
  box-shadow: none !important;
  height: auto !important;
  line-height: 1.1 !important;
  width: auto;
  display: block;
  padding: 0;
  margin: 0;
}

.ib-project-directory__breadcrumb ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
}

.ib-project-directory__breadcrumb li {
  display: inline-flex;
  align-items: center;
  color: rgba(226, 232, 240, 0.95);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  min-height: 20px;
}

.ib-project-directory__breadcrumb li + li::before {
  content: '›';
  margin-right: 8px;
  color: rgba(148, 163, 184, 0.9);
}

.ib-project-directory__breadcrumb a {
  color: rgba(226, 232, 240, 0.88);
  text-decoration: none;
}

.ib-project-directory__breadcrumb a:hover,
.ib-project-directory__breadcrumb a:focus-visible {
  color: #f8fafc;
  text-decoration: underline;
}

.ib-project-directory__breadcrumb span[aria-current='page'] {
  color: #f8fafc;
}

.ib-project-directory__kicker {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.5);
  background: rgba(234, 179, 8, 0.12);
  color: #fde68a;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 6px 12px;
}

.ib-project-directory__hero-copy h1 {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: bold;
}

.ib-project-directory__hero-copy p {
  margin: 0;
  color: rgba(226, 232, 240, 0.82);
  font-size: 1.04rem;
  line-height: 1.72;
  max-width: 760px;
}

.ib-project-directory__hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.ib-project-directory__hero-cta--brand {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(129, 140, 248, 0.4);
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.78), rgba(79, 70, 229, 0.26) 56%, rgba(190, 24, 93, 0.16));
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 10px 12px;
  max-width: 720px;
}

.ib-project-directory__hero-cta-copy {
  display: grid;
  gap: 4px;
}

.ib-project-directory__hero-cta-copy strong {
  color: #eef2ff;
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 800;
  white-space: nowrap;
}

.ib-project-directory__hero-cta--brand .ib-btn {
  text-transform: none !important;
  min-width: 0;
  min-height: 40px;
  padding: 8px 14px;
  font-size: 0.86rem;
  white-space: nowrap;
  border-color: rgba(196, 181, 253, 0.42);
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.38), rgba(99, 102, 241, 0.44));
  color: #eef2ff;
}

.ib-project-directory__hero-cta--brand .ib-btn:hover,
.ib-project-directory__hero-cta--brand .ib-btn:focus-visible {
  border-color: rgba(224, 231, 255, 0.62);
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.44), rgba(49, 46, 129, 0.5));
  color: #ffffff;
}

.ib-project-directory__hero-metrics {
  min-width: 290px;
  display: grid;
  gap: 10px;
}

.ib-project-directory__hero-metrics > div {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.62), rgba(15, 23, 42, 0.38));
  padding: 10px 12px;
  display: grid;
  gap: 2px;
}

.ib-project-directory__hero-metrics strong {
  color: #f8fafc;
  font-size: 1.22rem;
  line-height: 1.1;
}

.ib-project-directory__hero-metrics span {
  color: rgba(226, 232, 240, 0.8);
  font-size: 0.8rem;
}

.ib-project-directory__layout {
  padding: 20px 0 0;
}

.ib-project-directory__sidebar {
  top: 86px;
}

.ib-project-directory__sidebar-intro {
  margin: 4px 0 16px;
  color: rgba(148, 163, 184, 0.9);
  font-size: 0.9rem;
  line-height: 1.6;
}

.ib-project-directory__results {
  display: grid;
  gap: 18px;
}

.ib-project-directory__results-head p {
  margin: 0;
  color: rgba(148, 163, 184, 0.9);
  font-size: 0.95rem;
}

.ib-project-directory__stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.ib-project-list-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background:
    linear-gradient(180deg, rgba(14, 20, 36, 0.96), rgba(9, 14, 26, 0.92));
  box-shadow: 0 20px 44px rgba(2, 6, 23, 0.28);
}

.ib-project-list-card.is-reveal-ready {
  animation: ibProjectCardReveal 0.5s cubic-bezier(0.2, 0.8, 0.25, 1) both;
  animation-delay: var(--ib-reveal-delay, 0ms);
}

@keyframes ibProjectCardReveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ib-project-list-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  position: relative;
}

.ib-project-list-card__score-badge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  min-width: 84px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(140deg, rgba(249, 115, 22, 0.92), rgba(236, 72, 153, 0.88) 55%, rgba(14, 165, 233, 0.9));
  box-shadow: 0 12px 24px rgba(14, 116, 144, 0.24);
  padding: 8px 9px;
  display: grid;
  justify-items: end;
  line-height: 1;
  gap: 4px;
}

.ib-project-list-card__score-badge strong {
  color: #ffffff;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.ib-project-list-card__score-badge span {
  color: rgba(255, 255, 255, 0.92);
  text-transform: uppercase;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.ib-brand-showcase,
.ib-project-showcase {
  position: relative;
  overflow: hidden;
}

.ib-brand-showcase::before,
.ib-project-showcase::before {
  content: '';
  position: absolute;
  inset: 12% auto auto 6%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 77, 109, 0.18), rgba(255, 77, 109, 0));
  pointer-events: none;
}

.ib-brand-showcase::after,
.ib-project-showcase::after {
  content: '';
  position: absolute;
  inset: auto 4% 10% auto;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.16), rgba(124, 58, 237, 0));
  pointer-events: none;
}

.ib-brand-showcase .container,
.ib-project-showcase .container {
  position: relative;
  z-index: 1;
}

.ib-brand-showcase__grid,
.ib-project-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ib-brand-showcase__card,
.ib-project-showcase__card {
  min-height: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(18, 26, 48, 0.95), rgba(12, 18, 34, 0.94)),
    linear-gradient(135deg, rgba(255, 77, 109, 0.18), rgba(124, 58, 237, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 48px rgba(6, 10, 23, 0.34);
}

.ib-brand-showcase__media,
.ib-project-showcase__media {
  position: relative;
  min-height: 156px;
  padding: 20px;
  background:
    radial-gradient(circle at top left, rgba(255, 123, 0, 0.28), rgba(255, 123, 0, 0)),
    linear-gradient(135deg, rgba(24, 32, 56, 0.98), rgba(14, 20, 38, 0.94));
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.ib-brand-showcase__media-overlay,
.ib-project-showcase__media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 22, 0.1), rgba(7, 11, 22, 0.82));
}

.ib-brand-showcase__media-top,
.ib-project-showcase__media-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.ib-brand-showcase__identity-badge,
.ib-project-showcase__identity-badge {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 32px rgba(8, 13, 26, 0.26);
}

.ib-brand-showcase__logo,
.ib-project-showcase__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.ib-brand-showcase__monogram,
.ib-project-showcase__monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #111827;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ib-brand-showcase__status,
.ib-project-showcase__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(7, 11, 22, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f8fafc;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.ib-brand-showcase__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  flex: 1;
}

.ib-brand-showcase__headline {
  display: grid;
  gap: 8px;
}

.ib-brand-showcase__segment,
.ib-project-showcase__brand {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ib-brand-showcase__name,
.ib-project-showcase__project-title {
  margin: 0;
  font-size: 1.32rem;
  line-height: 1.2;
}

.ib-project-showcase__top,
.ib-project-showcase__chips,
.ib-project-showcase__summary,
.ib-project-showcase__actions {
  padding-left: 24px;
  padding-right: 24px;
}

.ib-project-showcase__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
}

.ib-brand-showcase__chips,
.ib-project-showcase__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ib-project-showcase__chips,
.ib-project-showcase__summary {
  padding-top: 16px;
}

.ib-brand-showcase__chip,
.ib-project-showcase__chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(234, 241, 255, 0.9);
  font-size: 0.84rem;
  line-height: 1.3;
}

.ib-brand-showcase__chip--accent,
.ib-project-showcase__chip--accent {
  background: rgba(255, 77, 109, 0.12);
  border-color: rgba(255, 77, 109, 0.28);
  color: #ffd7df;
}

.ib-brand-showcase__context,
.ib-project-showcase__summary {
  margin: 0;
  color: rgba(226, 232, 240, 0.86);
  font-size: 0.98rem;
  line-height: 1.7;
  flex: 1;
}

.ib-project-showcase__summary {
  padding-bottom: 24px;
}

.ib-brand-showcase__actions,
.ib-brand-showcase__footer,
.ib-project-showcase__actions,
.ib-project-showcase__footer {
  margin-top: auto;
}

.ib-brand-showcase__cta,
.ib-project-showcase__cta {
  width: 100%;
}

@media (max-width: 1080px) {
  .ib-brand-showcase__grid,
  .ib-project-showcase__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ib-brand-showcase__grid,
  .ib-project-showcase__grid {
    grid-template-columns: 1fr;
  }

  .ib-brand-showcase__media-top,
  .ib-project-showcase__media-top,
  .ib-project-showcase__top {
    flex-direction: column;
  }

  .ib-brand-showcase__status,
  .ib-project-showcase__status {
    align-self: flex-start;
  }

  .ib-brand-showcase__card,
  .ib-brand-showcase__cta,
  .ib-project-showcase__card,
  .ib-project-showcase__cta {
    width: 100%;
  }
}

.ib-project-list-card__headline {
  padding-right: 106px;
}

.ib-project-list-card__headline {
  display: grid;
  gap: 12px;
  width: 100%;
}

.ib-project-list-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(148, 163, 184, 0.92);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.ib-project-list-card h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.08;
}

.ib-project-list-card h2 a {
  color: #f8fafc;
  text-decoration: none;
}

.ib-project-list-card h2 a:hover,
.ib-project-list-card h2 a:focus-visible {
  color: #c4b5fd;
}

.ib-project-list-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ib-project-list-card__summary {
  margin: 0;
  color: rgba(226, 232, 240, 0.78);
  font-size: 0.98rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ib-project-list-card__meta {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ib-project-list-card__meta > div {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(71, 85, 105, 0.36);
  background: rgba(15, 23, 42, 0.58);
}

.ib-project-list-card__meta dt {
  margin: 0;
  color: rgba(148, 163, 184, 0.86);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.ib-project-list-card__meta dd {
  margin: 6px 0 0;
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.ib-project-list-card__meta-link {
  color: #f8fafc;
  text-decoration: none;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.5);
}

.ib-project-list-card__meta-link:hover,
.ib-project-list-card__meta-link:focus-visible {
  color: #fdba74;
  border-bottom-color: rgba(251, 146, 60, 0.8);
}

.ib-project-list-card__taxonomy {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ib-project-list-card__taxonomy .creator-chip {
  text-decoration: none;
}

.ib-project-list-card__taxonomy .creator-chip:hover,
.ib-project-list-card__taxonomy .creator-chip:focus-visible {
  border-color: rgba(56, 189, 248, 0.45);
  color: #e2e8f0;
}

.ib-project-list-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.ib-project-list-card__actions form {
  margin: 0;
}

.ib-project-list-card__actions .ib-btn {
  min-height: 46px;
  padding: 0 18px;
}

.ib-btn--project-view {
  border-color: rgba(148, 163, 184, 0.48);
  color: #dbeafe;
}

.ib-btn--project-view:hover,
.ib-btn--project-view:focus-visible {
  border-color: rgba(56, 189, 248, 0.8);
  color: #f8fafc;
  background: rgba(14, 116, 144, 0.18);
}

.ib-project-list-card {
  gap: 20px;
  padding: 26px 28px;
  border-color: rgba(148, 163, 184, 0.2);
  background:
    radial-gradient(680px 260px at 100% 0%, rgba(59, 130, 246, 0.08), transparent 58%),
    linear-gradient(180deg, rgba(14, 20, 36, 0.98), rgba(9, 14, 26, 0.94));
}

.ib-project-list-card__top {
  gap: 16px;
}

.ib-project-list-card__headline {
  display: grid;
  gap: 14px;
  width: 100%;
  padding-right: 0;
}

.ib-project-list-card__eyebrow {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.ib-project-list-card__brand {
  color: rgba(226, 232, 240, 0.95);
}

.ib-project-list-card__context {
  margin: -4px 0 0;
  color: rgba(148, 163, 184, 0.9);
  font-size: 0.92rem;
  line-height: 1.55;
}

.ib-project-list-card__state {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ib-project-list-card__state-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.24);
  background: rgba(74, 222, 128, 0.12);
  color: #bbf7d0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ib-project-list-card__state-chip--soft {
  border-color: rgba(96, 165, 250, 0.24);
  background: rgba(96, 165, 250, 0.12);
  color: #bfdbfe;
}

.ib-project-list-card h2 {
  font-size: clamp(1.38rem, 2vw, 1.95rem);
  line-height: 1.12;
}

.ib-project-list-card__score-badge {
  position: static;
  min-width: auto;
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.26);
  background: rgba(59, 130, 246, 0.12);
  box-shadow: none;
  gap: 5px;
  justify-items: start;
}

.ib-project-list-card__score-badge strong {
  font-size: 0.92rem;
  letter-spacing: 0;
}

.ib-project-list-card__score-badge span {
  font-size: 0.63rem;
  letter-spacing: 0.08em;
}

.ib-project-list-card__summary {
  color: rgba(226, 232, 240, 0.82);
  font-size: 0.97rem;
  line-height: 1.72;
}

.ib-project-list-card__meta {
  gap: 14px;
}

.ib-project-list-card__meta > div {
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 16px;
}

.ib-project-list-card__taxonomy {
  gap: 10px;
}

.ib-project-list-card__taxonomy .creator-chip {
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.62);
  color: rgba(226, 232, 240, 0.88);
}

.ib-project-list-card__taxonomy .creator-chip:hover,
.ib-project-list-card__taxonomy .creator-chip:focus-visible {
  background: rgba(30, 41, 59, 0.82);
}

.creator-chip--static {
  cursor: default;
  pointer-events: none;
}

.ib-project-list-card__actions {
  padding-top: 4px;
  border-top: 1px solid rgba(71, 85, 105, 0.28);
  justify-content: flex-start;
}

.ib-project-list-card__actions form {
  display: inline-flex;
}

.ib-btn--project-view-primary {
  min-width: 190px;
}

.ib-btn--project-apply-secondary {
  border-color: rgba(148, 163, 184, 0.46);
  color: #dbeafe;
}

.ib-btn--project-apply-secondary:hover,
.ib-btn--project-apply-secondary:focus-visible {
  border-color: rgba(56, 189, 248, 0.72);
  color: #f8fafc;
  background: rgba(14, 116, 144, 0.16);
}

.ib-project-directory__pagination {
  justify-content: flex-start;
}

.ib-project-directory__mid-cta {
  margin: 2px 0 6px;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
}

.ib-project-directory__mid-cta-copy {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.ib-project-directory__mid-cta .ib-project-public-cta__actions {
  justify-content: center;
  width: 100%;
}

.ib-project-directory__facet-sitemap {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.ib-project-directory__facet-group {
  display: grid;
  gap: 8px;
}

.ib-project-directory__facet-group h3 {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.95);
}

.ib-project-directory__facet-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ib-project-directory__facet-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(71, 85, 105, 0.6);
  background: rgba(15, 23, 42, 0.66);
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.79rem;
  text-decoration: none;
  transition: all 0.18s ease;
}

.ib-project-directory__facet-link:hover,
.ib-project-directory__facet-link:focus-visible,
.ib-project-directory__facet-link.is-active {
  border-color: rgba(56, 189, 248, 0.75);
  color: #f8fafc;
  background: rgba(14, 116, 144, 0.34);
}

.ib-public-projects-pagination__edge {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.38);
  background: rgba(15, 23, 42, 0.54);
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.ib-public-projects-pagination__edge:hover,
.ib-public-projects-pagination__edge:focus-visible {
  border-color: rgba(251, 146, 60, 0.72);
  color: #fff7ed;
}

@media (max-width: 760px) {
  .ib-project-directory__hero-wrap,
  .ib-project-list-card__top {
    grid-template-columns: 1fr;
    display: grid;
  }

  .ib-project-directory__hero-metrics {
    min-width: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ib-project-directory__hero-copy h1 {
    font-size: 2rem;
  }

  .ib-project-directory__hero-cta--brand {
    max-width: none;
    flex-wrap: wrap;
  }

  .ib-project-directory__hero-cta--brand .ib-btn {
    width: auto;
  }

  .ib-project-directory__hero-cta-copy strong {
    white-space: normal;
  }

  .ib-project-list-card__score-badge {
    top: 4px;
    right: 4px;
    min-width: 76px;
    padding: 7px 8px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(14, 116, 144, 0.2);
  }

  .ib-project-list-card__score-badge strong {
    font-size: 1.03rem;
  }

  .ib-project-list-card__headline {
    padding-right: 92px;
  }
}

/* ========================================
   PROJECT PUBLIC PREMIUM PAGE
   ======================================== */

.ib-project-public-premium {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Hero Premium */
.ib-project-hero {
  position: relative;
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.94) 0%, rgba(30, 41, 59, 0.94) 100%);
  border-radius: var(--ib-radius-lg);
  padding: 56px 44px 52px;
  overflow: hidden;
  box-shadow:
    0 24px 64px rgba(8, 6, 20, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  animation: heroReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 28px !important;
}

.ib-project-hero--brand {
  background: linear-gradient(145deg, rgba(16, 24, 39, 0.95) 0%, rgba(22, 34, 58, 0.95) 100%);
  box-shadow:
    0 24px 64px rgba(8, 6, 20, 0.44),
    0 0 0 1px rgba(255, 255, 255, 0.09) inset;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ib-project-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(131, 58, 180, 0.18), transparent 50%),
    radial-gradient(1000px 500px at 80% 110%, rgba(225, 48, 108, 0.15), transparent 50%),
    radial-gradient(800px 400px at 50% 50%, rgba(124, 58, 237, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.ib-project-hero--brand .ib-project-hero__bg {
  background:
    radial-gradient(1200px 560px at 16% -8%, rgba(56, 189, 248, 0.14), transparent 50%),
    radial-gradient(980px 520px at 82% 112%, rgba(59, 130, 246, 0.1), transparent 48%),
    radial-gradient(840px 420px at 50% 40%, rgba(148, 163, 184, 0.08), transparent 62%);
}

.ib-project-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ib-project-public-breadcrumb {
  margin-bottom: -2px;
}

.ib-project-public-breadcrumb ol {
  gap: 8px;
}

.ib-project-public-breadcrumb li {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.66), rgba(15, 23, 42, 0.44));
  color: rgba(226, 232, 240, 0.86);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ib-project-public-breadcrumb li + li::before {
  content: '›';
  margin-right: 8px;
  color: rgba(148, 163, 184, 0.92);
}

.ib-project-public-breadcrumb a,
.ib-project-public-breadcrumb span[aria-current='page'] {
  color: rgba(226, 232, 240, 0.9);
}

.ib-project-public-breadcrumb span[aria-current='page'] {
  color: #f8fafc;
}

.ib-project-directory__breadcrumb ol {
  gap: 0;
}

.ib-project-directory__breadcrumb li {
  min-height: 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.ib-project-directory__breadcrumb li + li::before {
  content: '/';
  margin: 0 10px;
  color: rgba(148, 163, 184, 0.92);
}

.ib-project-hero__eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(248, 250, 252, 0.96);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.ib-project-hero__title {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.ib-project-hero__subtitle {
  margin: -2px 0 0;
  max-width: 860px;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.5;
  color: rgba(248, 250, 252, 0.96);
  font-weight: 700;
}

.ib-project-hero__intro {
  margin: -6px 0 0;
  max-width: 880px;
  font-size: 15px;
  line-height: 1.74;
  color: rgba(226, 232, 240, 0.86);
}

/* Badge Groups */
.ib-project-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
}

.ib-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ib-badge-group--primary {
  padding: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ib-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ib-badge:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.ib-badge-icon {
  flex-shrink: 0;
}

.ib-badge--status {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(5, 150, 105, 0.25));
  border-color: rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.ib-badge--visibility {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(37, 99, 235, 0.25));
  border-color: rgba(59, 130, 246, 0.4);
  color: #93c5fd;
}

.ib-badge--fit {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(245, 158, 11, 0.3));
  border-color: rgba(251, 191, 36, 0.5);
  color: #fde68a;
  font-weight: 800;
  padding: 8px 18px;
}

.ib-badge--budget {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(219, 39, 119, 0.25));
  border-color: rgba(236, 72, 153, 0.4);
  color: #fbcfe8;
}

.ib-badge--slots {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(109, 40, 217, 0.25));
  border-color: rgba(124, 58, 237, 0.4);
  color: #e9d5ff;
}

.ib-badge--category,
.ib-badge--platform,
.ib-badge--format,
.ib-badge--language {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.95);
}

.ib-badge--link {
  text-decoration: none;
}

.ib-badge--link:hover,
.ib-badge--link:focus-visible {
  border-color: rgba(96, 165, 250, 0.56);
  background: rgba(59, 130, 246, 0.22);
  color: #ffffff;
}

/* Hero Actions */
.ib-project-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.ib-project-hero__unlock {
  margin-top: 4px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(129, 140, 248, 0.28);
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.72), rgba(79, 70, 229, 0.22));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}

.ib-project-hero__unlock h2 {
  margin: 0 0 4px;
  font-size: 1rem;
  line-height: 1.35;
  color: #f8fafc;
  font-weight: 800;
}

.ib-project-hero__unlock p {
  margin: 0;
  max-width: 760px;
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.9rem;
  line-height: 1.6;
}

.ib-project-hero__unlock .ib-btn {
  min-width: 220px;
  text-transform: none !important;
}

.ib-project-hero__unlock-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(196, 181, 253, 0.46);
  background: rgba(99, 102, 241, 0.2);
  color: #e9d5ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ib-project-hero__unlock--brand {
  border-color: rgba(129, 140, 248, 0.4);
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.78), rgba(79, 70, 229, 0.28) 56%, rgba(190, 24, 93, 0.18));
  padding: 12px 16px;
  gap: 10px;
}

.ib-project-hero__unlock--brand h2 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.32;
}

.ib-project-hero__unlock--brand .ib-btn {
  min-width: 0;
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.9rem;
  border-color: rgba(196, 181, 253, 0.42);
  background: linear-gradient(180deg, rgba(67, 56, 202, 0.3), rgba(49, 46, 129, 0.36));
  color: #eef2ff;
}

.ib-project-hero__form {
  margin: 0;
}

.ib-project-context-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 30px 32px;
  border-radius: var(--ib-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, #121a30 0%, #17203b 100%);
  box-shadow:
    0 18px 42px rgba(8, 6, 20, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
}

.ib-project-context-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 280px at -10% 0%, rgba(252, 175, 69, 0.16), transparent 55%),
    radial-gradient(700px 320px at 100% 100%, rgba(131, 58, 180, 0.16), transparent 55%);
  pointer-events: none;
}

.ib-project-context-card--creator::before {
  background:
    radial-gradient(720px 260px at -10% 0%, rgba(59, 130, 246, 0.18), transparent 55%),
    radial-gradient(680px 300px at 100% 100%, rgba(131, 58, 180, 0.18), transparent 55%);
}

.ib-project-context-card__copy,
.ib-project-context-card__actions {
  position: relative;
  z-index: 1;
}

.ib-project-context-card__copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ib-project-context-card__title {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.ib-project-context-card__text {
  margin: 0;
  max-width: 760px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.ib-project-context-card__text--creator {
  max-width: none;
  font-weight: 700;
  color: #ffffff;
}

.ib-project-context-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  align-items: center;
}

.ib-project-context-card__form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ib-project-public-cta {
  margin-top: 0;
  margin-bottom: 0 !important;
  padding: 28px 24px;
  gap: 12px;
}

.ib-project-public-cta h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.1vw, 2.1rem);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  position: relative;
  z-index: 1;
}

.ib-project-public-cta p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 1rem;
  line-height: 1.65;
}

.ib-project-hero + .ib-project-public-cta {
  margin-top: 6px;
}

.ib-project-public-cta__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.ib-project-public-cta__actions .ib-project-hero__form {
  margin: 0;
}

.ib-project-public-cta__actions .ib-btn {
  min-width: 220px;
}

.ib-project-public-cta__support {
  margin: -2px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.ib-project-public-cta__kicker {
  margin: 0;
  display: inline-flex;
  align-self: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(196, 181, 253, 0.46);
  background: rgba(99, 102, 241, 0.18);
  color: #ede9fe;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ib-project-public-cta--brand-capture {
  border-color: rgba(167, 139, 250, 0.44);
  background: linear-gradient(135deg,
    rgba(55, 48, 163, 0.56) 0%,
    rgba(79, 70, 229, 0.4) 35%,
    rgba(147, 51, 234, 0.28) 72%,
    rgba(225, 29, 72, 0.24) 100%
  );
  box-shadow: 0 16px 36px rgba(49, 46, 129, 0.34), inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.ib-project-public-cta--brand-capture::before {
  background: radial-gradient(circle at 50% 50%, rgba(224, 231, 255, 0.3), transparent 58%);
}

.ib-project-public-materials__grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.ib-project-public-materials .ib-project-attachment-card {
  min-height: 100%;
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(17, 24, 39, 0.92));
  box-shadow: 0 16px 34px rgba(8, 6, 20, 0.28);
  border-radius: 16px;
}

.ib-project-public-materials .ib-project-attachment-card__media.ib-media-card {
  background: rgba(255, 255, 255, 0.05);
}

.ib-project-public-materials .ib-project-attachment-card__media .ib-media-card__thumb img,
.ib-project-public-materials .ib-project-attachment-card__media .ib-media-card__thumb video {
  background: #0f172a;
}

.ib-project-public-materials .ib-project-attachment-card__meta {
  gap: 4px;
  padding: 12px 14px 0;
}

.ib-project-public-materials .ib-project-attachment-card__name,
.ib-project-public-materials .ib-project-attachment-card__doc-name {
  color: #f8fafc;
}

.ib-project-public-materials .ib-project-attachment-card__size,
.ib-project-public-materials .ib-project-attachment-card__doc-meta {
  color: rgba(226, 232, 240, 0.72);
}

.ib-project-public-materials .ib-project-attachment-card__doc {
  min-height: 156px;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.82), rgba(15, 23, 42, 0.92));
  color: #f8fafc;
}

.ib-project-public-materials .ib-project-attachment-card__doc-icon {
  background: rgba(96, 165, 250, 0.18);
  color: #bfdbfe;
}

.ib-project-attachment-card__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 12px 14px 14px;
}

.ib-project-attachment-card__open {
  min-width: 112px;
}

.ib-project-public-materials__teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 0;
}

@media (max-width: 1024px) {
  .ib-project-public-materials__teaser-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ib-project-public-materials__teaser-item:nth-child(n + 3) {
    display: none;
  }
}

.ib-project-attachment-card--teaser {
  pointer-events: none;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.72), rgba(15, 23, 42, 0.7));
  box-shadow: none;
}

.ib-project-public-materials__teaser-media {
  height: 98px;
  background:
    linear-gradient(180deg, rgba(100, 116, 139, 0.34), rgba(71, 85, 105, 0.22)),
    linear-gradient(135deg, rgba(148, 163, 184, 0.14), rgba(100, 116, 139, 0.08));
}

.ib-project-public-materials__teaser-meta {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.ib-project-public-materials__teaser-meta span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.28);
}

.ib-project-public-materials__teaser-meta span:first-child {
  width: 72%;
}

.ib-project-public-materials__teaser-meta span:last-child {
  width: 44%;
}

.ib-project-public-materials__teaser-wrap {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.ib-project-public-materials__teaser-grid--top {
  margin-bottom: 6px;
}

.ib-project-public-materials__teaser-grid--bottom {
  margin-top: 6px;
}

.ib-project-public-materials__gate {
  margin-top: 20px;
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid rgba(129, 140, 248, 0.28);
  background: linear-gradient(145deg, rgba(39, 24, 62, 0.88), rgba(101, 45, 145, 0.3) 45%, rgba(15, 23, 42, 0.9));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ib-project-public-materials__gate--floating {
  margin: -80px auto;
  max-width: 860px;
  width: min(92%, 860px);
  position: relative;
  z-index: 2;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.38);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ib-project-public-materials__gate--floating .ib-btn--hero-primary{
  text-transform: none !important;
}

.ib-project-public-materials__gate-title {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 800;
}

.ib-project-public-materials__gate p {
  margin: 0;
  max-width: 720px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(241, 245, 249, 0.9);
}

.ib-project-public-materials__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.ib-project-public-materials .ib-project-attachment-card--public {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.ib-project-public-materials .ib-project-attachment-card--interactive {
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ib-project-public-materials .ib-project-attachment-card--interactive:hover,
.ib-project-public-materials .ib-project-attachment-card--interactive:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.38);
  box-shadow: 0 22px 40px rgba(8, 6, 20, 0.34);
  outline: none;
}

.ib-project-public-materials .ib-project-attachment-card__media {
  min-height: 0;
}

.ib-project-public-materials .ib-project-attachment-card__media.ib-media-card {
  line-height: 0;
}

.ib-project-public-materials .ib-project-attachment-card__media .ib-media-card__thumb {
  min-height: 0;
  max-height: none;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #0f172a;
}

.ib-project-public-materials .ib-project-attachment-card__media .ib-media-card__thumb img,
.ib-project-public-materials .ib-project-attachment-card__media .ib-media-card__thumb video,
.ib-project-public-materials .ib-project-attachment-card__media .ib-media-card__thumb .ib-media-card__poster {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ib-project-public-materials .ib-project-attachment-card__meta {
  padding: 12px 14px 14px;
}

.ib-project-public-materials .ib-project-attachment-card__name {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
}

.ib-project-public-materials .ib-project-attachment-card__size,
.ib-project-public-materials .ib-project-attachment-card__doc-meta {
  font-size: 0.72rem;
}

.ib-project-public-materials .ib-project-attachment-card__doc {
  min-height: 0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 14px;
  background:
    linear-gradient(180deg, rgba(30, 41, 59, 0.82), rgba(15, 23, 42, 0.92)),
    linear-gradient(135deg, rgba(96, 165, 250, 0.12), rgba(59, 130, 246, 0.06));
}

.ib-project-public-materials .ib-project-attachment-card__doc-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.ib-project-public-materials .ib-project-attachment-card__doc-name {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
}

.ib-project-public-materials .ib-project-attachment-card__doc-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
}

.ib-project-public-materials__teaser-grid {
  margin-top: 0;
  align-items: stretch;
}

.ib-project-attachment-card--teaser,
.ib-project-public-materials__unlock-card {
  min-height: 0;
}

.ib-project-attachment-card--teaser {
  display: flex;
  flex-direction: column;
  border-color: rgba(148, 163, 184, 0.22);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.72), rgba(15, 23, 42, 0.7));
  box-shadow: none;
}

.ib-project-public-materials__teaser-media {
  height: 98px;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}

.ib-project-public-materials__teaser-media::before,
.ib-project-public-materials__teaser-media::after {
  content: '';
  position: absolute;
  inset: 0;
}

.ib-project-public-materials__teaser-media::before {
  background:
    linear-gradient(180deg, rgba(100, 116, 139, 0.34), rgba(71, 85, 105, 0.22)),
    linear-gradient(135deg, rgba(148, 163, 184, 0.14), rgba(100, 116, 139, 0.08));
}

.ib-project-public-materials__teaser-media::after {
  inset: 14px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 70%),
    repeating-linear-gradient(180deg, rgba(148, 163, 184, 0.2), rgba(148, 163, 184, 0.2) 8px, transparent 8px, transparent 18px);
  opacity: 0.4;
}

.ib-project-public-materials__teaser-meta span:nth-child(2) {
  width: 58%;
}

.ib-project-public-materials__teaser-meta span:nth-child(3) {
  width: 34%;
}

.ib-project-public-materials__unlock-card {
  display: none;
}

.ib-project-public-materials__unlock-card--copy {
  text-align: left;
}

.ib-project-public-materials__unlock-card--action {
  align-items: center;
  text-align: center;
}

.ib-project-public-materials__gate-title {
  margin: 0;
  font-size: 1.06rem;
}

.ib-project-public-materials__unlock-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.68;
  color: rgba(241, 245, 249, 0.92);
}

.ib-project-public-materials__unlock-accent {
  width: 100%;
  display: grid;
  gap: 10px;
}

.ib-project-public-materials__unlock-accent span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.16);
}

.ib-project-public-materials__unlock-accent span:nth-child(1) {
  width: 68%;
}

.ib-project-public-materials__unlock-accent span:nth-child(2) {
  width: 84%;
}

.ib-project-public-materials__unlock-accent span:nth-child(3) {
  width: 52%;
}

.ib-project-section-gate {
  margin-top: 18px;
  border: 1px solid rgba(129, 140, 248, 0.26);
  border-radius: 16px;
  padding: 18px 20px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.82), rgba(67, 56, 202, 0.2));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.ib-project-section-gate__title {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
}

.ib-project-section-gate__text {
  margin: 0;
  max-width: 760px;
  color: rgba(226, 232, 240, 0.88);
  font-size: 0.92rem;
  line-height: 1.65;
}

.ib-project-section-gate__actions {
  display: flex;
  align-items: center;
}

@media (max-width: 760px) {
  .ib-project-public-materials__teaser-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .ib-project-public-materials__gate {
    align-items: stretch;
  }

  .ib-project-section-gate {
    align-items: stretch;
  }

  .ib-project-public-materials__gate .ib-btn,
  .ib-project-section-gate .ib-btn,
  .ib-project-attachment-card__footer .ib-btn,
  .ib-project-attachment-card__footer .ib-project-hero__form {
    width: 100%;
  }

  .ib-project-attachment-card__footer {
    padding-top: 10px;
  }
}

@media (max-width: 520px) {
  .ib-project-public-materials__teaser-grid {
    grid-template-columns: 1fr;
  }

  .ib-project-public-materials__teaser-item:nth-child(n + 2) {
    display: none;
  }

  .ib-project-public-materials__gate--floating {
    width: 100%;
    margin: 0;
  }
}

@media (max-width: 1180px) {
  .ib-project-public-materials__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .ib-project-public-materials__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ib-project-list-card__top {
    flex-direction: column;
  }

  .ib-project-list-card__eyebrow {
    align-items: flex-start;
  }

  .ib-project-list-card__score-badge {
    align-self: flex-start;
  }

  .ib-project-list-card__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ib-project-list-card__actions form,
  .ib-btn--project-view-primary,
  .ib-btn--project-apply-secondary {
    width: 100%;
  }

  .ib-project-public-materials__grid {
    grid-template-columns: 1fr;
  }

  .ib-project-public-materials__unlock-card {
    text-align: center;
    align-items: center;
  }

  .ib-project-public-materials__unlock-card .ib-btn {
    width: 100%;
  }
}

.ib-badge-group--soft {
  gap: 10px;
  margin-top: 10px !important;
}

.ib-project-copy {
  display: grid;
  gap: 16px;
}

.ib-project-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}

.ib-project-content > section[id] {
  scroll-margin-top: 112px;
}

.ib-project-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.ib-project-detail-block {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: var(--ib-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.ib-project-detail-block__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
}

.ib-project-detail-block__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ib-project-detail-block__empty {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.ib-project-rich-text {
  margin-top: 24px;
  position: relative;
  padding: 28px 28px 26px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(420px 220px at 0% 0%, rgba(251, 113, 133, 0.08), transparent 58%),
    radial-gradient(460px 260px at 100% 100%, rgba(59, 130, 246, 0.08), transparent 62%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.7));
  box-shadow:
    0 18px 36px rgba(2, 6, 23, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.ib-project-rich-text::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fb7185 0%, #a855f7 52%, #38bdf8 100%);
  opacity: 0.88;
}

.ib-project-rich-text__title {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(191, 219, 254, 0.84);
}

.ib-project-rich-text.ck-content,
.ib-project-card__body .ck-content {
  color: rgba(241, 245, 249, 0.94);
  font-size: 16px;
  line-height: 1.88;
  text-wrap: pretty;
}

.ib-project-rich-text.ck-content > *:first-child,
.ib-project-card__body .ck-content > *:first-child {
  margin-top: 0;
}

.ib-project-rich-text.ck-content > *:last-child,
.ib-project-card__body .ck-content > *:last-child {
  margin-bottom: 0;
}

.ib-project-rich-text.ck-content p,
.ib-project-card__body .ck-content p {
  margin: 0 0 1.05em;
  color: rgba(226, 232, 240, 0.92);
}

.ib-project-rich-text.ck-content strong,
.ib-project-card__body .ck-content strong {
  color: #ffffff;
  font-weight: 800;
}

.ib-project-rich-text.ck-content em,
.ib-project-card__body .ck-content em {
  color: rgba(254, 240, 138, 0.94);
}

.ib-project-rich-text.ck-content u,
.ib-project-card__body .ck-content u {
  text-decoration-color: rgba(56, 189, 248, 0.86);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.ib-project-rich-text.ck-content h1,
.ib-project-rich-text.ck-content h2,
.ib-project-rich-text.ck-content h3,
.ib-project-rich-text.ck-content h4,
.ib-project-card__body .ck-content h1,
.ib-project-card__body .ck-content h2,
.ib-project-card__body .ck-content h3,
.ib-project-card__body .ck-content h4 {
  margin: 1.3em 0 0.55em;
  color: #ffffff;
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.ib-project-rich-text.ck-content h1,
.ib-project-card__body .ck-content h1 {
  font-size: clamp(1.85rem, 2.5vw, 2.3rem);
}

.ib-project-rich-text.ck-content h2,
.ib-project-card__body .ck-content h2 {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
}

.ib-project-rich-text.ck-content h3,
.ib-project-card__body .ck-content h3 {
  font-size: clamp(1.14rem, 1.4vw, 1.3rem);
}

.ib-project-rich-text.ck-content h4,
.ib-project-card__body .ck-content h4 {
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: rgba(191, 219, 254, 0.94);
}

.ib-project-rich-text.ck-content ul,
.ib-project-rich-text.ck-content ol,
.ib-project-card__body .ck-content ul,
.ib-project-card__body .ck-content ol {
  display: block;
  margin: 1.1em 0 1.3em;
  padding-left: 0;
  list-style: none;
}

.ib-project-rich-text.ck-content ul,
.ib-project-card__body .ck-content ul {
  list-style: none;
}

.ib-project-rich-text.ck-content ol,
.ib-project-card__body .ck-content ol {
  list-style: none;
  counter-reset: ib-public-rich-ol;
}

.ib-project-rich-text.ck-content li,
.ib-project-card__body .ck-content li {
  display: list-item;
  position: relative;
  margin: 0 0 0.58em;
  padding: 0.04rem 0 0.04rem 1.9rem;
  color: rgba(226, 232, 240, 0.92);
}

.ib-project-rich-text.ck-content ul > li::before,
.ib-project-card__body .ck-content ul > li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0.28rem;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: radial-gradient(circle at 34% 30%, #fda4af 0%, #f472b6 45%, #38bdf8 100%);
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.14);
}

.ib-project-rich-text.ck-content ol > li,
.ib-project-card__body .ck-content ol > li {
  counter-increment: ib-public-rich-ol;
}

.ib-project-rich-text.ck-content ol > li::before,
.ib-project-card__body .ck-content ol > li::before {
  content: counter(ib-public-rich-ol);
  position: absolute;
  top: 0.24em;
  left: 0;
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 0.26rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.9), rgba(59, 130, 246, 0.94));
  color: #031124;
  font-size: 0.76rem;
  font-weight: 800;
}

.ib-project-rich-text.ck-content blockquote,
.ib-project-card__body .ck-content blockquote {
  margin: 1.4em 0;
  padding: 18px 20px 18px 24px;
  border-left: 4px solid rgba(96, 165, 250, 0.9);
  border-radius: 0 18px 18px 0;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(30, 64, 175, 0.16));
  color: #e0f2fe;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ib-project-rich-text.ck-content table,
.ib-project-card__body .ck-content table {
  width: 100%;
  margin: 1.3em 0;
  border-collapse: collapse;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.5);
}

.ib-project-rich-text.ck-content th,
.ib-project-rich-text.ck-content td,
.ib-project-card__body .ck-content th,
.ib-project-card__body .ck-content td {
  padding: 14px 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  text-align: left;
}

.ib-project-rich-text.ck-content th,
.ib-project-card__body .ck-content th {
  background: rgba(30, 41, 59, 0.82);
  color: #f8fafc;
  font-weight: 800;
}

.ib-project-rich-text.ck-content a,
.ib-project-card__body .ck-content a {
  color: #7dd3fc;
  font-weight: 700;
  text-decoration-color: rgba(125, 211, 252, 0.54);
  text-underline-offset: 0.18em;
}

.ib-project-rich-text--overview {
  margin-top: 0;
}

.ib-project-rich-text--public-briefing {
  background:
    radial-gradient(380px 220px at 0% 0%, rgba(251, 113, 133, 0.11), transparent 58%),
    radial-gradient(420px 260px at 100% 100%, rgba(56, 189, 248, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.76));
}

.ib-project-rich-text--public-briefing h2,
.ib-project-rich-text--public-briefing h3,
.ib-project-rich-text--public-briefing h4 {
  position: relative;
  padding-bottom: 0.34em;
}

.ib-project-rich-text--public-briefing h2::after,
.ib-project-rich-text--public-briefing h3::after,
.ib-project-rich-text--public-briefing h4::after {
  content: "";
  display: block;
  width: 72px;
  max-width: 38%;
  height: 3px;
  margin-top: 0.42em;
  border-radius: 999px;
  background: linear-gradient(90deg, #fb7185, rgba(125, 211, 252, 0.88));
}

.ib-project-rich-text--brand-observations {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.68));
}

.ib-project-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.ib-project-highlight-item {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: var(--ib-radius-sm);
  background: linear-gradient(145deg, rgba(131, 58, 180, 0.16), rgba(225, 48, 108, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ib-project-highlight-item__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
}

.ib-project-highlight-item__value {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.5;
}

.ib-project-how-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

@media (max-width: 760px) {
  .ib-project-how-steps {
    grid-template-columns: 1fr;
  }
}

.ib-project-how-step {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(220px 120px at 0% 0%, rgba(129, 140, 248, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.ib-project-how-step__title {
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 800;
}

.ib-project-how-step__text {
  margin: 0;
  color: rgba(226, 232, 240, 0.82);
  font-size: 0.92rem;
  line-height: 1.7;
}

.ib-project-faq__intro {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.84);
}

.ib-project-faq__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ib-project-faq__column {
  display: grid;
  gap: 18px;
}

.ib-project-faq__item {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-radius: var(--ib-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ib-project-faq__item:hover {
  transform: translateY(-2px);
  border-color: rgba(129, 140, 248, 0.4);
  background: linear-gradient(180deg, rgba(129, 140, 248, 0.12), rgba(129, 140, 248, 0.06));
  box-shadow: 0 12px 22px rgba(30, 64, 175, 0.18);
}

.ib-project-faq__question {
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.ib-project-faq__answer {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.65;
}

.ib-btn--hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 15px;
  text-decoration: none !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #833ab4 0%, #e1306c 55%, #fcaf45 100%) !important;
  border: none !important;
  box-shadow:
    0 12px 28px rgba(131, 58, 180, 0.38),
    0 16px 40px rgba(225, 48, 108, 0.32),
    0 0 0 3px rgba(255, 255, 255, 0.12) inset;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.ib-btn--hero-primary:hover,
.ib-btn--hero-primary:focus-visible {
  transform: translateY(-3px);
  box-shadow:
    0 18px 36px rgba(131, 58, 180, 0.45),
    0 24px 54px rgba(225, 48, 108, 0.40),
    0 0 0 3px rgba(255, 255, 255, 0.22) inset;
  outline: none;
}

.ib-btn--hero-primary:active {
  transform: translateY(-1px);
}

.ib-btn--hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none !important;
  color: rgba(255, 255, 255, 0.92) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ib-btn--hero-secondary:hover,
.ib-btn--hero-secondary:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  outline: none;
}

.ib-btn--hero-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  cursor: not-allowed;
}

/* Content Grid */
.ib-project-content {
  display: grid;
  gap: 28px;
  animation: contentReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}

.ib-project-anchor-nav {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 18px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(18, 26, 48, 0.85), rgba(15, 22, 40, 0.8));
  box-shadow: 0 12px 24px rgba(8, 6, 20, 0.2);
  height: auto !important;
  line-height: normal !important;
}

.ib-project-anchor-nav__intro {
  width: 100%;
  margin: 0 0 4px;
  color: rgba(226, 232, 240, 0.78);
  font-size: 0.92rem;
  line-height: 1.55;
}

.ib-project-anchor-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.ib-project-anchor-nav__link:hover,
.ib-project-anchor-nav__link:focus-visible {
  color: #ffffff;
  border-color: rgba(129, 140, 248, 0.45);
  background: rgba(129, 140, 248, 0.12);
  transform: translateY(-1px);
}

.ib-project-anchor-nav__link.is-active,
.ib-project-anchor-nav__link[aria-current='true'] {
  color: #ffffff;
  border-color: rgba(96, 165, 250, 0.52);
  background: rgba(96, 165, 250, 0.16);
  box-shadow: 0 10px 18px rgba(30, 64, 175, 0.18);
}

.ib-project-hero__hint {
  margin: 8px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
}

@keyframes contentReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Project Cards */
.ib-project-card {
  background: linear-gradient(145deg, #121a30 0%, #0f1628 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--ib-radius-md);
  padding: 0;
  overflow: hidden;
  box-shadow:
    0 18px 42px rgba(8, 6, 20, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ib-project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 28px 56px rgba(8, 6, 20, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.ib-project-card--highlight {
  border-color: rgba(124, 58, 237, 0.25);
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.08) 0%, #121a30 100%);
}

.ib-project-card--highlight:hover {
  border-color: rgba(124, 58, 237, 0.4);
}

.ib-project-card__header {
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 14px;
}

.ib-project-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(131, 58, 180, 0.18), rgba(225, 48, 108, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e9d5ff;
  flex-shrink: 0;
}

.ib-project-card__title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.ib-project-card__body {
  padding: 28px;
}

.ib-project-content > section[id].is-anchor-focus {
  border-color: rgba(96, 165, 250, 0.34);
  box-shadow:
    0 24px 50px rgba(8, 6, 20, 0.36),
    0 0 0 1px rgba(96, 165, 250, 0.18) inset;
}

/* Briefing Content */
.ib-project-briefing {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  font-size: 15px;
}

.ib-project-briefing p {
  margin: 0 0 16px;
}

.ib-project-briefing p:last-child {
  margin-bottom: 0;
}

.ib-project-briefing ul,
.ib-project-briefing ol {
  margin: 12px 0;
  padding-left: 24px;
}

.ib-project-briefing li {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.85);
}

.ib-project-briefing strong {
  color: #ffffff;
  font-weight: 800;
}

.ib-project-briefing a {
  color: #818cf8;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.ib-project-briefing a:hover {
  color: #a5b4fc;
}

.ib-project-briefing h2,
.ib-project-briefing h3,
.ib-project-briefing h4 {
  color: #ffffff;
  font-weight: 800;
  margin: 24px 0 12px;
}

.ib-project-briefing h2:first-child,
.ib-project-briefing h3:first-child,
.ib-project-briefing h4:first-child {
  margin-top: 0;
}

/* Empty State */
.ib-project-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 42px 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

.ib-project-empty svg {
  opacity: 0.4;
}

.ib-project-empty p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

/* Stats Grid */
.ib-project-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.ib-project-stat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.09));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ib-project-stat:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.12));
  border-color: rgba(255, 255, 255, 0.26);
  transform: translateY(-2px);
}

.ib-project-stat__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex-shrink: 0;
}

.ib-project-stat__icon--budget {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.22), rgba(219, 39, 119, 0.18));
  color: #fbcfe8;
}

.ib-project-stat__icon--start {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(37, 99, 235, 0.18));
  color: #93c5fd;
}

.ib-project-stat__icon--end {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.22), rgba(147, 51, 234, 0.18));
  color: #e9d5ff;
}

.ib-project-stat__icon--slots {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(5, 150, 105, 0.18));
  color: #6ee7b7;
}

.ib-project-stat__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ib-project-stat__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(226, 232, 240, 0.72);
}

.ib-project-stat__value {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  word-break: break-word;
}

/* Notes */
.ib-project-notes {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 14px;
  margin-top: 8px;
}

.ib-project-notes__icon {
  flex-shrink: 0;
  color: #fde68a;
}

.ib-project-notes__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.ib-project-notes__content strong {
  color: #fde68a;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.ib-project-notes__content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.6;
}

.ib-project-inline-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.7;
}

/* Requirements */
.ib-project-requirements {
  display: grid;
  gap: 12px;
}

.ib-requirement {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ib-requirement:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateX(4px);
}

.ib-requirement__check {
  flex-shrink: 0;
  color: #6ee7b7;
  margin-top: 2px;
}

.ib-requirement__text {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.6;
}

.ib-requirement__text strong {
  color: #ffffff;
  font-weight: 800;
}

/* Responsive */
@media (max-width: 768px) {
  .ib-project-hero__intro {
    font-size: 14px;
    line-height: 1.58;
  }

  .ib-project-anchor-nav {
    padding: 10px;
    gap: 8px;
  }

  .ib-project-public-premium {
    padding: 0 16px 32px;
    gap: 24px;
  }

  .ib-project-hero {
    padding: 36px 24px 32px;
    border-radius: var(--ib-radius-md);
  }

  .ib-project-hero__title {
    font-size: 26px;
  }

  .ib-project-hero__badges {
    gap: 10px;
  }

  .ib-badge-group {
    gap: 6px;
  }

  .ib-badge {
    padding: 7px 14px;
    font-size: 12px;
  }

  .ib-project-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .ib-project-hero__unlock {
    align-items: stretch;
  }

  .ib-project-hero__unlock .ib-btn {
    width: 100%;
    justify-content: center;
  }

  .ib-project-context-card {
    grid-template-columns: 1fr;
    padding: 26px 24px;
    gap: 18px;
  }

  .ib-project-context-card__actions {
    justify-content: flex-start;
  }

  .ib-project-detail-grid,
  .ib-project-highlight-grid,
  .ib-project-faq__grid {
    grid-template-columns: 1fr;
  }

  .ib-project-public-cta__actions {
    justify-content: flex-start;
  }

  .ib-project-public-cta h2 {
    font-size: 1.65rem;
  }

  .ib-btn--hero-primary,
  .ib-btn--hero-secondary,
  .ib-btn--hero-disabled {
    width: 100%;
    justify-content: center;
  }

  .ib-project-card__header {
    padding: 20px;
  }

  .ib-project-card__body {
    padding: 20px;
  }

  .ib-project-stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ib-project-stat {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .ib-project-hero__intro {
    font-size: 13px;
    line-height: 1.55;
  }

  .ib-project-anchor-nav {
    margin-top: 0;
  }

  .ib-project-anchor-nav__link {
    min-height: 34px;
    font-size: 12px;
  }

  .ib-project-public-premium {
    padding: 0 12px 24px;
  }

  .ib-project-hero {
    padding: 28px 18px 24px;
  }

  .ib-project-hero__title {
    font-size: 22px;
  }

  .ib-project-context-card {
    padding: 22px 18px;
  }
}

@media (max-width: 360px) {
  .ib-project-hero__intro {
    font-size: 13px;
    line-height: 1.6;
  }

  .ib-project-context-card__actions,
  .ib-project-context-card__form {
    width: 100%;
  }

  .ib-project-context-card__actions .ib-btn,
  .ib-project-context-card__form .ib-btn {
    width: 100%;
  }

  .ib-project-public-cta__actions {
    width: 100%;
  }

  .ib-project-public-cta__actions .ib-btn,
  .ib-project-public-cta__actions .ib-project-hero__form,
  .ib-project-public-cta__actions .ib-project-hero__form .ib-btn {
    width: 100%;
  }

  .ib-project-public-cta h2 {
    font-size: 1.42rem;
    line-height: 1.2;
  }

  .ib-badge-group--primary {
    width: 100%;
    justify-content: center;
  }

  .ib-project-card__header {
    padding: 18px;
    gap: 12px;
  }

  .ib-project-card__icon {
    width: 38px;
    height: 38px;
  }

  .ib-project-card__icon svg {
    width: 20px;
    height: 20px;
  }

  .ib-project-card__title {
    font-size: 17px;
  }

  .ib-project-card__body {
    padding: 18px;
  }
}

.ib-brand-form {
  padding: 18px;
  display: grid;
  gap: 16px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.58), rgba(15, 23, 42, 0.34));
}
.ib-brand-form h2 { margin: 0; font-size: 1.02rem; }
.ib-brand-form-grid { display:grid; gap:10px; }
.ib-brand-form-grid--2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.ib-brand-form-grid--3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.ib-brand-form-grid__full { grid-column: 1 / -1; }
.ib-brand-form__actions { display:flex; justify-content:flex-end; gap:10px; }

.ib-brand-settings { gap: 14px; }
.ib-brand-settings__section {
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  padding: 14px;
  background: rgba(15, 23, 42, 0.22);
  display: grid;
  gap: 12px;
}
.ib-brand-settings__section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  justify-content: space-between;
}
.ib-brand-settings__section-head p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
}
.ib-brand-settings__section-head--subsection {
  padding-top: 6px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}
.ib-brand-settings__section-head--subsection h3 {
  margin: 0;
  font-size: 0.98rem;
  color: #e2e8f0;
}
.ib-brand-settings__checks {
  display: grid;
  gap: 10px;
}
/* ib-toggle: checkbox premium com track lateral */
.ib-toggle {
  position: relative;
  display: flex;
  align-items: stretch;
  border-radius: 16px;
  border: 1.5px solid rgba(80, 110, 175, 0.22);
  background: linear-gradient(145deg, rgba(10, 18, 38, 0.94), rgba(15, 26, 52, 0.74));
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
/* Input fica no fim do label — evita [type=checkbox]+span do Materialize */
.ib-toggle input[type="checkbox"] {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Garante que o track não herde padding/pseudo-elementos do Materialize */
.ib-toggle .ib-toggle__track {
  padding: 0 !important;
  padding-left: 0 !important;
}
.ib-toggle .ib-toggle__track::before,
.ib-toggle .ib-toggle__track::after {
  display: none !important;
}
.ib-toggle__track {
  width: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: rgba(60, 90, 150, 0.1);
  border-right: 1.5px solid rgba(80, 110, 175, 0.18);
  color: rgba(100, 130, 200, 0.2);
  transition: all 0.25s ease;
}
.ib-toggle__body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ib-toggle__body strong {
  color: #cfd9ef;
  font-size: 14px;
  font-weight: 700;
}
.ib-toggle__body small {
  color: #6a85af;
  font-size: 12px;
  line-height: 1.5;
}
.ib-toggle:hover {
  border-color: rgba(80, 165, 255, 0.36);
  background: linear-gradient(145deg, rgba(12, 22, 50, 0.96), rgba(18, 32, 64, 0.76));
}
.ib-toggle:has(input:checked) {
  border-color: rgba(34, 211, 238, 0.5);
  background: linear-gradient(145deg, rgba(8, 38, 88, 0.94), rgba(6, 54, 94, 0.72));
  box-shadow: 0 8px 28px rgba(10, 20, 55, 0.32), 0 0 0 1px rgba(34, 211, 238, 0.1);
}
.ib-toggle:has(input:checked) .ib-toggle__track {
  background: linear-gradient(180deg, #0ea5e9, #22d3ee);
  border-color: rgba(34, 211, 238, 0.5);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.ib-toggle:has(input:checked) .ib-toggle__body strong {
  color: #e6f4ff;
}
.ib-brand-settings__actions .ib-btn {
  min-height: 44px;
  padding-inline: 18px;
}

.ib-brand-page.ib-brand-settings-pro {
  display: grid;
  gap: 16px;
}

.ib-brand-settings-pro__hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 360px);
  gap: 18px;
  align-items: stretch;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(12, 18, 35, 0.92), rgba(20, 29, 50, 0.82));
}

.ib-brand-settings-pro__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.18), transparent 38%),
    radial-gradient(circle at right center, rgba(16, 185, 129, 0.12), transparent 34%);
  pointer-events: none;
}

.ib-brand-settings-pro__hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  gap: 10px;
  align-content: center;
  padding-right: clamp(0px, 2vw, 18px);
}

.ib-brand-settings-pro__eyebrow {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: none;
  color: #9fb7ff;
}

.ib-brand-settings-pro__hero h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
  line-height: 1.04;
  color: #f8fafc;
  max-width: 14ch;
}

.ib-brand-settings-pro__hero p {
  margin: 0;
  color: #b4c0d3;
  max-width: 58ch;
  line-height: 1.7;
}

.ib-brand-settings-pro__progress {
  position: relative;
  z-index: 1;
  min-width: 0;
  width: min(100%, 360px);
  justify-self: end;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: linear-gradient(180deg, rgba(8, 13, 28, 0.94), rgba(13, 20, 37, 0.84));
  padding: 12px;
  display: grid;
  gap: 5px;
  align-content: center;
  box-shadow: 0 18px 38px rgba(2, 6, 23, 0.28);
}

.ib-brand-settings-pro__progress strong {
  font-size: 1.25rem;
  color: #f8fafc;
}

.ib-brand-settings-pro__progress span {
  color: #cbd5e1;
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0.01em;
}

.ib-brand-settings-pro__progress small {
  color: #94a3b8;
  font-size: 12px;
}

.ib-brand-settings-pro__progress .progress-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.9);
  overflow: hidden;
}

.ib-brand-settings-pro__progress .progress-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4f46e5, #06b6d4);
}

.ib-brand-settings-pro__progress--high .progress-bar {
  background: linear-gradient(90deg, #ef4444, #f59e0b);
}

.ib-brand-settings-pro__progress--medium .progress-bar {
  background: linear-gradient(90deg, #f59e0b, #22c55e);
}

.ib-brand-settings-pro__progress--ok .progress-bar {
  background: linear-gradient(90deg, #22c55e, #14b8a6);
}

.ib-brand-settings-pro__status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.ib-brand-settings-pro__status-card {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: linear-gradient(160deg, rgba(16, 24, 44, 0.8), rgba(18, 28, 52, 0.62));
  min-height: 76px;
  padding: 10px 12px;
  display: grid;
  gap: 3px;
  align-content: center;
}

.ib-brand-settings-pro__status-card i {
  font-size: 14px;
  color: #93c5fd;
}

.ib-brand-settings-pro__status-card strong {
  color: #f1f5f9;
  font-size: 13px;
}

.ib-brand-settings-pro__status-card span {
  color: #94a3b8;
  font-size: 12px;
}

.ib-brand-settings-pro__status-card.is-ok {
  border-color: rgba(34, 197, 94, 0.45);
  background: linear-gradient(145deg, rgba(13, 86, 58, 0.52), rgba(19, 110, 74, 0.26));
}

.ib-brand-settings-pro__status-card.is-ok i {
  color: #86efac;
}

.ib-brand-settings-pro__status-card.is-pending {
  border-color: rgba(148, 163, 184, 0.28);
  background: linear-gradient(145deg, rgba(37, 49, 79, 0.7), rgba(28, 39, 66, 0.44));
}

.ib-brand-settings-pro__status-card.is-pending i {
  color: #a5b4fc;
}

.ib-brand-settings-pro__form {
  gap: 12px;
}

/* ib-stabs: segmented control sem conflito Materialize */
.ib-stabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: rgba(6, 12, 28, 0.95);
  border-radius: 18px;
  padding: 5px;
  border: 1px solid rgba(70, 100, 170, 0.18);
  box-sizing: border-box;
}
.ib-stab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  padding: 0 12px;
  border-radius: 14px;
  color: rgba(140, 165, 218, 0.68);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  outline: 0;
  transition: color 0.2s ease, background 0.2s ease;
}
.ib-stab__ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  background: rgba(90, 120, 200, 0.1);
  transition: all 0.2s ease;
}
.ib-stab__label {
  font-size: 13px;
  letter-spacing: 0;
}
.ib-stab:hover:not(.is-active) {
  color: rgba(195, 215, 255, 0.82);
  background: rgba(55, 85, 157, 0.14);
}
.ib-stab:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.55);
  outline-offset: -2px;
}
.ib-stab.is-active {
  background: linear-gradient(145deg, #1a61b2, #0f4b98);
  color: #fff;
  box-shadow: 0 4px 18px rgba(15, 75, 152, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.ib-stab.is-active .ib-stab__ico {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.ib-brand-settings-pro__panel {
  display: none;
}

.ib-brand-settings-pro__panel.is-active {
  display: grid;
}

.ib-brand-settings-pro__company-row {
  align-items: start;
}

.ib-brand-settings-pro__company-type-wrap {
  display: grid;
  gap: 10px;
}

.ib-brand-settings-pro__field-helper {
  margin: -2px 0 0;
  color: #90a0bf;
  font-size: 12px;
  line-height: 1.45;
}

/* ib-tycard: cards de tipo de empresa sem radio nativo */
.ib-tycard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.ib-tycard {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 20px 12px 16px;
  border-radius: 16px;
  border: 1.5px solid rgba(75, 105, 175, 0.22);
  background: linear-gradient(165deg, rgba(10, 18, 38, 0.96), rgba(15, 26, 52, 0.76));
  cursor: pointer;
  user-select: none;
  outline: 0;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease, background 0.22s ease;
}
.ib-tycard__check {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(75, 105, 175, 0.12);
  border: 1px solid rgba(75, 105, 175, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: transparent;
  transition: all 0.2s ease;
}
.ib-tycard__ico {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: rgba(30, 80, 160, 0.14);
  border: 1px solid rgba(80, 155, 255, 0.18);
  color: #7ab5fd;
  transition: all 0.22s ease;
}
.ib-tycard__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ib-tycard__body strong {
  color: #dce8fb;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}
.ib-tycard__body small {
  color: #6e90b8;
  font-size: 11px;
  line-height: 1.45;
}
.ib-tycard:hover {
  border-color: rgba(80, 170, 255, 0.42);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(8, 18, 44, 0.32);
}
.ib-tycard:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.55);
  outline-offset: -2px;
}
.ib-tycard.is-selected {
  border-color: rgba(56, 189, 248, 0.62);
  background: linear-gradient(165deg, rgba(10, 52, 120, 0.76), rgba(8, 40, 94, 0.62));
  box-shadow: 0 12px 28px rgba(8, 20, 56, 0.36), 0 0 0 1px rgba(56, 189, 248, 0.18);
  transform: translateY(-2px);
}
.ib-tycard.is-selected .ib-tycard__check {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.45);
}
.ib-tycard.is-selected .ib-tycard__ico {
  background: rgba(14, 165, 233, 0.22);
  border-color: rgba(56, 189, 248, 0.48);
  color: #7dd3fc;
  box-shadow: 0 0 18px rgba(14, 165, 233, 0.22);
}
.ib-tycard.is-selected .ib-tycard__body strong {
  color: #e0f0ff;
}

.ib-brand-settings-pro .ib-brand-form-grid .creators-field,
.ib-brand-settings-pro .ib-brand-form-grid .creators-field span,
.ib-brand-settings-pro .ib-brand-form-grid .browser-default.ib-input,
.ib-brand-settings-pro .ib-brand-form-grid .browser-default.ib-select {
  width: 100%;
}

.ib-brand-settings-pro .ib-brand-form-grid .browser-default.ib-select,
.ib-brand-settings-pro .ib-brand-form-grid .browser-default.ib-input {
  min-height: 48px;
}

.ib-brand-settings-pro .ib-brand-form-grid .browser-default.ib-input {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(248, 250, 252, 0.98);
}

.ib-brand-settings-pro .ib-brand-settings__actions {
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.ib-brand-settings-pro .ib-btn {
  text-transform: none;
  letter-spacing: 0;
}

.ib-brand-settings-pro__back-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 220px;
  border-color: rgba(148, 163, 184, 0.18) !important;
  background: rgba(15, 23, 42, 0.46) !important;
  color: #dbe5f5 !important;
}

.ib-brand-settings-pro__back-btn i {
  font-size: 13px;
}

@media (max-width: 980px) {
  .ib-brand-settings-pro__hero {
    grid-template-columns: 1fr;
  }

  .ib-brand-settings-pro__hero-copy {
    padding-right: 0;
  }

  .ib-brand-settings-pro__progress {
    width: 100%;
    justify-self: stretch;
  }

  .ib-brand-form-grid--3 {
    grid-template-columns: 1fr;
  }

  .ib-tycard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ib-stabs,
  .ib-brand-settings-pro__status-grid {
    grid-template-columns: 1fr;
  }

  .ib-stabs {
    border-radius: 14px;
  }

  .ib-tycard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ib-brand-settings-pro .ib-brand-settings__actions {
    justify-content: stretch;
  }

  .ib-brand-settings-pro__back-btn,
  .ib-brand-settings-pro .ib-brand-settings__actions .ib-btn {
    width: 100%;
  }
}

.ib-brand-project-summary { padding: 14px; }
.ib-brand-project-summary dl { display:grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap:10px; margin: 0 0 10px; }
.ib-brand-project-summary dt { font-size:12px; color:#94a3b8; }
.ib-brand-project-summary dd { margin:2px 0 0; font-weight:600; }

.ib-brand-tabs { display:flex; gap:8px; flex-wrap:wrap; }
.ib-brand-tabs a {
  text-decoration:none;
  color:#475569;
  border:1px solid #cbd5e1;
  background:#fff;
  padding:8px 12px;
  border-radius:999px;
  font-weight:600;
}
.ib-brand-tabs a.is-active { background:#0f172a; color:#fff; border-color:#0f172a; }

.ib-brand-inline-actions { display:flex; gap:8px; }

/* Project show premium dark */
.ib-brand-project-show {
  display: grid;
  gap: 18px;
}

.ib-brand-project-show__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  border: none;
  background: transparent;
}

.ib-brand-project-show__hero h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #f8fafc 0%, #c7d2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ib-brand-project-show__hero p {
  margin: 0;
  color: #94a3b8;
  font-size: .98rem;
}

.ib-brand-project-show__badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.ib-brand-project-show__updated {
  border: 1px solid rgba(99, 102, 241, 0.35);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.25), rgba(99, 102, 241, 0.2));
  color: #dbeafe;
  font-weight: 700;
}

.ib-brand-project-show__actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 10px;
}

.ib-brand-project-show__actions .ib-btn {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: .84rem;
  font-weight: 800;
  line-height: 1;
  text-transform: none;
  letter-spacing: 0.01em;
}

.ib-brand-project-show__tabs {
  width: fit-content;
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.75), rgba(30, 41, 59, 0.7));
  box-shadow: 0 8px 18px rgba(2, 6, 23, 0.28);
  backdrop-filter: blur(10px);
  padding: 4px;
  height: auto !important;
}

.ib-brand-project-show__tabs a {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 9px;
  border: 1px solid rgba(100, 116, 139, 0.34);
  background: rgba(15, 23, 42, 0.35);
  color: #cbd5e1;
  font-size: .74rem;
  font-weight: 700;
  line-height: 1;
  text-transform: none;
  letter-spacing: 0;
  transition: all .25s ease;
}

.ib-brand-project-show__tabs a:hover {
  color: #f8fafc;
  border-color: rgba(148, 163, 184, 0.3);
  background: rgba(30, 41, 59, 0.55);
}

.ib-brand-project-show__tabs a.is-active {
  color: #ffffff;
  border-color: rgba(99, 102, 241, 0.45);
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.75), rgba(79, 70, 229, 0.78));
  box-shadow: 0 6px 16px rgba(30, 64, 175, 0.3);
}

.ib-brand-project-show .ib-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle;
  line-height: 1 !important;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
}

.ib-brand-project-show .ib-btn,
.ib-brand-project-show .creator-card__cta,
.ib-brand-project-show .ib-brand-project-show__tabs a {
  text-align: center;
}

.ib-brand-project-show .ib-btn.ib-btn--ghost {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.6);
  color: #e2e8f0;
}

.ib-brand-project-show .ib-btn.ib-btn--ghost:hover {
  border-color: rgba(129, 140, 248, 0.45);
  background: rgba(30, 41, 59, 0.8);
}

.ib-brand-project-show .ib-btn.ib-btn--secondary {
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(30, 41, 59, 0.65);
  color: #f1f5f9;
}

.ib-brand-project-show .ib-btn.ib-btn--secondary:hover {
  background: rgba(51, 65, 85, 0.85);
}

.ib-brand-project-show .ib-btn.ib-btn--danger {
  border-color: rgba(239, 68, 68, 0.5);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.85), rgba(190, 24, 93, 0.85));
  color: #fff;
}

.ib-brand-project-show .ib-btn.ib-btn--danger:hover {
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.25);
}

.ib-brand-project-show__panel {
  padding: 20px;
  border: 1px solid rgba(100, 116, 139, 0.33);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.78), rgba(30, 41, 59, 0.74));
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.38);
  backdrop-filter: blur(9px);
  display: grid;
  gap: 14px;
}

.ib-brand-project-show__panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.ib-brand-project-show__panel-head h2 {
  margin: 0;
  color: #f8fafc;
  font-size: 1.08rem;
  font-weight: 800;
}

.ib-brand-project-show__panel-head p {
  margin: 4px 0 0;
  color: #94a3b8;
  font-size: .9rem;
}

.ib-brand-project-show__panel-head .ib-btn {
  min-height: 34px;
  padding: 0 11px;
  border-radius: 9px;
  font-size: .74rem;
  line-height: 1;
}

/* Tab: Resumo */
.ib-brand-project-show__meta-grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.ib-brand-project-show__meta-grid > div {
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(100, 116, 139, 0.24);
  background: rgba(15, 23, 42, 0.45);
}

.ib-brand-project-show__meta-grid dt {
  color: #94a3b8;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.ib-brand-project-show__meta-grid dd {
  margin: 4px 0 0;
  color: #e2e8f0;
  font-weight: 700;
  line-height: 1.35;
}

.ib-brand-project-show__briefing {
  color: #cbd5e1;
  line-height: 1.6;
}

.ib-brand-project-show__briefing p {
  margin: 0 0 10px;
}

.ib-brand-project-show__briefing ul,
.ib-brand-project-show__briefing ol {
  margin-top: 0;
}

.ib-brand-project-show__briefing table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0;
  border-radius: 10px;
  overflow: hidden;
}

.ib-brand-project-show__briefing th,
.ib-brand-project-show__briefing td {
  border: 1px solid rgba(100, 116, 139, 0.32);
  padding: 8px;
  text-align: left;
}

.ib-brand-project-show__briefing th {
  background: rgba(30, 41, 59, 0.65);
  color: #e2e8f0;
}

.ib-brand-project-show__briefing a {
  color: #93c5fd;
  text-decoration: underline;
}

.ib-brand-project-show__briefing blockquote {
  border-left: 3px solid rgba(99, 102, 241, 0.55);
  margin: 8px 0;
  padding: 4px 0 4px 10px;
  color: #cbd5e1;
}

.ib-brand-project-show__empty {
  margin: 0;
  color: #94a3b8;
}

.ib-brand-project-show__attachments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}

.ib-brand-project-show__attachment {
  border: 1px solid rgba(100, 116, 139, 0.28);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.62));
  padding: 10px 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.ib-brand-project-show__attachment-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.16);
  color: #a5b4fc;
}

.ib-brand-project-show__attachment-content {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.ib-brand-project-show__attachment-content strong {
  color: #f1f5f9;
  font-size: .88rem;
  line-height: 1.35;
  word-break: break-word;
}

.ib-brand-project-show__attachment-content small {
  color: #94a3b8;
  font-size: .78rem;
}

.ib-brand-project-show__attachment .ib-btn {
  min-height: 36px;
  padding-inline: 12px;
}

/* Tab: Matches */
.ib-brand-project-show__match-grid {
  margin-top: 2px;
  gap: 12px;
}

.ib-brand-project-show__match-grid .creator-card {
  background: linear-gradient(150deg, rgba(17, 24, 39, 0.96), rgba(12, 18, 34, 0.9)) !important;
  border-radius: 14px;
  border-color: rgba(100, 116, 139, 0.3);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.35);
}

.ib-brand-project-show__match-grid .creator-card:hover {
  border-color: rgba(129, 140, 248, 0.45);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.25);
}

.ib-brand-project-show__match-grid .creator-card__footer {
  grid-template-columns: 1fr;
}

.ib-brand-project-show__match-grid .creator-card__cta {
  min-height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%) !important;
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: #fff;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
}

.ib-brand-project-show__match-grid .creator-card__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(168, 85, 247, 0.32);
}

.ib-brand-project-show__match-meta {
  border: 1px solid rgba(100, 116, 139, 0.28);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.55);
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ib-brand-project-show__match-meta small {
  color: #94a3b8;
  font-size: .79rem;
}

/* Tab: Convites + Candidaturas */
.ib-brand-project-show__list {
  display: grid;
  gap: 10px;
}

.ib-brand-project-show__list--compact {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.ib-brand-project-show__list-item {
  border: 1px solid rgba(100, 116, 139, 0.28);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.62), rgba(30, 41, 59, 0.58));
  padding: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.ib-brand-project-show__list-item--compact {
  min-height: 0;
  padding: 14px;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.ib-brand-project-show__list-main {
  display: grid;
  gap: 4px;
}

.ib-brand-project-show__list-main strong {
  color: #f1f5f9;
}

.ib-brand-project-show__list-main small {
  color: #94a3b8;
  font-size: .82rem;
}

.ib-brand-project-show__list-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ib-brand-project-show__list-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.ib-brand-project-show__list-actions form {
  margin: 0;
}

.ib-brand-project-show__list-actions .ib-btn {
  min-height: 34px;
  padding: 0 11px;
  border-radius: 9px;
  font-size: .74rem;
  line-height: 1;
}

.ib-brand-project-show__list-item--compact .ib-brand-project-show__list-actions {
  width: 100%;
  justify-content: flex-start;
}

.ib-brand-project-show__list-item--compact .ib-brand-project-show__list-actions .ib-btn {
  width: 100%;
  justify-content: center;
}

.ib-brand-project-show__status {
  min-height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.66);
  color: #cbd5e1;
  font-size: .76rem;
  font-weight: 700;
  padding: 2px 10px;
  display: inline-flex;
  align-items: center;
}

.ib-brand-project-show__status.is-success {
  border-color: rgba(34, 197, 94, 0.55);
  background: rgba(22, 163, 74, 0.16);
  color: #86efac;
}

.ib-brand-project-show__status.is-danger {
  border-color: rgba(239, 68, 68, 0.55);
  background: rgba(185, 28, 28, 0.17);
  color: #fecaca;
}

.ib-brand-project-show__status.is-warning {
  border-color: rgba(245, 158, 11, 0.56);
  background: rgba(180, 83, 9, 0.16);
  color: #fcd34d;
}

.ib-brand-project-show__status.is-neutral {
  border-color: rgba(148, 163, 184, 0.42);
  background: rgba(51, 65, 85, 0.3);
  color: #cbd5e1;
}

@media (max-width: 980px) {
  .ib-brand-project-show__meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ib-brand-project-show__tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .ib-brand-project-show__hero {
    grid-template-columns: 1fr;
  }

  .ib-brand-project-show__actions {
    width: 100%;
  }

  .ib-brand-project-show__actions .ib-btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .ib-brand-project-show__attachments {
    grid-template-columns: 1fr;
  }

  .ib-brand-project-show__attachment {
    grid-template-columns: auto 1fr;
  }

  .ib-brand-project-show__attachment .ib-btn {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
  }

  .ib-brand-project-show__match-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .ib-brand-project-show__list-item {
    flex-direction: column;
  }

  .ib-brand-project-show__list-actions {
    width: 100%;
    justify-content: stretch;
  }

  .ib-brand-project-show__list-actions .ib-btn {
    width: 100%;
    justify-content: center;
  }

  .ib-brand-project-show__list-actions form {
    width: 100%;
  }

  .ib-brand-project-show__list-actions form .ib-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .ib-brand-project-show__hero h1 {
    font-size: 1.7rem;
  }

  .ib-brand-project-show__panel {
    padding: 14px;
  }

  .ib-brand-project-show__meta-grid {
    grid-template-columns: 1fr;
  }
}

.ib-error { color:#b91c1c; font-size:12px; margin-top:4px; display:block; }

body.if-body.creators-page.ib-brand-project-wizard-page {
  background:
    radial-gradient(1100px 680px at 4% -22%, rgba(14, 165, 233, 0.3), transparent 60%),
    radial-gradient(1100px 740px at 96% -18%, rgba(251, 146, 60, 0.2), transparent 62%),
    linear-gradient(180deg, #050b17 0%, #081223 48%, #070d1b 100%);
}

.ib-brand-project-wizard-page .ib-brand-page {
  display: grid;
  gap: 14px;
}

.ib-brand-project-wizard-header {
  position: sticky;
  top: 76px;
  z-index: 20;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background:
    linear-gradient(130deg, rgba(6, 14, 28, 0.92), rgba(12, 26, 45, 0.82)) padding-box,
    linear-gradient(130deg, rgba(56, 189, 248, 0.42), rgba(251, 146, 60, 0.34)) border-box;
  padding: 18px 18px;
  box-shadow: 0 20px 46px rgba(2, 6, 23, 0.45);
  backdrop-filter: blur(10px);
}

.ib-brand-project-wizard-header::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto;
  height: 170px;
  background: radial-gradient(80% 110% at 20% 40%, rgba(56, 189, 248, .24), rgba(56, 189, 248, 0));
  pointer-events: none;
  z-index: -1;
}

.ib-brand-project-wizard-header > div {
  display: grid;
  gap: 5px;
}

.ib-brand-project-wizard-header h1 {
  color: #f8fafc;
  margin: 0;
  font-size: clamp(1.46rem, 2.5vw, 1.92rem);
  font-weight: 800;
  letter-spacing: -.01em;
}

.ib-brand-project-wizard-header p {
  margin: 0;
  color: #dbe7ff;
  font-size: .96rem;
  max-width: 52ch;
}

.ib-brand-project-wizard-header .ib-btn {
  min-height: 44px;
  min-width: 188px;
  border-color: rgba(125, 211, 252, 0.55);
  color: #e0f2fe;
  background: linear-gradient(180deg, rgba(8, 47, 73, .75), rgba(6, 78, 59, .52));
  font-weight: 800;
  font-size: 14px !important;
  letter-spacing: .01em;
  text-transform: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.ib-brand-project-wizard-header .ib-btn:hover,
.ib-brand-project-wizard-header .ib-btn:focus {
  border-color: rgba(125, 211, 252, .85);
  background: linear-gradient(180deg, rgba(14, 116, 144, .78), rgba(5, 150, 105, .64));
}

.ib-project-wizard {
  padding: 18px;
  display: grid;
  gap: 14px;
  border: 1px solid rgba(148, 163, 184, 0.28);
}
.ib-project-wizard-alert { padding: 12px 14px; border: 1px solid #fecaca; background: #fff1f2; color: #9f1239; }
.ib-project-wizard--premium {
  border: 1px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(10, 18, 34, 0.95) 0%, rgba(8, 16, 31, 0.92) 100%) padding-box,
    linear-gradient(130deg, rgba(56, 189, 248, 0.5), rgba(34, 211, 238, 0.36), rgba(251, 146, 60, 0.45)) border-box;
  box-shadow: 0 28px 56px rgba(1, 8, 20, 0.55);
}
.ib-project-wizard-inline-alert {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 13px;
  font-weight: 600;
}
.ib-project-wizard-inline-alert.is-error {
  border-color: #fecaca;
  background: #fff1f2;
  color: #9f1239;
}
.ib-project-wizard-inline-alert.is-success {
  border-color: #86efac;
  background: #f0fdf4;
  color: #166534;
}
.ib-project-wizard__progress { display: grid; gap: 8px; }
.ib-project-wizard__progress-head { display: flex; justify-content: space-between; align-items: center; color: #334155; font-size: 13px; }
.ib-project-wizard__progress-head {
  color: #cbd5e1;
}

.ib-project-wizard__progress-head strong {
  color: #f8fafc;
  font-size: .93rem;
  letter-spacing: .01em;
}
.ib-project-wizard__progress-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.ib-project-wizard__bar { width: 100%; height: 10px; border-radius: 999px; background: rgba(148, 163, 184, 0.22); overflow: hidden; }
.ib-project-wizard__bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #38bdf8 0%, #22d3ee 48%, #fb923c 100%);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.42);
  transition: width .2s ease;
}

.ib-draft-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.62);
  color: #e2e8f0;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
}

.ib-draft-indicator small {
  color: #a8b6ca;
  font-size: 11px;
  font-weight: 500;
}

.ib-draft-indicator.is-saving {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.ib-draft-indicator.is-saved {
  border-color: #86efac;
  background: #f0fdf4;
  color: #166534;
}

.ib-draft-indicator.is-error {
  border-color: #fecaca;
  background: #fff1f2;
  color: #9f1239;
}

.ib-project-wizard__steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; }
.ib-project-wizard__steps li { margin: 0; }
.ib-project-wizard__steps button {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.58));
  color: #dbe7ff;
  border-radius: 999px;
  padding: 8px 10px;
  font-weight: 700;
  font-size: 11.5px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.ib-project-wizard__steps button:hover {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 0.6);
}
.ib-project-wizard__steps button.is-active {
  border-color: rgba(56, 189, 248, 0.82);
  background: linear-gradient(135deg, rgba(14, 116, 144, 0.95) 0%, rgba(12, 74, 110, 0.95) 100%);
  color: #f8fafc;
  box-shadow: 0 12px 24px rgba(14, 116, 144, 0.35);
}
.ib-project-wizard__steps button.is-complete {
  border-color: rgba(16, 185, 129, 0.78);
  color: #bbf7d0;
  background: linear-gradient(180deg, rgba(6, 78, 59, 0.6), rgba(4, 47, 46, 0.5));
}

.ib-project-wizard-form { gap: 14px; }
.ib-wizard-step {
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 16px;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.96) 100%);
  display: grid;
  gap: 14px;
  opacity: 0;
  transform: translateX(10px);
  box-shadow: 0 14px 30px rgba(9, 17, 34, 0.18);
  transition: opacity .2s ease, transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.ib-wizard-step.is-active {
  opacity: 1;
  transform: translateX(0);
}
.ib-wizard-step.is-entering-forward,
.ib-wizard-step.is-entering-backward {
  opacity: 0;
}
.ib-wizard-step.is-entering-forward {
  transform: translateX(12px);
}
.ib-wizard-step.is-entering-backward {
  transform: translateX(-12px);
}
.ib-wizard-step.is-leaving-forward {
  opacity: 0;
  transform: translateX(-12px);
}
.ib-wizard-step.is-leaving-backward {
  opacity: 0;
  transform: translateX(12px);
}
.ib-wizard-step.is-invalid {
  border-color: #fecaca;
  box-shadow: 0 0 0 2px rgba(248, 113, 113, .12);
}
.ib-wizard-step > header h2 { margin: 0; font-size: 1.08rem; color: #0f172a; line-height: 1.2; }
.ib-wizard-step > header p { margin: 6px 0 0; color: #334155; font-size: .94rem; line-height: 1.5; max-width: 78ch; }
.ib-wizard-step > header {
  display: grid;
  gap: 4px;
}

.ib-wizard-step__eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border-radius: 999px;
  padding: 3px 10px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: #f8fafc;
  color: #1e293b;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 700;
}

.ib-wizard-step[data-wizard-step="1"] > header h2 {
  color: #0f3b78;
}

.ib-wizard-step[data-wizard-step="2"] > header h2 {
  color: #0f766e;
}

.ib-wizard-step[data-wizard-step="3"] > header h2 {
  color: #9a3412;
}

.ib-wizard-step[data-wizard-step="4"] > header h2 {
  color: #6d28d9;
}

.ib-wizard-step[data-wizard-step="5"] > header h2 {
  color: #b45309;
}

.ib-project-wizard .creators-field {
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  padding: 12px;
  background: #ffffff;
}

.ib-project-wizard .creators-field > span:first-child {
  display: block;
  color: #0f172a;
  font-weight: 700;
}
.ib-project-wizard__field-full { grid-column: 1 / -1; }
.ib-inline-help { display: block; font-size: 11.5px; color: #64748b; margin-top: 6px; line-height: 1.45; }

.ib-check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.ib-check-grid--compact { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.ib-check-pill {
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 9px 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.ib-check-pill input { margin: 0; }
.ib-check-pill span { color: #0f172a; font-size: .9rem; line-height: 1.3; }
.ib-check-pill.is-disabled { opacity: .62; pointer-events: none; background: #f8fafc; }
.ib-check-pill:has(input:checked) {
  border-color: #0ea5e9;
  background: linear-gradient(180deg, #ecfeff 0%, #eff6ff 100%);
  box-shadow: 0 0 0 2px rgba(14, 165, 233, .12);
}

.ib-check-pill--platform {
  gap: 10px;
}

.ib-channel-platforms-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.ib-check-pill--channel-chip {
  min-height: 42px;
  border-radius: 999px;
}

.ib-check-pill__icon {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
  color: #334155;
  flex: 0 0 auto;
}

.ib-check-pill:has(input:checked) .ib-check-pill__icon {
  background: #e0f2fe;
  color: #0369a1;
}

.ib-check-pill__text {
  font-weight: 600;
}

.ib-visibility-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ib-check-pill--visibility {
  align-items: flex-start;
  min-height: 92px;
  border-radius: 14px;
  padding: 12px;
}

.ib-check-pill--visibility .ib-check-pill__content {
  display: grid;
  gap: 2px;
  padding: 0 !important;
}

.ib-check-pill--visibility .ib-check-pill__content strong {
  color: #0f172a;
  font-size: .92rem;
  font-weight: 800;
}

.ib-check-pill--visibility .ib-check-pill__content small {
  color: #64748b;
  font-size: .78rem;
  line-height: 1.35;
}

.ib-check-pill--format {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 8px;
  row-gap: 2px;
}

.ib-check-pill--format input {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin-top: 2px;
}

.ib-check-pill--format .ib-check-pill__text,
.ib-check-pill--format .ib-check-pill__meta {
  grid-column: 2;
}

.ib-check-pill__meta {
  display: block;
  color: #64748b;
  font-size: .74rem;
  line-height: 1.35;
}

.ib-format-cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.ib-check-pill--format-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 6px 8px;
  min-height: 78px;
  padding: 10px;
  border-radius: 12px;
}

.ib-check-pill--format-card input {
  margin-top: 2px;
}

.ib-format-card__name,
.ib-format-card__meta {
  grid-column: 2;
}

.ib-format-card__name {
  color: #0f172a;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.3;
}

.ib-format-card__meta {
  display: block;
  color: #64748b;
  font-size: .75rem;
  line-height: 1.35;
}

.ib-check-pill--format-card.is-disabled {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.ib-check-pill--format-card.is-disabled .ib-format-card__name,
.ib-check-pill--format-card.is-disabled .ib-format-card__meta {
  color: #94a3b8;
}

.ib-file-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #94a3b8;
  border-radius: 12px;
  background: #f8fafc;
  min-height: 46px;
  padding: 0 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.ib-file-trigger input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.ib-file-trigger span { font-weight: 600; color: #0f172a; }
.ib-attachment-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.ib-attachment-list .is-empty { border: 1px dashed #cbd5e1; border-radius: 10px; color: #64748b; padding: 10px; }
.ib-attachment-item { border: 1px solid #e2e8f0; border-radius: 10px; padding: 8px 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ib-attachment-item__meta { color: #334155; font-size: 13px; word-break: break-word; }
.ib-attachment-item__remove { min-height: 34px; padding: 0 10px; }

.ib-project-attachments {
  display: grid;
  gap: 12px;
}

.ib-project-attachments.is-empty .ib-project-attachments-grid {
  display: none;
}

.ib-project-attachments.is-has-items .ib-project-attachments-grid {
  display: grid;
}

.ib-project-attachments-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  max-width: none;
  margin-bottom: 0;
}

@media (min-width: 680px) {
  .ib-project-attachments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .ib-project-attachments-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .ib-project-attachments-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ib-project-dropzone {
  position: relative;
  border: 1px dashed #94a3b8;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  min-height: 144px;
  padding: 12px;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.ib-project-attachments.is-has-items .ib-project-dropzone {
  min-height: 92px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.ib-project-dropzone:hover,
.ib-project-dropzone.is-active {
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, .15), 0 16px 28px rgba(79, 70, 229, .12);
  background: linear-gradient(180deg, #eef2ff 0%, #e0e7ff 100%);
}

.ib-project-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.ib-project-dropzone__content {
  min-height: 116px;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 5px;
  color: #334155;
}

.ib-project-attachments.is-has-items .ib-project-dropzone__content {
  min-height: 72px;
  gap: 4px;
}

.ib-project-dropzone__content i {
  font-size: 22px;
  color: #4f46e5;
}

.ib-project-attachments.is-has-items .ib-project-dropzone__content i {
  font-size: 18px;
}

.ib-project-dropzone__title {
  font-size: .96rem;
  color: #0f172a;
  font-weight: 700;
}

.ib-project-dropzone__subtitle {
  font-size: .83rem;
  color: #475569;
}

.ib-project-dropzone__note {
  margin: 0;
  font-size: .73rem;
  color: #64748b;
}

.ib-project-attachments__status {
  font-size: .83rem;
  border-radius: 10px;
  padding: 8px 10px;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: #1e40af;
}

.ib-project-attachments__status.is-error {
  border-color: #fecaca;
  background: #fff1f2;
  color: #9f1239;
}

.ib-project-attachments__status.is-success {
  border-color: #86efac;
  background: #f0fdf4;
  color: #166534;
}

.ib-project-attachment-card {
  position: relative;
  min-height: 156px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #dbe4f0;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
}

.ib-project-attachment-card__media {
  display: block;
  line-height: 0;
  width: 100%;
  min-height: 156px;
  text-decoration: none;
}

.ib-project-attachment-card__media.ib-media-card {
  border-radius: 0;
  background: #eef2ff;
}

.ib-project-attachment-card__media .ib-media-card__thumb {
  min-height: 112px;
  max-height: 112px;
}

.ib-project-attachment-card__media .ib-media-card__thumb img,
.ib-project-attachment-card__media .ib-media-card__thumb video {
  width: 100%;
  height: 112px;
  object-fit: cover;
  background: #e2e8f0;
}

.ib-project-attachment-card__media-fallback {
  width: 100%;
  height: 112px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  background: linear-gradient(140deg, #eef2ff 0%, #dbeafe 100%);
}

.ib-project-attachment-card__media-fallback i {
  font-size: 24px;
}

.ib-project-attachment-card__meta {
  display: grid;
  gap: 2px;
  padding: 10px 12px 12px;
}

.ib-project-attachment-card__name {
  font-size: .79rem;
  line-height: 1.35;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ib-project-attachment-card__size {
  display: block;
  font-size: .72rem;
  color: #64748b;
  font-weight: 600;
}

.ib-project-attachment-card__doc {
  display: grid;
  align-content: center;
  gap: 7px;
  height: 100%;
  min-height: 156px;
  padding: 12px;
  text-decoration: none;
  color: #0f172a;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.ib-project-attachment-card__doc-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, .12);
  color: #1d4ed8;
  flex: 0 0 auto;
}

.ib-project-attachment-card__doc-name {
  font-size: .8rem;
  line-height: 1.35;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ib-project-attachment-card__doc-meta {
  display: block;
  color: #64748b;
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.25;
}

.ib-project-attachment-card__remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, .25);
  background: rgba(255, 255, 255, .95);
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.ib-project-attachment-card__remove:hover {
  background: #ffffff;
  border-color: rgba(15, 23, 42, .45);
}

.ib-project-attachment-card.is-uploading {
  border-style: dashed;
  background: #f8fafc;
}

.ib-project-attachment-uploading {
  min-height: 156px;
  padding: 10px;
  display: grid;
  align-content: center;
  gap: 4px;
}

.ib-project-attachment-uploading strong {
  font-size: .78rem;
  color: #0f172a;
  word-break: break-word;
}

.ib-project-attachment-uploading span {
  font-size: .72rem;
  color: #475569;
}

.ib-project-attachments-empty {
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 10px 12px;
  color: #475569;
  background: #f8fafc;
  font-size: .82rem;
  text-align: center;
}

.ib-project-wizard-step1-grid .ib-input,
.ib-project-wizard .ib-input,
.ib-project-wizard .ib-select,
.ib-project-wizard textarea {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  border-radius: 12px;
}

.ib-project-wizard-step1-grid .ib-input:focus,
.ib-project-wizard .ib-input:focus,
.ib-project-wizard .ib-select:focus,
.ib-project-wizard textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
  outline: 0;
}

.ib-project-wizard .ib-input,
.ib-project-wizard .ib-select {
  min-height: 42px;
  padding: 0 12px;
  font-size: .94rem;
}

.ib-project-wizard textarea {
  min-height: 160px;
  padding: 10px 12px;
  line-height: 1.5;
}

.ib-project-categories-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
}

.ib-project-title-input {
  min-height: 48px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.ib-project-title-input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

.ib-project-categories-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 2px;
}

.ib-project-categories-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
}

[data-category-section].is-limit-reached .ib-project-categories-counter {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
}

.ib-slot-presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.ib-slot-presets--premium {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ib-slot-stepper { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.ib-slot-stepper[hidden] { display: none !important; }
.ib-slot-stepper .ib-input { width: 120px; text-align: center; font-weight: 700; border-radius: 12px; }
.ib-slot-stepper .ib-btn { min-width: 42px; min-height: 42px; padding: 0; font-size: 20px; border-radius: 12px; border: 1px solid #cbd5e1; }

.ib-step3-dates-grid .creators-field {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.ib-date-period-summary {
  border: 1px solid #dbe4f0;
  border-radius: 12px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  display: grid;
  gap: 2px;
}

.ib-date-period-summary strong {
  color: #0f172a;
  font-size: .92rem;
}

.ib-date-period-summary span {
  color: #64748b;
  font-size: .8rem;
}

.ib-date-period-summary__error {
  color: #b91c1c;
  font-size: .78rem;
  font-weight: 600;
}

.ib-date-period-summary.is-valid {
  border-color: #86efac;
  background: #f0fdf4;
}

.ib-date-period-summary.is-invalid {
  border-color: #fecaca;
  background: #fff1f2;
}

.ib-step4-grid {
  align-items: start;
}

.ib-step4-grid > .creators-field {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.ib-project-review { border: 1px solid #dbe4f0; border-radius: 14px; background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); padding: 14px; }
.ib-project-review {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.ib-project-review h3 { margin: 0 0 10px; font-size: .95rem; color: #0f172a; }
.ib-project-review dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ib-project-review dt { color: #64748b; font-size: 12px; }
.ib-project-review dd { margin: 3px 0 0; color: #0f172a; font-weight: 600; word-break: break-word; }

.ib-project-review__sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ib-project-review-section {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 10px;
  display: grid;
  gap: 6px;
}

.ib-project-review-section h4 {
  margin: 0;
  color: #0f172a;
  font-size: .83rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.ib-project-review-section p {
  margin: 0;
  color: #334155;
  font-size: .84rem;
  line-height: 1.35;
}

.ib-project-review-section strong {
  color: #0f172a;
}

.ib-project-review__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 24px;
}

.ib-project-review-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  padding: 2px 8px;
  font-size: .76rem;
  font-weight: 700;
}

.ib-project-review__attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 30px;
}

.ib-project-review-attachment {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #dbe4f0;
  background: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  overflow: hidden;
  font-size: .72rem;
  font-weight: 700;
}

.ib-project-review-attachment--media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ib-project-review-attachment--doc i {
  font-size: .9rem;
}

.ib-project-review-attachment--more {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.ib-project-wizard__actions {
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  border-top: 1px solid #e2e8f0;
  padding-top: 14px;
}

.ib-project-wizard__actions [hidden] {
  display: none !important;
}

.ib-project-wizard__actions .ib-btn {
  min-height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ib-project-wizard__btn-primary {
  min-width: 210px;
  margin-left: auto;
  box-shadow: 0 12px 22px rgba(2, 132, 199, 0.25);
}

.ib-project-wizard__btn-secondary {
  min-width: 126px;
  border: 1px solid #cbd5e1;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: #0f172a;
  font-weight: 700;
}

.ib-project-wizard__btn-secondary:hover,
.ib-project-wizard__btn-secondary:focus {
  border-color: #94a3b8;
  background: #ffffff;
}

.ib-project-wizard__btn-secondary::before {
  content: '\2190';
  margin-right: 7px;
  font-size: .95rem;
  line-height: 1;
}

.ib-wizard-step[data-wizard-step="1"] {
  border-color: rgba(56, 189, 248, 0.36);
  background:
    radial-gradient(760px 220px at 0% 0%, rgba(56, 189, 248, 0.11), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.97) 100%);
}

.ib-wizard-step[data-wizard-step="1"] > header p {
  color: #0f172a;
  max-width: 62ch;
}

.ib-wizard-step[data-wizard-step="1"] .ib-project-title-input {
  width: calc(100% - 2em) !important;
  max-width: 100%;
  min-height: 46px;
  border-color: #93c5fd;
  font-size: .95rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.ib-wizard-step[data-wizard-step="1"] [data-category-section] {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-color: #dbeafe;
}

.ib-wizard-step[data-wizard-step="1"] .ib-project-categories-head {
  margin-bottom: 8px;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ib-wizard-step[data-wizard-step="1"] .ib-project-categories-head > span {
  font-size: .95rem;
  color: #0f172a;
  font-weight: 800;
}

.ib-wizard-step[data-wizard-step="1"] .ib-project-categories-counter {
  margin-left: auto;
  padding: 2px 9px;
  font-size: 11px;
}

.ib-wizard-step[data-wizard-step="1"] [data-category-section] .ib-check-pill {
  position: relative;
  border-color: #dbe4f0;
  border-radius: 14px;
  min-height: 44px;
  padding: 10px 12px 10px 14px;
  cursor: pointer;
}

.ib-wizard-step[data-wizard-step="1"] [data-category-section] .ib-check-pill input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.ib-wizard-step[data-wizard-step="1"] [data-category-section] .ib-check-pill span {
  font-size: .84rem;
  font-weight: 700;
  color: #1e293b;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ib-wizard-step[data-wizard-step="1"] [data-category-section] .ib-check-pill span::before {
  content: '';
  width: 8px;
  height: 8px;
  top: 6px !important;
  left: 5px !important;
  border-radius: 999px;
  background: #94a3b8;
  box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.2);
}

.ib-wizard-step[data-wizard-step="1"] [data-category-section] .ib-check-pill:has(input:checked) span::before {
  content: '';
  width: 8px;
  height: 8px;
  top: 6px !important;
  left: 5px !important;
  border-radius: 999px;
  background: #94a3b8;
  box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.2);
}

.ib-wizard-step[data-wizard-step="1"] [data-category-section] .ib-check-pill:has(input:checked) {
  border-color: #0ea5e9;
  background: linear-gradient(180deg, #ecfeff 0%, #eff6ff 100%);
  box-shadow: 0 0 0 2px rgba(14, 165, 233, .14);
}

.ib-wizard-step[data-wizard-step="1"] [data-category-section] .ib-check-pill:has(input:checked) span {
  color: #0c4a6e;
}

.ib-wizard-step[data-wizard-step="1"] [data-category-section] .ib-check-pill:has(input:checked) span::before {
  background: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.ib-wizard-step[data-wizard-step="1"] textarea[name="objective"] {
  min-height: 190px;
}

.ib-wizard-step[data-wizard-step="1"] .ck.ck-editor__main > .ck-editor__editable,
.ib-wizard-step[data-wizard-step="1"] .ck-content,
.ib-wizard-step[data-wizard-step="1"] .ck-content p,
.ib-wizard-step[data-wizard-step="1"] .ck-content li,
.ib-wizard-step[data-wizard-step="1"] .ck-content td,
.ib-wizard-step[data-wizard-step="1"] .ck-content th,
.ib-wizard-step[data-wizard-step="1"] .ck-content h1,
.ib-wizard-step[data-wizard-step="1"] .ck-content h2,
.ib-wizard-step[data-wizard-step="1"] .ck-content h3,
.ib-wizard-step[data-wizard-step="1"] .ck-content blockquote {
  color: #020617;
}

.ib-wizard-step[data-wizard-step="1"] .ck.ck-toolbar,
.ib-wizard-step[data-wizard-step="1"] .ck.ck-editor__main > .ck-editor__editable {
  border-color: rgba(148, 163, 184, 0.45);
}

.ib-wizard-step[data-wizard-step="1"] .ck.ck-editor {
  position: relative;
}

.ib-wizard-step[data-wizard-step="1"] .ck-content {
  font-size: 15px;
  line-height: 1.85;
  color: #0f172a;
}

.ib-wizard-step[data-wizard-step="1"] .ck-content p {
  margin: 0 0 14px;
  color: rgba(15, 23, 42, 0.9);
}

.ib-wizard-step[data-wizard-step="1"] .ck-content h2,
.ib-wizard-step[data-wizard-step="1"] .ck-content h3,
.ib-wizard-step[data-wizard-step="1"] .ck-content h4 {
  margin: 20px 0 10px;
  color: #0f172a;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.03em;
}

.ib-wizard-step[data-wizard-step="1"] .ck-content h2 {
  font-size: 1.42rem;
}

.ib-wizard-step[data-wizard-step="1"] .ck-content h3 {
  font-size: 1.18rem;
}

.ib-wizard-step[data-wizard-step="1"] .ck-content h4 {
  font-size: 0.96rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #334155;
}

.ib-wizard-step[data-wizard-step="1"] .ck-content ul,
.ib-wizard-step[data-wizard-step="1"] .ck-content ol {
  display: block;
  margin: 14px 0 18px 1.4rem;
  padding: 0;
  list-style: none;
}

.ib-wizard-step[data-wizard-step="1"] .ck-content ul {
  list-style: none !important;
}

.ib-wizard-step[data-wizard-step="1"] .ck-content ol {
  list-style: none !important;
  counter-reset: ib-wizard-rich-ol;
}

.ib-wizard-step[data-wizard-step="1"] .ck-content li {
  display: list-item !important;
  position: relative;
  margin: 0 0 0.56em;
  padding: 0.05rem 0 0.05rem 1.85rem;
  color: rgba(15, 23, 42, 0.96) !important;
}

.ib-wizard-step[data-wizard-step="1"] .ck-content li * {
  color: rgba(15, 23, 42, 0.96) !important;
}

.ib-wizard-step[data-wizard-step="1"] .ck-content ul > li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0.22rem;
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 999px;
  background: radial-gradient(circle at 32% 30%, #fda4af 0%, #f472b6 44%, #38bdf8 100%);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.16);
}

.ib-wizard-step[data-wizard-step="1"] .ck-content ol > li {
  counter-increment: ib-wizard-rich-ol;
}

.ib-wizard-step[data-wizard-step="1"] .ck-content ol > li::before {
  content: counter(ib-wizard-rich-ol);
  position: absolute;
  top: 0.2em;
  left: 0;
  min-width: 1.24rem;
  height: 1.24rem;
  padding: 0 0.24rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.96), rgba(37, 99, 235, 0.94));
  color: #031124;
  font-size: 0.74rem;
  font-weight: 900;
}

.ib-wizard-step[data-wizard-step="1"] .ck-content blockquote {
  margin: 16px 0;
  padding: 16px 18px 16px 20px;
  border-left: 4px solid #7c3aed;
  background: linear-gradient(135deg, rgba(238, 242, 255, 0.96), rgba(224, 231, 255, 0.92));
  border-radius: 0 16px 16px 0;
  color: #312e81;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.ib-wizard-step[data-wizard-step="1"] .ck.ck-toolbar {
  padding: 8px 10px;
  border-radius: 18px 18px 0 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  box-shadow: inset 0 -1px 0 rgba(148, 163, 184, 0.18);
}

.ib-wizard-step[data-wizard-step="1"] .ck.ck-toolbar .ck-button,
.ib-wizard-step[data-wizard-step="1"] .ck.ck-toolbar .ck.ck-dropdown__button {
  border-radius: 12px;
  color: #334155;
}

.ib-wizard-step[data-wizard-step="1"] .ck.ck-toolbar .ck-button:hover,
.ib-wizard-step[data-wizard-step="1"] .ck.ck-toolbar .ck-button.ck-on,
.ib-wizard-step[data-wizard-step="1"] .ck.ck-toolbar .ck.ck-dropdown__button:hover,
.ib-wizard-step[data-wizard-step="1"] .ck.ck-toolbar .ck.ck-dropdown__button.ck-on {
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.14), rgba(125, 211, 252, 0.2));
  color: #0f172a;
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.2);
}

.ib-wizard-step[data-wizard-step="1"] .ck.ck-dropdown__panel,
.ib-wizard-step[data-wizard-step="1"] .ck.ck-list {
  border-radius: 16px;
  border-color: rgba(148, 163, 184, 0.32);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
}

.ib-wizard-step[data-wizard-step="1"] .ck.ck-editor__main > .ck-editor__editable {
  min-height: 360px;
  padding: 24px 24px 28px;
  border-radius: 0 0 22px 22px;
  background:
    radial-gradient(360px 180px at 0% 0%, rgba(251, 113, 133, 0.07), transparent 60%),
    radial-gradient(420px 200px at 100% 100%, rgba(56, 189, 248, 0.08), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 0 0 1px rgba(148, 163, 184, 0.12);
}

.ib-wizard-step[data-wizard-step="1"] .ck-content table,
.ib-wizard-step[data-wizard-step="1"] .ck-content table td,
.ib-wizard-step[data-wizard-step="1"] .ck-content table th {
  border-color: #cbd5e1;
}

.ib-wizard-step[data-wizard-step="1"] .ck-content table {
  border-radius: 16px;
  overflow: hidden;
}

.ib-wizard-step[data-wizard-step="1"] .ck-content table th {
  background: #eff6ff;
  color: #0f172a;
  font-weight: 800;
}

.ib-wizard-step[data-wizard-step="1"] .ck-content a {
  color: #2563eb;
  font-weight: 700;
  text-decoration-color: rgba(37, 99, 235, 0.4);
  text-underline-offset: 0.18em;
}

.ib-wizard-step[data-wizard-step="1"] .ib-project-attachments {
  background: linear-gradient(180deg, #0a1222 0%, #0a1529 100%);
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 14px;
  padding: 12px;
  gap: 10px;
}

.ib-wizard-step[data-wizard-step="1"] .ib-project-attachments-grid {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
}

.ib-wizard-step[data-wizard-step="1"] .ib-project-attachment-card {
  min-height: 126px;
  border-color: rgba(100, 116, 139, 0.45);
  background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
  box-shadow: 0 10px 20px rgba(2, 6, 23, 0.45);
}

.ib-wizard-step[data-wizard-step="1"] .ib-project-attachment-card__media {
  min-height: 84px;
}

.ib-wizard-step[data-wizard-step="1"] .ib-project-attachment-card__media .ib-media-card__thumb {
  position: relative;
  width: 100%;
  height: 84px;
  min-height: 84px;
  max-height: 84px;
  overflow: hidden;
}

.ib-wizard-step[data-wizard-step="1"] .ib-project-attachment-card__media .ib-media-card__thumb img,
.ib-wizard-step[data-wizard-step="1"] .ib-project-attachment-card__media .ib-media-card__thumb video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block !important;
  margin: 0 !important;
}

.ib-wizard-step[data-wizard-step="1"] .ib-project-attachment-card__meta {
  padding: 8px 10px 10px;
}

.ib-wizard-step[data-wizard-step="1"] .ib-project-attachment-card__name,
.ib-wizard-step[data-wizard-step="1"] .ib-project-attachment-card__size,
.ib-wizard-step[data-wizard-step="1"] .ib-project-attachment-card__doc-name,
.ib-wizard-step[data-wizard-step="1"] .ib-project-attachment-card__doc-meta {
  color: #e2e8f0;
}

.ib-wizard-step[data-wizard-step="1"] .ib-media-card__play-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(79, 174, 255, 0.98), rgba(59, 130, 246, 0.9));
  box-shadow: 0 10px 20px rgba(56, 189, 248, 0.4), inset 0 1px 3px rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 18px !important;
}

.ib-wizard-step[data-wizard-step="1"] .ib-media-card__play-icon i {
  color: #ffffff;
}

.ib-wizard-step[data-wizard-step="1"] .ib-project-attachment-card__doc {
  min-height: 132px;
  background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
  color: #e2e8f0;
}

.ib-wizard-step[data-wizard-step="1"] .ib-project-attachment-card__remove {
  border-color: rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.9);
  color: #f8fafc;
}

.ib-wizard-step[data-wizard-step="1"] .ib-project-dropzone {
  border-color: rgba(56, 189, 248, 0.6);
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  min-height: 118px;
  display: grid;
  place-items: center;
}

.ib-wizard-step[data-wizard-step="1"] .ib-project-dropzone:hover,
.ib-wizard-step[data-wizard-step="1"] .ib-project-dropzone.is-active {
  border-color: #38bdf8;
  background: linear-gradient(180deg, #0b1a33 0%, #10203e 100%);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.24), 0 16px 24px rgba(2, 6, 23, 0.5);
}

.ib-wizard-step[data-wizard-step="1"] .ib-project-dropzone__content {
  min-height: 0;
  color: #cbd5e1;
  gap: 4px;
}

.ib-wizard-step[data-wizard-step="1"] .ib-project-dropzone__content svg {
  color: #38bdf8;
  margin: 0 auto !important;
}

.ib-wizard-step[data-wizard-step="1"] .ib-project-dropzone__title {
  font-size: .96rem;
  color: #f8fafc;
  font-weight: 800;
}

.ib-wizard-step[data-wizard-step="1"] .ib-project-dropzone__subtitle,
.ib-wizard-step[data-wizard-step="1"] .ib-project-dropzone__note {
  color: #a8b6ca;
}

.ib-wizard-step[data-wizard-step="1"] .ib-project-attachments__status {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(15, 23, 42, 0.72);
  color: #cdefff;
}

.ib-wizard-step[data-wizard-step="1"] .ib-project-attachment-uploading {
  min-height: 132px;
}

.ib-wizard-step[data-wizard-step="1"] .ib-project-attachment-uploading strong,
.ib-wizard-step[data-wizard-step="1"] .ib-project-attachment-uploading span {
  color: #dbeafe;
}

.ib-wizard-step[data-wizard-step="2"] {
  border-color: rgba(16, 185, 129, 0.3);
  background:
    radial-gradient(780px 220px at 100% 0%, rgba(16, 185, 129, 0.1), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 254, 250, 0.98) 100%);
}

.ib-wizard-step[data-wizard-step="2"] > header p {
  color: #0f172a;
}

.ib-wizard-step[data-wizard-step="2"] .creators-field {
  border-color: #ccefe3;
  background: linear-gradient(180deg, #ffffff 0%, #f8fffb 100%);
}

.ib-wizard-step[data-wizard-step="2"] .creators-field > span:first-child {
  font-size: .96rem;
  font-weight: 800;
}

.ib-wizard-step[data-wizard-step="2"] .ib-inline-help[data-format-hint] {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #166534;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  margin-top: 6px;
}

.ib-wizard-step[data-wizard-step="2"] .ib-channel-platforms-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.ib-wizard-step[data-wizard-step="2"] .ib-check-pill--platform {
  position: relative;
  min-height: 50px;
  padding: 10px 40px 10px 12px;
  border-radius: 14px;
  border-color: #cfe8df;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  cursor: pointer;
}

.ib-wizard-step[data-wizard-step="2"] .ib-check-pill--platform input {
  display: none !important;
}

.ib-wizard-step[data-wizard-step="2"] .ib-check-pill--platform input[type="checkbox"] + span,
.ib-wizard-step[data-wizard-step="2"] .ib-check-pill--format-card input[type="checkbox"] + span {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.ib-wizard-step[data-wizard-step="2"] .ib-check-pill--platform input[type="checkbox"] + span::before,
.ib-wizard-step[data-wizard-step="2"] .ib-check-pill--platform input[type="checkbox"] + span::after,
.ib-wizard-step[data-wizard-step="2"] .ib-check-pill--format-card input[type="checkbox"] + span::before,
.ib-wizard-step[data-wizard-step="2"] .ib-check-pill--format-card input[type="checkbox"] + span::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ib-wizard-step[data-wizard-step="2"] .ib-check-pill--platform .ib-check-pill__icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: #e8fff4;
  color: #0f766e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ib-wizard-step[data-wizard-step="2"] .ib-check-pill--platform .ib-check-pill__text {
  font-size: .9rem;
  color: #0f172a;
  font-weight: 700;
  line-height: 1.2;
}

.ib-wizard-step[data-wizard-step="2"] .ib-check-pill--platform::after {
  content: '';
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid #94a3b8;
  background: #ffffff;
  box-shadow: inset 0 0 0 3px #ffffff;
}

.ib-wizard-step[data-wizard-step="2"] .ib-check-pill--platform:has(input:checked) {
  border-color: #10b981;
  background: linear-gradient(180deg, #ecfdf5 0%, #dcfce7 100%);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, .16), 0 12px 18px rgba(5, 150, 105, .12);
}

.ib-wizard-step[data-wizard-step="2"] .ib-check-pill--platform:has(input:checked) .ib-check-pill__icon {
  background: #10b981;
  color: #ecfdf5;
}

.ib-wizard-step[data-wizard-step="2"] .ib-check-pill--platform:has(input:checked)::after {
  border-color: #059669;
  background: #10b981;
  box-shadow: inset 0 0 0 4px #ecfdf5;
}

.ib-wizard-step[data-wizard-step="2"] .ib-format-cards-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ib-wizard-step[data-wizard-step="2"] .ib-check-pill--format-card {
  position: relative;
  grid-template-columns: 1fr;
  gap: 6px;
  min-height: 96px;
  border-radius: 14px;
  border-color: #d1e5dc;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 11px 12px;
  cursor: pointer;
}

.ib-wizard-step[data-wizard-step="2"] .ib-check-pill--format-card input {
  display: none !important;
}

.ib-wizard-step[data-wizard-step="2"] .ib-check-pill--format-card::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid #94a3b8;
  background: #ffffff;
}

.ib-wizard-step[data-wizard-step="2"] .ib-format-card__name,
.ib-wizard-step[data-wizard-step="2"] .ib-format-card__meta {
  grid-column: 1;
}

.ib-wizard-step[data-wizard-step="2"] .ib-format-card__name {
  color: #0f172a;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .01em;
}

.ib-wizard-step[data-wizard-step="2"] .ib-format-card__meta {
  color: #475569;
  font-size: .76rem;
  line-height: 1.4;
}

.ib-wizard-step[data-wizard-step="2"] .ib-check-pill--format-card:has(input:checked) {
  border-color: #10b981;
  background: linear-gradient(180deg, #ecfdf5 0%, #dcfce7 100%);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, .16), 0 12px 18px rgba(5, 150, 105, .12);
}

.ib-wizard-step[data-wizard-step="2"] .ib-check-pill--format-card:has(input:checked)::after {
  content: '\2713';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: #059669;
  background: #10b981;
  color: #ecfdf5;
  font-size: 12px;
  font-weight: 800;
}

.ib-wizard-step[data-wizard-step="2"] .ib-check-pill--format-card:has(input:checked) .ib-format-card__name {
  color: #065f46;
}

.ib-wizard-step[data-wizard-step="2"] .ib-check-pill--format-card:has(input:checked) .ib-format-card__meta {
  color: #047857;
}

.ib-wizard-step[data-wizard-step="2"] .ib-check-pill--format-card.is-disabled {
  border-color: #e2e8f0;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  box-shadow: none;
  opacity: .74;
  cursor: not-allowed;
  pointer-events: none;
}

.ib-wizard-step[data-wizard-step="2"] .ib-check-pill--format-card.is-disabled::after {
  content: '\2212';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: #cbd5e1;
  background: #e2e8f0;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 800;
}

.ib-wizard-step[data-wizard-step="2"] .ib-check-pill--format-card.is-disabled .ib-format-card__name,
.ib-wizard-step[data-wizard-step="2"] .ib-check-pill--format-card.is-disabled .ib-format-card__meta {
  color: #94a3b8;
}

.ib-wizard-step[data-wizard-step="3"] {
  border-color: rgba(245, 158, 11, 0.34);
  background:
    radial-gradient(760px 220px at 0% 0%, rgba(245, 158, 11, 0.11), transparent 66%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 251, 235, 0.98) 100%);
}

.ib-wizard-step[data-wizard-step="3"] > header p {
  color: #0f172a;
}

.ib-wizard-step[data-wizard-step="3"] .ib-date-period-summary {
  border-color: #fcd34d;
  border-radius: 14px;
  padding: 12px 14px;
  background: linear-gradient(180deg, #fff7d6 0%, #fffbeb 100%);
  box-shadow: 0 8px 18px rgba(146, 64, 14, 0.12);
  gap: 3px;
}

.ib-wizard-step[data-wizard-step="3"] .ib-date-period-summary strong {
  color: #78350f;
  font-size: .96rem;
  font-weight: 800;
}

.ib-wizard-step[data-wizard-step="3"] .ib-date-period-summary span {
  color: #92400e;
  font-size: .82rem;
}

.ib-wizard-step[data-wizard-step="3"] .ib-date-period-summary.is-valid {
  border-color: #34d399;
  background: linear-gradient(180deg, #ecfdf5 0%, #dcfce7 100%);
  box-shadow: 0 8px 18px rgba(5, 150, 105, 0.14);
}

.ib-wizard-step[data-wizard-step="3"] .ib-date-period-summary.is-valid strong,
.ib-wizard-step[data-wizard-step="3"] .ib-date-period-summary.is-valid span {
  color: #065f46;
}

.ib-wizard-step[data-wizard-step="3"] .ib-date-period-summary.is-invalid {
  border-color: #fca5a5;
  background: linear-gradient(180deg, #fff1f2 0%, #ffe4e6 100%);
  box-shadow: 0 8px 18px rgba(220, 38, 38, 0.12);
}

.ib-wizard-step[data-wizard-step="3"] .ib-date-period-summary.is-invalid strong,
.ib-wizard-step[data-wizard-step="3"] .ib-date-period-summary.is-invalid span,
.ib-wizard-step[data-wizard-step="3"] .ib-date-period-summary.is-invalid .ib-date-period-summary__error {
  color: #9f1239;
}

.ib-wizard-step[data-wizard-step="3"] .ib-step3-dates-grid {
  gap: 12px;
}

.ib-wizard-step[data-wizard-step="3"] .ib-step3-dates-grid .creators-field {
  border-color: #fed7aa;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.ib-wizard-step[data-wizard-step="3"] .ib-step3-dates-grid .creators-field > span {
  color: #7c2d12;
  font-size: .98rem;
  font-weight: 800;
}

.ib-wizard-step[data-wizard-step="3"] .ib-step3-dates-grid .ib-inline-help {
  color: #9a3412;
  font-size: .75rem;
}

.ib-wizard-step[data-wizard-step="3"] input[type="date"].ib-input {
  min-height: 44px;
  border-color: #fdba74;
  background: #ffffff;
  color: #431407;
  font-weight: 700;
}

.ib-wizard-step[data-wizard-step="3"] input[type="date"].ib-input:focus {
  border-color: #fb923c;
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.2);
}

.ib-wizard-step[data-wizard-step="3"] input[type="date"].ib-input::-webkit-calendar-picker-indicator {
  opacity: .85;
  cursor: pointer;
}

.ib-wizard-step[data-wizard-step="3"] .ib-error {
  color: #b91c1c;
}

.ib-wizard-step[data-wizard-step="4"] {
  border-color: rgba(168, 85, 247, 0.32);
  background:
    radial-gradient(760px 230px at 100% 0%, rgba(168, 85, 247, 0.12), transparent 66%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 245, 255, 0.98) 100%);
}

.ib-wizard-step[data-wizard-step="4"] > header p {
  color: #0f172a;
}

.ib-wizard-step[data-wizard-step="4"] .ib-step4-grid {
  gap: 12px;
}

.ib-wizard-step[data-wizard-step="4"] .ib-step4-grid > .creators-field {
  border-color: #e9d5ff;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #faf5ff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.ib-wizard-step[data-wizard-step="4"] .ib-step4-grid > .creators-field > span {
  color: #4c1d95;
  font-size: .98rem;
  font-weight: 800;
}

.ib-wizard-step[data-wizard-step="4"] .ib-step4-grid .ib-inline-help {
  color: #6b21a8;
  font-size: .75rem;
}

.ib-wizard-step[data-wizard-step="4"] .ib-step4-grid .ib-check-grid {
  gap: 10px;
}

.ib-wizard-step[data-wizard-step="4"] .ib-step4-grid .ib-check-pill {
  position: relative;
  min-height: 48px;
  border-radius: 14px;
  border-color: #ddd6fe;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 10px 40px 10px 12px;
  cursor: pointer;
}

.ib-wizard-step[data-wizard-step="4"] .ib-step4-grid .ib-check-pill input[type="radio"] {
  display: none !important;
}

.ib-wizard-step[data-wizard-step="4"] .ib-step4-grid .ib-check-pill input[type="radio"] + span {
  padding-left: 0 !important;
  margin-left: 0 !important;
  color: #0f172a;
  font-size: .88rem;
  font-weight: 700;
}

.ib-wizard-step[data-wizard-step="4"] .ib-step4-grid .ib-check-pill input[type="radio"] + span::before,
.ib-wizard-step[data-wizard-step="4"] .ib-step4-grid .ib-check-pill input[type="radio"] + span::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ib-wizard-step[data-wizard-step="4"] .ib-step4-grid .ib-check-pill::after {
  content: '';
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid #a78bfa;
  background: #ffffff;
  box-shadow: inset 0 0 0 3px #ffffff;
}

.ib-wizard-step[data-wizard-step="4"] .ib-step4-grid .ib-check-pill:has(input[type="radio"]:checked) {
  border-color: #8b5cf6;
  background: linear-gradient(180deg, #f5f3ff 0%, #ede9fe 100%);
  box-shadow: 0 0 0 2px rgba(139, 92, 246, .14), 0 12px 18px rgba(109, 40, 217, .12);
}

.ib-wizard-step[data-wizard-step="4"] .ib-step4-grid .ib-check-pill:has(input[type="radio"]:checked) span {
  color: #5b21b6;
}

.ib-wizard-step[data-wizard-step="4"] .ib-step4-grid .ib-check-pill:has(input[type="radio"]:checked)::after {
  border-color: #7c3aed;
  background: #8b5cf6;
  box-shadow: inset 0 0 0 4px #ede9fe;
}

.ib-wizard-step[data-wizard-step="4"] .ib-slot-presets {
  gap: 10px;
}

.ib-wizard-step[data-wizard-step="4"] .ib-slot-stepper {
  margin-top: 12px;
  align-items: center;
  gap: 10px;
}

.ib-wizard-step[data-wizard-step="4"] .ib-slot-stepper .ib-input {
  width: 136px;
  min-height: 44px;
  border-color: #c4b5fd;
  background: #ffffff;
  color: #4c1d95;
  font-size: 1rem;
}

.ib-wizard-step[data-wizard-step="4"] .ib-slot-stepper .ib-btn {
  min-width: 44px;
  min-height: 44px;
  border-color: #c4b5fd;
  background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%);
  color: #6d28d9;
  font-weight: 800;
}

.ib-wizard-step[data-wizard-step="4"] .ib-slot-stepper .ib-btn:hover,
.ib-wizard-step[data-wizard-step="4"] .ib-slot-stepper .ib-btn:focus {
  border-color: #8b5cf6;
  background: #ede9fe;
}

.ib-wizard-step[data-wizard-step="5"] {
  border-color: rgba(234, 179, 8, 0.34);
  background:
    radial-gradient(760px 240px at 100% 0%, rgba(234, 179, 8, 0.12), transparent 66%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(254, 252, 232, 0.98) 100%);
}

.ib-wizard-step[data-wizard-step="5"] > header p {
  color: #0f172a;
}

.ib-wizard-step[data-wizard-step="5"] .creators-field {
  border-color: #fde68a;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%);
}

.ib-wizard-step[data-wizard-step="5"] .creators-field > span:first-child {
  color: #713f12;
  font-size: .95rem;
  font-weight: 800;
}

.ib-wizard-step[data-wizard-step="5"] .ib-inline-help {
  color: #92400e;
  font-size: .75rem;
}

.ib-wizard-step[data-wizard-step="5"] .ib-check-pill--visibility {
  position: relative;
  min-height: 98px;
  border-color: #fcd34d;
  background: linear-gradient(180deg, #ffffff 0%, #fefce8 100%);
  padding: 12px 40px 12px 12px;
  cursor: pointer;
}

.ib-wizard-step[data-wizard-step="5"] .ib-check-pill--visibility input[type="radio"] {
  display: none !important;
}

.ib-wizard-step[data-wizard-step="5"] .ib-check-pill--visibility input[type="radio"] + .ib-check-pill__content::before,
.ib-wizard-step[data-wizard-step="5"] .ib-check-pill--visibility input[type="radio"] + .ib-check-pill__content::after {
  content: none !important;
  display: none !important;
}

.ib-wizard-step[data-wizard-step="5"] .ib-check-pill--visibility::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 11px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid #d97706;
  background: #ffffff;
  box-shadow: inset 0 0 0 3px #ffffff;
}

.ib-wizard-step[data-wizard-step="5"] .ib-check-pill--visibility:has(input[type="radio"]:checked) {
  border-color: #f59e0b;
  background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, .16), 0 12px 18px rgba(180, 83, 9, .12);
}

.ib-wizard-step[data-wizard-step="5"] .ib-check-pill--visibility:has(input[type="radio"]:checked)::after {
  border-color: #b45309;
  background: #f59e0b;
  box-shadow: inset 0 0 0 4px #fffbeb;
}

.ib-wizard-step[data-wizard-step="5"] .ib-check-pill--visibility .ib-check-pill__content strong {
  color: #451a03;
  font-size: .92rem;
}

.ib-wizard-step[data-wizard-step="5"] .ib-check-pill--visibility .ib-check-pill__content small {
  color: #78350f;
  width: 100%;
  float: left;
}

.ib-wizard-step[data-wizard-step="5"] .ib-check-pill:has([data-language-check]) {
  position: relative;
  min-height: 44px;
  border-color: #fde68a;
  background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%);
  border-radius: 12px;
  padding: 9px 34px 9px 12px;
  cursor: pointer;
}

.ib-wizard-step[data-wizard-step="5"] .ib-check-pill [data-language-check] {
  display: none !important;
}

.ib-wizard-step[data-wizard-step="5"] .ib-check-pill:has([data-language-check]) > span {
  padding-left: 0 !important;
  margin-left: 0 !important;
  font-size: .84rem;
  font-weight: 700;
  color: #451a03;
}

.ib-wizard-step[data-wizard-step="5"] .ib-check-pill:has([data-language-check]) > span::before,
.ib-wizard-step[data-wizard-step="5"] .ib-check-pill:has([data-language-check]) > span::after {
  content: none !important;
  display: none !important;
}

.ib-wizard-step[data-wizard-step="5"] .ib-check-pill:has([data-language-check])::after {
  content: '';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid #f59e0b;
  background: #ffffff;
}

.ib-wizard-step[data-wizard-step="5"] .ib-check-pill:has([data-language-check]:checked) {
  border-color: #f59e0b;
  background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, .15);
}

.ib-wizard-step[data-wizard-step="5"] .ib-check-pill:has([data-language-check]:checked)::after {
  content: '\2713';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fffbeb;
  background: #f59e0b;
  border-color: #b45309;
  font-size: 10px;
  font-weight: 800;
}

.ib-wizard-step[data-wizard-step="5"] .ib-project-review {
  border-color: #fcd34d;
  border-radius: 16px;
  background:
    linear-gradient(180deg, #0f172a 0%, #111827 100%) padding-box,
    linear-gradient(130deg, rgba(245, 158, 11, 0.55), rgba(56, 189, 248, 0.35)) border-box;
  box-shadow: 0 18px 34px rgba(2, 6, 23, 0.44);
}

.ib-wizard-step[data-wizard-step="5"] .ib-project-review h3 {
  color: #f8fafc;
  font-size: 1rem;
}

.ib-wizard-step[data-wizard-step="5"] .ib-project-review__sections {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ib-wizard-step[data-wizard-step="5"] .ib-project-review-section {
  border-color: rgba(148, 163, 184, 0.38);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(30, 41, 59, 0.62));
  min-height: 72px;
}

.ib-wizard-step[data-wizard-step="5"] .ib-project-review-section h4 {
  color: #fde68a;
}

.ib-wizard-step[data-wizard-step="5"] .ib-project-review-section p {
  color: #e2e8f0;
}

.ib-wizard-step[data-wizard-step="5"] .ib-project-review-section strong {
  color: #f8fafc;
}

.ib-wizard-step[data-wizard-step="5"] .ib-project-review-chip {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.16);
  color: #fef3c7;
}

.ib-wizard-step[data-wizard-step="5"] .ib-project-review-attachment {
  border-color: rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.76);
  color: #cbd5e1;
}

.ib-wizard-step[data-wizard-step="5"] .ib-project-review-attachment--more {
  border-color: rgba(245, 158, 11, 0.6);
  background: rgba(245, 158, 11, 0.18);
  color: #fde68a;
}

.ib-wizard-step[data-wizard-step="5"] .ib-project-review-section--attachments {
  grid-column: span 2;
}

@media (max-width: 980px) {
  .ib-wizard-step[data-wizard-step="5"] .ib-project-review__sections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ib-wizard-step[data-wizard-step="5"] .ib-project-review-section--attachments {
    grid-column: auto;
  }

  .ib-brand-content-grid,
  .ib-brand-empty-grid,
  .ib-brand-ops-layout,
  .ib-brand-ops-grid,
  .ib-brand-kpi-grid,
  .ib-brand-form-grid--2,
  .ib-brand-project-summary dl {
    grid-template-columns: 1fr;
  }

  .ib-brand-filter-row {
    grid-template-columns: 1fr;
  }

  .ib-brand-filter-row--projects {
    grid-template-columns: 1fr;
  }

  .ib-public-projects-filters {
    grid-template-columns: 1fr;
  }

  .ib-brand-filter-row__actions,
  .ib-brand-form__actions,
  .ib-public-projects-filters__actions {
    justify-content: flex-start;
  }

  .ib-brand-project-card__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ib-brand-timeframe__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .ib-brand-ops-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .ib-brand-first-action--full {
    min-height: 0;
  }

  .ib-brand-first-action__content {
    flex-direction: column;
    align-items: flex-start;
  }

  .ib-brand-first-action__side {
    width: 100%;
    min-width: 0;
  }

  .ib-brand-ops-priority__actions {
    width: 100%;
  }

  .ib-brand-ops-priority__actions .ib-btn,
  .ib-brand-ops-card__footer .ib-btn {
    width: 100%;
    justify-content: center;
  }

  .ib-brand-dashboard .ib-btn {
    min-height: 44px;
  }

  .ib-brand-first-action__actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .ib-brand-first-action__actions .ib-btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .ib-brand-list__item {
    flex-direction: column;
    align-items: flex-start;
  }

  .ib-brand-list__actions {
    width: 100%;
    justify-items: stretch;
  }

  .ib-brand-list__actions .ib-btn {
    width: 100%;
    justify-content: center;
  }

  .ib-brand-project-card__actions {
    width: 100%;
  }

  .ib-brand-preview-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .ib-brand-preview-banner__actions {
    width: 100%;
  }

  .ib-brand-preview-banner__actions .ib-btn {
    flex: 1 1 auto;
  }

  .ib-brand-project-card__actions .ib-btn {
    width: 100%;
    justify-content: center;
  }

  .ib-brand-projects-index .ib-brand-filter-row__actions {
    grid-template-columns: 1fr;
  }

  .ib-brand-project-card__header,
  .ib-brand-project-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .ib-brand-project-card__chips {
    justify-content: flex-start;
  }

  .ib-brand-project-card__meta {
    grid-template-columns: 1fr;
  }

  .ib-brand-project-card__footer .ib-brand-project-card__actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ib-brand-project-card__footer .ib-btn {
    width: 100%;
    justify-content: center;
  }

  .ib-brand-project-card__footer .ib-brand-project-card__actions .ib-btn:only-child {
    grid-column: 1 / -1;
  }

  .ib-brand-project-card__chips .ib-chip {
    min-height: 26px;
    font-size: .76rem;
    padding: 2px 9px;
  }
}

@media (max-width: 420px) {
  .ib-brand-project-card--premium {
    padding: 12px;
    gap: 10px;
  }

  .ib-brand-project-card__title-wrap h2 {
    font-size: .98rem;
  }

  .ib-brand-project-card__title-wrap p {
    font-size: .87rem;
  }

  .ib-brand-project-card__chips {
    gap: 5px;
  }

  .ib-brand-project-card__chips .ib-chip {
    min-height: 25px;
    font-size: .73rem;
    padding: 2px 8px;
  }

  .ib-brand-project-card__meta dt {
    font-size: 10px;
  }

  .ib-brand-project-card__meta dd {
    font-size: .9rem;
  }

  .ib-brand-project-card__footer .ib-brand-project-card__actions {
    gap: 8px;
  }

  .ib-brand-project-card__footer .ib-brand-project-card__actions .ib-btn,
  .ib-brand-projects-index .ib-brand-filter-row__actions .ib-btn {
    min-height: 40px;
    font-size: .85rem;
  }

  .ib-brand-projects-index .ib-btn {
    font-size: .83rem;
  }

  .ib-brand-match-grid {
    grid-template-columns: 1fr;
  }

  .ib-brand-matching-loading {
    padding: 32px 20px;
  }

  .ib-brand-matching-loading__pulse {
    width: 64px;
    height: 64px;
  }

  .ib-brand-matching-loading__steps {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 400px;
  }

  .ib-brand-matching-loading__steps li {
    min-height: 44px;
    font-size: 0.82rem;
  }

  [data-brand-project-matching] .ib-brand-hero {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 18px !important;
    gap: 18px;
  }

  [data-brand-project-matching] .ib-brand-hero h1 {
    font-size: clamp(1.5rem, 5vw, 1.9rem);
  }

  [data-brand-project-matching] .ib-brand-hero p {
    font-size: 0.95rem;
  }

  [data-brand-project-matching] .ib-brand-hero .ib-btn {
    width: 100%;
    min-width: 0;
  }

  [data-brand-project-matching] .ib-brand-filter-row {
    margin-bottom: 28px;
  }

  [data-brand-project-matching] .ib-brand-filter-row__actions {
    justify-content: stretch;
  }

  [data-brand-project-matching] .ib-brand-filter-row__actions .ib-btn {
    width: 100%;
  }

  .ib-brand-more-creators {
    margin-top: 26px;
    padding: 28px 16px;
  }

  .ib-brand-match-grid .creator-card__footer {
    grid-template-columns: 1fr;
  }

  .ib-brand-match-item__footer {
    justify-content: stretch;
  }

  .ib-brand-match-why {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .ib-brand-more-creators .ib-btn {
    width: 100%;
  }

  .ib-public-projects-grid {
    grid-template-columns: 1fr;
  }

  .ib-project-directory__hero {
    padding: 42px 0 18px;
  }

  .ib-project-list-card {
    padding: 18px;
  }

  .ib-project-list-card__meta {
    grid-template-columns: 1fr;
  }

  .ib-public-project-card {
    padding: 14px;
  }

  .ib-public-project-card__header,
  .ib-public-project-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .ib-public-project-card__meta {
    grid-template-columns: 1fr;
  }

  .ib-public-project-card__actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .ib-public-project-card__actions form,
  .ib-public-project-card__actions .ib-btn,
  .ib-public-project-card__actions .ib-btn + .ib-btn {
    width: 100%;
  }

  .ib-public-projects-pagination {
    justify-content: flex-start;
  }

  .ib-project-public-page__meta {
    grid-template-columns: 1fr;
  }

  .ib-project-public-page__actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .ib-project-public-page__actions .ib-btn,
  .ib-project-public-page__actions form,
  .ib-project-public-page__actions form .ib-btn {
    width: 100%;
  }

  .ib-project-list-card__actions,
  .ib-project-list-card__actions form,
  .ib-project-list-card__actions .ib-btn {
    width: 100%;
  }

  .ib-project-list-card__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ib-format-cards-grid {
    grid-template-columns: 1fr;
  }

  .ib-wizard-step[data-wizard-step="2"] .ib-format-cards-grid {
    grid-template-columns: 1fr;
  }

  .ib-wizard-step[data-wizard-step="5"] .ib-project-review__sections {
    grid-template-columns: 1fr;
  }

  .ib-brand-project-wizard-header {
    grid-template-columns: 1fr;
    padding: 12px 12px;
    gap: 10px;
  }

  .ib-brand-project-wizard-header .ib-btn {
    width: 100%;
    min-width: 0;
  }

  .ib-brand-project-wizard-header {
    position: static;
  }

  .ib-project-wizard { padding: 14px; }
  .ib-project-wizard__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ib-project-wizard__progress-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .ib-project-wizard__progress-meta {
    width: 100%;
    justify-content: space-between;
  }
  .ib-check-grid,
  .ib-slot-presets,
  .ib-visibility-cards,
  .ib-project-review dl { grid-template-columns: 1fr; }
  .ib-project-review__sections { grid-template-columns: 1fr; }
  .ib-slot-stepper .ib-input { width: 100%; }
  .ib-project-wizard__actions {
    flex-wrap: wrap;
  }
  .ib-project-wizard__actions .ib-btn {
    width: 100%;
    justify-content: center;
  }
  .ib-brand-project-wizard-header {
    border-radius: 14px;
    padding: 12px;
  }
  .ib-wizard-step {
    padding: 13px;

  /* =============================
     PROJECT PUBLIC PAGE - ADDITIONAL STYLES
     ============================= */

  /* Private Project State */
  .ib-project-private {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60vh;
    padding: 48px 24px;
    gap: 24px;
  }

  .ib-project-private__icon {
    color: var(--ib-muted);
    opacity: 0.6;
  }

  .ib-project-private__title {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    color: var(--ib-text);
    margin: 0;
  }

  .ib-project-private__text {
    font-size: 16px;
    color: var(--ib-muted);
    margin: 0;
    max-width: 420px;
  }

  /* Info Row (Formats, Languages) */
  .ib-project-info-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    padding: 12px 0;
    border-bottom: 1px solid var(--ib-border);
    font-size: 14px;
  }

  .ib-project-info-row:last-child {
    border-bottom: none;
  }

  .ib-project-info-row strong {
    color: var(--ib-text);
    font-weight: 600;
    white-space: nowrap;
  }

  .ib-project-info-row span {
    color: var(--ib-muted);
    flex: 1;
  }

  /* How It Works List */
  .ib-project-how-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .ib-project-how-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--ib-surface-soft);
    border: 1px solid var(--ib-border);
    border-radius: var(--ib-radius-sm);
    font-size: 15px;
    line-height: 1.6;
    color: var(--ib-text);
  }

  .ib-project-how-list li::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
    background: linear-gradient(135deg, var(--ib-accent), var(--ib-accent-2));
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
  }

  /* CTA Final (Guest Only) */
  .ib-project-cta-final {
    background: var(--ib-highlight);
    border-radius: var(--ib-radius-lg);
    padding: 48px 32px;
    margin-top: 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .ib-project-cta-final__title {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    color: #fff;
    margin: 0;
  }

  .ib-project-cta-final__text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 480px;
  }

  .ib-project-cta-final__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 12px;
  }

  .ib-project-cta-final__actions .ib-project-hero__form {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .ib-project-cta-final .ib-btn {
    min-width: 200px;
  }

  /* About Platform Text */
  .ib-project-about-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--ib-muted);
  }

  /* Responsive Adjustments */
  @media (max-width: 600px) {
    .ib-project-private {
      min-height: 50vh;
      padding: 32px 16px;
    }

    .ib-project-how-list li {
      padding: 12px;
      flex-direction: column;
      gap: 10px;
    }

    .ib-project-cta-final {
      padding: 32px 20px;
    }

    .ib-project-cta-final__actions {
      width: 100%;
    }

    .ib-project-cta-final .ib-btn {
      width: 100%;
      min-width: 0;
    }

    .ib-project-info-row {
      flex-direction: column;
      gap: 6px;
    }
  }
  }
.ib-project-wizard .creators-field {
  padding: 10px;
}
}

@media (max-width: 1080px) {
  .ib-project-directory__layout .creators-layout__wrap {
    grid-template-columns: 1fr;
  }

  .ib-project-directory__layout .creators-sidebar {
    display: block !important;
    position: static;
    top: auto;
    padding-right: 0;
  }
}
.ib-access-status-card {
  margin: 0 0 24px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.92)),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 55%);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
}

.ib-access-status-card--success {
  border-color: rgba(74, 222, 128, 0.25);
}

.ib-access-status-card--warning {
  border-color: rgba(251, 191, 36, 0.28);
}

.ib-access-status-card--info {
  border-color: rgba(56, 189, 248, 0.28);
}

.ib-access-status-card--danger {
  border-color: rgba(248, 113, 113, 0.28);
}

.ib-access-status-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.ib-access-status-card__eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.72);
}

.ib-access-status-card__title {
  margin: 0;
  color: #f8fafc;
  font-size: 1.35rem;
  line-height: 1.2;
}

.ib-access-status-card__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

.ib-access-status-card--launch {
  margin-bottom: 28px;
  border-width: 1px;
  background:
    linear-gradient(135deg, rgba(9, 24, 38, 0.96), rgba(16, 28, 43, 0.94)),
    radial-gradient(circle at 90% 12%, rgba(34, 211, 238, 0.18), transparent 58%);
}

.ib-access-status-card--launch-success {
  border-color: rgba(94, 234, 212, 0.34);
}

.ib-access-status-card--launch-warning {
  border-color: rgba(251, 191, 36, 0.46);
  box-shadow: 0 28px 72px rgba(15, 23, 42, 0.34);
}

.ib-access-status-card__head--launch {
  align-items: center;
}

.ib-access-status-card__pill--countdown {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(2, 6, 23, 0.35);
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}

.ib-access-status-card--launch-warning .ib-access-status-card__pill--countdown {
  border-color: rgba(251, 191, 36, 0.48);
  background: rgba(146, 64, 14, 0.24);
}

.ib-access-status-card__note--launch {
  margin-top: 12px;
  max-width: 760px;
  color: rgba(226, 232, 240, 0.94);
  font-size: 1rem;
}

.ib-access-status-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 16px;
  color: rgba(226, 232, 240, 0.82);
  font-size: 0.92rem;
}

.ib-access-status-card__meta strong {
  color: #f8fafc;
}

.ib-access-status-card__note {
  margin: 14px 0 0;
  color: rgba(226, 232, 240, 0.86);
  line-height: 1.6;
}

.ib-access-status-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

@media (max-width: 720px) {
  .ib-access-status-card {
    padding: 20px;
    border-radius: 20px;
  }

  .ib-access-status-card__head {
    flex-direction: column;
  }

  .ib-access-status-card__pill--countdown {
    width: 100%;
    justify-content: flex-start;
  }

  .ib-access-status-card__actions {
    flex-direction: column;
  }

  .ib-access-status-card__actions .ib-btn {
    width: 100%;
  }
}
.ib-billing-center {
  max-width: 1180px;
}

.ib-billing-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.ib-billing-hero__eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e1306c;
}

.ib-billing-hero h1 {
  margin: 0 0 10px;
  color: #0f172a;
}

.ib-billing-hero p {
  margin: 0;
  max-width: 720px;
  color: #475569;
  line-height: 1.7;
}

.ib-billing-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ib-billing-hero--didactic {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}

.ib-billing-hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ib-billing-hero__intro {
  display: grid;
  gap: 0;
}

.ib-billing-hero__title {
  margin: 0 0 10px;
  color: #0f172a;
}

.ib-billing-banner {
  margin-bottom: 16px;
  padding: 16px 18px;
  border-radius: 20px;
  background: #fff7ed;
  border: 1px solid rgba(249, 115, 22, 0.16);
  color: #9a3412;
}

.ib-billing-block {
  margin-bottom: 16px;
}

.ib-billing-status-shell {
  margin: 0;
}

.ib-billing-status-card {
  margin-bottom: 20px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.ib-billing-status-card--success {
  border-color: rgba(34, 197, 94, 0.18);
}

.ib-billing-status-card--warning {
  border-color: rgba(245, 158, 11, 0.18);
}

.ib-billing-status-card--danger {
  border-color: rgba(239, 68, 68, 0.18);
}

.ib-billing-status-card--info {
  border-color: rgba(14, 165, 233, 0.18);
}

.ib-billing-status-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.ib-billing-status-card__eyebrow,
.ib-billing-card__eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.ib-billing-status-card h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1.6rem;
}

.ib-billing-status-card__head p {
  margin: 10px 0 0;
  color: #475569;
}

.ib-billing-status-card__pill,
.ib-billing-plan-card__pill,
.ib-billing-history-item__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(100, 116, 139, 0.15) 0%, rgba(148, 163, 184, 0.08) 100%);
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.06em;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.ib-billing-status-card__body {
  margin: 16px 0 0;
  color: #334155;
  line-height: 1.7;
}

.ib-billing-status-card__actions,
.ib-billing-card__actions,
.ib-billing-history-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.ib-billing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.ib-billing-card,
.ib-billing-history-item,
.ib-billing-plan-card,
.ib-billing-empty {
  position: relative;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.ib-billing-card h3,
.ib-billing-history-item h3,
.ib-billing-plan-card h3 {
  margin: 0;
  color: #0f172a;
}

.ib-billing-card__metric,
.ib-billing-plan-card__price strong {
  display: block;
  margin: 10px 0 0;
  font-size: 1.7rem;
  color: #0f172a;
}

.ib-billing-card__meta,
.ib-billing-card__note,
.ib-billing-plan-card__description,
.ib-billing-plan-card__note,
.ib-billing-empty p {
  margin: 12px 0 0;
  color: #475569;
  line-height: 1.7;
}

.ib-billing-card__stack {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: #334155;
}

.ib-billing-inline-form,
.ib-billing-plan-card__form {
  margin: 0;
}

.ib-billing-section {
  margin-top: 24px;
}

.ib-billing-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.ib-billing-section__head h2 {
  margin: 0;
  color: #0f172a;
}

.ib-billing-section__head p {
  margin: 10px 0 0;
  color: #475569;
}

.ib-billing-history-list {
  display: grid;
  gap: 14px;
}

.ib-billing-history-item__details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.ib-billing-history-item__detail {
  display: grid;
  gap: 4px;
}

.ib-billing-history-item__detail span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.ib-billing-history-item__detail strong {
  color: #0f172a;
  font-size: 0.96rem;
}

.ib-billing-history-item__head,
.ib-billing-plan-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.ib-billing-history-item__head p,
.ib-billing-plan-card__highlight {
  margin: 8px 0 0;
  color: #e1306c;
  font-weight: 700;
}

.ib-billing-history-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 14px;
  color: #334155;
}

.ib-billing-history-item__pill--success {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(74, 222, 128, 0.08) 100%);
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.3);
}

.ib-billing-history-item__pill--warning {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(250, 204, 21, 0.08) 100%);
  color: #fcd34d;
  border-color: rgba(245, 158, 11, 0.3);
}

.ib-billing-history-item__pill--danger {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(248, 113, 113, 0.08) 100%);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.3);
}

.ib-billing-history-item__pill--info {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(147, 197, 253, 0.08) 100%);
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.3);
}

.ib-billing-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ib-billing-plan-card__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff1f2;
  color: #be123c;
  font-size: 0.74rem;
  font-weight: 700;
}

.ib-billing-plan-card__price {
  display: grid;
  gap: 4px;
  margin-top: 16px;
}

.ib-billing-plan-card__price span,
.ib-billing-plan-card__price small {
  color: #64748b;
}

.ib-billing-plan-card__list {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 18px;
  color: #334155;
}

.ib-billing-plan-card__current {
  display: inline-flex;
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #ecfeff;
  color: #155e75;
  font-weight: 700;
}

.ib-billing-plan-card.is-current {
  border-color: rgba(14, 165, 233, 0.22);
  box-shadow: 0 18px 44px rgba(14, 165, 233, 0.12);
}

.ib-account-plans-page .ib-billing-plan-grid {
  gap: 18px;
}

.ib-account-plans-page .ib-billing-plan-card {
  border-color: rgba(15, 23, 42, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ib-account-plans-page .ib-billing-plan-card:hover {
  transform: translateY(-2px);
  border-color: rgba(225, 48, 108, 0.28);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.1);
}

.ib-account-plans-page .ib-billing-plan-card.is-current {
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow: 0 22px 50px rgba(14, 165, 233, 0.14);
}

.ib-account-plans-page .ib-billing-plan-card__current {
  background: #ecfeff;
  color: #0f766e;
}

.ib-billing-cancel-panel {
  margin-bottom: 16px;
  padding: 20px 22px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.ib-billing-cancel-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ib-billing-cancel-panel__head h3 {
  margin: 0;
  color: #0f172a;
}

.ib-billing-cancel-panel__window {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.ib-billing-cancel-panel__window--warning {
  background: #fef3c7;
  color: #92400e;
}

.ib-billing-cancel-panel__window--neutral {
  background: #e2e8f0;
  color: #334155;
}

.ib-billing-cancel-panel__copy {
  margin: 12px 0 16px;
  color: #475569;
  line-height: 1.6;
}

.ib-billing-cancel-panel__muted {
  margin: 0;
  color: #64748b;
}

.ib-billing-cancel-modal {
  border-radius: 24px;
  max-height: 100% !important;
}

.ib-billing-cancel-modal .modal-content {
  padding: 26px;
}

.ib-billing-cancel-modal .modal-content h4 {
  margin: 0;
  color: #0f172a;
}

.ib-billing-cancel-modal__intro {
  margin: 10px 0 12px;
  color: #475569;
}

.ib-billing-cancel-modal__window {
  margin: 0 0 14px;
}

.ib-billing-cancel-modal__form {
  display: grid;
  gap: 10px;
}

.ib-billing-cancel-modal__form label {
  color: #334155;
  font-weight: 700;
  font-size: 0.9rem;
}

.ib-billing-cancel-modal__form textarea {
  min-height: 110px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  resize: vertical;
}

.ib-billing-cancel-modal__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 20px 20px;
}

@media (max-width: 1080px) {
  .ib-billing-grid,
  .ib-billing-plan-grid {
    grid-template-columns: 1fr;
  }

  .ib-billing-history-item__details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .ib-billing-hero,
  .ib-billing-status-card__head,
  .ib-billing-history-item__head,
  .ib-billing-plan-card__head {
    flex-direction: column;
  }

  .ib-billing-hero__top,
  .ib-billing-cancel-panel__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .ib-billing-status-card,
  .ib-billing-card,
  .ib-billing-history-item,
  .ib-billing-plan-card,
  .ib-billing-empty {
    padding: 20px;
    border-radius: 20px;
  }

  .ib-billing-status-card__actions,
  .ib-billing-card__actions,
  .ib-billing-history-item__actions,
  .ib-billing-hero__actions {
    flex-direction: column;
  }

  .ib-billing-status-card__actions .ib-btn,
  .ib-billing-card__actions .ib-btn,
  .ib-billing-history-item__actions .ib-btn,
  .ib-billing-hero__actions .ib-btn,
  .ib-billing-plan-card__form .ib-btn {
    width: 100%;
  }

  .ib-billing-history-item__details {
    grid-template-columns: 1fr;
  }

  .ib-billing-cancel-modal__footer {
    flex-direction: column;
    align-items: stretch;
  }
}

.ib-billing-status-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.ib-billing-status-card__pill--info {
  background: #e0f2fe;
  color: #075985;
}

.ib-app-context-banner {
  margin: 0 0 18px;
  padding: 20px 22px;
  border-radius: 24px;
  border: 1px solid rgba(59, 130, 246, 0.16);
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.18), transparent 42%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.96));
  color: #f8fafc;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.18);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.ib-app-context-banner__eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(191, 219, 254, 0.92);
}

.ib-app-context-banner h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: #ffffff;
}

.ib-app-context-banner p {
  margin: 0;
  max-width: 760px;
  color: rgba(226, 232, 240, 0.84);
  line-height: 1.7;
}

.ib-app-context-banner__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.ib-app-context-banner__pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.ib-support-page,
.ib-ticket-page {
  padding: 28px 0 52px;
}

.ib-support-page {
  max-width: 1180px;
}

.ib-ticket-page {
  max-width: 1120px;
}

.ib-support-hero,
.ib-ticket-panel,
.ib-support-modal__hero {
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.24), transparent 36%),
    linear-gradient(135deg, #0f172a, #1e293b);
  color: #f8fafc;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.2);
}

.ib-support-hero {
  padding: 32px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;

  .ib-support-modal__hero-badges {
    justify-content: flex-start;
  }
}

.ib-support-hero__eyebrow,
.ib-ticket-hero__eyebrow,
.ib-support-modal__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
  color: rgba(191, 219, 254, 0.92);
}

.ib-support-hero h1,
.ib-ticket-hero__title {
  margin: 10px 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.ib-ticket-hero__title {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.ib-support-hero p,
.ib-ticket-copy,
.ib-support-modal__subtitle {
  margin: 0;
  color: rgba(226, 232, 240, 0.86);
  line-height: 1.72;
}

.ib-support-hero__actions,
.ib-ticket-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ib-support-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.ib-support-summary__card,
.ib-support-filters,
.ib-support-card,
.ib-support-empty,
.ib-ticket-context-card,
.ib-ticket-message,
.ib-ticket-reply {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.ib-support-summary__card {
  padding: 22px;
}

.ib-support-summary__label {
  display: block;
  font-size: 0.78rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ib-support-summary__value {
  display: block;
  margin-top: 10px;
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
}

.ib-support-summary__meta {
  display: block;
  margin-top: 8px;
  color: #64748b;
  line-height: 1.5;
}

.ib-support-filters {
  margin-top: 22px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.ib-support-filter {
  display: grid;
  gap: 8px;
}

.ib-support-filter label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
}

.ib-support-filter select {
  height: 48px;
  border-radius: 14px;
  border: 1px solid #cbd5e1;
  padding: 0 12px;
  background: #fff;
}

.ib-support-filter--hint span {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-radius: 14px;
  padding: 0 14px;
  color: #64748b;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid #e2e8f0;
}

.ib-support-filter--actions {
  display: flex;
  justify-content: flex-end;
}

.ib-support-list,
.ib-ticket-thread {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.ib-support-card {
  padding: 24px;
}

.ib-support-card__top,
.ib-ticket-message__head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.ib-support-card__meta,
.ib-ticket-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ib-support-card__title {
  margin: 10px 0 8px;
  font-size: 1.22rem;
  color: #0f172a;
}

.ib-support-card__context,
.ib-support-card__body,
.ib-ticket-sidebar__meta,
.ib-ticket-context-card__body {
  color: #475569;
  line-height: 1.7;
}

.ib-support-card__updated,
.ib-support-card__updated-note {
  color: #64748b;
  font-size: 0.88rem;
}

.ib-support-card__actions,
.ib-ticket-context-card__actions,
.ib-ticket-reply__actions {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.ib-support-pill,
.ib-ticket-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 700;
}

.ib-support-pill--info,
.ib-ticket-pill--info {
  background: #e0f2fe;
  color: #075985;
}

.ib-support-pill--warning,
.ib-ticket-pill--warning {
  background: #fef3c7;
  color: #92400e;
}

.ib-support-pill--danger,
.ib-ticket-pill--danger {
  background: #fee2e2;
  color: #991b1b;
}

.ib-support-pill--success,
.ib-ticket-pill--success {
  background: #dcfce7;
  color: #166534;
}

.ib-support-pill--neutral,
.ib-ticket-pill--neutral {
  background: #e2e8f0;
  color: #334155;
}

.ib-support-empty {
  margin-top: 22px;
  padding: 34px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.98));
}

.ib-support-empty h3 {
  margin: 0 0 8px;
  color: #0f172a;
}

.ib-support-empty p {
  margin: 0;
  color: #64748b;
  line-height: 1.7;
}

.ib-ticket-hero {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 18px;
}

.ib-ticket-panel {
  padding: 28px;
}

.ib-ticket-sidebar__meta {
  display: grid;
  gap: 12px;
}

.ib-ticket-section {
  margin-top: 20px;
}

.ib-ticket-context-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ib-ticket-context-card {
  padding: 20px;
}

.ib-ticket-context-card__title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
  font-weight: 700;
}

.ib-ticket-context-card__body {
  margin-top: 10px;
  color: #0f172a;
  font-weight: 600;
}

.ib-ticket-message {
  padding: 18px 20px;
}

.ib-ticket-message--user {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(99, 102, 241, 0.1));
}

.ib-ticket-message--team {
  background: #ffffff;
}

.ib-ticket-message--system {
  background: #f8fafc;
}

.ib-ticket-message__head {
  color: #64748b;
  font-size: 0.88rem;
}

.ib-ticket-message__body {
  margin-top: 10px;
  color: #0f172a;
  white-space: pre-line;
  line-height: 1.7;
}

.ib-ticket-reply {
  padding: 22px;
}

.ib-ticket-reply__head h3 {
  margin: 0 0 6px;
  color: #0f172a;
}

.ib-ticket-reply__head p {
  margin: 0 0 14px;
  color: #64748b;
}

.ib-ticket-reply textarea,
.ib-support-modal__field textarea,
.ib-support-modal__grid input,
.ib-support-modal__grid .browser-default {
  border-radius: 16px !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: none !important;
  background: #fff !important;
}

.ib-ticket-reply textarea,
.ib-support-modal__field textarea {
  min-height: 220px;
  padding: 16px !important;
}

.ib-support-modal {
  border-radius: 22px;
  overflow: hidden;
  max-width: 860px;
  width: min(860px, calc(100vw - 20px));
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #ffffff;
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.24);
}

.ib-support-modal .modal-content {
  padding: 0;
}

.ib-support-modal__hero {
  padding: 20px 22px 12px;
  display: block;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.ib-support-modal__title {
  margin: 6px 0 6px;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  letter-spacing: -0.02em;
  color: #0f172a;
}

.ib-support-modal__subtitle {
  max-width: 72ch;
  color: #475569;
  font-size: 0.93rem;
  line-height: 1.55;
}

.ib-support-modal__form {
  padding: 16px 22px 0;
}

.ib-support-modal__grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.15fr);
  gap: 12px;
}

.ib-support-modal__grid .input-field {
  margin: 0;
}

.ib-support-modal__grid .browser-default,
.ib-support-modal__grid input {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  line-height: 48px;
  padding: 0 14px !important;
  border-radius: 12px !important;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  color: #0f172a !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.ib-support-modal__grid .browser-default:focus,
.ib-support-modal__grid input:focus,
.ib-support-modal__field textarea:focus {
  border-color: rgba(14, 116, 144, 0.6) !important;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15) !important;
  background: #ffffff !important;
}

.ib-support-modal__grid label,
.ib-support-modal__field label {
  color: #334155;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.ib-support-modal__field {
  margin-top: 12px;
}

.ib-support-modal__field textarea {
  min-height: 240px;
  border-radius: 12px !important;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  color: #0f172a !important;
  line-height: 1.55;
}

.ib-support-modal__grid .browser-default option {
  background: #ffffff;
  color: #0f172a;
}

.ib-support-modal__grid input::placeholder,
.ib-support-modal__field textarea::placeholder {
  color: #94a3b8;
}

.ib-support-modal__footer {
  padding: 14px 22px 20px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: #f8fafc;
}

.ib-support-modal__footer .btn-primary,
.ib-support-modal__footer .btn-ghost {
  min-height: 44px;
  border-radius: 10px;
  padding: 0 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.ib-support-modal__footer .btn-primary {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  border: 1px solid rgba(14, 165, 233, 0.36);
  color: #f8fafc;
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.24);
}

.ib-support-modal__footer .btn-ghost {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
}

.ib-support-list-page .ib-support-page {
  max-width: 1160px;
}

.ib-support-list-page .ib-support-hero {
  padding: 24px 26px;
  border-radius: 26px;
  align-items: center;
}

.ib-support-list-page .ib-support-hero h1 {
  margin: 8px 0 8px;
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  line-height: 1.15;
}

.ib-support-list-page .ib-support-hero p {
  max-width: 780px;
  line-height: 1.62;
}

.ib-support-list-page .ib-support-summary--compact {
  margin-top: 16px;
  gap: 12px;
}

.ib-support-list-page .ib-support-summary__card--compact {
  padding: 14px 16px;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.ib-support-list-page .ib-support-summary__label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.ib-support-list-page .ib-support-summary__value {
  margin-top: 6px;
  font-size: 1.45rem;
}

.ib-support-list-page .ib-support-summary__meta {
  margin-top: 4px;
  font-size: 0.82rem;
}

.ib-support-list-page .ib-support-filters {
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.ib-support-list-page .ib-support-filters__head {
  grid-column: 1 / -1;
}

.ib-support-list-page .ib-support-filters__head h2 {
  margin: 0;
  font-size: 1rem;
  color: #0f172a;
}

.ib-support-list-page .ib-support-filters__head p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 0.9rem;
}

.ib-support-list-page .ib-support-filter {
  gap: 6px;
}

.ib-support-list-page .ib-support-filter label {
  font-size: 0.74rem;
}

.ib-support-list-page .ib-support-filter select,
.ib-support-list-page .ib-support-filter--hint span {
  min-height: 42px;
  height: 42px;
  border-radius: 12px;
}

.ib-support-list-page .ib-support-filter--hint span {
  display: flex;
  align-items: center;
  font-size: 0.84rem;
  line-height: 1.45;
}

.ib-support-list-page .ib-support-filter--actions {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 10px;
}

.ib-support-list-page .ib-support-list {
  margin-top: 14px;
  gap: 12px;
}

.ib-support-list-page .ib-support-card {
  padding: 18px;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.ib-support-list-page .ib-support-card__meta {
  gap: 6px;
}

.ib-support-list-page .ib-support-pill {
  padding: 5px 10px;
  font-size: 0.72rem;
}

.ib-support-list-page .ib-support-card__title {
  margin: 8px 0 6px;
  font-size: 1.08rem;
}

.ib-support-list-page .ib-support-card__context {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.ib-support-list-page .ib-support-card__details {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ib-support-list-page .ib-support-card__detail {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.ib-support-list-page .ib-support-card__detail span {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
}

.ib-support-list-page .ib-support-card__detail strong {
  font-size: 0.85rem;
  color: #0f172a;
  line-height: 1.35;
  font-weight: 700;
}

.ib-support-list-page .ib-support-card__actions {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #eef2ff;
}

.ib-support-list-page .ib-support-card__updated-note {
  font-size: 0.82rem;
}

.ib-support-list-page .ib-support-card__actions .ib-btn {
  min-height: 38px;
  padding-top: 0;
  padding-bottom: 0;
}

.ib-ticket-case-page .ib-ticket-hero {
  grid-template-columns: 1fr;
}

.ib-ticket-case-page .ib-ticket-case-hero {
  padding: 24px;
  border-radius: 24px;
}

.ib-ticket-case-page .ib-ticket-hero__title {
  margin: 8px 0 8px;
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
}

.ib-ticket-case-page .ib-ticket-copy {
  line-height: 1.62;
  max-width: 900px;
}

.ib-ticket-case-page .ib-ticket-shortcuts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 50px;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: #ffffff;
}

.ib-ticket-case-page .ib-ticket-shortcuts__label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ib-ticket-case-page .ib-ticket-shortcuts__link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 0.82rem;
  font-weight: 700;
}

.ib-ticket-case-page .ib-ticket-shortcuts__empty {
  color: #64748b;
  font-size: 0.84rem;
}

.ib-ticket-case-page .ib-ticket-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ib-ticket-case-page .ib-ticket-case-card {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  border-radius: 20px;
  padding: 18px;
}

.ib-ticket-case-page .ib-ticket-case-card__head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1.05rem;
}

.ib-ticket-case-page .ib-ticket-case-card__head p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.5;
}

.ib-ticket-case-page .ib-ticket-case-card__empty {
  margin: 14px 0 0;
  color: #64748b;
}

.ib-ticket-case-page .ib-ticket-history-list,
.ib-ticket-case-page .ib-ticket-events-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.ib-ticket-case-page .ib-ticket-history-item,
.ib-ticket-case-page .ib-ticket-events-item {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px;
  background: #f8fafc;
}

.ib-ticket-case-page .ib-ticket-history-item__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.ib-ticket-case-page .ib-ticket-history-item__head strong,
.ib-ticket-case-page .ib-ticket-events-item strong {
  color: #0f172a;
  font-size: 0.9rem;
}

.ib-ticket-case-page .ib-ticket-history-item__head span {
  color: #64748b;
  font-size: 0.82rem;
}

.ib-ticket-case-page .ib-ticket-history-item p,
.ib-ticket-case-page .ib-ticket-events-item p {
  margin: 8px 0 0;
  color: #334155;
  font-size: 0.9rem;
  line-height: 1.55;
  white-space: pre-line;
}

.ib-ticket-case-page .ib-ticket-meta-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ib-ticket-case-page .ib-ticket-meta-grid__item {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.ib-ticket-case-page .ib-ticket-meta-grid__item span {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ib-ticket-case-page .ib-ticket-meta-grid__item strong {
  color: #0f172a;
  font-size: 0.88rem;
  line-height: 1.4;
}

.ib-ticket-case-page .ib-ticket-actions-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #334155;
  display: grid;
  gap: 8px;
}

.ib-ticket-case-page .ib-ticket-case-card__actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ib-ticket-case-rebuild .ib-ticket-page {
  max-width: 1120px;
  display: grid;
  gap: 12px;
}

.ib-ticket-case-rebuild .ib-ticket-case-header {
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.ib-ticket-case-rebuild .ib-ticket-case-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ib-ticket-case-rebuild .ib-ticket-case-header__code {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid #dbeafe;
  color: #1e3a8a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ib-ticket-case-rebuild .ib-ticket-case-header__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ib-ticket-case-rebuild .ib-ticket-case-header__title {
  margin: 10px 0 8px;
  color: #0f172a;
  letter-spacing: -0.02em;
  font-size: clamp(1.35rem, 2.5vw, 1.95rem);
  line-height: 1.2;
}

.ib-ticket-case-rebuild .ib-ticket-case-header__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ib-ticket-case-rebuild .ib-ticket-case-header__subtitle {
  margin: 10px 0 0;
  color: #64748b;
  line-height: 1.55;
  max-width: 900px;
}

.ib-ticket-case-rebuild .ib-ticket-case-shortcuts {
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 14px;
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.ib-ticket-case-rebuild .ib-ticket-shortcuts__link {
  min-height: 30px;
  padding: 0 10px;
  font-size: 0.78rem;
}

.ib-ticket-case-rebuild .ib-ticket-case-grid--rebuild {
  grid-template-columns: 1.3fr 0.95fr;
  gap: 12px;
}

.ib-ticket-case-rebuild .ib-ticket-case-card {
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.ib-ticket-case-rebuild .ib-ticket-case-card__head h2 {
  font-size: 1rem;
}

.ib-ticket-case-rebuild .ib-ticket-case-card__head p {
  margin-top: 6px;
  font-size: 0.84rem;
}

.ib-ticket-case-rebuild .ib-ticket-history-list,
.ib-ticket-case-rebuild .ib-ticket-events-list {
  gap: 8px;
  margin-top: 10px;
}

.ib-ticket-case-rebuild .ib-ticket-history-item,
.ib-ticket-case-rebuild .ib-ticket-events-item {
  padding: 10px;
  border-radius: 12px;
}

.ib-ticket-case-rebuild .ib-ticket-history-item__head strong,
.ib-ticket-case-rebuild .ib-ticket-events-item strong {
  font-size: 0.85rem;
}

.ib-ticket-case-rebuild .ib-ticket-history-item__head span {
  font-size: 0.76rem;
}

.ib-ticket-case-rebuild .ib-ticket-history-item p,
.ib-ticket-case-rebuild .ib-ticket-events-item p {
  margin-top: 6px;
  font-size: 0.84rem;
  line-height: 1.45;
}

.ib-ticket-case-rebuild .ib-ticket-case-card__subhead {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}

.ib-ticket-case-rebuild .ib-ticket-case-card__subhead h3 {
  margin: 0;
  color: #334155;
  font-size: 0.9rem;
}

.ib-ticket-case-rebuild .ib-ticket-meta-grid {
  margin-top: 10px;
  gap: 6px;
}

.ib-ticket-case-rebuild .ib-ticket-meta-grid__item {
  padding: 8px 10px;
  border-radius: 10px;
}

.ib-ticket-case-rebuild .ib-ticket-meta-grid__item span {
  font-size: 0.66rem;
}

.ib-ticket-case-rebuild .ib-ticket-meta-grid__item strong {
  font-size: 0.8rem;
}

.ib-ticket-case-rebuild .ib-ticket-actions-list {
  margin-top: 10px;
  gap: 6px;
  color: #475569;
  font-size: 0.86rem;
}

.ib-ticket-case-rebuild .ib-ticket-case-card__actions {
  margin-top: 10px;
}

.ib-ticket-case-rebuild .ib-ticket-case-card--orientation {
  grid-column: 1 / -1;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-shell {
  max-width: 1140px;
  display: grid;
  gap: 12px;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-header {
  margin: 0;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.ib-admin-ticket-rebuild .ib-admin-ticket-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  color: #64748b;
  font-size: 0.8rem;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-breadcrumb a {
  color: #334155;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-header__title {
  margin: 10px 0 8px;
  color: #0f172a;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-header__code {
  margin: 0;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-meta-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-meta-card {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-meta-card span {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-meta-card strong {
  color: #0f172a;
  font-size: 0.88rem;
  line-height: 1.35;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-meta-card em {
  color: #475569;
  font-size: 0.8rem;
  font-style: normal;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
  gap: 12px;
  align-items: start;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-main,
.ib-admin-ticket-rebuild .ib-admin-ticket-side {
  display: grid;
  gap: 12px;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-card {
  margin: 0;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.ib-admin-ticket-rebuild .ib-admin-ticket-card__head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1.02rem;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-card__head p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.45;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-context-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-context-item {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-context-item span {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-context-item strong {
  color: #0f172a;
  font-size: 0.84rem;
  line-height: 1.4;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-shortcuts {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-shortcut-card {
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #dbeafe;
  background: #f8fbff;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-shortcut-card > span {
  color: #334155;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-shortcut-card > strong {
  color: #0f172a;
  font-size: 0.82rem;
  line-height: 1.35;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-shortcut-card .admin-btn {
  justify-content: center;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-shortcut-card__empty {
  color: #64748b;
  font-size: 0.78rem;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-extra-context {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-extra-context__item {
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-extra-context__item strong {
  color: #0f172a;
  font-size: 0.82rem;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-extra-context__item p {
  margin: 0;
  color: #475569;
  font-size: 0.82rem;
  line-height: 1.4;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-events-list {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-event {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 12px;
  padding: 10px;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-event header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-event__type {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-event strong {
  color: #0f172a;
  font-size: 0.84rem;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-event time {
  color: #64748b;
  font-size: 0.76rem;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-event p {
  margin: 8px 0 0;
  color: #334155;
  font-size: 0.84rem;
  line-height: 1.45;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-empty {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 0.85rem;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-card--operation {
  border-color: rgba(30, 64, 175, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.ib-admin-ticket-rebuild .ib-admin-ticket-operation-form {
  margin-top: 12px;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-operation-form .browser-default {
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: #ffffff;
  min-height: 42px;
  padding: 0 12px;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-operation-form__field {
  margin-top: 10px;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-operation-form__actions {
  margin-top: 14px;
  justify-content: flex-end;
}

.ib-admin-ticket-rebuild .ib-admin-ticket-guidance-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #334155;
  display: grid;
  gap: 7px;
  font-size: 0.85rem;
}

@media (max-width: 1080px) {
  .ib-admin-ticket-rebuild .ib-admin-ticket-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ib-admin-ticket-rebuild .ib-admin-ticket-grid {
    grid-template-columns: 1fr;
  }

  .ib-admin-ticket-rebuild .ib-admin-ticket-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .ib-admin-ticket-rebuild .ib-admin-ticket-header {
    padding: 14px;
  }

  .ib-admin-ticket-rebuild .ib-admin-ticket-context-grid,
  .ib-admin-ticket-rebuild .ib-admin-ticket-extra-context,
  .ib-admin-ticket-rebuild .ib-admin-ticket-shortcuts {
    grid-template-columns: 1fr;
  }

  .ib-admin-ticket-rebuild .ib-admin-ticket-event header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .ib-admin-ticket-rebuild .ib-admin-ticket-operation-form__actions .admin-btn {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .ib-admin-ticket-rebuild .ib-admin-ticket-header__title {
    font-size: 1.2rem;
  }

  .ib-admin-ticket-rebuild .ib-admin-ticket-card {
    padding: 12px;
  }
}

.ib-billing-rebuild .ib-billing-v2 {
  max-width: 1160px;
  display: grid;
  gap: 20px;
}

.ib-billing-rebuild .ib-billing-v2-header {
  display: grid;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.ib-billing-rebuild .ib-billing-v2-header__copy h1 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  letter-spacing: -0.02em;
}

.ib-billing-rebuild .ib-billing-v2-header__copy p {
  margin: 6px 0 0;
  color: #475569;
  line-height: 1.55;
}

.ib-billing-rebuild .ib-billing-v2-status {
  margin-top: 2px;
}

.ib-billing-rebuild .ib-billing-v2-status .ib-access-gate,
.ib-billing-rebuild .ib-billing-v2-status .ib-access-status-card {
  margin: 0;
  border-radius: 24px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.1);
}

.ib-billing-rebuild .ib-billing-v2-history,
.ib-billing-rebuild .ib-billing-v2-plans {
  padding: 20px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.ib-billing-rebuild .ib-billing-v2-history__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.ib-billing-rebuild .ib-billing-v2-history__head h2,
.ib-billing-rebuild .ib-billing-v2-plans__head h2 {
  margin: 2px 0 0;
  color: #0f172a;
}

.ib-billing-rebuild .ib-billing-v2-history__head p,
.ib-billing-rebuild .ib-billing-v2-plans__head p {
  margin: 8px 0 0;
  color: #64748b;
  line-height: 1.55;
}

.ib-billing-rebuild .ib-billing-v2-history__muted {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border-radius: 999px;
  padding: 0 12px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
}

.ib-billing-rebuild .ib-billing-v2-history-table {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
}

.ib-billing-rebuild .ib-billing-v2-history-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(71, 85, 105, 0.4);
  transition: all 0.2s ease;
  border-radius: 12px;
  margin-bottom: 8px;
}

.ib-billing-rebuild .ib-billing-v2-history-row:hover {
  background: rgba(30, 41, 59, 0.5);
  border-bottom-color: rgba(125, 211, 252, 0.3);
}

.ib-billing-rebuild .ib-billing-v2-history-row__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ib-billing-rebuild .ib-billing-v2-history-row__main {
  flex: 1;
  min-width: 200px;
}

.ib-billing-rebuild .ib-billing-v2-history-row__title {
  margin: 0;
  color: #f8fafc;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1.02rem;
  line-height: 1.3;
}

.ib-billing-rebuild .ib-billing-v2-history-row__meta {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.ib-billing-rebuild .ib-billing-v2-history-row__meta-item {
  font-size: 0.85rem;
  color: #cbd5e1;
}

.ib-billing-rebuild .ib-billing-v2-history-row__meta-item strong {
  color: #f8fafc;
  font-weight: 700;
  display: block;
}

.ib-billing-rebuild .ib-billing-v2-history-row__status {
  flex-shrink: 0;
}

.ib-billing-rebuild .ib-billing-v2-history-row__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.ib-billing-rebuild .ib-billing-v2-history-row.is-placeholder {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.92) 0%, rgba(15, 23, 42, 0.88) 100%);
  border: 1px dashed rgba(125, 211, 252, 0.28);
  border-bottom: 1px dashed rgba(125, 211, 252, 0.28);
}

.ib-billing-rebuild .ib-billing-v2-history-row:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.ib-billing-rebuild .ib-billing-v2-history-row--head {
  background: #f8fafc;
}

.ib-billing-rebuild .ib-billing-v2-history-row--head span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.88);
}

.ib-billing-rebuild .ib-billing-v2-history-row > span {
  color: #0f172a;
  font-size: 0.9rem;
}

.ib-billing-rebuild .ib-billing-v2-history-row.is-placeholder {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.ib-billing-rebuild .ib-billing-v2-history-row.is-placeholder > span {
  color: #64748b;
}

.ib-billing-rebuild .ib-billing-v2-history-row__actions {
  display: flex;
  justify-content: flex-end;
}

.ib-billing-rebuild .ib-billing-v2-history-row__ghost {
  color: #94a3b8;
  font-size: 1rem;
}

.ib-billing-rebuild .ib-billing-v2-history__hint {
  margin: 12px 2px 0;
  color: #64748b;
  font-size: 0.86rem;
}

.ib-billing-rebuild .ib-billing-v2-plans__head {
  margin-bottom: 14px;
}

.ib-billing-rebuild .ib-billing-plan-grid {
  gap: 12px;
}

.ib-billing-rebuild .ib-billing-plan-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
}

.ib-billing-rebuild .ib-billing-plan-card__head {
  gap: 10px;
}

.ib-billing-rebuild .ib-billing-plan-card h3 {
  font-size: 1.04rem;
}

.ib-billing-rebuild .ib-billing-plan-card__description {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.ib-billing-rebuild .ib-billing-plan-card__price {
  margin-top: 12px;
}

.ib-billing-rebuild .ib-billing-plan-card__price strong {
  margin-top: 0;
  font-size: 1.38rem;
}

.ib-billing-rebuild .ib-billing-plan-card__list {
  margin-top: 12px;
  gap: 6px;
  font-size: 0.88rem;
}

.ib-billing-rebuild .ib-billing-plan-card__note {
  margin-top: 10px;
  font-size: 0.84rem;
}

.ib-billing-rebuild .ib-billing-plan-card__current {
  margin-top: 14px;
}

.ib-billing-rebuild .ib-billing-plan-card__form .ib-btn {
  min-height: 40px;
  margin-top: 12px;
}

.ib-billing-rebuild .ib-billing-plan-card__badge {
  top: 12px;
  right: 12px;
}

.ib-billing-rebuild .ib-billing-v2-plans .ib-billing-plan-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.ib-billing-rebuild .ib-billing-plan-switch-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(100, 116, 139, 0.35);
  background:
    radial-gradient(circle at 100% -10%, rgba(14, 165, 233, 0.12), transparent 48%),
    linear-gradient(180deg, rgba(30, 41, 59, 0.92) 0%, rgba(15, 23, 42, 0.98) 100%);
  color: #e2e8f0;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ib-billing-rebuild .ib-billing-plan-switch-card:hover {
  transform: translateY(-2px);
  border-color: rgba(190, 24, 93, 0.32);
  box-shadow: 0 24px 56px rgba(2, 6, 23, 0.45);
}

.ib-billing-rebuild .ib-billing-plan-switch-card.is-featured {
  border-color: rgba(190, 24, 93, 0.44);
  box-shadow: 0 24px 56px rgba(190, 24, 93, 0.2), inset 0 1px 0 rgba(244, 114, 182, 0.3);
}

.ib-billing-rebuild .ib-billing-plan-switch-card.is-current {
  border-color: rgba(14, 165, 233, 0.44);
  box-shadow: 0 24px 56px rgba(14, 165, 233, 0.2), inset 0 1px 0 rgba(96, 165, 250, 0.3);
}

.ib-billing-rebuild .ib-billing-plan-switch-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ib-billing-rebuild .ib-billing-plan-switch-card__cycle-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.73rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
  transition: all 0.2s ease;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(59, 130, 246, 0.08) 100%);
  color: #60a5fa;
  border-color: rgba(37, 99, 235, 0.25);
}

.ib-billing-rebuild .ib-billing-plan-switch-card__cycle-pill.is-annual {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.15) 0%, rgba(45, 212, 191, 0.08) 100%);
  border-color: rgba(13, 148, 136, 0.3);
  color: #2dd4bf;
}

.ib-billing-rebuild .ib-billing-plan-switch-card__cycle-pill.is-semiannual {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(196, 181, 253, 0.08) 100%);
  border-color: rgba(168, 85, 247, 0.3);
  color: #c4b5fd;
}

.ib-billing-rebuild .ib-billing-plan-switch-card__cycle-pill.is-quarterly {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(244, 114, 182, 0.08) 100%);
  border-color: rgba(236, 72, 153, 0.3);
  color: #f472b6;
}

.ib-billing-rebuild .ib-billing-plan-switch-card__cycle-pill.is-monthly {
  background: linear-gradient(135deg, rgba(100, 116, 139, 0.15) 0%, rgba(148, 163, 184, 0.08) 100%);
  border-color: rgba(100, 116, 139, 0.25);
  color: #cbd5e1;
  font-weight: 600;
}

.ib-billing-rebuild .ib-billing-plan-switch-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  transition: all 0.2s ease;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.18) 0%, rgba(248, 113, 113, 0.1) 100%);
  color: #f87171;
  border-color: rgba(236, 72, 153, 0.35);
}

.ib-billing-rebuild .ib-billing-plan-switch-card__title {
  margin: 0;
  color: #f8fafc;
  font-size: 1.1rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 800;
}

.ib-billing-rebuild .ib-billing-plan-switch-card__compare {
  margin: 0;
  color: rgba(148, 163, 184, 0.7);
  font-size: 0.82rem;
  text-decoration: line-through;
}

.ib-billing-rebuild .ib-billing-plan-switch-card__compare.is-empty {
  visibility: hidden;
}

.ib-billing-rebuild .ib-billing-plan-switch-card__price {
  margin: 0;
  color: #f8fafc;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ib-billing-rebuild .ib-billing-plan-switch-card__installments {
  color: rgba(203, 213, 225, 0.8);
  font-size: 0.88rem;
  font-weight: 700;
  margin-right: 4px;
}

.ib-billing-rebuild .ib-billing-plan-switch-card__price-period {
  margin-left: 4px;
  color: rgba(203, 213, 225, 0.7);
  font-size: 0.86rem;
  font-weight: 600;
}

.ib-billing-rebuild .ib-billing-plan-switch-card__total {
  margin: 0;
  color: rgba(148, 163, 184, 0.8);
  font-size: 0.82rem;
  line-height: 1.45;
}

.ib-billing-rebuild .ib-billing-plan-switch-card__economy {
  margin: 0;
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px solid rgba(45, 212, 191, 0.24);
  background: rgba(13, 148, 136, 0.15);
  color: #2dd4bf;
  font-size: 0.82rem;
  line-height: 1.45;
  font-weight: 600;
}

.ib-billing-rebuild .ib-billing-plan-switch-card__description {
  margin: 0;
  color: rgba(203, 213, 225, 0.8);
  font-size: 0.9rem;
  line-height: 1.5;
}

.ib-billing-rebuild .ib-billing-plan-switch-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.ib-billing-rebuild .ib-billing-plan-switch-card__list li {
  position: relative;
  padding-left: 18px;
  color: #e2e8f0;
  font-size: 0.85rem;
  line-height: 1.45;
}

.ib-billing-rebuild .ib-billing-plan-switch-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.43rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea5e9 0%, #be123c 100%);
}

.ib-billing-rebuild .ib-billing-plan-switch-card__note {
  margin: 0;
  color: rgba(148, 163, 184, 0.8);
  font-size: 0.8rem;
  line-height: 1.45;
}

.ib-billing-rebuild .ib-billing-plan-switch-card__current {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(14, 165, 233, 0.24);
  background: rgba(14, 165, 233, 0.15);
  color: #60a5fa;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.ib-billing-rebuild .ib-billing-plan-switch-card__form {
  margin-top: auto;
}

.ib-billing-rebuild .ib-billing-plan-switch-card__cta {
  width: 100%;
  min-height: 42px;
}

.ib-billing-rebuild .ib-billing-v2-cancel-modal .modal-content {
  padding: 24px;
}

.ib-billing-rebuild .ib-billing-v2-cancel-modal__window {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.ib-billing-rebuild .ib-billing-v2-cancel-modal__window strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0f172a;
  font-size: 0.9rem;
}

.ib-billing-rebuild .ib-billing-v2-cancel-modal__window strong .material-icons {
  font-size: 1rem;
}

.ib-billing-rebuild .ib-billing-v2-cancel-modal__window p {
  margin: 6px 0 0;
  color: #334155;
  line-height: 1.52;
}

.ib-billing-rebuild .ib-billing-v2-cancel-modal__window--positive {
  border-color: rgba(14, 165, 233, 0.26);
  background: #f0f9ff;
}

.ib-billing-rebuild .ib-billing-v2-cancel-modal__window--neutral {
  border-color: rgba(148, 163, 184, 0.3);
  background: #f8fafc;
}

.ib-billing-rebuild .ib-billing-v2-header {
  border-color: rgba(51, 65, 85, 0.7);
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(19, 31, 52, 0.95) 100%);
  box-shadow: 0 20px 48px rgba(2, 6, 23, 0.34);
}

.ib-billing-rebuild .ib-billing-v2-header__copy h1 {
  color: #f8fafc;
}

.ib-billing-rebuild {
  font-family: 'Ubuntu', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.ib-billing-rebuild h1,
.ib-billing-rebuild h2,
.ib-billing-rebuild h3,
.ib-billing-rebuild h4 {
  font-family: 'Kanit Bold', 'Kanit', 'Inter', sans-serif;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.ib-billing-rebuild h1 {
  font-size: 1.92rem;
  font-weight: 800;
  color: #f8fafc;
}

.ib-billing-rebuild h2 {
  font-size: 1.48rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0;
}

.ib-billing-rebuild p {
  letter-spacing: -0.005em;
  line-height: 1.6;
  color: rgba(203, 213, 225, 0.82);
  font-size: 0.95rem;
  margin: 0;
}

.ib-billing-rebuild small,
.ib-billing-rebuild label {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(148, 163, 184, 0.9);
}

.ib-billing-rebuild label {
  display: block;
  margin-bottom: 8px;
}

.ib-billing-rebuild .ib-billing-v2-header__copy {
  display: grid;
  gap: 8px;
}

.ib-billing-rebuild .ib-billing-v2-header__actions {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  width: 100%;
  min-height: 44px;
}

.ib-billing-rebuild .ib-billing-v2-header__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.4);
  background: rgba(15, 23, 42, 0.55);
  color: #e0f2fe;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ib-billing-rebuild .ib-billing-v2-header__action:hover,
.ib-billing-rebuild .ib-billing-v2-header__action:focus-visible {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(125, 211, 252, 0.7);
  box-shadow: 0 6px 16px rgba(30, 144, 255, 0.2);
}

.ib-billing-rebuild .ib-billing-v2-header__action i.material-icons {
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ib-billing-rebuild .ib-billing-v2-header__action .material-icons {
  font-family: 'Material Icons' !important;
  font-weight: normal;
  font-style: normal;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1;
  font-size: 1.2rem;
  color: #38bdf8;
  margin-right: 2px;
}

.ib-billing-rebuild .ib-btn {
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.32);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.22) 0%, rgba(59, 130, 246, 0.14) 100%);
  color: #e2e8f0;
  font-family: 'Kanit Medium', 'Kanit', 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ib-billing-rebuild .ib-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(125, 211, 252, 0.56);
  box-shadow: 0 10px 20px rgba(2, 6, 23, 0.25);
}

.ib-billing-rebuild .ib-btn--neon {
  border-color: rgba(56, 189, 248, 0.48);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.86) 0%, rgba(59, 130, 246, 0.82) 100%);
  color: #f8fafc;
}

.ib-billing-rebuild .ib-btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
  box-shadow: none;
}

.ib-billing-rebuild .ib-billing-v2-header__eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  color: #93c5fd;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ib-billing-rebuild .ib-billing-v2-header__copy p {
  color: rgba(226, 232, 240, 0.78);
}

.ib-billing-rebuild .ib-billing-v2-header__highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.ib-billing-rebuild .ib-billing-v2-header__highlight {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  background: rgba(15, 23, 42, 0.45);
}

.ib-billing-rebuild .ib-billing-v2-header__highlight strong {
  color: #f8fafc;
  font-size: 0.94rem;
  line-height: 1.35;
}

.ib-billing-rebuild .ib-billing-v2-header__highlight small {
  color: rgba(191, 219, 254, 0.74);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ib-billing-rebuild .ib-billing-v2-status .ib-access-status-card,
.ib-billing-rebuild .ib-billing-v2-status .ib-access-gate {
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.28);
}

.ib-billing-rebuild .ib-billing-v2-status .ib-access-status-card {
  padding: 18px 20px;
}

.ib-billing-rebuild .ib-billing-v2-status .ib-access-status-card__head {
  gap: 12px;
}

.ib-billing-rebuild .ib-billing-v2-status .ib-access-status-card__eyebrow {
  margin-bottom: 6px;
  font-size: 0.7rem;
}

.ib-billing-rebuild .ib-billing-v2-status .ib-access-status-card__title {
  font-size: 1.12rem;
}

.ib-billing-rebuild .ib-billing-v2-status .ib-access-status-card__pill {
  min-height: 30px;
  padding: 0 10px;
  font-size: 0.72rem;
}

.ib-billing-rebuild .ib-billing-v2-status .ib-access-status-card__meta {
  margin-top: 12px;
  gap: 8px 14px;
  font-size: 0.84rem;
}

.ib-billing-rebuild .ib-billing-v2-status .ib-access-status-card__note {
  margin-top: 10px;
  font-size: 0.88rem;
}

.ib-billing-rebuild .ib-billing-v2-status .ib-access-status-card__actions {
  margin-top: 14px;
  gap: 8px;
}

.ib-billing-rebuild .ib-billing-v2-status .ib-access-status-card__actions .ib-btn {
  min-height: 38px;
  padding-top: 0;
  padding-bottom: 0;
}

.ib-billing-rebuild .ib-billing-v2-history,
.ib-billing-rebuild .ib-billing-v2-plans {
  border-color: rgba(51, 65, 85, 0.72);
  background:
    radial-gradient(circle at top right, rgba(190, 24, 93, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.99) 0%, rgba(17, 24, 39, 0.98) 100%);
  box-shadow: 0 20px 48px rgba(2, 6, 23, 0.34);
}

.ib-billing-rebuild .ib-billing-v2-history__head,
.ib-billing-rebuild .ib-billing-v2-plans__head {
  align-items: flex-start;
}

.ib-billing-rebuild .ib-billing-v2-history__head h2,
.ib-billing-rebuild .ib-billing-v2-plans__head h2 {
  color: #f8fafc;
}

.ib-billing-rebuild .ib-billing-v2-history__head p,
.ib-billing-rebuild .ib-billing-v2-plans__head p {
  color: rgba(203, 213, 225, 0.72);
}

.ib-billing-rebuild .ib-billing-v2-history__toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  align-items: center;
  padding: 4px 0;
}

.ib-billing-rebuild .ib-billing-v2-history__muted {
  background: rgba(30, 41, 59, 0.85);
  color: #cbd5e1;
  border: 1px solid rgba(71, 85, 105, 0.6);
}

.ib-billing-rebuild .ib-billing-v2-ops-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.ib-billing-rebuild .ib-billing-v2-ops-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(71, 85, 105, 0.7);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.86) 0%, rgba(15, 23, 42, 0.96) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ib-billing-rebuild .ib-billing-v2-ops-card.is-preview {
  border-style: dashed;
}

.ib-billing-rebuild .ib-billing-v2-ops-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.ib-billing-rebuild .ib-billing-v2-ops-card__eyebrow {
  display: inline-flex;
  margin-bottom: 5px;
  color: rgba(148, 163, 184, 0.9);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.ib-billing-rebuild .ib-billing-v2-ops-card h3 {
  margin: 0;
  color: #f8fafc;
  font-size: 1rem;
  line-height: 1.3;
}

.ib-billing-rebuild .ib-billing-v2-ops-card__pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(71, 85, 105, 0.8);
  background: rgba(15, 23, 42, 0.74);
  color: #e2e8f0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ib-billing-rebuild .ib-billing-v2-ops-card__pill.is-warning {
  border-color: rgba(245, 158, 11, 0.34);
  color: #fde68a;
}

.ib-billing-rebuild .ib-billing-v2-ops-card__pill.is-info {
  border-color: rgba(56, 189, 248, 0.34);
  color: #bae6fd;
}

.ib-billing-rebuild .ib-billing-v2-ops-card__pill.is-neutral {
  color: #cbd5e1;
}

.ib-billing-rebuild .ib-billing-v2-ops-card__text {
  margin: 0;
  color: rgba(226, 232, 240, 0.86);
  font-size: 0.88rem;
  line-height: 1.55;
}

.ib-billing-rebuild .ib-billing-v2-ops-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.ib-billing-rebuild .ib-billing-v2-ops-card__list li {
  position: relative;
  padding-left: 16px;
  color: #cbd5e1;
  font-size: 0.82rem;
  line-height: 1.45;
}

.ib-billing-rebuild .ib-billing-v2-ops-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #38bdf8 0%, #f43f5e 100%);
}

.ib-billing-rebuild .ib-billing-v2-ops-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ib-billing-rebuild .ib-billing-v2-ops-card__hint {
  color: rgba(148, 163, 184, 0.9);
  font-size: 0.76rem;
}

.ib-billing-rebuild .ib-billing-v2-history-table {
  border-color: rgba(51, 65, 85, 0.8);
  background: rgba(2, 6, 23, 0.24);
}

.ib-billing-rebuild .ib-billing-v2-history-row {
  border-bottom-color: rgba(51, 65, 85, 0.6);
  background: rgba(15, 23, 42, 0.4);
}

.ib-billing-rebuild .ib-billing-v2-history-row--head {
  background: rgba(30, 41, 59, 0.88);
}

.ib-billing-rebuild .ib-billing-v2-history-row--head span {
  color: rgba(148, 163, 184, 0.94);
}

.ib-billing-rebuild .ib-billing-v2-history-row > span {
  color: #e2e8f0;
}

.ib-billing-rebuild .ib-billing-v2-history-row.is-placeholder {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.82) 0%, rgba(15, 23, 42, 0.64) 100%);
}

.ib-billing-rebuild .ib-billing-v2-history-row.is-placeholder > span {
  color: #cbd5e1;
}

.ib-billing-rebuild .ib-billing-v2-history-row__actions {
  gap: 8px;
  flex-wrap: wrap;
}

.ib-billing-rebuild .ib-billing-v2-history-row__resolve {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.42);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(234, 88, 12, 0.16) 100%);
  color: #fde68a;
  font-size: 0.73rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 700;
}

.ib-billing-rebuild .ib-billing-v2-history-row__resolve:hover {
  border-color: rgba(251, 191, 36, 0.6);
  color: #fef3c7;
  box-shadow: 0 10px 18px rgba(161, 98, 7, 0.28);
}

.ib-billing-rebuild .ib-billing-v2-history__empty {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: 16px;
  border: 1px dashed rgba(71, 85, 105, 0.8);
  background: rgba(15, 23, 42, 0.4);
}

.ib-billing-rebuild .ib-billing-v2-history__empty .material-icons {
  font-size: 1.35rem;
  color: #7dd3fc;
}

.ib-billing-rebuild .ib-billing-v2-history__empty strong {
  display: block;
  color: #f8fafc;
  font-family: 'Kanit Medium', 'Kanit', 'Inter', sans-serif;
  font-size: 0.96rem;
}

.ib-billing-rebuild .ib-billing-v2-history__empty p {
  margin: 4px 0 0;
  color: rgba(203, 213, 225, 0.84);
  font-size: 0.86rem;
  line-height: 1.5;
}

.ib-billing-rebuild .ib-billing-v2-history-row__actions .ib-btn,
.ib-billing-rebuild .ib-billing-v2-history__toolbar .ib-btn,
.ib-billing-rebuild .ib-billing-v2-ops-card__actions .ib-btn {
  min-height: 34px;
  padding-top: 0;
  padding-bottom: 0;
}

.ib-billing-rebuild .ib-billing-v2-history-row__ghost {
  color: rgba(148, 163, 184, 0.88);
}

.ib-billing-rebuild .ib-billing-v2-history__hint {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(148, 163, 184, 0.92);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.ib-billing-rebuild .ib-billing-v2-history__hint .material-icons {
  font-family: 'Material Icons' !important;
  font-size: 1rem;
  color: #7dd3fc;
}

.ib-billing-rebuild .ib-billing-history-item__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 4px 12px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  background-size: 100% 100%;
  transition: all 0.2s ease;
}

.ib-billing-rebuild .ib-billing-history-item__pill .material-icons {
  font-size: 0.95rem;
  margin-left: 2px;
}

.ib-billing-rebuild .ib-billing-history-item__pill--success {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(74, 222, 128, 0.08) 100%);
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.3);
}

.ib-billing-rebuild .ib-billing-history-item__pill--warning {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(250, 204, 21, 0.08) 100%);
  color: #fcd34d;
  border-color: rgba(245, 158, 11, 0.3);
}

.ib-billing-rebuild .ib-billing-history-item__pill--danger {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(248, 113, 113, 0.08) 100%);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.3);
}

.ib-billing-rebuild .ib-billing-history-item__pill--info {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(147, 197, 253, 0.08) 100%);
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.3);
}

.ib-billing-rebuild .ib-billing-history-item__pill--neutral {
  background: linear-gradient(135deg, rgba(100, 116, 139, 0.15) 0%, rgba(148, 163, 184, 0.08) 100%);
  color: #cbd5e1;
  border-color: rgba(100, 116, 139, 0.3);
}

.ib-billing-rebuild .ib-billing-plan-switch-card,
.ib-billing-rebuild .ib-precheckout-plan-card {
  border-color: rgba(71, 85, 105, 0.7);
  background:
    radial-gradient(circle at 100% -10%, rgba(14, 165, 233, 0.16), transparent 48%),
    linear-gradient(180deg, rgba(30, 41, 59, 0.92) 0%, rgba(15, 23, 42, 0.98) 100%);
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.32);
}

.ib-billing-rebuild .ib-billing-plan-switch-card__title,
.ib-billing-rebuild .ib-billing-plan-switch-card__price,
.ib-billing-rebuild .ib-precheckout-plan-card__title,
.ib-billing-rebuild .ib-precheckout-plan-card__price {
  color: #f8fafc;
}

.ib-billing-rebuild .ib-billing-plan-switch-card__compare,
.ib-billing-rebuild .ib-billing-plan-switch-card__total,
.ib-billing-rebuild .ib-billing-plan-switch-card__note,
.ib-billing-rebuild .ib-precheckout-plan-card__compare,
.ib-billing-rebuild .ib-precheckout-plan-card__total {
  color: rgba(148, 163, 184, 0.92);
}

.ib-billing-rebuild .ib-billing-plan-switch-card__installments,
.ib-billing-rebuild .ib-billing-plan-switch-card__price-period,
.ib-billing-rebuild .ib-billing-plan-switch-card__description,
.ib-billing-rebuild .ib-billing-plan-switch-card__list li,
.ib-billing-rebuild .ib-precheckout-plan-card__installments,
.ib-billing-rebuild .ib-precheckout-plan-card__price-period,
.ib-billing-rebuild .ib-checkout-plan-card__description,
.ib-billing-rebuild .ib-precheckout-plan-card__list li {
  color: #cbd5e1;
}

.ib-billing-rebuild .ib-billing-plan-switch-card__economy,
.ib-billing-rebuild .ib-precheckout-plan-card__pix-highlight {
  background: rgba(6, 95, 70, 0.22);
  color: #a7f3d0;
}

.ib-billing-rebuild .ib-precheckout-plan-card__pix-highlight {
  margin: 0;
  border: 1px solid rgba(16, 185, 129, 0.24);
}

.ib-billing-rebuild .ib-billing-v2-refund-modal .ib-btn[disabled] {
  opacity: 0.48;
  cursor: not-allowed;
  box-shadow: none;
}

.ib-billing-rebuild .ib-billing-v2-refund-modal .modal-content,
.ib-billing-rebuild .ib-billing-v2-cancel-modal .modal-content {
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  color: #e2e8f0;
  padding: 28px 24px;
  max-height: 85vh;
  overflow-y: auto;
}

.ib-billing-rebuild .ib-billing-v2-cancel-modal h4,
.ib-billing-rebuild .ib-billing-v2-refund-modal h4,
.ib-billing-rebuild .ib-billing-v2-cancel-modal label,
.ib-billing-rebuild .ib-billing-v2-refund-modal label {
  color: #f8fafc;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
  display: block;
}

.ib-billing-rebuild .ib-billing-v2-cancel-modal__intro {
  color: rgba(203, 213, 225, 0.78);
  margin-bottom: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.ib-billing-rebuild .ib-billing-cancel-modal__helper {
  margin: -2px 0 4px;
  color: rgba(191, 219, 254, 0.9);
  font-size: 0.82rem;
  line-height: 1.45;
}

.ib-billing-rebuild .ib-billing-cancel-modal__counter {
  margin-top: -4px;
  color: rgba(148, 163, 184, 0.95);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.ib-billing-rebuild .ib-billing-cancel-modal__counter [data-cancel-word-count] {
  color: #bae6fd;
  font-weight: 700;
}

.ib-billing-rebuild .modal-footer {
  background: rgba(15, 23, 42, 0.6);
  border-top: 1px solid rgba(71, 85, 105, 0.3);
  padding: 16px 24px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.ib-billing-rebuild .ib-billing-v2-refund-modal__stack {
  display: grid;
  gap: 10px;
}

.ib-billing-rebuild .ib-billing-v2-refund-modal__stack .browser-default,
.ib-billing-rebuild .ib-billing-v2-refund-modal__stack textarea,
.ib-billing-rebuild .ib-billing-v2-cancel-modal .browser-default,
.ib-billing-rebuild .ib-billing-v2-cancel-modal textarea {
  border-radius: 12px;
  border: 1px solid rgba(71, 85, 105, 0.84);
  background: rgba(15, 23, 42, 0.88);
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 11px 13px;
  transition: all 0.2s ease;
}

.ib-billing-rebuild .ib-billing-v2-refund-modal__stack .browser-default,
.ib-billing-rebuild .ib-billing-v2-cancel-modal .browser-default {
  appearance: none;
  padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23cbd5e1' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.ib-billing-rebuild .ib-billing-v2-refund-modal__stack .browser-default:focus,
.ib-billing-rebuild .ib-billing-v2-refund-modal__stack textarea:focus,
.ib-billing-rebuild .ib-billing-v2-cancel-modal .browser-default:focus,
.ib-billing-rebuild .ib-billing-v2-cancel-modal textarea:focus {
  border-color: rgba(59, 130, 246, 0.8);
  background-color: rgba(15, 23, 42, 0.98);
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.ib-billing-rebuild .ib-billing-v2-refund-modal__stack textarea,
.ib-billing-rebuild .ib-billing-v2-cancel-modal textarea {
  padding: 11px 13px;
  resize: vertical;
  min-height: 90px;
}

.ib-billing-rebuild .ib-billing-v2-refund-modal__stack option,
.ib-billing-rebuild .ib-billing-v2-cancel-modal option {
  background: #0f172a;
  color: #e2e8f0;
}

.ib-billing-rebuild .ib-billing-v2-refund-modal__timeline {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.ib-billing-rebuild .ib-billing-v2-refund-modal__timeline span {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(51, 65, 85, 0.82);
  background: rgba(30, 41, 59, 0.68);
  color: #cbd5e1;
  font-size: 0.82rem;
  line-height: 1.45;
}

.ib-plans-rebuild .ib-plans-v2 {
  max-width: 1140px;
  display: grid;
  gap: 20px;
}

.ib-plans-rebuild .ib-plans-v2-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background:
    radial-gradient(circle at 100% 0, rgba(14, 165, 233, 0.08), transparent 38%),
    radial-gradient(circle at 0 100%, rgba(225, 29, 72, 0.08), transparent 42%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.07);
}

.ib-plans-rebuild .ib-plans-v2-header__actions {
  width: 100%;
  margin-bottom: 2px;
}

.ib-plans-rebuild .ib-plans-v2-header__copy h1 {
  margin: 0;
  color: #0f172a;
  letter-spacing: -0.02em;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
}

.ib-plans-rebuild .ib-plans-v2-header__copy p {
  margin: 8px 0 0;
  color: #334155;
  line-height: 1.58;
  max-width: 76ch;
}

.ib-plans-rebuild .ib-plans-v2-status {
  margin-top: 0;
}

.ib-plans-rebuild .ib-plans-v2-status .ib-access-status-card {
  margin: 0;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
}

.ib-plans-rebuild .ib-plans-v2-status .ib-access-status-card__meta {
  display: none;
}

.ib-plans-rebuild .ib-plans-v2-status .ib-access-status-card--launch {
  border: 1px solid rgba(148, 163, 184, 0.28);
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.11), transparent 45%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.ib-plans-rebuild .ib-plans-v2-status .ib-access-status-card--danger,
.ib-plans-rebuild .ib-plans-v2-status .ib-access-status-card--warning {
  border-width: 1px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.ib-plans-rebuild .ib-plans-v2-status .ib-access-status-card__title {
  letter-spacing: -0.01em;
}

.ib-plans-rebuild .ib-plans-v2-status .ib-access-status-card__note {
  color: #334155;
}

.ib-plans-rebuild .ib-plans-v2-catalog {
  padding: 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(244, 63, 94, 0.05), transparent 32%),
    #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
  grid-template-columns: minmax(0, 1fr);
}

.ib-plans-rebuild .ib-plans-v2-catalog__head {
  margin-bottom: 16px;
}

.ib-plans-rebuild .ib-plans-v2-catalog__head h2 {
  margin: 2px 0 0;
  color: #0f172a;
}

.ib-plans-rebuild .ib-plans-v2-catalog__head p {
  margin: 8px 0 0;
  color: #64748b;
  line-height: 1.55;
}

.ib-plans-rebuild .ib-billing-plan-grid--plans-v2 {
  gap: 16px;
}

.ib-plans-rebuild .ib-billing-plan-card--plans-v2 {
  display: grid;
  align-content: start;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ib-plans-rebuild .ib-billing-plan-card--plans-v2:hover {
  transform: translateY(-2px);
  border-color: rgba(225, 48, 108, 0.22);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.09);
}

.ib-plans-rebuild .ib-billing-plan-card--plans-v2 .ib-billing-plan-card__head {
  gap: 10px;
}

.ib-plans-rebuild .ib-billing-plan-card--plans-v2 h3 {
  max-width: 72ch;
  font-size: 1.04rem;
}

.ib-plans-rebuild .ib-billing-plan-card--plans-v2 .ib-billing-plan-card__highlight {
  margin-top: 6px;
  font-size: 0.82rem;
}

.ib-plans-rebuild .ib-billing-plan-card--plans-v2 .ib-billing-plan-card__pill {
  min-height: 32px;
  font-size: 0.76rem;
  padding: 0 10px;
}

.ib-plans-rebuild .ib-billing-plan-card--plans-v2 .ib-billing-plan-card__description {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.ib-plans-rebuild .ib-billing-plan-card--plans-v2 .ib-billing-plan-card__price {
  margin-top: 12px;
  gap: 2px;
}

.ib-plans-rebuild .ib-billing-plan-card--plans-v2 .ib-billing-plan-card__price strong {
  margin-top: 0;
  font-size: 1.52rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ib-plans-rebuild .ib-billing-plan-card--plans-v2 .ib-billing-plan-card__price span,
.ib-plans-rebuild .ib-billing-plan-card--plans-v2 .ib-billing-plan-card__price small {
  font-size: 0.8rem;
}

.ib-plans-rebuild .ib-billing-plan-card--plans-v2 .ib-billing-plan-card__list {
  margin-top: 12px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
  font-size: 0.86rem;
}

.ib-plans-rebuild .ib-billing-plan-card--plans-v2 .ib-billing-plan-card__list li {
  position: relative;
  padding-left: 18px;
  color: #1e293b;
}

.ib-plans-rebuild .ib-billing-plan-card--plans-v2 .ib-billing-plan-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea5e9 0%, #e11d48 100%);
}

.ib-plans-rebuild .ib-billing-plan-card--plans-v2 .ib-billing-plan-card__note {
  margin-top: 10px;
  font-size: 0.82rem;
}

.ib-plans-rebuild .ib-billing-plan-card--plans-v2 .ib-billing-plan-card__form .ib-btn {
  margin-top: 12px;
  min-height: 40px;
}

.ib-plans-rebuild .ib-billing-plan-card--plans-v2 .ib-billing-plan-card__badge {
  top: 12px;
  right: 12px;
  background: #fff1f2;
  color: #be123c;
  border: 1px solid rgba(190, 18, 60, 0.22);
}

.ib-plans-rebuild .ib-billing-plan-card--plans-v2.is-featured {
  border-color: rgba(225, 48, 108, 0.34);
  box-shadow: 0 20px 38px rgba(225, 48, 108, 0.14);
}

.ib-plans-rebuild .ib-billing-plan-card--plans-v2.is-current {
  border-color: rgba(14, 165, 233, 0.42);
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 44%),
    linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
  box-shadow: 0 22px 42px rgba(14, 165, 233, 0.16);
}

.ib-plans-rebuild .ib-billing-plan-card--plans-v2 .ib-billing-plan-card__current {
  margin-top: 14px;
  background: #ecfeff;
  color: #0f766e;
  font-size: 0.82rem;
  border: 1px solid rgba(45, 212, 191, 0.28);
}

.ib-support-triage-rebuild .ib-support-page {
  max-width: 1140px;
  display: grid;
  gap: 14px;
}

.ib-support-triage-rebuild .ib-support-triage-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(14, 116, 144, 0.2);
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 44%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.ib-support-triage-rebuild .ib-support-triage-header__eyebrow {
  display: inline-flex;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  font-weight: 700;
  color: #0369a1;
}

.ib-support-triage-rebuild .ib-support-triage-header__copy h1 {
  margin: 0;
  color: #0f172a;
  letter-spacing: -0.02em;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.ib-support-triage-rebuild .ib-support-triage-header__copy p {
  margin: 6px 0 0;
  color: #475569;
  line-height: 1.5;
}

.ib-support-triage-rebuild .ib-support-triage-header__actions {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.ib-support-triage-rebuild .ib-support-triage-header__actions .ib-btn {
  min-height: 40px;
}

.ib-support-triage-rebuild .ib-support-triage-header__cta-note {
  color: #64748b;
  font-size: 0.78rem;
  max-width: 280px;
  text-align: right;
  line-height: 1.4;
}

.ib-support-triage-rebuild .ib-support-triage-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.ib-support-triage-rebuild .ib-support-triage-kpi {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  padding: 12px 14px;
  position: relative;
  overflow: hidden;
}

.ib-support-triage-rebuild .ib-support-triage-kpi::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #94a3b8;
}

.ib-support-triage-rebuild .ib-support-triage-kpi--info::before {
  background: #0ea5e9;
}

.ib-support-triage-rebuild .ib-support-triage-kpi--danger::before {
  background: #ef4444;
}

.ib-support-triage-rebuild .ib-support-triage-kpi--success::before {
  background: #22c55e;
}

.ib-support-triage-rebuild .ib-support-triage-kpi__label {
  display: block;
  color: #64748b;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.ib-support-triage-rebuild .ib-support-triage-kpi__value {
  display: block;
  margin-top: 6px;
  color: #0f172a;
  font-size: 1.35rem;
  line-height: 1;
}

.ib-support-triage-rebuild .ib-support-triage-kpi__meta {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 0.8rem;
}

.ib-support-triage-rebuild .ib-support-triage-filters {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) 1.2fr auto;
  gap: 10px;
  align-items: end;
}

.ib-support-triage-rebuild .ib-support-triage-filters__head {
  grid-column: 1 / -1;
}

.ib-support-triage-rebuild .ib-support-triage-filters__head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
}

.ib-support-triage-rebuild .ib-support-triage-filters__head p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 0.87rem;
}

.ib-support-triage-rebuild .ib-support-triage-filter {
  display: grid;
  gap: 6px;
}

.ib-support-triage-rebuild .ib-support-triage-filter label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #334155;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ib-support-triage-rebuild .ib-support-triage-filter select {
  height: 42px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  padding: 0 12px;
  background: #ffffff;
}

.ib-support-triage-rebuild .ib-support-triage-filter--hint span {
  display: flex;
  align-items: center;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  color: #64748b;
  padding: 0 12px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.ib-support-triage-rebuild .ib-support-triage-filter--actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.ib-support-triage-rebuild .ib-support-triage-list {
  display: grid;
  gap: 10px;
}

.ib-support-triage-rebuild .ib-support-triage-card {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  padding: 14px;
}

.ib-support-triage-rebuild .ib-support-triage-card__top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.ib-support-triage-rebuild .ib-support-triage-card__id {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ib-support-triage-rebuild .ib-support-triage-card__source {
  font-size: 0.74rem;
  color: #475569;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ib-support-triage-rebuild .ib-support-triage-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.ib-support-triage-rebuild .ib-support-triage-card__title {
  margin: 10px 0 6px;
  color: #0f172a;
  font-size: 1.06rem;
  line-height: 1.35;
}

.ib-support-triage-rebuild .ib-support-triage-card__context {
  margin: 0;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.5;
}

.ib-support-triage-rebuild .ib-support-triage-card__details {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.ib-support-triage-rebuild .ib-support-triage-card__detail {
  padding: 8px 10px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: grid;
  gap: 3px;
}

.ib-support-triage-rebuild .ib-support-triage-card__detail span {
  color: #64748b;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.ib-support-triage-rebuild .ib-support-triage-card__detail strong {
  color: #0f172a;
  font-size: 0.8rem;
  line-height: 1.35;
  font-weight: 700;
}

.ib-support-triage-rebuild .ib-support-triage-card__actions {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eef2ff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.ib-support-triage-rebuild .ib-support-triage-card__updated-note {
  color: #64748b;
  font-size: 0.8rem;
}

.ib-support-triage-rebuild .ib-support-triage-card__actions .ib-btn {
  min-height: 36px;
  padding-top: 0;
  padding-bottom: 0;
}

.ib-support-triage-rebuild .ib-support-triage-empty .ib-btn {
  margin-top: 14px;
}

.ib-support-triage-rebuild .ib-support-triage-empty {
  margin-top: 0;
}

@media (max-width: 1080px) {
  .ib-support-summary,
  .ib-ticket-context-grid {
    grid-template-columns: 1fr;
  }

  .ib-support-list-page .ib-support-card__details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ib-ticket-case-page .ib-ticket-case-grid,
  .ib-ticket-case-page .ib-ticket-meta-grid {
    grid-template-columns: 1fr;
  }

  .ib-ticket-case-rebuild .ib-ticket-case-grid--rebuild {
    grid-template-columns: 1fr;
  }

  .ib-billing-rebuild .ib-billing-v2-history-row {
    grid-template-columns: 1.2fr 0.9fr 0.9fr 1fr 0.8fr 0.8fr;
  }

  .ib-plans-rebuild .ib-billing-plan-grid--plans-v2 {
    grid-template-columns: 1fr;
  }

  .ib-support-triage-rebuild .ib-support-triage-card__details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .ib-support-filters,
  .ib-ticket-hero {
    grid-template-columns: 1fr;
  }

  .ib-support-hero,
  .ib-app-context-banner,
  .ib-support-modal__hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .ib-support-filter--actions {
    justify-content: flex-start;
  }

  .ib-support-list-page .ib-support-filters {
    grid-template-columns: 1fr;
  }

  .ib-support-list-page .ib-support-filter--actions {
    justify-content: flex-start;
    align-items: center;
  }

  .ib-ticket-case-page .ib-ticket-shortcuts {
    align-items: flex-start;
  }

  .ib-ticket-case-rebuild .ib-ticket-case-header__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .ib-ticket-case-rebuild .ib-ticket-case-header__actions {
    width: 100%;
  }

  .ib-support-triage-rebuild .ib-support-triage-header {
    grid-template-columns: 1fr;
  }

  .ib-support-triage-rebuild .ib-support-triage-header__actions {
    justify-items: start;
  }

  .ib-support-triage-rebuild .ib-support-triage-header__cta-note {
    text-align: left;
    max-width: none;
  }

  .ib-ticket-case-rebuild .ib-ticket-shortcuts__cta {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  .ib-billing-rebuild .ib-billing-v2-header {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .ib-billing-rebuild .ib-billing-v2-header__highlights {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .ib-billing-rebuild .ib-billing-v2-header__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .ib-billing-rebuild .ib-billing-v2-header__action {
    justify-content: flex-start;
  }

  .ib-billing-rebuild .ib-billing-v2-history__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .ib-billing-rebuild .ib-billing-v2-history__toolbar,
  .ib-billing-rebuild .ib-billing-v2-ops-card__actions {
    justify-content: flex-start;
  }

  .ib-billing-rebuild .ib-billing-v2-ops-grid {
    grid-template-columns: 1fr;
  }

  .ib-billing-rebuild .ib-billing-v2-history-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .ib-billing-rebuild .ib-billing-v2-history-row--head {
    display: none;
  }

  .ib-billing-rebuild .ib-billing-v2-history-row > span {
    display: grid;
    gap: 4px;
  }

  .ib-billing-rebuild .ib-billing-v2-history-row > span::before {
    content: attr(data-label);
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .ib-billing-rebuild .ib-billing-v2-history-row__actions {
    justify-content: flex-start;
  }

  .ib-billing-rebuild .ib-billing-v2-history__empty {
    grid-template-columns: 1fr;
  }

  .ib-plans-rebuild .ib-plans-v2-header {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .ib-support-triage-rebuild .ib-support-triage-header,
  .ib-support-triage-rebuild .ib-support-triage-filters {
    grid-template-columns: 1fr;
  }

  .ib-support-triage-rebuild .ib-support-triage-filter--actions {
    justify-content: flex-start;
  }

  .ib-support-triage-rebuild .ib-support-triage-card__top,
  .ib-support-triage-rebuild .ib-support-triage-card__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .ib-support-triage-rebuild .ib-support-triage-card__meta {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .ib-support-page,
  .ib-ticket-page {
    padding: 18px 0 40px;
  }

  .ib-support-hero,
  .ib-ticket-panel,
  .ib-support-summary__card,
  .ib-support-filters,
  .ib-support-card,
  .ib-support-empty,
  .ib-ticket-context-card,
  .ib-ticket-message,
  .ib-ticket-reply,
  .ib-app-context-banner {
    padding: 20px;
    border-radius: 22px;
  }

  .ib-support-card__top,
  .ib-support-card__actions,
  .ib-ticket-message__head,
  .ib-ticket-reply__actions,
  .ib-billing-status-card__badges {
    flex-direction: column;
    align-items: flex-start;
  }

  .ib-support-modal__hero,
  .ib-support-modal__context,
  .ib-support-modal__guide,
  .ib-support-modal__form,
  .ib-support-modal__footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .ib-support-modal {
    width: min(900px, calc(100vw - 12px));
  }

  .ib-support-modal__hero-badges {
    width: 100%;
  }

  .ib-support-modal__badge {
    min-height: 32px;
    font-size: 0.72rem;
  }

  .ib-support-modal__guide {
    margin-left: 18px;
    margin-right: 18px;
  }

  .ib-support-modal__grid {
    grid-template-columns: 1fr;
  }

  .ib-support-modal__footer {
    flex-direction: column-reverse;
  }

  .ib-support-modal__footer .btn-primary,
  .ib-support-modal__footer .btn-ghost,
  .ib-ticket-reply__actions .ib-btn,
  .ib-support-filter--actions .ib-btn {
    width: 100%;
  }

  .ib-support-list-page .ib-support-summary__card--compact,
  .ib-support-list-page .ib-support-filters,
  .ib-support-list-page .ib-support-card {
    padding: 14px;
    border-radius: 16px;
  }

  .ib-support-list-page .ib-support-card__details {
    grid-template-columns: 1fr;
  }

  .ib-support-list-page .ib-support-card__detail strong {
    font-size: 0.82rem;
  }

  .ib-ticket-case-page .ib-ticket-case-hero,
  .ib-ticket-case-page .ib-ticket-case-card,
  .ib-ticket-case-page .ib-ticket-shortcuts {
    padding: 14px;
    border-radius: 16px;
  }

  .ib-ticket-case-page .ib-ticket-case-card__actions .ib-btn {
    width: 100%;
  }

  .ib-ticket-case-rebuild .ib-ticket-case-header,
  .ib-ticket-case-rebuild .ib-ticket-case-card,
  .ib-ticket-case-rebuild .ib-ticket-case-shortcuts {
    padding: 12px;
    border-radius: 14px;
  }

  .ib-ticket-case-rebuild .ib-ticket-case-header__actions .ib-btn {
    width: 100%;
  }

  .ib-billing-rebuild .ib-billing-v2-header,
  .ib-billing-rebuild .ib-billing-v2-history,
  .ib-billing-rebuild .ib-billing-v2-plans {
    padding: 14px;
    border-radius: 16px;
  }

  .ib-billing-rebuild .ib-billing-v2-header .ib-btn,
  .ib-billing-rebuild .ib-billing-v2-history__head .ib-btn,
  .ib-billing-rebuild .ib-billing-plan-card__form .ib-btn {
    width: 100%;
  }

  .ib-billing-rebuild .ib-billing-plan-switch-card {
    padding: 14px;
    border-radius: 16px;
    gap: 8px;
  }

  .ib-billing-rebuild .ib-billing-plan-switch-card__topline {
    flex-direction: column;
    align-items: flex-start;
  }

  .ib-billing-rebuild .ib-billing-plan-switch-card__title {
    font-size: 1rem;
  }

  .ib-billing-rebuild .ib-billing-plan-switch-card__price {
    font-size: 1.34rem;
  }

  .ib-billing-rebuild .ib-billing-plan-switch-card__cta {
    width: 100%;
  }

  .ib-billing-rebuild .ib-billing-v2-history__toolbar,
  .ib-billing-rebuild .ib-billing-v2-ops-card__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .ib-billing-rebuild .ib-billing-v2-history__toolbar .ib-btn,
  .ib-billing-rebuild .ib-billing-v2-ops-card__actions .ib-btn {
    width: 100%;
  }

  .ib-billing-rebuild .ib-billing-v2-ops-card {
    padding: 14px;
    border-radius: 16px;
  }

  .ib-billing-rebuild .ib-billing-v2-ops-card__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .ib-billing-rebuild .ib-billing-v2-refund-modal__timeline span {
    padding: 9px 10px;
  }

  .ib-plans-rebuild .ib-plans-v2-header,
  .ib-plans-rebuild .ib-plans-v2-catalog {
    padding: 14px;
    border-radius: 16px;
  }

  .ib-plans-rebuild .ib-plans-v2-header .ib-btn,
  .ib-plans-rebuild .ib-billing-plan-card--plans-v2 .ib-billing-plan-card__form .ib-btn {
    width: 100%;
  }

  .ib-support-triage-rebuild .ib-support-triage-header,
  .ib-support-triage-rebuild .ib-support-triage-filters,
  .ib-support-triage-rebuild .ib-support-triage-card {
    padding: 12px;
    border-radius: 14px;
  }

  .ib-support-triage-rebuild .ib-support-triage-kpis {
    grid-template-columns: 1fr;
  }

  .ib-support-triage-rebuild .ib-support-triage-card__details {
    grid-template-columns: 1fr;
  }

  .ib-support-triage-rebuild .ib-support-triage-filter--actions .ib-btn,
  .ib-support-triage-rebuild .ib-support-triage-card__actions .ib-btn {
    width: 100%;
  }
}

/* Melhorias de Modal - Visibilidade e UX */
.ib-billing-rebuild .ib-billing-v2-cancel-modal .browser-default,
.ib-billing-rebuild .ib-billing-v2-refund-modal .browser-default,
.ib-billing-rebuild .ib-billing-v2-cancel-modal textarea,
.ib-billing-rebuild .ib-billing-v2-refund-modal textarea {
  font-size: 0.95rem;
  padding: 11px 13px;
  transition: all 0.2s ease;
}

.ib-billing-rebuild .ib-billing-v2-cancel-modal .browser-default:focus,
.ib-billing-rebuild .ib-billing-v2-refund-modal .browser-default:focus,
.ib-billing-rebuild .ib-billing-v2-cancel-modal textarea:focus,
.ib-billing-rebuild .ib-billing-v2-refund-modal textarea:focus {
  border-color: rgba(59, 130, 246, 0.8);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  outline: none;
}

.ib-billing-rebuild .ib-billing-v2-cancel-modal label,
.ib-billing-rebuild .ib-billing-v2-refund-modal label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.93rem;
}

/* Botoes de Modal Footer - Maior Contraste */
.ib-billing-rebuild .modal-footer .ib-btn--ghost {
  color: #cbd5e1;
  border: 1px solid rgba(71, 85, 105, 0.5);
}

.ib-billing-rebuild .modal-footer .ib-btn--ghost:hover {
  color: #f8fafc;
  background: rgba(71, 85, 105, 0.2);
  border-color: rgba(71, 85, 105, 0.8);
}

.ib-billing-rebuild .ib-billing-cancel-modal__footer,
.ib-billing-rebuild .ib-billing-v2-cancel-modal .modal-footer {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* Botao de Cancelamento Flutuante */
.ib-billing-cancel-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #ff4757 0%, #ee5a6f 100%) !important;
  border: 2px solid #ff3838 !important;
  color: #ffffff !important;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: none !important;
  letter-spacing: 0.05em;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(255, 71, 87, 0.32);
  text-decoration: none;
  cursor: pointer;
}

.ib-billing-cancel-button:hover {
  background: linear-gradient(135deg, #ff3838 0%, #ee2c2c 100%) !important;
  border-color: #dd0000 !important;
  color: #ffffff !important;
  box-shadow: 0 12px 32px rgba(255, 71, 87, 0.48);
  transform: translateY(-3px);
}

.ib-billing-cancel-button:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 71, 87, 0.36);
}

.ib-billing-cancel-button i.material-icons {
  font-size: 1.35rem;
  font-weight: 700;
}

.ib-billing-cancel-button span {
  display: inline-block;
  min-width: max-content;
}

/* Garantir que Material Icons funcionam em todos os casos */
.ib-btn i.material-icons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: normal;
}

.ib-billing-rebuild i.material-icons {
  font-family: 'Material Icons' !important;
  font-size: 1.35rem;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  line-height: 1;
}

/* Icons nas modals */
.ib-billing-rebuild .modal-content i.material-icons {
  font-size: 1.35rem;
  margin-right: 6px;
}

.ib-billing-rebuild .ib-billing-v2-history-row__status i.material-icons {
  font-size: 1.25rem;
  margin-right: 6px;
}

/* Timeline de Modal - Design Premium */
.ib-billing-rebuild .ib-billing-v2-refund-modal__timeline {
  padding: 14px 0;
  border-top: 1px solid rgba(51, 65, 85, 0.4);
}

.ib-billing-rebuild .ib-billing-v2-refund-modal__timeline span {
  border: 1px solid rgba(71, 85, 105, 0.3);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.6) 100%);
}

/* Botao Danger - Vermelho para Cancelamento */
.ib-billing-rebuild .ib-btn--danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border: 1px solid rgba(248, 113, 113, 0.52);
  color: #fff;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.ib-billing-rebuild .ib-btn--danger:hover {
  background: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
  border-color: rgba(248, 113, 113, 0.75);
  color: #fff;
  box-shadow: 0 10px 24px rgba(239, 68, 68, 0.36);
  transform: translateY(-1px);
}

.ib-billing-rebuild .ib-btn--danger:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  box-shadow: none;
}

/* Modal Form Grid - Melhor Espaçamento */
.ib-billing-v2-cancel-modal__form,
.ib-billing-v2-refund-modal__stack {
  display: grid;
  gap: 12px;
}

/* Modal Window - Melhor Destaque */
.ib-billing-rebuild .ib-billing-v2-cancel-modal__window {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.4);
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.24) 0%, rgba(30, 58, 138, 0.16) 100%);
  color: #dbeafe;
  margin-bottom: 16px;
}

.ib-billing-rebuild .ib-billing-v2-cancel-modal__window strong {
  color: #eff6ff;
  font-weight: 700;
  font-size: 0.9rem;
}

.ib-billing-rebuild .ib-billing-v2-cancel-modal__window p {
  color: rgba(219, 234, 254, 0.92);
  margin-top: 6px;
  line-height: 1.5;
}

.ib-billing-rebuild .ib-billing-v2-cancel-modal__window--positive {
  border-color: rgba(34, 197, 94, 0.45);
  background: linear-gradient(135deg, rgba(21, 128, 61, 0.28) 0%, rgba(20, 83, 45, 0.16) 100%);
  color: #dcfce7;
}

.ib-billing-rebuild .ib-billing-v2-cancel-modal__window--neutral {
  border-color: rgba(148, 163, 184, 0.5);
  background: linear-gradient(135deg, rgba(71, 85, 105, 0.25) 0%, rgba(51, 65, 85, 0.14) 100%);
  color: #e2e8f0;
}

/* Modal Footer Spacing */
.ib-billing-rebuild .ib-billing-v2-cancel-modal__footer,
.ib-billing-v2-cancel-modal .modal-footer {
  padding: 10px 14px !important;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.84) 100%) !important;
  border-top: 1px solid rgba(51, 65, 85, 0.45) !important;
}

.ib-billing-rebuild .ib-billing-v2-cancel-modal__footer .ib-btn {
  min-width: 112px;
  min-height: 34px;
  font-size: 0.72rem;
  padding: 0 12px;
  letter-spacing: 0.05em;
}

/* Responsividade Mobile - Modals & Billing */
@media (max-width: 768px) {
  .ib-billing-rebuild .ib-billing-v2-cancel-modal .modal-content,
  .ib-billing-rebuild .ib-billing-v2-refund-modal .modal-content {
    padding: 20px 16px;
  }

  .ib-billing-rebuild .ib-billing-v2-refund-modal__stack,
  .ib-billing-rebuild .ib-billing-v2-cancel-modal .ib-billing-v2-refund-modal__stack {
    gap: 14px;
  }

  .ib-billing-rebuild .ib-billing-v2-refund-modal__stack .browser-default,
  .ib-billing-rebuild .ib-billing-v2-refund-modal__stack textarea,
  .ib-billing-rebuild .ib-billing-v2-cancel-modal .browser-default,
  .ib-billing-rebuild .ib-billing-v2-cancel-modal textarea {
    font-size: 0.93rem;
    padding: 10px 12px;
  }

  .ib-billing-rebuild .modal-footer {
    padding: 10px 12px !important;
    gap: 8px;
  }

  .ib-billing-rebuild .ib-billing-v2-cancel-modal__footer .ib-btn,
  .ib-billing-rebuild .ib-billing-v2-refund-modal .modal-footer .ib-btn {
    min-width: auto;
    flex: 1;
  }

  .ib-billing-rebuild .ib-billing-v2-refund-modal__timeline {
    gap: 6px;
    margin-top: 12px;
  }

  .ib-billing-rebuild .ib-billing-v2-refund-modal__timeline span {
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .ib-billing-rebuild .ib-billing-cancel-modal__helper {
    font-size: 0.78rem;
  }

  .ib-billing-rebuild .ib-billing-cancel-modal__counter {
    font-size: 0.72rem;
  }

  .ib-billing-cancel-button {
    padding: 10px 16px;
    font-size: 0.88rem;
    gap: 8px;
  }

  .ib-billing-cancel-button i.material-icons {
    font-size: 1.2rem;
  }
}

.ib-billing-rebuild .ib-billing-v2-active-summary {
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(51, 65, 85, 0.72);
  background:
    radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.99) 0%, rgba(17, 24, 39, 0.98) 100%);
  box-shadow: 0 20px 48px rgba(2, 6, 23, 0.34);
}

.ib-billing-rebuild .ib-billing-v2-active-summary__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ib-billing-rebuild .ib-billing-v2-active-summary__head h2 {
  margin: 6px 0 0;
  color: #f8fafc;
  font-size: 1.2rem;
}

.ib-billing-rebuild .ib-billing-v2-active-summary__head p {
  margin: 8px 0 0;
  color: rgba(203, 213, 225, 0.74);
}

.ib-billing-rebuild .ib-billing-v2-active-summary__meta {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.ib-billing-rebuild .ib-billing-v2-active-summary__meta span {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(100, 116, 139, 0.4);
  background: rgba(15, 23, 42, 0.46);
  color: #e2e8f0;
  font-size: 0.86rem;
}

.ib-billing-rebuild .ib-billing-v2-active-summary__meta strong {
  color: rgba(191, 219, 254, 0.78);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ib-billing-rebuild .ib-billing-v2-commercial {
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(51, 65, 85, 0.72);
  background:
    radial-gradient(circle at 100% 0%, rgba(248, 113, 113, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.99) 0%, rgba(17, 24, 39, 0.98) 100%);
  box-shadow: 0 20px 48px rgba(2, 6, 23, 0.34);
  display: grid;
  gap: 14px;
}

.ib-billing-rebuild .ib-billing-v2-commercial--warning {
  background:
    radial-gradient(circle at 100% 0%, rgba(251, 191, 36, 0.22), transparent 36%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.99) 0%, rgba(17, 24, 39, 0.98) 100%);
}

.ib-billing-rebuild .ib-billing-v2-commercial--success {
  background:
    radial-gradient(circle at 100% 0%, rgba(45, 212, 191, 0.2), transparent 36%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.99) 0%, rgba(17, 24, 39, 0.98) 100%);
}

.ib-billing-rebuild .ib-billing-v2-commercial__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ib-billing-rebuild .ib-billing-v2-commercial__head h2 {
  margin: 6px 0 0;
  color: #f8fafc;
  font-size: 1.18rem;
}

.ib-billing-rebuild .ib-billing-v2-commercial__head p {
  margin: 8px 0 0;
  color: rgba(226, 232, 240, 0.84);
  max-width: 68ch;
}

.ib-billing-rebuild .ib-billing-v2-commercial__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ib-billing-rebuild .ib-billing-v2-commercial__meta span {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(100, 116, 139, 0.44);
  background: rgba(15, 23, 42, 0.46);
  color: #e2e8f0;
  font-size: 0.86rem;
}

.ib-billing-rebuild .ib-billing-v2-commercial__meta strong {
  color: rgba(191, 219, 254, 0.82);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ib-billing-rebuild .ib-billing-v2-commercial__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ib-billing-rebuild .ib-billing-v2-history-row__actions {
  min-width: 138px;
  justify-content: flex-end;
}

.ib-billing-rebuild .ib-billing-v2-history-row__regularize-form {
  margin: 0;
  display: inline-flex;
}

.ib-billing-rebuild .ib-billing-v2-history-row__action {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.72rem;
}

.ib-billing-rebuild .ib-billing-v2-history-row__action--primary {
  border-color: rgba(56, 189, 248, 0.52);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.84) 0%, rgba(59, 130, 246, 0.78) 100%);
  color: #f8fafc;
}

.ib-billing-rebuild .ib-billing-v2-history-row__action--ghost {
  background: rgba(15, 23, 42, 0.42);
  border-color: rgba(100, 116, 139, 0.56);
  color: #cbd5e1;
}

.ib-billing-rebuild .ib-billing-v2-history-row__no-action {
  color: rgba(148, 163, 184, 0.92);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.ib-billing-rebuild .ib-billing-v2-plans .ib-billing-plan-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.ib-billing-rebuild .ib-billing-plan-switch-card {
  padding: 12px;
  border-radius: 15px;
  gap: 7px;
}

.ib-billing-rebuild .ib-billing-plan-switch-card__title {
  font-size: 1rem;
}

.ib-billing-rebuild .ib-billing-plan-switch-card__price {
  font-size: 1.2rem;
}

.ib-billing-rebuild .ib-billing-plan-switch-card__description,
.ib-billing-rebuild .ib-billing-plan-switch-card__list li {
  font-size: 0.8rem;
}

.ib-billing-rebuild .ib-billing-plan-switch-card__cta {
  min-height: 36px;
  font-size: 0.72rem;
}

@media (max-width: 760px) {
  .ib-support-triage-rebuild .ib-support-triage-kpis {
    grid-template-columns: 1fr;
  }

  .ib-ticket-case-rebuild .ib-ticket-meta-grid {
    grid-template-columns: 1fr;
  }

  .ib-billing-rebuild .ib-billing-v2-active-summary__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ib-billing-rebuild .ib-billing-v2-commercial__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .ib-billing-rebuild .ib-billing-v2-commercial__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ib-billing-rebuild .ib-billing-v2-history-row__actions {
    width: 100%;
    justify-content: flex-start;
    min-width: 0;
  }

  .ib-billing-rebuild .ib-billing-v2-history-row__regularize-form {
    width: 100%;
  }

  .ib-billing-rebuild .ib-billing-v2-history-row__action {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .ib-billing-rebuild .ib-billing-v2-active-summary {
    padding: 14px;
  }

  .ib-billing-rebuild .ib-billing-v2-commercial {
    padding: 14px;
  }

  .ib-billing-rebuild .ib-billing-v2-active-summary__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .ib-billing-rebuild .ib-billing-v2-active-summary__meta {
    grid-template-columns: 1fr;
  }

  .ib-billing-rebuild .ib-billing-v2-commercial__meta {
    grid-template-columns: 1fr;
  }

  .ib-billing-rebuild .ib-billing-v2-plans .ib-billing-plan-grid {
    grid-template-columns: 1fr;
  }
}

.ib-support-modal .ib-support-modal__hero {
  align-items: flex-start;
}

.ib-support-modal .ib-support-modal__subtitle {
  max-width: 62ch;
}

.ib-support-modal .ib-support-modal__context {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.ib-support-modal .ib-support-modal__hint {
  margin: 0;
}

.ib-support-modal .ib-support-modal__grid {
  grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
  align-items: end;
}

.ib-support-modal .ib-support-modal__grid .input-field {
  margin: 0;
}

.ib-support-modal .ib-support-modal__grid .browser-default,
.ib-support-modal .ib-support-modal__subject {
  min-height: 46px;
  height: 46px;
  line-height: 46px;
}

.ib-support-modal .ib-support-modal__subject {
  width: 100%;
  box-sizing: border-box;
}

.ib-support-modal .ib-support-modal__message {
  min-height: 170px;
  resize: vertical;
}

@media (max-width: 760px) {
  .ib-support-modal .ib-support-modal__grid {
    grid-template-columns: 1fr;
  }
}

/* Passada responsiva critica - app */
@media (max-width: 1120px) {
  .ib-billing-rebuild .ib-billing-v2-header,
  .ib-plans-rebuild .ib-plans-v2-header {
    padding: 16px;
    border-radius: 18px;
  }

  .ib-billing-rebuild .ib-billing-v2-header__actions,
  .ib-plans-rebuild .ib-plans-v2-header__actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }

  .ib-billing-rebuild .ib-billing-v2-header__action,
  .ib-plans-rebuild .ib-billing-v2-header__action {
    min-width: 0;
  }

  .ib-billing-rebuild .ib-billing-v2-history,
  .ib-billing-rebuild .ib-billing-v2-plans,
  .ib-plans-rebuild .ib-plans-v2-catalog {
    padding: 16px;
    border-radius: 18px;
  }

  .ib-inbox-layout {
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: 10px;
  }

  .ib-inbox-thread-col #inbox-conversation {
    min-height: calc(100vh - 170px);
  }

  .ib-ticket-case-rebuild .ib-ticket-case-grid--rebuild,
  .ib-admin-ticket-rebuild .ib-admin-ticket-grid {
    grid-template-columns: 1fr;
  }

  .creator-portal .creator-dashboard-pro__top-grid,
  .creator-portal .creator-dashboard-pro__ops-grid,
  .creator-portal .creator-dashboard-pro__bottom-grid,
  .ib-brand-dashboard-v2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .ib-support-modal .modal-content {
    padding: 16px;
  }

  .ib-support-modal__footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 14px 14px;
  }

  .ib-support-modal__footer .btn-primary,
  .ib-support-modal__footer .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .ib-ticket-case-rebuild .ib-ticket-case-header__actions,
  .ib-ticket-case-rebuild .ib-ticket-case-card__actions,
  .ib-admin-ticket-rebuild .ib-admin-ticket-header__actions,
  .ib-admin-ticket-rebuild .ib-admin-ticket-operation-form__actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ib-ticket-case-rebuild .ib-ticket-case-header__actions .ib-btn,
  .ib-ticket-case-rebuild .ib-ticket-case-card__actions .ib-btn,
  .ib-admin-ticket-rebuild .ib-admin-ticket-header__actions .admin-btn,
  .ib-admin-ticket-rebuild .ib-admin-ticket-operation-form__actions .admin-btn,
  .ib-plans-rebuild .ib-plans-v2-header .ib-btn,
  .ib-billing-rebuild .ib-billing-v2-header .ib-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .ib-inbox-layout {
    grid-template-columns: 1fr;
  }

  .ib-inbox-page,
  .ib-inbox-layout,
  .ib-inbox-sidebar-col,
  .ib-inbox-thread-col {
    min-height: auto;
    max-height: none;
  }

  .ib-inbox-back-btn {
    min-height: 40px;
    padding: 0 12px;
  }

  .creator-portal .creator-dashboard-pro__hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .creator-portal .creator-dashboard-pro__hero-actions .btn,
  .ib-brand-dashboard-v2__section-head--split .ib-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .ib-billing-rebuild .ib-billing-v2,
  .ib-plans-rebuild .ib-plans-v2,
  .ib-ticket-case-rebuild .ib-ticket-page,
  .ib-admin-ticket-rebuild .ib-admin-ticket-shell {
    gap: 10px;
  }

  .ib-billing-rebuild .ib-billing-v2-header,
  .ib-billing-rebuild .ib-billing-v2-history,
  .ib-billing-rebuild .ib-billing-v2-plans,
  .ib-plans-rebuild .ib-plans-v2-header,
  .ib-plans-rebuild .ib-plans-v2-catalog,
  .ib-ticket-case-rebuild .ib-ticket-case-card,
  .ib-ticket-case-rebuild .ib-ticket-case-header,
  .ib-admin-ticket-rebuild .ib-admin-ticket-card,
  .ib-admin-ticket-rebuild .ib-admin-ticket-header {
    padding: 12px;
    border-radius: 14px;
  }

  .ib-support-modal .modal-content {
    padding: 12px;
  }
}
