
/* GRFTSH FEED EDITORIAL DASHBOARD DESIGN V1 */

#dashboard-feed-editorial-section {
  --fe-border: rgba(255,255,255,.10);
  --fe-surface: rgba(255,255,255,.035);
  --fe-surface-hover: rgba(255,255,255,.065);
  --fe-accent: #e83d75;

  color: #f3f3f5;
  line-height: 1.55;
}

#dashboard-feed-editorial-section *,
#dashboard-feed-editorial-section *::before,
#dashboard-feed-editorial-section *::after {
  box-sizing: border-box;
}

#dashboard-feed-editorial-section > h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -.035em;
}

#dashboard-feed-editorial-section > h2 + p {
  margin: 0 0 26px;
  color: #aaaab4;
  font-size: .94rem;
}

#dashboard-fe-status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0 0 12px;
  padding: 7px 13px;
  border: 1px solid var(--fe-border);
  border-radius: 999px;
  background: var(--fe-surface);
  color: #d0d0d8;
  font-size: .78rem;
  font-weight: 650;
}

#dashboard-feed-editorial-section .dashboard-fe-toolbar {
  display: flex;
  justify-content: flex-end;
  margin: -49px 0 28px;
}

#dashboard-feed-editorial-section button {
  min-height: 43px;
  padding: 10px 19px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 11px;
  background: rgba(255,255,255,.075);
  color: #f5f5f6;
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  transition:
    background .15s ease,
    border-color .15s ease,
    transform .15s ease;
}

#dashboard-feed-editorial-section button:hover:not(:disabled) {
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.28);
}

#dashboard-feed-editorial-section button:active:not(:disabled) {
  transform: translateY(1px);
}

#dashboard-feed-editorial-section button:focus-visible,
#dashboard-feed-editorial-section input:focus-visible,
#dashboard-feed-editorial-section select:focus-visible {
  outline: 2px solid var(--fe-accent);
  outline-offset: 3px;
}

#dashboard-feed-editorial-section button:disabled {
  opacity: .55;
  cursor: wait;
}

#dashboard-feed-editorial-section > h3 {
  margin: 30px 0 16px;
  font-size: 1.09rem;
  font-weight: 800;
  letter-spacing: -.015em;
}

#dashboard-fe-list {
  display: grid;
  gap: 12px;
}

#dashboard-fe-list > p {
  display: flex;
  min-height: 125px;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 24px;
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 16px;
  background: var(--fe-surface);
  color: #aaaab4;
  text-align: center;
  font-size: .9rem;
}

#dashboard-fe-list > article {
  padding: 20px !important;
  border: 1px solid var(--fe-border) !important;
  border-radius: 15px;
  background: var(--fe-surface);
}

#dashboard-fe-list > article strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

#dashboard-fe-list > article p {
  margin: 0 0 8px;
  color: #c9c9d1;
  font-size: .85rem;
  overflow-wrap: anywhere;
}

#dashboard-fe-list > article small {
  display: block;
  color: #92929e;
  font-size: .78rem;
}

#dashboard-fe-create-form {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 21px 18px;
  padding: 25px;
  border: 1px solid var(--fe-border);
  border-radius: 18px;
  background: linear-gradient(
    145deg,
    rgba(255,255,255,.052),
    rgba(255,255,255,.018)
  );
}

#dashboard-fe-create-form > label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
  color: #e9e9ed;
  font-size: .86rem;
  font-weight: 700;
}

#dashboard-fe-create-form select,
#dashboard-fe-create-form input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 49px;
  padding: 11px 15px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 11px;
  background: #202024;
  color: #fff;
  font: inherit;
  font-size: .91rem;
  font-weight: 500;
  color-scheme: dark;
  appearance: auto;
}

#dashboard-fe-create-form input::placeholder {
  color: #868690;
  opacity: 1;
}

#dashboard-fe-create-form select:hover,
#dashboard-fe-create-form input:hover {
  border-color: rgba(255,255,255,.31);
}

#dashboard-fe-create-form select:focus,
#dashboard-fe-create-form input:focus {
  border-color: var(--fe-accent);
}

#dashboard-fe-create-form > p {
  grid-column: 1 / -1;
  margin: -5px 0 0;
  color: #9797a3;
  font-size: .79rem;
  line-height: 1.6;
}

#dashboard-fe-create {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 47px !important;
  padding: 12px 23px !important;
  border: 1px solid transparent !important;
  border-radius: 11px !important;
  background: #c4235c !important;
  color: white !important;
  font-weight: 800 !important;
}

#dashboard-fe-create:hover:not(:disabled) {
  background: #e02b6a !important;
}

#dashboard-feed-editorial-section > hr {
  height: 1px;
  margin: 34px 0;
  border: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.15),
    transparent
  );
}

#dashboard-feed-editorial-section > hr + h3 {
  margin-top: 0;
}

#dashboard-feed-editorial-section > hr ~ p {
  max-width: 850px;
  color: #aaaab4;
  font-size: .87rem;
}

#dashboard-feed-editorial-section > hr ~ p strong {
  color: #fff;
}

@media (max-width: 680px) {
  #dashboard-feed-editorial-section .dashboard-fe-toolbar {
    margin: 0 0 24px;
    justify-content: flex-start;
  }

  #dashboard-fe-create-form {
    grid-template-columns: minmax(0,1fr);
    padding: 17px;
    gap: 18px;
  }

  #dashboard-fe-create-form > p,
  #dashboard-fe-create {
    grid-column: 1;
  }

  #dashboard-fe-create {
    width: 100%;
    justify-self: stretch;
  }

  #dashboard-fe-status {
    margin-bottom: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #dashboard-feed-editorial-section button {
    transition: none;
  }
}



/* GRFTSH_FEED_EDITORIAL_EDITOR_V1 */

#dashboard-feed-editorial-section
.dashboard-fe-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#dashboard-feed-editorial-section
.dashboard-fe-list-heading strong {
  margin: 0;
}

#dashboard-feed-editorial-section
.dashboard-fe-editor {
  margin-top: 22px;
  padding: clamp(17px, 3vw, 29px);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  background: #202023;
}

#dashboard-feed-editorial-section
.dashboard-fe-editor-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 22px;
}

#dashboard-feed-editorial-section
.dashboard-fe-editor-head h3 {
  margin: 0 0 6px;
  font-size: 1.3rem;
}

#dashboard-feed-editorial-section
.dashboard-fe-editor-head p,
#dashboard-feed-editorial-section
.dashboard-fe-editor-help {
  margin: 0 0 17px;
  color: #aaaab5;
  font-size: .85rem;
}

#dashboard-feed-editorial-section
.dashboard-fe-editor-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 22px;
}

#dashboard-feed-editorial-section
.dashboard-fe-editor-tabs button.is-active {
  background: #c4235c;
  border-color: #c4235c;
  color: white;
}

#dashboard-feed-editorial-section
.dashboard-fe-editor-panel {
  display: grid;
  gap: 20px;
}

#dashboard-feed-editorial-section
.dashboard-fe-editor-panel[hidden] {
  display: none;
}

#dashboard-feed-editorial-section
.dashboard-fe-editor-field {
  display: grid;
  gap: 9px;
  font-size: .88rem;
  font-weight: 700;
}

#dashboard-feed-editorial-section
.dashboard-fe-editor-field input,
#dashboard-feed-editorial-section
.dashboard-fe-editor-field textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 11px;
  background: #17171a;
  color: white;
  font: inherit;
  font-size: .92rem;
  font-weight: 400;
  resize: vertical;
}

#dashboard-feed-editorial-section
.dashboard-fe-editor-field small {
  justify-self: end;
  color: #9696a1;
  font-size: .73rem;
}

#dashboard-feed-editorial-section
.dashboard-fe-editor-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 17px;
  margin-top: 25px;
}

#dashboard-feed-editorial-section
.dashboard-fe-editor-save {
  background: #c4235c;
  border-color: #c4235c;
  color: #fff;
}

#dashboard-feed-editorial-section
.dashboard-fe-editor-feedback {
  margin: 0;
  font-size: .84rem;
  color: #a9daba;
}

#dashboard-feed-editorial-section
.dashboard-fe-editor-feedback.is-error {
  color: #ff9292;
}

@media (max-width: 680px) {
  #dashboard-feed-editorial-section
  .dashboard-fe-editor-head {
    flex-direction: column;
  }

  #dashboard-feed-editorial-section
  .dashboard-fe-list-heading {
    align-items: flex-start;
  }
}



/* GRFTSH_FEED_EDITORIAL_IMAGE_UI_V1 */

#dashboard-feed-editorial-section
.dashboard-fe-media {
  display: grid;
  gap: 15px;
  margin-top: 29px;
  padding-top: 27px;
  border-top: 1px solid rgba(255,255,255,.12);
}

#dashboard-feed-editorial-section
.dashboard-fe-media h4 {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 800;
}

#dashboard-feed-editorial-section
.dashboard-fe-media > p {
  margin: 0;
  color: #aaaab4;
  font-size: .84rem;
  line-height: 1.6;
}

#dashboard-feed-editorial-section
.dashboard-fe-media-preview {
  display: flex;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 15px;
  background: #111114;
}

#dashboard-feed-editorial-section
.dashboard-fe-media-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#dashboard-feed-editorial-section
.dashboard-fe-media-preview img[hidden],
#dashboard-feed-editorial-section
.dashboard-fe-media-preview span[hidden] {
  display: none;
}

#dashboard-feed-editorial-section
.dashboard-fe-media-preview span {
  padding: 20px;
  color: #9999a4;
  font-size: .87rem;
  text-align: center;
}

#dashboard-feed-editorial-section
.dashboard-fe-media-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

#dashboard-feed-editorial-section
.dashboard-fe-media-status {
  min-height: 20px;
  margin: 0;
  color: #bdc5c7;
  font-size: .8rem;
}

@media (max-width: 680px) {
  #dashboard-feed-editorial-section
  .dashboard-fe-media-preview {
    max-width: 100%;
  }

  #dashboard-feed-editorial-section
  .dashboard-fe-media-actions button {
    width: 100%;
  }
}



/* GRFTSH_FEED_EDITORIAL_PREVIEW_V1 */

#dashboard-feed-editorial-section
.dashboard-fe-live-preview {
  display: grid;
  gap: 17px;
  margin-top: 30px;
  padding-top: 27px;
  border-top: 1px solid rgba(255,255,255,.13);
}

#dashboard-feed-editorial-section
.dashboard-fe-live-preview h4 {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 800;
}

#dashboard-feed-editorial-section
.dashboard-fe-live-preview > p {
  margin: 0;
  color: #a9a9b4;
  font-size: .84rem;
  line-height: 1.6;
}

#dashboard-feed-editorial-section
.dashboard-fe-preview-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#dashboard-feed-editorial-section
.dashboard-fe-preview-toolbar select {
  flex: 1 1 155px;
  min-width: 0;
  max-width: 260px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  background: #17171a;
  color: #fff;
  font: inherit;
  font-size: .86rem;
}

#dashboard-feed-editorial-section
.dashboard-fe-preview-stage {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 340px;
  padding: 25px 15px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 17px;
  background: #141416;
}

#dashboard-feed-editorial-section
.dashboard-fe-preview-card {
  width: 100%;
  max-width: 580px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 17px;
  background: #242428;
  color: #fff;
  box-shadow: 0 12px 35px rgba(0,0,0,.28);
  transition: max-width .2s ease;
}

#dashboard-feed-editorial-section
.dashboard-fe-preview-stage.is-mobile
.dashboard-fe-preview-card {
  max-width: 355px;
}

#dashboard-feed-editorial-section
.dashboard-fe-preview-stage.is-desktop
.dashboard-fe-preview-card {
  max-width: 580px;
}

#dashboard-feed-editorial-section
.dashboard-fe-preview-photo {
  display: flex;
  aspect-ratio: 16 / 9;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #101012;
}

#dashboard-feed-editorial-section
.dashboard-fe-preview-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#dashboard-feed-editorial-section
.dashboard-fe-preview-photo img[hidden],
#dashboard-feed-editorial-section
.dashboard-fe-preview-photo span[hidden] {
  display: none;
}

#dashboard-feed-editorial-section
.dashboard-fe-preview-photo span {
  color: #93939e;
  font-size: .82rem;
}

#dashboard-feed-editorial-section
.dashboard-fe-preview-body {
  display: grid;
  justify-items: start;
  gap: 13px;
  padding: 23px;
}

#dashboard-feed-editorial-section
.dashboard-fe-preview-eyebrow {
  color: #e75080;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

#dashboard-feed-editorial-section
.dashboard-fe-preview-body h5 {
  margin: 0;
  color: #fff;
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

#dashboard-feed-editorial-section
.dashboard-fe-preview-body p {
  margin: 0;
  color: #cacad2;
  font-size: .89rem;
  font-weight: 400;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

#dashboard-feed-editorial-section
.dashboard-fe-preview-body button {
  margin-top: 5px;
  padding: 11px 19px;
  border: 0;
  border-radius: 10px;
  background: #c4235c;
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  opacity: 1;
  cursor: default;
}

#dashboard-feed-editorial-section
.dashboard-fe-preview-body button:disabled {
  opacity: 1;
  color: #fff;
}

@media (max-width: 680px) {
  #dashboard-feed-editorial-section
  .dashboard-fe-preview-stage {
    padding: 15px 8px;
  }

  #dashboard-feed-editorial-section
  .dashboard-fe-preview-body {
    padding: 18px;
  }
}



/* GRFTSH_FEED_EDITORIAL_SETTINGS_UI_V1 */

#dashboard-feed-editorial-section
.dashboard-fe-settings {
  display: grid;
  gap: 17px;
  margin-top: 30px;
  padding-top: 27px;
  border-top: 1px solid rgba(255,255,255,.13);
}

#dashboard-feed-editorial-section
.dashboard-fe-settings h4 {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 800;
}

#dashboard-feed-editorial-section
.dashboard-fe-settings > p {
  margin: 0;
  color: #a9a9b4;
  font-size: .84rem;
  line-height: 1.6;
}

#dashboard-feed-editorial-section
.dashboard-fe-settings-grid {
  display: grid;
  grid-template-columns: repeat(
    2,
    minmax(0, 1fr)
  );
  gap: 19px;
}

#dashboard-feed-editorial-section
.dashboard-fe-settings-field {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

#dashboard-feed-editorial-section
.dashboard-fe-settings-field > span {
  font-size: .87rem;
  font-weight: 700;
}

#dashboard-feed-editorial-section
.dashboard-fe-settings-field input {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  background: #17171a;
  color: #fff;
  font: inherit;
  font-size: .88rem;
  color-scheme: dark;
}

#dashboard-feed-editorial-section
.dashboard-fe-settings-field small {
  color: #9898a3;
  font-size: .76rem;
  line-height: 1.5;
}

#dashboard-feed-editorial-section
.dashboard-fe-settings-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 5px;
}

#dashboard-feed-editorial-section
.dashboard-fe-settings-actions p {
  margin: 0;
  color: #a9daba;
  font-size: .83rem;
}

@media (max-width: 680px) {
  #dashboard-feed-editorial-section
  .dashboard-fe-settings-grid {
    grid-template-columns: 1fr;
  }

  #dashboard-feed-editorial-section
  .dashboard-fe-settings-actions button {
    width: 100%;
  }
}



/* GRFTSH_FEED_EDITORIAL_VALIDATION_UI_V1 */

#dashboard-feed-editorial-section
.dashboard-fe-validation {
  display: grid;
  justify-items: start;
  gap: 16px;
  margin-top: 30px;
  padding-top: 27px;
  border-top: 1px solid rgba(255,255,255,.13);
}

#dashboard-feed-editorial-section
.dashboard-fe-validation h4 {
  margin: 0;
  font-size: 1.06rem;
}

#dashboard-feed-editorial-section
.dashboard-fe-validation > p {
  margin: 0;
  color: #a9a9b4;
  font-size: .85rem;
  line-height: 1.6;
}

#dashboard-feed-editorial-section
.dashboard-fe-validation-summary.is-ready {
  color: #9de0b1;
}

#dashboard-feed-editorial-section
.dashboard-fe-validation-list {
  display: grid;
  width: 100%;
  gap: 9px;
}

#dashboard-feed-editorial-section
.dashboard-fe-validation-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  background: #19191c;
  color: #dddde3;
  font-size: .85rem;
}

#dashboard-feed-editorial-section
.dashboard-fe-validation-item .is-ok {
  display: grid;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: rgba(73,169,104,.14);
  color: #94d7a6;
  font-weight: 800;
}

#dashboard-feed-editorial-section
.dashboard-fe-validation-item .is-failed {
  display: grid;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: rgba(220,70,70,.15);
  color: #ff9292;
  font-weight: 800;
}



/* GRFTSH_FEED_EDITORIAL_PREPARE_UI_V1 */

#dashboard-feed-editorial-section
.dashboard-fe-preparation {
  display: grid;
  justify-items: start;
  gap: 16px;
  margin-top: 30px;
  padding-top: 27px;
  border-top: 1px solid rgba(255,255,255,.13);
}

#dashboard-feed-editorial-section
.dashboard-fe-preparation h4 {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 800;
}

#dashboard-feed-editorial-section
.dashboard-fe-preparation > p {
  margin: 0;
  color: #aaaab5;
  font-size: .85rem;
  line-height: 1.6;
}

#dashboard-feed-editorial-section
.dashboard-fe-preparation-state {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: #19191c;
  color: #d6d6df;
  font-size: .83rem;
}

#dashboard-feed-editorial-section
.dashboard-fe-preparation-button {
  background: #c4235c;
  border-color: #c4235c;
  color: #fff;
}

#dashboard-feed-editorial-section
.dashboard-fe-preparation-button:disabled {
  opacity: .5;
  cursor: wait;
}

#dashboard-feed-editorial-section
.dashboard-fe-preparation-status {
  min-height: 18px;
  margin: 0;
  color: #a2d7b2;
  font-size: .83rem;
}

#dashboard-feed-editorial-section
.dashboard-fe-preparation-status.is-error {
  color: #ff9292;
}

@media (max-width: 680px) {
  #dashboard-feed-editorial-section
  .dashboard-fe-preparation-button {
    width: 100%;
  }
}



/* GRFTSH_FE_EDITORIAL_ACTIVATION_CONTROLS_V1 */

#dashboard-feed-editorial-section
.dashboard-fe-diffusion {
  display: grid;
  gap: 15px;
  margin-top: 30px;
  padding-top: 27px;
  border-top: 1px solid rgba(255,255,255,.13);
}

#dashboard-feed-editorial-section
.dashboard-fe-diffusion h4 {
  margin: 0;
  font-size: 1.06rem;
}

#dashboard-feed-editorial-section
.dashboard-fe-diffusion > p {
  margin: 0;
  font-size: .85rem;
  color: #b8b8c2;
}

#dashboard-feed-editorial-section
.dashboard-fe-diffusion-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#dashboard-feed-editorial-section
.dashboard-fe-diffusion-actions button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

@media (max-width: 680px) {
  #dashboard-feed-editorial-section
  .dashboard-fe-diffusion-actions button {
    width: 100%;
  }
}


/* ============================================================
   GRFTSH_FE_STUDIO_TABS_CSS_V1
   Navigation compacte de l'éditeur des encarts.
   ============================================================ */

.dashboard-fe-studio-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 22px;
  padding: 6px;
  background: #171717;
  border: 1px solid #333;
  border-radius: 14px;
}

.dashboard-fe-studio-tab {
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #bbb;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 150ms ease,
    color 150ms ease,
    border-color 150ms ease;
}

.dashboard-fe-studio-tab:hover {
  color: #fff;
  background: #282828;
}

.dashboard-fe-studio-tab.is-active {
  color: #fff;
  background: #333;
  border-color: #555;
}

.dashboard-fe-studio-tab:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.dashboard-fe-studio-panel {
  min-width: 0;
}

.dashboard-fe-studio-panel[hidden] {
  display: none !important;
}

.dashboard-fe-studio-panel > :first-child {
  margin-top: 0;
}

@media (max-width: 680px) {
  .dashboard-fe-studio-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 5px;
    margin-bottom: 16px;
  }

  .dashboard-fe-studio-tab {
    min-height: 42px;
    padding: 9px 7px;
    font-size: 13px;
  }
}


/* ============================================================
   GRFTSH_FE_STUDIO_PERMANENT_PREVIEW_V1
   Aperçu permanent du Studio éditorial.
   ============================================================ */

#dashboard-feed-editorial-section
.dashboard-fe-studio-workspace {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(300px, 420px);
  gap: 24px;
  align-items: start;
}

#dashboard-feed-editorial-section
.dashboard-fe-studio-main {
  min-width: 0;
}

#dashboard-feed-editorial-section
.dashboard-fe-studio-preview {
  position: sticky;
  top: 20px;
  min-width: 0;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

#dashboard-feed-editorial-section
.dashboard-fe-studio-preview
.dashboard-fe-live-preview {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

#dashboard-feed-editorial-section
.dashboard-fe-studio-preview
.dashboard-fe-preview-stage {
  min-height: 0;
  padding: 12px 8px;
}

#dashboard-feed-editorial-section
.dashboard-fe-studio-preview
.dashboard-fe-preview-card {
  max-width: 100%;
}

@media (max-width: 1050px) {
  #dashboard-feed-editorial-section
  .dashboard-fe-studio-workspace {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  #dashboard-feed-editorial-section
  .dashboard-fe-studio-preview {
    position: static;
    max-height: none;
    overflow: visible;
  }
}
