.framer-1vugbeo[data-case-editor-mounted] > :not(:first-child, :last-child, .case-editor-content) {
  display: none !important;
}

.case-editor-content {
  display: grid;
  gap: 20px;
  width: 100%;
  color: #e0e0e0;
  font: 400 16px/1.6 Inter, system-ui, sans-serif;
  overflow-wrap: anywhere;
}

.case-editor-content .case-editor-title {
  margin: 0;
  color: #fff;
  font: 500 20px/1.35 Inter, system-ui, sans-serif;
  white-space: pre-wrap;
}

.case-editor-block { min-width: 0; }
.case-editor-block h2, .case-editor-block p { margin: 0; white-space: pre-wrap; }
.case-editor-block h2 { color: #a5a5ac; font: inherit; }
.case-editor-heading:has(+ .case-editor-text):not(.case-editor-is-editing *) { margin-bottom: -16px; }
.case-editor-image img { display: block; width: 100%; height: auto; border-radius: 10px; }
.case-editor-image a { display: block; cursor: zoom-in; }
.case-editor-result {
  padding: 16px 20px;
  border-left: 3px solid #aaaab1;
  border-radius: 0 8px 8px 0;
  background: #15161f;
}

.case-editor-active { padding-bottom: 128px; }
.case-editor-bar {
  position: fixed;
  z-index: 1000;
  bottom: 12px;
  left: 50%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  width: max-content;
  max-width: calc(100% - 24px);
  box-sizing: border-box;
  padding: 8px 12px;
  transform: translateX(-50%);
  border: 1px solid #45454f;
  border-radius: 12px;
  background: #15161f;
  color: #f4f4f5;
  font: 400 14px/1.4 Inter, system-ui, sans-serif;
}

.case-editor-actions, .case-editor-block-tools, .case-editor-add {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.case-editor-bar button, .case-editor-bar a, .case-editor-content button, .case-editor-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  box-sizing: border-box;
  padding: 6px 10px;
  border: 1px solid #45454f;
  border-radius: 8px;
  background: #15161f;
  color: #f4f4f5;
  font: 400 13px/1.25 Inter, system-ui, sans-serif;
  text-decoration: none;
}

.case-editor-bar button, .case-editor-bar a, .case-editor-content button, .case-editor-add select { cursor: pointer; }
.case-editor-bar [hidden] { display: none; }
.case-editor-bar select { width: 24ch; min-width: 0; max-width: 100%; }
.case-editor-bar .case-editor-primary, .case-editor-content .case-editor-primary { background: #fff; color: #000; }
.case-editor-bar button:disabled, .case-editor-content button:disabled { opacity: .45; cursor: default; }
.case-editor-bar :focus-visible, .case-editor-content :focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.case-editor-status { flex-basis: 100%; margin: 0; color: #d2d2d7; font-size: 13px; }
.case-editor-status:empty { display: none; }

.case-editor-is-editing .case-editor-block { position: relative; }
.case-editor-is-editing .case-editor-block:hover, .case-editor-is-editing .case-editor-block:focus-within {
  outline: 1px dashed #8e8e97;
  outline-offset: 4px;
}
.case-editor-editable { min-height: 1.3em; border-radius: 4px; cursor: text; }
.case-editor-editable:hover { outline: 1px dashed #8e8e97; outline-offset: 2px; }
.case-editor-editable:empty::before { content: attr(data-placeholder); color: #aaaab1; pointer-events: none; }
.case-editor-block-tools {
  position: absolute;
  z-index: 8;
  top: 0;
  right: 0;
  justify-content: flex-end;
  padding: 4px;
  border-radius: 8px;
  background: #15161f;
  opacity: 0;
  pointer-events: none;
}
.case-editor-block:hover .case-editor-block-tools, .case-editor-block:focus-within .case-editor-block-tools {
  opacity: 1;
  pointer-events: auto;
}
.case-editor-block-tools button { min-height: 32px; }
.case-editor-image { position: relative; }
.case-editor-is-editing .case-editor-image img { cursor: pointer; }
.case-editor-image-fields {
  position: absolute;
  z-index: 7;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  border-radius: 0 0 10px 10px;
  background: #15161ff2;
  opacity: 0;
  pointer-events: none;
}
.case-editor-block:hover .case-editor-image-fields, .case-editor-block:focus-within .case-editor-image-fields,
.case-editor-image:not(:has(img)) .case-editor-image-fields { opacity: 1; pointer-events: auto; }
.case-editor-image:not(:has(img)) .case-editor-image-fields { position: static; }
.case-editor-image-fields label { display: grid; flex: 1 1 170px; gap: 4px; min-width: 0; color: #aaaab1; font-size: 12px; }
.case-editor-image-fields input { width: 100%; }
.case-editor-file { display: none; }

.case-custom-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: min(776px, calc(100% - 100px));
  min-height: 70vh;
  margin: 50px auto;
  padding: 0 20px 20px;
  border: 1px solid #ffffff1f;
  border-radius: 14px;
  background: #000;
  box-sizing: border-box;
}
body:has(.case-custom-panel) { margin: 0; background: #15161f; color: #fff; font: 16px/1.6 Inter, system-ui, sans-serif; }
.case-custom-nav { position: sticky; z-index: 10; top: 0; display: flex; align-items: center; min-height: 62px; background: #000; }
.case-custom-nav a { color: #aaaab1; text-decoration: none; }
.case-custom-nav a::before { content: '‹'; margin-right: 16px; font-size: 28px; vertical-align: -2px; }
.case-custom-footer { display: flex; justify-content: center; padding: 20px 0; }
.case-custom-footer a { padding: 10px 20px; border-radius: 99px; background: white; color: black; text-decoration: none; }
.case-editor-new-card { display: flex; flex-direction: column; gap: 16px; width: 100%; margin: 0 0 20px; color: #fff; text-decoration: none; font: 500 20px/1.35 Inter, system-ui, sans-serif; }
.case-editor-new-card img { display: block; width: 100%; aspect-ratio: 736 / 414; object-fit: cover; border-radius: 14px; }
.case-editor-new-title { padding: 12px 0; }

.case-editor-viewer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #000;
  color: #fff;
}
.case-editor-viewer[open] { display: grid; place-items: center; }
.case-editor-viewer img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.case-editor-viewer button { position: absolute; top: 8px; right: 8px; min-width: 44px; height: 44px; border: 0; border-radius: 8px; background: #15161f; color: #fff; font-size: 26px; cursor: pointer; }

@media (max-width: 580px) {
  .case-editor-active { padding-bottom: 164px; }
  .case-editor-bar { width: calc(100% - 24px); }
  .case-editor-bar select { width: 100%; }
  .case-editor-bar button, .case-editor-bar a, .case-editor-content button { min-height: 40px; }
  .case-editor-block-tools { top: 0; }
}
