/* Публичная /company и /dashboard/company — карточки как у конкурентов */
.ci-page {
  max-width: 880px;
  margin: 0 auto;
}

.ci-page .ci-head {
  margin-bottom: 28px;
}

.ci-page .ci-kicker {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.75;
}

.ci-page .ci-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 10px;
}

.ci-page .ci-sub {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.85;
}

.ci-card {
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 18px;
}

.ci-card h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 14px;
  line-height: 1.3;
}

.ci-card h3 {
  font-size: 1rem;
  font-weight: 800;
  margin: 22px 0 10px;
  line-height: 1.35;
}

.ci-card h2 + h3 {
  margin-top: 14px;
}

.ci-page--dark .ci-card h3 {
  color: #e8eefc;
}

.ci-page--light .ci-card h3 {
  color: #0f172a;
}

.ci-card p,
.ci-card li {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.6;
}

.ci-card p:last-child,
.ci-card ul:last-child {
  margin-bottom: 0;
}

.ci-card ul {
  padding-left: 1.2em;
  margin: 0 0 12px;
}

.ci-card li {
  margin-bottom: 8px;
}

.ci-table-wrap {
  overflow-x: auto;
  margin-top: 12px;
}

.ci-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.ci-table th,
.ci-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ci-table th {
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.8;
}

.ci-table tr:last-child td {
  border-bottom: none;
}

/* Лендинг (светлый фон) */
.ci-page--light .ci-kicker,
.ci-page--light .ci-sub {
  color: #475569;
}

.ci-page--light .ci-title {
  color: #0f172a;
}

.ci-page--light .ci-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  color: #334155;
}

.ci-page--light .ci-card h2 {
  color: #0f172a;
}

.ci-page--light .ci-table th,
.ci-page--light .ci-table td {
  border-color: rgba(15, 23, 42, 0.1);
}

.ci-page .ci-back {
  display: inline-block;
  margin-bottom: 20px;
  font-weight: 600;
  text-decoration: none;
}

.ci-page--light .ci-back {
  color: #2563eb;
}

.ci-page--light .ci-back:hover {
  text-decoration: underline;
}

.ci-page--dark .ci-back {
  color: #93c5fd;
}

.ci-page--dark .ci-back:hover {
  color: #dbeafe;
  text-decoration: underline;
}

/* Кабинет (тёмная тема) */
.ci-page--dark .ci-kicker {
  color: #a8b9e6;
  opacity: 1;
}

.ci-page--dark .ci-title {
  color: #f1f5ff;
}

.ci-page--dark .ci-sub {
  color: #c5d0ef;
  opacity: 1;
}

.ci-page--dark .ci-card {
  background: rgba(15, 25, 48, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  color: #dce7ff;
}

.ci-page--dark .ci-card h2 {
  color: #f8fafc;
}

.ci-page--dark .ci-card strong {
  color: #f1f5ff;
}

.ci-page--dark .ci-table th,
.ci-page--dark .ci-table td {
  border-color: rgba(255, 255, 255, 0.1);
}

.ci-page--dark .ci-table th {
  color: #8ea0c9;
}

.ci-page--light .ci-card a {
  color: #2563eb;
}

.ci-page--dark .ci-card a {
  color: #93c5fd;
}
