/* URG360 Alpha 1.15 — système visuel d'icônes moderne et transversal. */
:root{
  --u360-i-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E");
  --u360-i-plus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  --u360-i-edit:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L8 18l-4 1 1-4Z'/%3E%3C/svg%3E");
  --u360-i-trash:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M9 7V4h6v3M7 7l1 13h8l1-13M10 11v5M14 11v5'/%3E%3C/svg%3E");
  --u360-i-printer:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 8V3h10v5M7 17H5a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M7 14h10v7H7z'/%3E%3C/svg%3E");
  --u360-i-download:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M7 10l5 5 5-5M5 21h14'/%3E%3C/svg%3E");
  --u360-i-upload:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15V3M7 8l5-5 5 5M5 21h14'/%3E%3C/svg%3E");
  --u360-i-refresh:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 7h-5V2M4 17h5v5'/%3E%3Cpath d='M18.5 9A7 7 0 0 0 6 5l-2 2M5.5 15A7 7 0 0 0 18 19l2-2'/%3E%3C/svg%3E");
  --u360-i-search:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5'/%3E%3C/svg%3E");
  --u360-i-left:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6M9 12h11'/%3E%3C/svg%3E");
  --u360-i-x:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 6 12 12M18 6 6 18'/%3E%3C/svg%3E");
  --u360-i-send:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 2-7 20-4-9-9-4Z'/%3E%3Cpath d='M22 2 11 13'/%3E%3C/svg%3E");
  --u360-i-eye:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3C/svg%3E");
  --u360-i-scan:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M8 3H5a2 2 0 0 0-2 2v3M16 3h3a2 2 0 0 1 2 2v3M21 16v3a2 2 0 0 1-2 2h-3M8 21H5a2 2 0 0 1-2-2v-3M7 12h10'/%3E%3C/svg%3E");
  --u360-i-pen:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9M16.5 3.5a2.1 2.1 0 0 1 3 3L8 18l-4 1 1-4Z'/%3E%3C/svg%3E");
  --u360-i-archive:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16v4H4zM6 8v12h12V8M10 12h4'/%3E%3C/svg%3E");
  --u360-i-check-circle:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 2.5 2.5L16.5 8.5'/%3E%3C/svg%3E");
  --u360-i-x-circle:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m9 9 6 6M15 9l-6 6'/%3E%3C/svg%3E");
  --u360-i-log-out:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 4H5v16h5M14 8l4 4-4 4M18 12H9'/%3E%3C/svg%3E");
  --u360-i-pill:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8.5 4.5 11 11a4 4 0 0 1-5.7 5.7l-11-11a4 4 0 0 1 5.7-5.7ZM7 14l7-7'/%3E%3C/svg%3E");
  --u360-i-file-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h9l4 4v16H6zM15 2v5h4M9 14l2 2 4-5'/%3E%3C/svg%3E");
  --u360-i-certificate:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h14v14H5zM8 7h8M8 11h5'/%3E%3Ccircle cx='16' cy='17' r='3'/%3E%3Cpath d='m14.5 19.5-.5 2 2-1 2 1-.5-2'/%3E%3C/svg%3E");
  --u360-i-file-output:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h9l4 4v16H6zM15 2v5h4M9 14h7M13 10l4 4-4 4'/%3E%3C/svg%3E");
  --u360-i-route:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='18' r='2'/%3E%3Ccircle cx='18' cy='6' r='2'/%3E%3Cpath d='M8 18h3a3 3 0 0 0 3-3V9a3 3 0 0 1 3-3'/%3E%3C/svg%3E");
}

/* Actions textuelles : pictogramme discret sans modifier le comportement du bouton. */
.u360-modern-action[data-u360-action-icon]::before{
  content:"";
  display:inline-block;
  width:16px;height:16px;
  margin-right:6px;
  vertical-align:-3px;
  background:currentColor;
  -webkit-mask:var(--u360-action-mask) center/16px 16px no-repeat;
  mask:var(--u360-action-mask) center/16px 16px no-repeat;
  opacity:.9;
}
[data-u360-action-icon="check"]{--u360-action-mask:var(--u360-i-check)}
[data-u360-action-icon="plus"]{--u360-action-mask:var(--u360-i-plus)}
[data-u360-action-icon="edit"]{--u360-action-mask:var(--u360-i-edit)}
[data-u360-action-icon="trash"]{--u360-action-mask:var(--u360-i-trash)}
[data-u360-action-icon="printer"]{--u360-action-mask:var(--u360-i-printer)}
[data-u360-action-icon="download"]{--u360-action-mask:var(--u360-i-download)}
[data-u360-action-icon="upload"]{--u360-action-mask:var(--u360-i-upload)}
[data-u360-action-icon="refresh"]{--u360-action-mask:var(--u360-i-refresh)}
[data-u360-action-icon="search"]{--u360-action-mask:var(--u360-i-search)}
[data-u360-action-icon="arrow-left"]{--u360-action-mask:var(--u360-i-left)}
[data-u360-action-icon="x"]{--u360-action-mask:var(--u360-i-x)}
[data-u360-action-icon="send"]{--u360-action-mask:var(--u360-i-send)}
[data-u360-action-icon="eye"]{--u360-action-mask:var(--u360-i-eye)}
[data-u360-action-icon="scan"]{--u360-action-mask:var(--u360-i-scan)}
[data-u360-action-icon="pen"]{--u360-action-mask:var(--u360-i-pen)}
[data-u360-action-icon="archive"]{--u360-action-mask:var(--u360-i-archive)}
[data-u360-action-icon="check-circle"]{--u360-action-mask:var(--u360-i-check-circle)}
[data-u360-action-icon="x-circle"]{--u360-action-mask:var(--u360-i-x-circle)}
[data-u360-action-icon="log-out"]{--u360-action-mask:var(--u360-i-log-out)}
[data-u360-action-icon="pill"]{--u360-action-mask:var(--u360-i-pill)}
[data-u360-action-icon="file-check"]{--u360-action-mask:var(--u360-i-file-check)}
[data-u360-action-icon="certificate"]{--u360-action-mask:var(--u360-i-certificate)}
[data-u360-action-icon="file-output"]{--u360-action-mask:var(--u360-i-file-output)}
[data-u360-action-icon="route"]{--u360-action-mask:var(--u360-i-route)}

/* Recherche : supprime les anciens glyphes "⌕". */
[data-u360-utility-icon="search"]{
  width:20px!important;height:20px!important;flex:0 0 20px;
  display:inline-block!important;
  background:currentColor!important;
  -webkit-mask:var(--u360-i-search) center/20px 20px no-repeat!important;
  mask:var(--u360-i-search) center/20px 20px no-repeat!important;
  font-size:0!important;
}
.dashboard-search [data-u360-utility-icon="search"]{color:#58728e}
.searchbox [data-u360-utility-icon="search"]{color:#315b77}

/* Pictos historiques SVG : rendu plus léger/actuel. */
.urg-ui-icon{stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}

/* MOA : remplace les symboles typographiques par les mêmes icônes vectorielles. */
#v26TabMOA .v115-moa-action>b,
#v26TabMOA .v115-moa-report-icon{
  font-size:0!important;
  display:grid!important;
  place-items:center!important;
}
#v26TabMOA .v115-moa-action>b::before,
#v26TabMOA .v115-moa-report-icon::before{
  content:"";width:17px;height:17px;background:currentColor;
  -webkit-mask:var(--u360-moa-mask) center/17px 17px no-repeat;
  mask:var(--u360-moa-mask) center/17px 17px no-repeat;
}
#v26TabMOA .v115-moa-action.primary>b{--u360-moa-mask:var(--u360-i-check)}
#v26TabMOA .v115-moa-action.prescribe>b{--u360-moa-mask:var(--u360-i-pill)}
#v26TabMOA .v115-moa-action.discharge>b{--u360-moa-mask:var(--u360-i-log-out)}
#v26TabMOA .v115-moa-action.redirect>b{--u360-moa-mask:var(--u360-i-route)}
#v26TabMOA .v115-moa-report-icon{--u360-moa-mask:var(--u360-i-file-output)}

/* Cartes / badges : allègement visuel cohérent avec les nouvelles icônes. */
#dashboardView .module-card,
#dashboardView .dashboard-widget{
  border-radius:18px;
  box-shadow:0 5px 18px rgba(22,55,88,.045);
}
#dashboardView .module-card:hover{box-shadow:0 10px 28px rgba(22,55,88,.075)}
#dashboardView .module-icon[data-u360-dashboard-icon]{
  border-radius:14px!important;
  border:1px solid rgba(8,103,242,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
}
#dashboardView .shortcut-grid button{
  border-radius:13px;
  transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease,background .14s ease;
}
#dashboardView .shortcut-grid button:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(22,55,88,.07);
}

.badge,.tag,.module-status,.v28flow-chip,.privacy-pill,.topbar-build-badge,.environment-badge{
  border-radius:999px!important;
  letter-spacing:.01em;
}

/* Menu principal : libellés plus fins, sans troncature inutile lorsqu'il est ouvert. */
@media (min-width:981px){
  body:not(.urg-focus-mode) #appSidebar .nav-label,
  body.urg-focus-mode.urg-sidebar-pinned #appSidebar .nav-label,
  body.urg-focus-mode:not(.urg-sidebar-pinned) #appSidebar:hover .nav-label{
    font-size:14px;
    letter-spacing:-.01em;
    text-overflow:clip;
  }
}

/* Footer du menu : garder l'information utile, supprimer le texte technique encombrant. */
#appSidebar .sidebar-build-proof{display:none!important}
#appSidebar .sidebar-footer>span:first-child{
  white-space:nowrap;
  font-size:10px;
  letter-spacing:.01em;
}
#appSidebar .sidebar-footer{gap:10px}
