/* Shared multi-tenant explainer — login (2/3) + official website */

.sb-mt-story {
  --mt-ink: #0f2744;
  --mt-muted: #334155;
  --mt-line: #cbd5e1;
  --mt-blue: #1d6ef5;
  background: #fff;
  color: var(--mt-ink);
  border: 1px solid #94a3b8;
  border-radius: 16px;
  padding: 1.05rem 1rem 0.9rem;
  box-shadow: 0 12px 32px rgba(15, 39, 68, 0.1);
}

.sb-mt-story svg {
  display: block;
  width: 100%;
  height: 100%;
}

.sb-mt-story__brand {
  margin: 0 0 0.15rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--mt-blue);
}

.sb-mt-story__title {
  margin: 0 0 0.3rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.35;
  font-weight: 800;
}

.sb-mt-story__lead {
  margin: 0 0 0.8rem;
  color: var(--mt-muted);
  font-weight: 700;
  font-size: 0.95rem;
}

.sb-mt-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.sb-mt-panel {
  border: 1px solid var(--mt-line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  min-width: 0;
}

.sb-mt-panel__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.55rem 0.7rem;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.3;
}

.sb-mt-panel--tenant .sb-mt-panel__title { background: #dbeafe; }
.sb-mt-panel--people .sb-mt-panel__title { background: #d1fae5; }
.sb-mt-panel--flow .sb-mt-panel__title { background: #ede9fe; }
.sb-mt-panel--sync .sb-mt-panel__title { background: #ffedd5; }

.sb-mt-num,
.sb-mt-flow__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: #1d4ed8;
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  flex: 0 0 auto;
}

.sb-mt-panel__note,
.sb-mt-tenant,
.sb-mt-people,
.sb-mt-flow,
.sb-mt-table-wrap,
.sb-mt-feed {
  padding: 0.65rem 0.7rem;
}

.sb-mt-panel__note {
  margin: 0;
  padding-bottom: 0;
  font-weight: 650;
  color: var(--mt-muted);
  font-size: 0.88rem;
}

.sb-mt-tenant { padding-top: 0.55rem; }

.sb-mt-tenant__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 0.3rem;
}

.sb-mt-tenant__name {
  margin: 0;
  font-weight: 800;
  font-size: 1rem;
}

.sb-mt-tenant__meta {
  margin: 0.2rem 0 0.5rem;
  color: var(--mt-muted);
  font-weight: 700;
  font-size: 0.88rem;
}

.sb-mt-tenant__meta strong { color: var(--mt-blue); }

.sb-mt-plan {
  display: inline-block;
  margin-left: 0.35rem;
  background: #1d4ed8;
  color: #fff;
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
}

.sb-mt-share {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.sb-mt-share li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 36px;
  font-weight: 700;
  font-size: 0.88rem;
}

.sb-mt-share__ico {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.sb-mt-tenant__foot {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e3a8a;
}

.sb-mt-people {
  list-style: none;
  margin: 0;
  padding-top: 0.45rem;
  display: grid;
  gap: 0.4rem;
}

.sb-mt-person {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  background: #f8fafc;
  border-radius: 10px;
  padding: 0.35rem 0.45rem;
}

.sb-mt-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  flex: 0 0 auto;
}

.sb-mt-person--a .sb-mt-avatar { background: #2563eb; }
.sb-mt-person--b .sb-mt-avatar { background: #0f766e; }
.sb-mt-person--c .sb-mt-avatar { background: #b45309; }
.sb-mt-person--d .sb-mt-avatar { background: #7c3aed; }

.sb-mt-person__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  font-size: 0.88rem;
  min-width: 0;
}

.sb-mt-flow {
  list-style: none;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.sb-mt-flow li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 750;
  font-size: 0.88rem;
  min-height: 40px;
}

.sb-mt-flow__ico {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.sb-mt-caption {
  margin: 0 0 0.3rem;
  font-weight: 800;
  font-size: 0.88rem;
}

.sb-mt-table-wrap {
  overflow-x: auto;
  padding-bottom: 0.2rem;
}

.sb-mt-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 18rem;
  font-size: 0.8rem;
}

.sb-mt-table th,
.sb-mt-table td {
  border-bottom: 1px solid #e2e8f0;
  padding: 0.32rem 0.28rem;
  text-align: left;
  white-space: nowrap;
}

.sb-mt-table th {
  background: #e2e8f0;
  font-weight: 800;
}

.sb-mt-status {
  display: inline-block;
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  font-weight: 800;
  font-size: 0.74rem;
}

.sb-mt-status--sent { background: #dbeafe; color: #1e3a8a; }
.sb-mt-status--review { background: #fef3c7; color: #92400e; }
.sb-mt-status--read { background: #e0e7ff; color: #3730a3; }
.sb-mt-status--won { background: #dcfce7; color: #166534; }
.sb-mt-status--draft { background: #e2e8f0; color: #334155; }

.sb-mt-feed { padding-top: 0; }
.sb-mt-feed ol {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--mt-muted);
  font-weight: 650;
  font-size: 0.84rem;
}
.sb-mt-feed li + li { margin-top: 0.25rem; }

.sb-mt-benefits {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.7rem 0.55rem;
  background: #eff6ff;
  border-radius: 12px;
}

.sb-mt-benefits__title {
  margin: 0 0 0.45rem;
  font-weight: 800;
  font-size: 0.95rem;
}

.sb-mt-benefits ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.sb-mt-benefits li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  font-weight: 750;
  font-size: 0.85rem;
}

.sb-mt-benefit__ico {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.sb-mt-banner {
  background: #0b3a6e;
  color: #f8fafc;
  padding: 0.9rem 1.1rem;
}

.sb-mt-banner__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1180px;
  display: grid;
  gap: 0.7rem;
}

.sb-mt-banner li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.sb-mt-banner__ico {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

.sb-mt-banner strong { display: block; font-size: 1.02rem; }
.sb-mt-banner span span { opacity: 0.92; font-weight: 600; font-size: 0.9rem; }

.sb-mt-diff {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}

.sb-mt-diff__card {
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
}

.sb-mt-diff__card--other {
  background: #f1f5f9;
  border: 1px solid #94a3b8;
}

.sb-mt-diff__card--smartbiz {
  background: #eff6ff;
  border: 2px solid #1d6ef5;
}

.sb-mt-diff__card strong {
  display: block;
  margin: 0.25rem 0;
  font-size: 1.05rem;
}

.sb-mt-diff__card span { color: #334155; font-weight: 650; }

.sb-mt-fig {
  width: min(100%, 10rem);
  height: 48px;
}

@media (min-width: 768px) {
  .sb-mt-panels {
    grid-template-columns: 1fr 1fr;
  }
  .sb-mt-benefits ul {
    grid-template-columns: repeat(3, 1fr);
  }
  .sb-mt-banner__list {
    grid-template-columns: repeat(3, 1fr);
  }
  .sb-mt-diff {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1200px) {
  .sb-mt-story--site .sb-mt-panels,
  .sb-mt-panels {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .sb-mt-story--site {
    padding: 1.25rem 1.2rem 1rem;
  }
}
