/* 19/11 (Baptiste, 12:50 Lisbonne : « l'app est encore en plein écran sur mon ordi et non pas format téléphone, mets
   comme avant iPhone et Android ») : au computador seulement, l'app est posée dans le téléphone de la maquette
   (390 x 844, Android 412 x 915, arrondi 54 / 40, barre d'état de 50 px dans le flux, l'app commence dessous) et, sous
   le téléphone, le sélecteur « iPhone | Android », rien d'autre. Les éléments et la classe html.cm-on sont posés par
   static/js/moldura-computador.js, seulement dans une fenêtre de plus de 520 px avec une souris : au telemóvel (même
   en paysage), rien n'est créé et l'app occupe l'écran (incident du 18/11, 21:21 ; tests/test_n4_sem_cadre.py). Sans
   html.cm-on, aucune règle d'ici ne s'applique. Classes préfixées « cm- » : aucune collision avec la maquette ni avec
   l'app. Si la fenêtre passe sous 521 px après coup, le cadre s'efface. */
@media (min-width:521px){
  html.cm-on body{min-height:100vh;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;
    gap:18px;padding:24px 0;background:#E4E9E6}
  html.cm-on .cm-tel{width:390px;height:844px;flex:none;position:relative;isolation:isolate;overflow:hidden;overflow:clip;
    display:flex;flex-direction:column;border-radius:54px;background:var(--cm-fundo,#10483F);color:var(--cm-tx,#FFFFFF);
    box-shadow:0 0 0 10px #040706,0 0 0 11.5px rgba(255,255,255,.16),0 44px 70px -34px rgba(0,0,0,.6)}
  html.cm-on .cm-tel[data-os=android]{width:412px;height:915px;border-radius:40px}
  html.cm-on .cm-barra{flex:none;height:50px;display:flex;justify-content:space-between;align-items:center;
    padding:9px 34px 0;font:650 16px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
    font-variant-numeric:tabular-nums;position:relative;z-index:6}
  html.cm-on .cm-barra::before{content:"";position:absolute;left:50%;top:11px;width:116px;height:33px;margin-left:-58px;
    border-radius:18px;background:#000000}
  html.cm-on .cm-barra svg{width:66px;height:13px;fill:currentColor}
  html.cm-on .cm-tel > .device.ph,html.cm-on .cm-tel > .device.ph[data-os]{flex:1;min-height:0;width:100%;height:auto;
    position:relative;border-radius:0;box-shadow:none;transform:none;margin:0}
  html.cm-on .cm-os{display:inline-grid;grid-auto-flow:column;gap:2px;padding:3px;border-radius:10px;background:#26322F;
    font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
  html.cm-on .cm-os button{min-height:44px;padding:0 16px;border:0;border-radius:8px;background:none;font-size:13px;
    font-weight:500;color:#D5DCD9;cursor:pointer}
  html.cm-on .cm-os button[aria-selected=true]{background:#FFFFFF;color:#111111;box-shadow:0 1px 2px rgba(0,0,0,.12)}
  html.cm-on .cm-os button:focus-visible{outline:2px solid #FFFFFF;outline-offset:2px}
  /* 23/11 (T1, ALUNO_COACH_2311) : la tablette (800 x 1280, paysage 1280 x 800), seulement sous data-apercu-tablet. */
  html.cm-on .cm-tel[data-os=tablet]{width:800px;height:1280px;border-radius:36px}
  html.cm-on .cm-tel[data-os=tablet].cm-paisagem{width:1280px;height:800px}
  html.cm-on .cm-tel[data-os=tablet] .cm-barra::before{display:none}
  html.cm-on .cm-os .cm-rod{margin-left:6px;border:1px solid #5C6B67}
  html.cm-on .cm-os .cm-rod[aria-pressed=true]{background:#FFFFFF;color:#111111}
}
@media (max-width:520px){
  .cm-tel{display:contents}
  .cm-barra,.cm-os{display:none!important}
}
