/* Démonstration publique : le guide reste en bleu nuit, le logiciel s'affiche tel qu'il est. */
.site-bar .shell, .demo-layout { width: min(1240px, 100% - 40px); }
#logout[hidden], body:not([data-billing-preview]) #logout { display: none; }
.demo-layout {
  display: grid; grid-template-columns: minmax(220px, 264px) minmax(0, 1fr);
  align-items: start; gap: clamp(20px, 3.5vw, 44px); padding: 1.75rem 0 3rem; margin-inline: auto;
}
.demo-guide { position: sticky; top: 1rem; padding: 1.25rem 1.2rem 1.1rem; border-radius: 12px; background: var(--night); color: #f1f6fb; }
.demo-guide h2 { margin: .5rem 0 .7rem; color: #fff; font-size: 1.3rem; line-height: 1.15; letter-spacing: -.015em; }
.demo-guide p { margin: .6rem 0; color: var(--night-soft); font-size: .95rem; }
.demo-guide .demo-tag { margin: 0; color: var(--cyan); font-size: .86rem; }
.demo-roles { display: flex; flex-wrap: wrap; gap: .35rem; margin: 1rem 0; }
.demo-roles[hidden] { display: none; }
.demo-roles button { min-height: 40px; padding: .4rem .7rem; border: 1px solid #3a5166; border-radius: 8px; background: none; color: #f1f6fb; font: inherit; cursor: pointer; }
.demo-roles button[aria-pressed="true"] { border-color: var(--cyan); background: var(--cyan); color: var(--night); font-weight: 600; }
.demo-roles button:disabled { opacity: .5; cursor: default; }
.demo-steps { margin: 1.1rem 0; padding-inline-start: 1.3rem; color: var(--night-soft); }
.demo-steps li { margin-block: .3rem; }
.demo-steps button { display: block; padding: .32rem 0; border: 0; background: none; color: #a5ecf4; font: inherit; text-align: start; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.demo-steps button:hover { color: #fff; }
.demo-guide a { display: block; margin-block: .5rem; color: #a5ecf4; text-underline-offset: .2em; }
.demo-guide button:focus-visible, .demo-guide a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.demo-guide .demo-note { font-size: .86rem; }
.demo-layout .stage { max-width: none; padding: 0; min-width: 0; }
body[data-demo-view="employee"] .demo-steps, body[data-demo-view="employee"] .demo-guide .demo-reset { display: none; }
@media (max-width: 820px) {
  .demo-layout { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; padding-block: 1.2rem 2.5rem; }
  .demo-guide { position: static; }
}
