/* LOGIMISSION V3.0.9 — téléphone et petite tablette.
   Patch isolé de présentation ; aucune modification de permissions, SQL ou logique métier.
   Les zones cliquables des maquettes validées restent inchangées sur ordinateur. */
.mobile-exact-dashboard{display:none}
@media screen and (max-width:760px){
  /* Les images restent intactes et sont cadrées à la largeur du téléphone.
     Les petites zones de l'image laissent place à des contrôles tactiles réels. */
  .noel-exact-fullscreen{min-height:100dvh;max-width:100%;overflow-x:clip;padding-bottom:max(14px,env(safe-area-inset-bottom));}
  .noel-exact-scroll{display:block;width:100%;max-width:100%;overflow-x:hidden;overflow-y:visible;}
  .noel-exact-stage{width:100%;max-width:100%;aspect-ratio:1536/864;}
  .noel-exact-stage .noel-exact-hit{display:none!important;}
  .noel-exact-tools{padding:12px 15px 20px;display:block;}
  .noel-exact-info{font-size:11px;line-height:1.5;}
  .noel-exact-tools .noel-exact-live-btn{display:none;}
  .mobile-exact-dashboard{display:block;box-sizing:border-box;width:100%;max-width:700px;margin:0 auto;padding:18px 14px 20px;color:#f7f4f7;}
  .mobile-exact-title{margin-bottom:14px;}
  .mobile-exact-kicker{font-size:10px;letter-spacing:1.3px;font-weight:800;color:#f4a9b7;}
  .mobile-exact-title h1{font-size:clamp(23px,6vw,29px);letter-spacing:-.6px;line-height:1.2;margin:7px 0 9px;color:#fff;font-weight:850;}
  .mobile-exact-title p{color:#d6cfd7;font-size:12px;line-height:1.65;margin:0;}
  .mobile-exact-live,.mobile-exact-action,.mobile-exact-link,.mobile-exact-portal{font:inherit;text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;}
  .mobile-exact-live{display:block;width:100%;min-height:51px;padding:13px 16px;border:1px solid #e9b2be;border-radius:12px;background:linear-gradient(120deg,#a32b4c,#6f2442);font-size:14px;line-height:1.3;font-weight:800;text-align:center;color:#fff;box-shadow:0 7px 19px #0005;}
  .mobile-exact-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:11px;}
  .mobile-exact-action{width:100%;min-height:48px;padding:10px;border:1px solid #9b6676;border-radius:10px;background:#34202ddc;color:#fff;font-weight:750;font-size:12px;line-height:1.4;}
  .mobile-exact-section-title{font-size:15px;margin:23px 0 11px;color:#fff;font-weight:850;}
  .mobile-exact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .mobile-exact-link{box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;position:relative;width:100%;min-width:0;min-height:78px;text-align:left;padding:12px 31px 12px 13px;border:1px solid #644054;border-radius:12px;background:linear-gradient(135deg,#32212fe8,#181421ed);font-size:12px;font-weight:800;line-height:1.35;overflow-wrap:anywhere;color:#fff;box-shadow:0 5px 18px #0004;}
  .mobile-exact-icon{font-size:22px;line-height:1.1;color:#ffc9d7;min-height:22px;}
  .mobile-exact-chevron{position:absolute;right:10px;top:50%;transform:translateY(-50%);font-size:24px;opacity:.65;}
  .mobile-exact-live:focus-visible,.mobile-exact-action:focus-visible,.mobile-exact-link:focus-visible,.mobile-exact-portal:focus-visible,.mobile-exact-more summary:focus-visible,.mobile-exact-zoom summary:focus-visible{outline:3px solid #fff;outline-offset:3px;}
  .mobile-exact-live:active,.mobile-exact-action:active,.mobile-exact-link:active{filter:brightness(1.24);}
  .mobile-exact-more,.mobile-exact-zoom{margin-top:14px;border:1px solid #624053;border-radius:12px;background:#261923b5;overflow:hidden;}
  .mobile-exact-more summary,.mobile-exact-zoom summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:12px 14px;font-size:13px;font-weight:800;cursor:pointer;list-style:none;touch-action:manipulation;}
  .mobile-exact-more summary::-webkit-details-marker,.mobile-exact-zoom summary::-webkit-details-marker{display:none;}
  .mobile-exact-more[open] summary,.mobile-exact-zoom[open] summary{border-bottom:1px solid #644054;}
  .mobile-exact-more .mobile-exact-grid{padding:12px;}
  .mobile-exact-portal{display:block;margin-top:14px;text-align:center;padding:13px 11px;min-height:46px;box-sizing:border-box;border-radius:10px;border:1px solid #644054;background:#342431;color:#fff;font-weight:800;font-size:13px;}
  .mobile-exact-zoom-scroll{overflow-x:auto;overflow-y:hidden;width:100%;max-width:100%;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;}
  .mobile-exact-zoom-scroll img{display:block;width:1080px;max-width:none;height:auto;user-select:none;}
  /* Coloration cohérente avec chaque thème sans changer l'image validée. */
  .other-exact-neo .mobile-exact-kicker{color:#81dfff;}
  .other-exact-neo .mobile-exact-live{background:linear-gradient(120deg,#245cc8,#172d7e);border-color:#63c7f5;}
  .other-exact-neo .mobile-exact-link,.other-exact-neo .mobile-exact-action{background:linear-gradient(125deg,#0d306a,#0b1747);border-color:#3679c9;}
  .other-exact-neo .mobile-exact-icon{color:#68d6ff;}
  .other-exact-foret .mobile-exact-kicker{color:#d6f2ab;}
  .other-exact-foret .mobile-exact-live{background:linear-gradient(120deg,#327542,#1b5133);border-color:#a0db8c;}
  .other-exact-foret .mobile-exact-link,.other-exact-foret .mobile-exact-action{background:linear-gradient(125deg,#1b4930,#102719);border-color:#5c9b67;}
  .other-exact-foret .mobile-exact-icon{color:#c8eea2;}
  .special-exact-porsche .mobile-exact-live{background:linear-gradient(120deg,#b92238,#6d0c20);border-color:#ff637b;}
  .special-exact-porsche .mobile-exact-link,.special-exact-porsche .mobile-exact-action{background:linear-gradient(125deg,#29292d,#111217);border-color:#a6374c;border-radius:7px;}
  .special-exact-samurai .mobile-exact-live{background:linear-gradient(120deg,#ad123a,#611632);border-color:#f25b7a;}
  .special-exact-samurai .mobile-exact-link,.special-exact-samurai .mobile-exact-action{background:linear-gradient(125deg,#351626,#180d19);border-color:#b83d58;}
  /* Sous-pages : éviter le débordement global et viser 44px pour les actions. */
  :root[data-theme] .app, :root[data-theme] .v308-subpage .main{min-width:0;max-width:100%;}
  :root[data-theme] .v308-subpage .main{overflow-x:clip;}
  :root[data-theme] .v308-subpage .main :is(.page-stack,.card,.page-tools,.form-grid,.form-group){min-width:0;max-width:100%;}
  :root[data-theme] .v308-subpage .main :is(.btn,.table-action){min-height:44px;white-space:normal;}
  :root[data-theme] .v308-subpage .main :is(input.field:not([type="checkbox"]):not([type="radio"]),textarea.field,select.field){font-size:16px;max-width:100%;}
  :root[data-theme] .v308-subpage .main .table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;}
  :root[data-theme] .v308-subpage .main :is(.ticket-actions,.page-tools,.top-actions){flex-wrap:wrap;}
  .modal-wrap{padding:8px;align-items:start;}
  .modal{box-sizing:border-box;width:100%;max-width:100%;max-height:calc(100dvh - 16px - env(safe-area-inset-top));padding:15px 13px;overscroll-behavior:contain;}
  .modal-close{min-width:44px;min-height:44px;}
  .modal-footer{flex-wrap:wrap;gap:8px;}
  .modal-footer .btn{min-height:44px;}
}
@media screen and (max-width:340px){.mobile-exact-dashboard{padding:12px 9px 18px}.mobile-exact-grid{gap:7px}.mobile-exact-link{padding:10px 24px 10px 9px;font-size:11px}.mobile-exact-actions{grid-template-columns:1fr}}
@media print{.mobile-exact-dashboard{display:none!important}}
