/* /public_html/assets/css/dashboard/dashboard-home-v2.css */

:root {
  --dashboard-v2-bg: rgba(2, 6, 23, 0.38);
  --dashboard-v2-surface: rgba(8, 13, 29, 0.78);
  --dashboard-v2-surface-strong: rgba(11, 18, 38, 0.92);
  --dashboard-v2-border: rgba(96, 165, 250, 0.24);
  --dashboard-v2-border-soft: rgba(148, 163, 184, 0.18);
  --dashboard-v2-text: #f8fafc;
  --dashboard-v2-muted: #a9b7d6;
  --dashboard-v2-soft: rgba(255, 255, 255, 0.065);
  --dashboard-v2-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  --dashboard-v2-blue: #60a5fa;
  --dashboard-v2-cyan: #38bdf8;
  --dashboard-v2-green: #4ade80;
  --dashboard-v2-warning: #fbbf24;
  --dashboard-v2-danger: #fb7185;
  --dashboard-v2-violet: #a78bfa;
  --dashboard-v2-hero-gradient:
    radial-gradient(circle at 12% 8%, rgba(37, 99, 235, 0.38), transparent 34%),
    radial-gradient(circle at 76% 0%, rgba(14, 165, 233, 0.24), transparent 36%),
    linear-gradient(135deg, rgba(2, 6, 23, 0.98), rgba(15, 23, 42, 0.88));
}

html[data-theme="light"] {
  --dashboard-v2-bg: rgba(248, 250, 252, 0.78);
  --dashboard-v2-surface: rgba(255, 255, 255, 0.82);
  --dashboard-v2-surface-strong: rgba(255, 255, 255, 0.96);
  --dashboard-v2-border: rgba(148, 163, 184, 0.34);
  --dashboard-v2-border-soft: rgba(148, 163, 184, 0.24);
  --dashboard-v2-text: #0f172a;
  --dashboard-v2-muted: #64748b;
  --dashboard-v2-soft: rgba(15, 23, 42, 0.055);
  --dashboard-v2-shadow: 0 22px 55px rgba(15, 23, 42, 0.10);
  --dashboard-v2-blue: #2563eb;
  --dashboard-v2-cyan: #0284c7;
  --dashboard-v2-green: #16a34a;
  --dashboard-v2-warning: #d97706;
  --dashboard-v2-danger: #dc2626;
  --dashboard-v2-violet: #7c3aed;
  --dashboard-v2-hero-gradient:
    radial-gradient(circle at 15% 12%, rgba(59, 130, 246, 0.24), transparent 33%),
    radial-gradient(circle at 80% 4%, rgba(14, 165, 233, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(219, 234, 254, 0.76));
}

@media (prefers-color-scheme: light) {
  html:not([data-theme]),
  html[data-theme="auto"] {
    --dashboard-v2-bg: rgba(248, 250, 252, 0.78);
    --dashboard-v2-surface: rgba(255, 255, 255, 0.82);
    --dashboard-v2-surface-strong: rgba(255, 255, 255, 0.96);
    --dashboard-v2-border: rgba(148, 163, 184, 0.34);
    --dashboard-v2-border-soft: rgba(148, 163, 184, 0.24);
    --dashboard-v2-text: #0f172a;
    --dashboard-v2-muted: #64748b;
    --dashboard-v2-soft: rgba(15, 23, 42, 0.055);
    --dashboard-v2-shadow: 0 22px 55px rgba(15, 23, 42, 0.10);
    --dashboard-v2-blue: #2563eb;
    --dashboard-v2-cyan: #0284c7;
    --dashboard-v2-green: #16a34a;
    --dashboard-v2-warning: #d97706;
    --dashboard-v2-danger: #dc2626;
    --dashboard-v2-violet: #7c3aed;
    --dashboard-v2-hero-gradient:
      radial-gradient(circle at 15% 12%, rgba(59, 130, 246, 0.24), transparent 33%),
      radial-gradient(circle at 80% 4%, rgba(14, 165, 233, 0.18), transparent 30%),
      linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(219, 234, 254, 0.76));
  }
}

body.is-dashboard-shell-visible:has(#dashboard-view > .dashboard-v2) #app-root {
  padding-top: 0;
}

body.is-dashboard-shell-visible:has(#dashboard-view > .dashboard-v2) #dashboard-view {
  margin-top: 0;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 {
  animation: panel-fade-in-no-shift 0.24s ease-out;
}

.dashboard-v2 {
  width: 100%;
  min-height: 100dvh;
  color: var(--dashboard-v2-text);
  padding: 0 0 clamp(2.5rem, 4vw, 4rem);
}

.dashboard-v2::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 0%, rgba(59, 130, 246, 0.13), transparent 32%),
    radial-gradient(circle at 92% 10%, rgba(14, 165, 233, 0.10), transparent 30%);
}

.dashboard-v2 button {
  font: inherit;
}

.dashboard-v2-hero {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
  width: 100%;
  padding: clamp(1.1rem, 3vw, 2.35rem);
  border: 0;
  border-radius: 0;
  background: var(--dashboard-v2-hero-gradient);
  box-shadow: var(--dashboard-v2-shadow);
  overflow: hidden;
}


.dashboard-v2-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.28), transparent 34%, rgba(14, 165, 233, 0.18));
  opacity: 0.52;
}

.dashboard-v2-hero > * {
  position: relative;
  z-index: 1;
}

.dashboard-v2-hero__portrait {
  display: inline-grid;
  place-items: center;
  align-self: start;
  width: clamp(4.4rem, 8vw, 7rem);
  height: clamp(4.4rem, 8vw, 7rem);
  margin-top: clamp(0.2rem, 1vw, 0.7rem);
  border: 1px solid color-mix(in srgb, var(--dashboard-v2-border) 72%, white 12%);
  border-radius: 2rem;
  background: color-mix(in srgb, var(--dashboard-v2-surface-strong) 76%, transparent);
  box-shadow: 0 22px 45px rgba(2, 6, 23, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.dashboard-v2-hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dashboard-v2-hero__portrait span {
  color: var(--dashboard-v2-blue);
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.08em;
}

.dashboard-v2-kicker {
  margin: 0 0 0.55rem;
  color: var(--dashboard-v2-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.dashboard-v2-hero h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.dashboard-v2-hero p:not(.dashboard-v2-kicker) {
  margin: 0.9rem 0 0;
  max-width: 68ch;
  color: var(--dashboard-v2-muted);
  font-size: clamp(0.94rem, 1.4vw, 1.08rem);
  line-height: 1.6;
}

.dashboard-v2-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.dashboard-v2-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2rem;
  padding: 0.42rem 0.68rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  color: var(--dashboard-v2-text);
  background: color-mix(in srgb, var(--dashboard-v2-surface-strong) 76%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
  font-size: 0.78rem;
  font-weight: 800;
}

html[data-theme="dark"] .dashboard-v2-badge,
html:not([data-theme]) .dashboard-v2-badge {
  background: rgba(15, 23, 42, 0.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.dashboard-v2-badge--blue,
.dashboard-v2-badge--info {
  border-color: rgba(59, 130, 246, 0.35);
  color: var(--dashboard-v2-blue);
}

.dashboard-v2-badge--role {
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.dashboard-v2-badge--role:hover,
.dashboard-v2-badge--role.is-active {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, currentColor 48%, transparent);
  background: color-mix(in srgb, currentColor 12%, var(--dashboard-v2-surface-strong));
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

.dashboard-v2-badge--role.is-active::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, currentColor 16%, transparent);
}

.dashboard-v2-badge--cyan {
  border-color: color-mix(in srgb, var(--dashboard-v2-cyan) 38%, transparent);
  color: var(--dashboard-v2-cyan);
}

.dashboard-v2-badge--green,
.dashboard-v2-badge--success {
  border-color: color-mix(in srgb, var(--dashboard-v2-green) 38%, transparent);
  color: var(--dashboard-v2-green);
}

.dashboard-v2-badge--violet {
  border-color: color-mix(in srgb, var(--dashboard-v2-violet) 38%, transparent);
  color: var(--dashboard-v2-violet);
}

.dashboard-v2-badge--danger,
.dashboard-v2-badge--urgent {
  border-color: color-mix(in srgb, var(--dashboard-v2-danger) 38%, transparent);
  color: var(--dashboard-v2-danger);
}

.dashboard-v2-hero__context {
  margin-top: 0.72rem !important;
  color: color-mix(in srgb, var(--dashboard-v2-muted) 86%, var(--dashboard-v2-blue));
  font-size: 0.82rem !important;
  font-weight: 800;
}

.dashboard-v2-badge--warning {
  border-color: rgba(217, 119, 6, 0.35);
  color: var(--dashboard-v2-warning);
}

.dashboard-v2-hero__actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.dashboard-v2-hero-button,
.dashboard-v2-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.65rem;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 999px;
  padding: 0.72rem 1rem;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #0284c7);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.22);
  font-weight: 850;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.dashboard-v2-hero-button:hover,
.dashboard-v2-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 38px rgba(37, 99, 235, 0.28);
}

.dashboard-v2-hero-button--ghost {
  color: var(--dashboard-v2-text);
  background: var(--dashboard-v2-surface);
  border-color: var(--dashboard-v2-border);
  box-shadow: none;
}

.dashboard-v2-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.dashboard-v2-stat {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.05rem 0.7rem;
  align-items: center;
  min-height: 4.2rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--dashboard-v2-border-soft);
  background: var(--dashboard-v2-surface);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(16px);
}

.dashboard-v2-stat__icon {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.95rem;
  background: var(--dashboard-v2-soft);
  color: var(--dashboard-v2-blue);
}

.dashboard-v2-stat strong {
  font-size: 1.35rem;
  line-height: 1;
}

.dashboard-v2-stat span:not(.dashboard-v2-stat__icon) {
  color: var(--dashboard-v2-muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.dashboard-v2-stat--green .dashboard-v2-stat__icon,
.dashboard-v2-stat--success .dashboard-v2-stat__icon {
  color: var(--dashboard-v2-green);
}

.dashboard-v2-stat--warning .dashboard-v2-stat__icon {
  color: var(--dashboard-v2-warning);
}

.dashboard-v2-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 0.9rem;
}

.dashboard-v2-card {
  position: relative;
  grid-column: span 4;
  min-height: 14rem;
  padding: clamp(0.95rem, 1.5vw, 1.25rem);
  border: 1px solid var(--dashboard-v2-border-soft);
  background: var(--dashboard-v2-surface);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.dashboard-v2-card::before {
  content: "";
  position: absolute;
  inset: 1rem auto 1rem 0;
  width: 0.22rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.05), var(--dashboard-v2-blue), rgba(14, 165, 233, 0.08));
  opacity: 0.62;
}

.dashboard-v2-card--priority,
.dashboard-v2-card--admin,
.dashboard-v2-card--quick {
  grid-column: span 5;
}

.dashboard-v2-card--next,
.dashboard-v2-card--gala {
  grid-column: span 7;
}

.dashboard-v2-card--communication,
.dashboard-v2-card--week {
  grid-column: span 6;
}

.dashboard-v2-card--next::before {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.05), var(--dashboard-v2-accent, var(--dashboard-v2-blue)), rgba(14, 165, 233, 0.08));
}

.dashboard-v2-card--gala::before {
  background: linear-gradient(180deg, rgba(217, 119, 6, 0.05), #f59e0b, rgba(217, 119, 6, 0.08));
}

.dashboard-v2-card__header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.dashboard-v2-card__icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1.05rem;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #0284c7);
  box-shadow: 0 13px 26px rgba(37, 99, 235, 0.22);
}

.dashboard-v2-card h2 {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.dashboard-v2-card__header p {
  margin: 0.28rem 0 0;
  color: var(--dashboard-v2-muted);
  font-size: 0.84rem;
  line-height: 1.42;
}

.dashboard-v2-priority-list,
.dashboard-v2-list,
.dashboard-v2-admin-grid,
.dashboard-v2-quick-grid {
  display: grid;
  gap: 0.62rem;
}

.dashboard-v2-priority,
.dashboard-v2-list-item,
.dashboard-v2-admin-item,
.dashboard-v2-quick {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: color-mix(in srgb, var(--dashboard-v2-surface-strong) 62%, transparent);
  color: var(--dashboard-v2-text);
  text-align: left;
}

html[data-theme="dark"] .dashboard-v2-priority,
html[data-theme="dark"] .dashboard-v2-list-item,
html[data-theme="dark"] .dashboard-v2-admin-item,
html[data-theme="dark"] .dashboard-v2-quick,
html:not([data-theme]) .dashboard-v2-priority,
html:not([data-theme]) .dashboard-v2-list-item,
html:not([data-theme]) .dashboard-v2-admin-item,
html:not([data-theme]) .dashboard-v2-quick {
  background: color-mix(in srgb, var(--dashboard-v2-surface-strong) 74%, transparent);
}

button.dashboard-v2-priority,
button.dashboard-v2-list-item,
button.dashboard-v2-admin-item,
.dashboard-v2-quick {
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

button.dashboard-v2-priority:hover,
button.dashboard-v2-list-item:hover,
button.dashboard-v2-admin-item:hover,
.dashboard-v2-quick:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.4);
}

.dashboard-v2-priority {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.82rem;
  border-radius: 1.05rem;
}

.dashboard-v2-priority__icon,
.dashboard-v2-list-item__icon,
.dashboard-v2-admin-item__icon {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.85rem;
  background: var(--dashboard-v2-soft);
  color: var(--dashboard-v2-blue);
}

.dashboard-v2-priority__body {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.dashboard-v2-priority__body strong,
.dashboard-v2-next strong {
  line-height: 1.1;
}

.dashboard-v2-priority__body span,
.dashboard-v2-next span,
.dashboard-v2-list-item span:not(.dashboard-v2-list-item__icon),
.dashboard-v2-admin-item__body span,
.dashboard-v2-quick span:not(.dashboard-v2-quick__icon) {
  color: var(--dashboard-v2-muted);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
}

.dashboard-v2-priority__action {
  color: var(--dashboard-v2-blue);
  font-size: 0.78rem;
  font-weight: 850;
}

.dashboard-v2-priority--success .dashboard-v2-priority__icon,
.dashboard-v2-list-item--success .dashboard-v2-list-item__icon,
.dashboard-v2-list-item--green .dashboard-v2-list-item__icon,
.dashboard-v2-admin-item--green .dashboard-v2-admin-item__icon {
  color: var(--dashboard-v2-green);
}

.dashboard-v2-priority--warning .dashboard-v2-priority__icon,
.dashboard-v2-list-item--warning .dashboard-v2-list-item__icon,
.dashboard-v2-admin-item--warning .dashboard-v2-admin-item__icon {
  color: var(--dashboard-v2-warning);
}

.dashboard-v2-priority--danger .dashboard-v2-priority__icon,
.dashboard-v2-priority--urgent .dashboard-v2-priority__icon {
  color: var(--dashboard-v2-danger);
}

.dashboard-v2-next {
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.dashboard-v2-next strong {
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  letter-spacing: -0.055em;
}

.dashboard-v2-next .dashboard-v2-action {
  justify-self: start;
  margin-top: 0.25rem;
}

.dashboard-v2-list-item {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  padding: 0.78rem;
  border-radius: 1rem;
}

.dashboard-v2-admin-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-v2-admin-item {
  display: grid;
  gap: 0.65rem;
  align-content: start;
  padding: 0.9rem;
  border-radius: 1.05rem;
}

.dashboard-v2-admin-item__body {
  display: grid;
  gap: 0.18rem;
}

.dashboard-v2-admin-item__body strong {
  font-size: 1.65rem;
  line-height: 0.95;
}

.dashboard-v2-mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.15rem;
}

.dashboard-v2-mini-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.25rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--dashboard-v2-border);
  border-radius: 999px;
  background: var(--dashboard-v2-soft);
}

.dashboard-v2-mini-stat strong {
  font-size: 1rem;
}

.dashboard-v2-mini-stat span {
  color: var(--dashboard-v2-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.dashboard-v2-quick-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-v2-quick {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem;
  min-height: 3.3rem;
  padding: 0.75rem;
  border-radius: 1.05rem;
}

.dashboard-v2-quick__icon {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.95rem;
  color: var(--dashboard-v2-blue);
  background: var(--dashboard-v2-soft);
}

.dashboard-v2-quick span:not(.dashboard-v2-quick__icon) {
  overflow: hidden;
  color: var(--dashboard-v2-text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-v2-skeleton {
  display: block;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.16), rgba(148, 163, 184, 0.34), rgba(148, 163, 184, 0.16));
  background-size: 240% 100%;
  animation: dashboard-v2-skeleton 1.15s ease-in-out infinite;
}

.dashboard-v2-skeleton--kicker {
  width: 9rem;
  height: 0.8rem;
}

.dashboard-v2-skeleton--title {
  width: min(24rem, 75%);
  height: 2.4rem;
  margin-top: 0.95rem;
}

.dashboard-v2-skeleton--line {
  width: min(32rem, 92%);
  height: 0.95rem;
  margin-top: 0.85rem;
}

@keyframes dashboard-v2-skeleton {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

@media (min-width: 1024px) {
  body.is-dashboard-shell-visible .dashboard-v2-hero {
    width: 100vw;
    margin-left: calc(-1 * var(--dashboard-shell-content-left, 0px));
    margin-right: 0;
    padding-top: calc(var(--app-header-safe-height, 72px) + clamp(1rem, 2vw, 1.45rem));
    padding-left: calc(var(--dashboard-shell-content-left, 0px) + clamp(1.1rem, 3vw, 2.35rem));
    padding-right: clamp(1.1rem, 3vw, 2.35rem);
  }
}

@media (max-width: 1023px) {
  .dashboard-v2 {
    padding-top: 0;
  }

  .dashboard-v2-hero {
    width: 100vw;
    margin-inline: calc(-1 * clamp(0.75rem, 2vw, 1rem));
    padding-top: calc(var(--app-header-safe-height, 64px) + 0.9rem);
    padding-inline: calc(clamp(0.75rem, 2vw, 1rem) + 0.85rem);
  }

  .dashboard-v2-hero h1 {
    max-width: none;
    font-size: clamp(1.75rem, 6vw, 3.3rem);
  }

  .dashboard-v2-grid,
  .dashboard-v2-stats {
    gap: 0.75rem;
  }

  .dashboard-v2-card,
  .dashboard-v2-card--priority,
  .dashboard-v2-card--next,
  .dashboard-v2-card--week,
  .dashboard-v2-card--communication,
  .dashboard-v2-card--admin,
  .dashboard-v2-card--gala,
  .dashboard-v2-card--quick {
    grid-column: span 12;
  }

  .dashboard-v2-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .dashboard-v2-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-v2-card,
  .dashboard-v2-card--priority,
  .dashboard-v2-card--next,
  .dashboard-v2-card--week,
  .dashboard-v2-card--communication,
  .dashboard-v2-card--admin,
  .dashboard-v2-card--gala,
  .dashboard-v2-card--quick {
    grid-column: span 1;
  }

  .dashboard-v2-card--priority,
  .dashboard-v2-card--next {
    grid-column: span 2;
  }
}

@media (max-width: 1023px) {
  .dashboard-v2 {
    padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px));
  }

  .dashboard-v2-hero {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.9rem;
    padding-top: calc(var(--app-header-safe-height, 64px) + 0.9rem);
    padding-bottom: 1.1rem;
  }

  .dashboard-v2-hero__portrait {
    width: 3.9rem;
    height: 3.9rem;
    border-radius: 1.35rem;
  }

  .dashboard-v2-hero h1 {
    font-size: clamp(1.75rem, 10vw, 2.45rem);
    letter-spacing: -0.07em;
  }

  .dashboard-v2-hero p:not(.dashboard-v2-kicker) {
    margin-top: 0.65rem;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .dashboard-v2-badges {
    gap: 0.42rem;
    margin-top: 0.85rem;
  }

  .dashboard-v2-badge {
    min-height: 1.8rem;
    padding: 0.35rem 0.56rem;
    font-size: 0.72rem;
  }

  .dashboard-v2-hero__actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .dashboard-v2-hero-button {
    min-height: 2.35rem;
    padding: 0.58rem 0.78rem;
    font-size: 0.8rem;
  }

  .dashboard-v2-stats {
    grid-template-columns: 1fr;
    margin-top: 0.75rem;
  }

  .dashboard-v2-stat {
    min-height: 3.7rem;
    padding: 0.74rem 0.82rem;
  }

  .dashboard-v2-grid {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 0.75rem;
  }

  .dashboard-v2-card {
    min-height: 0;
    padding: 0.86rem;
  }

  .dashboard-v2-card__header {
    gap: 0.62rem;
    margin-bottom: 0.72rem;
  }

  .dashboard-v2-card__icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.9rem;
  }

  .dashboard-v2-card h2 {
    font-size: 1rem;
  }

  .dashboard-v2-card__header p {
    font-size: 0.78rem;
  }

  .dashboard-v2-priority {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 0.72rem;
  }

  .dashboard-v2-priority__action {
    display: none;
  }

  .dashboard-v2-next strong {
    font-size: 1.22rem;
  }

  .dashboard-v2-admin-grid,
  .dashboard-v2-quick-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-v2-quick-grid {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scroll-snap-type: x proximity;
  }

  .dashboard-v2-quick {
    flex: 0 0 min(12.5rem, 72vw);
    scroll-snap-align: start;
  }
}

/* EDQ V48.1.2 — dashboard cockpit : hero full bleed, widgets modernes, carrousels cours/évènements */
body.is-dashboard-shell-visible:has(#dashboard-view > .dashboard-v2) #app-root,
body.is-dashboard-shell-visible:has(#dashboard-view > .dashboard-v2) #dashboard-app-shell,
body.is-dashboard-shell-visible:has(#dashboard-view > .dashboard-v2) .dashboard-app-main,
body.is-dashboard-shell-visible:has(#dashboard-view > .dashboard-v2) #dashboard-view {
  overflow-x: visible !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 {
  margin-top: calc(-1 * var(--app-header-safe-height, 72px));
}

@media (min-width: 1024px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 {
    --dashboard-v2-fullbleed-left: calc(var(--dashboard-shell-content-left, 5.55rem) + var(--dashboard-panel-inline-padding, 0px));
    --dashboard-v2-content-left: calc(var(--dashboard-shell-content-left, 5.55rem) + clamp(2.2rem, 4.5vw, 5.8rem));
    --dashboard-v2-content-right: clamp(2.2rem, 4.5vw, 5.8rem);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 > .dashboard-v2-hero {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(var(--dashboard-v2-fullbleed-left, 5.55rem) * -1) !important;
    margin-right: 0 !important;
    min-height: clamp(320px, 27vw, 470px);
    padding: calc(var(--app-header-safe-height, 72px) + clamp(2.2rem, 4.2vw, 5.2rem))
      var(--dashboard-v2-content-right)
      clamp(2.4rem, 4.4vw, 5.4rem)
      var(--dashboard-v2-content-left) !important;
  }
}

@media (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 {
    --dashboard-v2-mobile-shell-gap: clamp(0.75rem, 2vw, 1rem);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 > .dashboard-v2-hero {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(var(--dashboard-v2-mobile-shell-gap, 0px) * -1) !important;
    margin-right: 0 !important;
    padding-top: calc(var(--app-header-safe-height, 64px) + 1.1rem) !important;
  }
}

.dashboard-v2-hero__portrait {
  appearance: none;
  border: 1px solid color-mix(in srgb, var(--dashboard-v2-border) 72%, white 12%);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.dashboard-v2-hero__portrait:hover,
.dashboard-v2-hero__portrait:focus-visible {
  transform: translateY(-2px) scale(1.015);
  border-color: color-mix(in srgb, var(--dashboard-v2-blue) 42%, var(--dashboard-v2-border));
  box-shadow: 0 26px 55px rgba(37, 99, 235, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  outline: none;
}

.dashboard-v2-card {
  border-radius: clamp(1.25rem, 2.2vw, 1.85rem);
  background:
    radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--dashboard-v2-blue) 8%, transparent), transparent 42%),
    color-mix(in srgb, var(--dashboard-v2-surface-strong) 76%, transparent);
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.10);
}

html[data-theme="dark"] .dashboard-v2-card,
html:not([data-theme]) .dashboard-v2-card {
  background:
    radial-gradient(circle at 10% 0%, rgba(96, 165, 250, 0.10), transparent 44%),
    color-mix(in srgb, var(--dashboard-v2-surface-strong) 82%, transparent);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.30);
}

.dashboard-v2-card::before {
  inset: 50% auto auto 0;
  width: 0.24rem;
  height: 22%;
  min-height: 2.2rem;
  transform: translateY(-50%);
  opacity: 0.82;
  transition: height 420ms ease, opacity 420ms ease, box-shadow 420ms ease;
}

.dashboard-v2-card:focus-within::before,
.dashboard-v2-card:hover::before {
  height: calc(100% - 2rem);
  opacity: 1;
  box-shadow: 0 0 24px color-mix(in srgb, var(--dashboard-v2-blue) 42%, transparent);
}

.dashboard-v2-card--course-carousel,
.dashboard-v2-card--event-carousel {
  grid-column: span 7;
  min-height: 21rem;
}

.dashboard-v2-card--event-carousel {
  grid-column: span 5;
}

.dashboard-v2-card--event-carousel::before {
  background: linear-gradient(180deg, rgba(217, 119, 6, 0.05), var(--dashboard-v2-warning), rgba(217, 119, 6, 0.08));
}

.dashboard-v2-list-item--rich {
  align-items: flex-start;
}

.dashboard-v2-list-item__body {
  display: grid;
  gap: 0.14rem;
  min-width: 0;
}

.dashboard-v2-list-item__body strong {
  color: var(--dashboard-v2-text);
  font-size: 0.92rem;
  line-height: 1.18;
}

.dashboard-v2-priority--latest {
  min-height: 5.2rem;
}

.dashboard-v2-carousel {
  position: relative;
  isolation: isolate;
}

.dashboard-v2-carousel__viewport {
  overflow: hidden;
  border-radius: 1.35rem;
}

.dashboard-v2-carousel__track {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.dashboard-v2-carousel__track::-webkit-scrollbar {
  display: none;
}

.dashboard-v2-carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
}

.dashboard-v2-course-slide,
.dashboard-v2-event-slide {
  display: grid;
  gap: 0.95rem;
  min-height: 15.8rem;
  padding: clamp(1rem, 1.8vw, 1.35rem);
  border: 1px solid color-mix(in srgb, var(--dashboard-v2-accent, var(--dashboard-v2-blue)) 40%, transparent);
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--dashboard-v2-accent, var(--dashboard-v2-blue)) 18%, transparent), transparent 42%),
    linear-gradient(135deg,
      color-mix(in srgb, var(--dashboard-v2-accent, var(--dashboard-v2-blue)) 10%, var(--dashboard-v2-surface-strong)),
      color-mix(in srgb, var(--dashboard-v2-surface-strong) 88%, transparent));
  box-shadow: 0 18px 42px color-mix(in srgb, var(--dashboard-v2-accent, var(--dashboard-v2-blue)) 12%, transparent);
}

.dashboard-v2-event-slide {
  --dashboard-v2-accent: var(--dashboard-v2-warning);
}

.dashboard-v2-course-slide__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.82rem;
  align-items: start;
}

.dashboard-v2-course-slide__icon {
  display: inline-grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 1.05rem;
  color: color-mix(in srgb, var(--dashboard-v2-accent, var(--dashboard-v2-blue)) 82%, var(--dashboard-v2-text));
  background: color-mix(in srgb, var(--dashboard-v2-accent, var(--dashboard-v2-blue)) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--dashboard-v2-accent, var(--dashboard-v2-blue)) 34%, transparent);
}

.dashboard-v2-course-slide__head strong {
  display: block;
  margin-bottom: 0.14rem;
  color: color-mix(in srgb, var(--dashboard-v2-muted) 86%, var(--dashboard-v2-accent, var(--dashboard-v2-blue)));
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.dashboard-v2-course-slide__head h3 {
  margin: 0;
  color: var(--dashboard-v2-text);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.dashboard-v2-course-slide__meta {
  display: grid;
  gap: 0.38rem;
}

.dashboard-v2-course-slide__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--dashboard-v2-muted);
  font-size: 0.84rem;
  font-weight: 760;
  line-height: 1.28;
}

.dashboard-v2-course-slide__meta i {
  color: color-mix(in srgb, var(--dashboard-v2-accent, var(--dashboard-v2-blue)) 70%, var(--dashboard-v2-muted));
}

.dashboard-v2-event-slide__description {
  margin: 0;
  color: var(--dashboard-v2-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.dashboard-v2-vote {
  display: grid;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid color-mix(in srgb, var(--dashboard-v2-accent, var(--dashboard-v2-blue)) 22%, transparent);
}

.dashboard-v2-vote__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.dashboard-v2-vote__status span {
  color: var(--dashboard-v2-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-v2-vote__status strong {
  font-size: 0.88rem;
  color: var(--dashboard-v2-warning);
}

.dashboard-v2-vote__status.is-present strong { color: var(--dashboard-v2-green); }
.dashboard-v2-vote__status.is-absent strong { color: var(--dashboard-v2-danger); }
.dashboard-v2-vote__status.is-late strong { color: var(--dashboard-v2-warning); }

.dashboard-v2-vote__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.dashboard-v2-vote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.34rem;
  min-height: 2.15rem;
  padding: 0.48rem 0.68rem;
  border: 1px solid color-mix(in srgb, var(--dashboard-v2-accent, var(--dashboard-v2-blue)) 26%, transparent);
  border-radius: 999px;
  color: var(--dashboard-v2-text);
  background: color-mix(in srgb, var(--dashboard-v2-surface-strong) 78%, transparent);
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.dashboard-v2-vote-btn:hover,
.dashboard-v2-vote-btn.is-active {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--dashboard-v2-accent, var(--dashboard-v2-blue)) 54%, transparent);
  background: color-mix(in srgb, var(--dashboard-v2-accent, var(--dashboard-v2-blue)) 16%, var(--dashboard-v2-surface-strong));
  box-shadow: 0 12px 24px color-mix(in srgb, var(--dashboard-v2-accent, var(--dashboard-v2-blue)) 14%, transparent);
}

.dashboard-v2-vote-btn:disabled {
  cursor: wait;
  opacity: 0.68;
}

.dashboard-v2-carousel__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--dashboard-v2-border);
  border-radius: 999px;
  color: var(--dashboard-v2-text);
  background: color-mix(in srgb, var(--dashboard-v2-surface-strong) 82%, transparent);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
  cursor: pointer;
  transform: translateY(-50%);
}

.dashboard-v2-carousel__nav--prev { left: -0.65rem; }
.dashboard-v2-carousel__nav--next { right: -0.65rem; }

.dashboard-v2-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.38rem;
  margin-top: 0.72rem;
}

.dashboard-v2-carousel__dot {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--dashboard-v2-muted) 44%, transparent);
  cursor: pointer;
}

.dashboard-v2-carousel__dot.is-active {
  width: 1.2rem;
  background: var(--dashboard-v2-blue);
}

.dashboard-v2-carousel__slide--empty {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 8rem;
  padding: 1rem;
  border: 1px dashed var(--dashboard-v2-border);
  border-radius: 1.2rem;
  color: var(--dashboard-v2-muted);
  background: var(--dashboard-v2-soft);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .dashboard-v2-card--course-carousel,
  .dashboard-v2-card--event-carousel {
    grid-column: span 2;
  }
}

@media (max-width: 1023px) {
  .dashboard-v2-card--course-carousel,
  .dashboard-v2-card--event-carousel {
    min-height: 0;
  }

  .dashboard-v2-course-slide,
  .dashboard-v2-event-slide {
    min-height: 0;
    padding: 0.92rem;
  }

  .dashboard-v2-carousel__nav {
    display: none;
  }

  .dashboard-v2-vote__actions {
    gap: 0.38rem;
  }

  .dashboard-v2-vote-btn {
    min-height: 2rem;
    padding: 0.42rem 0.54rem;
    font-size: 0.74rem;
  }
}

/* V48.1.3 — dashboard cockpit : full shell, hero compact par rôle et rails communs. */
body.is-dashboard-shell-visible:has(#dashboard-view > .dashboard-v2) #app-root {
  padding-top: 0 !important;
}

body.is-dashboard-shell-visible:has(#dashboard-view > .dashboard-v2) #dashboard-view.section,
body.is-dashboard-shell-visible:has(#dashboard-view > .dashboard-v2) #dashboard-view {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 {
  --dashboard-v2-role-color: #38bdf8;
  --dashboard-v2-content-gutter: clamp(.8rem, 2.35vw, 1.65rem);
  --dashboard-v2-content-width: min(1220px, calc(100vw - (var(--dashboard-v2-content-gutter) * 2)));
  position: fixed !important;
  inset: 0 !important;
  z-index: 12 !important;
  display: block !important;
  width: 100vw !important;
  max-width: none !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 0 clamp(2rem, 4vw, 4rem) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: var(--color-bg, #020617) !important;
  box-sizing: border-box !important;
}

.dashboard-v2--role-student { --dashboard-v2-role-color: #38bdf8; }
.dashboard-v2--role-guardian { --dashboard-v2-role-color: #4ade80; }
.dashboard-v2--role-teacher { --dashboard-v2-role-color: #fb923c; }
.dashboard-v2--role-committee { --dashboard-v2-role-color: #c084fc; }
.dashboard-v2--role-mairie { --dashboard-v2-role-color: #ca8a04; }
.dashboard-v2--role-admin,
.dashboard-v2--role-super_admin { --dashboard-v2-role-color: #f97373; }

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-hero {
  width: 100vw !important;
  max-width: 100vw !important;
  min-width: 100vw !important;
  margin: 0 !important;
  min-height: clamp(15.25rem, 31vh, 21rem) !important;
  padding:
    calc(var(--edq-navbar-height-current, var(--app-header-safe-height, 72px)) + clamp(1.15rem, 2.7vw, 2.1rem))
    clamp(1rem, 4.6vw, 5.8rem)
    clamp(1.15rem, 2.2vw, 1.75rem) !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: clamp(.9rem, 2vw, 1.4rem) !important;
  background:
    radial-gradient(circle at 16% 26%, color-mix(in srgb, var(--dashboard-v2-role-color) 30%, transparent), transparent 34%),
    radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--dashboard-v2-role-color) 18%, transparent), transparent 32%),
    linear-gradient(135deg, color-mix(in srgb, var(--color-surface, #ffffff) 93%, var(--dashboard-v2-role-color) 7%), color-mix(in srgb, var(--color-surface-soft, #e0f2fe) 78%, var(--dashboard-v2-role-color) 22%)) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-hero {
  background:
    radial-gradient(circle at 16% 26%, color-mix(in srgb, var(--dashboard-v2-role-color) 28%, transparent), transparent 34%),
    radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--dashboard-v2-role-color) 18%, transparent), transparent 32%),
    linear-gradient(135deg, color-mix(in srgb, #020617 86%, var(--dashboard-v2-role-color) 14%), color-mix(in srgb, #0f172a 84%, var(--dashboard-v2-role-color) 16%)) !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-hero::before {
  background: linear-gradient(90deg, color-mix(in srgb, var(--dashboard-v2-role-color) 18%, transparent), transparent 44%, color-mix(in srgb, var(--dashboard-v2-role-color) 14%, transparent)) !important;
  opacity: .72 !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-hero__portrait {
  width: clamp(4.3rem, 6.2vw, 6.2rem) !important;
  height: clamp(4.3rem, 6.2vw, 6.2rem) !important;
  border-radius: 1.45rem !important;
  border-color: color-mix(in srgb, var(--dashboard-v2-role-color) 42%, transparent) !important;
  background: color-mix(in srgb, var(--color-surface, #fff) 72%, transparent) !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-hero__portrait img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  transform: scale(1.012);
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-kicker,
body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-badge--role.is-active,
body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-stat__icon,
body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-card__icon,
body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-priority__icon,
body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-list-item__icon,
body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-admin-item__icon,
body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-quick__icon {
  color: var(--dashboard-v2-role-color) !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-card__icon {
  background: color-mix(in srgb, var(--dashboard-v2-role-color) 16%, transparent) !important;
  border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color) 34%, transparent) !important;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--dashboard-v2-role-color) 16%, transparent) !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-hero h1 {
  max-width: 18ch !important;
  font-size: clamp(2.05rem, 4.45vw, 4.15rem) !important;
  line-height: .96 !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-hero p:not(.dashboard-v2-kicker) {
  max-width: 58ch !important;
  margin-top: .7rem !important;
  font-size: clamp(.88rem, 1.2vw, 1.02rem) !important;
  line-height: 1.45 !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-hero__context {
  display: none !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-stats,
body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-grid {
  width: var(--dashboard-v2-content-width) !important;
  max-width: 1220px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-stats {
  margin-top: clamp(.75rem, 1.6vw, 1.05rem) !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-card {
  --dashboard-v2-card-rail-rest: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--dashboard-v2-role-color) 10%, transparent) 32%, color-mix(in srgb, var(--dashboard-v2-role-color) 30%, transparent) 50%, color-mix(in srgb, var(--dashboard-v2-role-color) 10%, transparent) 68%, transparent 100%);
  --dashboard-v2-card-rail-on: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--dashboard-v2-role-color) 72%, transparent) 22%, color-mix(in srgb, var(--dashboard-v2-role-color) 96%, white 4%) 50%, color-mix(in srgb, var(--dashboard-v2-role-color) 72%, transparent) 78%, transparent 100%);
  border-radius: 1.55rem !important;
  border-color: color-mix(in srgb, var(--dashboard-v2-role-color) 20%, var(--dashboard-v2-border-soft) 80%) !important;
  background:
    radial-gradient(circle at 5% 0%, color-mix(in srgb, var(--dashboard-v2-role-color) 11%, transparent), transparent 33%),
    color-mix(in srgb, var(--dashboard-v2-surface) 92%, transparent) !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-card::before {
  top: 40% !important;
  bottom: auto !important;
  height: 20% !important;
  width: 4px !important;
  left: 14px !important;
  border-radius: 999px !important;
  background: var(--dashboard-v2-card-rail-rest) !important;
  opacity: 1 !important;
  transition: top 280ms cubic-bezier(.2,.86,.24,1), height 280ms cubic-bezier(.2,.86,.24,1), background 180ms ease, box-shadow 180ms ease !important;
}

@media (hover: hover) and (pointer: fine) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-card:hover::before,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-card:focus-within::before {
    top: 1rem !important;
    height: calc(100% - 2rem) !important;
    background: var(--dashboard-v2-card-rail-on) !important;
    box-shadow: 0 0 18px color-mix(in srgb, var(--dashboard-v2-role-color) 34%, transparent) !important;
  }
}

@media (hover: none), (pointer: coarse) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-card::before {
    top: 1rem !important;
    height: calc(100% - 2rem) !important;
    background: var(--dashboard-v2-card-rail-on) !important;
  }
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-course-slide.ui-accent-card .ui-accent-card__body {
  display: grid !important;
  gap: .75rem !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-course-slide.ui-accent-card {
  flex: 0 0 100% !important;
  min-width: 0 !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-course-alert {
  display: inline-flex;
  align-items: flex-start;
  gap: .5rem;
  padding: .68rem .78rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, #facc15 36%, transparent);
  background: color-mix(in srgb, #facc15 11%, transparent);
  color: color-mix(in srgb, #facc15 74%, var(--dashboard-v2-text));
  font-size: .84rem;
  font-weight: 820;
  line-height: 1.28;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-course-alert--cancelled {
  border-color: color-mix(in srgb, #fb7185 38%, transparent);
  background: color-mix(in srgb, #fb7185 12%, transparent);
  color: color-mix(in srgb, #fb7185 78%, var(--dashboard-v2-text));
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__nav {
  left: auto;
  right: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) scale(.94);
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .my-courses-next-carousel:hover .dashboard-v2-carousel__nav,
body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__nav:focus-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__nav--prev { left: .45rem !important; }
body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__nav--next { right: .45rem !important; }

@media (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-hero {
    min-height: clamp(13.5rem, 30vh, 18rem) !important;
    padding:
      calc(var(--edq-navbar-height-current, var(--app-header-safe-height, 64px)) + .95rem)
      calc(var(--courses-hero-mobile-shell-gap, 0px) + clamp(.9rem, 3vw, 1.25rem))
      1.05rem !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-hero__actions {
    grid-column: 1 / -1;
    justify-content: flex-start !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-hero h1 {
    font-size: clamp(2.1rem, 7.5vw, 3.25rem) !important;
  }
}

@media (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 {
    --dashboard-v2-content-gutter: clamp(.7rem, 3.4vw, 1rem);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-hero {
    min-height: auto !important;
    padding:
      calc(var(--edq-navbar-height-current, var(--app-header-safe-height, 58px)) + .72rem)
      calc(var(--courses-hero-mobile-shell-gap, 0px) + .85rem)
      .95rem !important;
    grid-template-columns: 3.6rem minmax(0, 1fr) !important;
    gap: .75rem !important;
    text-align: left !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-hero__portrait {
    width: 3.55rem !important;
    height: 3.55rem !important;
    border-radius: 1.05rem !important;
    margin-top: .1rem !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-kicker {
    margin-bottom: .32rem !important;
    font-size: .68rem !important;
    letter-spacing: .12em !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.55rem) !important;
    letter-spacing: -.075em !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-hero p:not(.dashboard-v2-kicker) {
    margin-top: .48rem !important;
    font-size: .84rem !important;
    line-height: 1.34 !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-badges {
    gap: .42rem !important;
    margin-top: .72rem !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-badge {
    min-height: 1.75rem !important;
    padding: .32rem .52rem !important;
    font-size: .72rem !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-hero__actions {
    gap: .45rem !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-hero-button {
    min-height: 2.25rem !important;
    padding: .54rem .72rem !important;
    font-size: .82rem !important;
  }
}

.dashboard-v2-badge--orange {
  border-color: color-mix(in srgb, #fb923c 38%, transparent);
  color: #fb923c;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-vote-reason-dialog {
  --my-courses-next-color: var(--dashboard-v2-role-color, #38bdf8);
}

/* V48.1.4 — Dashboard V2 : rails repositionnés et flèches de carrousel stabilisées. */
body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-card {
  padding-left: clamp(1.55rem, 2.2vw, 2rem) !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-card::before,
body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-card::after {
  content: "" !important;
  position: absolute !important;
  top: 18px !important;
  right: auto !important;
  bottom: 18px !important;
  left: 14px !important;
  width: 4px !important;
  height: auto !important;
  min-height: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  pointer-events: none !important;
  filter: none !important;
  transform: none !important;
  opacity: 1 !important;
  z-index: 1 !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-card::before {
  background: linear-gradient(180deg,
    transparent 0%,
    color-mix(in srgb, var(--dashboard-v2-role-color) 0%, transparent) 8%,
    color-mix(in srgb, var(--dashboard-v2-role-color) 9%, var(--color-bg, #020617) 91%) 28%,
    color-mix(in srgb, var(--dashboard-v2-role-color) 14%, var(--color-bg, #020617) 86%) 50%,
    color-mix(in srgb, var(--dashboard-v2-role-color) 9%, var(--color-bg, #020617) 91%) 72%,
    color-mix(in srgb, var(--dashboard-v2-role-color) 0%, transparent) 92%,
    transparent 100%) !important;
  box-shadow: none !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-card::after {
  background: linear-gradient(180deg,
    transparent 0%,
    color-mix(in srgb, var(--dashboard-v2-role-color) 0%, transparent) 7%,
    color-mix(in srgb, var(--dashboard-v2-role-color) 66%, transparent) 23%,
    color-mix(in srgb, var(--dashboard-v2-role-color) 96%, white 4%) 50%,
    color-mix(in srgb, var(--dashboard-v2-role-color) 66%, transparent) 77%,
    color-mix(in srgb, var(--dashboard-v2-role-color) 0%, transparent) 93%,
    transparent 100%) !important;
  transform: scaleY(.2) !important;
  transform-origin: 50% 50% !important;
  transition: transform 280ms cubic-bezier(.2, .86, .24, 1) !important;
  box-shadow: none !important;
}

@media (hover: hover) and (pointer: fine) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-card:hover::after,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-card:focus-within::after {
    transform: scaleY(1) !important;
  }
}

@media (hover: none), (pointer: coarse) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-card::after {
    transform: scaleY(1) !important;
    transition: none !important;
  }
}

html:not([data-theme="dark"]) body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-card::before {
  background: linear-gradient(180deg,
    transparent 0%,
    color-mix(in srgb, var(--dashboard-v2-role-color) 0%, transparent) 8%,
    color-mix(in srgb, var(--dashboard-v2-role-color) 8%, rgba(255,255,255,.9) 92%) 28%,
    color-mix(in srgb, var(--dashboard-v2-role-color) 13%, white 87%) 50%,
    color-mix(in srgb, var(--dashboard-v2-role-color) 8%, rgba(255,255,255,.9) 92%) 72%,
    color-mix(in srgb, var(--dashboard-v2-role-color) 0%, transparent) 92%,
    transparent 100%) !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-card > * {
  position: relative;
  z-index: 2;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel {
  --my-courses-next-color: var(--dashboard-v2-role-color, #38bdf8);
  overflow: visible !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__viewport {
  overflow: hidden !important;
  border-radius: 1.45rem !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__track {
  gap: 0 !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__nav {
  top: 50% !important;
  z-index: 8 !important;
  display: inline-grid !important;
  width: 2rem !important;
  height: 2rem !important;
  border-radius: 999px !important;
  border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color) 36%, transparent) !important;
  color: var(--dashboard-v2-text) !important;
  background: color-mix(in srgb, var(--dashboard-v2-surface-strong) 88%, transparent) !important;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .18) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-50%) scale(.94) !important;
  transition: opacity .16s ease, transform .16s ease, border-color .16s ease, visibility .16s ease !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__nav--prev {
  left: .75rem !important;
  right: auto !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__nav--next {
  right: .75rem !important;
  left: auto !important;
}

@media (hover: hover) and (pointer: fine) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel:hover .dashboard-v2-carousel__nav:not([hidden]):not(:disabled):not(.is-unavailable),
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__nav:not([hidden]):not(:disabled):not(.is-unavailable):focus-visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(-50%) scale(1) !important;
  }
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__nav[hidden],
body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__nav:disabled,
body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__nav.is-unavailable {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__dots {
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  margin-top: .58rem !important;
}

@media (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-card {
    padding-left: 1.25rem !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-card::before,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-card::after {
    left: 10px !important;
    top: 14px !important;
    bottom: 14px !important;
    width: 3px !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__nav {
    display: none !important;
  }
}

/* V48.1.5 — Dashboard V2 : widgets sans cadres globaux, carrousels stabilisés et motif flottant. */
body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 {
  --dashboard-v2-content-gutter: clamp(.85rem, 2vw, 1.35rem);
  --dashboard-v2-content-width: calc(100vw - (var(--dashboard-v2-content-gutter) * 2));
}

@media (min-width: 1024px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 {
    --dashboard-v2-shell-left: var(--dashboard-shell-content-left, 5.55rem);
    --dashboard-v2-content-left: calc(var(--dashboard-v2-shell-left) + clamp(1.15rem, 2.45vw, 2.65rem));
    --dashboard-v2-content-right: clamp(1.15rem, 2.25vw, 2.35rem);
    --dashboard-v2-content-width: calc(100vw - var(--dashboard-v2-content-left) - var(--dashboard-v2-content-right));
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-hero {
    padding-left: var(--dashboard-v2-content-left) !important;
    padding-right: var(--dashboard-v2-content-right) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-stats,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-grid {
    width: var(--dashboard-v2-content-width) !important;
    max-width: none !important;
    margin-left: var(--dashboard-v2-content-left) !important;
    margin-right: var(--dashboard-v2-content-right) !important;
  }
}

@media (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 {
    --dashboard-v2-content-gutter: clamp(.7rem, 2.2vw, 1rem);
    --dashboard-v2-content-width: calc(100vw - (var(--dashboard-v2-content-gutter) * 2));
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-stats,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-grid {
    width: var(--dashboard-v2-content-width) !important;
    max-width: none !important;
    margin-left: var(--dashboard-v2-content-gutter) !important;
    margin-right: var(--dashboard-v2-content-gutter) !important;
  }
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-grid {
  align-items: stretch !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-widget {
  position: relative;
  min-width: 0;
  display: grid;
  gap: .72rem;
  align-content: start;
  grid-column: span 4;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-widget--priority {
  grid-column: span 5;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-widget--course-carousel {
  grid-column: span 7;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-widget__header {
  display: flex;
  align-items: flex-start;
  gap: .72rem;
  min-width: 0;
  padding-inline: .08rem;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-widget__icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1.05rem;
  color: var(--dashboard-v2-role-color, #38bdf8);
  background: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 34%, transparent);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 16%, transparent);
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-widget h2 {
  margin: 0;
  color: var(--dashboard-v2-text);
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  line-height: 1.1;
  letter-spacing: -.04em;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-widget__header p {
  margin: .28rem 0 0;
  color: var(--dashboard-v2-muted);
  font-size: .84rem;
  line-height: 1.42;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-widget .dashboard-v2-priority-list,
body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-widget .dashboard-v2-carousel {
  min-width: 0;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-widget--priority .dashboard-v2-priority {
  min-height: 5.25rem;
  border-radius: 1.35rem;
  border-color: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 22%, var(--dashboard-v2-border-soft) 78%);
  background:
    radial-gradient(circle at 0% 50%, color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 16%, transparent), transparent 38%),
    color-mix(in srgb, var(--dashboard-v2-surface-strong) 74%, transparent);
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-widget--empty-next .dashboard-v2-next--frameless {
  min-height: 9rem;
  padding: 1rem;
  border-radius: 1.35rem;
  border: 1px dashed color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 28%, var(--dashboard-v2-border-soft) 72%);
  background: color-mix(in srgb, var(--dashboard-v2-surface-strong) 68%, transparent);
}

@media (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-widget,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-widget--priority,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-widget--course-carousel {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-grid {
    grid-template-columns: 1fr !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-widget__icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: .9rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-widget__header p {
    font-size: .78rem;
  }
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel {
  position: relative !important;
  overflow: visible !important;
  padding-inline: clamp(0px, 1.1vw, .4rem) !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__viewport {
  overflow: hidden !important;
  border-radius: 1.45rem !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__track {
  display: flex !important;
  gap: 0 !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  scroll-behavior: smooth !important;
  scrollbar-width: none !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__track > * {
  flex: 0 0 100% !important;
  width: 100% !important;
  min-width: 100% !important;
  scroll-snap-align: start !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__nav {
  position: absolute !important;
  top: calc(50% - .55rem) !important;
  z-index: 12 !important;
  display: inline-grid !important;
  place-items: center !important;
  width: 2.15rem !important;
  height: 2.15rem !important;
  border-radius: 999px !important;
  border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 42%, transparent) !important;
  color: var(--dashboard-v2-text) !important;
  background: color-mix(in srgb, var(--dashboard-v2-surface-strong) 92%, transparent) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .22) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(-50%) !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__nav--prev {
  left: .58rem !important;
  right: auto !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__nav--next {
  right: .58rem !important;
  left: auto !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__nav[hidden],
body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__nav:disabled,
body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__nav.is-unavailable {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__dots {
  position: static !important;
  display: flex !important;
  justify-content: center !important;
  margin-top: .52rem !important;
}

@media (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__nav {
    display: none !important;
  }
}

.dashboard-v2-reason-floating {
  position: fixed;
  z-index: 14000;
  width: min(22.5rem, calc(100vw - 1.5rem));
  max-width: calc(100vw - 1.5rem);
  display: grid;
  gap: .42rem;
  padding: .62rem .68rem .56rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, #facc15 52%, transparent);
  background:
    radial-gradient(circle at 10% 0%, color-mix(in srgb, #facc15 18%, transparent), transparent 58%),
    color-mix(in srgb, #020617 88%, #facc15 12%);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .34), inset 0 0 0 1px color-mix(in srgb, #facc15 16%, transparent);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  transform-origin: 50% 0%;
  animation: dashboardReasonFloatIn .16s cubic-bezier(.2, .82, .26, 1) both;
}

.dashboard-v2-reason-floating.is-closing {
  animation: dashboardReasonFloatOut .13s ease both;
}

@keyframes dashboardReasonFloatIn {
  from { opacity: 0; transform: translateY(-.28rem) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes dashboardReasonFloatOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-.22rem) scale(.985); }
}

.dashboard-v2-reason-floating__field,
.dashboard-v2-reason-floating .my-children-vote-reason-floating__field {
  display: grid;
  gap: .34rem;
}

.dashboard-v2-reason-floating__field > span,
.dashboard-v2-reason-floating .my-children-vote-reason-floating__field > span {
  color: color-mix(in srgb, #facc15 80%, rgba(226, 232, 240, .82) 20%);
  font-size: .7rem;
  font-weight: 950;
  letter-spacing: .085em;
  text-transform: uppercase;
}

.dashboard-v2-reason-floating__field > span em,
.dashboard-v2-reason-floating .my-children-vote-reason-floating__field > span em {
  color: color-mix(in srgb, #facc15 48%, rgba(226, 232, 240, .7) 52%);
  font-size: .64rem;
  font-style: normal;
  font-weight: 850;
  letter-spacing: .025em;
  text-transform: none;
}

.dashboard-v2-reason-floating textarea {
  width: 100%;
  min-height: 2.65rem;
  max-height: 5.4rem;
  resize: none;
  padding: .56rem .64rem;
  border-radius: .78rem;
  border: 1px solid color-mix(in srgb, #facc15 52%, transparent);
  background: color-mix(in srgb, #020617 74%, transparent);
  color: rgba(248, 250, 252, .96);
  font: inherit;
  font-size: .82rem;
  font-weight: 760;
  line-height: 1.28;
  outline: none;
}

.dashboard-v2-reason-floating textarea:focus {
  border-color: color-mix(in srgb, #facc15 72%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, #facc15 14%, transparent);
}

.dashboard-v2-reason-floating__hint,
.dashboard-v2-reason-floating .my-children-vote-reason-floating__hint {
  margin: 0;
  color: color-mix(in srgb, #facc15 64%, rgba(226, 232, 240, .82) 36%);
  font-size: .68rem;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: .01em;
}

html:not([data-theme="dark"]) .dashboard-v2-reason-floating {
  background:
    radial-gradient(circle at 10% 0%, color-mix(in srgb, #facc15 22%, transparent), transparent 58%),
    color-mix(in srgb, #ffffff 88%, #facc15 12%);
  box-shadow: 0 18px 44px rgba(15, 23, 42, .18), inset 0 0 0 1px color-mix(in srgb, #facc15 18%, transparent);
}

html:not([data-theme="dark"]) .dashboard-v2-reason-floating textarea {
  background: color-mix(in srgb, #ffffff 78%, #facc15 8%);
  color: #111827;
}

html:not([data-theme="dark"]) .dashboard-v2-reason-floating__hint,
html:not([data-theme="dark"]) .dashboard-v2-reason-floating .my-children-vote-reason-floating__hint,
html:not([data-theme="dark"]) .dashboard-v2-reason-floating__field > span,
html:not([data-theme="dark"]) .dashboard-v2-reason-floating .my-children-vote-reason-floating__field > span {
  color: color-mix(in srgb, #854d0e 78%, #64748b 22%);
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-vote-btn.is-pending-reason {
  border-color: color-mix(in srgb, #facc15 70%, transparent) !important;
  color: #facc15 !important;
  background: color-mix(in srgb, #facc15 14%, var(--dashboard-v2-surface-strong)) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, #facc15 13%, transparent) !important;
}


/* V48.1.6 — Dashboard V2 : carrousel apaisé, titres nus retirés et rails cours réactivés. */
body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-widget--priority,
body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-widget--course-carousel {
  gap: 0 !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-widget--priority .dashboard-v2-widget__header,
body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-widget--course-carousel .dashboard-v2-widget__header {
  display: none !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-widget--priority .dashboard-v2-priority-list {
  display: grid !important;
  gap: .72rem !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-widget--course-carousel .dashboard-v2-carousel {
  margin-top: 0 !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__dots,
body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .my-courses-next-carousel__dots.dashboard-v2-carousel__dots {
  position: static !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: .18rem !important;
  min-height: .8rem !important;
  margin-top: .58rem !important;
  padding: 0 !important;
  transform: none !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__dot,
body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .my-courses-next-carousel__dot.dashboard-v2-carousel__dot {
  position: relative !important;
  flex: 0 0 1.05rem !important;
  width: 1.05rem !important;
  height: .58rem !important;
  min-width: 1.05rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  transition: none !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__dot::before,
body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .my-courses-next-carousel__dot.dashboard-v2-carousel__dot::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: .42rem !important;
  height: .42rem !important;
  border-radius: 999px !important;
  background: color-mix(in srgb, var(--dashboard-v2-muted) 42%, transparent) !important;
  transform: translate(-50%, -50%) !important;
  transition: width .18s ease, background .18s ease, opacity .18s ease !important;
  opacity: .82 !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__dot.is-active::before,
body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .my-courses-next-carousel__dot.dashboard-v2-carousel__dot.is-active::before {
  width: 1.05rem !important;
  background: var(--dashboard-v2-role-color, var(--dashboard-v2-blue)) !important;
  opacity: 1 !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-course-slide.ui-accent-card {
  --ui-accent-card-color: var(--my-courses-next-color, var(--dashboard-v2-role-color, #38bdf8));
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-course-slide.ui-accent-card .ui-accent-card__rail {
  z-index: 3 !important;
}

@media (hover: hover) and (pointer: fine) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-course-slide.ui-accent-card:hover .ui-accent-card__rail::before,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-course-slide.ui-accent-card:focus-within .ui-accent-card__rail::before,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-course-slide.ui-accent-card.is-selected .ui-accent-card__rail::before {
    transform: scaleY(1) !important;
  }
}

@media (hover: none), (pointer: coarse) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-course-slide.ui-accent-card .ui-accent-card__rail::before {
    transform: scaleY(1) !important;
  }
}

/* V48.1.7 — Dashboard V2 : notifications, communication nue, accès récents responsive et carrousels plus calmes. */
body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-label-mobile {
  display: none;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-widget--notifications,
body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-widget--communication {
  grid-column: span 5;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-widget--course-carousel {
  grid-column: span 7;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-feed-list {
  display: grid;
  gap: .72rem;
  min-width: 0;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-feed-item {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  padding: .82rem .88rem .82rem 1rem;
  border-radius: 1.25rem;
  border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 24%, var(--dashboard-v2-border-soft) 76%);
  background:
    radial-gradient(circle at 0% 50%, color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 14%, transparent), transparent 44%),
    color-mix(in srgb, var(--dashboard-v2-surface-strong) 76%, transparent);
  color: var(--dashboard-v2-text);
  box-shadow: 0 14px 34px rgba(2, 6, 23, .13);
  overflow: hidden;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-feed-item::before {
  content: "";
  position: absolute;
  left: .58rem;
  top: 39%;
  width: 3px;
  height: 22%;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 48%, transparent), transparent);
  transition: top .26s cubic-bezier(.2,.86,.24,1), height .26s cubic-bezier(.2,.86,.24,1), box-shadow .18s ease;
}

@media (hover: hover) and (pointer: fine) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-feed-item:hover::before,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-feed-item:focus-within::before {
    top: .8rem;
    height: calc(100% - 1.6rem);
    box-shadow: 0 0 15px color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 32%, transparent);
  }
}

@media (hover: none), (pointer: coarse) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-feed-item::before {
    top: .8rem;
    height: calc(100% - 1.6rem);
  }
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-feed-item__main {
  appearance: none;
  -webkit-appearance: none;
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .72rem;
  align-items: center;
  padding: 0 0 0 .28rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 button.dashboard-v2-feed-item__main {
  cursor: pointer;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-feed-item__icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: .95rem;
  color: var(--dashboard-v2-role-color, #38bdf8);
  background: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 28%, transparent);
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-feed-item__body {
  min-width: 0;
  display: grid;
  gap: .18rem;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-feed-item__body strong {
  min-width: 0;
  color: var(--dashboard-v2-text);
  font-size: .92rem;
  font-weight: 900;
  line-height: 1.18;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-feed-item__body span {
  min-width: 0;
  color: var(--dashboard-v2-muted);
  font-size: .8rem;
  font-weight: 760;
  line-height: 1.28;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-feed-item__read {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .32rem;
  min-height: 2rem;
  padding: .42rem .62rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 34%, transparent);
  color: var(--dashboard-v2-role-color, #38bdf8);
  background: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 10%, transparent);
  font-size: .75rem;
  font-weight: 880;
  cursor: pointer;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-feed-item__read:disabled {
  opacity: .55;
  cursor: progress;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-feed-item--warning .dashboard-v2-feed-item__icon,
body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-feed-item--warning .dashboard-v2-feed-item__read {
  color: var(--dashboard-v2-warning);
  border-color: color-mix(in srgb, var(--dashboard-v2-warning) 36%, transparent);
  background: color-mix(in srgb, var(--dashboard-v2-warning) 12%, transparent);
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-feed-item--urgent .dashboard-v2-feed-item__icon,
body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-feed-item--danger .dashboard-v2-feed-item__icon {
  color: var(--dashboard-v2-danger);
  border-color: color-mix(in srgb, var(--dashboard-v2-danger) 38%, transparent);
  background: color-mix(in srgb, var(--dashboard-v2-danger) 12%, transparent);
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-feed-item--success .dashboard-v2-feed-item__icon {
  color: var(--dashboard-v2-green);
  border-color: color-mix(in srgb, var(--dashboard-v2-green) 34%, transparent);
  background: color-mix(in srgb, var(--dashboard-v2-green) 12%, transparent);
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-card--mobile-quick {
  display: none;
}

@media (min-width: 1024px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-card--quick:not(.dashboard-v2-card--mobile-quick),
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-card--mobile-quick {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-widget--notifications,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-widget--communication,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-widget--course-carousel {
    grid-column: 1 / -1 !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-card--mobile-quick {
    display: block !important;
    grid-column: 1 / -1 !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-hero-button--legacy {
    display: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-label-pc {
    display: none;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-label-mobile {
    display: inline;
  }
}

@media (hover: hover) and (pointer: fine) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__nav {
    display: inline-grid !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-50%) scale(.94) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel:hover .dashboard-v2-carousel__nav:not([hidden]):not(:disabled):not(.is-unavailable),
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__nav:not([hidden]):not(:disabled):not(.is-unavailable):focus-visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(-50%) scale(1) !important;
  }
}

@media (hover: none), (pointer: coarse) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__nav {
    display: none !important;
  }
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__dot,
body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__dot.is-active {
  width: .54rem !important;
  height: .54rem !important;
  flex: 0 0 .54rem !important;
  transform: none !important;
  transition: background .16s ease, box-shadow .16s ease !important;
}

body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-carousel__dot.is-active {
  background: var(--dashboard-v2-role-color, var(--dashboard-v2-blue)) !important;
  box-shadow: 0 0 0 .18rem color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 18%, transparent) !important;
}

@media (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-feed-item {
    grid-template-columns: minmax(0, 1fr);
    gap: .55rem;
    padding: .75rem .78rem .78rem .92rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2 .dashboard-v2-feed-item__read {
    width: max-content;
    justify-self: start;
    margin-left: 2.95rem;
  }
}

/* =========================================================
 * V48.1.8 - Dashboard mobile façon écran d'accueil natif
 * =======================================================*/
@media (max-width: 1023px) {
  body.is-dashboard-shell-visible:has(#dashboard-view > .dashboard-v2--native-mobile) {
    overflow: hidden;
    overscroll-behavior: none;
    background:
      radial-gradient(circle at 15% 4%, color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 28%, transparent), transparent 30%),
      linear-gradient(180deg, #020617 0%, #070b1c 100%);
  }

  body.is-dashboard-shell-visible:has(#dashboard-view > .dashboard-v2--native-mobile) .dashboard-sidebar {
    display: none !important;
  }

  body.is-dashboard-shell-visible:has(#dashboard-view > .dashboard-v2--native-mobile) .dashboard-app-main,
  body.is-dashboard-shell-visible:has(#dashboard-view > .dashboard-v2--native-mobile) #dashboard-view {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile {
    --dashboard-mobile-navbar-height: 4.75rem;
    --dashboard-mobile-hero-height: 4.9rem;
    --dashboard-mobile-dots-height: 1.9rem;
    --dashboard-mobile-page-padding-x: clamp(0.9rem, 4vw, 1.25rem);
    --dashboard-mobile-page-gap: clamp(0.58rem, 2vw, 0.78rem);
    position: relative;
    width: 100vw;
    height: 100dvh;
    min-height: 100dvh;
    padding: calc(env(safe-area-inset-top, 0px) + var(--dashboard-mobile-navbar-height)) 0 calc(env(safe-area-inset-bottom, 0px) + var(--dashboard-mobile-dots-height));
    overflow: hidden;
    background:
      radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 34%, transparent), transparent 36%),
      radial-gradient(circle at 86% 9%, rgba(96, 165, 250, 0.18), transparent 34%),
      linear-gradient(180deg, #020617 0%, #060a19 52%, #020617 100%);
    color: #f8fafc;
  }

  html[data-theme="light"] body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile,
  body[data-theme="light"].is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile {
    background:
      radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 22%, transparent), transparent 36%),
      radial-gradient(circle at 86% 9%, rgba(59, 130, 246, 0.12), transparent 34%),
      linear-gradient(180deg, #f8fbff 0%, #eef7ff 52%, #f8fafc 100%);
    color: #0f172a;
  }

  .dashboard-mobile-native-hero {
    height: var(--dashboard-mobile-hero-height);
    display: flex;
    align-items: center;
    gap: 0.78rem;
    padding: 0 var(--dashboard-mobile-page-padding-x);
  }

  .dashboard-mobile-native-hero__avatar {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 3.38rem;
    height: 3.38rem;
    border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 42%, rgba(255,255,255,.35));
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 35px rgba(0,0,0,.22);
    overflow: hidden;
  }

  .dashboard-mobile-native-hero__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .dashboard-mobile-native-hero__avatar span {
    font-weight: 950;
    color: var(--dashboard-v2-role-color, #38bdf8);
  }

  .dashboard-mobile-native-hero p,
  .dashboard-mobile-native-hero h1 {
    margin: 0;
  }

  .dashboard-mobile-native-hero p {
    color: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 78%, white 10%);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .dashboard-mobile-native-hero h1 {
    max-width: 15rem;
    font-size: clamp(1.35rem, 7vw, 2.15rem);
    line-height: 0.95;
    letter-spacing: -0.075em;
  }

  .dashboard-mobile-pager {
    display: flex;
    width: 100vw;
    height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - var(--dashboard-mobile-navbar-height) - var(--dashboard-mobile-hero-height) - var(--dashboard-mobile-dots-height));
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .dashboard-mobile-pager::-webkit-scrollbar {
    display: none;
  }

  .dashboard-mobile-page {
    flex: 0 0 100vw;
    width: 100vw;
    height: 100%;
    padding: 0 var(--dashboard-mobile-page-padding-x);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .dashboard-mobile-page__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(6, minmax(0, 1fr));
    gap: var(--dashboard-mobile-page-gap);
    width: 100%;
    height: 100%;
  }

  .dashboard-mobile-page__tile {
    min-width: 0;
    min-height: 0;
  }

  .dashboard-mobile-app-icon {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.34rem;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
  }

  .dashboard-mobile-app-icon__glyph {
    display: grid;
    place-items: center;
    width: clamp(3rem, 15vw, 4rem);
    height: clamp(3rem, 15vw, 4rem);
    border-radius: 1.18rem;
    color: #ffffff;
    background:
      radial-gradient(circle at 28% 20%, rgba(255,255,255,.30), transparent 34%),
      linear-gradient(145deg, var(--dashboard-mobile-app-color, #2563eb), color-mix(in srgb, var(--dashboard-mobile-app-color, #2563eb) 58%, #020617));
    box-shadow: 0 16px 28px color-mix(in srgb, var(--dashboard-mobile-app-color, #2563eb) 22%, rgba(0,0,0,.34));
  }

  .dashboard-mobile-app-icon__glyph i {
    font-size: clamp(1.2rem, 5vw, 1.58rem);
  }

  .dashboard-mobile-app-icon__label {
    display: -webkit-box;
    max-width: 100%;
    min-height: 2.15em;
    overflow: hidden;
    color: color-mix(in srgb, currentColor 92%, transparent);
    font-size: clamp(0.62rem, 2.75vw, 0.76rem);
    font-weight: 850;
    line-height: 1.08;
    text-wrap: balance;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .dashboard-mobile-app-icon--blue { --dashboard-mobile-app-color: #2563eb; }
  .dashboard-mobile-app-icon--green { --dashboard-mobile-app-color: #16a34a; }
  .dashboard-mobile-app-icon--red { --dashboard-mobile-app-color: #ef4444; }
  .dashboard-mobile-app-icon--neutral { --dashboard-mobile-app-color: #64748b; }

  .dashboard-mobile-widget {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 32%, rgba(255,255,255,.18));
    border-radius: clamp(1.15rem, 5vw, 1.65rem);
    background:
      radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 22%, transparent), transparent 52%),
      rgba(8, 13, 29, 0.66);
    box-shadow: 0 18px 42px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.10);
    backdrop-filter: blur(18px) saturate(1.28);
  }

  html[data-theme="light"] .dashboard-mobile-widget,
  body[data-theme="light"] .dashboard-mobile-widget {
    background:
      radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 18%, transparent), transparent 52%),
      rgba(255,255,255,.78);
    box-shadow: 0 18px 42px rgba(15,23,42,.10), inset 0 1px 0 rgba(255,255,255,.70);
  }

  .dashboard-mobile-widget__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.72rem 0.78rem 0.2rem;
    font-size: 0.78rem;
    font-weight: 900;
  }

  .dashboard-mobile-widget__header span {
    display: grid;
    place-items: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 0.8rem;
    color: var(--dashboard-v2-role-color, #38bdf8);
    background: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 14%, transparent);
  }

  .dashboard-mobile-widget__body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0.55rem;
    overflow: hidden;
  }

  .dashboard-mobile-widget .dashboard-mobile-feed {
    display: grid;
    gap: 0.42rem;
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  .dashboard-mobile-widget .dashboard-v2-feed-item {
    min-height: 0;
    padding: 0.48rem;
    border-radius: 0.9rem;
  }

  .dashboard-mobile-widget .dashboard-v2-feed-item__body strong {
    font-size: 0.72rem;
  }

  .dashboard-mobile-widget .dashboard-v2-feed-item__body span,
  .dashboard-mobile-widget .dashboard-v2-feed-item__read span {
    font-size: 0.64rem;
  }

  .dashboard-mobile-empty {
    height: 100%;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.25rem;
    text-align: center;
    color: var(--dashboard-v2-muted);
    font-size: 0.68rem;
  }

  .dashboard-mobile-empty i {
    color: var(--dashboard-v2-role-color, #38bdf8);
    font-size: 1.35rem;
  }

  .dashboard-mobile-empty strong {
    color: var(--dashboard-v2-text);
    font-size: 0.82rem;
  }

  .dashboard-mobile-widget .dashboard-v2-carousel,
  .dashboard-mobile-widget .my-courses-next-carousel {
    height: 100%;
    margin: 0;
  }

  .dashboard-mobile-widget .dashboard-v2-carousel__viewport {
    height: calc(100% - 1.25rem);
  }

  .dashboard-mobile-widget .dashboard-v2-carousel__track {
    height: 100%;
  }

  .dashboard-mobile-widget .dashboard-v2-carousel__track > * {
    min-width: 100% !important;
    height: 100%;
  }

  .dashboard-mobile-widget .my-courses-next-card {
    border-radius: 1.1rem;
    padding: 0.86rem 0.82rem 0.78rem !important;
  }

  .dashboard-mobile-widget .my-courses-next-carousel__head {
    gap: 0.5rem;
  }

  .dashboard-mobile-widget .my-courses-next-carousel__head em {
    font-size: clamp(0.92rem, 4.6vw, 1.22rem);
  }

  .dashboard-mobile-widget .my-courses-next-carousel__meta {
    gap: 0.22rem;
    font-size: 0.72rem;
  }

  .dashboard-mobile-widget .my-courses-next-carousel__vote {
    margin-top: 0.48rem;
  }

  .dashboard-mobile-widget .my-courses-next-carousel__vote-actions {
    gap: 0.35rem;
  }

  .dashboard-mobile-course-widget {
    height: 100%;
    min-height: 0;
  }

  .dashboard-mobile-course-mini {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 0.4rem;
    padding: 0.56rem;
    border: 0;
    border-radius: 1rem;
    color: var(--dashboard-v2-text);
    background: color-mix(in srgb, var(--dashboard-mobile-course-color, var(--dashboard-v2-role-color, #38bdf8)) 10%, transparent);
    text-align: left;
    -webkit-touch-callout: none;
    user-select: none;
  }

  .dashboard-mobile-course-mini__icon {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.85rem;
    color: var(--dashboard-mobile-course-color, var(--dashboard-v2-role-color, #38bdf8));
    background: color-mix(in srgb, var(--dashboard-mobile-course-color, var(--dashboard-v2-role-color, #38bdf8)) 16%, rgba(255,255,255,.10));
    border: 1px solid color-mix(in srgb, var(--dashboard-mobile-course-color, var(--dashboard-v2-role-color, #38bdf8)) 28%, transparent);
  }

  .dashboard-mobile-course-mini__main {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 0.18rem;
  }

  .dashboard-mobile-course-mini__main strong,
  .dashboard-mobile-course-mini__main span,
  .dashboard-mobile-course-mini__main em {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dashboard-mobile-course-mini__main strong {
    color: var(--dashboard-v2-text);
    font-size: 0.86rem;
    font-weight: 920;
    line-height: 1.05;
  }

  .dashboard-mobile-course-mini__main span,
  .dashboard-mobile-course-mini__main em {
    color: var(--dashboard-v2-muted);
    font-size: 0.64rem;
    font-style: normal;
    font-weight: 760;
  }

  .dashboard-mobile-course-mini__status {
    justify-self: start;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0.24rem 0.44rem;
    border-radius: 999px;
    color: var(--dashboard-v2-muted);
    background: rgba(148, 163, 184, 0.14);
    font-size: 0.62rem;
    font-weight: 900;
  }

  .dashboard-mobile-course-mini__status.is-present {
    color: #10b981;
    background: rgba(16, 185, 129, 0.14);
  }

  .dashboard-mobile-course-mini__status.is-absent {
    color: #fb7185;
    background: rgba(251, 113, 133, 0.14);
  }

  .dashboard-mobile-course-mini__status.is-late {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.16);
  }

  .dashboard-mobile-course-widget--medium {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 6.7rem;
    gap: 0.44rem;
    height: 100%;
    min-height: 0;
  }

  .dashboard-mobile-course-widget--medium .dashboard-mobile-course-mini {
    padding: 0.48rem;
  }

  .dashboard-mobile-course-widget__votes {
    min-width: 0;
    min-height: 0;
    display: grid;
    align-content: center;
    gap: 0.32rem;
  }

  .dashboard-mobile-course-widget__votes .dashboard-v2-vote-btn {
    width: 100%;
    min-height: 2rem;
    padding: 0.34rem 0.42rem;
    justify-content: center;
    font-size: 0.66rem;
  }

  .dashboard-mobile-course-widget__disabled {
    display: grid;
    place-items: center;
    height: 100%;
    padding: 0.5rem;
    border-radius: 0.9rem;
    color: var(--dashboard-v2-muted);
    background: rgba(148, 163, 184, 0.12);
    font-size: 0.68rem;
    font-weight: 850;
    text-align: center;
  }

  .dashboard-mobile-widget .dashboard-v2-vote-btn {
    min-height: 2rem;
    padding: 0.4rem 0.55rem;
    font-size: 0.68rem;
  }

  .dashboard-mobile-widget .dashboard-v2-carousel__nav {
    display: none !important;
  }

  .dashboard-mobile-widget .dashboard-v2-carousel__dots {
    height: 1rem;
    margin: 0.22rem 0 0;
  }

  .dashboard-mobile-widget--medium .dashboard-v2-event-slide {
    height: 100%;
    padding: 0.82rem;
    border-radius: 1.1rem;
  }

  .dashboard-course-quick-menu {
    position: fixed;
    z-index: 80;
    display: grid;
    gap: 0.65rem;
    padding: 0.72rem;
    border-radius: 1rem;
    border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 32%, rgba(255,255,255,.18));
    background: rgba(8, 13, 29, 0.92);
    box-shadow: 0 18px 48px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.10);
    backdrop-filter: blur(18px) saturate(1.24);
  }

  html[data-theme="light"] .dashboard-course-quick-menu,
  body[data-theme="light"] .dashboard-course-quick-menu {
    background: rgba(255,255,255,.94);
    box-shadow: 0 18px 48px rgba(15,23,42,.16), inset 0 1px 0 rgba(255,255,255,.72);
  }

  .dashboard-course-quick-menu__title {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
  }

  .dashboard-course-quick-menu__title span {
    color: var(--dashboard-v2-muted);
    font-size: 0.66rem;
    font-weight: 850;
    text-transform: uppercase;
  }

  .dashboard-course-quick-menu__title strong {
    min-width: 0;
    overflow: hidden;
    color: var(--dashboard-v2-text);
    font-size: 0.86rem;
    font-weight: 920;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dashboard-course-quick-menu__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.36rem;
  }

  .dashboard-course-quick-menu__actions .dashboard-v2-vote-btn {
    min-height: 2.2rem;
    justify-content: center;
    padding: 0.38rem 0.42rem;
    font-size: 0.66rem;
  }

  .dashboard-mobile-page-dots {
    position: fixed;
    left: 0;
    right: 0;
    bottom: env(safe-area-inset-bottom, 0px);
    z-index: 28;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    height: var(--dashboard-mobile-dots-height);
    pointer-events: auto;
  }

  .dashboard-mobile-page-dot {
    width: 0.45rem;
    height: 0.45rem;
    border: 0;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.46);
    transition: width 180ms ease, background 180ms ease;
  }

  .dashboard-mobile-page-dot.is-active {
    width: 1.25rem;
    background: var(--dashboard-v2-role-color, #38bdf8);
  }

  .dashboard-mobile-page--footer {
    display: grid;
    place-items: center;
  }

  .dashboard-mobile-footer {
    width: min(100%, 24rem);
    padding: 1.1rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 1.5rem;
    background: rgba(8, 13, 29, 0.62);
    box-shadow: 0 20px 50px rgba(0,0,0,.22);
    text-align: center;
    backdrop-filter: blur(18px) saturate(1.22);
  }

  html[data-theme="light"] .dashboard-mobile-footer,
  body[data-theme="light"] .dashboard-mobile-footer {
    background: rgba(255,255,255,.74);
  }

  .dashboard-mobile-footer__logo {
    display: grid;
    place-items: center;
    width: 4rem;
    height: 4rem;
    margin: 0 auto 0.75rem;
    border-radius: 1.35rem;
    color: #fff;
    font-weight: 950;
    letter-spacing: -0.08em;
    background: linear-gradient(145deg, var(--dashboard-v2-role-color, #38bdf8), #0f172a);
    box-shadow: 0 18px 38px color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 26%, rgba(0,0,0,.24));
  }

  .dashboard-mobile-footer h2,
  .dashboard-mobile-footer p {
    margin: 0;
  }

  .dashboard-mobile-footer h2 {
    font-size: 1.08rem;
  }

  .dashboard-mobile-footer p {
    margin-top: 0.28rem;
    color: var(--dashboard-v2-muted);
    font-size: 0.76rem;
  }

  .dashboard-mobile-footer__access-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    margin-top: 0.9rem;
  }

  .dashboard-mobile-footer__access {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.5rem;
    padding: 0.5rem 0.62rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0.92rem;
    color: inherit;
    background: rgba(255,255,255,.06);
    font-size: 0.7rem;
    font-weight: 850;
    text-align: left;
  }

  .dashboard-mobile-footer__access i {
    color: var(--dashboard-v2-role-color, #38bdf8);
  }

  .dashboard-mobile-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem 0.7rem;
    margin-top: 0.85rem;
    font-size: 0.7rem;
    font-weight: 800;
  }

  .dashboard-mobile-footer__links a {
    color: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 86%, white 8%);
    text-decoration: none;
  }

  .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem;
    align-items: center;
    padding: calc(env(safe-area-inset-top, 0px) + 0.55rem) 0.7rem 0.55rem !important;
  }

  .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode .mobile-shell-navbar__left {
    display: none !important;
  }

  .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode .mobile-shell-navbar__center {
    position: relative !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    min-width: 0 !important;
    justify-content: stretch !important;
    grid-column: 1;
  }

  .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode .mobile-shell-navbar__right {
    grid-column: 2;
    justify-content: flex-end;
    gap: 0.38rem;
  }

  .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode .mobile-shell-navbar__btn[data-mobile-shell-menu-trigger="1"] {
    display: none !important;
  }

  .mobile-shell-navbar__dashboard-smartbar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.42rem;
    width: 100%;
    min-height: 2.6rem;
    padding: 0 0.62rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    color: var(--dashboard-v2-text, #f8fafc);
    background: rgba(8, 13, 29, 0.58);
    box-shadow: 0 16px 34px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter: blur(16px) saturate(1.22);
  }

  html[data-theme="light"] .mobile-shell-navbar__dashboard-smartbar,
  body[data-theme="light"] .mobile-shell-navbar__dashboard-smartbar {
    color: #0f172a;
    background: rgba(255,255,255,.72);
    box-shadow: 0 16px 34px rgba(15,23,42,.08), inset 0 1px 0 rgba(255,255,255,.72);
  }

  .mobile-shell-navbar__dashboard-smartbar > i {
    color: var(--dashboard-v2-role-color, #38bdf8);
    font-size: 0.95rem;
  }

  .mobile-shell-navbar__dashboard-smartbar input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: 0;
    color: inherit;
    background: transparent;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 750;
  }

  .mobile-shell-navbar__dashboard-smartbar input::placeholder {
    color: color-mix(in srgb, currentColor 52%, transparent);
  }

  .mobile-shell-navbar__dashboard-smartbar-clear {
    display: grid;
    place-items: center;
    width: 1.65rem;
    height: 1.65rem;
    border: 0;
    border-radius: 999px;
    color: inherit;
    background: rgba(148, 163, 184, 0.16);
  }

  .mobile-shell-navbar__dashboard-suggestions {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    z-index: 1000;
    display: grid;
    gap: 0.32rem;
    padding: 0.42rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 1rem;
    background: rgba(8, 13, 29, 0.92);
    box-shadow: 0 22px 55px rgba(0,0,0,.28);
    backdrop-filter: blur(20px) saturate(1.25);
  }

  html[data-theme="light"] .mobile-shell-navbar__dashboard-suggestions,
  body[data-theme="light"] .mobile-shell-navbar__dashboard-suggestions {
    background: rgba(255,255,255,.95);
    box-shadow: 0 22px 55px rgba(15,23,42,.14);
  }

  .mobile-shell-navbar__dashboard-suggestion {
    display: flex;
    align-items: center;
    gap: 0.52rem;
    width: 100%;
    min-height: 2.75rem;
    padding: 0.45rem;
    border: 0;
    border-radius: 0.78rem;
    color: inherit;
    background: transparent;
    text-align: left;
  }

  .mobile-shell-navbar__dashboard-suggestion:active {
    background: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 14%, transparent);
  }

  .mobile-shell-navbar__dashboard-suggestion-icon {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.72rem;
    color: var(--dashboard-v2-role-color, #38bdf8);
    background: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 14%, transparent);
  }

  .mobile-shell-navbar__dashboard-suggestion-label {
    display: grid;
    gap: 0.05rem;
    min-width: 0;
  }

  .mobile-shell-navbar__dashboard-suggestion-label strong,
  .mobile-shell-navbar__dashboard-suggestion-label em {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-shell-navbar__dashboard-suggestion-label strong {
    font-size: 0.78rem;
    font-weight: 900;
  }

  .mobile-shell-navbar__dashboard-suggestion-label em {
    color: color-mix(in srgb, currentColor 58%, transparent);
    font-size: 0.66rem;
    font-style: normal;
    font-weight: 650;
  }

  .mobile-shell-navbar__dashboard-suggestion.is-empty {
    justify-content: center;
    color: color-mix(in srgb, currentColor 58%, transparent);
    font-size: 0.76rem;
    font-weight: 800;
  }


  /* V48.1.9 — Dashboard mobile natif : grille sous navbar, Smartbar intégrée et pagination basse. */
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile {
    --dashboard-mobile-navbar-height: clamp(6.55rem, 19vw, 7.45rem);
    --dashboard-mobile-hero-height: 0rem;
    --dashboard-mobile-dots-height: 1.45rem;
    padding-top: calc(env(safe-area-inset-top, 0px) + var(--dashboard-mobile-navbar-height)) !important;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + var(--dashboard-mobile-dots-height) + 0.35rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-native-hero {
    display: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-pager {
    height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - var(--dashboard-mobile-navbar-height) - var(--dashboard-mobile-dots-height) - 0.35rem) !important;
    min-height: 0 !important;
    touch-action: pan-x !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 0.48rem !important;
    min-height: calc(env(safe-area-inset-top, 0px) + var(--dashboard-mobile-navbar-height, 7rem)) !important;
    padding: calc(env(safe-area-inset-top, 0px) + 0.62rem) clamp(0.72rem, 3vw, 0.95rem) 0.62rem !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode .mobile-shell-navbar__center.has-custom-center {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    grid-column: 1 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 2.72rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: stretch !important;
    overflow: visible !important;
    pointer-events: auto !important;
    z-index: 22 !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode .mobile-shell-navbar__right {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    grid-column: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0.34rem !important;
    min-height: 2.72rem !important;
    z-index: 23 !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode .mobile-shell-navbar__dashboard-smartbar {
    width: 100% !important;
    min-height: 2.72rem !important;
    max-height: 2.72rem !important;
    padding-inline: 0.72rem !important;
    overflow: visible !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode .mobile-shell-navbar__dashboard-smartbar input {
    font-size: clamp(0.78rem, 3.4vw, 0.92rem) !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode .mobile-shell-navbar__dashboard-suggestions {
    top: calc(100% + 0.42rem) !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 2500 !important;
    max-height: min(54dvh, 24rem) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page-dots {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 0.22rem) !important;
    height: 1.1rem !important;
    align-items: flex-end !important;
    padding-bottom: 0 !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page-dot {
    width: 0.58rem !important;
    height: 0.58rem !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page-dot.is-active {
    width: 1.55rem !important;
  }

}

/* V48.1.10 — Dashboard mobile natif : Smartbar tenue dans la navbar. */
@media (max-width: 1023px) {
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center {
    display: block !important;
    overflow: visible !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__left {
    display: none !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__center.has-custom-center {
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + 0.72rem) !important;
    left: calc(env(safe-area-inset-left, 0px) + clamp(0.72rem, 3.4vw, 1rem)) !important;
    right: calc(env(safe-area-inset-right, 0px) + clamp(9.85rem, 39vw, 11.35rem)) !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 2.72rem !important;
    min-height: 2.72rem !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: stretch !important;
    overflow: visible !important;
    pointer-events: auto !important;
    z-index: 2700 !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__right {
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + 0.72rem) !important;
    right: calc(env(safe-area-inset-right, 0px) + clamp(0.72rem, 3vw, 0.95rem)) !important;
    left: auto !important;
    width: auto !important;
    height: 2.72rem !important;
    min-height: 2.72rem !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: clamp(0.22rem, 1.4vw, 0.38rem) !important;
    overflow: visible !important;
    z-index: 2720 !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    min-height: 2.72rem !important;
    max-height: 2.72rem !important;
    padding-inline: clamp(0.56rem, 2.6vw, 0.72rem) !important;
    overflow: visible !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar > i {
    flex: 0 0 auto !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar input {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
    font-size: clamp(0.72rem, 3.25vw, 0.86rem) !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar-clear {
    flex: 0 0 auto !important;
    width: 1.58rem !important;
    height: 1.58rem !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-suggestions {
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
}


/* V48.1.11 — Dashboard mobile natif : Smartbar et grille façon écran d’accueil. */
@media (max-width: 1023px) {
  body.is-dashboard-shell-visible:has(#dashboard-view > .dashboard-v2--native-mobile),
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile *:not(input):not(textarea):not(select):not([contenteditable="true"]) {
    -webkit-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile input,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile textarea,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile select,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile [contenteditable="true"] {
    -webkit-user-select: text !important;
    user-select: text !important;
    -webkit-touch-callout: default !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile {
    --dashboard-mobile-navbar-height: clamp(5.35rem, 16vw, 6.15rem);
    --dashboard-mobile-dots-height: 1.35rem;
    --dashboard-mobile-page-padding-x: clamp(0.92rem, 3.8vw, 1.16rem);
    --dashboard-mobile-page-col-gap: clamp(0.54rem, 2vw, 0.76rem);
    --dashboard-mobile-page-row-gap: clamp(1.12rem, 4.2vw, 1.42rem);
    --dashboard-mobile-cell-size: min(
      calc((100vw - (var(--dashboard-mobile-page-padding-x) * 2) - (var(--dashboard-mobile-page-col-gap) * 3)) / 4),
      calc((100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - var(--dashboard-mobile-navbar-height) - var(--dashboard-mobile-dots-height) - 0.7rem - (var(--dashboard-mobile-page-row-gap) * 5)) / 6)
    );
    padding-top: calc(env(safe-area-inset-top, 0px) + var(--dashboard-mobile-navbar-height)) !important;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + var(--dashboard-mobile-dots-height) + 0.25rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-pager {
    height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - var(--dashboard-mobile-navbar-height) - var(--dashboard-mobile-dots-height) - 0.25rem) !important;
    touch-action: pan-x !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page {
    display: grid !important;
    align-content: start !important;
    justify-items: center !important;
    padding-inline: var(--dashboard-mobile-page-padding-x) !important;
    overflow: visible !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page__grid {
    grid-template-columns: repeat(4, var(--dashboard-mobile-cell-size)) !important;
    grid-template-rows: repeat(6, var(--dashboard-mobile-cell-size)) !important;
    column-gap: var(--dashboard-mobile-page-col-gap) !important;
    row-gap: var(--dashboard-mobile-page-row-gap) !important;
    width: calc((var(--dashboard-mobile-cell-size) * 4) + (var(--dashboard-mobile-page-col-gap) * 3)) !important;
    height: calc((var(--dashboard-mobile-cell-size) * 6) + (var(--dashboard-mobile-page-row-gap) * 5)) !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    overflow: visible !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page__tile {
    position: relative !important;
    overflow: visible !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-widget-stack {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-widget-stack > .dashboard-mobile-widget {
    width: 100%;
    height: 100%;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-widget__header {
    display: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-widget__corner-icon {
    position: absolute;
    top: clamp(0.55rem, 2.6vw, 0.78rem);
    left: clamp(0.55rem, 2.6vw, 0.78rem);
    z-index: 2;
    display: grid;
    place-items: center;
    width: clamp(2rem, 9.5vw, 2.55rem);
    height: clamp(2rem, 9.5vw, 2.55rem);
    border-radius: clamp(0.72rem, 3vw, 0.98rem);
    color: var(--dashboard-v2-role-color, #38bdf8);
    background: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 15%, rgba(255,255,255,.08));
    border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 30%, rgba(255,255,255,.14));
    pointer-events: none;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-widget__body {
    height: 100%;
    padding: clamp(0.5rem, 2.8vw, 0.72rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-widget__label {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.24rem);
    z-index: 3;
    display: block;
    overflow: hidden;
    color: color-mix(in srgb, currentColor 94%, transparent);
    font-size: clamp(0.68rem, 3vw, 0.82rem);
    font-weight: 900;
    line-height: 1.08;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(0,0,0,.34);
    pointer-events: none;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-widget .dashboard-v2-carousel,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-widget .my-courses-next-carousel {
    touch-action: pan-x !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-suggestions[hidden] {
    display: none !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-suggestions {
    display: grid !important;
    top: calc(100% + 0.42rem) !important;
    border-radius: 1.2rem !important;
    padding: 0.42rem !important;
    box-shadow: 0 22px 55px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.08) !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-suggestion {
    min-height: 3.05rem !important;
    border-radius: 0.98rem !important;
    padding: 0.48rem 0.56rem !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-suggestion:active,
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-suggestion:focus-visible {
    background: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 15%, rgba(255,255,255,.08)) !important;
    outline: none !important;
  }
}

/* V48.1.12 — Dashboard mobile natif : libellés iPhone + Smartbar commune EDQ. */
@media (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-app-icon__label,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-widget__label {
    display: block !important;
    min-height: 1.08em !important;
    max-height: 1.08em !important;
    max-width: min(100%, calc(var(--dashboard-mobile-cell-size, 4rem) * 1.18)) !important;
    margin-inline: auto !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    text-wrap: nowrap !important;
    line-clamp: 1 !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: initial !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page__tile--2x2 .dashboard-mobile-widget__label,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page__tile--4x2 .dashboard-mobile-widget__label,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page__tile--4x4 .dashboard-mobile-widget__label {
    max-width: min(100%, calc(var(--dashboard-mobile-cell-size, 4rem) * 2 - .25rem)) !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar {
    --ui-smartbar-accent: var(--dashboard-v2-role-color, #38bdf8);
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: .52rem !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 2.62rem !important;
    min-height: 2.62rem !important;
    max-height: 2.62rem !important;
    margin: 0 !important;
    padding: 0 .48rem 0 .72rem !important;
    border: 1px solid color-mix(in srgb, var(--color-border-subtle, #94a3b8) 58%, transparent) !important;
    border-radius: 999px !important;
    background:
      radial-gradient(circle at 0 0, color-mix(in srgb, #fff 18%, transparent), transparent 52%),
      color-mix(in srgb, var(--color-surface, #020617) 56%, transparent) !important;
    box-shadow:
      0 14px 36px color-mix(in srgb, #000 18%, transparent),
      inset 0 1px 0 color-mix(in srgb, #fff 16%, transparent) !important;
    color: var(--theme-text, var(--color-text, #f8fafc)) !important;
    backdrop-filter: blur(18px) saturate(1.12) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.12) !important;
    overflow: visible !important;
  }

  html[data-theme="light"] body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar,
  body[data-theme="light"].is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar {
    background:
      radial-gradient(circle at 0 0, color-mix(in srgb, #fff 35%, transparent), transparent 52%),
      color-mix(in srgb, var(--color-surface, #ffffff) 78%, transparent) !important;
    box-shadow:
      0 14px 36px color-mix(in srgb, #000 9%, transparent),
      inset 0 1px 0 color-mix(in srgb, #fff 28%, transparent) !important;
    color: var(--theme-text, var(--color-text, #0f172a)) !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar:focus-within {
    border-color: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 62%, transparent) !important;
    box-shadow:
      0 16px 40px color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 16%, transparent),
      0 0 0 3px color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 14%, transparent),
      inset 0 1px 0 color-mix(in srgb, #fff 20%, transparent) !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar > i {
    color: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 82%, white 8%) !important;
    opacity: .96 !important;
    font-size: 1.02rem !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar .dashboard-native-smartbar__input {
    min-width: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font-size: clamp(.78rem, 3.35vw, .92rem) !important;
    font-weight: 820 !important;
    line-height: 1.2 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar .dashboard-native-smartbar__input::placeholder {
    color: color-mix(in srgb, currentColor 55%, transparent) !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar .dashboard-native-smartbar__clear {
    width: 1.82rem !important;
    height: 1.82rem !important;
    border: 1px solid color-mix(in srgb, var(--color-border-subtle, #94a3b8) 45%, transparent) !important;
    border-radius: 999px !important;
    background: color-mix(in srgb, var(--color-surface-soft, #111827) 62%, transparent) !important;
    color: color-mix(in srgb, currentColor 84%, transparent) !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar .dashboard-native-smartbar__clear[hidden] {
    display: none !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar .dashboard-native-smartbar__suggestions[hidden] {
    display: none !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar .dashboard-native-smartbar__suggestions {
    position: absolute !important;
    top: calc(100% + .52rem) !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 4200 !important;
    display: grid !important;
    gap: .42rem !important;
    width: 100% !important;
    max-height: min(44dvh, 21rem) !important;
    padding: .48rem !important;
    overflow: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
    border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 22%, rgba(148,163,184,.20)) !important;
    border-radius: 1.1rem !important;
    background: color-mix(in srgb, #020617 88%, transparent) !important;
    box-shadow: 0 22px 55px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.08) !important;
    backdrop-filter: blur(22px) saturate(1.25) !important;
    -webkit-backdrop-filter: blur(22px) saturate(1.25) !important;
  }

  html[data-theme="light"] body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar .dashboard-native-smartbar__suggestions,
  body[data-theme="light"].is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar .dashboard-native-smartbar__suggestions {
    background: color-mix(in srgb, #ffffff 94%, transparent) !important;
    box-shadow: 0 22px 55px rgba(15,23,42,.14), inset 0 1px 0 rgba(255,255,255,.70) !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar .mobile-shell-navbar__dashboard-suggestion {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    gap: .62rem !important;
    min-height: 3.05rem !important;
    padding: .52rem .58rem !important;
    border-radius: .98rem !important;
    background: transparent !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar .mobile-shell-navbar__dashboard-suggestion-icon {
    width: 2.25rem !important;
    height: 2.25rem !important;
    border-radius: .86rem !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar .mobile-shell-navbar__dashboard-suggestion-label strong,
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar .mobile-shell-navbar__dashboard-suggestion-label em {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}

/* V48.1.13 — Dashboard mobile : Smartbar commune EDQ et suggestions portalisées. */
@media (max-width: 1023px) {
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar.courses-searchbar--navbar {
    --ui-smartbar-accent: var(--dashboard-v2-role-color, var(--theme-primary, #38bdf8));
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: .55rem !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 2.45rem !important;
    min-height: 2.45rem !important;
    max-height: 2.45rem !important;
    margin: 0 !important;
    padding: .24rem .34rem .24rem .78rem !important;
    border: 1px solid color-mix(in srgb, var(--color-border-subtle, #94a3b8) 58%, transparent) !important;
    border-radius: 1rem !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--theme-text, var(--color-text, #f8fafc)) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: visible !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar.courses-searchbar--navbar:focus-within {
    border-color: color-mix(in srgb, var(--dashboard-v2-role-color, var(--theme-primary, #38bdf8)) 58%, transparent) !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .dashboard-native-smartbar .courses-searchbar__label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: .45rem !important;
    min-width: 0 !important;
    margin: 0 !important;
    color: color-mix(in srgb, var(--dashboard-v2-role-color, var(--theme-primary, #38bdf8)) 82%, white 8%) !important;
    font-size: .76rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .dashboard-native-smartbar .courses-searchbar__label span {
    display: none !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .dashboard-native-smartbar .courses-searchbar__label i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    font-size: 1rem !important;
    line-height: 1 !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .dashboard-native-smartbar .courses-searchbar__input {
    display: block !important;
    align-self: center !important;
    min-width: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font: inherit !important;
    font-size: clamp(.78rem, 3.35vw, .9rem) !important;
    font-weight: 750 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .dashboard-native-smartbar .courses-searchbar__input::placeholder {
    color: color-mix(in srgb, var(--theme-text-muted, var(--color-text-muted, #94a3b8)) 72%, transparent) !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .dashboard-native-smartbar .courses-searchbar__clear {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: 1.82rem !important;
    height: 1.82rem !important;
    border: 1px solid color-mix(in srgb, var(--color-border-subtle, #94a3b8) 55%, transparent) !important;
    border-radius: 999px !important;
    background: color-mix(in srgb, var(--color-surface-soft, #111827) 82%, transparent) !important;
    color: var(--theme-text-muted, var(--color-text-muted, #94a3b8)) !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .dashboard-native-smartbar .courses-searchbar__clear[hidden] {
    display: none !important;
  }

  .courses-smart-suggestions.is-portal.dashboard-native-smartbar__suggestions {
    z-index: 4300 !important;
    display: grid;
    gap: .35rem;
    padding: .55rem;
    border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 28%, transparent);
    border-radius: 1.25rem;
    background:
      radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 16%, transparent), transparent 48%),
      radial-gradient(circle at 100% 0%, color-mix(in srgb, #f472b6 18%, transparent), transparent 48%),
      color-mix(in srgb, var(--color-bg, #020617) 88%, transparent);
    color: var(--color-text, #f8fafc);
    box-shadow: 0 24px 70px color-mix(in srgb, #000 34%, transparent);
    backdrop-filter: blur(24px) saturate(1.18);
    -webkit-backdrop-filter: blur(24px) saturate(1.18);
    scrollbar-width: none;
  }

  html[data-theme="light"] .courses-smart-suggestions.is-portal.dashboard-native-smartbar__suggestions,
  body[data-theme="light"] .courses-smart-suggestions.is-portal.dashboard-native-smartbar__suggestions {
    background:
      radial-gradient(circle at 12% 0%, color-mix(in srgb, #bae6fd 38%, transparent), transparent 48%),
      radial-gradient(circle at 100% 0%, color-mix(in srgb, #fbcfe8 44%, transparent), transparent 48%),
      rgba(255,255,255,.86);
    color: #0f172a;
    box-shadow: 0 24px 70px rgba(15,23,42,.16);
  }

  .courses-smart-suggestions.is-portal.dashboard-native-smartbar__suggestions::-webkit-scrollbar {
    display: none;
  }

  .courses-smart-suggestions.is-portal.dashboard-native-smartbar__suggestions .dashboard-native-smartbar__suggestion {
    --courses-smart-suggestion-color: var(--dashboard-v2-role-color, #38bdf8);
  }

  .dashboard-native-smartbar-scrim.courses-smart-focus-scrim {
    z-index: 3000 !important;
    touch-action: none;
  }
}

/* V48.1.15 — Dashboard mobile : scrim de Smartbar bloquant l'arrière-plan. */
@media (max-width: 1023px) {
  .dashboard-native-smartbar__outside-blocker {
    position: fixed;
    inset: 0;
    z-index: 4290;
    display: block;
    background: rgba(2, 6, 23, .28);
    backdrop-filter: blur(9px) saturate(1.05);
    -webkit-backdrop-filter: blur(9px) saturate(1.05);
    opacity: 0;
    pointer-events: none;
    touch-action: none;
    transition: opacity .16s ease;
  }

  .dashboard-native-smartbar__outside-blocker.is-active:not([hidden]) {
    opacity: 1;
    pointer-events: auto;
  }

  html[data-theme="light"] .dashboard-native-smartbar__outside-blocker,
  body[data-theme="light"] .dashboard-native-smartbar__outside-blocker {
    background: rgba(248, 250, 252, .34);
  }

  body.dashboard-native-smartbar-is-open #dashboard-view > .dashboard-v2--native-mobile {
    filter: saturate(.92) brightness(.82);
  }

  body.dashboard-native-smartbar-is-open .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center {
    isolation: isolate;
  }

  body.dashboard-native-smartbar-is-open .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar {
    position: relative !important;
    z-index: 4310 !important;
  }

  .courses-smart-suggestions.is-portal.dashboard-native-smartbar__suggestions {
    z-index: 4320 !important;
  }
}

/* V48.1.17 — Dashboard mobile : Smartbar au-dessus du scrim, actions derrière bloquées. */
@media (max-width: 1023px) {
  body.dashboard-native-smartbar-is-open .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__center.has-custom-center {
    position: fixed !important;
    z-index: 4340 !important;
    isolation: isolate !important;
    pointer-events: auto !important;
  }

  body.dashboard-native-smartbar-is-open .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar {
    position: relative !important;
    z-index: 4350 !important;
    filter: none !important;
    opacity: 1 !important;
  }

  body.dashboard-native-smartbar-is-open .courses-smart-suggestions.is-portal.dashboard-native-smartbar__suggestions {
    z-index: 4360 !important;
  }

  body.dashboard-native-smartbar-is-open .dashboard-native-smartbar__outside-blocker {
    z-index: 4290 !important;
  }

  body.dashboard-native-smartbar-is-open .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__right,
  body.dashboard-native-smartbar-is-open .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__left {
    z-index: 2720 !important;
  }
}

/* V48.2.3 - Dashboard mobile : menu widgets et mode edition visuel. */
@media (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page__tile {
    position: relative;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-edit-bar {
    position: absolute;
    left: max(1rem, env(safe-area-inset-left, 0px) + 1rem);
    right: max(1rem, env(safe-area-inset-right, 0px) + 1rem);
    bottom: calc(env(safe-area-inset-bottom, 0px) + 2.65rem);
    z-index: 2660;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-height: 2.9rem;
    padding: .48rem .5rem .48rem .85rem;
    border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 38%, rgba(148,163,184,.24));
    border-radius: 1.05rem;
    background: color-mix(in srgb, #020617 82%, transparent);
    color: #f8fafc;
    box-shadow: 0 18px 46px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.10);
    backdrop-filter: blur(18px) saturate(1.18);
    -webkit-backdrop-filter: blur(18px) saturate(1.18);
  }

  html[data-theme="light"] body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-edit-bar,
  body[data-theme="light"].is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-edit-bar {
    background: color-mix(in srgb, #ffffff 88%, transparent);
    color: #0f172a;
    box-shadow: 0 18px 46px rgba(15,23,42,.13), inset 0 1px 0 rgba(255,255,255,.72);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-edit-bar {
    display: flex;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-edit-bar span {
    min-width: 0;
    overflow: hidden;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-edit-bar button {
    flex: 0 0 auto;
    min-height: 2rem;
    padding: 0 .78rem;
    border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 45%, transparent);
    border-radius: .82rem;
    background: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 22%, transparent);
    color: inherit;
    font-size: .78rem;
    font-weight: 900;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-edit-controls {
    position: absolute;
    inset: -.38rem;
    z-index: 16;
    display: none;
    align-items: flex-start;
    justify-content: space-between;
    pointer-events: none;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-edit-controls {
    display: flex;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__tile::after {
    position: absolute;
    inset: -.18rem;
    z-index: 12;
    border: 1.5px dashed color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 72%, transparent);
    border-radius: 1.1rem;
    content: "";
    pointer-events: none;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-edit-control {
    display: grid;
    place-items: center;
    width: 1.85rem;
    height: 1.85rem;
    border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 38%, rgba(255,255,255,.22));
    border-radius: 999px;
    background: color-mix(in srgb, #020617 78%, transparent);
    color: #f8fafc;
    box-shadow: 0 10px 24px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.10);
    font-size: .82rem;
    pointer-events: auto;
  }

  html[data-theme="light"] body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-edit-control,
  body[data-theme="light"].is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-edit-control {
    background: color-mix(in srgb, #ffffff 90%, transparent);
    color: #0f172a;
    box-shadow: 0 10px 24px rgba(15,23,42,.13), inset 0 1px 0 rgba(255,255,255,.75);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-edit-control--move {
    cursor: grab;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-edit-control--remove {
    color: #fecaca;
    border-color: color-mix(in srgb, #ef4444 52%, transparent);
    background: color-mix(in srgb, #7f1d1d 64%, transparent);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-edit-control--locked {
    opacity: .72;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page-dots {
    opacity: .55;
  }

  .dashboard-home-sheet {
    position: fixed;
    inset: 0;
    z-index: 5200;
    display: grid;
    align-items: end;
    padding: 0 max(.85rem, env(safe-area-inset-right, 0px) + .85rem) calc(env(safe-area-inset-bottom, 0px) + .85rem) max(.85rem, env(safe-area-inset-left, 0px) + .85rem);
  }

  .dashboard-home-sheet__scrim {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(2, 6, 23, .58);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  html[data-theme="light"] .dashboard-home-sheet__scrim,
  body[data-theme="light"] .dashboard-home-sheet__scrim {
    background: rgba(15, 23, 42, .22);
  }

  .dashboard-home-sheet__panel {
    position: relative;
    z-index: 1;
    display: grid;
    gap: .85rem;
    width: 100%;
    max-height: min(74dvh, 34rem);
    padding: .88rem;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 30%, rgba(148,163,184,.22));
    border-radius: 1.25rem;
    background: color-mix(in srgb, #020617 88%, transparent);
    color: #f8fafc;
    box-shadow: 0 26px 72px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.10);
    backdrop-filter: blur(22px) saturate(1.22);
    -webkit-backdrop-filter: blur(22px) saturate(1.22);
  }

  html[data-theme="light"] .dashboard-home-sheet__panel,
  body[data-theme="light"] .dashboard-home-sheet__panel {
    background: color-mix(in srgb, #ffffff 94%, transparent);
    color: #0f172a;
    box-shadow: 0 26px 72px rgba(15,23,42,.18), inset 0 1px 0 rgba(255,255,255,.72);
  }

  .dashboard-home-sheet__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
  }

  .dashboard-home-sheet__header span {
    display: block;
    color: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 78%, currentColor 22%);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  .dashboard-home-sheet__header h2 {
    margin: .08rem 0 0;
    font-size: 1.35rem;
    line-height: 1;
  }

  .dashboard-home-sheet__close {
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
    border-radius: .82rem;
    background: color-mix(in srgb, currentColor 8%, transparent);
    color: inherit;
  }

  .dashboard-home-widget-catalog {
    display: grid;
    gap: .62rem;
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-right: .12rem;
  }

  .dashboard-home-widget-catalog__item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .72rem;
    min-height: 4.25rem;
    padding: .72rem;
    border: 1px solid color-mix(in srgb, currentColor 13%, transparent);
    border-radius: 1rem;
    background: color-mix(in srgb, currentColor 5%, transparent);
  }

  .dashboard-home-widget-catalog__item.is-active {
    border-color: color-mix(in srgb, #22c55e 42%, transparent);
    background: color-mix(in srgb, #22c55e 11%, transparent);
  }

  .dashboard-home-widget-catalog__item.is-unavailable {
    opacity: .58;
  }

  .dashboard-home-widget-catalog__icon {
    display: grid;
    place-items: center;
    width: 2.55rem;
    height: 2.55rem;
    border-radius: .9rem;
    background: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 18%, transparent);
    color: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 86%, white 10%);
    font-size: 1.08rem;
  }

  .dashboard-home-widget-catalog__main {
    display: grid;
    gap: .36rem;
    min-width: 0;
  }

  .dashboard-home-widget-catalog__main strong {
    min-width: 0;
    overflow: hidden;
    font-size: .9rem;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dashboard-home-widget-catalog__sizes {
    display: flex;
    flex-wrap: wrap;
    gap: .28rem;
  }

  .dashboard-home-widget-catalog__sizes span,
  .dashboard-home-widget-catalog__state {
    display: inline-grid;
    place-items: center;
    min-height: 1.34rem;
    padding: 0 .46rem;
    border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, currentColor 6%, transparent);
    font-size: .62rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
  }

  .dashboard-home-widget-catalog__state {
    color: color-mix(in srgb, currentColor 76%, transparent);
  }
}

/* V48.2.4 — Dashboard mobile : bouton menu visible dans la navbar native. */
@media (max-width: 1023px) {
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__center.has-custom-center {
    right: calc(env(safe-area-inset-right, 0px) + clamp(3.85rem, 15vw, 4.45rem)) !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__right {
    width: clamp(2.72rem, 12vw, 3.05rem) !important;
    min-width: clamp(2.72rem, 12vw, 3.05rem) !important;
    max-width: clamp(2.72rem, 12vw, 3.05rem) !important;
    flex: 0 0 clamp(2.72rem, 12vw, 3.05rem) !important;
    overflow: visible !important;
    pointer-events: auto !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__right .mobile-shell-navbar__btn[data-mobile-shell-menu-trigger="1"] {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: relative !important;
    width: clamp(2.62rem, 11.6vw, 2.94rem) !important;
    height: clamp(2.62rem, 11.6vw, 2.94rem) !important;
    min-width: clamp(2.62rem, 11.6vw, 2.94rem) !important;
    min-height: clamp(2.62rem, 11.6vw, 2.94rem) !important;
    max-width: clamp(2.62rem, 11.6vw, 2.94rem) !important;
    max-height: clamp(2.62rem, 11.6vw, 2.94rem) !important;
    margin: 0 !important;
    border-radius: 999px !important;
    z-index: 1 !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__right .mobile-shell-navbar__btn[data-mobile-shell-menu-trigger="1"] i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: clamp(1.08rem, 4.8vw, 1.28rem) !important;
  }

  body.dashboard-native-smartbar-is-open .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__right {
    z-index: 2720 !important;
    pointer-events: none !important;
  }
}

/* V48.2.5 — Dashboard mobile : menu aligné sur la Smartbar. */
@media (max-width: 1023px) {
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center {
    --dashboard-native-menu-size: 2.45rem;
    --dashboard-native-menu-gap: .42rem;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__center.has-custom-center {
    right: calc(env(safe-area-inset-right, 0px) + var(--dashboard-native-menu-size) + var(--dashboard-native-menu-gap)) !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__right {
    width: var(--dashboard-native-menu-size) !important;
    min-width: var(--dashboard-native-menu-size) !important;
    max-width: var(--dashboard-native-menu-size) !important;
    flex: 0 0 var(--dashboard-native-menu-size) !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__right .mobile-shell-navbar__btn[data-mobile-shell-menu-trigger="1"] {
    width: var(--dashboard-native-menu-size) !important;
    height: var(--dashboard-native-menu-size) !important;
    min-width: var(--dashboard-native-menu-size) !important;
    min-height: var(--dashboard-native-menu-size) !important;
    max-width: var(--dashboard-native-menu-size) !important;
    max-height: var(--dashboard-native-menu-size) !important;
    padding: 0 !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__right .mobile-shell-navbar__btn[data-mobile-shell-menu-trigger="1"] i {
    font-size: 1.05rem !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__right .mobile-shell-navbar__btn[data-mobile-shell-menu-trigger="1"] .mobile-shell-navbar__badge,
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__right .mobile-shell-navbar__btn[data-mobile-shell-menu-trigger="1"] .navbar-badge,
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__right .mobile-shell-navbar__btn[data-mobile-shell-menu-trigger="1"] [class*="badge"] {
    min-width: 1.05rem !important;
    height: 1.05rem !important;
    padding: 0 .24rem !important;
    font-size: .62rem !important;
    line-height: 1 !important;
  }
}

/* V48.2.6 — Dashboard mobile : personnalisation locale et drag'n'drop. */
@media (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-edit-bar__actions {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    flex: 0 0 auto;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-edit-bar__actions button[data-dashboard-home-reset] {
    border-color: color-mix(in srgb, #f59e0b 45%, transparent);
    background: color-mix(in srgb, #f59e0b 16%, transparent);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-edit-control--move {
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page__tile.is-dashboard-tile-dragging {
    pointer-events: none;
    opacity: .86;
    filter: drop-shadow(0 22px 42px rgba(0,0,0,.38));
    transition: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page__tile.is-dashboard-tile-drop-target::after {
    border-color: color-mix(in srgb, #22c55e 82%, transparent) !important;
    box-shadow: 0 0 0 2px color-mix(in srgb, #22c55e 28%, transparent), 0 0 28px color-mix(in srgb, #22c55e 35%, transparent);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-dragging .dashboard-mobile-pager {
    scroll-snap-type: none;
  }

  .dashboard-home-widget-catalog__side {
    display: grid;
    justify-items: end;
    gap: .38rem;
    min-width: max-content;
  }

  .dashboard-home-widget-catalog__size,
  .dashboard-home-widget-catalog__action {
    display: inline-grid;
    place-items: center;
    min-height: 1.34rem;
    padding: 0 .48rem;
    border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, currentColor 6%, transparent);
    color: inherit;
    font-size: .62rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
  }

  .dashboard-home-widget-catalog__size.is-active {
    border-color: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 65%, transparent);
    background: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 24%, transparent);
    color: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 90%, white 10%);
  }

  .dashboard-home-widget-catalog__action {
    border-color: color-mix(in srgb, #22c55e 42%, transparent);
    background: color-mix(in srgb, #22c55e 14%, transparent);
    color: color-mix(in srgb, #22c55e 82%, white 12%);
  }

  .dashboard-home-widget-catalog__action--remove {
    border-color: color-mix(in srgb, #ef4444 42%, transparent);
    background: color-mix(in srgb, #ef4444 14%, transparent);
    color: color-mix(in srgb, #fecaca 86%, white 8%);
  }

  .dashboard-home-widget-catalog__size:disabled,
  .dashboard-home-widget-catalog__action:disabled {
    opacity: .48;
  }
}

/* V48.2.7 — Dashboard mobile : drag'n'drop par zone de dépôt et contrôles de première ligne. */
@media (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__tile {
    touch-action: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-edit-controls {
    inset: .08rem !important;
    z-index: 90 !important;
    pointer-events: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-edit-control {
    width: 1.58rem !important;
    height: 1.58rem !important;
    font-size: .72rem !important;
    pointer-events: auto !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page__tile.is-dashboard-tile-dragging {
    z-index: 180 !important;
    pointer-events: none !important;
    will-change: transform !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page__tile.is-dashboard-tile-drop-target::after {
    inset: -.12rem !important;
    z-index: 75 !important;
    border-color: color-mix(in srgb, #22c55e 86%, transparent) !important;
    box-shadow:
      0 0 0 2px color-mix(in srgb, #22c55e 30%, transparent),
      0 0 26px color-mix(in srgb, #22c55e 34%, transparent) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-dragging .dashboard-mobile-page__grid,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-dragging .dashboard-mobile-page {
    touch-action: none !important;
  }
}

/* V48.2.8 — Dashboard mobile : drop stable et première ligne libérée de la navbar. */
@media (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile {
    --dashboard-mobile-navbar-height: clamp(6.35rem, 20vw, 7.2rem);
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center {
    pointer-events: none !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__center.has-custom-center,
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__right,
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar,
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__btn {
    pointer-events: auto !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__grid {
    padding-top: .16rem !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-edit-controls {
    inset: .14rem !important;
    z-index: 120 !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__tile {
    z-index: 1 !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__tile:has(.dashboard-mobile-edit-control:hover),
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__tile:focus-within {
    z-index: 12 !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page__tile.is-dashboard-tile-dragging {
    z-index: 220 !important;
  }
}

/* V48.2.9 — Dashboard mobile : dépôt explicite, pages d'édition et catalogue avec aperçu. */
@media (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page__grid {
    position: relative;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator {
    z-index: 140;
    align-self: stretch;
    justify-self: stretch;
    min-width: 0;
    min-height: 0;
    border: 2px solid color-mix(in srgb, #22c55e 82%, transparent);
    border-radius: 1.05rem;
    background:
      linear-gradient(135deg,
        color-mix(in srgb, #22c55e 20%, transparent),
        color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 12%, transparent));
    box-shadow:
      0 0 0 2px color-mix(in srgb, #22c55e 24%, transparent),
      0 0 30px color-mix(in srgb, #22c55e 35%, transparent),
      inset 0 1px 0 rgba(255,255,255,.16);
    pointer-events: none;
    animation: dashboardHomeDropPulse 1.1s ease-in-out infinite alternate;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-cols="1"][data-dashboard-home-drop-rows="1"] {
    border-radius: 1rem;
  }

  @keyframes dashboardHomeDropPulse {
    from { opacity: .64; transform: scale(.985); }
    to { opacity: 1; transform: scale(1); }
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-dragging .dashboard-mobile-page__tile.is-dashboard-tile-drop-target::after {
    display: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page--edit-blank .dashboard-mobile-page__grid::before {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    display: grid;
    place-items: center;
    border: 1.5px dashed color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 46%, transparent);
    border-radius: 1.4rem;
    background: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 8%, transparent);
    color: color-mix(in srgb, #e5e7eb 78%, transparent);
    content: "Page vierge";
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .dashboard-home-sheet--widgets {
    align-items: stretch;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: .72rem;
    padding-top: calc(env(safe-area-inset-top, 0px) + .75rem);
  }

  .dashboard-home-sheet--widgets .dashboard-home-sheet__preview {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    min-height: 0;
    padding: .35rem .2rem;
    pointer-events: none;
  }

  .dashboard-home-widget-catalog-preview {
    width: min(100%, 20rem);
    min-height: 10rem;
    display: grid;
    place-items: center;
  }

  .dashboard-home-widget-catalog-preview--small {
    width: min(14rem, 74vw);
  }

  .dashboard-home-widget-catalog-preview--medium {
    width: min(20rem, 88vw);
  }

  .dashboard-home-widget-catalog-preview--large {
    width: min(20rem, 88vw);
    min-height: 17rem;
  }

  .dashboard-home-widget-catalog-preview--empty {
    border: 1px dashed color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 34%, transparent);
    border-radius: 1.3rem;
    background: color-mix(in srgb, #020617 52%, transparent);
    backdrop-filter: blur(16px) saturate(1.12);
    -webkit-backdrop-filter: blur(16px) saturate(1.12);
  }

  .dashboard-home-widget-catalog-preview__hint {
    display: grid;
    justify-items: center;
    gap: .38rem;
    padding: 1rem;
    text-align: center;
    color: #e2e8f0;
  }

  .dashboard-home-widget-catalog-preview__hint i {
    display: grid;
    place-items: center;
    width: 2.55rem;
    height: 2.55rem;
    border-radius: .95rem;
    background: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 18%, transparent);
    color: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 88%, white 12%);
    font-size: 1.15rem;
  }

  .dashboard-home-widget-catalog-preview__hint strong {
    font-size: 1rem;
    font-weight: 950;
  }

  .dashboard-home-widget-catalog-preview__hint span {
    color: color-mix(in srgb, currentColor 72%, transparent);
    font-size: .78rem;
    font-weight: 800;
  }

  .dashboard-home-widget-catalog-preview .dashboard-mobile-widget-stack {
    width: 100%;
  }

  .dashboard-home-widget-catalog-preview .dashboard-mobile-widget__label {
    display: block;
    margin-top: .35rem;
    text-align: center;
  }

  .dashboard-home-widget-catalog-preview__content {
    min-height: 100%;
  }

  .dashboard-home-widget-catalog__item.is-selected {
    border-color: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 62%, transparent);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 16%, transparent);
  }

  .dashboard-home-widget-catalog__action:disabled {
    cursor: not-allowed;
  }

  html[data-theme="light"] .dashboard-home-widget-catalog-preview--empty,
  body[data-theme="light"] .dashboard-home-widget-catalog-preview--empty {
    background: color-mix(in srgb, #ffffff 74%, transparent);
  }
}

/* V48.2.10 — Dashboard mobile : indicateurs d'insertion plus explicites. */
@media (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator {
    position: relative;
    border-color: color-mix(in srgb, #22c55e 78%, transparent);
    background:
      linear-gradient(135deg,
        color-mix(in srgb, #22c55e 14%, transparent),
        color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 9%, transparent));
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator::before,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator::after {
    content: "";
    position: absolute;
    pointer-events: none;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-mode="between"],
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-mode="line"] {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    animation: none;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-mode="between"]::before,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-mode="line"]::before {
    z-index: 2;
    border-radius: 999px;
    background: linear-gradient(180deg, #86efac 0%, #22c55e 100%);
    box-shadow:
      0 0 0 3px color-mix(in srgb, #22c55e 18%, transparent),
      0 0 26px color-mix(in srgb, #22c55e 72%, transparent),
      0 0 44px color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 38%, transparent);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-mode="between"]::after,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-mode="line"]::after {
    inset: .24rem;
    border: 1px dashed color-mix(in srgb, #22c55e 42%, transparent);
    border-radius: .95rem;
    background: color-mix(in srgb, #22c55e 9%, transparent);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-side="left"]::before,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-side="right"]::before {
    top: -.28rem;
    bottom: -.28rem;
    width: .34rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-side="left"]::before {
    left: -.17rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-side="right"]::before {
    right: -.17rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-side="top"]::before,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-side="bottom"]::before,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-mode="line"][data-dashboard-home-drop-side="top"]::before {
    left: -.28rem;
    right: -.28rem;
    height: .34rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-side="top"]::before,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-mode="line"][data-dashboard-home-drop-side="top"]::before {
    top: -.17rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-side="bottom"]::before {
    bottom: -.17rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-mode="line"][data-dashboard-home-drop-side="left"]::before {
    left: -.17rem;
  }
}

/* V48.2.14 — Dashboard mobile : édition sans poignées, insertion locale et page stable. */
@media (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-restoring-page {
    opacity: 0;
  }

  body.is-dashboard-home-editing .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center,
  body.is-dashboard-home-editing .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__center.has-custom-center,
  body.is-dashboard-home-editing .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__right,
  body.is-dashboard-home-editing .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar,
  body.is-dashboard-home-editing .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__btn {
    pointer-events: none !important;
  }

  body.is-dashboard-home-editing .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center {
    opacity: .52;
    filter: saturate(.78);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing {
    --dashboard-mobile-navbar-height: clamp(6.9rem, 22vw, 7.85rem);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-pager {
    padding-top: .42rem;
    box-sizing: border-box;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__tile {
    cursor: grab;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__tile:active {
    cursor: grabbing;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-edit-controls {
    inset: .08rem .08rem auto auto !important;
    display: flex !important;
    justify-content: flex-end !important;
    width: auto !important;
    height: auto !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__tile--panel .dashboard-mobile-edit-controls,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-edit-control--move,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-edit-control--locked {
    display: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__tile--widget::after {
    bottom: -1.38rem !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-edit-bar__actions button[data-dashboard-home-reset] {
    display: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-mode="between"] {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-mode="between"]::after {
    display: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-mode="between"]::before {
    top: -.35rem !important;
    bottom: -.35rem !important;
    left: calc((var(--dashboard-mobile-page-col-gap, .7rem) / -2) - .17rem) !important;
    width: .34rem !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-mode="line"] {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-mode="line"]::after {
    display: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-mode="line"]::before {
    left: -.35rem !important;
    right: -.35rem !important;
    top: calc((var(--dashboard-mobile-page-row-gap, 1.1rem) / -2) - .17rem) !important;
    height: .34rem !important;
  }
}

/* V48.2.15 — Dashboard mobile : page active figée et navbar neutralisée en édition. */
@media (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view.is-dashboard-home-restoring-page-host > .dashboard-v2--native-mobile,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-restoring-page {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-restoring-page .dashboard-mobile-pager,
  body.is-dashboard-shell-visible #dashboard-view.is-dashboard-home-restoring-page-host .dashboard-mobile-pager {
    scroll-behavior: auto !important;
  }

  body.is-dashboard-home-editing .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode,
  body.is-dashboard-home-editing .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode *,
  body.is-dashboard-home-editing .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center,
  body.is-dashboard-home-editing .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center * {
    pointer-events: none !important;
  }
}

/* V48.2.16 — Dashboard mobile : édition stable, contours calibrés et insertion au bord gauche. */
@media (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile {
    --dashboard-mobile-page-row-gap: clamp(1.42rem, 5.1vw, 1.74rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing {
    --dashboard-mobile-navbar-height: clamp(5.35rem, 16vw, 6.15rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-pager {
    padding-top: 0 !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__grid {
    padding-top: 0 !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__tile::after {
    inset: .04rem !important;
    border-radius: 1.02rem !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__tile--widget::after {
    bottom: -1.16rem !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__tile--panel::after {
    inset: .04rem !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-mode="between"][data-dashboard-home-drop-side="left"]::before {
    left: calc((var(--dashboard-mobile-page-col-gap, .7rem) / -2) - .17rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-mode="between"][data-dashboard-home-drop-side="right"]::before {
    left: auto !important;
    right: calc((var(--dashboard-mobile-page-col-gap, .7rem) / -2) - .17rem) !important;
  }
}

/* V48.2.17 — Dashboard mobile : grille visible, édition sans déplacement et drag au premier plan. */
@media (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile {
    --dashboard-mobile-navbar-height: clamp(4.75rem, 14vw, 5.25rem) !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode,
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center {
    padding: calc(env(safe-area-inset-top, 0px) + 0.36rem) 0.62rem 0.36rem !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar {
    min-height: 2.32rem !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__btn[data-mobile-shell-menu-trigger="1"] {
    width: 2.32rem !important;
    height: 2.32rem !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing {
    --dashboard-mobile-navbar-height: clamp(4.75rem, 14vw, 5.25rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-pager,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__grid {
    padding-top: 0 !important;
    transform: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page__grid {
    position: relative !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__grid::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 22%, rgba(148,163,184,.10));
    border-radius: 0.34rem;
    background-image:
      repeating-linear-gradient(
        to right,
        color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 28%, transparent) 0 1px,
        transparent 1px calc(var(--dashboard-mobile-cell-size) + var(--dashboard-mobile-page-col-gap))
      ),
      repeating-linear-gradient(
        to bottom,
        color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 24%, transparent) 0 1px,
        transparent 1px calc(var(--dashboard-mobile-cell-size) + var(--dashboard-mobile-page-row-gap))
      );
    box-shadow:
      inset -1px 0 0 color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 20%, transparent),
      inset 0 -1px 0 color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 18%, transparent);
    opacity: .45;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page__tile {
    z-index: 1;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator {
    z-index: 4 !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-widget-stack {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.22rem !important;
    height: 100% !important;
    overflow: hidden !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-widget-stack > .dashboard-mobile-widget {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-widget__label {
    position: static !important;
    flex: 0 0 auto !important;
    display: block !important;
    line-height: 1.05 !important;
    min-height: 1.05em !important;
    max-height: 1.05em !important;
    margin: 0 auto !important;
    z-index: auto !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__tile::after,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__tile--widget::after,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__tile--panel::after {
    inset: -0.08rem !important;
    bottom: -0.08rem !important;
    border-radius: 1.05rem !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-mode="between"][data-dashboard-home-drop-side="right"]::before {
    left: auto !important;
    right: calc((var(--dashboard-mobile-page-col-gap, .7rem) / -2) - .17rem) !important;
  }
}

.dashboard-home-drag-ghost {
  box-sizing: border-box;
  opacity: 1 !important;
  filter: none !important;
  will-change: transform;
  isolation: isolate;
}

.dashboard-home-drag-ghost .dashboard-mobile-edit-controls {
  display: none !important;
}

/* V48.2.18 — Dashboard mobile : grille avec interlignes et page vierge d'édition restaurée. */
@media (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__grid::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    pointer-events: none !important;
    border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 28%, rgba(148,163,184,.14)) !important;
    border-radius: 0.34rem !important;
    background-image:
      repeating-linear-gradient(
        to right,
        transparent 0 var(--dashboard-mobile-cell-size),
        color-mix(in srgb, #a855f7 24%, transparent) var(--dashboard-mobile-cell-size) calc(var(--dashboard-mobile-cell-size) + var(--dashboard-mobile-page-col-gap))
      ),
      repeating-linear-gradient(
        to bottom,
        transparent 0 var(--dashboard-mobile-cell-size),
        color-mix(in srgb, #a855f7 24%, transparent) var(--dashboard-mobile-cell-size) calc(var(--dashboard-mobile-cell-size) + var(--dashboard-mobile-page-row-gap))
      ),
      repeating-linear-gradient(
        to right,
        color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 32%, transparent) 0 1px,
        transparent 1px calc(var(--dashboard-mobile-cell-size) + var(--dashboard-mobile-page-col-gap))
      ),
      repeating-linear-gradient(
        to bottom,
        color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 30%, transparent) 0 1px,
        transparent 1px calc(var(--dashboard-mobile-cell-size) + var(--dashboard-mobile-page-row-gap))
      ) !important;
    box-shadow:
      inset -1px 0 0 color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 24%, transparent),
      inset 0 -1px 0 color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 22%, transparent) !important;
    opacity: .62 !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page--edit-blank .dashboard-mobile-page__grid {
    position: relative !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-edit-blank-hint {
    grid-column: 1 / -1 !important;
    grid-row: 1 / -1 !important;
    align-self: center !important;
    justify-self: center !important;
    z-index: 2 !important;
    display: inline-grid !important;
    place-items: center !important;
    min-height: 2.65rem !important;
    padding: 0 .95rem !important;
    border: 1.5px dashed color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 54%, transparent) !important;
    border-radius: 999px !important;
    background: color-mix(in srgb, #020617 70%, transparent) !important;
    color: color-mix(in srgb, #f8fafc 86%, transparent) !important;
    font-size: .78rem !important;
    font-weight: 950 !important;
    letter-spacing: .09em !important;
    text-transform: uppercase !important;
    pointer-events: none !important;
    box-shadow: 0 18px 42px color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 18%, transparent) !important;
  }

  html[data-theme="light"] body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-edit-blank-hint,
  body[data-theme="light"].is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-edit-blank-hint {
    background: color-mix(in srgb, #ffffff 82%, transparent) !important;
    color: #0f172a !important;
  }
}

/* V48.2.19 — Dashboard mobile : pages d'édition maîtrisées et libellés widgets alignés. */
@media (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page--footer {
    display: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-widget-stack {
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) var(--dashboard-mobile-label-height, 1.08em) !important;
    gap: 0.34rem !important;
    align-items: stretch !important;
    width: 100% !important;
    height: 100% !important;
    overflow: visible !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-widget-stack > .dashboard-mobile-widget {
    grid-row: 1 !important;
    align-self: stretch !important;
    min-height: 0 !important;
    height: 100% !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-widget__label {
    grid-row: 2 !important;
    position: static !important;
    align-self: start !important;
    justify-self: center !important;
    display: block !important;
    width: auto !important;
    max-width: min(100%, calc(var(--dashboard-mobile-cell-size, 4rem) * 1.18)) !important;
    min-height: var(--dashboard-mobile-label-height, 1.08em) !important;
    max-height: var(--dashboard-mobile-label-height, 1.08em) !important;
    margin: 0 auto !important;
    overflow: hidden !important;
    color: color-mix(in srgb, currentColor 94%, transparent) !important;
    font-size: clamp(0.68rem, 3vw, 0.82rem) !important;
    font-weight: 900 !important;
    line-height: 1.08 !important;
    text-align: center !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    text-shadow: 0 2px 10px rgba(0,0,0,.34) !important;
    pointer-events: none !important;
    z-index: 3 !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-widget-stack {
    gap: 0.34rem !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__tile--widget::after {
    inset: -0.08rem !important;
    bottom: -0.08rem !important;
  }
}


/* V48.2.21 — Dashboard mobile : drop fiable, échange distinct et page vierge silencieuse. */
@media (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page--edit-blank .dashboard-mobile-page__grid::before {
    content: "" !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-edit-blank-hint {
    display: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-mode="swap"] {
    border-color: color-mix(in srgb, #38bdf8 92%, white 8%) !important;
    background:
      radial-gradient(circle at 50% 45%, color-mix(in srgb, #38bdf8 26%, transparent), transparent 64%),
      color-mix(in srgb, #38bdf8 12%, transparent) !important;
    box-shadow:
      0 0 0 2px color-mix(in srgb, #38bdf8 30%, transparent),
      0 0 32px color-mix(in srgb, #38bdf8 44%, transparent),
      inset 0 1px 0 rgba(255,255,255,.22) !important;
  }
}

/* V48.2.22 — Dashboard mobile : zones de drop centrées et repères d'édition carrés. */
@media (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__tile::after,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__tile--widget::after,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__tile--panel::after {
    inset: 0 !important;
    bottom: 0 !important;
    border-radius: .08rem !important;
    border-width: 1.35px !important;
    border-style: dashed !important;
    box-shadow: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-mode="slot"],
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-mode="swap"] {
    border-radius: .08rem !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-mode="between"]::before {
    width: .23rem !important;
    border-radius: 999px !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-mode="swap"] {
    background:
      linear-gradient(135deg, color-mix(in srgb, #38bdf8 18%, transparent), color-mix(in srgb, #22c55e 10%, transparent)) !important;
  }
}

/* V48.2.23 — Dashboard mobile : repères d'édition strictement contenus dans les cellules. */
@media (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__tile::after,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__tile--widget::after,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__tile--panel::after {
    inset: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    transform: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-mode="slot"],
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-mode="swap"] {
    border-radius: 0 !important;
    box-sizing: border-box !important;
  }
}

/* V48.2.24 — Dashboard mobile : rails gauche uniquement et widgets moyens plus calmes. */
@media (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-mode="between"][data-dashboard-home-drop-side="right"] {
    display: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__tile::after,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__tile--widget::after,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__tile--panel::after {
    inset: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-home-drop-indicator[data-dashboard-home-drop-mode="line"]::before {
    min-height: .28rem !important;
  }
}

/* V48.2.27 — Accueil public mobile : navbar native visible avant connexion. */
@media (max-width: 1023px) {
  body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode,
  body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center {
    --dashboard-native-menu-size: 2.32rem;
    --dashboard-native-menu-gap: .42rem;
    display: block !important;
    overflow: visible !important;
    padding: calc(env(safe-area-inset-top, 0px) + .36rem) .62rem .36rem !important;
  }

  body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__left {
    display: none !important;
  }

  body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__center.has-custom-center {
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + .36rem) !important;
    left: calc(env(safe-area-inset-left, 0px) + clamp(.72rem, 3.4vw, 1rem)) !important;
    right: calc(env(safe-area-inset-right, 0px) + var(--dashboard-native-menu-size) + var(--dashboard-native-menu-gap)) !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 2.32rem !important;
    min-height: 2.32rem !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: stretch !important;
    overflow: visible !important;
    pointer-events: auto !important;
    z-index: 2700 !important;
  }

  body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__right {
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + .36rem) !important;
    right: calc(env(safe-area-inset-right, 0px) + clamp(.72rem, 3vw, .95rem)) !important;
    left: auto !important;
    width: var(--dashboard-native-menu-size) !important;
    min-width: var(--dashboard-native-menu-size) !important;
    max-width: var(--dashboard-native-menu-size) !important;
    height: 2.32rem !important;
    min-height: 2.32rem !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: .32rem !important;
    overflow: visible !important;
    pointer-events: auto !important;
    z-index: 2720 !important;
  }

  body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar {
    --ui-smartbar-accent: var(--dashboard-v2-role-color, #38bdf8);
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: .52rem !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 2.32rem !important;
    min-height: 2.32rem !important;
    max-height: 2.32rem !important;
    margin: 0 !important;
    padding: 0 .48rem 0 .72rem !important;
    border: 1px solid color-mix(in srgb, var(--color-border-subtle, #94a3b8) 58%, transparent) !important;
    border-radius: 999px !important;
    background:
      radial-gradient(circle at 0 0, color-mix(in srgb, #fff 18%, transparent), transparent 52%),
      color-mix(in srgb, var(--color-surface, #020617) 56%, transparent) !important;
    box-shadow:
      0 14px 36px color-mix(in srgb, #000 18%, transparent),
      inset 0 1px 0 color-mix(in srgb, #fff 16%, transparent) !important;
    color: var(--theme-text, var(--color-text, #f8fafc)) !important;
    backdrop-filter: blur(18px) saturate(1.12) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.12) !important;
    overflow: visible !important;
  }

  body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar .dashboard-native-smartbar__input {
    min-width: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font-size: clamp(.78rem, 3.35vw, .92rem) !important;
    font-weight: 820 !important;
    line-height: 1.2 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar .dashboard-native-smartbar__clear {
    width: 1.72rem !important;
    height: 1.72rem !important;
  }

  body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__right .mobile-shell-navbar__btn[data-mobile-shell-menu-trigger="1"] {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    width: var(--dashboard-native-menu-size) !important;
    height: var(--dashboard-native-menu-size) !important;
    min-width: var(--dashboard-native-menu-size) !important;
    min-height: var(--dashboard-native-menu-size) !important;
    max-width: var(--dashboard-native-menu-size) !important;
    max-height: var(--dashboard-native-menu-size) !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 999px !important;
  }

  body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__right .mobile-shell-navbar__btn[data-mobile-shell-menu-trigger="1"] i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 1.05rem !important;
  }
}


/* V48.2.28 — Accueil public : pas de Smartbar sur l'écran non connecté. */
@media (max-width: 1023px) {
  body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode .mobile-shell-navbar__center.has-custom-center,
  body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar {
    display: none !important;
  }

  body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

/* V48.2.29 — Accueil public : menu restauré et logo centré sans Smartbar. */
body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-public-home .mobile-shell-navbar__dashboard-smartbar,
body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-public-home .dashboard-native-smartbar,
body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-public-home .courses-smart-suggestions,
body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-public-home .dashboard-native-smartbar__suggestions {
  display: none !important;
}

body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-public-home .mobile-shell-navbar__btn[data-mobile-shell-menu-trigger="1"] {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

@media (max-width: 1023px) {
  body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-public-home.is-dashboard-native-home.is-mobile-mode {
    --public-home-navbar-menu-size: 2.32rem;
    display: block !important;
    overflow: visible !important;
    padding: calc(env(safe-area-inset-top, 0px) + .36rem) .62rem .36rem !important;
    pointer-events: none !important;
  }

  body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-public-home.is-dashboard-native-home.is-mobile-mode .mobile-shell-navbar__left {
    display: none !important;
  }

  body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-public-home.is-dashboard-native-home.is-mobile-mode .mobile-shell-navbar__center:not(.has-custom-center) {
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + 1.46rem) !important;
    left: 50% !important;
    right: auto !important;
    width: min(9rem, 42vw) !important;
    max-width: min(9rem, 42vw) !important;
    min-width: 0 !important;
    min-height: var(--public-home-navbar-menu-size) !important;
    transform: translate(-50%, -50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    grid-column: auto !important;
    overflow: visible !important;
    pointer-events: none !important;
    z-index: 2700 !important;
  }

  body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-public-home.is-dashboard-native-home.is-mobile-mode .mobile-shell-navbar__center.has-custom-center {
    display: none !important;
  }

  body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-public-home.is-dashboard-native-home.is-mobile-mode .mobile-shell-navbar__logo {
    display: inline-flex !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-public-home.is-dashboard-native-home.is-mobile-mode .mobile-shell-navbar__right {
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + .36rem) !important;
    right: calc(env(safe-area-inset-right, 0px) + clamp(.72rem, 3vw, .95rem)) !important;
    left: auto !important;
    width: var(--public-home-navbar-menu-size) !important;
    min-width: var(--public-home-navbar-menu-size) !important;
    max-width: var(--public-home-navbar-menu-size) !important;
    height: var(--public-home-navbar-menu-size) !important;
    min-height: var(--public-home-navbar-menu-size) !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    overflow: visible !important;
    pointer-events: auto !important;
    z-index: 2720 !important;
  }

  body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-public-home.is-dashboard-native-home.is-mobile-mode .mobile-shell-navbar__right .mobile-shell-navbar__btn[data-mobile-shell-menu-trigger="1"] {
    width: var(--public-home-navbar-menu-size) !important;
    height: var(--public-home-navbar-menu-size) !important;
    min-width: var(--public-home-navbar-menu-size) !important;
    min-height: var(--public-home-navbar-menu-size) !important;
    max-width: var(--public-home-navbar-menu-size) !important;
    max-height: var(--public-home-navbar-menu-size) !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 999px !important;
  }
}


/* V48.2.30 — Accueil public : logo mobile plus discret. */
@media (max-width: 1023px) {
  body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-public-home.is-dashboard-native-home.is-mobile-mode {
    --public-home-navbar-logo-width: min(6.9rem, 34vw);
    --public-home-navbar-logo-height: 1.65rem;
  }

  body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-public-home.is-dashboard-native-home.is-mobile-mode .mobile-shell-navbar__center:not(.has-custom-center) {
    width: var(--public-home-navbar-logo-width) !important;
    max-width: var(--public-home-navbar-logo-width) !important;
    min-height: var(--public-home-navbar-logo-height) !important;
    height: var(--public-home-navbar-logo-height) !important;
  }

  body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-public-home.is-dashboard-native-home.is-mobile-mode .mobile-shell-navbar__logo,
  body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-public-home.is-dashboard-native-home.is-mobile-mode .mobile-shell-navbar__logo-art,
  body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-public-home.is-dashboard-native-home.is-mobile-mode .mobile-shell-navbar__logo .app-logo {
    width: var(--public-home-navbar-logo-width) !important;
    max-width: var(--public-home-navbar-logo-width) !important;
    height: var(--public-home-navbar-logo-height) !important;
    max-height: var(--public-home-navbar-logo-height) !important;
  }

  body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-public-home.is-dashboard-native-home.is-mobile-mode .mobile-shell-navbar__logo svg,
  body.is-public-mobile-shell-visible:not(.is-public-panel-shell) .mobile-shell-navbar.is-public-home.is-dashboard-native-home.is-mobile-mode .mobile-shell-navbar__logo img {
    width: auto !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: var(--public-home-navbar-logo-height) !important;
    object-fit: contain !important;
  }
}

/* V48.2.32 — Dashboard mobile : rebond horizontal bloqué aux extrémités. */
@media (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-pager {
    overscroll-behavior-x: none !important;
    overscroll-behavior-y: none !important;
  }
}

/* V48.2.33 — Dashboard mobile : contours d'édition iPhone complets. */
@media (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__tile::after,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__tile--widget::after,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile.is-dashboard-home-editing .dashboard-mobile-page__tile--panel::after {
    --dashboard-home-edit-dash-color: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 76%, transparent);
    inset: 0 !important;
    bottom: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    background-image:
      repeating-linear-gradient(90deg, var(--dashboard-home-edit-dash-color) 0 5px, transparent 5px 9px),
      repeating-linear-gradient(90deg, var(--dashboard-home-edit-dash-color) 0 5px, transparent 5px 9px),
      repeating-linear-gradient(180deg, var(--dashboard-home-edit-dash-color) 0 5px, transparent 5px 9px),
      repeating-linear-gradient(180deg, var(--dashboard-home-edit-dash-color) 0 5px, transparent 5px 9px) !important;
    background-position:
      top left,
      bottom left,
      top left,
      top right !important;
    background-repeat: no-repeat !important;
    background-size:
      100% 1.5px,
      100% 1.5px,
      1.5px 100%,
      1.5px 100% !important;
    box-shadow: none !important;
  }
}

/* V48.5.2 — Les styles du widget Prochain cours ont été extraits vers assets/css/dashboard/widgets/. */

/* V48.6.1 — Dashboard V2 mobile : menu Widgets vivant, tailles et vrais aperçus. */
@media (max-width: 1023px) {
  .dashboard-home-widget-catalog__size {
    grid-template-columns: auto auto;
    align-items: center;
    gap: .22rem;
    min-height: 1.56rem;
    padding: .12rem .46rem;
  }

  .dashboard-home-widget-catalog__size span,
  .dashboard-home-widget-catalog__size small {
    display: inline-flex;
    align-items: center;
    line-height: 1;
  }

  .dashboard-home-widget-catalog__size small {
    color: color-mix(in srgb, currentColor 60%, transparent);
    font-size: .54rem;
    font-weight: 950;
    letter-spacing: .02em;
  }

  .dashboard-home-widget-catalog__size.is-current:not(.is-active) {
    border-color: color-mix(in srgb, #22c55e 50%, transparent);
    background: color-mix(in srgb, #22c55e 12%, transparent);
    color: color-mix(in srgb, #22c55e 78%, currentColor 22%);
  }

  .dashboard-home-widget-catalog__size.is-current:not(.is-active)::after {
    content: "";
    width: .34rem;
    height: .34rem;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 12px color-mix(in srgb, #22c55e 58%, transparent);
  }

  .dashboard-home-widget-catalog__action--replace {
    border-color: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 54%, transparent);
    background: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 18%, transparent);
    color: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 84%, white 10%);
  }

  html[data-theme="light"] .dashboard-home-widget-catalog__action--replace,
  body[data-theme="light"] .dashboard-home-widget-catalog__action--replace {
    color: color-mix(in srgb, var(--dashboard-v2-role-color, #0284c7) 72%, #0f172a 28%);
    background: color-mix(in srgb, var(--dashboard-v2-role-color, #0284c7) 13%, #ffffff 87%);
  }

  .dashboard-home-widget-catalog-preview {
    --dashboard-widget-preview-cell: clamp(3.62rem, 17.6vw, 4.68rem);
    --dashboard-widget-preview-gap: clamp(.42rem, 1.8vw, .56rem);
    width: min(20rem, calc(100vw - 2rem));
    min-height: 9.2rem;
  }

  .dashboard-home-widget-catalog-preview--empty {
    width: min(20rem, calc(100vw - 2rem));
    min-height: 9.2rem;
  }

  .dashboard-home-widget-catalog-preview--small,
  .dashboard-home-widget-catalog-preview--medium,
  .dashboard-home-widget-catalog-preview--large {
    width: min(20rem, calc(100vw - 2rem));
  }

  .dashboard-home-widget-catalog-preview__tile {
    position: relative;
    width: 100%;
    height: 9.2rem;
    color: #f8fafc;
    pointer-events: none;
  }

  html[data-theme="light"] .dashboard-home-widget-catalog-preview__tile,
  body[data-theme="light"] .dashboard-home-widget-catalog-preview__tile {
    color: #0f172a;
  }

  .dashboard-home-widget-catalog-preview .dashboard-mobile-widget-stack {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible;
  }

  .dashboard-home-widget-catalog-preview .dashboard-mobile-widget-stack > .dashboard-mobile-widget {
    width: 100%;
    height: 100%;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .dashboard-home-widget-catalog-preview .dashboard-mobile-widget__body {
    height: 100%;
    padding: 0 !important;
    overflow: visible;
  }

  .dashboard-home-widget-catalog-preview .dashboard-mobile-widget__label {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + .24rem);
    display: block;
    max-width: 100%;
    margin-inline: auto;
    overflow: hidden;
    color: currentColor;
    font-size: clamp(.68rem, 3vw, .8rem);
    font-weight: 950;
    line-height: 1.08;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(0,0,0,.26);
  }

  html[data-theme="light"] .dashboard-home-widget-catalog-preview .dashboard-mobile-widget__label,
  body[data-theme="light"] .dashboard-home-widget-catalog-preview .dashboard-mobile-widget__label {
    text-shadow: 0 2px 9px rgba(15,23,42,.12);
  }

  .dashboard-home-widget-catalog-preview .dashboard-mobile-course-widget,
  .dashboard-home-widget-catalog-preview .dashboard-mobile-course-widget--small,
  .dashboard-home-widget-catalog-preview .dashboard-mobile-course-widget--medium {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
  }

  .dashboard-home-widget-catalog-preview .dashboard-mobile-course-mini--small {
    border: 1px solid color-mix(in srgb, var(--dashboard-mobile-course-color, var(--dashboard-v2-role-color, #38bdf8)) 38%, rgba(255,255,255,.12));
    border-radius: clamp(1.05rem, 4.7vw, 1.38rem);
    background:
      radial-gradient(circle at 16% 0%, color-mix(in srgb, var(--dashboard-mobile-course-color, var(--dashboard-v2-role-color, #38bdf8)) 26%, transparent), transparent 58%),
      linear-gradient(145deg, color-mix(in srgb, var(--dashboard-mobile-course-color, var(--dashboard-v2-role-color, #38bdf8)) 13%, rgba(255,255,255,.08)), rgba(8,13,29,.62));
    box-shadow: 0 16px 30px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.10);
    backdrop-filter: blur(14px) saturate(1.18);
    -webkit-backdrop-filter: blur(14px) saturate(1.18);
  }

  html[data-theme="light"] .dashboard-home-widget-catalog-preview .dashboard-mobile-course-mini--small,
  body[data-theme="light"] .dashboard-home-widget-catalog-preview .dashboard-mobile-course-mini--small {
    background:
      radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--dashboard-mobile-course-color, var(--dashboard-v2-role-color, #0284c7)) 22%, transparent), transparent 58%),
      linear-gradient(145deg,
        color-mix(in srgb, var(--dashboard-mobile-course-color, var(--dashboard-v2-role-color, #0284c7)) 9%, #ffffff 91%),
        color-mix(in srgb, #ffffff 82%, transparent));
    box-shadow: 0 16px 30px rgba(15,23,42,.12), inset 0 1px 0 rgba(255,255,255,.78);
  }

  .dashboard-home-widget-catalog-preview .dashboard-mobile-course-widget--medium .dashboard-mobile-course-mini {
    padding: .48rem;
  }

  .dashboard-home-widget-catalog-preview .dashboard-mobile-widget .dashboard-v2-carousel,
  .dashboard-home-widget-catalog-preview .dashboard-mobile-widget .my-courses-next-carousel {
    height: 100%;
    margin: 0;
  }

  .dashboard-home-widget-catalog-preview .dashboard-mobile-widget .dashboard-v2-carousel__viewport,
  .dashboard-home-widget-catalog-preview .dashboard-mobile-widget .my-courses-next-carousel__viewport {
    height: calc(100% - 1.25rem);
  }
}

/* V48.6.1 — dimensions d'aperçu sans multiplication CSS pour iOS/Safari. */
@media (max-width: 1023px) {
  .dashboard-home-widget-catalog-preview--small {
    width: min(calc(var(--dashboard-widget-preview-cell) + var(--dashboard-widget-preview-cell) + var(--dashboard-widget-preview-gap)), calc(100vw - 2rem));
    min-height: calc(var(--dashboard-widget-preview-cell) + var(--dashboard-widget-preview-cell) + var(--dashboard-widget-preview-gap) + 1.45rem);
  }

  .dashboard-home-widget-catalog-preview--small .dashboard-home-widget-catalog-preview__tile {
    height: calc(var(--dashboard-widget-preview-cell) + var(--dashboard-widget-preview-cell) + var(--dashboard-widget-preview-gap));
  }

  .dashboard-home-widget-catalog-preview--medium {
    width: min(calc(var(--dashboard-widget-preview-cell) + var(--dashboard-widget-preview-cell) + var(--dashboard-widget-preview-cell) + var(--dashboard-widget-preview-cell) + var(--dashboard-widget-preview-gap) + var(--dashboard-widget-preview-gap) + var(--dashboard-widget-preview-gap)), calc(100vw - 2rem));
    min-height: calc(var(--dashboard-widget-preview-cell) + var(--dashboard-widget-preview-cell) + var(--dashboard-widget-preview-gap) + 1.45rem);
  }

  .dashboard-home-widget-catalog-preview--medium .dashboard-home-widget-catalog-preview__tile {
    height: calc(var(--dashboard-widget-preview-cell) + var(--dashboard-widget-preview-cell) + var(--dashboard-widget-preview-gap));
  }

  .dashboard-home-widget-catalog-preview--large {
    width: min(calc(var(--dashboard-widget-preview-cell) + var(--dashboard-widget-preview-cell) + var(--dashboard-widget-preview-cell) + var(--dashboard-widget-preview-cell) + var(--dashboard-widget-preview-gap) + var(--dashboard-widget-preview-gap) + var(--dashboard-widget-preview-gap)), calc(100vw - 2rem));
    min-height: calc(var(--dashboard-widget-preview-cell) + var(--dashboard-widget-preview-cell) + var(--dashboard-widget-preview-cell) + var(--dashboard-widget-preview-cell) + var(--dashboard-widget-preview-gap) + var(--dashboard-widget-preview-gap) + var(--dashboard-widget-preview-gap) + 1.45rem);
  }

  .dashboard-home-widget-catalog-preview--large .dashboard-home-widget-catalog-preview__tile {
    height: calc(var(--dashboard-widget-preview-cell) + var(--dashboard-widget-preview-cell) + var(--dashboard-widget-preview-cell) + var(--dashboard-widget-preview-cell) + var(--dashboard-widget-preview-gap) + var(--dashboard-widget-preview-gap) + var(--dashboard-widget-preview-gap));
  }
}

/* V48.6.1 — nettoyage des sous-libellés dans les boutons de taille. */
@media (max-width: 1023px) {
  .dashboard-home-widget-catalog__sizes .dashboard-home-widget-catalog__size > span {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: 1;
  }
}

/* V48.6.2 — menu Widgets : aperçus montés dans un contexte Dashboard réel. */
@media (max-width: 1023px) {
  .dashboard-home-widget-catalog-preview__context {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: visible;
    pointer-events: none;
  }

  body.is-dashboard-shell-visible .dashboard-home-widget-catalog-preview__context#dashboard-view > .dashboard-v2--native-mobile.dashboard-v2--widget-preview {
    --dashboard-mobile-navbar-height: 0px;
    --dashboard-mobile-dots-height: 0px;
    --dashboard-mobile-page-padding-x: 0px;
    --dashboard-mobile-page-col-gap: var(--dashboard-widget-preview-gap);
    --dashboard-mobile-page-row-gap: var(--dashboard-widget-preview-gap);
    --dashboard-mobile-cell-size: var(--dashboard-widget-preview-cell);
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    color: inherit !important;
  }

  .dashboard-home-widget-catalog-preview__tile {
    inset: auto !important;
    margin: 0 !important;
  }

  .dashboard-home-widget-catalog__sizes .dashboard-home-widget-catalog__size {
    min-width: 1.55rem;
  }
}

/* V48.6.3 — menu Widgets : aperçu aux dimensions exactes de la grille mobile. */
@media (max-width: 1023px) {
  .dashboard-home-widget-catalog-preview:not(.dashboard-home-widget-catalog-preview--empty) {
    width: auto !important;
    min-height: 0 !important;
    max-width: calc(100vw - 1rem) !important;
    overflow: visible !important;
  }

  .dashboard-home-widget-catalog-preview--small,
  .dashboard-home-widget-catalog-preview--medium,
  .dashboard-home-widget-catalog-preview--large {
    width: auto !important;
    min-height: 0 !important;
  }

  .dashboard-home-widget-catalog-preview__context {
    display: grid !important;
    place-items: center !important;
    width: auto !important;
    height: auto !important;
    max-width: calc(100vw - 1rem) !important;
    overflow: visible !important;
  }

  body.is-dashboard-shell-visible .dashboard-home-widget-catalog-preview__context#dashboard-view > .dashboard-v2--native-mobile.dashboard-v2--widget-preview {
    --dashboard-mobile-cell-size: var(--dashboard-widget-preview-cell) !important;
    --dashboard-mobile-page-col-gap: var(--dashboard-widget-preview-col-gap) !important;
    --dashboard-mobile-page-row-gap: var(--dashboard-widget-preview-row-gap) !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: calc(100vw - 1rem) !important;
    overflow: visible !important;
  }

  .dashboard-home-widget-catalog-preview__grid {
    display: inline-grid !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    column-gap: var(--dashboard-widget-preview-col-gap) !important;
    row-gap: var(--dashboard-widget-preview-row-gap) !important;
    width: max-content !important;
    height: max-content !important;
    max-width: calc(100vw - 1rem) !important;
    overflow: visible !important;
  }

  .dashboard-home-widget-catalog-preview__grid--2x2 {
    grid-template-columns: repeat(2, var(--dashboard-widget-preview-cell)) !important;
    grid-template-rows: repeat(2, var(--dashboard-widget-preview-cell)) !important;
  }

  .dashboard-home-widget-catalog-preview__grid--4x2 {
    grid-template-columns: repeat(4, var(--dashboard-widget-preview-cell)) !important;
    grid-template-rows: repeat(2, var(--dashboard-widget-preview-cell)) !important;
  }

  .dashboard-home-widget-catalog-preview__grid--4x4 {
    grid-template-columns: repeat(4, var(--dashboard-widget-preview-cell)) !important;
    grid-template-rows: repeat(4, var(--dashboard-widget-preview-cell)) !important;
  }

  .dashboard-home-widget-catalog-preview__grid > .dashboard-home-widget-catalog-preview__tile {
    grid-column: 1 / -1 !important;
    grid-row: 1 / -1 !important;
    align-self: stretch !important;
    justify-self: stretch !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    inset: auto !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  .dashboard-home-widget-catalog-preview__grid .dashboard-mobile-widget-stack,
  .dashboard-home-widget-catalog-preview__grid .dashboard-mobile-widget-stack > .dashboard-mobile-widget,
  .dashboard-home-widget-catalog-preview__grid .dashboard-mobile-widget__body {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
  }
}

/* V48.6.4 — Dashboard V2 mobile : aperçu Widgets centré et mode clair adouci. */
@media (max-width: 1023px) {
  .dashboard-home-sheet--widgets .dashboard-home-sheet__preview {
    display: grid !important;
    place-items: center !important;
    align-content: center !important;
    justify-content: center !important;
    min-height: 0 !important;
    padding: clamp(.55rem, 2.2dvh, 1rem) .2rem !important;
  }

  .dashboard-home-sheet--widgets .dashboard-home-sheet__preview > .dashboard-home-widget-catalog-preview:not(.dashboard-home-widget-catalog-preview--empty) {
    display: grid !important;
    place-items: center !important;
    align-self: stretch !important;
    justify-self: stretch !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
  }

  .dashboard-home-sheet--widgets .dashboard-home-sheet__preview > .dashboard-home-widget-catalog-preview--empty {
    align-self: center !important;
    justify-self: center !important;
  }

  .dashboard-home-widget-catalog-preview:not(.dashboard-home-widget-catalog-preview--empty) .dashboard-home-widget-catalog-preview__context {
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
  }

  body.is-dashboard-shell-visible .dashboard-home-widget-catalog-preview__context#dashboard-view > .dashboard-v2--native-mobile.dashboard-v2--widget-preview {
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
  }

  .dashboard-home-widget-catalog-preview__grid {
    align-self: center !important;
    justify-self: center !important;
  }

  html[data-theme="light"] .dashboard-home-sheet--widgets .dashboard-home-sheet__panel,
  body[data-theme="light"] .dashboard-home-sheet--widgets .dashboard-home-sheet__panel {
    border-color: rgba(125, 154, 185, .26);
    background: rgba(250, 252, 255, .94);
    color: #172033;
    box-shadow: 0 24px 58px rgba(15, 23, 42, .14), inset 0 1px 0 rgba(255,255,255,.82);
  }

  html[data-theme="light"] .dashboard-home-sheet__header span,
  body[data-theme="light"] .dashboard-home-sheet__header span {
    color: color-mix(in srgb, var(--dashboard-v2-role-color, #0284c7) 66%, #334155 34%);
  }

  html[data-theme="light"] .dashboard-home-sheet__close,
  body[data-theme="light"] .dashboard-home-sheet__close {
    border-color: rgba(100, 116, 139, .22);
    background: rgba(241, 245, 249, .78);
    color: #334155;
  }

  html[data-theme="light"] .dashboard-home-widget-catalog__item,
  body[data-theme="light"] .dashboard-home-widget-catalog__item {
    border-color: rgba(100, 116, 139, .18);
    background: rgba(248, 250, 252, .78);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.82);
  }

  html[data-theme="light"] .dashboard-home-widget-catalog__item.is-active,
  body[data-theme="light"] .dashboard-home-widget-catalog__item.is-active {
    border-color: rgba(34, 197, 94, .26);
    background: linear-gradient(135deg, rgba(240, 253, 244, .82), rgba(248, 250, 252, .82));
  }

  html[data-theme="light"] .dashboard-home-widget-catalog__item.is-selected,
  body[data-theme="light"] .dashboard-home-widget-catalog__item.is-selected {
    border-color: color-mix(in srgb, var(--dashboard-v2-role-color, #0284c7) 36%, rgba(148,163,184,.24));
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--dashboard-v2-role-color, #0284c7) 14%, transparent), inset 0 1px 0 rgba(255,255,255,.84);
  }

  html[data-theme="light"] .dashboard-home-widget-catalog__item.is-active.is-selected,
  body[data-theme="light"] .dashboard-home-widget-catalog__item.is-active.is-selected {
    border-color: color-mix(in srgb, var(--dashboard-v2-role-color, #0284c7) 34%, rgba(34,197,94,.28));
    background: linear-gradient(135deg, rgba(240, 253, 244, .78), rgba(240, 249, 255, .66));
  }

  html[data-theme="light"] .dashboard-home-widget-catalog__icon,
  body[data-theme="light"] .dashboard-home-widget-catalog__icon {
    background: color-mix(in srgb, var(--dashboard-v2-role-color, #0284c7) 10%, #eff6ff 90%);
    color: color-mix(in srgb, var(--dashboard-v2-role-color, #0284c7) 72%, #0f172a 28%);
  }

  html[data-theme="light"] .dashboard-home-widget-catalog__size,
  html[data-theme="light"] .dashboard-home-widget-catalog__state,
  body[data-theme="light"] .dashboard-home-widget-catalog__size,
  body[data-theme="light"] .dashboard-home-widget-catalog__state {
    border-color: rgba(100, 116, 139, .20);
    background: rgba(255, 255, 255, .72);
    color: #536277;
  }

  html[data-theme="light"] .dashboard-home-widget-catalog__size.is-active,
  body[data-theme="light"] .dashboard-home-widget-catalog__size.is-active {
    border-color: color-mix(in srgb, var(--dashboard-v2-role-color, #0284c7) 34%, rgba(148,163,184,.24));
    background: color-mix(in srgb, var(--dashboard-v2-role-color, #0284c7) 11%, #ffffff 89%);
    color: color-mix(in srgb, var(--dashboard-v2-role-color, #0284c7) 72%, #172033 28%);
  }

  html[data-theme="light"] .dashboard-home-widget-catalog__size.is-current:not(.is-active),
  body[data-theme="light"] .dashboard-home-widget-catalog__size.is-current:not(.is-active) {
    border-color: rgba(34, 197, 94, .28);
    background: rgba(240, 253, 244, .86);
    color: #047857;
  }

  html[data-theme="light"] .dashboard-home-widget-catalog__size.is-current:not(.is-active)::after,
  body[data-theme="light"] .dashboard-home-widget-catalog__size.is-current:not(.is-active)::after {
    background: #22c55e;
    box-shadow: 0 0 9px rgba(34, 197, 94, .28);
  }

  html[data-theme="light"] .dashboard-home-widget-catalog__item.is-active .dashboard-home-widget-catalog__state,
  body[data-theme="light"] .dashboard-home-widget-catalog__item.is-active .dashboard-home-widget-catalog__state {
    border-color: rgba(34, 197, 94, .24);
    background: rgba(240, 253, 244, .80);
    color: #047857;
  }

  html[data-theme="light"] .dashboard-home-widget-catalog__action,
  body[data-theme="light"] .dashboard-home-widget-catalog__action {
    border-color: rgba(34, 197, 94, .28);
    background: rgba(240, 253, 244, .82);
    color: #15803d;
  }

  html[data-theme="light"] .dashboard-home-widget-catalog__action--replace,
  body[data-theme="light"] .dashboard-home-widget-catalog__action--replace {
    border-color: color-mix(in srgb, var(--dashboard-v2-role-color, #0284c7) 38%, rgba(148,163,184,.26));
    background: color-mix(in srgb, var(--dashboard-v2-role-color, #0284c7) 10%, #ffffff 90%);
    color: color-mix(in srgb, var(--dashboard-v2-role-color, #0284c7) 72%, #172033 28%);
  }

  html[data-theme="light"] .dashboard-home-widget-catalog__action--remove,
  body[data-theme="light"] .dashboard-home-widget-catalog__action--remove {
    border-color: rgba(239, 68, 68, .26);
    background: rgba(255, 241, 242, .78);
    color: #b91c1c;
  }

  html[data-theme="light"] .dashboard-home-widget-catalog__size:disabled,
  html[data-theme="light"] .dashboard-home-widget-catalog__action:disabled,
  body[data-theme="light"] .dashboard-home-widget-catalog__size:disabled,
  body[data-theme="light"] .dashboard-home-widget-catalog__action:disabled {
    opacity: .42;
  }

  html[data-theme="light"] .dashboard-home-widget-catalog-preview--empty,
  body[data-theme="light"] .dashboard-home-widget-catalog-preview--empty {
    border-color: color-mix(in srgb, var(--dashboard-v2-role-color, #0284c7) 24%, rgba(148,163,184,.28));
    background: rgba(255, 255, 255, .60);
    box-shadow: 0 18px 42px rgba(15,23,42,.08), inset 0 1px 0 rgba(255,255,255,.75);
  }

  html[data-theme="light"] .dashboard-home-widget-catalog-preview__hint,
  body[data-theme="light"] .dashboard-home-widget-catalog-preview__hint {
    color: #334155;
  }

  html[data-theme="light"] .dashboard-home-widget-catalog-preview__hint span,
  body[data-theme="light"] .dashboard-home-widget-catalog-preview__hint span {
    color: rgba(71, 85, 105, .78);
  }
}

/* V48.6.5 — Dashboard V2 mobile : aperçu Widgets centré dans la zone haute et menu compact. */
@media (max-width: 1023px) {
  .dashboard-home-sheet--widgets {
    grid-template-rows: minmax(0, 1fr) auto !important;
    gap: clamp(.52rem, 1.8dvh, .72rem) !important;
  }

  .dashboard-home-sheet--widgets .dashboard-home-sheet__preview {
    overflow: hidden !important;
    padding: clamp(.45rem, 1.6dvh, .8rem) .2rem !important;
  }

  .dashboard-home-sheet--widgets .dashboard-home-sheet__preview > .dashboard-home-widget-catalog-preview:not(.dashboard-home-widget-catalog-preview--empty) {
    align-self: center !important;
    justify-self: center !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
  }

  .dashboard-home-widget-catalog-preview:not(.dashboard-home-widget-catalog-preview--empty) .dashboard-home-widget-catalog-preview__context,
  body.is-dashboard-shell-visible .dashboard-home-widget-catalog-preview__context#dashboard-view > .dashboard-v2--native-mobile.dashboard-v2--widget-preview {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
  }

  .dashboard-home-widget-catalog-preview__grid {
    max-width: 100% !important;
    max-height: 100% !important;
  }

  .dashboard-home-sheet--widgets .dashboard-home-sheet__panel {
    max-height: min(38dvh, 19.35rem) !important;
    padding: .78rem .78rem .72rem !important;
    gap: .68rem !important;
  }

  .dashboard-home-sheet--widgets .dashboard-home-sheet__header h2 {
    font-size: 1.22rem;
  }

  .dashboard-home-sheet--widgets .dashboard-home-sheet__close {
    width: 2.05rem;
    height: 2.05rem;
    border-radius: .78rem;
  }

  .dashboard-home-sheet--widgets .dashboard-home-widget-catalog {
    max-height: calc((4.25rem * 3) + (.62rem * 2) + .15rem);
    overflow-y: auto;
    padding-right: 0 !important;
    scrollbar-width: none;
  }

  .dashboard-home-sheet--widgets .dashboard-home-widget-catalog::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }
}

/* V48.6.6 — Dashboard V2 mobile : centrage réel des aperçus Widgets dans la zone haute. */
@media (max-width: 1023px) {
  .dashboard-home-sheet--widgets .dashboard-home-sheet__preview {
    position: relative !important;
    display: block !important;
    overflow: hidden !important;
  }

  .dashboard-home-sheet--widgets .dashboard-home-sheet__preview > .dashboard-home-widget-catalog-preview {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    align-self: auto !important;
    justify-self: auto !important;
    margin: 0 !important;
    transform: translate3d(-50%, -50%, 0) !important;
  }

  .dashboard-home-widget-catalog-preview__context#dashboard-view {
    position: static !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body.is-dashboard-shell-visible .dashboard-home-widget-catalog-preview__context#dashboard-view > .dashboard-v2--native-mobile.dashboard-v2--widget-preview {
    position: static !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    animation: none !important;
    overflow: visible !important;
  }

  .dashboard-home-widget-catalog-preview__grid {
    margin: 0 !important;
    transform: none !important;
  }
}

/* V48.7.2 — Dashboard V2 mobile : page Infos orientée coordonnées. */
@media (max-width: 1023px) {
  .dashboard-mobile-footer {
    display: flex;
    width: min(100%, 23.5rem);
    padding: 1.05rem;
    flex-direction: column;
    align-items: stretch;
    gap: .72rem;
  }

  .dashboard-mobile-footer__logo {
    display: block;
    width: min(14rem, 78%);
    height: 4.25rem;
    margin: 0 auto .1rem;
    border-radius: 0;
    color: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 86%, white 10%);
    background: transparent;
    box-shadow: none;
  }

  .dashboard-mobile-footer__logo-mark {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, currentColor, color-mix(in srgb, currentColor 72%, white 22%));
    -webkit-mask: url('../../img/logo.svg') center / contain no-repeat;
    mask: url('../../img/logo.svg') center / contain no-repeat;
    filter: drop-shadow(0 14px 28px color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 20%, transparent));
  }

  .dashboard-mobile-footer h2 {
    margin-top: -.12rem;
    font-size: 1.08rem;
    line-height: 1.12;
  }

  .dashboard-mobile-footer > p {
    margin-top: -.36rem;
  }

  .dashboard-mobile-footer__access-grid {
    display: none !important;
  }

  .dashboard-mobile-footer__contact-list {
    display: grid;
    gap: .42rem;
    margin-top: .08rem;
    text-align: left;
  }

  .dashboard-mobile-footer__contact-item {
    display: grid;
    grid-template-columns: 2.05rem minmax(0, 1fr);
    gap: .55rem;
    align-items: center;
    min-height: 2.78rem;
    padding: .55rem .62rem;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 1rem;
    color: inherit;
    background: rgba(255, 255, 255, .055);
    text-decoration: none;
  }

  .dashboard-mobile-footer__contact-item.is-muted {
    opacity: .74;
  }

  .dashboard-mobile-footer__contact-icon {
    display: grid;
    width: 2.05rem;
    height: 2.05rem;
    place-items: center;
    border-radius: .8rem;
    background: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 14%, transparent);
    color: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 86%, white 8%);
    font-size: .98rem;
  }

  .dashboard-mobile-footer__contact-body {
    display: grid;
    gap: .08rem;
    min-width: 0;
  }

  .dashboard-mobile-footer__contact-body span {
    color: var(--dashboard-v2-muted);
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .09em;
    line-height: 1;
    text-transform: uppercase;
  }

  .dashboard-mobile-footer__contact-body strong {
    overflow: hidden;
    color: var(--dashboard-v2-text, #f8fafc);
    font-size: .74rem;
    font-weight: 900;
    line-height: 1.18;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dashboard-mobile-footer__socials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
    margin-top: .02rem;
  }

  .dashboard-mobile-footer__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .42rem;
    min-height: 2.45rem;
    padding: .5rem .62rem;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: .95rem;
    color: inherit;
    background: rgba(255, 255, 255, .055);
    font-size: .72rem;
    font-weight: 900;
    text-decoration: none;
  }

  .dashboard-mobile-footer__social--facebook i {
    color: #60a5fa;
  }

  .dashboard-mobile-footer__social--instagram i {
    color: #f472b6;
  }

  .dashboard-mobile-footer__social--tiktok i {
    color: #e2e8f0;
  }

  .dashboard-mobile-footer__links {
    margin-top: .02rem;
  }

  html[data-theme="light"] .dashboard-mobile-footer__contact-item,
  body[data-theme="light"] .dashboard-mobile-footer__contact-item,
  html[data-theme="light"] .dashboard-mobile-footer__social,
  body[data-theme="light"] .dashboard-mobile-footer__social {
    border-color: rgba(148, 163, 184, .22);
    background: rgba(248, 250, 252, .72);
  }

  html[data-theme="light"] .dashboard-mobile-footer__contact-body strong,
  body[data-theme="light"] .dashboard-mobile-footer__contact-body strong {
    color: #0f172a;
  }
}

/* V48.7.3 — Dashboard V2 mobile : page Infos contrastée et actions coordonnées. */
@media (max-width: 1023px) {
  .dashboard-mobile-footer__contact-item {
    appearance: none;
    width: 100%;
    border: 1px solid rgba(148, 163, 184, .18);
    font: inherit;
    cursor: pointer;
  }

  .dashboard-mobile-footer__contact-item[data-menu-open="1"] {
    border-color: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 64%, rgba(148, 163, 184, .22));
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 18%, transparent), 0 14px 36px rgba(0, 0, 0, .18);
  }

  .dashboard-mobile-footer__contact-cue {
    display: grid;
    width: 1.3rem;
    height: 1.3rem;
    place-items: center;
    border-radius: 999px;
    color: color-mix(in srgb, var(--dashboard-v2-muted, #94a3b8) 72%, var(--dashboard-v2-text, #f8fafc));
    font-size: .86rem;
  }

  .dashboard-mobile-footer__contact-item {
    grid-template-columns: 2.05rem minmax(0, 1fr) auto;
  }

  .dashboard-mobile-footer__socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.1rem;
    margin-top: .08rem;
  }

  .dashboard-mobile-footer__social {
    width: 2.7rem;
    height: 2.7rem;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    font-size: 1.45rem;
  }

  .dashboard-mobile-footer__social i {
    line-height: 1;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .22));
  }

  .dashboard-mobile-footer-menu {
    position: fixed;
    z-index: 4800;
    display: grid;
    gap: .42rem;
    padding: .55rem;
    border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 44%, rgba(148, 163, 184, .28));
    border-radius: 1.05rem;
    color: var(--dashboard-v2-text, #f8fafc);
    background: color-mix(in srgb, #020617 84%, var(--dashboard-v2-role-color, #38bdf8) 8%);
    box-shadow: 0 22px 48px rgba(0, 0, 0, .34), 0 0 0 1px rgba(255, 255, 255, .04) inset;
    opacity: 0;
    transform: translateY(6px) scale(.985);
    transform-origin: top center;
    transition: opacity 140ms ease, transform 140ms ease;
    backdrop-filter: blur(20px) saturate(1.2);
  }

  .dashboard-mobile-footer-menu.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .dashboard-mobile-footer-menu__header {
    display: grid;
    gap: .12rem;
    padding: .38rem .46rem .3rem;
  }

  .dashboard-mobile-footer-menu__header span {
    color: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 86%, white 8%);
    font-size: .62rem;
    font-weight: 950;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  .dashboard-mobile-footer-menu__header strong {
    overflow: hidden;
    font-size: .78rem;
    font-weight: 900;
    line-height: 1.18;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dashboard-mobile-footer-menu__actions {
    display: grid;
    gap: .28rem;
  }

  .dashboard-mobile-footer-menu__item {
    display: grid;
    grid-template-columns: 1.95rem minmax(0, 1fr);
    gap: .48rem;
    align-items: center;
    min-height: 2.42rem;
    padding: .44rem .54rem;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: .82rem;
    color: inherit;
    background: rgba(255, 255, 255, .06);
    font: inherit;
    font-size: .76rem;
    font-weight: 900;
    text-align: left;
  }

  .dashboard-mobile-footer-menu__item i {
    display: grid;
    width: 1.95rem;
    height: 1.95rem;
    place-items: center;
    border-radius: .72rem;
    color: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 88%, white 8%);
    background: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 16%, transparent);
    font-size: .95rem;
  }

  .dashboard-mobile-footer-menu__item.is-disabled,
  .dashboard-mobile-footer-menu__item:disabled {
    cursor: default;
    opacity: .62;
  }

  html[data-theme="light"] .dashboard-mobile-footer,
  body[data-theme="light"] .dashboard-mobile-footer {
    border-color: rgba(59, 130, 246, .16);
  }

  html[data-theme="light"] .dashboard-mobile-footer__logo,
  body[data-theme="light"] .dashboard-mobile-footer__logo {
    color: color-mix(in srgb, var(--dashboard-v2-role-color, #0284c7) 58%, #0f172a 42%);
  }

  html[data-theme="light"] .dashboard-mobile-footer__logo-mark,
  body[data-theme="light"] .dashboard-mobile-footer__logo-mark {
    background: linear-gradient(135deg, currentColor, color-mix(in srgb, currentColor 78%, #0f172a 12%));
    filter: drop-shadow(0 10px 20px color-mix(in srgb, var(--dashboard-v2-role-color, #0284c7) 18%, transparent));
  }

  html[data-theme="light"] .dashboard-mobile-footer__contact-icon,
  body[data-theme="light"] .dashboard-mobile-footer__contact-icon {
    color: color-mix(in srgb, var(--dashboard-v2-role-color, #0284c7) 72%, #0f172a 28%);
    background: color-mix(in srgb, var(--dashboard-v2-role-color, #0284c7) 13%, #e2e8f0 87%);
  }

  html[data-theme="light"] .dashboard-mobile-footer__contact-body span,
  body[data-theme="light"] .dashboard-mobile-footer__contact-body span {
    color: #64748b;
  }

  html[data-theme="light"] .dashboard-mobile-footer__contact-cue,
  body[data-theme="light"] .dashboard-mobile-footer__contact-cue {
    color: #475569;
  }

  html[data-theme="light"] .dashboard-mobile-footer__social,
  body[data-theme="light"] .dashboard-mobile-footer__social {
    background: transparent;
    border-color: transparent;
  }

  html[data-theme="light"] .dashboard-mobile-footer__social--facebook i,
  body[data-theme="light"] .dashboard-mobile-footer__social--facebook i {
    color: #1d4ed8;
  }

  html[data-theme="light"] .dashboard-mobile-footer__social--instagram i,
  body[data-theme="light"] .dashboard-mobile-footer__social--instagram i {
    color: #be185d;
  }

  html[data-theme="light"] .dashboard-mobile-footer-menu,
  body[data-theme="light"] .dashboard-mobile-footer-menu {
    border-color: color-mix(in srgb, var(--dashboard-v2-role-color, #0284c7) 34%, rgba(148, 163, 184, .34));
    color: #0f172a;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 22px 48px rgba(15, 23, 42, .18), 0 0 0 1px rgba(255, 255, 255, .8) inset;
  }

  html[data-theme="light"] .dashboard-mobile-footer-menu__header span,
  body[data-theme="light"] .dashboard-mobile-footer-menu__header span,
  html[data-theme="light"] .dashboard-mobile-footer-menu__item i,
  body[data-theme="light"] .dashboard-mobile-footer-menu__item i {
    color: color-mix(in srgb, var(--dashboard-v2-role-color, #0284c7) 70%, #0f172a 30%);
  }

  html[data-theme="light"] .dashboard-mobile-footer-menu__item,
  body[data-theme="light"] .dashboard-mobile-footer-menu__item {
    border-color: rgba(148, 163, 184, .24);
    background: rgba(248, 250, 252, .92);
  }

  html[data-theme="light"] .dashboard-mobile-footer-menu__item i,
  body[data-theme="light"] .dashboard-mobile-footer-menu__item i {
    background: color-mix(in srgb, var(--dashboard-v2-role-color, #0284c7) 11%, #e2e8f0 89%);
  }
}

/* V48.7.5 — Dashboard V2 mobile : liens Infos et point pagination final coloré. */
@media (max-width: 1023px) {
  .dashboard-mobile-footer__links a {
    color: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 72%, #e2e8f0 28%);
    font-weight: 900;
  }

  html[data-theme="light"] .dashboard-mobile-footer__links a,
  body[data-theme="light"] .dashboard-mobile-footer__links a {
    color: color-mix(in srgb, var(--dashboard-v2-role-color, #0284c7) 58%, #0f172a 42%);
  }

  .dashboard-mobile-page-dot--info {
    background: rgba(251, 191, 36, .44) !important;
    box-shadow: 0 0 0 1px rgba(251, 191, 36, .16), 0 0 14px rgba(251, 191, 36, .08);
  }

  .dashboard-mobile-page-dot--info.is-active {
    width: 1.55rem !important;
    background: linear-gradient(90deg, #f59e0b, #fbbf24) !important;
    box-shadow: 0 0 0 1px rgba(251, 191, 36, .22), 0 0 18px rgba(251, 191, 36, .20);
  }

  html[data-theme="light"] .dashboard-mobile-page-dot--info,
  body[data-theme="light"] .dashboard-mobile-page-dot--info {
    background: rgba(217, 119, 6, .30) !important;
    box-shadow: 0 0 0 1px rgba(217, 119, 6, .10);
  }

  html[data-theme="light"] .dashboard-mobile-page-dot--info.is-active,
  body[data-theme="light"] .dashboard-mobile-page-dot--info.is-active {
    background: linear-gradient(90deg, #d97706, #f59e0b) !important;
    box-shadow: 0 0 0 1px rgba(217, 119, 6, .20), 0 0 18px rgba(217, 119, 6, .18);
  }
}

/* =========================================================
 * V48.9.0 - Dashboard V2 tablette/PC : socle de généralisation
 * =======================================================*/
@media (min-width: 768px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) {
    min-height: 100dvh;
    padding-bottom: clamp(2.4rem, 4vw, 4.4rem) !important;
    background:
      radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 13%, transparent), transparent 32%),
      radial-gradient(circle at 86% 8%, rgba(14, 165, 233, 0.10), transparent 30%);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) > .dashboard-v2-hero {
    min-height: clamp(245px, 22vw, 365px) !important;
    align-items: center !important;
    box-shadow: 0 24px 70px rgba(2, 6, 23, 0.24) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-hero__main {
    display: grid;
    align-content: center;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-hero__portrait {
    align-self: center !important;
    margin-top: 0 !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-hero__actions {
    align-self: start !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-hero-button--legacy {
    display: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-grid--desktop-tablet {
    grid-auto-flow: dense !important;
    gap: clamp(0.82rem, 1.25vw, 1.08rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-card--school-info {
    grid-column: span 5;
    min-height: 0;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-card--school-info::before {
    background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--dashboard-v2-cyan) 82%, transparent) 50%, transparent 100%) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-info-card {
    display: grid;
    gap: 0.78rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-info-card__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    padding: 0.78rem;
    border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 18%, var(--dashboard-v2-border-soft) 82%);
    border-radius: 1.15rem;
    background: color-mix(in srgb, var(--dashboard-v2-surface-strong) 70%, transparent);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-info-card__logo {
    flex: 0 0 auto;
    width: 3.05rem;
    height: 3.05rem;
    border-radius: 1rem;
    background:
      linear-gradient(135deg, rgba(255,255,255,.58), rgba(255,255,255,.04)),
      url('../../img/logo.svg') center / 78% auto no-repeat,
      color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 16%, transparent);
    border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 24%, transparent);
    box-shadow: 0 14px 34px color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 14%, transparent);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-info-card__brand span:not(.dashboard-v2-info-card__logo) {
    display: grid;
    gap: 0.1rem;
    min-width: 0;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-info-card__brand strong {
    color: var(--dashboard-v2-text);
    font-size: 0.96rem;
    line-height: 1.16;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-info-card__brand em {
    color: var(--dashboard-v2-muted);
    font-size: 0.76rem;
    font-style: normal;
    font-weight: 780;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-info-card__contacts {
    display: grid;
    gap: 0.55rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-info-contact {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.66rem;
    width: 100%;
    min-height: 3.1rem;
    padding: 0.55rem 0.68rem;
    border: 1px solid color-mix(in srgb, var(--dashboard-v2-border-soft) 82%, transparent);
    border-radius: 1rem;
    color: var(--dashboard-v2-text);
    background: color-mix(in srgb, var(--dashboard-v2-surface-strong) 58%, transparent);
    text-align: left;
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-info-contact:hover,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-info-contact:focus-visible {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 34%, var(--dashboard-v2-border-soft) 66%);
    background: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 9%, var(--dashboard-v2-surface-strong));
    box-shadow: 0 14px 34px color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 11%, transparent);
    outline: none;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-info-contact__icon {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.82rem;
    color: var(--dashboard-v2-role-color, #38bdf8);
    background: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 14%, transparent);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-info-contact__body {
    display: grid;
    gap: 0.05rem;
    min-width: 0;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-info-contact__body span {
    color: color-mix(in srgb, var(--dashboard-v2-muted) 86%, var(--dashboard-v2-role-color, #38bdf8));
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-info-contact__body strong {
    overflow: hidden;
    color: var(--dashboard-v2-text);
    font-size: 0.84rem;
    line-height: 1.15;
    text-overflow: ellipsis;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-info-contact.is-empty .dashboard-v2-info-contact__body strong {
    color: var(--dashboard-v2-muted);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-info-contact__more {
    color: color-mix(in srgb, var(--dashboard-v2-muted) 74%, transparent);
    font-size: 1rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-info-card__socials {
    display: flex;
    justify-content: center;
    gap: 0.86rem;
    padding-top: 0.15rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-info-social {
    display: grid;
    place-items: center;
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 999px;
    color: var(--dashboard-v2-role-color, #38bdf8);
    text-decoration: none;
    background: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 12%, transparent);
    transition: transform 160ms ease, background 160ms ease;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-info-social:hover,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-info-social:focus-visible {
    transform: translateY(-1px) scale(1.04);
    background: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 18%, transparent);
    outline: none;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-info-social--facebook {
    color: #2563eb;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-info-social--instagram {
    color: #be185d;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-info-card__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem 0.75rem;
    padding-top: 0.08rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-info-card__legal a {
    color: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 78%, var(--dashboard-v2-text) 22%);
    font-size: 0.76rem;
    font-weight: 900;
    text-decoration: none;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-info-card__legal a:hover,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-info-card__legal a:focus-visible {
    text-decoration: underline;
    outline: none;
  }
}

@media (min-width: 1024px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-widget--course-carousel {
    grid-column: span 7 !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-card--event-carousel {
    grid-column: span 5 !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-card--admin,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-card--gala,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-card--quick {
    grid-column: span 7 !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 2.2rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) > .dashboard-v2-hero {
    min-height: clamp(210px, 27vw, 285px) !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    padding: calc(var(--app-header-safe-height, 64px) + 1.25rem) var(--dashboard-v2-content-gutter, 1rem) 1.35rem !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-hero__actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-grid--desktop-tablet {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-grid--desktop-tablet > * {
    grid-column: span 1 !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-widget--course-carousel,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-card--event-carousel {
    grid-column: 1 / -1 !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-card--school-info,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2:not(.dashboard-v2--native-mobile) .dashboard-v2-card--quick {
    grid-column: span 1 !important;
  }
}

/* =========================================================
 * V48.9.1 - Dashboard V2 natif également sur tablette
 * =======================================================*/
@media (min-width: 768px) and (max-width: 1023px) {
  body.is-dashboard-shell-visible:has(#dashboard-view > .dashboard-v2--native-mobile) {
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }

  body.is-dashboard-shell-visible:has(#dashboard-view > .dashboard-v2--native-mobile) .dashboard-sidebar {
    display: none !important;
  }

  body.is-dashboard-shell-visible:has(#dashboard-view > .dashboard-v2--native-mobile) .dashboard-app-main,
  body.is-dashboard-shell-visible:has(#dashboard-view > .dashboard-v2--native-mobile) #dashboard-view {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile {
    --dashboard-mobile-navbar-height: clamp(5.4rem, 8.6vw, 6.8rem);
    --dashboard-mobile-hero-height: 0rem;
    --dashboard-mobile-dots-height: clamp(1.55rem, 2.2vw, 1.9rem);
    --dashboard-mobile-page-padding-x: clamp(2rem, 6vw, 4.4rem);
    --dashboard-mobile-page-col-gap: clamp(1rem, 2.8vw, 1.65rem);
    --dashboard-mobile-page-row-gap: clamp(1.15rem, 2.45vw, 1.65rem);
    --dashboard-mobile-cell-size: min(
      calc((100vw - (var(--dashboard-mobile-page-padding-x) * 2) - (var(--dashboard-mobile-page-col-gap) * 3)) / 4),
      calc((100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - var(--dashboard-mobile-navbar-height) - var(--dashboard-mobile-dots-height) - 0.7rem - (var(--dashboard-mobile-page-row-gap) * 5)) / 6)
    );
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    padding-top: calc(env(safe-area-inset-top, 0px) + var(--dashboard-mobile-navbar-height)) !important;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + var(--dashboard-mobile-dots-height) + 0.25rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-pager {
    width: 100vw !important;
    height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - var(--dashboard-mobile-navbar-height) - var(--dashboard-mobile-dots-height) - 0.25rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page {
    flex: 0 0 100vw !important;
    width: 100vw !important;
    display: grid !important;
    align-content: start !important;
    justify-items: center !important;
    padding-inline: var(--dashboard-mobile-page-padding-x) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page__grid {
    grid-template-columns: repeat(4, var(--dashboard-mobile-cell-size)) !important;
    grid-template-rows: repeat(6, var(--dashboard-mobile-cell-size)) !important;
    column-gap: var(--dashboard-mobile-page-col-gap) !important;
    row-gap: var(--dashboard-mobile-page-row-gap) !important;
    width: calc((var(--dashboard-mobile-cell-size) * 4) + (var(--dashboard-mobile-page-col-gap) * 3)) !important;
    height: calc((var(--dashboard-mobile-cell-size) * 6) + (var(--dashboard-mobile-page-row-gap) * 5)) !important;
    max-width: 100% !important;
    margin-inline: auto !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-app-icon__glyph {
    width: clamp(4.9rem, calc(var(--dashboard-mobile-cell-size) * 0.64), 6.85rem) !important;
    height: clamp(4.9rem, calc(var(--dashboard-mobile-cell-size) * 0.64), 6.85rem) !important;
    border-radius: clamp(1.45rem, calc(var(--dashboard-mobile-cell-size) * 0.16), 2rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-app-icon__glyph i {
    font-size: clamp(1.85rem, calc(var(--dashboard-mobile-cell-size) * 0.22), 2.65rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-app-icon__label,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-widget__label {
    font-size: clamp(0.86rem, calc(var(--dashboard-mobile-cell-size) * 0.092), 1.06rem) !important;
    max-width: min(100%, calc(var(--dashboard-mobile-cell-size, 6rem) * 1.28)) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page__tile--2x2 .dashboard-mobile-widget__label,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page__tile--4x2 .dashboard-mobile-widget__label,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page__tile--4x4 .dashboard-mobile-widget__label {
    max-width: min(100%, calc(var(--dashboard-mobile-cell-size, 6rem) * 2.4)) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page-dots {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 0.48rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page-dot {
    width: clamp(0.62rem, 1.3vw, 0.82rem) !important;
    height: clamp(0.62rem, 1.3vw, 0.82rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page-dot.is-active {
    width: clamp(1.9rem, 4.4vw, 2.85rem) !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-tablet-mode.has-custom-center,
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center {
    min-height: clamp(4.7rem, 7.5vw, 5.8rem) !important;
    padding-inline: clamp(1.35rem, 4.2vw, 3.3rem) !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-tablet-mode.has-custom-center .mobile-shell-navbar__center.has-custom-center,
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__center.has-custom-center {
    min-width: 0 !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-tablet-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar,
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar {
    height: clamp(2.78rem, 4.3vw, 3.25rem) !important;
    max-width: min(42rem, 72vw) !important;
    font-size: clamp(0.94rem, 1.45vw, 1.08rem) !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-tablet-mode.has-custom-center .mobile-shell-navbar__right .mobile-shell-navbar__btn,
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__right .mobile-shell-navbar__btn {
    width: clamp(2.9rem, 4.5vw, 3.35rem) !important;
    height: clamp(2.9rem, 4.5vw, 3.35rem) !important;
  }
}

/* =========================================================
 * V48.9.2 - Dashboard V2 tablette : grille native adaptative
 * =======================================================*/
@media (min-width: 768px) and (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile {
    --dashboard-mobile-page-padding-x: var(--dashboard-mobile-adaptive-padding-x, clamp(2.25rem, 6vw, 4.5rem)) !important;
    --dashboard-mobile-page-col-gap: var(--dashboard-mobile-adaptive-col-gap, 1.375rem) !important;
    --dashboard-mobile-page-row-gap: var(--dashboard-mobile-adaptive-row-gap, 1.375rem) !important;
    --dashboard-mobile-cell-size: var(--dashboard-mobile-adaptive-cell-size, 8.25rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page {
    align-content: center !important;
    justify-items: center !important;
    padding-inline: var(--dashboard-mobile-page-padding-x) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page__grid {
    grid-template-columns: repeat(var(--dashboard-home-grid-cols, 4), var(--dashboard-mobile-cell-size)) !important;
    grid-template-rows: repeat(var(--dashboard-home-grid-rows, 4), var(--dashboard-mobile-cell-size)) !important;
    column-gap: var(--dashboard-mobile-page-col-gap) !important;
    row-gap: var(--dashboard-mobile-page-row-gap) !important;
    width: var(--dashboard-mobile-grid-width, auto) !important;
    height: var(--dashboard-mobile-grid-height, auto) !important;
    max-width: calc(100vw - (var(--dashboard-mobile-page-padding-x) * 2)) !important;
    max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - var(--dashboard-mobile-navbar-height) - var(--dashboard-mobile-dots-height) - 0.65rem) !important;
    margin: auto !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-app-icon__glyph {
    width: clamp(4.65rem, calc(var(--dashboard-mobile-cell-size) * 0.66), 6.2rem) !important;
    height: clamp(4.65rem, calc(var(--dashboard-mobile-cell-size) * 0.66), 6.2rem) !important;
    border-radius: clamp(1.4rem, calc(var(--dashboard-mobile-cell-size) * 0.16), 1.85rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-app-icon__glyph i {
    font-size: clamp(1.75rem, calc(var(--dashboard-mobile-cell-size) * 0.23), 2.42rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-app-icon__label,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-widget__label {
    font-size: clamp(0.88rem, calc(var(--dashboard-mobile-cell-size) * 0.096), 1.04rem) !important;
    max-width: min(100%, calc(var(--dashboard-mobile-cell-size, 7rem) * 1.18)) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page__tile--2x2 .dashboard-mobile-widget__label,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page__tile--4x2 .dashboard-mobile-widget__label,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page__tile--4x4 .dashboard-mobile-widget__label {
    max-width: min(100%, calc(var(--dashboard-mobile-cell-size, 7rem) * 2.55)) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page-dots {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 0.58rem) !important;
  }
}


/* =========================================================
 * V48.9.4 - Dashboard V2 tablette : cases affinées + page Infos fluide
 * =======================================================*/
@media (min-width: 768px) and (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-page--footer {
    display: grid !important;
    place-items: center !important;
    padding-inline: clamp(2rem, 5vw, 4rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-footer {
    width: min(calc(100vw - clamp(4rem, 9vw, 7rem)), clamp(28rem, 70vw, 42rem)) !important;
    max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - var(--dashboard-mobile-navbar-height) - var(--dashboard-mobile-dots-height) - 1.5rem) !important;
    padding: clamp(1.15rem, 2.1vw, 1.7rem) !important;
    gap: clamp(0.68rem, 1.25vw, 0.95rem) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    scrollbar-width: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-footer::-webkit-scrollbar {
    display: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-footer__logo {
    width: clamp(14.5rem, 33vw, 20rem) !important;
    height: clamp(4.45rem, 8.5vw, 6rem) !important;
    margin-bottom: clamp(0rem, 0.5vw, 0.22rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-footer h2 {
    font-size: clamp(1.16rem, 2.15vw, 1.55rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-footer > p {
    font-size: clamp(0.82rem, 1.35vw, 0.98rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-footer__contact-list {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)) !important;
    gap: clamp(0.5rem, 1vw, 0.72rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-footer__contact-item {
    min-height: clamp(3rem, 5.1vw, 3.45rem) !important;
    padding: clamp(0.58rem, 1vw, 0.78rem) clamp(0.68rem, 1.25vw, 0.95rem) !important;
    border-radius: clamp(1rem, 1.55vw, 1.25rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-footer__contact-icon {
    width: clamp(2.1rem, 3.6vw, 2.55rem) !important;
    height: clamp(2.1rem, 3.6vw, 2.55rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-footer__contact-body strong {
    font-size: clamp(0.76rem, 1.15vw, 0.9rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-footer__socials {
    gap: clamp(1rem, 2.2vw, 1.6rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-footer__social {
    width: clamp(2.8rem, 4.8vw, 3.4rem) !important;
    height: clamp(2.8rem, 4.8vw, 3.4rem) !important;
    font-size: clamp(1.45rem, 2.7vw, 1.95rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-footer__links {
    gap: 0.42rem 0.95rem !important;
    font-size: clamp(0.72rem, 1.15vw, 0.86rem) !important;
  }
}

/* V48.9.5 — Dashboard V2 tablette : coordonnées Infos verticales. */
@media (min-width: 768px) and (max-width: 1023px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-footer__contact-list {
    grid-template-columns: minmax(0, min(100%, 31rem)) !important;
    justify-content: center !important;
    align-items: stretch !important;
    width: 100% !important;
    margin-inline: auto !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-footer__contact-item {
    width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: clamp(2.2rem, 3.6vw, 2.55rem) minmax(0, 1fr) auto !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-footer__contact-body {
    justify-items: center !important;
    text-align: center !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--native-mobile .dashboard-mobile-footer__contact-body strong {
    max-width: 100% !important;
  }
}

/* =========================================================
 * V48.9.7 - Dashboard V2 mobile/tablette : navbar recherche panels
 * =======================================================*/
@media (max-width: 1023px) {
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.has-custom-center {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: clamp(.34rem, 1.5vw, .58rem) !important;
    padding-inline: clamp(.72rem, 3.4vw, 2.35rem) !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.has-custom-center .mobile-shell-navbar__left {
    display: none !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.has-custom-center .mobile-shell-navbar__center.has-custom-center {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    grid-column: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    justify-content: stretch !important;
    z-index: 1 !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.has-custom-center .mobile-shell-navbar__right {
    grid-column: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: clamp(.26rem, 1vw, .42rem) !important;
    min-width: 0 !important;
    z-index: 2 !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar.courses-searchbar--navbar {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: clamp(2.38rem, 4vw, 2.84rem) !important;
    min-height: clamp(2.38rem, 4vw, 2.84rem) !important;
    max-height: clamp(2.38rem, 4vw, 2.84rem) !important;
    border-radius: 999px !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.has-custom-center .mobile-shell-navbar__right .mobile-shell-navbar__btn {
    flex: 0 0 auto !important;
    width: clamp(2.38rem, 4vw, 2.84rem) !important;
    height: clamp(2.38rem, 4vw, 2.84rem) !important;
    min-width: clamp(2.38rem, 4vw, 2.84rem) !important;
    min-height: clamp(2.38rem, 4vw, 2.84rem) !important;
    max-width: clamp(2.38rem, 4vw, 2.84rem) !important;
    max-height: clamp(2.38rem, 4vw, 2.84rem) !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.has-custom-center .mobile-shell-navbar__right .mobile-shell-navbar__btn[data-mobile-shell-system-action="notifications"],
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.has-custom-center .mobile-shell-navbar__right .mobile-shell-navbar__btn[data-mobile-shell-system-action="chat"] {
    display: inline-grid !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.has-custom-center .mobile-shell-navbar__right .mobile-shell-navbar__btn[data-mobile-shell-menu-trigger="1"] {
    display: inline-grid !important;
  }

  .courses-smart-suggestions.is-portal.dashboard-native-smartbar__suggestions {
    max-height: min(var(--ui-smartbar-suggest-max-height, 360px), 52dvh) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .courses-smart-suggestions.is-portal.dashboard-native-smartbar__suggestions .dashboard-native-smartbar__suggestion {
    min-height: clamp(3rem, 5.2vw, 3.55rem) !important;
  }

  body.dashboard-native-smartbar-is-open .mobile-shell-navbar.is-dashboard-native-home.has-custom-center {
    z-index: 4340 !important;
    isolation: isolate !important;
  }

  body.dashboard-native-smartbar-is-open .mobile-shell-navbar.is-dashboard-native-home.has-custom-center .mobile-shell-navbar__center.has-custom-center {
    position: relative !important;
    z-index: 4350 !important;
    pointer-events: auto !important;
  }

  body.dashboard-native-smartbar-is-open .mobile-shell-navbar.is-dashboard-native-home.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar {
    z-index: 4360 !important;
    filter: none !important;
    opacity: 1 !important;
  }

  body.dashboard-native-smartbar-is-open .courses-smart-suggestions.is-portal.dashboard-native-smartbar__suggestions {
    z-index: 4370 !important;
  }

  body.dashboard-native-smartbar-is-open .dashboard-native-smartbar__outside-blocker {
    z-index: 4290 !important;
  }

  body.dashboard-native-smartbar-is-open .mobile-shell-navbar.is-dashboard-native-home.has-custom-center .mobile-shell-navbar__right {
    pointer-events: none !important;
  }
}

@media (max-width: 430px) {
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.has-custom-center {
    gap: .28rem !important;
    padding-inline: .64rem !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.has-custom-center .mobile-shell-navbar__right {
    gap: .22rem !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.has-custom-center .mobile-shell-navbar__right .mobile-shell-navbar__btn {
    width: 2.24rem !important;
    height: 2.24rem !important;
    min-width: 2.24rem !important;
    min-height: 2.24rem !important;
    max-width: 2.24rem !important;
    max-height: 2.24rem !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar.courses-searchbar--navbar {
    height: 2.24rem !important;
    min-height: 2.24rem !important;
    max-height: 2.24rem !important;
    padding-inline: .62rem .28rem !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.has-custom-center .dashboard-native-smartbar .courses-searchbar__input {
    font-size: .76rem !important;
  }
}

/* =========================================================
 * V48.9.8 - Dashboard V2 mobile/tablette : Smartbar au-dessus du scrim
 * et largeur réellement adaptée aux actions directes.
 * =======================================================*/
@media (max-width: 1023px) {
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center,
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-tablet-mode.has-custom-center {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) max-content !important;
    align-items: center !important;
    column-gap: clamp(.28rem, 1.15vw, .5rem) !important;
    padding-inline: clamp(.64rem, 3vw, 2.1rem) !important;
    overflow: visible !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__left,
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-tablet-mode.has-custom-center .mobile-shell-navbar__left {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    flex: 0 0 0 !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__center.has-custom-center,
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-tablet-mode.has-custom-center .mobile-shell-navbar__center.has-custom-center {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    grid-column: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 1 1 auto !important;
    justify-content: stretch !important;
    overflow: visible !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__right,
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-tablet-mode.has-custom-center .mobile-shell-navbar__right {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    grid-column: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: clamp(.22rem, .9vw, .42rem) !important;
    width: max-content !important;
    min-width: max-content !important;
    max-width: max-content !important;
    flex: 0 0 auto !important;
    overflow: visible !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar.courses-searchbar--navbar,
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-tablet-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar.courses-searchbar--navbar {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 1 1 auto !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__right .mobile-shell-navbar__btn,
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-tablet-mode.has-custom-center .mobile-shell-navbar__right .mobile-shell-navbar__btn {
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  .dashboard-native-smartbar__outside-blocker {
    top: var(--dashboard-smartbar-blocker-top, 0px) !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: auto !important;
  }

  body.dashboard-native-smartbar-is-open .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center,
  body.dashboard-native-smartbar-is-open .mobile-shell-navbar.is-dashboard-native-home.is-tablet-mode.has-custom-center {
    z-index: 4380 !important;
    isolation: isolate !important;
    overflow: visible !important;
  }

  body.dashboard-native-smartbar-is-open .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__center.has-custom-center,
  body.dashboard-native-smartbar-is-open .mobile-shell-navbar.is-dashboard-native-home.is-tablet-mode.has-custom-center .mobile-shell-navbar__center.has-custom-center {
    position: relative !important;
    z-index: 4390 !important;
    pointer-events: auto !important;
  }

  body.dashboard-native-smartbar-is-open .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar,
  body.dashboard-native-smartbar-is-open .mobile-shell-navbar.is-dashboard-native-home.is-tablet-mode.has-custom-center .mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar {
    position: relative !important;
    z-index: 4400 !important;
    filter: none !important;
    opacity: 1 !important;
  }

  body.dashboard-native-smartbar-is-open .courses-smart-suggestions.is-portal.dashboard-native-smartbar__suggestions {
    z-index: 4410 !important;
  }

  body.dashboard-native-smartbar-is-open .dashboard-native-smartbar__outside-blocker {
    z-index: 4300 !important;
  }
}

@media (max-width: 430px) {
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center,
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-tablet-mode.has-custom-center {
    column-gap: .24rem !important;
    padding-inline: max(.52rem, env(safe-area-inset-left, 0px) + .52rem) max(.52rem, env(safe-area-inset-right, 0px) + .52rem) !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__right,
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-tablet-mode.has-custom-center .mobile-shell-navbar__right {
    gap: .18rem !important;
  }
}


/* =========================================================
 * V48.9.10 - Dashboard V2 mobile/tablette : Smartbar promue
 * au-dessus du scrim, reste de la navbar réellement bloqué.
 * =======================================================*/
@media (max-width: 1023px) {
  body.dashboard-native-smartbar-is-open .dashboard-native-smartbar__outside-blocker {
    top: 0 !important;
    inset: 0 !important;
    z-index: 4300 !important;
  }

  body.dashboard-native-smartbar-is-open .mobile-shell-navbar.is-dashboard-native-home.has-custom-center {
    z-index: 4200 !important;
    isolation: auto !important;
    pointer-events: none !important;
  }

  body.dashboard-native-smartbar-is-open .mobile-shell-navbar.is-dashboard-native-home.has-custom-center::after {
    display: none !important;
    content: none !important;
  }

  body.dashboard-native-smartbar-is-open .mobile-shell-navbar.is-dashboard-native-home.has-custom-center .mobile-shell-navbar__center.has-custom-center,
  body.dashboard-native-smartbar-is-open .mobile-shell-navbar.is-dashboard-native-home.has-custom-center .mobile-shell-navbar__left,
  body.dashboard-native-smartbar-is-open .mobile-shell-navbar.is-dashboard-native-home.has-custom-center .mobile-shell-navbar__right {
    z-index: auto !important;
    pointer-events: none !important;
  }

  .dashboard-native-smartbar__placeholder {
    display: block !important;
    visibility: hidden !important;
    pointer-events: none !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .dashboard-native-smartbar--promoted.mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar,
  body.dashboard-native-smartbar-is-open .dashboard-native-smartbar--promoted.mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar.courses-searchbar--navbar {
    position: fixed !important;
    left: var(--dashboard-smartbar-promoted-left, 0px) !important;
    top: var(--dashboard-smartbar-promoted-top, 0px) !important;
    width: var(--dashboard-smartbar-promoted-width, auto) !important;
    height: var(--dashboard-smartbar-promoted-height, auto) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 1rem) !important;
    margin: 0 !important;
    z-index: 4400 !important;
    pointer-events: auto !important;
    filter: none !important;
    opacity: 1 !important;
    transform: translateZ(0) !important;
  }

  body.dashboard-native-smartbar-is-open .courses-smart-suggestions.is-portal.dashboard-native-smartbar__suggestions {
    z-index: 4410 !important;
  }
}

/* =========================================================
 * V48.9.11 - Dashboard V2 mobile/tablette : Smartbar promue
 * visuellement identique à son état dans la navbar.
 * =======================================================*/
@media (max-width: 1023px) {
  body.dashboard-native-smartbar-is-open .dashboard-native-smartbar--promoted.mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar.courses-searchbar--navbar {
    --ui-smartbar-accent: var(--dashboard-v2-role-color, var(--theme-primary, #38bdf8));
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: clamp(.44rem, 1vw, .55rem) !important;
    box-sizing: border-box !important;
    width: var(--dashboard-smartbar-promoted-width, auto) !important;
    height: var(--dashboard-smartbar-promoted-height, clamp(2.38rem, 4vw, 2.84rem)) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 1rem) !important;
    min-height: var(--dashboard-smartbar-promoted-height, clamp(2.38rem, 4vw, 2.84rem)) !important;
    max-height: var(--dashboard-smartbar-promoted-height, clamp(2.38rem, 4vw, 2.84rem)) !important;
    margin: 0 !important;
    padding: .24rem .34rem .24rem .78rem !important;
    border: 1px solid color-mix(in srgb, var(--color-border-subtle, #94a3b8) 58%, transparent) !important;
    border-radius: 999px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--theme-text, var(--color-text, #f8fafc)) !important;
    font: inherit !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: visible !important;
    pointer-events: auto !important;
    filter: none !important;
    opacity: 1 !important;
    transform: translateZ(0) !important;
  }

  body.dashboard-native-smartbar-is-open .dashboard-native-smartbar--promoted.mobile-shell-navbar__dashboard-smartbar.dashboard-native-smartbar.courses-searchbar--navbar:focus-within {
    border-color: color-mix(in srgb, var(--dashboard-v2-role-color, var(--theme-primary, #38bdf8)) 58%, transparent) !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.dashboard-native-smartbar-is-open .dashboard-native-smartbar--promoted.dashboard-native-smartbar .courses-searchbar__label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: .45rem !important;
    min-width: 0 !important;
    margin: 0 !important;
    color: color-mix(in srgb, var(--dashboard-v2-role-color, var(--theme-primary, #38bdf8)) 82%, white 8%) !important;
    font-size: .76rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body.dashboard-native-smartbar-is-open .dashboard-native-smartbar--promoted.dashboard-native-smartbar .courses-searchbar__label span {
    display: none !important;
  }

  body.dashboard-native-smartbar-is-open .dashboard-native-smartbar--promoted.dashboard-native-smartbar .courses-searchbar__label i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    font-size: 1rem !important;
    line-height: 1 !important;
  }

  body.dashboard-native-smartbar-is-open .dashboard-native-smartbar--promoted.dashboard-native-smartbar .courses-searchbar__input {
    display: block !important;
    align-self: center !important;
    min-width: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font: inherit !important;
    font-size: clamp(.78rem, 3.35vw, .9rem) !important;
    font-weight: 750 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.dashboard-native-smartbar-is-open .dashboard-native-smartbar--promoted.dashboard-native-smartbar .courses-searchbar__input::placeholder {
    color: color-mix(in srgb, var(--theme-text-muted, var(--color-text-muted, #94a3b8)) 72%, transparent) !important;
  }

  body.dashboard-native-smartbar-is-open .dashboard-native-smartbar--promoted.dashboard-native-smartbar .courses-searchbar__clear {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: 1.82rem !important;
    height: 1.82rem !important;
    border: 1px solid color-mix(in srgb, var(--color-border-subtle, #94a3b8) 55%, transparent) !important;
    border-radius: 999px !important;
    background: color-mix(in srgb, var(--color-surface-soft, #111827) 82%, transparent) !important;
    color: var(--theme-text-muted, var(--color-text-muted, #94a3b8)) !important;
  }

  body.dashboard-native-smartbar-is-open .dashboard-native-smartbar--promoted.dashboard-native-smartbar .courses-searchbar__clear[hidden] {
    display: none !important;
  }
}

/* =========================================================
 * V48.9.13 - Dashboard V2 mobile/tablette : recherche stable
 * sans croix custom et sans fermeture sur résultat vide.
 * =======================================================*/
@media (max-width: 1023px) {
  .dashboard-native-smartbar .dashboard-native-smartbar__clear,
  body.dashboard-native-smartbar-is-open .dashboard-native-smartbar--promoted.dashboard-native-smartbar .dashboard-native-smartbar__clear {
    display: none !important;
  }

  .courses-smart-suggestions.is-portal.dashboard-native-smartbar__suggestions .dashboard-native-smartbar__empty {
    cursor: default !important;
    pointer-events: none !important;
    opacity: .82 !important;
    border-style: dashed !important;
    background:
      radial-gradient(circle at 0 0, color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 10%, transparent), transparent 55%),
      color-mix(in srgb, var(--color-surface-soft, #0f172a) 78%, transparent) !important;
  }

  .courses-smart-suggestions.is-portal.dashboard-native-smartbar__suggestions .dashboard-native-smartbar__empty i {
    color: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 78%, white 6%) !important;
  }

  .courses-smart-suggestions.is-portal.dashboard-native-smartbar__suggestions .dashboard-native-smartbar__empty strong,
  .courses-smart-suggestions.is-portal.dashboard-native-smartbar__suggestions .dashboard-native-smartbar__empty em {
    color: color-mix(in srgb, var(--theme-text-muted, #94a3b8) 88%, white 4%) !important;
  }
}

/* =========================================================
 * V48.9.14 - Dashboard V2 mobile : navbar recollée en haut.
 * =======================================================*/
@media (max-width: 719px) {
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center {
    box-sizing: border-box !important;
    height: calc(env(safe-area-inset-top, 0px) + 3.25rem) !important;
    min-height: calc(env(safe-area-inset-top, 0px) + 3.25rem) !important;
    max-height: calc(env(safe-area-inset-top, 0px) + 3.25rem) !important;
    align-items: start !important;
    padding-top: calc(env(safe-area-inset-top, 0px) + .42rem) !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
  }

  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__center.has-custom-center,
  body.is-dashboard-shell-visible .mobile-shell-navbar.is-dashboard-native-home.is-mobile-mode.has-custom-center .mobile-shell-navbar__right {
    align-self: start !important;
    margin-top: 0 !important;
  }
}

/* V48.10.1 — Dashboard V2 PC : mosaïque quotidienne sans tuiles mobiles. */
@media (min-width: 1024px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop {
    --dashboard-v2-pc-gap: clamp(.85rem, 1.25vw, 1.15rem);
    --dashboard-v2-pc-panel-radius: clamp(1.35rem, 1.8vw, 1.75rem);
    min-height: 100dvh;
    padding-bottom: clamp(2rem, 3vw, 3.5rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-hero--desktop-cockpit {
    align-items: center;
    min-height: 0;
    padding-top: calc(var(--app-header-safe-height, 72px) + clamp(.7rem, 1.25vw, 1.1rem)) !important;
    padding-bottom: clamp(1.05rem, 1.7vw, 1.55rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-hero--desktop-cockpit .dashboard-v2-hero__portrait {
    width: clamp(4.2rem, 5.2vw, 5.6rem);
    height: clamp(4.2rem, 5.2vw, 5.6rem);
    border-radius: 1.55rem;
    margin-top: 0;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-hero--desktop-cockpit h1 {
    max-width: none;
    font-size: clamp(2.25rem, 3.2vw, 3.8rem);
    line-height: .94;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-hero--desktop-cockpit p:not(.dashboard-v2-kicker) {
    max-width: 76ch;
    margin-top: .62rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-hero--desktop-cockpit .dashboard-v2-badges {
    margin-top: .85rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-pc-mosaic {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-flow: dense;
    align-items: stretch;
    gap: var(--dashboard-v2-pc-gap);
    width: var(--dashboard-v2-content-width) !important;
    max-width: none !important;
    margin: clamp(.85rem, 1.2vw, 1.15rem) var(--dashboard-v2-content-right) 0 var(--dashboard-v2-content-left) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel {
    --dashboard-v2-role-color: var(--dashboard-v2-panel-color, var(--dashboard-v2-blue));
    display: grid;
    align-content: start;
    gap: .88rem;
    grid-column: span 4;
    min-height: 13.5rem;
    border-radius: var(--dashboard-v2-pc-panel-radius);
    padding: clamp(1rem, 1.35vw, 1.28rem) clamp(1rem, 1.45vw, 1.35rem) clamp(1.05rem, 1.45vw, 1.45rem) clamp(1.7rem, 2.05vw, 2.05rem) !important;
    background:
      radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--dashboard-v2-role-color) 18%, transparent), transparent 38%),
      color-mix(in srgb, var(--dashboard-v2-surface) 90%, transparent);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--courses {
    grid-column: span 7;
    min-height: 31rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--focus {
    grid-column: span 5;
    min-height: 31rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--admin {
    grid-column: span 5;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--events,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--gala,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--messages,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--notifications,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--info {
    grid-column: span 4;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel__header {
    align-items: center;
    gap: .72rem;
    margin-bottom: .05rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel__icon {
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 1rem;
    color: var(--dashboard-v2-role-color);
    background: color-mix(in srgb, var(--dashboard-v2-role-color) 15%, transparent);
    border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color) 34%, transparent);
    box-shadow: 0 13px 32px color-mix(in srgb, var(--dashboard-v2-role-color) 16%, transparent);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel__header h2 {
    font-size: clamp(1.02rem, 1.16vw, 1.26rem);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel__header p {
    font-size: .8rem;
    line-height: 1.32;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .62rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-stat {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .04rem .58rem;
    align-items: center;
    min-width: 0;
    min-height: 4.2rem;
    padding: .72rem;
    border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color) 18%, var(--dashboard-v2-border-soft) 82%);
    border-radius: 1.05rem;
    background: color-mix(in srgb, var(--dashboard-v2-surface-strong) 72%, transparent);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-stat span {
    grid-row: span 2;
    display: inline-grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: .82rem;
    color: var(--dashboard-v2-role-color);
    background: color-mix(in srgb, var(--dashboard-v2-role-color) 12%, transparent);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-stat strong {
    min-width: 0;
    color: var(--dashboard-v2-text);
    font-size: 1.35rem;
    line-height: .95;
    font-weight: 950;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-stat em {
    min-width: 0;
    color: var(--dashboard-v2-muted);
    font-size: .74rem;
    font-style: normal;
    font-weight: 820;
    line-height: 1.15;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-priority-list,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-feed {
    gap: .62rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-priority-list .dashboard-v2-priority {
    min-height: 4.45rem;
    border-radius: 1.18rem;
    background:
      radial-gradient(circle at 0% 50%, color-mix(in srgb, var(--dashboard-v2-role-color) 13%, transparent), transparent 42%),
      color-mix(in srgb, var(--dashboard-v2-surface-strong) 72%, transparent);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-carousel-shell {
    min-width: 0;
    height: 100%;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel .dashboard-v2-carousel {
    --my-courses-next-color: var(--dashboard-v2-role-color);
    min-width: 0;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel .my-courses-next-carousel__slide,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel .dashboard-v2-event-slide {
    min-height: 18rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--courses .my-courses-next-carousel__slide {
    min-height: 22rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--events .dashboard-v2-event-slide {
    min-height: 15rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-next-empty {
    min-height: 16rem;
    padding: 1rem;
    border: 1px dashed color-mix(in srgb, var(--dashboard-v2-role-color) 32%, var(--dashboard-v2-border-soft) 68%);
    border-radius: 1.25rem;
    background: color-mix(in srgb, var(--dashboard-v2-surface-strong) 70%, transparent);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-admin-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-admin-grid .dashboard-v2-admin-item {
    min-height: 7.2rem;
    border-radius: 1.15rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-gala-body {
    gap: .78rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-gala-body > strong {
    font-size: clamp(1.25rem, 1.65vw, 1.65rem);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-mini-stats {
    gap: .45rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-feed .dashboard-v2-feed-item {
    min-height: 4.25rem;
    border-radius: 1.15rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-empty {
    display: grid;
    place-items: center;
    gap: .42rem;
    min-height: 10rem;
    padding: 1rem;
    border: 1px dashed color-mix(in srgb, var(--dashboard-v2-role-color) 30%, var(--dashboard-v2-border-soft) 70%);
    border-radius: 1.25rem;
    color: var(--dashboard-v2-muted);
    background: color-mix(in srgb, var(--dashboard-v2-surface-strong) 55%, transparent);
    text-align: center;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-empty span {
    display: inline-grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 1rem;
    color: var(--dashboard-v2-role-color);
    background: color-mix(in srgb, var(--dashboard-v2-role-color) 13%, transparent);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-empty strong {
    color: var(--dashboard-v2-text);
    font-size: .98rem;
    font-weight: 920;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-empty em {
    max-width: 28ch;
    font-size: .78rem;
    font-style: normal;
    font-weight: 760;
    line-height: 1.35;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info {
    min-height: 0;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-v2-info-card {
    padding: .15rem 0 0;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-v2-info-card__contacts {
    gap: .54rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-v2-info-contact {
    min-height: 3.35rem;
    border-radius: 1.08rem;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-pc-mosaic {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--courses,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--focus,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--admin,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--events,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--gala,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--messages,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--notifications,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--info {
    grid-column: span 6;
    min-height: 0;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-stats,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-admin-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1440px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--messages,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--notifications {
    grid-column: span 4;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--admin {
    grid-column: span 5;
  }
}

/* V48.10.2 — Dashboard V2 PC : mosaïque admin affinée. */
@media (min-width: 1280px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--courses,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--focus {
    grid-column: span 6;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--school-course,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--admin,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--events {
    grid-column: span 4;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--gala,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--messages,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--notifications,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--info {
    grid-column: span 3;
  }
}

@media (min-width: 1024px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-stats {
    grid-template-columns: repeat(auto-fit, minmax(8.6rem, 1fr));
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-stat {
    appearance: none;
    width: 100%;
    color: inherit;
    font: inherit;
    text-align: left;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-stat.is-clickable {
    cursor: pointer;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-stat.is-clickable:hover,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-stat.is-clickable:focus-visible {
    border-color: color-mix(in srgb, var(--dashboard-v2-role-color) 42%, var(--dashboard-v2-border-soft) 58%);
    background:
      radial-gradient(circle at 0 50%, color-mix(in srgb, var(--dashboard-v2-role-color) 14%, transparent), transparent 58%),
      color-mix(in srgb, var(--dashboard-v2-surface-strong) 78%, transparent);
    box-shadow: 0 16px 38px color-mix(in srgb, var(--dashboard-v2-role-color) 12%, transparent);
    transform: translateY(-1px);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--school-course {
    min-height: 13.5rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-school-course-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .68rem;
    align-items: center;
    min-width: 0;
    padding: .8rem;
    border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color) 22%, var(--dashboard-v2-border-soft) 78%);
    border-radius: 1.18rem;
    background:
      radial-gradient(circle at 0 0, color-mix(in srgb, var(--dashboard-v2-role-color) 15%, transparent), transparent 62%),
      color-mix(in srgb, var(--dashboard-v2-surface-strong) 72%, transparent);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-school-course-card__icon {
    display: grid;
    width: 2.35rem;
    height: 2.35rem;
    place-items: center;
    border-radius: .9rem;
    color: color-mix(in srgb, var(--dashboard-v2-role-color) 88%, white 8%);
    background: color-mix(in srgb, var(--dashboard-v2-role-color) 16%, transparent);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-school-course-card__main {
    display: grid;
    gap: .18rem;
    min-width: 0;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-school-course-card__main strong {
    overflow: hidden;
    color: var(--dashboard-v2-text);
    font-size: .98rem;
    font-weight: 950;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-school-course-card__main span,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-school-course-card__main em {
    overflow: hidden;
    color: var(--dashboard-v2-muted);
    font-size: .74rem;
    font-style: normal;
    font-weight: 800;
    line-height: 1.18;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-school-course-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .42rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-school-course-stat {
    display: grid;
    gap: .12rem;
    min-width: 0;
    padding: .56rem .42rem;
    border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color) 18%, var(--dashboard-v2-border-soft) 82%);
    border-radius: .92rem;
    background: color-mix(in srgb, var(--dashboard-v2-surface-strong) 68%, transparent);
    text-align: center;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-school-course-stat strong {
    color: var(--dashboard-v2-text);
    font-size: 1.1rem;
    font-weight: 950;
    line-height: 1;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-school-course-stat em {
    overflow: hidden;
    color: var(--dashboard-v2-muted);
    font-size: .62rem;
    font-style: normal;
    font-weight: 850;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-school-course-stat--present strong {
    color: #22c55e;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-school-course-stat--absent strong {
    color: #fb7185;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-school-course-stat--late strong {
    color: #f59e0b;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-school-course-stat--unknown strong {
    color: color-mix(in srgb, var(--dashboard-v2-muted) 86%, white 8%);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info {
    padding: clamp(.72rem, 1vw, .92rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer {
    display: flex;
    width: 100%;
    max-width: 23.5rem;
    margin: 0 auto;
    padding: 1.05rem;
    flex-direction: column;
    align-items: stretch;
    gap: .72rem;
    border: 0;
    border-radius: 1.35rem;
    background: transparent;
    box-shadow: none;
    text-align: center;
    backdrop-filter: none;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer__logo {
    display: block;
    width: min(14rem, 78%);
    height: 4.25rem;
    margin: 0 auto .1rem;
    border-radius: 0;
    color: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 86%, white 10%);
    background: transparent;
    box-shadow: none;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer__logo-mark {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, currentColor, color-mix(in srgb, currentColor 72%, white 22%));
    -webkit-mask: url('../../img/logo.svg') center / contain no-repeat;
    mask: url('../../img/logo.svg') center / contain no-repeat;
    filter: drop-shadow(0 14px 28px color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 20%, transparent));
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer h2 {
    margin: -.12rem 0 0;
    color: var(--dashboard-v2-text);
    font-size: 1.08rem;
    line-height: 1.12;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer > p {
    margin: -.36rem 0 0;
    color: var(--dashboard-v2-muted);
    font-size: .76rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer__contact-list {
    display: grid;
    gap: .42rem;
    margin-top: .08rem;
    text-align: left;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer__contact-item {
    appearance: none;
    display: grid;
    grid-template-columns: 2.05rem minmax(0, 1fr) auto;
    gap: .55rem;
    align-items: center;
    width: 100%;
    min-height: 2.78rem;
    padding: .55rem .62rem;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 1rem;
    color: inherit;
    background: rgba(255, 255, 255, .055);
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer__contact-item.is-muted {
    opacity: .74;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer__contact-icon {
    display: grid;
    width: 2.05rem;
    height: 2.05rem;
    place-items: center;
    border-radius: .8rem;
    background: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 14%, transparent);
    color: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 86%, white 8%);
    font-size: .98rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer__contact-body {
    display: grid;
    gap: .08rem;
    min-width: 0;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer__contact-body span {
    color: var(--dashboard-v2-muted);
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .09em;
    line-height: 1;
    text-transform: uppercase;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer__contact-body strong {
    overflow: hidden;
    color: var(--dashboard-v2-text, #f8fafc);
    font-size: .74rem;
    font-weight: 900;
    line-height: 1.18;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer__contact-cue {
    display: grid;
    width: 1.3rem;
    height: 1.3rem;
    place-items: center;
    border-radius: 999px;
    color: color-mix(in srgb, var(--dashboard-v2-muted, #94a3b8) 72%, var(--dashboard-v2-text, #f8fafc));
    font-size: .86rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer__socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.1rem;
    margin-top: .08rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.7rem;
    height: 2.7rem;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    color: inherit;
    background: transparent;
    font-size: 1.45rem;
    text-decoration: none;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer__social i {
    line-height: 1;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .22));
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer__social--facebook i {
    color: #60a5fa;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer__social--instagram i {
    color: #f472b6;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .45rem .7rem;
    margin-top: .02rem;
    font-size: .7rem;
    font-weight: 800;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer__links a {
    color: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 86%, white 8%);
    text-decoration: none;
  }

  html[data-theme="light"] body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer__contact-item,
  body[data-theme="light"].is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer__contact-item {
    border-color: rgba(148, 163, 184, .22);
    background: rgba(248, 250, 252, .72);
  }

  html[data-theme="light"] body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer__contact-body strong,
  body[data-theme="light"].is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer__contact-body strong {
    color: #0f172a;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-school-course-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* =========================================================
   V49.1.10 — Infos école : coordonnées sans labels et TikTok lisible
========================================================= */
@media (max-width: 1023px) {
  .dashboard-mobile-footer__contact-item {
    align-items: center;
  }

  .dashboard-mobile-footer__contact-body {
    align-content: center;
    justify-content: stretch;
    min-height: 2.05rem;
  }

  .dashboard-mobile-footer__contact-body span {
    display: none !important;
  }

  .dashboard-mobile-footer__contact-body strong {
    display: -webkit-box;
    overflow: hidden;
    line-height: 1.2;
    white-space: normal !important;
    text-overflow: clip;
    overflow-wrap: anywhere;
    word-break: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .dashboard-mobile-footer__social--tiktok i {
    color: #f8fafc;
    filter:
      drop-shadow(-1px 0 0 rgba(34, 211, 238, .62))
      drop-shadow(1px 0 0 rgba(244, 63, 94, .58))
      drop-shadow(0 10px 20px rgba(0, 0, 0, .22));
  }

  html[data-theme="light"] .dashboard-mobile-footer__social--tiktok i,
  body[data-theme="light"] .dashboard-mobile-footer__social--tiktok i {
    color: #020617;
    filter:
      drop-shadow(-1px 0 0 rgba(6, 182, 212, .42))
      drop-shadow(1px 0 0 rgba(225, 29, 72, .38))
      drop-shadow(0 8px 16px rgba(15, 23, 42, .12));
  }
}

@media (min-width: 1024px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer__contact-item {
    align-items: center;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer__contact-body {
    align-content: center;
    justify-content: stretch;
    min-height: 2.05rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer__contact-body span {
    display: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer__contact-body strong {
    display: -webkit-box;
    overflow: hidden;
    line-height: 1.2;
    white-space: normal !important;
    text-overflow: clip;
    overflow-wrap: anywhere;
    word-break: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer__social--tiktok i {
    color: #f8fafc;
    filter:
      drop-shadow(-1px 0 0 rgba(34, 211, 238, .62))
      drop-shadow(1px 0 0 rgba(244, 63, 94, .58))
      drop-shadow(0 10px 20px rgba(0, 0, 0, .22));
  }

  html[data-theme="light"] body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer__social--tiktok i,
  body[data-theme="light"].is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card--school-info .dashboard-mobile-footer__social--tiktok i {
    color: #020617;
    filter:
      drop-shadow(-1px 0 0 rgba(6, 182, 212, .42))
      drop-shadow(1px 0 0 rgba(225, 29, 72, .38))
      drop-shadow(0 8px 16px rgba(15, 23, 42, .12));
  }
}

/* =========================================================
   V49.4.24 — Dashboard V2 PC : vues par rôle et widgets membre
========================================================= */
.dashboard-v2-badge--role {
  appearance: none;
  font: inherit;
}

@media (min-width: 1024px) and (max-width: 1439px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-pc-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-pc-mosaic > .dashboard-v2-daily-panel {
    grid-column: span 1 !important;
    min-width: 0;
  }
}

@media (min-width: 1440px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-pc-mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-pc-mosaic > .dashboard-v2-daily-panel {
    grid-column: span 1 !important;
    min-width: 0;
  }
}

@media (min-width: 1024px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-pc-mosaic--member .dashboard-v2-daily-panel {
    min-height: clamp(22rem, 30vw, 28rem);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-pc-mosaic--member .dashboard-v2-daily-panel--messages,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-pc-mosaic--member .dashboard-v2-daily-panel--notifications,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-pc-mosaic--member .dashboard-v2-daily-panel--info {
    min-height: 20rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--gallery,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--planning,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--calendar {
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-gallery-preview {
    appearance: none;
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    min-height: 0;
    height: 100%;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color) 38%, var(--dashboard-v2-border-soft) 62%);
    border-radius: 1.3rem;
    color: inherit;
    background: color-mix(in srgb, var(--dashboard-v2-surface-strong) 80%, transparent);
    cursor: pointer;
    text-align: left;
    box-shadow: 0 18px 46px rgba(2, 6, 23, .18);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-gallery-preview img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 16rem;
    object-fit: cover;
    object-position: center;
    transition: transform .35s ease, filter .35s ease;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-gallery-preview:hover img,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-gallery-preview:focus-visible img {
    transform: scale(1.035);
    filter: saturate(1.08);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-gallery-preview__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(2, 6, 23, .88) 100%);
    pointer-events: none;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-gallery-preview__caption {
    position: absolute;
    z-index: 1;
    inset: auto 1rem 1rem;
    display: grid;
    gap: .2rem;
    min-width: 0;
    color: #fff;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-gallery-preview__caption strong {
    overflow: hidden;
    font-size: 1.05rem;
    font-weight: 950;
    line-height: 1.12;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-gallery-preview__caption em {
    display: -webkit-box;
    overflow: hidden;
    color: rgba(255, 255, 255, .78);
    font-size: .76rem;
    font-style: normal;
    font-weight: 760;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-gallery-preview__open {
    position: absolute;
    z-index: 2;
    top: .8rem;
    right: .8rem;
    display: grid;
    width: 2.35rem;
    height: 2.35rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: .9rem;
    color: #fff;
    background: rgba(2, 6, 23, .58);
    backdrop-filter: blur(12px);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-planning-preview {
    display: grid;
    align-content: center;
    gap: .48rem;
    min-height: 0;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-planning-day {
    display: grid;
    grid-template-columns: 3.15rem minmax(0, 1fr) auto;
    gap: .62rem;
    align-items: center;
    min-width: 0;
    min-height: 2.45rem;
    padding: .46rem .62rem;
    border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color) 16%, var(--dashboard-v2-border-soft) 84%);
    border-radius: .92rem;
    background: color-mix(in srgb, var(--dashboard-v2-surface-strong) 70%, transparent);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-planning-day__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .3rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-planning-day__label strong {
    color: var(--dashboard-v2-text);
    font-size: .78rem;
    font-weight: 950;
    text-transform: uppercase;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-planning-day__label em {
    display: grid;
    min-width: 1.22rem;
    height: 1.22rem;
    place-items: center;
    border-radius: 999px;
    color: var(--dashboard-v2-role-color);
    background: color-mix(in srgb, var(--dashboard-v2-role-color) 14%, transparent);
    font-size: .62rem;
    font-style: normal;
    font-weight: 950;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-planning-day__bars {
    display: flex;
    overflow: hidden;
    align-items: center;
    gap: .3rem;
    min-width: 0;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-planning-day__bars i {
    display: block;
    flex: 1 1 0;
    max-width: 3.4rem;
    height: .58rem;
    border-radius: 999px;
    background: var(--dashboard-v2-course-color, #38bdf8);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--dashboard-v2-course-color, #38bdf8) 52%, transparent), 0 6px 14px color-mix(in srgb, var(--dashboard-v2-course-color, #38bdf8) 18%, transparent);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-planning-day__time {
    color: var(--dashboard-v2-muted);
    font-size: .66rem;
    font-weight: 820;
    white-space: nowrap;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-calendar-preview {
    display: grid;
    align-content: center;
    gap: .48rem;
    min-height: 0;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-calendar-weekdays,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: .28rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-calendar-weekdays span {
    color: var(--dashboard-v2-muted);
    font-size: .62rem;
    font-weight: 950;
    text-align: center;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-calendar-day {
    position: relative;
    display: grid;
    min-width: 0;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--dashboard-v2-border-soft) 82%, transparent);
    border-radius: .72rem;
    color: var(--dashboard-v2-muted);
    background: color-mix(in srgb, var(--dashboard-v2-surface-strong) 62%, transparent);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-calendar-day.is-empty {
    visibility: hidden;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-calendar-day strong {
    font-size: .72rem;
    font-weight: 900;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-calendar-day.is-today {
    border-color: color-mix(in srgb, var(--dashboard-v2-role-color) 68%, transparent);
    color: color-mix(in srgb, var(--dashboard-v2-role-color) 86%, white 8%);
    background: color-mix(in srgb, var(--dashboard-v2-role-color) 16%, var(--dashboard-v2-surface-strong));
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--dashboard-v2-role-color) 12%, transparent);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-calendar-day__marks {
    position: absolute;
    inset: auto .22rem .18rem;
    display: flex;
    justify-content: center;
    gap: .14rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-calendar-day__marks i,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-calendar-legend i {
    display: block;
    width: .34rem;
    height: .34rem;
    border-radius: 999px;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-calendar-day__marks .is-course,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-calendar-legend .is-course {
    background: #38bdf8;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-calendar-day__marks .is-event,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-calendar-legend .is-event {
    background: #c084fc;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-calendar-legend {
    display: flex;
    justify-content: center;
    gap: .85rem;
    color: var(--dashboard-v2-muted);
    font-size: .64rem;
    font-weight: 820;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-calendar-legend span {
    display: inline-flex;
    align-items: center;
    gap: .32rem;
  }
}

@media (min-width: 1024px) and (max-width: 1180px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-planning-day {
    grid-template-columns: 2.8rem minmax(0, 1fr);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-planning-day__time {
    display: none;
  }
}

/* =========================================================
   V49.4.25 — Dashboard V2 PC membre : widgets nus et miniatures
========================================================= */
@media (min-width: 1024px) {
  /* Le dashboard ne porte aucun rail. Les cartes restent basées sur les
     composants communs, mais leur onglet d'accent est volontairement masqué
     dans ce contexte uniquement. */
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-card::before,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-feed-item::before,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .ui-accent-card > .ui-accent-card__rail {
    content: none !important;
    display: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel {
    padding-left: clamp(1rem, 1.45vw, 1.35rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-course-slide.ui-accent-card .ui-accent-card__body {
    padding-left: 18px !important;
  }

  /* Prochains cours / évènements : la carte du carrousel est le widget. */
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-widget {
    --dashboard-v2-role-color: var(--dashboard-v2-panel-color, var(--dashboard-v2-blue));
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    align-content: stretch;
    gap: .52rem;
    min-width: 0;
    min-height: clamp(22rem, 30vw, 28rem);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-widget__label {
    margin: 0 0 0 .28rem;
    color: color-mix(in srgb, var(--dashboard-v2-role-color) 82%, var(--dashboard-v2-text) 18%);
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .12em;
    line-height: 1;
    text-transform: uppercase;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-widget .dashboard-v2-daily-carousel-shell,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-widget .dashboard-v2-carousel,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-widget .dashboard-v2-carousel__track {
    min-width: 0;
    height: 100%;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-widget .my-courses-next-carousel__slide,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-widget .dashboard-v2-event-slide {
    min-height: 21rem;
    height: 100%;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-widget__empty {
    display: grid;
    align-content: center;
    justify-items: start;
    gap: .7rem;
    min-height: 21rem;
    padding: 1.35rem !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-widget__empty > strong {
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    font-weight: 950;
    letter-spacing: -.045em;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-widget__empty > span {
    max-width: 34ch;
    color: var(--dashboard-v2-muted);
    font-size: .82rem;
    font-weight: 720;
    line-height: 1.45;
  }

  /* La troisième réponse d'évènement est retirée côté rendu. Les deux choix
     restants occupent proprement la largeur disponible. */
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-event-slide .dashboard-v2-vote__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Planning miniature : jours de gauche à droite, cours de haut en bas. */
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--planning,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--calendar {
    grid-template-rows: auto minmax(0, 1fr) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--dblclick {
    cursor: pointer;
    user-select: none;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-daily-panel--dblclick:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--dashboard-v2-role-color) 80%, white 12%);
    outline-offset: 3px;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-planning-preview {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(3.15rem, 1fr));
    align-items: start;
    gap: .52rem !important;
    min-height: 0;
    padding: .35rem 0 .15rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-planning-column {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    justify-items: center;
    gap: .5rem;
    min-width: 0;
    height: 100%;
    padding: .56rem .28rem .64rem;
    border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color) 18%, var(--dashboard-v2-border-soft) 82%);
    border-radius: 1rem;
    background: color-mix(in srgb, var(--dashboard-v2-surface-strong) 68%, transparent);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-planning-column__head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .32rem;
    width: 100%;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-planning-column__head strong {
    color: var(--dashboard-v2-text);
    font-size: .7rem;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-planning-column__head em {
    display: grid;
    min-width: 1.2rem;
    height: 1.2rem;
    place-items: center;
    border-radius: 999px;
    color: var(--dashboard-v2-role-color);
    background: color-mix(in srgb, var(--dashboard-v2-role-color) 14%, transparent);
    font-size: .6rem;
    font-style: normal;
    font-weight: 950;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-planning-column__courses {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .27rem;
    min-height: 0;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-planning-column__courses i {
    display: block;
    flex: 0 0 auto;
    width: .64rem;
    height: .64rem;
    border-radius: 999px;
    background: var(--dashboard-v2-course-color, #38bdf8);
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--dashboard-v2-course-color, #38bdf8) 58%, transparent),
      0 4px 10px color-mix(in srgb, var(--dashboard-v2-course-color, #38bdf8) 22%, transparent);
  }

  /* Galerie toujours présente, même lorsqu'aucune photo n'est encore
     disponible pour le compte courant. */
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-gallery-preview--empty {
    display: grid !important;
    place-content: center;
    justify-items: center;
    gap: .55rem;
    min-height: 16rem;
    padding: 1.25rem;
    text-align: center;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-gallery-preview__empty-icon {
    display: grid;
    width: 3.4rem;
    height: 3.4rem;
    place-items: center;
    border-radius: 1.2rem;
    color: #ec4899;
    background: color-mix(in srgb, #ec4899 16%, transparent);
    border: 1px solid color-mix(in srgb, #ec4899 34%, transparent);
    font-size: 1.35rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-gallery-preview--empty strong {
    color: var(--dashboard-v2-text);
    font-size: 1.08rem;
    font-weight: 950;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-gallery-preview--empty em {
    max-width: 28ch;
    color: var(--dashboard-v2-muted);
    font-size: .78rem;
    font-style: normal;
    font-weight: 720;
    line-height: 1.45;
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-pc-mosaic > .dashboard-v2-member-widget {
    grid-column: span 1 !important;
  }
}

@media (min-width: 1440px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-pc-mosaic > .dashboard-v2-member-widget {
    grid-column: span 1 !important;
  }
}

@media (min-width: 1024px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-event-slide .dashboard-v2-vote__actions {
    display: grid;
  }
}


/* =========================================================
   V49.4.26 — Dashboard V2 PC membre : carte widget unifiée
========================================================= */
@media (min-width: 1024px) {
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-pc-mosaic--member {
    --dashboard-v2-member-card-height: 28rem;
    grid-auto-rows: var(--dashboard-v2-member-card-height);
    align-items: stretch;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-pc-mosaic--member > .dashboard-v2-member-card {
    --dashboard-v2-role-color: var(--dashboard-v2-panel-color, var(--dashboard-v2-blue));
    box-sizing: border-box;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    align-content: stretch;
    gap: .72rem;
    width: 100%;
    min-width: 0;
    height: var(--dashboard-v2-member-card-height) !important;
    min-height: var(--dashboard-v2-member-card-height) !important;
    max-height: var(--dashboard-v2-member-card-height) !important;
    padding: .9rem 1rem 1rem !important;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color) 30%, var(--dashboard-v2-border-soft) 70%);
    border-radius: var(--dashboard-v2-pc-panel-radius);
    background:
      radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--dashboard-v2-role-color) 13%, transparent), transparent 42%),
      color-mix(in srgb, var(--dashboard-v2-surface) 92%, transparent);
    box-shadow: 0 18px 48px rgba(2, 6, 23, .14);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--clickable {
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
  }

  @media (hover: hover) and (pointer: fine) {
    body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--clickable:hover,
    body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--clickable:focus-visible {
      border-color: color-mix(in srgb, var(--dashboard-v2-role-color) 55%, transparent);
      background:
        radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--dashboard-v2-role-color) 18%, transparent), transparent 46%),
        color-mix(in srgb, var(--dashboard-v2-surface) 94%, transparent);
      box-shadow: 0 24px 58px color-mix(in srgb, var(--dashboard-v2-role-color) 13%, rgba(2, 6, 23, .18));
      transform: translateY(-2px);
    }
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--clickable:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--dashboard-v2-role-color) 78%, white 10%);
    outline-offset: 3px;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card__header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .44rem;
    min-width: 0;
    min-height: 1.8rem;
    color: color-mix(in srgb, var(--dashboard-v2-role-color) 84%, var(--dashboard-v2-text) 16%);
    text-align: center;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card__icon {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 1.25rem;
    height: 1.25rem;
    color: currentColor;
    font-size: .86rem;
    line-height: 1;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card__header h2 {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: currentColor;
    font-size: .82rem;
    font-weight: 950;
    letter-spacing: .065em;
    line-height: 1.1;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card__body {
    display: grid;
    min-width: 0;
    min-height: 0;
    height: 100%;
    overflow: hidden;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card__empty {
    display: grid;
    place-content: center;
    justify-items: center;
    gap: .58rem;
    min-width: 0;
    min-height: 0;
    height: 100%;
    padding: 1.2rem;
    color: var(--dashboard-v2-muted);
    text-align: center;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card__empty-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color) 34%, transparent);
    border-radius: 1rem;
    color: var(--dashboard-v2-role-color);
    background: color-mix(in srgb, var(--dashboard-v2-role-color) 13%, transparent);
    font-size: 1.2rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card__empty strong {
    color: var(--dashboard-v2-text);
    font-size: 1.2rem;
    font-weight: 950;
    letter-spacing: -.03em;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card__empty > span:last-child {
    max-width: 30ch;
    font-size: .8rem;
    font-weight: 720;
    line-height: 1.45;
  }

  /* Le carrousel vit entièrement dans la carte, y compris ses points. */
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card .dashboard-v2-daily-carousel-shell,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card .dashboard-v2-carousel,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card .dashboard-v2-carousel__viewport,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card .dashboard-v2-carousel__track {
    min-width: 0;
    min-height: 0;
    height: 100%;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card .dashboard-v2-carousel {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    align-content: stretch;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card .dashboard-v2-carousel__viewport {
    overflow: hidden;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card .my-courses-next-carousel__slide,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card .dashboard-v2-event-slide {
    box-sizing: border-box;
    min-height: 0 !important;
    height: 100% !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card .dashboard-v2-course-slide.ui-accent-card .ui-accent-card__body {
    height: 100%;
    padding: .2rem .25rem .15rem !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card .dashboard-v2-event-slide {
    padding: .2rem .25rem .15rem !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card .dashboard-v2-carousel__dots,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card .my-courses-next-carousel__dots.dashboard-v2-carousel__dots {
    align-self: end;
    min-height: .9rem !important;
    margin: 0 !important;
    padding: .35rem 0 0 !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card .dashboard-v2-gallery-preview {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: 100%;
    border: 0;
    border-radius: 1.15rem;
    background: color-mix(in srgb, var(--dashboard-v2-surface-strong) 78%, transparent);
    box-shadow: none;
    cursor: inherit;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card .dashboard-v2-gallery-preview img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card .dashboard-v2-planning-preview,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card .dashboard-v2-calendar-preview {
    box-sizing: border-box;
    min-height: 0;
    height: 100%;
    overflow: hidden;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card .dashboard-v2-daily-empty {
    min-height: 0;
    height: 100%;
    border: 0;
    background: transparent;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--messages .dashboard-v2-daily-feed,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--notifications .dashboard-v2-daily-feed {
    align-content: start;
    overflow: auto;
    scrollbar-width: thin;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--info .dashboard-mobile-footer--desktop {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-content: start;
    overflow: hidden;
    padding: .05rem .35rem .2rem !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--info .dashboard-mobile-footer__logo {
    width: min(11rem, 68%);
    height: 3.2rem;
    margin-bottom: 0;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--info .dashboard-mobile-footer--desktop > p {
    margin-top: -.2rem;
  }
}

/* =========================================================
   V49.4.27 — Dashboard V2 PC membre : cartes sans rail et
   évènements partagés avec le panel Évènements
========================================================= */
@media (min-width: 1024px) {
  /* Aucun rail décoratif dans les widgets du dashboard membre. */
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-pc-mosaic--member .dashboard-v2-card::before,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-pc-mosaic--member .dashboard-v2-card::after,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-pc-mosaic--member .dashboard-v2-feed-item::before,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-pc-mosaic--member .dashboard-v2-feed-item::after,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-pc-mosaic--member .ui-accent-card > .ui-accent-card__rail {
    content: none !important;
    display: none !important;
  }

  /* Le halo reste actif, mais aucune carte ne se déplace au survol. */
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--clickable {
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease !important;
    transform: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--clickable:hover,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--clickable:focus-visible,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card .ui-accent-card:hover,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card .ui-accent-card:focus-visible {
    transform: none !important;
  }

  /* Les points de carrousel font réellement partie du bas de la carte. */
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card .dashboard-v2-carousel {
    grid-template-rows: minmax(0, 1fr) 1rem !important;
    overflow: hidden;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card .dashboard-v2-carousel__dots,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card .my-courses-next-carousel__dots.dashboard-v2-carousel__dots {
    position: relative !important;
    inset: auto !important;
    z-index: 12 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: .38rem;
    width: 100% !important;
    min-height: 1rem !important;
    height: 1rem !important;
    margin: 0 !important;
    padding: .2rem 0 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card .dashboard-v2-carousel__dot {
    display: block !important;
    flex: 0 0 auto;
    opacity: .5;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card .dashboard-v2-carousel__dot.is-active {
    opacity: 1;
  }

  /* Le widget Évènements réemploie la carte commune du panel Évènements. */
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-member-card__body,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-carousel__viewport,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-carousel__track {
    min-height: 0;
    height: 100%;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-card.event-card.ui-accent-card {
    box-sizing: border-box;
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid var(--ui-accent-card-border-rest) !important;
    border-radius: 1.35rem !important;
    background:
      radial-gradient(circle at 5% 0%, color-mix(in srgb, var(--ui-accent-card-color) 14%, transparent), transparent 34%),
      linear-gradient(145deg,
        color-mix(in srgb, var(--color-surface) 88%, transparent),
        color-mix(in srgb, var(--color-surface-soft) 78%, transparent)) !important;
    box-shadow: var(--ui-accent-card-shadow-rest) !important;
  }

  html:not([data-theme="dark"]) body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-card.event-card.ui-accent-card {
    background:
      radial-gradient(circle at 4% 0%, color-mix(in srgb, var(--ui-accent-card-color) 18%, transparent), transparent 36%),
      linear-gradient(145deg,
        color-mix(in srgb, var(--color-surface, #ffffff) 92%, var(--ui-accent-card-color) 8%),
        color-mix(in srgb, var(--color-surface-soft, #f8fafc) 78%, var(--ui-accent-card-color) 22%)) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-card.event-card.ui-accent-card .ui-accent-card__body {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: .58rem;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: 100%;
    padding: .82rem .92rem .78rem !important;
    overflow: hidden;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-card.has-media .event-card-media {
    flex: 0 0 auto;
    margin: -.82rem -.92rem 0 !important;
    border-radius: 1.35rem 1.35rem 0 0;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-card .event-card-media img {
    width: 100%;
    height: 8.4rem !important;
    max-height: 8.4rem !important;
    object-fit: cover;
    object-position: center;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-card .event-card-header {
    gap: .55rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-card .event-card-title {
    display: -webkit-box;
    overflow: hidden;
    font-size: 1.03rem;
    line-height: 1.08;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-card .event-card-meta {
    gap: .22rem;
    font-size: .78rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-card .event-card-links {
    margin-top: .1rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-card .event-link-list--compact {
    gap: .35rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-card .event-link-list--compact .event-link-pill {
    min-height: 1.7rem;
    padding: .28rem .5rem;
    font-size: .66rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-card .event-card-description {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    font-size: .76rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-event-card-vote {
    margin-top: auto;
    padding-top: .52rem;
    border-top: 1px solid color-mix(in srgb, var(--ui-accent-card-color) 24%, var(--dashboard-v2-border-soft) 76%);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-event-card-vote .dashboard-v2-vote__status {
    margin-bottom: .42rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-event-card-vote .dashboard-v2-vote__status span {
    max-width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-event-card-vote .dashboard-v2-vote__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .42rem;
  }
}

/* =========================================================
   V49.4.28 — Dashboard V2 PC Responsable : évènement plein
   cadre, carrousel superposé et coordonnées interactives
========================================================= */
@media (min-width: 1024px) {
  /* Le widget Évènements devient une seule carte continue. */
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events {
    position: relative;
    display: block !important;
    padding: 0 !important;
    isolation: isolate;
    overflow: hidden;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-member-card__body,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-daily-carousel-shell,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-carousel,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-carousel__viewport,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-carousel__track {
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: 100%;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-member-card__body {
    display: block;
    overflow: hidden;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-carousel {
    position: relative;
    display: block !important;
    overflow: hidden;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-event-widget__titlebar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .46rem;
    min-height: 2.55rem;
    padding: .58rem 1rem;
    border-bottom: 1px solid color-mix(in srgb, var(--dashboard-v2-violet) 34%, transparent);
    color: color-mix(in srgb, var(--dashboard-v2-violet) 86%, white 14%);
    background: linear-gradient(180deg, rgba(2, 6, 23, .88), rgba(2, 6, 23, .64));
    box-shadow: 0 10px 28px rgba(2, 6, 23, .18);
    backdrop-filter: blur(12px) saturate(1.08);
    -webkit-backdrop-filter: blur(12px) saturate(1.08);
    pointer-events: none;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-event-widget__titlebar i {
    font-size: .82rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-event-widget__titlebar span {
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .07em;
    line-height: 1;
    text-transform: uppercase;
  }

  html[data-theme="light"] body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-event-widget__titlebar,
  body[data-theme="light"].is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-event-widget__titlebar {
    color: color-mix(in srgb, var(--dashboard-v2-violet) 76%, #312e81 24%);
    background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(248, 250, 252, .78));
    box-shadow: 0 10px 28px rgba(15, 23, 42, .12);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-card.event-card.ui-accent-card {
    width: 100%;
    min-width: 100%;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    border: 0 !important;
    border-radius: inherit !important;
    box-shadow: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-card.event-card.ui-accent-card .ui-accent-card__body {
    height: 100%;
    padding-bottom: 2.5rem !important;
  }

  /* Les points flottent au-dessus du bas de la carte, sans zone morte. */
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-carousel__dots,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .my-courses-next-carousel__dots.dashboard-v2-carousel__dots {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    bottom: .56rem !important;
    z-index: 60 !important;
    display: flex !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 1.5rem !important;
    margin: 0 !important;
    padding: .34rem .58rem !important;
    transform: translateX(-50%);
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 999px;
    background: rgba(2, 6, 23, .76);
    box-shadow: 0 10px 28px rgba(2, 6, 23, .3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-carousel__dot {
    width: .46rem;
    height: .46rem;
    min-width: .46rem;
    padding: 0;
    border-radius: 999px;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-widget__empty {
    box-sizing: border-box;
    height: 100%;
    padding-top: 3.35rem;
    padding-bottom: 2rem;
  }

  /* Les coordonnées sont de vrais contrôles prioritaires dans la carte Infos. */
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--info .dashboard-mobile-footer__contact-item {
    position: relative;
    z-index: 4;
    appearance: none;
    width: 100%;
    border: 1px solid rgba(148, 163, 184, .18);
    font: inherit;
    text-align: left;
    cursor: pointer;
    pointer-events: auto !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--info .dashboard-mobile-footer__contact-item:hover,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--info .dashboard-mobile-footer__contact-item:focus-visible,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--info .dashboard-mobile-footer__contact-item[data-menu-open="1"] {
    border-color: color-mix(in srgb, var(--dashboard-v2-cyan) 54%, rgba(148, 163, 184, .18));
    background: color-mix(in srgb, var(--dashboard-v2-cyan) 9%, rgba(255, 255, 255, .055));
    box-shadow: 0 12px 30px color-mix(in srgb, var(--dashboard-v2-cyan) 13%, transparent);
    outline: none;
  }
}

/* =========================================================
   V49.4.29 — Dashboard V2 PC Responsable : bandeaux communs,
   évènement plein espace et menu coordonnées desktop
========================================================= */
@media (min-width: 1024px) {
  /* Toutes les cartes membre partagent désormais le même bandeau supérieur. */
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-pc-mosaic--member > .dashboard-v2-member-card {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    gap: 0 !important;
    padding: 0 !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card__titlebar {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .46rem;
    width: 100%;
    min-width: 0;
    min-height: 2.55rem;
    padding: .58rem 1rem;
    border-bottom: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color) 34%, transparent);
    color: color-mix(in srgb, var(--dashboard-v2-role-color) 86%, white 14%);
    background: linear-gradient(180deg, rgba(2, 6, 23, .88), rgba(2, 6, 23, .64));
    box-shadow: 0 10px 28px rgba(2, 6, 23, .18);
    text-align: center;
    backdrop-filter: blur(12px) saturate(1.08);
    -webkit-backdrop-filter: blur(12px) saturate(1.08);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card__titlebar .dashboard-v2-member-card__icon {
    width: auto;
    height: auto;
    font-size: .82rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card__titlebar h2 {
    margin: 0;
    color: currentColor;
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .07em;
    line-height: 1;
    text-transform: uppercase;
  }

  html[data-theme="light"] body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card__titlebar,
  body[data-theme="light"].is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card__titlebar {
    color: color-mix(in srgb, var(--dashboard-v2-role-color) 76%, #1e293b 24%);
    background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(248, 250, 252, .78));
    box-shadow: 0 10px 28px rgba(15, 23, 42, .12);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card > .dashboard-v2-member-card__body {
    box-sizing: border-box;
    min-width: 0;
    min-height: 0;
    height: 100%;
    padding: .9rem 1rem 1rem;
    overflow: hidden;
  }

  /* Évènements : toute la surface utile se situe entre le bandeau et le bord bas. */
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events > .dashboard-v2-member-card__body {
    padding: 0;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-carousel,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-carousel__viewport,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-carousel__track,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-slide {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: 100% !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-card.event-card.ui-accent-card {
    overflow: hidden;
    border-radius: 0 !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-card.event-card.ui-accent-card .ui-accent-card__body {
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column;
    gap: .52rem;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: 100%;
    padding: 0 .82rem 2.45rem !important;
    overflow: hidden;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-card.has-media .event-card-media {
    flex: 0 0 clamp(7.8rem, 36%, 10.4rem);
    width: auto;
    min-height: 0;
    margin: 0 -.82rem !important;
    border-radius: 0;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-card .event-card-media img {
    width: 100%;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-card .event-card-header {
    flex: 0 0 auto;
    margin-top: .12rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-card .event-card-meta,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-card .event-card-links {
    flex: 0 0 auto;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-card .event-card-description {
    margin-top: auto;
    margin-bottom: 0;
  }

  /* Pastille de carrousel strictement centrée dans la carte. */
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-carousel__dots,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .my-courses-next-carousel__dots.dashboard-v2-carousel__dots {
    left: 50% !important;
    right: auto !important;
    width: max-content !important;
    max-width: calc(100% - 1rem) !important;
    justify-content: center !important;
    transform: translateX(-50%) !important;
  }

  /* Les contenus des autres widgets commencent proprement sous leur bandeau. */
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--gallery .dashboard-v2-gallery-preview,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--planning .dashboard-v2-planning-preview,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--calendar .dashboard-v2-calendar-preview {
    height: 100%;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--info .dashboard-mobile-footer--desktop {
    padding: .05rem .35rem .2rem !important;
  }

  /* Menu coordonnées utilisable sur PC. Les styles mobiles étaient jusqu'ici
     limités à max-width: 1023px, ce qui rendait bien le menu dans le DOM mais
     sans aucune présentation visible sur ordinateur. */
  .dashboard-mobile-footer-menu {
    position: fixed;
    z-index: 5200;
    display: grid;
    gap: .42rem;
    width: min(21rem, calc(100vw - 2rem));
    padding: .55rem;
    border: 1px solid color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 44%, rgba(148, 163, 184, .28));
    border-radius: 1.05rem;
    color: var(--dashboard-v2-text, #f8fafc);
    background: color-mix(in srgb, #020617 84%, var(--dashboard-v2-role-color, #38bdf8) 8%);
    box-shadow: 0 22px 48px rgba(0, 0, 0, .34), 0 0 0 1px rgba(255, 255, 255, .04) inset;
    opacity: 0;
    transform: translateY(6px) scale(.985);
    transform-origin: top center;
    transition: opacity 140ms ease, transform 140ms ease;
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
  }

  .dashboard-mobile-footer-menu.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .dashboard-mobile-footer-menu__header {
    display: grid;
    gap: .12rem;
    min-width: 0;
    padding: .38rem .46rem .3rem;
  }

  .dashboard-mobile-footer-menu__header span {
    color: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 86%, white 8%);
    font-size: .62rem;
    font-weight: 950;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  .dashboard-mobile-footer-menu__header strong {
    overflow: hidden;
    font-size: .78rem;
    font-weight: 900;
    line-height: 1.18;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dashboard-mobile-footer-menu__actions {
    display: grid;
    gap: .28rem;
  }

  .dashboard-mobile-footer-menu__item {
    display: grid;
    grid-template-columns: 1.95rem minmax(0, 1fr);
    gap: .48rem;
    align-items: center;
    min-height: 2.42rem;
    padding: .44rem .54rem;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: .82rem;
    color: inherit;
    background: rgba(255, 255, 255, .06);
    font: inherit;
    font-size: .76rem;
    font-weight: 900;
    text-align: left;
    cursor: pointer;
  }

  .dashboard-mobile-footer-menu__item:hover,
  .dashboard-mobile-footer-menu__item:focus-visible {
    border-color: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 46%, rgba(148, 163, 184, .16));
    background: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 12%, rgba(255, 255, 255, .06));
    outline: none;
  }

  .dashboard-mobile-footer-menu__item i {
    display: grid;
    width: 1.95rem;
    height: 1.95rem;
    place-items: center;
    border-radius: .72rem;
    color: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 88%, white 8%);
    background: color-mix(in srgb, var(--dashboard-v2-role-color, #38bdf8) 16%, transparent);
    font-size: .95rem;
  }

  html[data-theme="light"] .dashboard-mobile-footer-menu,
  body[data-theme="light"] .dashboard-mobile-footer-menu {
    color: #0f172a;
    background: color-mix(in srgb, white 92%, var(--dashboard-v2-role-color, #38bdf8) 8%);
    box-shadow: 0 22px 48px rgba(15, 23, 42, .18), 0 0 0 1px rgba(255, 255, 255, .7) inset;
  }

  html[data-theme="light"] .dashboard-mobile-footer-menu__item,
  body[data-theme="light"] .dashboard-mobile-footer-menu__item {
    background: rgba(255, 255, 255, .68);
  }
}

/* =========================================================
   V49.4.30 — Dashboard V2 PC Responsable : évènement bord
   à bord, indicateurs nus et informations centrées
========================================================= */
@media (min-width: 1024px) {
  /* Le carrousel Évènements occupe exactement toute la zone située sous
     le bandeau : aucun retrait horizontal, aucune carte intérieure flottante. */
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events > .dashboard-v2-member-card__body,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-daily-carousel-shell,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-carousel,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-carousel__viewport,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-carousel__track {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events > .dashboard-v2-member-card__body,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-carousel,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-carousel__viewport {
    overflow: hidden !important;
    border-radius: 0 0 var(--dashboard-v2-pc-panel-radius, 1.35rem) var(--dashboard-v2-pc-panel-radius, 1.35rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-slide,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-card.event-card.ui-accent-card {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 0 var(--dashboard-v2-pc-panel-radius, 1.35rem) var(--dashboard-v2-pc-panel-radius, 1.35rem) !important;
    box-shadow: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-card.event-card.ui-accent-card .ui-accent-card__body {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0;
    height: 100% !important;
    min-height: 0;
    margin: 0 !important;
    padding: 0 0 1.85rem !important;
    overflow: hidden;
    border-radius: 0 0 var(--dashboard-v2-pc-panel-radius, 1.35rem) var(--dashboard-v2-pc-panel-radius, 1.35rem);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-card.has-media .event-card-media {
    width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-card .event-card-header {
    margin: .66rem .9rem 0 !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-card .event-card-meta,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-card .event-card-links {
    margin-right: .9rem !important;
    margin-left: .9rem !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-event-card .event-card-description {
    margin-right: .9rem !important;
    margin-left: .9rem !important;
    margin-bottom: .08rem !important;
  }

  /* L'indicateur ne dessine plus de capsule : seules les bulles de position
     restent visibles, parfaitement centrées dans le bas du widget. */
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .dashboard-v2-carousel__dots,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--events .my-courses-next-carousel__dots.dashboard-v2-carousel__dots {
    left: 50% !important;
    right: auto !important;
    bottom: .52rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: .38rem !important;
    width: max-content !important;
    min-width: 0 !important;
    max-width: calc(100% - 1rem) !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: translateX(-50%) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Le contenu Informations de l'école est centré dans toute la surface
     disponible, horizontalement comme verticalement. */
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--info > .dashboard-v2-member-card__body.dashboard-mobile-footer--desktop {
    display: flex !important;
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
    align-content: center !important;
    gap: .7rem;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 1rem 1.15rem !important;
    text-align: center;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--info .dashboard-mobile-footer__logo {
    flex: 0 0 auto;
    margin: 0 auto !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--info .dashboard-mobile-footer--desktop > p {
    margin: -.2rem auto .05rem !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--info .dashboard-mobile-footer__contact-list {
    width: min(100%, 22rem);
    margin: 0 auto;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--info .dashboard-mobile-footer__socials,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--info .dashboard-mobile-footer__links {
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
  }
}

/* =========================================================
   V49.4.31 — Dashboard V2 PC Responsable : contenus bord à
   bord, planning par créneau et informations centrées
========================================================= */
@media (min-width: 1024px) {
  /* Toutes les zones de contenu épousent maintenant le bandeau et les coins
     inférieurs de la carte, sans seconde carte flottante ni marge extérieure. */
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-pc-mosaic--member > .dashboard-v2-member-card > .dashboard-v2-member-card__body {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 0 0 var(--dashboard-v2-pc-panel-radius, 1.35rem) var(--dashboard-v2-pc-panel-radius, 1.35rem);
    background: color-mix(in srgb, var(--dashboard-v2-surface-strong) 58%, transparent);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--courses .dashboard-v2-daily-carousel-shell,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--courses .dashboard-v2-carousel,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--courses .dashboard-v2-carousel__viewport,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--courses .dashboard-v2-carousel__track,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--courses .my-courses-next-carousel__slide {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--courses .my-courses-next-carousel__slide {
    border-radius: 0 0 var(--dashboard-v2-pc-panel-radius, 1.35rem) var(--dashboard-v2-pc-panel-radius, 1.35rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--courses .dashboard-v2-course-slide.ui-accent-card .ui-accent-card__body {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 1rem 1rem 2rem !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card .dashboard-v2-member-card__empty {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 1.15rem;
    border-radius: 0 0 var(--dashboard-v2-pc-panel-radius, 1.35rem) var(--dashboard-v2-pc-panel-radius, 1.35rem);
    background: transparent;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--gallery .dashboard-v2-gallery-preview {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0;
    height: 100% !important;
    min-height: 0;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 0 var(--dashboard-v2-pc-panel-radius, 1.35rem) var(--dashboard-v2-pc-panel-radius, 1.35rem) !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--planning .dashboard-v2-planning-preview,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--calendar .dashboard-v2-calendar-preview {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0;
    height: 100% !important;
    min-height: 0;
    margin: 0 !important;
    padding: .92rem .82rem 1rem !important;
    overflow: hidden;
    border-radius: 0 0 var(--dashboard-v2-pc-panel-radius, 1.35rem) var(--dashboard-v2-pc-panel-radius, 1.35rem);
    background: color-mix(in srgb, var(--dashboard-v2-surface-strong) 42%, transparent);
  }

  /* Un créneau horaire forme une ligne. Les cours simultanés partagent cette
     ligne et apparaissent donc côte à côte au lieu d'être empilés. */
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-planning-time-row {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    min-width: .64rem;
    min-height: .64rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-planning-time-row > i {
    flex: 0 0 auto;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--messages > .dashboard-v2-member-card__body,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--notifications > .dashboard-v2-member-card__body {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: .86rem !important;
    border-radius: 0 0 var(--dashboard-v2-pc-panel-radius, 1.35rem) var(--dashboard-v2-pc-panel-radius, 1.35rem);
    background: color-mix(in srgb, var(--dashboard-v2-surface-strong) 42%, transparent);
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--messages .dashboard-v2-daily-empty,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--notifications .dashboard-v2-daily-empty {
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  /* Le bloc complet est traité comme un unique groupe centré dans la hauteur
     et la largeur réellement disponibles sous le bandeau. */
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--info > .dashboard-v2-member-card__body.dashboard-mobile-footer--desktop {
    box-sizing: border-box;
    display: grid !important;
    grid-auto-flow: row;
    grid-auto-rows: max-content;
    align-content: center !important;
    justify-content: center !important;
    justify-items: center !important;
    gap: .66rem !important;
    width: 100% !important;
    min-width: 0;
    height: 100% !important;
    min-height: 0;
    margin: 0 !important;
    padding: 1rem 1.15rem !important;
    overflow: hidden;
    border-radius: 0 0 var(--dashboard-v2-pc-panel-radius, 1.35rem) var(--dashboard-v2-pc-panel-radius, 1.35rem);
    background: color-mix(in srgb, var(--dashboard-v2-surface-strong) 42%, transparent);
    text-align: center;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--info .dashboard-mobile-footer__logo,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--info .dashboard-mobile-footer--desktop > p,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--info .dashboard-mobile-footer__contact-list,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--info .dashboard-mobile-footer__socials,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--info .dashboard-mobile-footer__links {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

/* =========================================================
   V49.4.32 — Dashboard V2 PC Responsable : point GPS exact,
   respirations des flux et planning vivant
========================================================= */
@media (min-width: 1024px) {
  /* Messages et notifications restent bord à bord au niveau de la carte,
     mais leur contenu respire légèrement sous le bandeau. */
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--messages > .dashboard-v2-member-card__body,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--notifications > .dashboard-v2-member-card__body {
    padding: 1rem 1.08rem 1.08rem !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--messages .dashboard-v2-daily-feed,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--notifications .dashboard-v2-daily-feed {
    gap: .72rem;
  }

  /* Le mini planning exploite réellement la hauteur disponible. Les groupes
     d'horaires sont répartis verticalement et les cours simultanés restent
     côte à côte sur leur ligne. */
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--planning .dashboard-v2-planning-preview {
    align-items: stretch !important;
    padding: .82rem .72rem .9rem !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--planning .dashboard-v2-planning-column {
    height: 100%;
    min-height: 0;
    padding: .65rem .32rem .72rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--planning .dashboard-v2-planning-column__courses {
    box-sizing: border-box;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    gap: .22rem;
    width: 100%;
    min-height: 0;
    padding: .16rem 0;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--planning .dashboard-v2-planning-time-row {
    width: 100%;
    min-width: 0;
    min-height: .82rem;
    gap: .24rem;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--planning .dashboard-v2-planning-time-row > i {
    width: .78rem;
    height: .78rem;
    min-width: .78rem;
    border-radius: 999px;
    transition: filter .16s ease, box-shadow .16s ease, transform .16s ease;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--planning .dashboard-v2-planning-time-row > i:hover {
    filter: brightness(1.16) saturate(1.12);
    box-shadow:
      0 0 0 2px color-mix(in srgb, var(--dashboard-v2-course-color, #38bdf8) 42%, transparent),
      0 0 18px color-mix(in srgb, var(--dashboard-v2-course-color, #38bdf8) 72%, transparent);
    transform: scale(1.12);
  }

  /* Le groupe Infos occupe la largeur utile de la carte tout en restant
     parfaitement centré dans les deux axes. */
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--info > .dashboard-v2-member-card__body.dashboard-mobile-footer--desktop {
    grid-template-columns: minmax(0, 1fr) !important;
    justify-content: stretch !important;
    justify-items: center !important;
    width: 100% !important;
    padding: .9rem .82rem !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--info .dashboard-mobile-footer__contact-list {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--info .dashboard-mobile-footer__contact-item {
    width: 100% !important;
    max-width: none !important;
  }

  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--info .dashboard-mobile-footer__socials,
  body.is-dashboard-shell-visible #dashboard-view > .dashboard-v2--desktop .dashboard-v2-member-card--info .dashboard-mobile-footer__links {
    width: 100%;
    justify-content: center;
  }
}
