:root {
  --glux-bg: #08080b;
  --glux-bg-soft: #0f0d12;
  --glux-surface: #151218;
  --glux-surface-raised: #1b171e;
  --glux-text: #fffafc;
  --glux-muted: #c9bec5;
  --glux-subtle: #948891;
  --glux-accent: #bf5388;
  --glux-accent-hover: #d46a9f;
  --glux-accent-soft: rgba(191, 83, 136, .16);
  --glux-line: rgba(255, 255, 255, .12);
  --glux-line-strong: rgba(255, 255, 255, .2);
  --glux-success: #77d7ac;
  --glux-warning: #f0c56b;
  --glux-danger: #ef8493;
  --glux-radius-sm: 10px;
  --glux-radius: 16px;
  --glux-radius-lg: 24px;
  --glux-shadow: 0 20px 60px rgba(0, 0, 0, .34);
  --glux-space-1: 6px;
  --glux-space-2: 10px;
  --glux-space-3: 16px;
  --glux-space-4: 24px;
  --glux-space-5: 36px;
  --glux-space-6: 54px;
  --glux-content: 1440px;
  --glux-reading: 780px;
  --glux-touch: 44px;
}

body.glux-system {
  overflow-x: clip;
  color: var(--glux-text);
  background: var(--glux-bg) !important;
  font-family: Inter, system-ui, sans-serif;
}

body.glux-system *, body.glux-system *::before, body.glux-system *::after { box-sizing: border-box; }
body.glux-system #page-container, body.glux-system #et-main-area, body.glux-system #main-content { background: var(--glux-bg) !important; }
body.glux-system #main-content { min-height: 60vh; }
body.glux-system .et-l--header { position: relative; z-index: 100; }
body.glux-system .et-l--header + #et-main-area,
body.glux-system .et-l--header + .et_pb_section { margin-top: 0 !important; }
body.glux-system h1, body.glux-system h2, body.glux-system h3 { overflow-wrap: anywhere; text-wrap: balance; }
body.glux-system h1 { font-size: clamp(2rem, 4vw, 4rem) !important; line-height: 1.06 !important; }
body.glux-system h2 { font-size: clamp(1.45rem, 2.6vw, 2.5rem) !important; line-height: 1.14 !important; }
body.glux-system p, body.glux-system li, body.glux-system label { line-height: 1.65; }
body.glux-system img { max-width: 100%; height: auto; }
body.glux-system :where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid #f1a8cb !important;
  outline-offset: 3px !important;
}
body.glux-system :where(button, .button, a.button, input[type="submit"]) { min-height: var(--glux-touch); }

.glux-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Navigation transversale entre les portails autorisés. */
.glux-space-switcher {
  position: relative;
  z-index: 90;
  display: flex;
  width: min(var(--glux-content), calc(100% - 40px));
  max-width: var(--glux-content);
  min-height: 64px;
  align-items: center;
  gap: 18px;
  margin: 18px auto 0;
  padding: 8px;
  border: 1px solid var(--glux-line);
  border-radius: 14px;
  background: rgba(15, 13, 18, .96);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .24);
  backdrop-filter: blur(16px);
}
.glux-space-switcher::after {
  position: absolute;
  right: 12px;
  bottom: -1px;
  left: 12px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--glux-accent-hover), transparent);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: scaleX(.18);
  transform-origin: left;
}
body.glux-space-leaving .glux-space-switcher::after {
  opacity: 1;
  animation: glux-space-progress .9s ease-in-out infinite;
}
body.glux-space-leaving .glux-space-switcher a { cursor: progress; }
@keyframes glux-space-progress {
  0% { transform: translateX(-35%) scaleX(.22); }
  55% { transform: translateX(18%) scaleX(.62); }
  100% { transform: translateX(82%) scaleX(.22); }
}
.glux-space-menu { position: relative; flex: 0 0 min(310px, 100%); margin: 0; }
.glux-space-toggle {
  display: grid;
  width: 100%;
  min-height: 48px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  column-gap: 12px;
  padding: 6px 12px;
  border: 1px solid rgba(191, 83, 136, .42);
  border-radius: 10px;
  color: var(--glux-text);
  background: var(--glux-accent-soft);
  cursor: pointer;
}
.glux-space-toggle strong { overflow: hidden; font-size: .96rem; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.glux-space-kicker { grid-column: 1; color: #e29aba; font-size: .67rem; font-weight: 850; letter-spacing: .12em; line-height: 1.2; text-transform: uppercase; }
.glux-space-chevron { grid-column: 2; grid-row: 1 / 3; align-self: center; color: #f1a8cb; font-size: 1.2rem; transition: transform .18s ease; }
.glux-space-menu.is-open .glux-space-chevron { transform: rotate(180deg); }
.glux-space-menu__panel {
  position: absolute;
  top: calc(100% + 9px);
  left: 0;
  display: grid;
  width: min(390px, calc(100vw - 32px));
  gap: 5px;
  padding: 8px;
  border: 1px solid var(--glux-line-strong);
  border-radius: 14px;
  background: #151218;
  box-shadow: 0 22px 56px rgba(0, 0, 0, .5);
}
.glux-space-menu__panel[hidden] { display: none !important; }
.glux-space-menu__item {
  display: grid;
  min-height: 58px;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--glux-text) !important;
  text-decoration: none !important;
}
.glux-space-menu__item:hover { border-color: var(--glux-line); background: rgba(255, 255, 255, .045); }
.glux-space-menu__item[aria-current="page"] { border-color: rgba(191, 83, 136, .5); background: var(--glux-accent-soft); }
.glux-space-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; color: #f2a8ca; background: rgba(191, 83, 136, .14); }
.glux-space-menu__item > span:last-child { display: grid; min-width: 0; }
.glux-space-menu__item strong { font-size: .88rem; line-height: 1.25; }
.glux-space-menu__item small { overflow: hidden; color: var(--glux-muted); font-size: .72rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.glux-space-shortcuts { display: flex; min-width: 0; align-items: center; gap: 5px; overflow: hidden; }
.glux-space-shortcuts a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--glux-muted) !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.glux-space-shortcuts a:hover { border-color: var(--glux-line); color: var(--glux-text) !important; background: rgba(255, 255, 255, .035); }
.glux-space-shortcuts a span { color: var(--glux-accent-hover); }
.glux-space-shortcuts a strong { font-size: .78rem; }
body.glux-greymaker .glux-space-switcher + .glgm-shell,
body.glux-studio .glux-space-switcher + .glgm-shell { margin-top: 14px !important; }

/* Divulgation progressive */
.glux-disclosure {
  width: 100%;
  margin: var(--glux-space-4) 0;
  border: 1px solid var(--glux-line);
  border-radius: var(--glux-radius);
  background: rgba(255, 255, 255, .025);
}
.glux-disclosure > summary {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  color: var(--glux-text);
  font-weight: 760;
  cursor: pointer;
  list-style: none;
}
.glux-disclosure > summary::-webkit-details-marker { display: none; }
.glux-disclosure > summary::after { content: "+"; color: var(--glux-accent-hover); font-size: 1.4rem; }
.glux-disclosure[open] > summary::after { content: "−"; }
.glux-disclosure__content { display: grid; gap: var(--glux-space-3); padding: 0 18px 18px; }
.glux-disclosure:not([open]) > .glux-disclosure__content { display: none !important; }

/* Le header et le footer Theme Builder restent les reperes communs du site. */
body.glux-greymaker .et-l--header,
body.glux-studio .et-l--header,
body.glux-auteurice .et-l--header,
body.glux-membre .et-l--header,
body.glux-chroniqueureuse .et-l--header,
body.glux-partenaire .et-l--header,
body.glux-greymaker .et-l--footer,
body.glux-studio .et-l--footer,
body.glux-auteurice .et-l--footer,
body.glux-membre .et-l--footer,
body.glux-chroniqueureuse .et-l--footer,
body.glux-partenaire .et-l--footer { display: block !important; }
body.glux-greymaker .glwe-shortcut-bar,
body.glux-studio .glwe-shortcut-bar { display: none !important; }
body.glux-greymaker .glux-app-post-layout,
body.glux-studio .glux-app-post-layout,
body.glux-greymaker .glux-app-section,
body.glux-studio .glux-app-section {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  background: var(--glux-bg) !important;
}
body.glux-greymaker .glux-app-row,
body.glux-studio .glux-app-row {
  display: flow-root !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 1px 0 !important;
}
body.glux-greymaker .glgm-shell,
body.glux-studio .glgm-shell {
  left: auto !important;
  width: min(var(--glux-content), calc(100% - 40px)) !important;
  max-width: var(--glux-content) !important;
  margin: 24px auto 72px !important;
  transform: none !important;
  border: 1px solid var(--glux-line) !important;
  border-radius: var(--glux-radius-lg) !important;
  overflow: clip;
  background: linear-gradient(145deg, rgba(191,83,136,.06), transparent 32%), var(--glux-bg-soft) !important;
  box-shadow: var(--glux-shadow);
}
body.glux-greymaker .glgm-sidebar {
  width: auto !important;
  min-width: 0 !important;
  padding: 34px 20px !important;
  border-right: 1px solid var(--glux-line) !important;
  background: rgba(9, 8, 11, .76) !important;
}
body.glux-greymaker .glgm-sidebar nav { gap: 4px !important; }
body.glux-greymaker .glgm-sidebar nav a {
  min-height: 46px;
  padding: 10px 12px !important;
  border: 1px solid transparent !important;
  border-radius: 11px !important;
}
body.glux-greymaker .glgm-sidebar nav a:hover { background: rgba(255,255,255,.05) !important; }
body.glux-greymaker .glgm-sidebar nav a[aria-current="page"],
body.glux-greymaker .glgm-sidebar nav a.is-active {
  border-color: rgba(191,83,136,.48) !important;
  background: var(--glux-accent-soft) !important;
}
.glux-sidebar-more {
  margin: 10px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--glux-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.glux-sidebar-more > summary {
  min-height: 46px !important;
  padding: 12px !important;
  color: var(--glux-muted) !important;
  font-size: .88rem;
}
.glux-sidebar-more .glux-disclosure__content { display: grid; gap: 4px; padding: 4px 0 0 !important; }
body.glux-greymaker .glgm-main { min-width: 0 !important; padding: clamp(28px, 4vw, 58px) !important; }
body.glux-greymaker .glgm-hero {
  min-height: 0 !important;
  margin: 0 0 var(--glux-space-5) !important;
  padding: 0 0 var(--glux-space-5) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--glux-line) !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.glux-greymaker .glgm-hero h1 { max-width: 920px; font-size: clamp(2.2rem, 4vw, 4.2rem) !important; }
body.glux-greymaker .glgm-hero p { max-width: 760px; color: var(--glux-muted) !important; }

/* Tableau de bord : priorité à la reprise */
body.glux-dashboard .glux-resume-panel {
  margin: 0 0 18px !important;
  padding: clamp(22px, 3vw, 34px) !important;
  border: 1px solid rgba(191,83,136,.42) !important;
  background: linear-gradient(135deg, rgba(191,83,136,.14), rgba(255,255,255,.025)) !important;
}
body.glux-dashboard .glux-resume-panel .glgm-actions { display: flex !important; flex-wrap: wrap; gap: 10px !important; }
body.glux-dashboard .glgm-widget-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 14px !important; }
body.glux-dashboard .glgm-widget {
  min-height: 128px !important;
  padding: 18px !important;
  border: 0 !important;
  border-top: 2px solid rgba(191,83,136,.45) !important;
  border-radius: 0 !important;
  background: rgba(255,255,255,.035) !important;
  box-shadow: none !important;
}
body.glux-dashboard .glgm-dashboard-row { grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr) !important; gap: 18px !important; }
body.glux-dashboard .glgm-panel,
body.glux-dashboard .glps-compact {
  padding: clamp(20px, 2.5vw, 32px) !important;
  border: 1px solid var(--glux-line) !important;
  border-radius: var(--glux-radius) !important;
  background: var(--glux-surface) !important;
  box-shadow: none !important;
}
body.glux-dashboard .glgm-panel a,
body.glux-dashboard .glgm-panel button { border-radius: 10px !important; }
.glux-primary-action {
  display: inline-flex !important;
  width: fit-content;
  min-height: 50px !important;
  align-items: center;
  justify-content: center;
  padding: 12px 22px !important;
  border: 1px solid var(--glux-accent) !important;
  border-radius: 10px !important;
  background: var(--glux-accent) !important;
  color: #fff !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}
.glux-primary-action:hover { background: var(--glux-accent-hover) !important; }
.glux-dashboard-secondary .glux-disclosure__content { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.glux-dashboard-secondary .glgm-widget-grid { grid-column: 1 / -1; }
.glux-dashboard-secondary .glgm-widget { min-height: 110px !important; }
.glux-dashboard-secondary .glps-compact { grid-column: 1 / -1; }

/* Projets d'ecriture : les histoires passent avant les filtres. */
body.glux-stories .glgm-hero { margin-bottom: 20px !important; }
body.glux-stories .glgm-story-list { display: grid !important; gap: 22px !important; }
body.glux-stories .glgm-story-row {
  display: grid !important;
  grid-template-columns: minmax(140px, 180px) minmax(250px, 1fr) auto !important;
  min-height: 300px !important;
  align-items: center !important;
  gap: clamp(20px, 3vw, 42px) !important;
  padding: clamp(24px, 3vw, 42px) !important;
  border: 1px solid var(--glux-line) !important;
  border-top: 3px solid rgba(191,83,136,.72) !important;
  border-radius: var(--glux-radius-lg) !important;
  background: linear-gradient(135deg, rgba(191,83,136,.10), transparent 38%), var(--glux-surface) !important;
  box-shadow: none !important;
}
body.glux-stories .glgm-story-cover { grid-row: 1 / 3; }
body.glux-stories .glgm-story-primary { grid-column: 2; align-self: end; }
body.glux-stories .glgm-story-row > dl { grid-column: 2 / 4; align-self: start; }
body.glux-stories .glgm-story-row > .glux-primary-action { grid-column: 3; grid-row: 1; align-self: end; white-space: nowrap !important; }
body.glux-stories .glgm-story-cover { width: 100% !important; min-height: 220px !important; border-radius: 14px !important; }
body.glux-stories .glgm-story-primary h2 { margin-block: 8px 14px !important; font-size: clamp(1.8rem, 3vw, 3.2rem) !important; }
body.glux-stories .glgm-story-primary h2 a { color: var(--glux-text) !important; text-decoration: none !important; }
body.glux-stories .glgm-story-row dl { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 10px !important; }
body.glux-stories .glgm-story-row dl > div { min-height: 84px; padding: 13px !important; border: 0 !important; background: rgba(0,0,0,.28) !important; }
.glux-story-filters { margin: 0 0 24px !important; }
.glux-story-filters .glgm-filterbar { margin: 0 !important; border: 0 !important; background: transparent !important; }

/* Studio : un menu, une feuille, les outils à la demande */
body.glux-studio .glgm-shell {
  display: block !important;
  width: min(1680px, calc(100% - 24px)) !important;
  max-width: 1680px !important;
  overflow: visible;
}
body.glux-studio .glgm-shell > .glgm-sidebar,
body.glux-studio .glgm-workspace-tabs,
body.glux-studio .glws-project-nav { display: none !important; }
body.glux-studio .glgm-main {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  padding: clamp(20px, 3vw, 42px) !important;
}
body.glux-studio .glgm-main > .glgm-hero { display: none !important; }
body.glux-studio .glv1-studio-layout {
  grid-template-columns: minmax(260px, 280px) minmax(0, 1fr) !important;
  gap: clamp(16px, 2vw, 28px) !important;
  margin: 0 !important;
}
body.glux-studio .glv1-studio-sidebar {
  top: 46px !important;
  max-height: calc(100vh - 72px) !important;
  border: 1px solid var(--glux-line) !important;
  border-radius: 14px !important;
  background: #0e0c10 !important;
  box-shadow: none !important;
}
body.glux-studio .glv1-studio-sidebar nav a { min-height: 42px !important; }
body.glux-studio .glv1-studio-sidebar nav a span {
  overflow: visible !important;
  white-space: normal !important;
  text-overflow: clip !important;
  overflow-wrap: break-word;
}
body.glux-studio .glws-studio { max-width: none !important; margin: 0 !important; padding: 0 0 70px !important; }
body.glux-studio .glws-project-hero {
  display: flex !important;
  min-height: 0 !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 24px !important;
  padding: 0 0 26px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--glux-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
}
body.glux-studio .glws-project-hero h1 { font-size: clamp(1.8rem, 3vw, 3rem) !important; }
body.glux-studio .glws-project-hero > div:last-child { max-width: 420px; }
body.glux-studio .glws-project-hero :where(button,a.button) {
  min-width: max-content;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
}
.glux-focus-toggle {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--glux-line-strong);
  border-radius: 10px;
  color: var(--glux-text);
  background: transparent;
  cursor: pointer;
}
.glux-focus-toggle[aria-pressed="true"] { border-color: var(--glux-accent); background: var(--glux-accent-soft); }
body.glux-studio .glws-section-head { margin: 30px 0 18px !important; }
body.glux-studio .glws-widget-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 12px !important; }
body.glux-studio .glws-widget {
  min-height: 118px !important;
  padding: 17px !important;
  border: 0 !important;
  border-top: 2px solid rgba(191,83,136,.42) !important;
  border-radius: 0 !important;
  background: rgba(255,255,255,.035) !important;
}
.glux-studio-indicators .glux-disclosure__content { grid-template-columns: repeat(3, minmax(0,1fr)); }
body.glux-studio .glws-dashboard-grid { gap: 16px !important; }
body.glux-studio .glws-panel,
body.glux-studio .glws-tab-panel {
  border-color: var(--glux-line) !important;
  border-radius: var(--glux-radius) !important;
  background: var(--glux-surface) !important;
}
body.glux-studio .glcl-reading-creator {
  width: min(1680px, calc(100% - 24px)) !important;
  max-width: 1680px !important;
  margin: 24px auto 72px !important;
  padding: clamp(22px, 3vw, 38px) !important;
  overflow: clip !important;
  border: 1px solid var(--glux-line) !important;
  border-radius: var(--glux-radius-lg) !important;
  color: var(--glux-text) !important;
  background: var(--glux-bg-soft) !important;
  box-shadow: none !important;
}
body.glux-studio .glcl-reading-creator :where(h2,h3,p,label,summary,legend) { color: inherit !important; }
body.glux-studio .glcl-reading-creator details {
  border: 1px solid var(--glux-line) !important;
  border-radius: var(--glux-radius) !important;
  background: rgba(255,255,255,.025) !important;
}
body.glux-studio .glwe-shortcut-bar { display: none !important; }

/* Le manuscrit devient l'ecran d'entree et occupe toute la surface utile. */
body.glux-writing-surface .glgm-shell {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto 34px !important;
  border-inline: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.glux-writing-surface .glv1-writing-row > .et_pb_column {
  width: 100% !important;
  max-width: none !important;
  flex: 0 0 100% !important;
  margin: 0 !important;
}
body.glux-writing-surface .glgm-main { padding: 0 16px 34px 96px !important; }
body.glux-writing-surface .glgm-story-workspace-head { display: none !important; }
body.glux-writing-surface .glgm-editor-app {
  width: min(1760px, 100%) !important;
  min-height: calc(100vh - 116px) !important;
  margin: 0 auto !important;
  border: 0 !important;
  background: transparent !important;
}
.glux-writing-tabs {
  position: sticky;
  z-index: 120;
  top: 32px;
  display: flex;
  gap: 5px;
  max-width: 100%;
  overflow-x: auto;
  margin: 0 -16px 12px;
  padding: 9px 16px;
  border-block: 1px solid var(--glux-line);
  background: rgba(8,8,11,.96);
  backdrop-filter: blur(16px);
  scrollbar-width: thin;
}
.glux-writing-tabs :where(span,button) {
  flex: 0 0 auto;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--glux-muted);
  background: transparent;
  font: 750 .82rem/1 Inter,system-ui,sans-serif;
  cursor: pointer;
}
.glux-writing-tabs .is-active,
.glux-writing-tabs button[aria-pressed="true"] { border-color: rgba(191,83,136,.5); color: #fff; background: var(--glux-accent-soft); }
.glux-writing-tabs .glux-all-tools { margin-left: auto; border-color: var(--glux-line); }
.glux-session-disclosure { margin: 8px 0 12px !important; }
.glux-session-disclosure > summary { min-height: 46px !important; padding-block: 10px !important; }
.glux-session-disclosure .glux-disclosure__content { padding: 0 10px 10px !important; }
body.glux-writing-surface .glps-editor-session { margin: 0 !important; border: 0 !important; border-radius: 11px !important; }
body.glux-writing-surface .glgm-editor-head {
  grid-template-columns: auto minmax(260px, 1fr) auto !important;
  min-height: 76px !important;
  gap: 18px !important;
  padding: 12px 18px !important;
}
body.glux-writing-surface .glgm-editor-title { min-height: 48px !important; font-size: clamp(1.15rem,2vw,1.7rem) !important; }
body.glux-writing-surface .glgm-editor-toolbar {
  position: sticky;
  z-index: 110;
  top: 93px;
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 5px !important;
  max-width: 100%;
  overflow: visible !important;
  padding: 8px 12px !important;
  background: rgba(21,18,24,.97) !important;
  backdrop-filter: blur(14px);
}
.glux-format-more { position: relative; flex: 0 0 auto; width: auto !important; margin: 0 0 0 auto !important; border: 0 !important; background: transparent !important; }
.glux-format-more > summary { min-height: 40px !important; padding: 8px 11px !important; border: 1px solid var(--glux-line) !important; border-radius: 8px !important; font-size: .78rem; }
.glux-format-more > summary::after { margin-left: 8px; font-size: 1rem; }
.glux-format-more .glux-disclosure__content {
  position: absolute;
  z-index: 160;
  top: calc(100% + 7px);
  right: 0;
  display: grid;
  grid-template-columns: repeat(2,minmax(120px,1fr));
  width: min(360px, calc(100vw - 32px));
  padding: 10px !important;
  border: 1px solid var(--glux-line-strong);
  border-radius: 12px;
  background: var(--glux-surface-raised);
  box-shadow: var(--glux-shadow);
}
body.glux-writing-surface .glgm-editor-layout { grid-template-columns: minmax(0,1fr) !important; }
body.glux-writing-surface .glgm-editor-inspector { display: none !important; }
body.glux-writing-surface .glgm-editor-app.glux-inspector-open .glgm-editor-layout { grid-template-columns: minmax(0,1fr) minmax(280px,330px) !important; }
body.glux-writing-surface .glgm-editor-app.glux-inspector-open .glgm-editor-inspector { display: block !important; }
body.glux-writing-surface .glgm-paper-wrap { min-height: calc(100vh - 310px) !important; }

/* Le moteur Auteurice conserve ses donnees et adopte la meme surface que GreyMaker. */
body.glux-author-writing-surface article.hentry,
body.glux-author-writing-surface #left-area,
body.glux-author-writing-surface .entry-content,
body.glux-author-writing-surface .gla-focus,
body.glux-author-writing-surface .gla-panel {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}
body.glux-author-writing-surface .gla-panel {
  padding: 0 18px 42px 96px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--glux-bg) !important;
  box-shadow: none !important;
}
body.glux-author-writing-surface .gla-focus-bar {
  width: min(1540px, 100%) !important;
  margin: 0 auto 10px !important;
  padding: 8px 0 !important;
}
body.glux-author-writing-surface .gla-writing {
  display: block !important;
  width: min(1540px, 100%) !important;
  margin-inline: auto !important;
}
body.glux-author-writing-surface .gla-writing-nav { display: none !important; }
body.glux-author-writing-surface .gla-manuscript {
  width: 100% !important;
  min-height: calc(100vh - 170px) !important;
  padding: 0 16px 30px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.glux-author-writing-surface .gla-manuscript > .gla-kicker,
body.glux-author-writing-surface .gla-manuscript > h3 { display: none !important; }
body.glux-author-writing-surface #gla-editor-form { width: 100% !important; }
body.glux-author-writing-surface .gla-editor-toolbar {
  position: sticky !important;
  z-index: 110 !important;
  top: 93px !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 5px !important;
  max-width: 100% !important;
  overflow: visible !important;
  padding: 8px 12px !important;
  border: 1px solid var(--glux-line) !important;
  border-radius: 11px !important;
  background: rgba(21,18,24,.97) !important;
  backdrop-filter: blur(14px);
}
body.glux-author-writing-surface .gla-editor-toolbar > button {
  flex: 0 0 auto !important;
  min-width: 40px !important;
  min-height: 40px !important;
  padding: 8px 10px !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  color: var(--glux-text) !important;
  background: transparent !important;
}
body.glux-author-writing-surface .gla-editor-toolbar > button:hover,
body.glux-author-writing-surface .gla-editor-toolbar > button:focus-visible {
  border-color: rgba(191,83,136,.55) !important;
  background: var(--glux-accent-soft) !important;
}
body.glux-author-writing-surface .glux-author-save-row {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: flex-end;
  padding: 5px 4px 2px;
  color: var(--glux-muted);
  font: 700 .75rem/1.35 Inter,system-ui,sans-serif;
}
body.glux-author-writing-surface .glux-author-save-row [data-state="saved"] { color: #9fd3b1; }
body.glux-author-writing-surface .glux-author-save-row [data-state="dirty"] { color: #f1c57a; }
body.glux-author-writing-surface .glux-author-save-row [data-state="error"] { color: #ff9aa8; }
body.glux-author-writing-surface .glgm-author-live-stats {
  max-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding-block: 0 !important;
  opacity: 0 !important;
  transition: max-height .18s ease, opacity .18s ease, padding .18s ease !important;
}
body.glux-author-writing-surface #gla-editor-form.glux-author-stats-open .glgm-author-live-stats {
  max-height: 120px !important;
  margin: 6px 0 10px !important;
  padding-block: 8px !important;
  opacity: 1 !important;
}
body.glux-author-writing-surface #gla-editor {
  width: min(920px, 100%) !important;
  max-width: 920px !important;
  min-height: max(62vh, 620px) !important;
  margin: 10px auto 0 !important;
  padding: clamp(28px, 5vw, 68px) !important;
  border: 1px solid var(--glux-line-strong) !important;
  border-radius: 14px !important;
  color: var(--glux-text) !important;
  background: #151218 !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: clamp(1.05rem, 1.5vw, 1.18rem) !important;
  line-height: 1.82 !important;
  caret-color: var(--glux-accent-hover) !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.34) !important;
}
body.glux-author-writing-surface #gla-editor:focus-visible {
  outline: 3px solid rgba(226,128,176,.72) !important;
  outline-offset: 3px !important;
}
body.glux-author-writing-surface .glux-editor-help {
  width: min(920px, 100%) !important;
  margin: 10px auto 0 !important;
  color: var(--glux-muted) !important;
  font-size: .78rem !important;
  line-height: 1.5 !important;
  text-align: center !important;
}
body.glux-author-writing-surface #gla-editor-form > .gla-button {
  display: flex !important;
  min-height: 44px !important;
  margin: 14px auto 0 !important;
  align-items: center !important;
  justify-content: center !important;
}
.glux-reading-disclosure {
  width: min(1680px, calc(100% - 24px)) !important;
  margin: 20px auto 44px !important;
}
.glux-reading-disclosure .glcl-reading-creator { width: 100% !important; margin: 0 !important; border: 0 !important; }

/* Dans un onglet lateral, seul l'outil demande reste visible. */
body.glv1-embedded-tool .glgm-story-workspace-head,
body.glv1-embedded-tool .glgm-workspace-tabs,
body.glv1-embedded-tool .glgm-sidebar,
body.glv1-embedded-tool .glgm-nav-toggle,
body.glv1-embedded-tool .glv1-studio-sidebar,
body.glv1-embedded-tool .glux-mobile-nav,
body.glv1-embedded-tool .glv1-help-dock,
body.glv1-embedded-tool .glwe-shortcut-bar { display: none !important; }
body.glv1-embedded-tool .glgm-shell {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.glv1-embedded-tool .glgm-main { width: 100% !important; padding: 18px !important; }
body.glv1-embedded-tool .glgm-workspace-content { width: 100% !important; }

/* Concentration : contenu uniquement */
body.glux-focus-mode .et-l--header,
body.glux-focus-mode .et-l--footer,
body.glux-focus-mode #wpadminbar,
body.glux-focus-mode .glv1-studio-sidebar,
body.glux-focus-mode .glcl-reading-creator { display: none !important; }
body.glux-focus-mode { padding-top: 0 !important; }
body.glux-focus-mode .glgm-shell { width: 100% !important; max-width: none !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; }
body.glux-focus-mode .glv1-studio-layout { display: block !important; }
body.glux-focus-mode .glws-studio { width: min(1180px, calc(100% - 32px)) !important; margin: auto !important; }

/* Profils créateurs et composeur */
body.glux-creator-profile .glcp-page { background: var(--glux-bg) !important; }
body.glux-creator-profile .glcp-hero,
body.glux-creator-profile .glcp-hero-shade {
  min-height: 380px !important;
  height: auto !important;
}
body.glux-creator-profile .glcp-hero { padding-block: 42px !important; }
body.glux-creator-profile .glcp-layout,
body.glux-creator-profile .glcp-directory,
body.glux-creator-profile .glcp-settings {
  width: min(1280px, calc(100% - 36px)) !important;
  max-width: 1280px !important;
  margin-inline: auto !important;
}
body.glux-creator-profile .glcp-section,
body.glux-creator-profile .glcp-side-card,
body.glux-creator-profile .glcp-socials {
  border-color: var(--glux-line) !important;
  border-radius: var(--glux-radius) !important;
  background: var(--glux-surface) !important;
  box-shadow: none !important;
}
body.glux-profile-settings .glcp-settings {
  margin-block: 28px 70px !important;
  padding: clamp(18px, 3vw, 34px) !important;
  border: 1px solid var(--glux-line) !important;
  border-radius: var(--glux-radius-lg) !important;
}
body.glux-profile-settings .glcp-settings-grid { display: block !important; }
body.glux-profile-settings .glux-setting-group { margin: 12px 0 !important; }
body.glux-profile-settings .glux-setting-group fieldset { border: 0 !important; padding: 4px 0 0 !important; }
body.glux-profile-settings .glcp-block-editor li { border-color: var(--glux-line) !important; background: rgba(255,255,255,.025) !important; }
body.glux-profile-settings .glcp-save-row {
  position: sticky;
  z-index: 40;
  bottom: 12px;
  padding: 12px;
  border: 1px solid var(--glux-line);
  border-radius: 14px;
  background: rgba(15,13,18,.94);
  backdrop-filter: blur(14px);
}

/* Portails : mêmes rythmes, mêmes composants */
body.glux-auteurice .glwe-shortcut-bar,
body.glux-membre .glwe-shortcut-bar,
body.glux-chroniqueureuse .glwe-shortcut-bar,
body.glux-partenaire .glwe-shortcut-bar { display: none !important; }
body.glux-auteurice article.hentry,
body.glux-membre article.hentry,
body.glux-chroniqueureuse article.hentry,
body.glux-partenaire article.hentry {
  width: min(1280px, calc(100% - 36px)) !important;
  max-width: 1280px !important;
  margin: 28px auto 80px !important;
}
body.glux-auteurice #main-content .et_pb_section,
body.glux-membre #main-content .et_pb_section,
body.glux-chroniqueureuse #main-content .et_pb_section,
body.glux-partenaire #main-content .et_pb_section { padding-top: 12px !important; }
body.glux-auteurice #main-content .et_pb_row,
body.glux-membre #main-content .et_pb_row,
body.glux-chroniqueureuse #main-content .et_pb_row,
body.glux-partenaire #main-content .et_pb_row { padding-top: 0 !important; }
body.glux-partenaire .glpartner-shell { margin-top: 16px !important; }
body.glux-auteurice .gla-nav,
body.glux-membre .glms-nav,
body.glux-partenaire .glpartner-nav {
  display: flex !important;
  gap: 4px !important;
  max-width: 100%;
  overflow-x: auto;
  padding: 8px !important;
  border: 1px solid var(--glux-line) !important;
  border-radius: 14px !important;
  background: var(--glux-bg-soft) !important;
  scrollbar-width: thin;
}
body.glux-auteurice .gla-nav a,
body.glux-membre .glms-nav a,
body.glux-partenaire .glpartner-nav a {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 13px !important;
  border: 0 !important;
  border-radius: 9px !important;
}
body.glux-membre .glms-nav {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 4px !important;
  overflow: visible !important;
}
body.glux-membre .glms-nav > a { width: 100% !important; white-space: normal !important; }
.glux-member-more {
  margin: 4px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--glux-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.glux-member-more > summary { min-height: 44px !important; padding: 10px 12px !important; }
.glux-member-more .glux-disclosure__content { display: grid; gap: 4px; padding: 4px 0 0 !important; }
.glux-member-more .glux-disclosure__content a { width: 100% !important; }
body.glux-membre .glms-nav > .glux-member-signout {
  position: static !important;
  z-index: auto !important;
  display: flex !important;
  width: 100% !important;
  min-height: 44px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  margin: 6px 0 0 !important;
  padding: 11px 13px !important;
  border: 1px solid rgba(239, 132, 147, .3) !important;
  border-radius: 9px !important;
  color: #ffd9df !important;
  background: rgba(239, 132, 147, .08) !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
}
body.glux-membre .glms-nav > .glux-member-signout:hover,
body.glux-membre .glms-nav > .glux-member-signout:focus-visible {
  border-color: rgba(239, 132, 147, .62) !important;
  color: #fff !important;
  background: rgba(239, 132, 147, .15) !important;
}
body.glux-auteurice .gla-panel,
body.glux-auteurice .gla-card,
body.glux-membre .glms-main,
body.glux-chroniqueureuse .glph-dashboard__card,
body.glux-partenaire .glpartner-shell {
  border-color: var(--glux-line) !important;
  border-radius: var(--glux-radius) !important;
  background: var(--glux-surface) !important;
  box-shadow: none !important;
}
body.glux-auteurice .gla-card,
body.glux-chroniqueureuse .glph-dashboard__card {
  min-height: 180px !important;
  padding: 24px !important;
  border-width: 0 0 0 2px !important;
  border-style: solid !important;
  border-left-color: rgba(191,83,136,.5) !important;
}
body.glux-auteurice :where(.gla-card,.gla-panel) :where(a.button,button,input[type="submit"]),
body.glux-membre :where(a.button,button,input[type="submit"]),
body.glux-chroniqueureuse :where(a.button,button,input[type="submit"]),
body.glux-partenaire :where(a.button,button,input[type="submit"]) {
  border-radius: 10px !important;
}

/* Espace Auteurice : navigation directe, hierarchie compacte et formulaires lisibles. */
body.glux-author-optimized article.hentry {
  width: min(1360px, calc(100% - 28px)) !important;
  max-width: 1360px !important;
  margin-top: 20px !important;
}
body.glux-author-optimized .gla-shell {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 14px !important;
}
body.glux-author-optimized .gla-nav {
  position: relative !important;
  z-index: 120 !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  overflow: visible !important;
  padding: 8px !important;
  border-radius: 14px !important;
}
body.glux-author-optimized .glux-author-brand {
  min-height: 42px !important;
  margin: 0 !important;
  padding: 9px 12px !important;
  color: #fff !important;
  font-family: Cinzel, Georgia, serif !important;
  font-size: 1rem !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}
body.glux-author-optimized .glux-author-nav-links {
  display: flex !important;
  min-width: 0 !important;
  align-items: center !important;
  gap: 3px !important;
  overflow-x: auto !important;
  padding: 1px !important;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
body.glux-author-optimized .glux-author-nav-links::-webkit-scrollbar { height: 5px; }
body.glux-author-optimized .glux-author-nav-links::-webkit-scrollbar-track { background: transparent; }
body.glux-author-optimized .glux-author-nav-links::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(191, 83, 136, .38);
}
body.glux-author-optimized .gla-nav .glux-author-nav-link,
body.glux-author-optimized .gla-nav .glux-author-signout {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  min-height: 42px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 9px 11px !important;
  border: 1px solid transparent !important;
  border-radius: 9px !important;
  color: var(--glux-muted) !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: .72rem !important;
  font-weight: 780 !important;
  letter-spacing: .015em !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  scroll-snap-align: start;
}
body.glux-author-optimized .gla-nav .glux-author-nav-link:hover,
body.glux-author-optimized .gla-nav .glux-author-signout:hover {
  border-color: var(--glux-line) !important;
  color: #fff !important;
  background: rgba(255, 255, 255, .045) !important;
}
body.glux-author-optimized .gla-nav .glux-author-nav-link.is-current {
  border-color: rgba(191, 83, 136, .56) !important;
  color: #fff !important;
  background: linear-gradient(135deg, rgba(191, 83, 136, .92), rgba(139, 45, 91, .92)) !important;
  box-shadow: 0 8px 22px rgba(191, 83, 136, .16) !important;
}
body.glux-author-optimized .gla-nav .glux-author-nav-link[data-group="publishing"]:first-of-type,
body.glux-author-optimized .gla-nav .glux-author-nav-link[data-group="business"]:first-of-type,
body.glux-author-optimized .gla-nav .glux-author-nav-link[data-group="account"]:first-of-type,
body.glux-author-optimized .gla-nav .glux-author-nav-link[data-group="community"]:first-of-type {
  margin-left: 4px !important;
  border-left-color: rgba(255, 255, 255, .14) !important;
}
body.glux-author-optimized .gla-nav .glux-author-signout {
  position: static !important;
  inset: auto !important;
  margin: 0 !important;
  border-color: rgba(191, 83, 136, .28) !important;
  color: #e6a0c0 !important;
}
body.glux-author-optimized .gla-panel {
  position: relative !important;
  z-index: 1 !important;
  margin: 0 !important;
  padding: clamp(22px, 3vw, 38px) !important;
  border-radius: 18px !important;
}
body.glux-author-optimized .gla-panel h1 {
  margin: 4px 0 10px !important;
  font-size: clamp(1.9rem, 3vw, 2.35rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -.025em !important;
}
body.glux-author-optimized .gla-panel h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.78rem) !important;
  line-height: 1.2 !important;
  letter-spacing: -.012em !important;
}
body.glux-author-optimized .gla-panel h3 {
  font-size: 1.05rem !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
}
body.glux-author-optimized .gla-lead {
  max-width: 820px !important;
  margin-bottom: 22px !important;
  color: var(--glux-muted) !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
}
body.glux-author-optimized .glapr-admin-warning {
  margin: 0 0 20px !important;
  padding: 12px 15px !important;
  border-left-width: 3px !important;
  color: var(--glux-muted) !important;
  font-size: .82rem !important;
  line-height: 1.5 !important;
}
body.glux-author-optimized .glapr-admin-warning strong { color: #fff !important; }
body.glux-author-optimized .gla-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}
body.glux-author-optimized .gla-card {
  min-height: 0 !important;
  padding: 20px !important;
  border-radius: 12px !important;
}
body.glux-author-optimized .gla-card h3 { margin-bottom: 6px !important; }
body.glux-author-optimized .gla-card p { margin-bottom: 12px !important; }
body.glux-author-optimized .gla-grid-2 {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 16px !important;
}
body.glux-author-optimized .glux-author-duplicate,
body.glux-author-optimized .glux-author-duplicate[hidden] { display: none !important; }
body.glux-author-optimized :where(.gla-form, .glaw-root, .glaw-reading-manager-source, .glc-readings, .glwg-shell) {
  max-width: 100% !important;
}
body.glux-author-optimized .gla-form-group {
  margin: 0 0 14px !important;
  padding: clamp(16px, 2.5vw, 22px) !important;
  border: 1px solid var(--glux-line) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, .022) !important;
}
body.glux-author-optimized :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  min-height: 44px !important;
  border-color: var(--glux-line-strong) !important;
  border-radius: 9px !important;
  color: var(--glux-text) !important;
  background: rgba(0, 0, 0, .28) !important;
}
body.glux-author-optimized :where(input, select, textarea)::placeholder { color: #aa9ca5 !important; }
body.glux-author-optimized .glux-author-reading-community {
  margin: 18px 0 0 !important;
  border-color: rgba(191, 83, 136, .3) !important;
  background: rgba(191, 83, 136, .045) !important;
}
body.glux-author-optimized .glux-author-reading-community > summary {
  color: #f2b0ce !important;
  font-size: .9rem !important;
}
body.glux-author-optimized .glux-author-reading-community .glc-readings {
  margin: 0 !important;
  padding: clamp(14px, 2vw, 22px) !important;
}

/* La barre WordPress doit rester au-dessus du header du portail admin. */
body.glux-author-optimized.admin-bar #wpadminbar,
body.glux-author-optimized.admin-bar #wpadminbar .ab-sub-wrapper {
  z-index: 120000 !important;
}

@media (max-width: 1100px) {
  body.glux-author-optimized .gla-nav { grid-template-columns: auto minmax(0, 1fr) !important; }
  body.glux-author-optimized .gla-nav .glux-author-signout { display: none !important; }
  body.glux-author-optimized .gla-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 620px) {
  body.glux-author-optimized article.hentry { width: calc(100% - 12px) !important; }
  body.glux-author-optimized .gla-nav {
    grid-template-columns: 1fr !important;
    gap: 5px !important;
    overflow: hidden !important;
  }
  body.glux-author-optimized .glux-author-brand { display: none !important; }
  body.glux-author-optimized .glux-author-nav-links { width: 100% !important; }
  body.glux-author-optimized .gla-nav .glux-author-nav-link {
    min-height: 44px !important;
    padding-inline: 12px !important;
    font-size: .76rem !important;
  }
  body.glux-author-optimized .gla-panel { padding: 18px 14px !important; border-radius: 14px !important; }
  body.glux-author-optimized .gla-panel h1 {
    font-size: clamp(1.7rem, 8.5vw, 2.05rem) !important;
  }
  body.glux-author-optimized .gla-grid { grid-template-columns: 1fr !important; }
  body.glux-author-optimized .gla-card { padding: 16px !important; }
  body.glux-author-optimized .gla-form-group { padding: 14px !important; }
}

/* Espace Chroniqueureuse : hierarchie compacte et parcours sans doublons. */
body.glux-reviewer-optimized .glph-dashboard {
  width: 100% !important;
  max-width: none !important;
  margin-inline: auto !important;
  color: var(--glux-text) !important;
}
body.glux-reviewer-optimized .glph-dashboard__shell {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--glux-line) !important;
  border-radius: 20px !important;
  background: linear-gradient(145deg, rgba(22, 17, 23, .98), rgba(9, 8, 11, .98)) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28) !important;
}
body.glux-reviewer-optimized .glph-dashboard__memberbar {
  min-height: 72px !important;
  padding: 14px clamp(16px, 3vw, 30px) !important;
  border-bottom: 1px solid var(--glux-line) !important;
}
body.glux-reviewer-optimized .glph-dashboard__avatar {
  width: 42px !important;
  height: 42px !important;
  font-size: .9rem !important;
}
body.glux-reviewer-optimized .glph-dashboard__membertext strong {
  font-size: .94rem !important;
  line-height: 1.25 !important;
}
body.glux-reviewer-optimized .glph-dashboard__membertext small {
  color: var(--glux-muted) !important;
  font-size: .78rem !important;
}
body.glux-reviewer-optimized .glph-dashboard__logout {
  min-height: 42px !important;
  padding: 9px 14px !important;
  font-size: .72rem !important;
}
body.glux-reviewer-optimized .glph-dashboard__intro {
  max-width: 880px !important;
  margin-inline: auto !important;
  padding: clamp(24px, 3vw, 34px) 20px clamp(22px, 2.5vw, 28px) !important;
}
body.glux-reviewer-optimized .glph-dashboard__intro h1 {
  margin: 6px 0 12px !important;
  font-size: clamp(2rem, 3.5vw, 2.5rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -.025em !important;
}
body.glux-reviewer-optimized .glph-dashboard__intro > p:last-child {
  max-width: 680px !important;
  margin: 0 auto !important;
  color: var(--glux-muted) !important;
  font-size: clamp(.94rem, 1.5vw, 1.05rem) !important;
  line-height: 1.55 !important;
}
body.glux-reviewer-optimized .glph-dashboard__eyebrow {
  margin: 0 !important;
  color: #e7a3c4 !important;
  font-size: .72rem !important;
  letter-spacing: .2em !important;
}
body.glux-reviewer-optimized .glph-tabs__nav {
  display: flex !important;
  max-width: calc(100% - 32px) !important;
  gap: 5px !important;
  margin: 0 auto !important;
  padding: 6px !important;
  overflow-x: auto !important;
  border: 1px solid var(--glux-line) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, .025) !important;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
body.glux-reviewer-optimized .glph-tabs__nav > :where(button, a) {
  flex: 1 0 128px !important;
  min-width: 0 !important;
  min-height: 44px !important;
  padding: 9px 11px !important;
  border: 1px solid transparent !important;
  border-radius: 9px !important;
  font-size: .78rem !important;
  font-weight: 780 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  scroll-snap-align: start;
}
body.glux-reviewer-optimized .glph-tabs__nav > :where(button, a):hover {
  border-color: var(--glux-line) !important;
  color: #fff !important;
  background: rgba(255, 255, 255, .045) !important;
}
body.glux-reviewer-optimized .glph-tabs__nav > :where(button[aria-selected="true"], .is-active),
body.glux-reviewer-optimized .glphr-tab[aria-selected="true"] {
  border-color: rgba(191, 83, 136, .56) !important;
  color: #fff !important;
  background: linear-gradient(135deg, rgba(191, 83, 136, .92), rgba(139, 45, 91, .92)) !important;
  box-shadow: 0 8px 22px rgba(191, 83, 136, .18) !important;
}
body.glux-reviewer-optimized .glph-tabs__panel,
body.glux-reviewer-optimized .glphr-panel {
  width: calc(100% - 48px) !important;
  max-width: none !important;
  margin: 22px auto 32px !important;
}

/* Le portail Chroniqueureuse doit occuper toute la largeur utile de la page.
 * Les blocs de travail s'etendent ; seuls les textes d'introduction gardent
 * une longueur de ligne confortable. */
body.glux-reviewer-optimized article.hentry {
  width: calc(100% - 28px) !important;
  max-width: none !important;
  margin-inline: 14px !important;
}
body.glux-reviewer-optimized #main-content .et_pb_row,
body.glux-reviewer-optimized #main-content .et_pb_column,
body.glux-reviewer-optimized #main-content .et_pb_code,
body.glux-reviewer-optimized #main-content .et_pb_code_inner {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}
body.glux-reviewer-optimized .glph-tabs__panel[hidden],
body.glux-reviewer-optimized .glphr-panel[hidden],
body.glux-reviewer-optimized .glph-quick-action[hidden],
body.glux-reviewer-optimized .gl-portal-signout[hidden],
body.glux-reviewer-optimized .glux-reviewer-duplicate { display: none !important; }
body.glux-reviewer-optimized .glph-dashboard h2,
body.glux-reviewer-optimized .glphr-panel h2 {
  font-size: clamp(1.35rem, 2.3vw, 1.75rem) !important;
  line-height: 1.2 !important;
  letter-spacing: -.015em !important;
}
body.glux-reviewer-optimized .glph-dashboard h3,
body.glux-reviewer-optimized .glphr-panel h3 {
  font-size: 1.05rem !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
}
body.glux-reviewer-optimized .glc-access h2 {
  font-size: clamp(1.3rem, 2vw, 1.65rem) !important;
  line-height: 1.2 !important;
}
body.glux-reviewer-optimized .glph-next,
body.glux-reviewer-optimized .glph-level,
body.glux-reviewer-optimized .glph-quick-actions,
body.glux-reviewer-optimized .glph-campaigns,
body.glux-reviewer-optimized .glph-tools__section,
body.glux-reviewer-optimized .glph-reviews__section,
body.glux-reviewer-optimized .glphr-panel {
  border-color: var(--glux-line) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, .026) !important;
  box-shadow: none !important;
}
body.glux-reviewer-optimized .glph-next,
body.glux-reviewer-optimized .glph-level,
body.glux-reviewer-optimized .glph-quick-actions,
body.glux-reviewer-optimized .glph-campaigns,
body.glux-reviewer-optimized .glph-reviews__section { padding: clamp(18px, 3vw, 26px) !important; }
body.glux-reviewer-optimized .glph-dashboard__grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-block: 12px 18px !important;
}
body.glux-reviewer-optimized .glph-dashboard__card {
  min-height: 132px !important;
  padding: 17px !important;
  border-width: 0 0 0 2px !important;
  border-radius: 12px !important;
}
body.glux-reviewer-optimized .glph-dashboard__card h2 {
  margin: 6px 0 !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: .93rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}
body.glux-reviewer-optimized .glph-dashboard__card p {
  margin: 0 !important;
  color: var(--glux-muted) !important;
  font-size: .76rem !important;
  line-height: 1.45 !important;
}
body.glux-reviewer-optimized .glph-dashboard__number {
  font-size: 1.8rem !important;
  line-height: 1 !important;
}
body.glux-reviewer-optimized .glph-quick-actions__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 8px !important;
}
body.glux-reviewer-optimized .glph-quick-action {
  min-height: 64px !important;
  padding: 13px 16px !important;
}
body.glux-reviewer-optimized .glph-tools__title,
body.glux-reviewer-optimized .glph-tools__nav,
body.glux-reviewer-optimized #glph-tools-reading { display: none !important; }
body.glux-reviewer-optimized .glph-tools,
body.glux-reviewer-optimized .glph-profile-shell,
body.glux-reviewer-optimized .glph-resource-hub__intro { margin: 0 !important; }
body.glux-reviewer-optimized .glph-tools__panel:not([hidden]) { display: block !important; }
body.glux-reviewer-optimized .glph-profile-block,
body.glux-reviewer-optimized .glph-resource-hub__view,
body.glux-reviewer-optimized .glph-message-card {
  border-color: var(--glux-line) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, .025) !important;
}
body.glux-reviewer-optimized :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  min-height: 44px !important;
  border-color: var(--glux-line-strong) !important;
  border-radius: 10px !important;
  color: var(--glux-text) !important;
  background: rgba(0, 0, 0, .28) !important;
}
body.glux-reviewer-optimized :where(input, select, textarea)::placeholder { color: #aa9ca5 !important; }

@media (max-width: 980px) {
  body.glux-reviewer-optimized .glph-dashboard__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  body.glux-reviewer-optimized .glph-tabs__nav > :where(button, a) { flex-basis: 132px !important; }
}

@media (max-width: 620px) {
  body.glux-reviewer-optimized article.hentry { width: calc(100% - 12px) !important; }
  body.glux-reviewer-optimized .glph-dashboard__shell { border-radius: 14px !important; }
  body.glux-reviewer-optimized .glph-dashboard__memberbar {
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 12px !important;
  }
  body.glux-reviewer-optimized .glph-dashboard__logout { padding-inline: 10px !important; }
  body.glux-reviewer-optimized .glph-dashboard__intro { padding: 26px 14px 22px !important; }
  body.glux-reviewer-optimized .glph-dashboard__intro h1 { font-size: clamp(1.8rem, 10vw, 2.3rem) !important; }
  body.glux-reviewer-optimized .glph-tabs__nav { max-width: calc(100% - 16px) !important; }
  body.glux-reviewer-optimized .glph-tabs__panel,
  body.glux-reviewer-optimized .glphr-panel { width: calc(100% - 16px) !important; margin-top: 14px !important; }
  body.glux-reviewer-optimized .glph-dashboard__grid { grid-template-columns: 1fr !important; }
  body.glux-reviewer-optimized .glph-dashboard__card { min-height: 0 !important; }
  body.glux-reviewer-optimized .glph-next,
  body.glux-reviewer-optimized .glph-level,
  body.glux-reviewer-optimized .glph-quick-actions,
  body.glux-reviewer-optimized .glph-campaigns,
  body.glux-reviewer-optimized .glph-reviews__section { padding: 16px !important; }
}

/* Boutique et fiches produits */
body.glux-shop .site-main,
body.glux-shop #main-content .container,
body.glux-product #main-content .container {
  width: min(1320px, calc(100% - 36px)) !important;
  max-width: 1320px !important;
  padding-block: 36px 78px !important;
}
body.glux-shop ul.products { display: grid !important; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px !important; }
body.glux-shop ul.products::before,
body.glux-shop ul.products::after { display: none !important; }
body.glux-shop li.product {
  width: auto !important;
  margin: 0 !important;
  padding: 0 0 20px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--glux-line) !important;
  background: transparent !important;
}
body.glux-shop li.product img { aspect-ratio: 2 / 3; object-fit: cover; border-radius: 12px !important; }
body.glux-shop li.product .button { width: 100%; border-radius: 10px !important; text-align: center; }
body.glux-product div.product {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr) !important;
  gap: clamp(36px, 6vw, 88px) !important;
  width: min(1240px, calc(100% - 36px)) !important;
  max-width: 1240px !important;
  margin: 34px auto 80px !important;
}
body.glux-product.gl-unified-product #main-content div[id^="product-"].product {
  display: block !important;
}
body.glux-product.gl-unified-product #main-content div[id^="product-"].product > .clearfix {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr) !important;
  gap: clamp(36px, 6vw, 88px) !important;
  width: 100% !important;
}
body.glux-product.gl-unified-product #main-content div[id^="product-"].product > .clearfix > .summary {
  grid-column: 1 !important;
  grid-row: 1 !important;
  justify-self: stretch !important;
}
body.glux-product.gl-unified-product #main-content div[id^="product-"].product > .clearfix > .woocommerce-product-gallery {
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: end !important;
}
body.glux-product div.product > .summary {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 100% !important;
  max-width: 620px;
  margin: 0 !important;
  align-self: center;
}
body.glux-product div.product > .woocommerce-product-gallery {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: 100% !important;
  max-width: 500px;
  margin: 0 !important;
  justify-self: end;
}
body.glux-product .woocommerce-product-gallery__image,
body.glux-product .woocommerce-product-gallery__image img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1410 / 2250;
  object-fit: contain !important;
  border-radius: 12px !important;
}
body.glux-product .summary.entry-summary {
  padding: clamp(22px, 3vw, 38px) !important;
  border: 1px solid var(--glux-line) !important;
  border-top: 3px solid var(--glux-accent) !important;
  border-radius: 0 0 var(--glux-radius) var(--glux-radius) !important;
  background: var(--glux-surface) !important;
}
body.glux-product .summary h1 { margin-top: 0 !important; font-size: clamp(2.1rem, 4.5vw, 4.5rem) !important; }
body.glux-product .summary .price { color: var(--glux-accent-hover) !important; }
body.glux-product form.cart { display: flex !important; flex-wrap: wrap; gap: 12px !important; }
body.glux-product form.cart .single_add_to_cart_button {
  flex: 1 1 240px;
  min-height: 52px !important;
  border-radius: 10px !important;
  background: var(--glux-accent) !important;
}
body.glux-product .gl-product-trust,
body.glux-product .gl-cart-rule,
body.glux-product .woocommerce-tabs {
  grid-column: 1 / -1 !important;
  width: 100% !important;
}
body.glux-product :where(details, .gl-product-accordion) {
  border-color: var(--glux-line) !important;
  border-radius: 12px !important;
  background: var(--glux-surface) !important;
}

/* v1.6.4 — Tous les espaces privés utilisent la largeur utile disponible.
 * Les coques et outils peuvent s'étendre jusqu'aux marges de sécurité ; les
 * textes éditoriaux conservent leurs propres max-width pour rester lisibles. */
body.glux-auteurice article.hentry,
body.glux-membre article.hentry,
body.glux-chroniqueureuse article.hentry,
body.glux-partenaire article.hentry {
  width: calc(100% - 28px) !important;
  max-width: none !important;
  margin-right: 14px !important;
  margin-left: 14px !important;
}

body.glux-auteurice #main-content :where(
  .et_pb_section,
  .et_pb_row,
  .et_pb_column,
  .et_pb_code,
  .et_pb_code_inner,
  .glx-main
),
body.glux-membre #main-content :where(
  .et_pb_section,
  .et_pb_row,
  .et_pb_column,
  .et_pb_code,
  .et_pb_code_inner,
  .glx-main
),
body.glux-chroniqueureuse #main-content :where(
  .et_pb_section,
  .et_pb_row,
  .et_pb_column,
  .et_pb_code,
  .et_pb_code_inner,
  .glx-main
),
body.glux-partenaire #main-content :where(
  .et_pb_section,
  .et_pb_row,
  .et_pb_column,
  .et_pb_code,
  .et_pb_code_inner,
  .glx-main
) {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

body.glux-membre #main-content > .container {
  width: calc(100% - 28px) !important;
  max-width: none !important;
  margin-right: 14px !important;
  margin-left: 14px !important;
}

body.glux-auteurice .gla { padding-right: 0 !important; padding-left: 0 !important; }

body.glux-reviewer-optimized .glph-dashboard { padding: 0 !important; }
body.glux-reviewer-optimized .glph-tabs {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

body.glux-greymaker:not(.glux-focus-mode) .glgm-shell,
body.glux-studio:not(.glux-focus-mode) .glgm-shell {
  width: calc(100% - 28px) !important;
  max-width: none !important;
  margin-right: 14px !important;
  margin-left: 14px !important;
}

body.glux-auteurice :where(.gla-shell, .gla-panel),
body.glux-membre :where(.glms-shell, .glms-main),
body.glux-chroniqueureuse :where(.glph-dashboard, .glph-dashboard__shell),
body.glux-partenaire .glpartner-shell {
  width: 100% !important;
  max-width: none !important;
}

.glux-mobile-nav { display: none; }

@media (max-width: 1100px) {
  body.glux-greymaker .glgm-shell { width: min(100% - 24px, var(--glux-content)) !important; }
  body.glux-greymaker .glgm-main { padding: 30px !important; }
  body.glux-dashboard .glgm-widget-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  body.glux-studio .glv1-studio-layout { grid-template-columns: 76px minmax(0,1fr) !important; }
  body.glux-studio .glv1-studio-sidebar > header div,
  body.glux-studio .glv1-sidebar-search,
  body.glux-studio .glv1-sidebar-group,
  body.glux-studio .glv1-studio-sidebar nav a span,
  body.glux-studio .glv1-studio-sidebar > footer { display: none !important; }
  body.glux-studio .glv1-studio-sidebar nav a { justify-content: center !important; }
  body.glux-studio .glws-widget-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  body.glux-product div.product { grid-template-columns: minmax(0,1fr) minmax(300px,.78fr) !important; gap: 34px !important; }
  body.glux-stories .glgm-story-row { grid-template-columns: 140px minmax(0,1fr) !important; }
  body.glux-stories .glgm-story-row > .glux-primary-action { grid-column: 2; grid-row: auto; align-self: start; }
  body.glux-stories .glgm-story-row dl { grid-column: 2; }
}

@media (max-width: 850px) {
  body.glux-system h1 { font-size: clamp(1.9rem, 8vw, 3rem) !important; }
  body.glux-system .et-l--header { min-height: 0 !important; }
  .glux-space-switcher { width: calc(100% - 20px); min-height: 0; margin-top: 10px; padding: 6px; }
  .glux-space-menu { flex-basis: 100%; }
  .glux-space-toggle { min-height: 48px; }
  .glux-space-menu__panel { position: fixed; z-index: 9997; top: auto; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); left: 10px; width: auto; max-height: min(72vh, 560px); overflow-y: auto; }
  .glux-space-shortcuts { display: none; }
  body.glux-greymaker .glgm-shell,
  body.glux-studio .glgm-shell { width: 100% !important; margin: 0 auto 68px !important; border-inline: 0 !important; border-radius: 0 !important; }
  body.glux-greymaker .glgm-sidebar { display: none !important; }
  body.glux-greymaker .glgm-main { padding: 22px 16px 78px !important; }
  body.glux-dashboard .glgm-dashboard-row,
  .glux-dashboard-secondary .glux-disclosure__content { grid-template-columns: 1fr !important; }
  body.glux-studio .glgm-main { padding: 14px !important; }
  body.glux-studio .glv1-studio-layout { display: block !important; }
  body.glux-studio .glv1-studio-sidebar {
    position: fixed !important;
    z-index: 9996 !important;
    inset: auto 12px 70px 12px !important;
    width: auto !important;
    max-height: 46vh !important;
    transform: translateY(calc(100% + 90px));
    transition: transform .2s ease;
  }
  body.glux-studio .glv1-studio-layout.is-peek-open .glv1-studio-sidebar { transform: translateY(0); }
  body.glux-studio .glws-project-hero { display: grid !important; }
  body.glux-studio .glws-project-hero > div:last-child { max-width: none; }
  .glux-focus-toggle { width: 100%; }
  .glux-studio-indicators .glux-disclosure__content { grid-template-columns: 1fr 1fr; }
  body.glux-auteurice article.hentry,
  body.glux-membre article.hentry,
  body.glux-chroniqueureuse article.hentry,
  body.glux-partenaire article.hentry { width: min(100% - 20px, 1280px) !important; margin-top: 12px !important; }
  body.glux-creator-profile .glcp-layout,
  body.glux-creator-profile .glcp-directory,
  body.glux-creator-profile .glcp-settings { width: min(100% - 20px, 1280px) !important; }
  body.glux-shop ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px !important; }
  body.glux-product div.product { display: flex !important; flex-direction: column !important; width: min(100% - 24px, 1240px) !important; }
  body.glux-product.gl-unified-product #main-content div[id^="product-"].product > .clearfix {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }
  body.glux-product.gl-unified-product #main-content div[id^="product-"].product > .clearfix > .woocommerce-product-gallery { order: 1 !important; }
  body.glux-product.gl-unified-product #main-content div[id^="product-"].product > .clearfix > .summary { order: 2 !important; }
  body.glux-product div.product > .woocommerce-product-gallery { order: 1 !important; width: min(100%, 430px) !important; max-width: 430px !important; margin-inline: auto !important; }
  body.glux-product div.product > .summary { order: 2 !important; max-width: none !important; }
  body.glux-product .gl-product-trust,
  body.glux-product .gl-cart-rule,
  body.glux-product .woocommerce-tabs { order: 3 !important; }
  .glux-mobile-nav {
    position: fixed;
    z-index: 9995;
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
    left: 8px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 4px;
    padding: 6px;
    border: 1px solid var(--glux-line-strong);
    border-radius: 14px;
    background: rgba(15,13,18,.96);
    box-shadow: 0 12px 38px rgba(0,0,0,.5);
    backdrop-filter: blur(16px);
  }
  .glux-mobile-nav a {
    display: grid;
    min-height: 46px;
    place-items: center;
    padding: 7px 4px;
    border-radius: 9px;
    color: var(--glux-muted) !important;
    font-size: .75rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
  }
  .glux-mobile-nav a[aria-current="page"] { color: #fff !important; background: var(--glux-accent-soft); }
  body.glux-stories .glgm-story-row { grid-template-columns: 110px minmax(0,1fr) !important; min-height: 0 !important; padding: 20px !important; }
  body.glux-stories .glgm-story-cover { min-height: 150px !important; }
  body.glux-stories .glgm-story-row dl,
  body.glux-stories .glgm-story-row > .glux-primary-action { grid-column: 1 / -1; }
  body.glux-stories .glgm-story-row > .glux-primary-action { width: 100% !important; }
  .glux-writing-tabs { top: 0; }
  body.glux-writing-surface .glgm-editor-toolbar { top: 61px; overflow-x: auto !important; }
  body.glux-writing-surface .glgm-main { padding-left: 16px !important; }
  body.glux-writing-surface .glgm-editor-head { grid-template-columns: 1fr auto !important; }
  body.glux-writing-surface .glgm-editor-head > div:first-child { display: none !important; }
  body.glux-writing-surface .glgm-editor-app.glux-inspector-open .glgm-editor-layout { grid-template-columns: 1fr !important; }
  .glux-writing-tabs .glux-all-tools { margin-left: 0; }
}

@media (max-width: 560px) {
  body.glux-dashboard .glgm-widget-grid,
  body.glux-studio .glws-widget-grid,
  .glux-studio-indicators .glux-disclosure__content,
  body.glux-shop ul.products { grid-template-columns: 1fr !important; }
  body.glux-dashboard .glgm-widget { min-height: 104px !important; }
  body.glux-studio .glws-dashboard-grid { grid-template-columns: 1fr !important; }
  body.glux-profile-settings .glcp-save-row { align-items: stretch !important; flex-direction: column !important; }
  body.glux-product .summary.entry-summary { padding: 20px 16px !important; }
  body.glux-product form.cart { display: grid !important; }
  body.glux-stories .glgm-story-row { grid-template-columns: 1fr !important; }
  body.glux-stories .glgm-story-cover { width: min(180px,70vw) !important; min-height: 250px !important; margin-inline: auto; }
  body.glux-stories .glgm-story-primary { text-align: center; }
  body.glux-stories .glgm-story-row dl { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .glux-writing-tabs { margin-inline: -16px; }
  .glux-writing-tabs :where(span,button) { min-height: 44px; padding-inline: 12px; }
  body.glux-writing-surface .glgm-editor-head { grid-template-columns: 1fr !important; }
  body.glux-writing-surface .glgm-save-state { justify-self: start !important; }
}

@media (max-width: 820px) {
  body.glux-author-writing-surface article.hentry { width: 100% !important; margin-top: 0 !important; }
  body.glux-author-writing-surface .gla-panel { padding: 0 10px 82px !important; }
  body.glux-author-writing-surface .gla-manuscript { padding-inline: 10px !important; }
  body.glux-author-writing-surface .gla-editor-toolbar {
    top: 61px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
  }
  body.glux-author-writing-surface #gla-editor {
    min-height: 62vh !important;
    padding: 24px 18px !important;
    border-radius: 10px !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
  }
  body.glux-author-writing-surface .gla-focus-bar .gla-actions {
    display: flex !important;
    max-width: 100% !important;
    overflow-x: auto !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.glux-system *, body.glux-system *::before, body.glux-system *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media (forced-colors: active) {
  body.glux-system :where(a,button,input,select,textarea,summary) { border: 1px solid currentColor !important; }
}
/*
 * GreyMaker active une transition inter-page automatique dans sa feuille
 * globale. Elle peut laisser les autres portails derrière un écran blanc si
 * Chrome interrompt la transition. Les portails utilisent une navigation
 * classique, plus fiable, sans prechargement de documents authentifies.
 */
@view-transition { navigation: none; }
