:root {
  --bo-blue: #005eb8;
  --bo-blue-dark: #12385f;
  --bo-green: #00966f;
  --bo-bg: #f3f8fd;
  --bo-panel: #ffffff;
  --bo-panel-soft: #f8fbfe;
  --bo-line: #dbe6f2;
  --bo-text: #071226;
  --bo-muted: #66758c;
  --bo-soft-blue: #eef7ff;
  --bo-shadow: 0 18px 55px rgba(15, 23, 42, 0.055);
}

* {
  box-sizing: border-box;
}

.bo-body {
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(135deg, #eef7ff 0%, #ffffff 46%, #f7fffb 100%);
  color: var(--bo-text);
  font-family: Aelita, sans-serif;
  letter-spacing: 0;
}

.bo-shell {
  min-height: 100vh;
}

.bo-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  min-height: 4.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border-bottom: 1px solid var(--bo-line);
  background: rgba(255, 255, 255, 0.96);
  padding: 0.8rem 1.25rem;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.055);
  backdrop-filter: blur(18px);
}

.bo-topbar__brand,
.bo-topbar__actions {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 1rem;
}

.bo-logo {
  display: inline-flex;
  align-items: center;
}

.bo-logo img {
  width: 9.25rem;
  height: auto;
  display: block;
}

.bo-topbar__title {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  border-left: 1px solid var(--bo-line);
  padding-left: 1rem;
}

.bo-topbar__title span,
.bo-eyebrow {
  color: #8a9ab1;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.bo-topbar__title strong {
  overflow: hidden;
  color: var(--bo-text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bo-user {
  max-width: 14rem;
  overflow: hidden;
  color: var(--bo-muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bo-layout {
  display: grid;
  gap: 1.25rem;
  width: min(100%, 1760px);
  margin: 0 auto;
  padding: 1.25rem;
}

.bo-sidebar {
  display: grid;
  align-self: start;
  gap: 1rem;
  border: 1px solid var(--bo-line);
  border-radius: 1.45rem;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.75rem;
  box-shadow: var(--bo-shadow);
}

.bo-sidebar__brand {
  display: flex;
  min-height: 4rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bo-line);
  border-radius: 1rem;
  background: #fff;
  padding: 0.7rem;
}

.bo-sidebar__brand img {
  width: 9.5rem;
  height: auto;
  display: block;
}

.bo-sidebar__identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  border: 1px solid var(--bo-line);
  border-radius: 1rem;
  background: #fff;
  padding: 0.75rem;
}

.bo-sidebar__avatar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  overflow: hidden;
  border: 1px solid var(--bo-line);
  border-radius: 0.95rem;
  background: linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
  color: #64758d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.68);
}

.bo-sidebar__avatar svg {
  display: block;
  width: 1.55rem;
  height: 1.55rem;
}

.bo-sidebar__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bo-sidebar__identity-copy {
  display: grid;
  min-width: 0;
  gap: 0.25rem;
}

.bo-sidebar__identity-label {
  margin: 0;
  color: #8a9ab1;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.bo-sidebar__identity strong {
  overflow: hidden;
  color: var(--bo-text);
  font-size: 0.92rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bo-sidebar__identity small {
  color: var(--bo-muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.bo-sidebar__home,
.bo-nav-group a {
  display: grid;
  gap: 0.25rem;
  border-radius: 1rem;
  color: #34445a;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}

.bo-sidebar__home {
  border: 1px solid var(--bo-line);
  background: var(--bo-panel-soft);
  padding: 0.95rem;
}

.bo-sidebar__home span,
.bo-nav-group a span {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
}

.bo-sidebar__home small {
  color: var(--bo-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.bo-nav-group {
  display: grid;
  gap: 0.45rem;
}

.bo-nav-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  border-radius: 0.85rem;
  padding: 0.55rem 0.65rem;
  color: #8a9ab1;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}

.bo-nav-group summary::-webkit-details-marker {
  display: none;
}

.bo-nav-group summary::after {
  content: "+";
  color: #9aa8ba;
  font-size: 0.9rem;
  letter-spacing: 0;
}

.bo-nav-group[open] summary {
  background: #f3f8fd;
  color: var(--bo-blue);
}

.bo-nav-group[open] summary::after {
  content: "-";
}

.bo-nav-group nav {
  display: grid;
  gap: 0.15rem;
}

.bo-nav-group a {
  padding: 0.62rem 0.75rem;
}

.bo-cms-switcher {
  display: grid;
  gap: 0.35rem;
  border: 1px solid var(--bo-line);
  border-radius: 1rem;
  background: #fff;
  padding: 0.35rem;
}

.bo-cms-switcher a {
  display: flex;
  align-items: center;
  min-height: 2.45rem;
  border-radius: 0.75rem;
  padding: 0.45rem 0.65rem;
  color: #4f6076;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}

.bo-cms-switcher a:hover,
.bo-cms-switcher a.is-active {
  background: var(--bo-soft-blue);
  color: var(--bo-blue);
}

.bo-sidebar-search {
  display: grid;
  gap: 0.4rem;
  border: 1px solid var(--bo-line);
  border-radius: 1rem;
  background: #fff;
  padding: 0.65rem;
}

.bo-sidebar-search span {
  color: #8da0b8;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.bo-sidebar-search input {
  min-height: 2.25rem;
  width: 100%;
  border: 1px solid #dce7f2;
  border-radius: 999px;
  padding: 0 0.8rem;
  color: var(--bo-text);
  font-family: Aelita, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  outline: none;
}

.bo-sidebar-search input:focus {
  border-color: rgba(0, 94, 184, 0.42);
  box-shadow: 0 0 0 4px rgba(0, 94, 184, 0.08);
}

.bo-sidebar__home:hover,
.bo-nav-group a:hover,
.bo-sidebar__home.is-active,
.bo-nav-group a.is-active {
  background: var(--bo-soft-blue);
  color: var(--bo-blue);
}

.bo-main {
  display: grid;
  min-width: 0;
  gap: 1.1rem;
}

.bo-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  color: #8a9ab1;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.bo-breadcrumbs a,
.bo-breadcrumbs span {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  color: inherit;
  text-decoration: none;
}

.bo-breadcrumbs a:hover {
  color: var(--bo-blue);
}

.bo-breadcrumbs a::after,
.bo-breadcrumbs span:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  color: #b8c5d4;
}

.bo-messages {
  display: grid;
  gap: 0.6rem;
}

.bo-message,
.bo-form-alert {
  border: 1px solid rgba(0, 94, 184, 0.18);
  border-radius: 1rem;
  background: #fff;
  padding: 0.85rem 1rem;
  color: var(--bo-blue-dark);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.bo-message--error {
  border-color: rgba(180, 35, 24, 0.2);
  color: #b42318;
}

.bo-message--success {
  border-color: rgba(0, 150, 111, 0.18);
  color: var(--bo-green);
}

.bo-page-intro {
  display: grid;
  gap: 1rem;
  align-items: end;
  border: 1px solid var(--bo-line);
  border-radius: 1.45rem;
  background: linear-gradient(135deg, #ffffff 0%, #f7fffb 54%, #eef7ff 100%);
  padding: 1.15rem;
  box-shadow: var(--bo-shadow);
}

.bo-page-intro h1,
.bo-panel h2,
.bo-save-card h2,
.bo-delete-card h2,
.bo-login-card h1,
.bo-login-side h2 {
  margin: 0.45rem 0 0;
  color: var(--bo-text);
  font-family: Aelita, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.bo-page-intro h1 {
  max-width: 22ch;
  font-size: clamp(1.85rem, 2.8vw, 3.35rem);
  line-height: 1;
}

.bo-page-intro p,
.bo-save-card p,
.bo-delete-card p {
  max-width: 44rem;
  margin: 0.65rem 0 0;
  color: var(--bo-muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.bo-period-card {
  display: grid;
  gap: 0.5rem;
  min-width: 13rem;
  border: 1px solid rgba(0, 94, 184, 0.14);
  border-radius: 1.1rem;
  background: #fff;
  padding: 0.9rem 1rem;
}

.bo-period-card span,
.bo-stat-card span,
.bo-resource-card span,
.bo-action-item span,
.bo-feed__item span {
  display: block;
  color: #8a9ab1;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bo-period-card strong {
  color: var(--bo-text);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.bo-stat-grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--bo-line);
  border-radius: 1.25rem;
  background: var(--bo-line);
}

.bo-stat-card {
  display: grid;
  min-height: 8.25rem;
  align-content: space-between;
  background: #fff;
  padding: 1rem;
  text-decoration: none;
  transition: background 0.18s;
}

.bo-stat-card:hover {
  background: #f8fbfe;
}

.bo-stat-card strong,
.bo-resource-card strong {
  display: block;
  margin-top: 0.65rem;
  color: var(--bo-text);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
}

.bo-stat-card small,
.bo-resource-card small,
.bo-action-item small,
.bo-feed__item small {
  display: block;
  margin-top: 0.55rem;
  color: var(--bo-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.bo-dashboard-grid {
  display: grid;
  gap: 1.1rem;
}

.bo-panel,
.bo-table-card,
.bo-delete-card,
.bo-editor__main,
.bo-save-card,
.bo-cms-preview {
  border: 1px solid var(--bo-line);
  border-radius: 1.45rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--bo-shadow);
}

.bo-panel,
.bo-table-card,
.bo-delete-card,
.bo-editor__main,
.bo-save-card,
.bo-cms-preview {
  padding: 1.15rem;
}

.bo-panel__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.bo-panel h2,
.bo-save-card h2,
.bo-delete-card h2 {
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  line-height: 1.08;
}

.bo-action-list,
.bo-feed,
.bo-resource-card__links {
  display: grid;
  gap: 0.55rem;
}

.bo-action-list--grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bo-action-item,
.bo-feed__item {
  display: grid;
  gap: 0.15rem;
  border: 1px solid #dce7f2;
  border-radius: 1rem;
  background: #fff;
  padding: 0.85rem 0.9rem;
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s;
}

.bo-action-item:hover,
.bo-feed__item:hover {
  border-color: rgba(0, 94, 184, 0.28);
  background: #f8fbfe;
}

.bo-action-item strong,
.bo-feed__item strong {
  color: var(--bo-text);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.bo-action-item strong {
  font-size: 1.45rem;
}

.bo-action-list--grid .bo-action-item {
  min-height: 7.5rem;
  align-content: start;
  gap: 0.35rem;
  padding: 1rem;
}

.bo-action-list--grid .bo-action-item strong {
  font-size: 1rem;
}

.bo-resource-grid {
  display: grid;
  gap: 0.85rem;
}

.bo-resource-card {
  display: grid;
  gap: 0.9rem;
  border: 1px solid #dce7f2;
  border-radius: 1.1rem;
  background: #fff;
  padding: 1rem;
}

.bo-resource-card__links a {
  display: flex;
  min-height: 2.25rem;
  align-items: center;
  border-radius: 999px;
  background: #f3f8fd;
  padding: 0 0.8rem;
  color: #34445a;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.bo-resource-card__links a:hover {
  color: var(--bo-blue);
}

.bo-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.bo-section-head h2 {
  margin: 0.35rem 0 0;
  color: var(--bo-text);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.05;
}

.bo-section-head > p {
  max-width: 34rem;
  margin: 0;
  color: var(--bo-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.bo-cms-home-intro,
.bo-cms-pages,
.bo-cms-editor-intro,
.bo-cms-editor-section,
.bo-cms-editor-side,
.bo-cms-entry {
  border: 1px solid var(--bo-line);
  border-radius: 1.55rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--bo-shadow);
}

.bo-cms-home-intro,
.bo-cms-pages,
.bo-cms-editor-intro,
.bo-cms-editor-section,
.bo-cms-editor-side {
  padding: 1.15rem;
}

.bo-cms-page-grid,
.bo-cms-entry-list,
.bo-cms-entry__groups {
  display: grid;
  gap: 0.9rem;
}

.bo-cms-page-card {
  display: grid;
  gap: 1rem;
  border: 1px solid #dce7f2;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #fff 0%, #f8fbfe 100%);
  padding: 1rem;
}

.bo-cms-page-card__body h2 {
  margin: 0.45rem 0 0;
  color: var(--bo-text);
  font-size: clamp(1.35rem, 2vw, 2.05rem);
  line-height: 1.02;
}

.bo-cms-page-card__body p:not(.bo-eyebrow),
.bo-cms-editor-section__head p:not(.bo-eyebrow),
.bo-cms-empty p {
  margin: 0.55rem 0 0;
  color: var(--bo-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.bo-cms-page-card__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #dce7f2;
  border-radius: 1rem;
  background: #fff;
}

.bo-cms-page-card__meta span {
  display: grid;
  gap: 0.25rem;
  border-right: 1px solid #dce7f2;
  padding: 0.8rem;
  color: var(--bo-muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
}

.bo-cms-page-card__meta span:last-child {
  border-right: 0;
}

.bo-cms-page-card__meta strong {
  color: var(--bo-text);
  font-size: 1.15rem;
  line-height: 1;
}

.bo-cms-page-card__actions,
.bo-cms-editor-intro__actions,
.bo-cms-entry__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.bo-cms-page-card__actions .bo-button {
  flex: 1 1 8rem;
}

.bo-cms-editor-intro {
  align-items: center;
  padding: 0.95rem 1rem;
}

.bo-cms-editor-intro h1 {
  max-width: 24ch;
  font-size: clamp(1.55rem, 2.3vw, 2.55rem);
}

.bo-cms-editor-intro p:not(.bo-eyebrow) {
  max-width: 42rem;
  margin-top: 0.45rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.bo-cms-page-tabs {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.bo-cms-page-tabs a {
  display: flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  border: 1px solid var(--bo-line);
  border-radius: 1rem;
  background: #fff;
  padding: 0 0.85rem;
  color: var(--bo-muted);
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
}

.bo-cms-page-tabs a:hover,
.bo-cms-page-tabs a.is-active {
  border-color: rgba(0, 94, 184, 0.28);
  background: var(--bo-soft-blue);
  color: var(--bo-blue);
}

.bo-cms-page-tabs span {
  overflow: hidden;
  color: var(--bo-text);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bo-cms-page-tabs small {
  display: inline-flex;
  min-width: 1.7rem;
  height: 1.7rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: currentColor;
  font-size: 0.72rem;
  font-weight: 800;
}

.bo-cms-structure {
  display: grid;
  gap: 0.8rem;
  border: 1px solid var(--bo-line);
  border-radius: 1.55rem;
  background: rgba(255, 255, 255, 0.96);
  padding: 0.95rem;
  box-shadow: var(--bo-shadow);
}

.bo-cms-structure__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.bo-cms-structure__head h2 {
  margin: 0.35rem 0 0;
  color: var(--bo-text);
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  line-height: 1.06;
}

.bo-cms-structure__head p:not(.bo-eyebrow) {
  max-width: 46rem;
  margin: 0.4rem 0 0;
  color: var(--bo-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.bo-cms-structure__head > span {
  display: inline-flex;
  min-height: 2.05rem;
  flex: 0 0 auto;
  align-items: center;
  border: 1px solid #dce7f2;
  border-radius: 999px;
  background: #fff;
  padding: 0 0.8rem;
  color: var(--bo-blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.bo-cms-structure__grid {
  display: grid;
  max-height: 18.5rem;
  overflow-y: auto;
  padding-right: 0.2rem;
  gap: 0.45rem;
  grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr));
  scrollbar-width: thin;
  scrollbar-color: #b8c5d4 transparent;
}

.bo-cms-structure-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.6rem;
  align-items: start;
  border: 1px solid #dce7f2;
  border-radius: 0.95rem;
  background: linear-gradient(135deg, #fff 0%, #f8fbfe 100%);
  padding: 0.65rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s, background 0.18s;
}

.bo-cms-structure-card:hover,
.bo-cms-structure-card.is-active {
  border-color: rgba(0, 94, 184, 0.3);
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.bo-cms-structure-card__index {
  display: inline-flex;
  width: 1.9rem;
  height: 1.9rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--bo-soft-blue);
  color: var(--bo-blue);
  font-size: 0.68rem;
  font-weight: 900;
}

.bo-cms-structure-card__body {
  display: grid;
  min-width: 0;
  gap: 0.3rem;
}

.bo-cms-structure-card__body strong {
  overflow: hidden;
  color: var(--bo-text);
  font-size: 0.88rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bo-cms-structure-card__body small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--bo-muted);
  font-size: 0.72rem;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.bo-cms-structure-card__meta {
  display: flex;
  flex-wrap: wrap;
  grid-column: 2;
  gap: 0.35rem;
}

.bo-cms-structure-card__meta em,
.bo-cms-editor-section__meta span,
.bo-cms-page-part__meta em {
  display: inline-flex;
  min-height: 1.45rem;
  align-items: center;
  border-radius: 999px;
  background: #fff;
  padding: 0 0.5rem;
  color: #64758d;
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.bo-cms-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.28fr);
  gap: 1rem;
  align-items: start;
}

.bo-cms-editor-main {
  display: grid;
  min-width: 0;
  gap: 1rem;
}

.bo-cms-editor-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--bo-line);
  padding-bottom: 1rem;
}

.bo-cms-editor-section__head h2 {
  margin: 0.35rem 0 0;
  color: var(--bo-text);
  font-size: 1.35rem;
  line-height: 1.05;
}

.bo-cms-editor-section__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
  max-width: 22rem;
}

.bo-cms-editor-section__meta span {
  border: 1px solid #dce7f2;
  background: #fff;
  color: var(--bo-blue);
}

.bo-cms-editor-section.is-active {
  border-color: rgba(0, 94, 184, 0.3);
  box-shadow: 0 22px 60px rgba(0, 94, 184, 0.08);
}

.bo-cms-entry-list {
  margin-top: 1rem;
}

.bo-cms-page-block__parts {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.bo-cms-page-part {
  display: grid;
  gap: 0.85rem;
  border: 1px solid #dce7f2;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #fff 0%, #f8fbfe 100%);
  padding: 0.9rem;
}

.bo-cms-page-part__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.bo-cms-page-part__head h3 {
  margin: 0;
  color: var(--bo-text);
  font-size: 1rem;
  line-height: 1.2;
}

.bo-cms-page-part__head p {
  max-width: 46rem;
  margin: 0.35rem 0 0;
  color: var(--bo-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.bo-cms-page-part__head > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bo-cms-page-part__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
  max-width: 18rem;
}

.bo-cms-page-part__meta em {
  border: 1px solid #dce7f2;
  background: #fff;
}

.bo-cms-page-part__records {
  display: grid;
  gap: 0.75rem;
}

.bo-cms-page-part .bo-cms-entry {
  border-radius: 1.15rem;
  box-shadow: none;
}

.bo-cms-page-part .bo-cms-entry__form {
  padding: 0.85rem;
}

.bo-cms-page-part .bo-cms-entry__head {
  grid-template-columns: 5.2rem minmax(0, 1fr) auto;
  gap: 0.8rem;
}

.bo-cms-page-part .bo-cms-entry--text .bo-cms-entry__head,
.bo-cms-entry--text .bo-cms-entry__head {
  grid-template-columns: minmax(0, 1fr) auto;
}

.bo-cms-page-part .bo-cms-entry__media {
  width: 5.2rem;
  height: 3.8rem;
  border-radius: 0.85rem;
}

.bo-cms-entry {
  overflow: hidden;
}

.bo-cms-entry__form {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.bo-cms-entry__head {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid var(--bo-line);
  padding-bottom: 1rem;
}

.bo-cms-entry__media {
  display: flex;
  width: 6rem;
  height: 4.3rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--bo-line);
  border-radius: 1rem;
  background: #f3f8fd;
  color: var(--bo-muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bo-cms-entry__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bo-cms-entry__title {
  display: grid;
  min-width: 0;
  gap: 0.25rem;
}

.bo-cms-entry__title strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--bo-text);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bo-cms-entry__title small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--bo-muted);
  font-size: 0.78rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bo-cms-entry__status {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--bo-soft-blue);
  padding: 0 0.75rem;
  color: var(--bo-blue);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.bo-cms-field-group {
  display: grid;
  gap: 0.8rem;
}

.bo-cms-field-group + .bo-cms-field-group {
  border-top: 1px solid var(--bo-line);
  padding-top: 1rem;
}

.bo-cms-field-group__head {
  display: grid;
  gap: 0.25rem;
}

.bo-cms-field-group__head h3 {
  margin: 0;
  color: var(--bo-text);
  font-size: 1rem;
  line-height: 1.2;
}

.bo-cms-field-group__head p {
  margin: 0;
  color: var(--bo-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.bo-cms-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.bo-cms-field-group--content .bo-form-field--summary,
.bo-cms-field-group--content .bo-form-field--body,
.bo-cms-field-group--content .bo-form-field--subtitle,
.bo-cms-field-group--technical .bo-form-field--payload {
  grid-column: 1 / -1;
}

.bo-cms-media-editor {
  display: grid;
  grid-template-columns: minmax(12rem, 0.42fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #dce7f2;
  border-radius: 1.15rem;
  background: linear-gradient(135deg, #f7fbff 0%, #ffffff 58%, #f7fffb 100%);
  padding: 0.65rem;
}

.bo-cms-media-editor__preview {
  display: flex;
  min-height: 12rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #dce7f2;
  border-radius: 0.95rem;
  background: #eef4fb;
  color: var(--bo-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.bo-cms-media-editor__preview img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 12rem;
  object-fit: cover;
}

.bo-cms-media-editor__body {
  display: grid;
  gap: 0.8rem;
  align-content: start;
  padding: 0.3rem;
}

.bo-cms-media-editor__body h4 {
  margin: 0.2rem 0 0;
  color: var(--bo-text);
  font-size: 1.05rem;
  line-height: 1.2;
}

.bo-cms-media-editor__body p:not(.bo-eyebrow) {
  max-width: 42rem;
  margin: 0.3rem 0 0;
  color: var(--bo-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.bo-cms-media-editor__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bo-media-upload-button {
  position: relative;
  display: inline-flex;
  min-height: 2.6rem;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(0, 94, 184, 0.22);
  border-radius: 999px;
  background: #fff;
  padding: 0 1rem;
  color: var(--bo-blue);
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, box-shadow 0.18s;
}

.bo-media-upload-button:hover {
  border-color: rgba(0, 94, 184, 0.4);
  box-shadow: 0 10px 24px rgba(0, 94, 184, 0.08);
}

.bo-media-upload-button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bo-media-upload-button input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.bo-cms-media-editor__fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.65rem;
}

.bo-cms-media-editor__fields .bo-form-field--image_alt {
  grid-column: 1 / -1;
}

.bo-cms-entry__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  border-top: 1px solid var(--bo-line);
  padding-top: 1rem;
}

.bo-cms-reference-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.bo-cms-reference-grid--compact {
  margin-top: 0;
}

.bo-cms-reference-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid #dce7f2;
  border-radius: 1.1rem;
  background: linear-gradient(135deg, #fff 0%, #f8fbfe 100%);
  padding: 0.9rem;
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s, transform 0.18s;
}

.bo-cms-reference-card:hover {
  border-color: rgba(0, 94, 184, 0.28);
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.bo-cms-reference-card span {
  display: grid;
  min-width: 0;
  gap: 0.25rem;
}

.bo-cms-reference-card em {
  color: var(--bo-blue);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.bo-cms-reference-card strong {
  overflow: hidden;
  color: var(--bo-text);
  font-size: 0.96rem;
  line-height: 1.22;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bo-cms-reference-card small {
  color: var(--bo-muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.bo-cms-reference-card b {
  display: inline-flex;
  min-width: 2.2rem;
  height: 2.2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--bo-soft-blue);
  color: var(--bo-blue);
  font-size: 0.82rem;
  line-height: 1;
}

.bo-cms-reference-card__side {
  display: grid;
  justify-items: end;
  gap: 0.35rem;
}

.bo-cms-reference-card .bo-cms-reference-card__side small {
  color: var(--bo-blue);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

.bo-cms-check-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bo-cms-check-list li {
  position: relative;
  min-height: 2.35rem;
  border: 1px solid #dce7f2;
  border-radius: 0.95rem;
  background: #fff;
  padding: 0.65rem 0.8rem 0.65rem 2.35rem;
  color: var(--bo-muted);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
}

.bo-cms-check-list li::before {
  position: absolute;
  left: 0.75rem;
  top: 0.68rem;
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--bo-soft-blue);
  color: var(--bo-blue);
  content: "✓";
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

.bo-cms-editor-side {
  position: sticky;
  top: 6rem;
  display: grid;
  gap: 1rem;
}

.bo-cms-editor-side section + section {
  border-top: 1px solid var(--bo-line);
  padding-top: 1rem;
}

.bo-cms-editor-side h2 {
  margin: 0.35rem 0 0;
  color: var(--bo-text);
  font-size: 1.3rem;
  line-height: 1.05;
}

.bo-cms-editor-side dl,
.bo-cms-editor-side ol {
  margin: 0.9rem 0 0;
}

.bo-cms-editor-side dl {
  display: grid;
  gap: 0.55rem;
}

.bo-cms-editor-side dl div {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  border-radius: 0.9rem;
  background: #f8fbfe;
  padding: 0.75rem;
}

.bo-cms-editor-side dt {
  color: var(--bo-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bo-cms-editor-side dd {
  margin: 0;
  color: var(--bo-text);
  font-size: 0.84rem;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-align: right;
}

.bo-cms-editor-nav {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.bo-cms-editor-nav a {
  display: grid;
  gap: 0.2rem;
  border: 1px solid #dce7f2;
  border-radius: 0.95rem;
  background: #f8fbfe;
  padding: 0.75rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}

.bo-cms-editor-nav a:hover,
.bo-cms-editor-nav a.is-active {
  border-color: rgba(0, 94, 184, 0.28);
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.bo-cms-editor-nav span {
  overflow: hidden;
  color: var(--bo-text);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bo-cms-editor-nav small {
  color: var(--bo-muted);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.25;
}

.bo-cms-editor-side ol {
  display: grid;
  gap: 0.55rem;
  padding-left: 1.1rem;
  color: var(--bo-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.bo-cms-empty {
  display: grid;
  gap: 0.65rem;
  border: 1px dashed #cbd8e6;
  border-radius: 1.2rem;
  background: #f8fbfe;
  padding: 1rem;
}

.bo-cms-empty strong {
  color: var(--bo-text);
  font-size: 1rem;
  line-height: 1.3;
}

.bo-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border: 1px solid var(--bo-line);
  border-radius: 1.2rem;
  background: #fff;
  padding: 0.75rem;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.035);
}

.bo-search {
  display: grid;
  flex: 1 1 28rem;
  gap: 0.75rem;
}

.bo-search__row {
  display: flex;
  gap: 0.55rem;
}

.bo-search input {
  min-width: 0;
  min-height: 2.7rem;
  flex: 1;
  border: 1px solid #dce7f2;
  border-radius: 999px;
  padding: 0 1rem;
  color: var(--bo-text);
  font-family: Aelita, sans-serif;
  font-size: 0.92rem;
  outline: none;
}

.bo-resource-filters {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
}

.bo-resource-filters label {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.bo-resource-filters span {
  color: #8da0b8;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.bo-resource-filters select {
  min-height: 2.7rem;
  width: 100%;
  border: 1px solid #dce7f2;
  border-radius: 0.9rem;
  background: #fff;
  padding: 0 0.85rem;
  color: var(--bo-text);
  font-family: Aelita, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  outline: none;
}

.bo-resource-filters select:focus {
  border-color: rgba(0, 94, 184, 0.45);
  box-shadow: 0 0 0 4px rgba(0, 94, 184, 0.08);
}

.bo-search input:focus {
  border-color: rgba(0, 94, 184, 0.45);
  box-shadow: 0 0 0 4px rgba(0, 94, 184, 0.08);
}

.bo-button,
.bo-search button,
.bo-search a,
.bo-primary-button,
.bo-secondary-button,
.bo-danger-button {
  display: inline-flex;
  min-height: 2.65rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 1rem;
  font-family: Aelita, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.bo-button--primary,
.bo-primary-button,
.bo-search button {
  background: var(--bo-blue);
  color: #fff;
}

.bo-button--primary:hover,
.bo-primary-button:hover,
.bo-search button:hover {
  background: var(--bo-blue-dark);
}

.bo-button--ghost,
.bo-secondary-button,
.bo-search a {
  border-color: #d4dfeb;
  background: #fff;
  color: #34445a;
}

.bo-button--ghost:hover,
.bo-secondary-button:hover,
.bo-search a:hover {
  border-color: rgba(0, 94, 184, 0.3);
  color: var(--bo-blue);
}

.bo-button--ghost.is-active {
  border-color: rgba(0, 94, 184, 0.26);
  background: var(--bo-soft-blue);
  color: var(--bo-blue);
}

.bo-danger-button {
  background: #b42318;
  color: #fff;
}

.bo-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.bo-filter-chips span {
  border-radius: 999px;
  background: var(--bo-soft-blue);
  padding: 0.5rem 0.75rem;
  color: var(--bo-blue);
  font-size: 0.76rem;
  font-weight: 700;
}

.bo-bulk-form {
  display: grid;
  gap: 0.85rem;
}

.bo-bulk-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid #dce7f2;
  border-radius: 1.1rem;
  background: #f8fbfe;
  padding: 0.75rem;
}

.bo-bulk-check {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #34445a;
  font-size: 0.86rem;
  font-weight: 700;
}

.bo-bulk-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  justify-content: flex-end;
}

.bo-bulk-actions > span {
  color: #8a9ab1;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bo-bulk-actions select {
  min-height: 2.65rem;
  min-width: 14rem;
  border: 1px solid #dce7f2;
  border-radius: 999px;
  background: #fff;
  padding: 0 0.9rem;
  color: var(--bo-text);
  font-family: Aelita, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  outline: none;
}

.bo-bulk-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.bo-cms-dictionary-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.bo-cms-dictionary-card {
  display: grid;
  gap: 0.65rem;
  min-height: 11rem;
  align-content: start;
  border: 1px solid var(--bo-line);
  border-radius: 1.45rem;
  background: #fff;
  padding: 1.05rem;
  color: var(--bo-text);
  text-decoration: none;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.045);
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}

.bo-cms-dictionary-card:hover {
  border-color: rgba(0, 94, 184, 0.28);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
  transform: translateY(-1px);
}

.bo-cms-dictionary-card span {
  display: inline-flex;
  width: fit-content;
  min-width: 2.3rem;
  min-height: 2.3rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--bo-soft-blue);
  padding: 0 0.65rem;
  color: var(--bo-blue);
  font-family: Aelita, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
}

.bo-cms-dictionary-card strong {
  font-size: 1.05rem;
  line-height: 1.25;
}

.bo-cms-dictionary-card small {
  color: #607086;
  font-size: 0.9rem;
  line-height: 1.55;
}

.bo-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.bo-export-filter {
  display: grid;
  width: 100%;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  align-items: end;
}

.bo-export-filter label {
  display: grid;
  gap: 0.35rem;
}

.bo-export-filter label span {
  color: #8a9ab1;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bo-export-filter input,
.bo-export-filter select {
  width: 100%;
  min-height: 2.7rem;
  border: 1px solid #dce7f2;
  border-radius: 0.9rem;
  background: #fff;
  padding: 0 0.85rem;
  color: var(--bo-text);
  font-family: Aelita, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  outline: none;
}

.bo-export-filter input:focus,
.bo-export-filter select:focus {
  border-color: rgba(0, 94, 184, 0.45);
  box-shadow: 0 0 0 4px rgba(0, 94, 184, 0.08);
}

.bo-export-filter__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bo-export-head {
  padding: 1rem 1rem 0;
}

.bo-export-head small {
  color: var(--bo-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.bo-cms-list-preview {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}

.bo-cms-list-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--bo-line);
  border-radius: 1.35rem;
  background: #fff;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.04);
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}

.bo-cms-list-card:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 94, 184, 0.22);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.065);
}

.bo-cms-list-card__media {
  display: flex;
  aspect-ratio: 16 / 9;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #eef7ff 0%, #f7fffb 100%);
  color: #8a9ab1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.bo-cms-list-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bo-cms-list-card__body {
  display: grid;
  gap: 0.7rem;
  padding: 0.95rem;
}

.bo-cms-list-card__meta,
.bo-cms-preview__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: #8a9ab1;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bo-cms-list-card__meta span,
.bo-cms-preview__meta em {
  border-radius: 999px;
  background: var(--bo-soft-blue);
  padding: 0.32rem 0.55rem;
  color: var(--bo-blue);
  font-style: normal;
  letter-spacing: 0.1em;
}

.bo-cms-list-card h2 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--bo-text);
  font-size: 1.1rem;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bo-cms-list-card a {
  color: inherit;
  text-decoration: none;
}

.bo-cms-list-card p {
  display: -webkit-box;
  min-height: 3.95rem;
  margin: 0;
  overflow: hidden;
  color: var(--bo-muted);
  font-size: 0.84rem;
  line-height: 1.58;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.bo-cms-list-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bo-cms-list-card__actions a {
  display: inline-flex;
  min-height: 2.1rem;
  align-items: center;
  border-radius: 999px;
  background: #f3f8fd;
  padding: 0 0.75rem;
  color: var(--bo-blue);
  font-size: 0.78rem;
  font-weight: 700;
}

.bo-table-scroll {
  overflow-x: auto;
}

.bo-table {
  width: 100%;
  min-width: 60rem;
  border-collapse: collapse;
}

.bo-table--1c-export {
  min-width: 150rem;
}

.bo-table th,
.bo-table td {
  border-bottom: 1px solid #e5edf5;
  padding: 0.82rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.bo-table th {
  color: #8a9ab1;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bo-table td {
  color: #29384d;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.5;
}

.bo-table tbody tr:hover td {
  background: #f8fbfe;
}

.bo-table__actions {
  width: 7rem;
  text-align: right;
}

.bo-table__select {
  width: 4.8rem;
  text-align: center;
}

.bo-table__select input,
.bo-bulk-check input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--bo-blue);
}

.bo-table__actions a {
  color: var(--bo-blue);
  font-weight: 700;
  text-decoration: none;
}

.bo-cell--empty {
  color: #9aa8ba;
}

.bo-cell--boolean {
  display: inline-flex;
  border-radius: 999px;
  background: #f1f5f9;
  padding: 0.22rem 0.55rem;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 700;
}

.bo-cell--boolean.is-true {
  background: rgba(0, 150, 111, 0.1);
  color: var(--bo-green);
}

.bo-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
  padding-top: 1rem;
}

.bo-pagination a,
.bo-pagination span {
  border: 1px solid #dce7f2;
  border-radius: 999px;
  background: #fff;
  padding: 0.6rem 0.85rem;
  color: #34445a;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.bo-editor {
  display: grid;
  gap: 1.1rem;
}

.bo-crm-context {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.1rem;
  border: 1px solid var(--bo-line);
  border-radius: 1.6rem;
  background: linear-gradient(135deg, #ffffff 0%, #f7fffb 56%, #eef7ff 100%);
  padding: clamp(1rem, 2vw, 1.35rem);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.045);
}

.bo-crm-context__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.bo-crm-context__head h2 {
  max-width: 19ch;
  margin: 0.35rem 0 0;
  color: var(--bo-text);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.bo-crm-context__head p:not(.bo-eyebrow) {
  max-width: 46rem;
  margin: 0.7rem 0 0;
  color: var(--bo-muted);
  line-height: 1.65;
}

.bo-crm-context__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.bo-crm-context__grid {
  display: grid;
  overflow: hidden;
  border: 1px solid #dce7f2;
  border-radius: 1.2rem;
  background: #dce7f2;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.bo-crm-context__grid article {
  min-width: 0;
  background: rgba(255, 255, 255, 0.88);
  padding: 0.9rem;
}

.bo-crm-context__grid span,
.bo-crm-context__list-title {
  color: #64748b;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bo-crm-context__grid strong {
  display: block;
  margin-top: 0.45rem;
  overflow-wrap: anywhere;
  color: var(--bo-text);
  font-size: 0.92rem;
  line-height: 1.5;
}

.bo-crm-context__lists {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bo-crm-context__lists > section {
  min-width: 0;
  border: 1px solid #dce7f2;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.82);
  padding: 0.9rem;
}

.bo-crm-context__list {
  display: grid;
  max-height: 18rem;
  overflow: auto;
  gap: 0.55rem;
  margin-top: 0.7rem;
  padding-right: 0.2rem;
}

.bo-crm-context__list a {
  display: grid;
  gap: 0.25rem;
  border: 1px solid #e5edf5;
  border-radius: 0.95rem;
  background: #fff;
  padding: 0.75rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}

.bo-crm-context__list a:hover {
  border-color: rgba(0, 94, 184, 0.28);
  color: var(--bo-blue);
  background: #fbfdff;
}

.bo-crm-context__list strong {
  overflow-wrap: anywhere;
  font-size: 0.86rem;
  line-height: 1.45;
}

.bo-crm-context__list span {
  overflow-wrap: anywhere;
  color: var(--bo-muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.bo-editor__main,
.bo-editor__side {
  min-width: 0;
}

.bo-form-grid {
  display: grid;
  gap: 0.9rem;
}

.bo-form-section {
  display: grid;
  gap: 1rem;
  border-bottom: 1px solid #e5edf5;
  padding-bottom: 1.1rem;
}

.bo-form-section + .bo-form-section {
  margin-top: 1.1rem;
}

.bo-form-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.bo-form-section__head {
  display: grid;
  gap: 0.6rem;
}

.bo-form-section__head h2 {
  margin: 0.25rem 0 0;
  color: var(--bo-text);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.05;
}

.bo-form-section__head p:not(.bo-eyebrow) {
  max-width: 46rem;
  margin: 0;
  color: var(--bo-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.bo-form-field {
  display: grid;
  gap: 0.4rem;
}

.bo-form-field > span {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bo-control,
.bo-login-form input {
  width: 100%;
  min-height: 2.85rem;
  border: 1px solid #dce7f2;
  border-radius: 0.85rem;
  background: #fff;
  padding: 0.7rem 0.9rem;
  color: var(--bo-text);
  font-family: Aelita, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.bo-control:focus,
.bo-login-form input:focus {
  border-color: rgba(0, 94, 184, 0.45);
  box-shadow: 0 0 0 4px rgba(0, 94, 184, 0.08);
}

.bo-control--textarea {
  min-height: 7rem;
  resize: vertical;
}

.bo-form-field--body,
.bo-form-field--story,
.bo-form-field--description,
.bo-form-field--mission,
.bo-form-field--support_needs,
.bo-form-field--body_html,
.bo-form-field--payload {
  grid-column: 1 / -1;
}

.bo-control--multi {
  min-height: 9rem;
}

.bo-form-field--body_html {
  grid-column: 1 / -1;
}

.bo-rich-editor-source.is-enhanced {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.bo-rich-editor {
  overflow: hidden;
  border: 1px solid #dce7f2;
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.035);
}

.bo-rich-editor__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  border-bottom: 1px solid #e5edf5;
  background: #f8fbfe;
  padding: 0.65rem;
}

.bo-rich-editor__toolbar button {
  display: inline-flex;
  min-height: 2.15rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #d4dfeb;
  border-radius: 999px;
  background: #fff;
  padding: 0 0.7rem;
  color: #34445a;
  font-family: Aelita, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}

.bo-rich-editor__toolbar button:hover {
  border-color: rgba(0, 94, 184, 0.3);
  color: var(--bo-blue);
}

.bo-rich-editor__workspace {
  display: grid;
  min-height: 34rem;
}

.bo-rich-editor__surface,
.bo-rich-editor__preview {
  min-width: 0;
}

.bo-rich-editor__surface {
  min-height: 30rem;
  max-height: 58vh;
  overflow: auto;
  padding: 1.1rem;
  color: #111827;
  font-family: "Times New Roman", Times, serif;
  font-size: 1rem;
  line-height: 1.55;
  outline: none;
}

.bo-rich-editor__surface:focus {
  box-shadow: inset 0 0 0 4px rgba(0, 94, 184, 0.08);
}

.bo-rich-editor__surface h1,
.bo-rich-editor__surface h2,
.bo-rich-editor__surface h3,
.bo-rich-editor__preview h1,
.bo-rich-editor__preview h2,
.bo-rich-editor__preview h3 {
  font-family: Arial, sans-serif;
}

.bo-rich-editor__preview {
  display: none;
  border-left: 1px solid #e5edf5;
  background: #edf3f8;
}

.bo-rich-editor__preview iframe {
  width: 100%;
  height: 100%;
  min-height: 34rem;
  border: 0;
  background: #fff;
}

.bo-rich-editor.is-preview-visible .bo-rich-editor__workspace {
  grid-template-columns: minmax(0, 0.88fr) minmax(24rem, 1.12fr);
}

.bo-rich-editor.is-preview-visible .bo-rich-editor__preview {
  display: block;
}

.bo-checkbox {
  width: 1.05rem;
  height: 1.05rem;
}

.bo-choice-stack {
  display: grid;
  gap: 0.5rem;
}

.bo-form-field small {
  color: var(--bo-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.bo-form-field__error,
.bo-form-field--error > span {
  color: #b42318 !important;
}

.bo-save-card {
  position: sticky;
  top: 6rem;
  background: linear-gradient(135deg, #ffffff 0%, #f7fffb 56%, #eef7ff 100%);
}

.bo-cms-preview {
  position: sticky;
  top: 6rem;
  display: grid;
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.bo-cms-preview + .bo-save-card {
  margin-top: 1rem;
  position: static;
}

.bo-save-card__state {
  display: inline-flex;
  width: fit-content;
  min-height: 1.9rem;
  align-items: center;
  border-radius: 999px;
  background: #fff;
  padding: 0 0.75rem;
  color: #8a9ab1;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.is-dirty .bo-save-card__state {
  background: rgba(0, 94, 184, 0.1);
  color: var(--bo-blue);
}

.bo-save-card__actions {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.bo-cms-preview__media {
  display: flex;
  aspect-ratio: 16 / 10;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #eef7ff 0%, #f7fffb 100%);
  color: #8a9ab1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bo-cms-preview__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bo-cms-preview__body {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
}

.bo-cms-preview__body h2 {
  margin: 0;
  color: var(--bo-text);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.02;
}

.bo-cms-preview__body p {
  margin: 0;
  color: var(--bo-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.bo-cms-preview__body small {
  color: #8a9ab1;
  font-size: 0.76rem;
  font-weight: 700;
}

.bo-cms-preview__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.bo-save-card .bo-button,
.bo-save-card .bo-primary-button {
  width: 100%;
}

.bo-danger-link {
  display: flex;
  justify-content: center;
  margin-top: 0.9rem;
  color: #b42318;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.bo-empty {
  margin: 0;
  color: var(--bo-muted);
  line-height: 1.6;
}

.bo-login-shell {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}

.bo-login-card,
.bo-login-side {
  width: min(100%, 54rem);
  border: 1px solid var(--bo-line);
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.95);
  padding: clamp(1.2rem, 3vw, 2.2rem);
  box-shadow: var(--bo-shadow);
}

.bo-login-card {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.bo-login-card__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.bo-login-card__brand img {
  width: 10.5rem;
}

.bo-login-card__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.bo-login-card__nav-link {
  display: inline-flex;
  min-height: 2.55rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #d4dfeb;
  border-radius: 999px;
  background: #fff;
  padding: 0 1rem;
  color: #34445a;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: border-color 0.18s, color 0.18s;
}

.bo-login-card__nav-link:hover {
  border-color: rgba(0, 94, 184, 0.3);
  color: var(--bo-blue);
}

.bo-login-card h1 {
  max-width: 13ch;
  font-size: clamp(2.45rem, 5vw, 4.25rem);
  line-height: 0.92;
}

.bo-login-card__summary,
.bo-login-side p {
  max-width: 34rem;
  color: var(--bo-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.bo-login-form {
  display: grid;
  gap: 0.9rem;
}

.bo-login-form .bo-button {
  min-height: 3.15rem;
}

.bo-login-side {
  display: grid;
  align-content: center;
  gap: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #eef7ff 100%);
}

.bo-login-side h2 {
  max-width: 14ch;
  font-size: clamp(1.8rem, 3.3vw, 3rem);
  line-height: 0.98;
}

.bo-login-note {
  border: 1px solid #dce7f2;
  border-radius: 1.15rem;
  background: #fff;
  padding: 1rem;
}

.bo-login-note span {
  color: var(--bo-blue);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bo-workspace-shell {
  display: grid;
  min-height: 100vh;
  width: min(100%, 118rem);
  margin: 0 auto;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}

.bo-workspace-rail {
  min-width: 0;
}

.bo-workspace-rail__item {
  gap: 0.28rem;
}

.bo-workspace-rail__item small {
  color: var(--bo-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.bo-workspace-rail__actions {
  display: grid;
  gap: 0.45rem;
  margin-top: auto;
  border-top: 1px solid var(--bo-line);
  padding-top: 0.75rem;
}

.bo-workspace-rail__actions .bo-login-card__nav-link {
  width: 100%;
}

.bo-workspace-card {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-self: stretch;
  border: 1px solid var(--bo-line);
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.95);
  padding: clamp(1.2rem, 3vw, 2.2rem);
  box-shadow: var(--bo-shadow);
}

.bo-workspace-card__head {
  display: grid;
  gap: 0.8rem;
}

.bo-workspace-card__head h1 {
  max-width: 13ch;
  margin: 0;
  color: var(--bo-text);
  font-family: Aelita, sans-serif;
  font-size: clamp(2.25rem, 5vw, 4.1rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.94;
}

.bo-workspace-card__head p {
  max-width: 44rem;
  margin: 0;
  color: var(--bo-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.bo-workspace-grid {
  display: grid;
  gap: 0.8rem;
}

.bo-workspace-grid--inside {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}

.bo-workspace-option {
  display: grid;
  min-height: 12rem;
  align-content: start;
  gap: 0.75rem;
  border: 1px solid var(--bo-line);
  border-radius: 1.45rem;
  background: #fff;
  padding: 1.15rem;
  color: var(--bo-text);
  text-decoration: none;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.bo-workspace-option:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 94, 184, 0.28);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.075);
}

.bo-workspace-option span {
  width: fit-content;
  border-radius: 999px;
  background: var(--bo-soft-blue);
  padding: 0.35rem 0.7rem;
  color: var(--bo-blue);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.bo-workspace-option strong {
  max-width: 16ch;
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  line-height: 1;
}

.bo-workspace-option small {
  max-width: 26rem;
  color: var(--bo-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.bo-workspace-option em {
  margin-top: auto;
  color: #8a9ab1;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bo-workspace-option--crm {
  background: linear-gradient(135deg, #ffffff 0%, #eef7ff 100%);
}

.bo-workspace-option--site {
  background: linear-gradient(135deg, #ffffff 0%, #eef7ff 100%);
}

.bo-workspace-option--endowment {
  background: linear-gradient(135deg, #ffffff 0%, #f7fffb 100%);
}

.bo-workspace-option--alumni {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 54%, #f7fffb 100%);
}

.bo-workspace-option--alumni-management {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 54%, #f7fffb 100%);
}

.bo-workspace-option--system {
  background: linear-gradient(135deg, #ffffff 0%, #f5f7fb 100%);
}

.bo-workspace-option--content {
  background: linear-gradient(135deg, #ffffff 0%, #eef7ff 100%);
}

.bo-workspace-option--commerce {
  background: linear-gradient(135deg, #ffffff 0%, #f7fffb 100%);
}

.bo-workspace-option--payments {
  background: linear-gradient(135deg, #ffffff 0%, #f7fffb 100%);
}

.bo-workspace-option--requests {
  background: linear-gradient(135deg, #ffffff 0%, #eef7ff 100%);
}

.bo-workspace-option--pipeline {
  background: linear-gradient(135deg, #ffffff 0%, #f5f7fb 100%);
}

.bo-workspace-option--projects {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 54%, #f7fffb 100%);
}

.bo-workspace-option--donor {
  background: linear-gradient(135deg, #ffffff 0%, #f7fffb 100%);
}

.bo-workspace-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border-top: 1px solid var(--bo-line);
  padding-top: 1rem;
  color: var(--bo-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

@media (min-width: 760px) {
  .bo-page-intro {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .bo-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .bo-resource-grid,
  .bo-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bo-workspace-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1180px) {
  .bo-workspace-shell {
    grid-template-columns: minmax(16rem, 20rem) minmax(0, 82rem);
  }

  .bo-workspace-rail {
    position: sticky;
    top: 1rem;
    height: calc(100vh - 2rem);
    height: calc(100dvh - 2rem);
    overflow-y: auto;
  }

  .bo-layout {
    grid-template-columns: minmax(15rem, 18rem) minmax(0, 1fr);
    align-items: start;
    padding: 1.35rem 1.5rem 2rem;
  }

  .bo-layout > .bo-sidebar {
    position: sticky;
    top: 5rem;
    height: calc(100vh - 5.75rem);
    height: calc(100dvh - 5.75rem);
    overflow-y: auto;
  }

  .bo-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .bo-dashboard-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .bo-resource-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bo-cms-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bo-cms-reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bo-workspace-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .bo-editor {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.34fr);
    align-items: start;
  }

  .bo-rich-editor:not(.is-preview-visible) .bo-rich-editor__workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  .bo-login-shell {
    padding: 1.25rem;
  }
}

@media (min-width: 1500px) {
  .bo-resource-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .bo-cms-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1280px) {
  .bo-cms-page-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bo-cms-editor-layout {
    grid-template-columns: 1fr;
  }

  .bo-cms-editor-side {
    position: static;
  }
}

@media (max-width: 760px) {
  .bo-section-head,
  .bo-cms-structure__head,
  .bo-cms-editor-intro,
  .bo-cms-editor-section__head,
  .bo-cms-page-part__head,
  .bo-cms-entry__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .bo-cms-page-tabs,
  .bo-cms-structure__grid,
  .bo-cms-field-grid {
    grid-template-columns: 1fr;
  }

  .bo-cms-structure-card__meta {
    grid-column: 1 / -1;
  }

  .bo-cms-editor-section__meta,
  .bo-cms-page-part__meta {
    justify-content: flex-start;
    max-width: none;
  }

  .bo-cms-media-editor {
    grid-template-columns: 1fr;
  }

  .bo-cms-media-editor__preview,
  .bo-cms-media-editor__preview img {
    min-height: 11rem;
  }

  .bo-cms-entry__head {
    grid-template-columns: 4.8rem minmax(0, 1fr);
  }

  .bo-cms-entry__media {
    width: 4.8rem;
    height: 3.6rem;
  }

  .bo-cms-entry__status {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .bo-cms-page-card__actions .bo-button,
  .bo-cms-entry__actions .bo-button {
    width: 100%;
  }
}

@media (max-width: 860px) {
  .bo-action-list--grid {
    grid-template-columns: 1fr;
  }

  .bo-crm-context__head {
    flex-direction: column;
  }

  .bo-crm-context__actions {
    justify-content: flex-start;
  }

  .bo-crm-context__lists {
    grid-template-columns: 1fr;
  }

  .bo-topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .bo-topbar__actions {
    justify-content: space-between;
  }

  .bo-user {
    display: none;
  }
}

@media (max-width: 640px) {
  .bo-layout,
  .bo-login-shell,
  .bo-workspace-shell {
    padding: 0.75rem;
  }

  .bo-topbar__brand,
  .bo-topbar__actions,
  .bo-search__row {
    align-items: stretch;
    flex-direction: column;
  }

  .bo-topbar__title {
    border-left: 0;
    padding-left: 0;
  }

  .bo-logo img {
    width: 8.5rem;
  }

  .bo-login-card__brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .bo-button,
  .bo-search button,
  .bo-search a {
    width: 100%;
  }

  .bo-bulk-bar,
  .bo-bulk-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .bo-bulk-actions select,
  .bo-bulk-actions .bo-button {
    width: 100%;
  }

  .bo-rich-editor.is-preview-visible .bo-rich-editor__workspace {
    grid-template-columns: 1fr;
  }

  .bo-rich-editor__preview {
    border-top: 1px solid #e5edf5;
    border-left: 0;
  }
}
