:root {
  --bg: #07101d;
  --panel: #0e1829;
  --panel-2: #13233a;
  --text: #d8e7f3;
  --muted: #8da8be;
  --line: #20324a;
  --accent: #4fb7d9;
  --success: #2fbf7b;
  --danger: #ff6b6b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(79, 183, 217, 0.12), transparent 28%),
    linear-gradient(180deg, #09111f, var(--bg));
}

.shell-root {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
}

.shell-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 15, 26, 0.94);
}

.shell-brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.shell-auth-status {
  font-size: 14px;
  color: var(--muted);
}

.shell-space-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-right: auto;
}

.shell-tab-group {
  position: relative;
  display: inline-flex;
  padding-bottom: 8px;
  margin-bottom: -8px;
}

.shell-tab {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  background: #0d1b30;
}

.shell-tab.active {
  border-color: rgba(79, 183, 217, 0.55);
  background: rgba(79, 183, 217, 0.16);
}

.shell-tab-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 220px;
  display: none;
  z-index: 20;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 20, 34, 0.98);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  padding: 8px;
}

.shell-tab-group:hover .shell-tab-menu,
.shell-tab-group:focus-within .shell-tab-menu {
  display: grid;
  gap: 6px;
}

.shell-tab-menu-link {
  display: block;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--text);
  text-decoration: none;
  background: rgba(19, 35, 58, 0.58);
}

.shell-tab-menu-link:hover,
.shell-tab-menu-link.active {
  border-color: rgba(79, 183, 217, 0.45);
  background: rgba(79, 183, 217, 0.16);
}

.shell-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 0;
}

.shell-sidebar {
  border-right: 1px solid var(--line);
  background: rgba(6, 12, 21, 0.72);
  padding: 14px 10px;
}

.shell-side-group {
  display: grid;
  gap: 8px;
}

.shell-side-title {
  color: #e2c08a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shell-side-link {
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 14px;
  text-decoration: none;
  color: var(--text);
  background: rgba(19, 35, 58, 0.58);
}

.shell-side-link.active {
  border-color: rgba(79, 183, 217, 0.55);
  background: rgba(79, 183, 217, 0.16);
}

.shell-side-link-stack {
  display: grid;
  gap: 6px;
}

.shell-side-submenu {
  display: grid;
  gap: 4px;
  padding: 0 0 0 14px;
}

.shell-side-submenu-link {
  display: block;
  border-left: 2px solid rgba(138, 167, 198, 0.24);
  padding: 5px 0 5px 10px;
  color: #bfcddd;
  font-size: 13px;
  text-decoration: none;
  border-radius: 0 8px 8px 0;
}

.shell-side-submenu-link.active {
  color: #f3f7fb;
  border-left-color: rgba(115, 226, 192, 0.62);
  background: rgba(115, 226, 192, 0.08);
}

.shell-side-group-cms-portfolio .shell-side-title { color: #8cd6ff; }
.shell-side-group-cms-content .shell-side-title { color: #73e2c0; }
.shell-side-group-cms-community .shell-side-title { color: #f0b3a2; }
.shell-side-group-cms-commerce .shell-side-title { color: #f1d17a; }
.shell-side-group-cms-governance .shell-side-title { color: #b7c2ff; }
.shell-side-group-cms-compliance .shell-side-title { color: #d3b1f7; }
.shell-side-group-cms-misc .shell-side-title { color: #c5d1dc; }

.shell-side-link-cms-portfolio,
.shell-side-link-cms-content,
.shell-side-link-cms-community,
.shell-side-link-cms-commerce,
.shell-side-link-cms-governance,
.shell-side-link-cms-compliance,
.shell-side-link-cms-misc {
  border-left-width: 3px;
  padding-left: 9px;
}

.shell-side-link-cms-portfolio { border-left-color: rgba(140, 214, 255, 0.75); }
.shell-side-link-cms-content { border-left-color: rgba(115, 226, 192, 0.78); }
.shell-side-link-cms-community { border-left-color: rgba(240, 179, 162, 0.78); }
.shell-side-link-cms-commerce { border-left-color: rgba(241, 209, 122, 0.82); }
.shell-side-link-cms-governance { border-left-color: rgba(183, 194, 255, 0.8); }
.shell-side-link-cms-compliance { border-left-color: rgba(211, 177, 247, 0.8); }
.shell-side-link-cms-misc { border-left-color: rgba(197, 209, 220, 0.72); }

.shell-side-link-cms-portfolio.active { background: rgba(140, 214, 255, 0.16); border-color: rgba(140, 214, 255, 0.38); }
.shell-side-link-cms-content.active { background: rgba(115, 226, 192, 0.14); border-color: rgba(115, 226, 192, 0.35); }
.shell-side-link-cms-community.active { background: rgba(240, 179, 162, 0.14); border-color: rgba(240, 179, 162, 0.35); }
.shell-side-link-cms-commerce.active { background: rgba(241, 209, 122, 0.14); border-color: rgba(241, 209, 122, 0.35); }
.shell-side-link-cms-governance.active { background: rgba(183, 194, 255, 0.14); border-color: rgba(183, 194, 255, 0.35); }
.shell-side-link-cms-compliance.active { background: rgba(211, 177, 247, 0.14); border-color: rgba(211, 177, 247, 0.35); }
.shell-side-link-cms-misc.active { background: rgba(197, 209, 220, 0.14); border-color: rgba(197, 209, 220, 0.35); }

.shell-space-name {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding-left: calc(var(--space-depth, 0) * 18px);
}

.shell-space-name.is-child::before {
  content: "";
  width: 10px;
  height: 1px;
  margin-right: 8px;
  background: rgba(141, 168, 190, 0.75);
  box-shadow: -6px 0 0 rgba(141, 168, 190, 0.18);
}

.shell-space-name-label {
  display: inline-block;
}

.shell-main {
  padding: 18px 16px;
}

.shell-card {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(19, 35, 58, 0.96), rgba(10, 18, 31, 0.96));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
  padding: 18px;
}

.shell-kicker {
  margin-bottom: 6px;
  color: #e2c08a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

#shell-title {
  margin: 0 0 6px;
  font-size: 32px;
  line-height: 1.05;
}

.shell-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.shell-title-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 420px;
  flex: 1 1 auto;
}

.shell-subtitle {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.shell-subtitle-workspace {
  max-width: none;
}

.shell-content {
  margin-top: 16px;
}

.shell-surface-intro {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  margin: -2px 0 2px;
}

.shell-stack {
  display: grid;
  gap: 12px;
}

.shell-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 15, 26, 0.78);
  padding: 12px;
}

.shell-panel h2,
.shell-panel h3 {
  margin: 0 0 6px;
}

.shell-summary-card {
  padding: 12px 14px;
}

.shell-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.shell-grid-cards-compact {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.shell-card h4 {
  margin: 0 0 6px;
}

.shell-card-value {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
}

.shell-list-plain {
  margin: 8px 0 0 18px;
  padding: 0;
}

.shell-list-plain li {
  margin: 4px 0;
}

.shell-module-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.shell-module-group {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(14, 24, 39, 0.72);
  padding: 12px;
}

.shell-module-group h4 {
  margin: 0 0 8px;
}

.shell-module-group .shell-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 10px;
  align-items: center;
  margin-bottom: 8px;
}

.shell-module-group .shell-check:last-child {
  margin-bottom: 0;
}

.shell-compact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shell-ops-cell {
  display: grid;
  gap: 4px;
}

.shell-ops-health-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.shell-ops-health {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
}

.shell-ops-health-green {
  background: #2dcf8b;
  box-shadow: 0 0 0 3px rgba(45, 207, 139, 0.12);
}

.shell-ops-health-amber {
  background: #d6a756;
  box-shadow: 0 0 0 3px rgba(214, 167, 86, 0.12);
}

.shell-ops-health-red {
  background: #db6a72;
  box-shadow: 0 0 0 3px rgba(219, 106, 114, 0.12);
}

.shell-ops-health-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.shell-ops-icon-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.shell-ops-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 23, 38, 0.84);
  color: #b4d7ea;
  text-decoration: none;
  font-size: 12px;
  line-height: 1;
}

.shell-ops-icon-link:hover {
  border-color: rgba(88, 185, 255, 0.45);
  background: rgba(20, 42, 68, 0.92);
}

.shell-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 2px 0 10px;
  font-size: 12px;
  color: var(--muted);
}

.shell-breadcrumbs a {
  color: #b4d7ea;
  text-decoration: none;
}

.shell-breadcrumbs a:hover {
  text-decoration: underline;
}

.shell-workspace-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 6px;
}

.shell-workspace-subnav-link {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(12, 23, 38, 0.78);
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
  cursor: pointer;
}

.shell-workspace-subnav-link.active {
  border-color: rgba(88, 185, 255, 0.45);
  background: rgba(20, 42, 68, 0.92);
}

.shell-compact-panel {
  padding: 12px 14px;
}

.shell-template-gallery {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.shell-template-gallery-compact {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.shell-template-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(19, 34, 56, 0.9), rgba(10, 18, 32, 0.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.shell-template-card-active {
  border-color: rgba(88, 185, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(88, 185, 255, 0.12), inset 0 1px 0 rgba(255,255,255,0.05);
}

.shell-template-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.shell-template-card-head h4 {
  margin: 0;
  font-size: 18px;
}

.shell-template-card-body {
  display: grid;
  gap: 6px;
}

.shell-meta {
  color: var(--muted);
  font-size: 13px;
}

.shell-form {
  display: grid;
  gap: 10px;
}

.shell-form label {
  display: grid;
  gap: 4px;
  font-size: 13px;
}

.shell-form input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0a1424;
  color: var(--text);
}

.shell-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0a1424;
  color: var(--text);
}

.shell-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0a1424;
  color: var(--text);
  resize: vertical;
  min-height: 88px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.shell-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shell-hidden {
  display: none !important;
}

.shell-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shell-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: #10213a;
  color: var(--text);
  cursor: pointer;
  font-size: 13px;
}

.shell-btn-small {
  padding: 6px 10px;
  font-size: 12px;
}

.shell-btn.primary {
  border-color: rgba(79, 183, 217, 0.55);
  background: rgba(79, 183, 217, 0.16);
  color: #f3fcff;
}

.shell-btn.blue {
  border-color: rgba(79, 183, 217, 0.42);
  background: rgba(79, 183, 217, 0.1);
  color: #dff7ff;
}

.shell-btn.green {
  border-color: rgba(47, 191, 123, 0.4);
  background: rgba(47, 191, 123, 0.1);
  color: #dff9ea;
}

.shell-btn.amber {
  border-color: rgba(226, 192, 138, 0.42);
  background: rgba(226, 192, 138, 0.1);
  color: #fff3dd;
}

.shell-btn.purple {
  border-color: rgba(176, 138, 226, 0.4);
  background: rgba(176, 138, 226, 0.1);
  color: #f0e7ff;
}

.shell-btn.danger {
  border-color: rgba(255, 107, 107, 0.45);
  background: rgba(255, 107, 107, 0.12);
}

.shell-error {
  color: #ffb5b5;
}

.shell-success {
  color: #aaf2cb;
}

.shell-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shell-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: #10213a;
  color: var(--text);
  text-decoration: none;
}

.shell-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
  margin: 2px 6px 2px 0;
  background: rgba(16, 33, 58, 0.92);
  color: var(--text);
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}

.shell-badge-green {
  border-color: rgba(47, 191, 123, 0.35);
  background: rgba(47, 191, 123, 0.12);
}

.shell-badge-blue {
  border-color: rgba(79, 183, 217, 0.35);
  background: rgba(79, 183, 217, 0.12);
}

.shell-badge-amber {
  border-color: rgba(226, 192, 138, 0.35);
  background: rgba(226, 192, 138, 0.12);
}

.shell-badge-danger {
  border-color: rgba(255, 107, 107, 0.35);
  background: rgba(255, 107, 107, 0.12);
}

.shell-badge-purple {
  border-color: rgba(176, 138, 226, 0.35);
  background: rgba(176, 138, 226, 0.12);
}

.shell-badge-teal {
  border-color: rgba(84, 198, 190, 0.35);
  background: rgba(84, 198, 190, 0.12);
}

.shell-pms-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.shell-pms-card {
  display: grid;
  gap: 8px;
  min-height: 126px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(16, 28, 45, 0.96), rgba(10, 18, 31, 0.96));
}

.shell-pms-card h4,
.shell-pms-mini-card h4 {
  margin: 0;
}

.shell-pms-card-blue {
  border-color: rgba(79, 183, 217, 0.28);
  background: linear-gradient(180deg, rgba(19, 40, 61, 0.98), rgba(10, 18, 31, 0.98));
}

.shell-pms-card-green {
  border-color: rgba(47, 191, 123, 0.28);
  background: linear-gradient(180deg, rgba(15, 43, 38, 0.98), rgba(10, 18, 31, 0.98));
}

.shell-pms-card-amber {
  border-color: rgba(226, 192, 138, 0.28);
  background: linear-gradient(180deg, rgba(45, 38, 25, 0.98), rgba(10, 18, 31, 0.98));
}

.shell-pms-card-purple {
  border-color: rgba(176, 138, 226, 0.28);
  background: linear-gradient(180deg, rgba(34, 28, 51, 0.98), rgba(10, 18, 31, 0.98));
}

.shell-pms-card-danger {
  border-color: rgba(255, 107, 107, 0.28);
  background: linear-gradient(180deg, rgba(53, 24, 31, 0.98), rgba(10, 18, 31, 0.98));
}

.shell-pms-card-meta {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.shell-pms-card-value {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
}

.shell-pms-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.shell-pms-mini-card {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: rgba(10, 18, 31, 0.86);
}

.shell-pms-board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.shell-pms-board {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: rgba(9, 17, 30, 0.9);
}

.shell-pms-board-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.shell-pms-board-list {
  display: grid;
  gap: 8px;
}

.shell-pms-list-item {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(32, 50, 74, 0.9);
  border-radius: 12px;
  padding: 10px 11px;
  background: rgba(14, 24, 39, 0.74);
}

.shell-pms-list-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.shell-pms-list-item-title {
  font-weight: 600;
}

.shell-pms-list-item-sub {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.shell-pms-list-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.shell-pms-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 12px;
}

.shell-pms-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 12px;
  align-items: start;
}

.shell-pms-rooms-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.95fr);
  gap: 12px;
  align-items: start;
}

.shell-pms-stack {
  display: grid;
  gap: 12px;
}

.shell-pms-roomtype-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.shell-pms-roomtype-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(32, 50, 74, 0.92);
  border-radius: 14px;
  padding: 12px;
  background: rgba(9, 17, 30, 0.88);
}

.shell-pms-roomtype-photo {
  min-height: 108px;
  border: 1px solid rgba(32, 50, 74, 0.88);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  align-content: end;
  gap: 4px;
}

.shell-pms-roomtype-photo-label {
  font-size: 14px;
  font-weight: 700;
}

.shell-pms-roomtype-photo-meta {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.shell-pms-roomtype-body {
  display: grid;
  gap: 10px;
}

.shell-pms-roomtype-body h4 {
  margin: 0;
}

.shell-pms-offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.shell-pms-offer-card,
.shell-pms-usage-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(32, 50, 74, 0.92);
  border-radius: 14px;
  padding: 14px;
  background: rgba(9, 17, 30, 0.9);
}

.shell-pms-offer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.shell-pms-offer-head h4 {
  margin: 0;
}

.shell-pms-offer-price {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.shell-pms-offer-price span {
  margin-left: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.shell-pms-offer-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shell-details {
  margin-top: 12px;
}

.shell-details > summary {
  cursor: pointer;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 10px;
}

.shell-pms-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.shell-pms-media-card {
  border: 1px solid rgba(32, 50, 74, 0.92);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(9, 17, 30, 0.88);
}

.shell-pms-media-thumb {
  aspect-ratio: 4 / 3;
  background: rgba(13, 22, 37, 0.92);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.shell-pms-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shell-pms-media-thumb-empty {
  color: var(--muted);
  font-size: 12px;
}

.shell-pms-media-card-body {
  display: grid;
  gap: 6px;
  padding: 10px 12px 12px;
}

.shell-pms-media-card-title {
  font-weight: 700;
}

.shell-pms-inline-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shell-pms-inline-stat {
  min-width: 120px;
  border: 1px solid rgba(32, 50, 74, 0.9);
  border-radius: 12px;
  padding: 10px 11px;
  background: rgba(10, 18, 31, 0.78);
}

.shell-pms-inline-stat-label {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.shell-pms-inline-stat-value {
  margin-top: 3px;
  font-size: 20px;
  font-weight: 700;
}

.shell-pms-money-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.shell-pms-money-tile {
  border: 1px solid rgba(32, 50, 74, 0.92);
  border-radius: 12px;
  padding: 12px;
  background: rgba(10, 18, 31, 0.86);
}

.shell-pms-money-tile-label {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.shell-pms-money-tile-value {
  margin-top: 4px;
  font-size: 22px;
  font-weight: 700;
}

.shell-pms-bar-list {
  display: grid;
  gap: 10px;
}

.shell-pms-bar-row {
  display: grid;
  gap: 6px;
}

.shell-pms-bar-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}

.shell-pms-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(19, 35, 58, 0.9);
  border: 1px solid rgba(32, 50, 74, 0.8);
}

.shell-pms-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(79, 183, 217, 0.9), rgba(84, 198, 190, 0.86));
}

.shell-pms-bar-fill.green {
  background: linear-gradient(90deg, rgba(47, 191, 123, 0.92), rgba(115, 226, 192, 0.86));
}

.shell-pms-bar-fill.amber {
  background: linear-gradient(90deg, rgba(226, 192, 138, 0.92), rgba(241, 209, 122, 0.88));
}

.shell-pms-bar-fill.purple {
  background: linear-gradient(90deg, rgba(176, 138, 226, 0.92), rgba(211, 177, 247, 0.88));
}

.shell-pms-bar-fill.danger {
  background: linear-gradient(90deg, rgba(255, 107, 107, 0.92), rgba(255, 149, 149, 0.86));
}

.shell-pms-surface-note {
  border: 1px solid rgba(32, 50, 74, 0.88);
  border-radius: 12px;
  padding: 12px;
  background: rgba(9, 17, 30, 0.76);
}

.shell-pms-surface-note h4 {
  margin: 0 0 6px;
}

@media (max-width: 1180px) {
  .shell-pms-split-grid {
    grid-template-columns: 1fr;
  }
  .shell-pms-rooms-layout {
    grid-template-columns: 1fr;
  }
}

.shell-table-wrap {
  overflow-x: auto;
}

.shell-table-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.shell-table-controls input,
.shell-table-controls select {
  min-width: 160px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0a1424;
  color: var(--text);
  font-size: 13px;
}

.shell-table-advanced-filters {
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(8, 16, 28, 0.72);
}

.shell-table-advanced-filters > summary {
  cursor: pointer;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 12px;
  user-select: none;
}

.shell-table-advanced-filters > .shell-table-controls {
  padding: 0 10px 10px;
  margin-bottom: 0;
}

.shell-row-action {
  min-width: 132px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0a1424;
  color: var(--text);
  font-size: 12px;
}

.shell-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.shell-grid-form {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.shell-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.95fr);
  gap: 14px;
  align-items: start;
}

.shell-offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.shell-offer-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(15, 27, 45, 0.96), rgba(10, 20, 34, 0.92));
  border: 1px solid rgba(83, 113, 147, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.shell-offer-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}

.shell-offer-header h4 {
  margin: 0 0 4px;
}

.shell-offer-price {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.shell-offer-price span {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 6px;
}

.shell-offer-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.shell-offer-meta-grid > div {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(9, 17, 30, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.shell-offer-meta-grid .shell-value {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  font-weight: 700;
}

.shell-cms-package-grid {
  align-items: stretch;
}

.shell-cms-package-card-visual {
  min-height: 74px;
}

.shell-cms-package-card-image {
  display: grid;
  align-items: end;
  min-height: 74px;
  padding: 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(84, 198, 190, 0.22), rgba(98, 126, 234, 0.12));
  border: 1px solid rgba(84, 198, 190, 0.18);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.shell-cms-package-card-image-empty {
  align-items: center;
  justify-items: start;
  color: rgba(214, 229, 247, 0.86);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.shell-cms-package-card-brochure .shell-cms-package-card-image {
  background: linear-gradient(135deg, rgba(120, 182, 255, 0.22), rgba(86, 130, 189, 0.12));
  border-color: rgba(120, 182, 255, 0.2);
}

.shell-cms-package-card-business .shell-cms-package-card-image {
  background: linear-gradient(135deg, rgba(106, 208, 166, 0.24), rgba(54, 142, 113, 0.12));
  border-color: rgba(106, 208, 166, 0.2);
}

.shell-cms-package-card-commerce .shell-cms-package-card-image {
  background: linear-gradient(135deg, rgba(245, 188, 102, 0.24), rgba(199, 126, 52, 0.12));
  border-color: rgba(245, 188, 102, 0.2);
}

.shell-cms-package-card-hotel .shell-cms-package-card-image {
  background: linear-gradient(135deg, rgba(201, 146, 255, 0.24), rgba(121, 86, 203, 0.12));
  border-color: rgba(201, 146, 255, 0.2);
}

.shell-cms-package-pill-row {
  min-height: 28px;
}

.shell-cms-package-usage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.shell-cms-package-usage-card {
  gap: 12px;
}

.shell-cms-package-usage-head {
  align-items: start;
}

.shell-cms-package-secondary-grid {
  align-items: start;
}

.shell-cms-package-detail {
  border: 1px solid rgba(45, 61, 92, 0.88);
  border-radius: 16px;
  background: rgba(8, 16, 28, 0.56);
}

.shell-cms-package-detail > summary {
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.shell-cms-package-detail-body {
  padding: 0 0 6px;
}

.shell-cms-package-editor-layout {
  align-items: start;
}

.shell-cms-package-preview-card {
  position: sticky;
  top: 12px;
  align-content: start;
}

.shell-cms-package-media-actions {
  align-items: center;
}

.shell-cms-capabilities-layout {
  margin-bottom: 14px;
}

.shell-cms-capability-package-card,
.shell-cms-capability-summary-card {
  align-content: start;
}

.shell-cms-capability-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.shell-form-span-2 {
  grid-column: span 2;
}

.shell-form-span-3 {
  grid-column: span 3;
}

.shell-workspace-head {
  padding: 12px 14px;
}

.shell-workspace-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.shell-workspace-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 4px;
}

.shell-inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.shell-inline-form input,
.shell-inline-form select {
  min-width: 220px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0a1424;
  color: var(--text);
  font-size: 13px;
}

.shell-header-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 0;
  width: 100%;
}

.shell-header-context-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 12px;
  min-width: 0;
  flex: 1 1 auto;
  text-align: right;
}

.shell-header-context-label {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.shell-header-context-value {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
}

.shell-header-context-chip {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.shell-header-context-chip strong {
  color: var(--text);
  font-weight: 600;
}

.shell-subtitle .shell-workspace-subnav {
  margin: 0 0 8px;
}

.shell-subtitle .shell-breadcrumbs {
  margin: 0;
}

.shell-title-tools .shell-inline-form {
  flex: 0 0 auto;
}

.shell-title-tools .shell-inline-form input {
  min-width: 180px;
}

.shell-workspace-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.shell-workspace-stat {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(10, 20, 36, 0.68);
  padding: 8px 10px;
  display: grid;
  gap: 2px;
}

.shell-workspace-stat-value {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
}

.shell-workspace-stat-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.shell-workspace-panel {
  padding: 12px 14px;
}

.shell-builder-section {
  border: 1px solid rgba(103, 153, 201, 0.16);
  border-radius: 12px;
  background: rgba(10, 20, 36, 0.72);
  padding: 12px;
}

.shell-builder-section h4 {
  margin: 0 0 6px;
}

.shell-builder-section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.shell-builder-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.shell-workspace-overlay {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(3, 8, 15, 0.72);
  backdrop-filter: blur(6px);
  padding: 24px;
  overflow: auto;
}

.shell-workspace-modal {
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(13, 24, 41, 0.98), rgba(8, 15, 27, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  padding: 16px;
}

.shell-editor-modal {
  width: calc(100vw - 56px);
  max-width: 1720px;
  padding: 14px;
}

.shell-editor-form {
  display: grid;
  gap: 8px;
}

.shell-cms-editor-form {
  display: grid;
  gap: 8px;
}

.shell-cms-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(320px, 0.75fr);
  gap: 10px;
}

.shell-cms-editor-main {
  display: grid;
  gap: 8px;
  min-width: 0;
  align-content: start;
}

.shell-cms-editor-main > label {
  gap: 0;
  margin: 0;
  line-height: 1.1;
}

.shell-cms-editor-main > label > input,
.shell-cms-editor-main > label > textarea {
  margin-top: 2px;
}

.shell-cms-editor-main-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.shell-cms-editor-main-grid > label {
  gap: 0;
  margin: 0;
  line-height: 1.1;
}

.shell-cms-editor-main-grid > label > input,
.shell-cms-editor-main-grid > label > textarea,
.shell-cms-editor-main-grid > label > select {
  margin-top: 2px;
}

.shell-cms-editor-content-field textarea {
  min-height: 420px;
}

.shell-cms-editor-side {
  display: grid;
  gap: 8px;
  align-content: start;
}

.shell-cms-side-panel {
  border: 1px solid rgba(103, 153, 201, 0.16);
  border-radius: 12px;
  background: rgba(10, 20, 36, 0.86);
  padding: 9px 10px;
  display: grid;
  gap: 6px;
}

.shell-cms-side-panel h4 {
  margin: 0;
}

.shell-cms-side-panel-publishing {
  background: linear-gradient(180deg, rgba(63, 49, 78, 0.72), rgba(37, 30, 47, 0.74));
  border-color: rgba(206, 177, 236, 0.42);
  box-shadow: inset 3px 0 0 rgba(206, 177, 236, 0.42);
}

.shell-cms-side-panel-taxonomy {
  background: linear-gradient(180deg, rgba(45, 72, 64, 0.72), rgba(30, 49, 43, 0.74));
  border-color: rgba(171, 230, 206, 0.4);
  box-shadow: inset 3px 0 0 rgba(171, 230, 206, 0.4);
}

.shell-cms-side-panel-preset {
  background: linear-gradient(180deg, rgba(49, 64, 82, 0.72), rgba(32, 43, 56, 0.74));
  border-color: rgba(186, 218, 244, 0.38);
  box-shadow: inset 3px 0 0 rgba(186, 218, 244, 0.38);
}

.shell-blog-editor-form {
  gap: 8px;
}

.shell-forms-builder-shell {
  gap: 10px;
}

.shell-forms-builder-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.shell-forms-builder-summary {
  margin-top: -2px;
}

.shell-forms-template-row {
  align-items: flex-start;
}

.shell-forms-builder-main {
  display: grid;
  gap: 10px;
  align-content: start;
}

.shell-forms-builder-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.shell-forms-builder-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.shell-forms-field-list {
  display: grid;
  gap: 10px;
}

.shell-forms-field-card {
  border: 1px solid rgba(108, 147, 191, 0.18);
  border-radius: 12px;
  background: rgba(10, 20, 36, 0.76);
  padding: 10px;
  display: grid;
  gap: 10px;
}

.shell-forms-field-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.shell-forms-field-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.shell-forms-field-card-grid > label {
  display: grid;
  gap: 4px;
}

.shell-forms-routing-summary {
  display: grid;
  gap: 6px;
  padding-top: 4px;
}

.shell-blog-editor-modal {
  width: calc(100vw - 56px);
  max-width: 1720px;
  padding: 14px;
}

.shell-blog-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(320px, 0.75fr);
  gap: 8px;
}

.shell-blog-editor-main {
  display: grid;
  gap: 8px;
  min-width: 0;
  align-content: start;
  grid-auto-rows: min-content;
}

.shell-blog-editor-main > label {
  gap: 0;
  margin: 0;
  line-height: 1.1;
}

.shell-blog-editor-main > label > input,
.shell-blog-editor-main > label > textarea {
  margin-top: 2px;
}

.shell-blog-editorial-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.shell-blog-editor-side {
  display: grid;
  gap: 8px;
  align-content: start;
}

.shell-blog-side-panel {
  border: 1px solid rgba(103, 153, 201, 0.16);
  border-radius: 12px;
  background: rgba(10, 20, 36, 0.86);
  padding: 9px 10px;
  display: grid;
  gap: 6px;
}

.shell-blog-side-panel-publishing {
  background: linear-gradient(180deg, rgba(63, 49, 78, 0.72), rgba(37, 30, 47, 0.74));
  border-color: rgba(206, 177, 236, 0.42);
  box-shadow: inset 3px 0 0 rgba(206, 177, 236, 0.42);
}

.shell-blog-side-panel-author {
  background: linear-gradient(180deg, rgba(45, 72, 64, 0.72), rgba(30, 49, 43, 0.74));
  border-color: rgba(171, 230, 206, 0.4);
  box-shadow: inset 3px 0 0 rgba(171, 230, 206, 0.4);
}

.shell-blog-side-panel-media {
  background: linear-gradient(180deg, rgba(80, 58, 45, 0.72), rgba(52, 38, 30, 0.74));
  border-color: rgba(244, 208, 178, 0.4);
  box-shadow: inset 3px 0 0 rgba(244, 208, 178, 0.4);
}

.shell-blog-side-panel h4 {
  margin: 0;
}

.shell-blog-content-field textarea {
  min-height: 520px;
}

.shell-blog-support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-content: start;
  grid-auto-rows: min-content;
}

.shell-blog-support-grid > label {
  gap: 0;
  margin: 0;
  line-height: 1.1;
}

.shell-blog-support-grid > label > textarea {
  margin-top: 2px;
}

.shell-blog-schedule-wrap {
  display: grid;
  gap: 6px;
}

.shell-blog-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.shell-blog-editor-commandbar [data-blog-metrics] {
  margin-left: auto;
}

.shell-blog-editor-commandbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 10px;
}

.shell-blog-template-row,
.shell-blog-embed-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.shell-blog-view-actions .shell-btn {
  background: rgba(20, 38, 64, 0.85);
  border-color: rgba(108, 147, 191, 0.28);
}

.shell-blog-content-field > .shell-meta {
  margin-top: 6px;
}

.shell-blog-content-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.shell-blog-rich-editor {
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #081426;
  padding: 10px 12px;
  color: var(--text);
  overflow: auto;
  font-family: "Segoe UI", Tahoma, sans-serif;
  line-height: 1.5;
}

.shell-blog-rich-editor:focus {
  outline: 2px solid rgba(79, 183, 217, 0.28);
  outline-offset: 0;
}

.shell-blog-preview {
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #081426;
  padding: 12px;
  color: #dbeaf7;
  overflow: auto;
}

.shell-blog-preview h1,
.shell-blog-preview h2,
.shell-blog-preview h3 {
  margin: 0 0 8px;
}

.shell-blog-preview p,
.shell-blog-preview ul,
.shell-blog-preview blockquote {
  margin: 0 0 10px;
}

.shell-blog-preview blockquote {
  border-left: 3px solid rgba(125, 156, 190, 0.45);
  padding-left: 10px;
  color: #bad1e3;
}

.shell-blog-preview code {
  background: rgba(16, 33, 58, 0.82);
  border: 1px solid rgba(125, 156, 190, 0.28);
  border-radius: 6px;
  padding: 1px 5px;
}

.shell-blog-editor-form[data-blog-view-mode="edit"] .shell-blog-preview {
  display: none;
}

.shell-blog-editor-form[data-blog-view-mode="preview"] .shell-blog-content-stage textarea {
  display: none;
}

.shell-blog-editor-form[data-blog-view-mode="preview"] .shell-blog-rich-editor {
  display: none;
}

.shell-blog-editor-form[data-blog-view-mode="split"] .shell-blog-content-stage {
  grid-template-columns: 1fr 1fr;
}

.shell-blog-editor-form[data-blog-view-mode="split"] .shell-blog-rich-editor,
.shell-blog-editor-form[data-blog-view-mode="split"] .shell-blog-preview {
  min-height: 420px;
}

.shell-blog-editor-form[data-blog-editor-engine="markdown"][data-blog-view-mode="edit"] .shell-blog-rich-editor {
  display: none !important;
}

.shell-blog-editor-form[data-blog-editor-engine="markdown"][data-blog-view-mode="edit"] textarea[name="content"] {
  display: block !important;
  min-height: 520px;
}

.shell-blog-editor-form[data-blog-editor-engine="markdown"][data-blog-view-mode="edit"] .shell-blog-preview {
  display: none !important;
}

.shell-blog-editor-form[data-blog-editor-engine="markdown"][data-blog-view-mode="preview"] .shell-blog-rich-editor {
  display: none !important;
}

.shell-blog-editor-form[data-blog-editor-engine="markdown"][data-blog-view-mode="preview"] textarea[name="content"] {
  display: none !important;
}

.shell-blog-editor-form[data-blog-editor-engine="markdown"][data-blog-view-mode="split"] .shell-blog-rich-editor {
  display: none !important;
}

.shell-blog-editor-form[data-blog-editor-engine="markdown"][data-blog-view-mode="split"] textarea[name="content"] {
  display: block !important;
  min-height: 420px;
}

.shell-blog-editor-form[data-blog-editor-engine="quill"][data-blog-view-mode="edit"] .shell-blog-rich-editor,
.shell-blog-editor-form[data-blog-editor-engine="quill"][data-blog-view-mode="split"] .shell-blog-rich-editor {
  display: block !important;
}

.shell-blog-editor-form[data-blog-editor-engine="quill"][data-blog-view-mode="edit"] .shell-blog-preview {
  display: none !important;
}

.shell-blog-editor-form[data-blog-editor-engine="quill"][data-blog-view-mode="preview"] .ql-toolbar,
.shell-blog-editor-form[data-blog-editor-engine="quill"][data-blog-view-mode="preview"] .ql-container {
  display: none !important;
}

.shell-blog-editor-form[data-blog-editor-engine="quill"][data-blog-view-mode="preview"] .shell-blog-rich-editor {
  display: none !important;
}

.shell-blog-editor-form[data-blog-editor-engine="quill"][data-blog-view-mode="split"] .shell-blog-content-stage {
  grid-template-columns: 1fr 1fr;
}

.shell-blog-editor-form[data-blog-editor-engine="quill"] .ql-toolbar.ql-snow,
.shell-blog-editor-form[data-blog-editor-engine="quill"] .ql-container.ql-snow {
  border: 1px solid var(--line);
  background: #081426;
}

.shell-blog-editor-form[data-blog-editor-engine="quill"] .ql-toolbar.ql-snow {
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, rgba(20, 34, 54, 0.96), rgba(13, 24, 40, 0.96));
  padding: 5px 8px;
}

.shell-blog-editor-form[data-blog-editor-engine="quill"] .ql-container.ql-snow {
  border-top: 0;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 0 0 1px rgba(45, 73, 108, 0.24) inset;
  min-height: 440px;
}

.shell-blog-editor-form[data-blog-editor-engine="quill"] .ql-toolbar .ql-picker,
.shell-blog-editor-form[data-blog-editor-engine="quill"] .ql-toolbar .ql-stroke,
.shell-blog-editor-form[data-blog-editor-engine="quill"] .ql-toolbar .ql-fill,
.shell-blog-editor-form[data-blog-editor-engine="quill"] .ql-toolbar button {
  color: #d7e7f8;
  stroke: #d7e7f8;
  fill: #d7e7f8;
}

.shell-blog-editor-form[data-blog-editor-engine="quill"] .ql-toolbar button:hover,
.shell-blog-editor-form[data-blog-editor-engine="quill"] .ql-toolbar button.ql-active,
.shell-blog-editor-form[data-blog-editor-engine="quill"] .ql-toolbar .ql-picker-label:hover,
.shell-blog-editor-form[data-blog-editor-engine="quill"] .ql-toolbar .ql-picker.ql-expanded .ql-picker-label {
  background: rgba(88, 154, 209, 0.22);
  color: #eaf4ff;
}

.shell-blog-editor-form[data-blog-editor-engine="quill"] .ql-editor {
  background: #081426;
  color: #dbeaf7;
  min-height: 440px;
  line-height: 1.6;
  padding: 12px 14px;
}

.shell-blog-editor-form[data-blog-editor-engine="quill"][data-blog-view-mode="split"] .ql-editor {
  min-height: 320px;
}

.shell-blog-editor-form[data-blog-editor-engine="quill"][data-blog-view-mode="split"] .ql-container.ql-snow {
  min-height: 320px;
}

.shell-blog-editor-form[data-blog-editor-engine="quill"] .ql-container.ql-snow.ql-focused {
  outline: 2px solid rgba(79, 183, 217, 0.3);
  outline-offset: -2px;
}

.shell-blog-editor-form[data-blog-editor-engine="quill"] .ql-editor p,
.shell-blog-editor-form[data-blog-editor-engine="quill"] .ql-editor h1,
.shell-blog-editor-form[data-blog-editor-engine="quill"] .ql-editor h2,
.shell-blog-editor-form[data-blog-editor-engine="quill"] .ql-editor h3,
.shell-blog-editor-form[data-blog-editor-engine="quill"] .ql-editor li,
.shell-blog-editor-form[data-blog-editor-engine="quill"] .ql-editor blockquote {
  color: #dbeaf7;
}

.shell-blog-media-preview {
  border: 1px solid rgba(125, 156, 190, 0.25);
  border-radius: 10px;
  background: rgba(9, 19, 34, 0.62);
  padding: 8px;
  display: grid;
  gap: 6px;
}

.shell-blog-media-preview-title {
  font-weight: 600;
  color: #e8f2fb;
}

.shell-blog-media-preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.shell-blog-media-preview-thumb-wrap {
  border: 1px solid rgba(125, 156, 190, 0.22);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(6, 12, 22, 0.82);
}

.shell-blog-media-preview-thumb {
  width: 100%;
  max-height: 140px;
  object-fit: cover;
  display: block;
}

.shell-blog-media-preview-link {
  color: #d5ebff;
  text-decoration: underline;
  font-size: 12px;
}

.shell-link-btn {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  color: #d5ebff;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  font: inherit;
}

.shell-link-btn:hover,
.shell-link-btn:focus-visible {
  color: #f4fbff;
}

.shell-composer-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(3, 8, 15, 0.82);
  backdrop-filter: blur(10px);
  padding: 24px;
  overflow: auto;
}

.shell-composer-shell {
  max-width: 1320px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(16, 28, 46, 0.98), rgba(8, 15, 27, 0.98));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  padding: 20px;
}

.shell-composer-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
}

.shell-composer-rail {
  display: grid;
  gap: 16px;
  align-content: start;
}

.shell-composer-main {
  display: grid;
  gap: 16px;
}

.shell-conversation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 16px;
}

.shell-conversation-thread {
  display: grid;
  gap: 10px;
  max-height: 520px;
  overflow: auto;
  padding-right: 6px;
}

.shell-chat-message {
  max-width: 86%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(10, 20, 36, 0.72);
}

.shell-chat-message.fortress {
  justify-self: start;
  background: rgba(13, 26, 45, 0.92);
  border-color: rgba(103, 153, 201, 0.18);
}

.shell-chat-message.user {
  justify-self: end;
  background: rgba(20, 42, 68, 0.92);
  border-color: rgba(88, 185, 255, 0.26);
}

.shell-chat-author {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.shell-chat-body {
  white-space: pre-wrap;
  line-height: 1.55;
}

.shell-composer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.shell-composer-subtitle {
  max-width: 820px;
}

.shell-builder-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.shell-builder-workflow-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(340px, 1.1fr);
  gap: 16px;
}

.shell-builder-column {
  min-width: 0;
}

.shell-step-preview {
  display: grid;
  gap: 12px;
}

.shell-step-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(15, 28, 48, 0.7);
  padding: 12px;
}

.shell-stage-nav {
  display: grid;
  gap: 10px;
}

.shell-stage-nav-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(12, 23, 38, 0.78);
  color: var(--text);
  padding: 10px;
  text-align: left;
  cursor: pointer;
}

.shell-stage-nav-item small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.shell-stage-nav-item.active {
  border-color: rgba(88, 185, 255, 0.45);
  background: rgba(20, 42, 68, 0.92);
  box-shadow: 0 0 0 1px rgba(88, 185, 255, 0.18) inset;
}

.shell-stage-letter {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(29, 64, 99, 0.9);
  color: #d6ecff;
  font-weight: 700;
}

.shell-choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shell-choice-card {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 23, 38, 0.78);
  color: var(--text);
  padding: 8px 12px;
  cursor: pointer;
}

.shell-choice-card.active,
.shell-pill-button:hover {
  border-color: rgba(88, 185, 255, 0.45);
  background: rgba(20, 42, 68, 0.92);
}

.shell-pill-button {
  cursor: pointer;
}

.shell-builder-workbench {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
}

.shell-step-sequence {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.shell-step-sequence-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: center;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(12, 23, 38, 0.78);
  color: var(--text);
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
}

.shell-step-sequence-item small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.shell-step-sequence-item.active {
  border-color: rgba(88, 185, 255, 0.45);
  background: rgba(20, 42, 68, 0.92);
}

.shell-step-sequence-number {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(29, 64, 99, 0.9);
  color: #d6ecff;
  font-weight: 700;
}

.shell-step-editor {
  min-height: 220px;
}

.shell-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.shell-summary-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.shell-flow-preview {
  display: grid;
  gap: 0;
}

.shell-flow-node-wrap {
  display: grid;
  justify-items: start;
}

.shell-flow-node {
  width: min(720px, 100%);
  border: 1px solid rgba(103, 153, 201, 0.18);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(15, 28, 48, 0.9), rgba(10, 20, 36, 0.82));
  padding: 12px;
}

.shell-flow-node-head {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-bottom: 10px;
}

.shell-flow-node-head h5 {
  margin: 0 0 6px;
  font-size: 17px;
}

.shell-flow-node-number {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(29, 64, 99, 0.92);
  color: #d6ecff;
  font-weight: 700;
}

.shell-flow-connector {
  width: 2px;
  height: 28px;
  margin: 6px 0 6px 19px;
  background: linear-gradient(180deg, rgba(88, 185, 255, 0.55), rgba(88, 185, 255, 0.12));
}

.shell-flow-branches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.shell-flow-branch {
  border: 1px solid rgba(103, 153, 201, 0.18);
  border-radius: 999px;
  background: rgba(12, 23, 38, 0.82);
  color: var(--text);
  padding: 8px 12px;
  font-size: 13px;
}

.shell-builder-footer {
  justify-content: flex-end;
}

.shell-pill-button {
  border: 1px solid var(--line);
  background: rgba(12, 23, 38, 0.78);
  color: var(--text);
}

.shell-draft-panel {
  margin-bottom: 16px;
}

.shell-step-card h5 {
  margin: 0;
  font-size: 15px;
}

.shell-step-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.shell-advanced-block {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(7, 15, 26, 0.56);
  padding: 12px;
}

.shell-advanced-block summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
}

.shell-advanced-inner {
  margin-top: 12px;
}

.shell-value {
  font-size: 20px;
  font-weight: 700;
}

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

.shell-table th,
.shell-table td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 13px;
}

.shell-table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.01em;
}

.shell-btn.shell-active {
  border-color: rgba(103, 208, 255, 0.65);
  box-shadow: inset 0 0 0 1px rgba(103, 208, 255, 0.35);
}

.shell-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.shell-media-card {
  display: grid;
  gap: 8px;
}

.shell-media-thumb {
  width: 100%;
  height: 140px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(5, 10, 18, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shell-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shell-media-explorer {
  display: grid;
  gap: 12px;
}

.shell-media-tree {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.shell-media-explorer-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 12px;
}

.shell-media-explorer-main {
  display: grid;
  gap: 12px;
}

.shell-media-chip-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: grab;
}

.shell-color-token {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 23, 38, 0.82);
  color: var(--text);
  font-size: 13px;
}

.shell-color-token-chip {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  flex: 0 0 auto;
}

.shell-value-compact {
  font-size: 16px;
  font-weight: 600;
}

.shell-media-drawer {
  position: sticky;
  top: 12px;
  align-self: start;
  display: grid;
  gap: 8px;
}

.shell-media-drawer-preview {
  height: 220px;
}

.shell-media-drawer-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shell-media-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.shell-media-chip img {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  object-fit: cover;
}

.shell-page-media-modal {
  max-width: 980px;
}

.shell-page-media-picker {
  display: grid;
  gap: 14px;
}

.shell-page-media-toolbar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  align-items: end;
}

.shell-page-media-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  max-height: 56vh;
  overflow: auto;
  padding-right: 4px;
}

.shell-page-media-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 20, 34, 0.76);
  padding: 12px;
}

.shell-page-media-card-preview {
  width: 96px;
  height: 96px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
}

.shell-page-media-card-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shell-page-media-card-body {
  display: grid;
  gap: 8px;
  align-content: start;
}

.shell-page-media-card-title {
  font-weight: 600;
}

.shell-wizard-form {
  display: grid;
  gap: 10px;
  max-width: 980px;
  margin: 0 auto 0 0;
}

.shell-wizard-step {
  display: grid;
  gap: 8px;
}

.shell-wizard-modal {
  max-width: 1040px;
  padding: 16px 18px;
}

.shell-wizard-header {
  margin-bottom: 2px;
}

.shell-wizard-section-head {
  display: grid;
  gap: 4px;
}

.shell-wizard-section-head h4 {
  margin: 0;
}

.shell-wizard-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

.shell-wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 2px;
}

#website-create-wizard-steps [data-wizard-step-pill] {
  cursor: pointer;
  border: 0;
}

.shell-badge-active {
  border-color: rgba(103, 208, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(103, 208, 255, 0.32);
  background: rgba(18, 39, 67, 0.88);
  color: var(--text);
}

.shell-review-panel {
  display: grid;
  gap: 12px;
}

.shell-website-module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.shell-website-module-grid-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.shell-website-module-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

.shell-check-block {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(10, 19, 33, 0.8);
}

.shell-check-block .shell-meta {
  margin: 0;
}

.shell-check-block-compact {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
}

.shell-check-block-compact input {
  margin: 0;
}

.shell-check-block-title {
  font-weight: 600;
}

.shell-check-block-meta {
  justify-self: end;
}

.shell-check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

.shell-module-option-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(10, 19, 33, 0.8);
}

.shell-module-option-row input {
  margin: 0;
}

.shell-module-option-row.shell-module-option-locked {
  opacity: 0.58;
  border-color: rgba(173, 122, 55, 0.45);
  background: rgba(24, 20, 14, 0.82);
}

.shell-module-option-copy {
  display: grid;
  gap: 3px;
}

.shell-module-option-copy strong {
  font-size: 13px;
  line-height: 1.2;
}

.shell-module-option-copy small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}

.shell-navigation-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.shell-navigation-slot {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(10, 19, 33, 0.8);
}

.shell-theme-editor-section {
  border: 1px solid rgba(103, 153, 201, 0.16);
  border-radius: 12px;
  background: rgba(10, 20, 36, 0.72);
  padding: 12px;
  display: grid;
  gap: 10px;
}

.shell-theme-editor-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.shell-theme-editor-head h4 {
  margin: 0 0 4px;
}

.shell-theme-editor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.shell-theme-editor-grid > label {
  gap: 0;
  margin: 0;
  line-height: 1.1;
}

.shell-theme-editor-grid > label > input,
.shell-theme-editor-grid > label > textarea,
.shell-theme-editor-grid > label > select {
  margin-top: 4px;
}

.shell-theme-editor-span-2 {
  grid-column: span 2;
}

.shell-theme-editor-span-4 {
  grid-column: span 4;
}

.shell-theme-slot-group {
  margin: 0;
  padding: 10px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px 12px;
}

.shell-theme-slot-group legend {
  padding: 0 6px;
  color: var(--muted);
  font-size: 12px;
}

.shell-theme-slot-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.shell-theme-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.shell-theme-gallery-card {
  border: 1px solid rgba(103, 153, 201, 0.16);
  border-radius: 14px;
  background: rgba(10, 20, 36, 0.82);
  overflow: hidden;
  display: grid;
}

.shell-theme-gallery-preview {
  padding: 14px;
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--theme-accent, #47c3c3) 35%, transparent), transparent 40%),
    linear-gradient(160deg, var(--theme-bg, #0b1523), color-mix(in srgb, var(--theme-surface, #132238) 90%, black));
}

.shell-theme-gallery-preview-shell {
  border: 1px solid color-mix(in srgb, var(--theme-text, #e6efff) 12%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--theme-surface, #132238) 92%, black);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.shell-theme-gallery-preview-header {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--theme-text, #e6efff) 10%, transparent);
}

.shell-theme-gallery-preview-header span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--theme-text, #e6efff) 28%, transparent);
}

.shell-theme-gallery-preview-hero {
  height: 64px;
  margin: 12px;
  border-radius: 10px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--theme-accent, #47c3c3) 84%, white), color-mix(in srgb, var(--theme-accent, #47c3c3) 42%, transparent));
}

.shell-theme-gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 12px 12px;
}

.shell-theme-gallery-preview-grid div {
  height: 56px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--theme-text, #e6efff) 8%, transparent);
}

.shell-theme-gallery-body {
  padding: 12px;
  display: grid;
  gap: 10px;
}

.shell-theme-gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.shell-theme-gallery-head h4 {
  margin: 0 0 4px;
}

.shell-theme-fit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shell-theme-fit-list span {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  color: var(--text);
  background: rgba(71, 195, 195, 0.12);
  border: 1px solid rgba(71, 195, 195, 0.18);
}

.shell-theme-slot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shell-theme-support-grid {
  display: grid;
  gap: 8px;
}

.shell-theme-support-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 6px;
}

.shell-theme-support-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(103, 153, 201, 0.14);
  border-radius: 10px;
  background: rgba(10, 20, 36, 0.6);
}

.shell-theme-support-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  border: 1px solid rgba(103, 153, 201, 0.16);
  background: rgba(15, 30, 53, 0.72);
  color: var(--text);
}

.shell-theme-support-enhanced {
  border-color: rgba(111, 184, 255, 0.22);
  background: rgba(39, 94, 165, 0.18);
}

.shell-theme-support-specialized {
  border-color: rgba(71, 195, 195, 0.24);
  background: rgba(28, 108, 108, 0.2);
}

.shell-theme-warning-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shell-theme-warning-list span {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  color: #ffd9a8;
  background: rgba(171, 108, 37, 0.16);
  border: 1px solid rgba(171, 108, 37, 0.24);
}

.shell-theme-preview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 14px;
}

.shell-theme-preview-sidebar {
  display: grid;
  gap: 12px;
}

.shell-theme-gallery-preview-large {
  min-height: 320px;
  display: flex;
  align-items: stretch;
}

.shell-theme-gallery-preview-large .shell-theme-gallery-preview-shell {
  width: 100%;
}

.shell-theme-preview-inline {
  display: grid;
}

.shell-theme-preview-inline-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  gap: 12px;
  border: 1px solid rgba(103, 153, 201, 0.16);
  border-radius: 12px;
  background: rgba(10, 20, 36, 0.78);
  padding: 10px;
}

.shell-theme-preview-inline-copy {
  display: grid;
  align-content: start;
  gap: 8px;
}

.shell-theme-preview-inline-copy h4 {
  margin: 0;
}

.shell-list-tight {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.shell-website-workspace-panel {
  display: grid;
  gap: 14px;
}

.shell-website-workspace-toolbar {
  align-items: start;
}

.shell-website-editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1.05fr);
  gap: 14px;
  align-items: start;
}

.shell-website-lead,
.shell-website-secondary-column,
.shell-website-side-column {
  display: grid;
  gap: 14px;
  align-content: start;
}

.shell-website-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.shell-website-portal-grid,
.shell-website-portal-sites {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.shell-side-meta {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.shell-header-context-site-mode {
  align-items: start;
  gap: 12px;
}

.shell-actions-site-mode {
  align-items: center;
  flex-wrap: wrap;
}

.shell-pastel-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.shell-card-dense {
  gap: 8px;
  padding: 12px;
}

.shell-pastel-card h4 {
  margin: 0;
}

.shell-pastel-sky {
  background: linear-gradient(180deg, rgba(186, 230, 253, 0.16), rgba(147, 197, 253, 0.08));
  border-color: rgba(147, 197, 253, 0.28);
}

.shell-pastel-mint {
  background: linear-gradient(180deg, rgba(187, 247, 208, 0.14), rgba(134, 239, 172, 0.08));
  border-color: rgba(134, 239, 172, 0.24);
}

.shell-pastel-sage {
  background: linear-gradient(180deg, rgba(220, 252, 231, 0.12), rgba(134, 239, 172, 0.06));
  border-color: rgba(134, 239, 172, 0.2);
}

.shell-pastel-teal {
  background: linear-gradient(180deg, rgba(204, 251, 241, 0.14), rgba(94, 234, 212, 0.08));
  border-color: rgba(94, 234, 212, 0.24);
}

.shell-pastel-peach {
  background: linear-gradient(180deg, rgba(254, 215, 170, 0.15), rgba(251, 146, 60, 0.08));
  border-color: rgba(251, 146, 60, 0.24);
}

.shell-pastel-butter {
  background: linear-gradient(180deg, rgba(254, 249, 195, 0.16), rgba(250, 204, 21, 0.08));
  border-color: rgba(250, 204, 21, 0.24);
}

.shell-pastel-lavender {
  background: linear-gradient(180deg, rgba(233, 213, 255, 0.16), rgba(192, 132, 252, 0.08));
  border-color: rgba(192, 132, 252, 0.24);
}

.shell-pastel-rose {
  background: linear-gradient(180deg, rgba(254, 205, 211, 0.16), rgba(251, 113, 133, 0.08));
  border-color: rgba(251, 113, 133, 0.24);
}

.shell-pastel-slate {
  background: linear-gradient(180deg, rgba(191, 219, 254, 0.12), rgba(71, 85, 105, 0.08));
  border-color: rgba(148, 163, 184, 0.24);
}

.shell-workspace-mini-list {
  display: grid;
  gap: 10px;
}

.shell-workspace-mini-row {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(8, 16, 32, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.shell-workspace-empty-state {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(8, 16, 32, 0.18);
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.shell-workspace-mini-row strong {
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 980px) {
  .shell-media-explorer-layout {
    grid-template-columns: 1fr;
  }

  .shell-builder-section-head {
    flex-direction: column;
  }

  .shell-builder-toolbar {
    flex-direction: column;
  }

  .shell-composer-header {
    flex-direction: column;
  }

  .shell-composer-layout,
  .shell-builder-workflow-grid {
    grid-template-columns: 1fr;
  }

  .shell-cms-editor-layout,
  .shell-blog-editor-layout {
    grid-template-columns: 1fr;
  }

  .shell-theme-editor-head {
    flex-direction: column;
  }

  .shell-theme-editor-grid {
    grid-template-columns: 1fr;
  }

  .shell-theme-gallery,
  .shell-theme-preview-layout,
  .shell-theme-preview-inline-card {
    grid-template-columns: 1fr;
  }

  .shell-theme-editor-span-2,
  .shell-theme-editor-span-4 {
    grid-column: auto;
  }

  .shell-wizard-grid,
  .shell-website-module-grid-compact,
  .shell-website-module-list {
    grid-template-columns: 1fr;
  }

  .shell-cms-editor-main-grid {
    grid-template-columns: 1fr;
  }

  .shell-two-column {
    grid-template-columns: 1fr;
  }

  .shell-cms-capability-summary-grid {
    grid-template-columns: 1fr;
  }

  .shell-blog-editor-form[data-blog-view-mode="split"] .shell-blog-content-stage {
    grid-template-columns: 1fr;
  }

  .shell-blog-editor-modal {
    width: auto;
    max-width: 100%;
  }

  .shell-editor-modal {
    width: auto;
    max-width: 100%;
  }

  .shell-wizard-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .shell-conversation-layout,
  .shell-builder-workbench {
    grid-template-columns: 1fr;
  }

  .shell-website-editorial-grid,
  .shell-website-nav-grid,
  .shell-website-portal-grid,
  .shell-website-portal-sites {
    grid-template-columns: 1fr;
  }
}

.shell-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

@media (max-width: 980px) {
  .shell-header {
    flex-wrap: wrap;
  }

  .shell-layout {
    grid-template-columns: 1fr;
  }

  .shell-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}
