.admin-shell {
  padding: 34px 3% 70px;
  max-width: 1480px;
  margin: 0 auto;
}

.admin-shell .manager {
  padding: 0;
}

.admin-status {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

.admin-status strong {
  color: var(--forest);
  font-weight: 700;
}

.admin-error {
  color: #8d2b1f;
  font-size: 14px;
  margin: 14px 0 0;
}

.admin-ok {
  color: var(--green);
  font-size: 14px;
  margin: 14px 0 0;
}

.admin-gate {
  padding: 80px 3%;
  max-width: 620px;
}

.admin-gate h1 {
  font-size: 40px;
  margin-bottom: 16px;
}

.admin-gate p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 22px;
}

.admin-logout {
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.preview-banner {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 11px 3%;
  background: var(--forest);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.preview-banner a,
.preview-banner button {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.filters-tags .eyebrow {
  width: 100%;
  color: var(--muted);
}

.filters-tags button {
  font-size: 13px;
}

.media-item .media-meta {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 6px;
}

.media-item .media-meta input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--rule);
  padding: 6px 8px;
  font-size: 12px;
  background: #fff;
}

.admin-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 22px;
}

.admin-toolbar .admin-toolbar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .admin-shell {
    padding: 22px 4% 50px;
  }
}

/* Directional glyphs use a font with complete symbol coverage. */
.arrow, .header-references > span, .animation-buttons [aria-hidden], .open-arrow > span,
.footer-right > a, .back-link { font-family: Arial, sans-serif; }

.animation-buttons button, .footer-right > a { display: inline-flex; align-items: center; gap: 6px; }

/* Public visitors see the landscape, without the presentation control panel. */
.home-motion-toggle {
  position: absolute; z-index: 5; top: 23px; right: 3%;
  padding: 9px 13px; min-height: 36px;
  background: rgba(247,247,248,.9); color: var(--forest);
  border: 1px solid rgba(20,65,44,.18); font-size: 12px;
  cursor: pointer;
}
.home-motion-toggle[hidden] { display: none; }
.home-motion-toggle:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
@media(max-width:760px) { .home-motion-toggle { top: 16px; right: 16px; } }

/* Le choix statistique apparaît uniquement lorsque GA4 est configuré sur le domaine final. */
.consent-banner { position: fixed; z-index: 40; left: 20px; bottom: 24px; width: min(440px,calc(100% - 40px)); padding: 20px; background: #f7f7f8; color: #183a27; border: 1px solid #aec0ac; box-shadow: 0 10px 40px #183a2733; }
.consent-banner p { font-size: 14px; line-height: 1.5; }
.consent-banner > div { display: flex; gap: 12px; margin-top: 16px; }
.consent-banner button { min-height: 44px; flex: 1; border: 1px solid #315d3c; padding: 8px 14px; }
.consent-banner button:hover { background: #e7eee1; }
@media(max-width:820px) { .consent-banner { left: 12px; width: calc(100% - 24px); bottom: calc(83px + env(safe-area-inset-bottom)); border-radius: 14px; } }
