/* Console "Gestionale" per admin.html — una seconda veste, scelta dal partner con un click
   (html[data-ui="gestionale"], salvata nel browser). La veste "classica" resta intatta:
   nessuna regola qui sotto vale senza quell'attributo.

   Idea: barra in alto scura (il logo resta quello originale), menu a sinistra che si apre
   e si chiude come nei gestionali alberghieri, tabelle da archivio (righe fitte, intestazioni
   in maiuscolo, angoli piccoli), un solo accento verde-petrolio al posto dell'arancio.
   Sotto gli 861 px non cambia niente: c'e' gia' il menu a tendina.

   Le icone del menu sono le stesse emoji di prima rese monocromatiche: la prima lettera
   di ogni voce e' l'emoji, e ::first-letter la tinge (trasparente + text-shadow). Nessuna
   libreria di icone in piu'. */

html[data-ui="gestionale"]{
  --g-bg:#f4f6f8; --g-card:#fff; --g-line:#dde2e8; --g-line2:#e9edf1; --g-head:#eaeff3;
  --g-text:#18222d; --g-mute:#5b6773; --g-acc:#0f766e; --g-acc-bg:#e3f3f0; --g-acc-dk:#0b5c53;
  --g-sb:236px;
}
html[data-ui="gestionale"].g-collapsed{ --g-sb:60px; }
html[data-ui="gestionale"] body{ background:var(--g-bg); color:var(--g-text); }

/* Il bottone del cambio stile sta sempre nella barra, in entrambe le vesti */
#uiSwitchBtn{ background:rgba(255,255,255,.12); color:#fff; border:1px solid rgba(255,255,255,.2); border-radius:8px; font-size:12px; padding:5px 10px; cursor:pointer; white-space:nowrap }
#uiSwitchBtn:hover{ background:rgba(255,255,255,.2) }
#gCollapseBtn{ display:none }

@media(min-width:861px){
  html[data-ui="gestionale"] .topbar{ height:56px; min-width:0; padding:0 16px 0 8px; gap:10px }
  html[data-ui="gestionale"] #gCollapseBtn{ display:block; background:none; border:none; color:#fff; font-size:20px; line-height:1; cursor:pointer; padding:8px 10px; border-radius:6px }
  html[data-ui="gestionale"] #gCollapseBtn:hover{ background:rgba(255,255,255,.12) }

  /* ── Menu a sinistra ── */
  html[data-ui="gestionale"] .topbar-nav{
    position:fixed; top:56px; left:0; bottom:0; width:var(--g-sb); z-index:90;
    flex-direction:column; flex:none; gap:1px; padding:10px 8px;
    background:#fff; border-right:1px solid var(--g-line);
    overflow-y:auto; overflow-x:hidden; transition:width .15s;
  }
  html[data-ui="gestionale"] .nav-btn{
    display:block; width:100%; text-align:left; border-radius:4px; padding:9px 12px; min-height:38px;
    color:var(--g-mute); font-size:13.5px; font-weight:500; background:transparent; white-space:nowrap;
    overflow:hidden; text-overflow:ellipsis; transition:background .12s,color .12s;
  }
  html[data-ui="gestionale"] .nav-btn:hover{ background:var(--g-head); color:var(--g-text) }
  html[data-ui="gestionale"] .nav-btn.active{ background:var(--g-acc-bg); color:var(--g-acc-dk); font-weight:700; box-shadow:inset 3px 0 0 var(--g-acc) }
  html[data-ui="gestionale"] .nav-btn > span{ display:inline-block }
  /* L'emoji iniziale di ogni voce si nasconde (::first-letter a dimensione zero) e al suo
     posto va un'icona a linea, disegnata da ::before FUORI dal flusso: se fosse nel flusso
     sarebbe lei la "prima lettera" e sparirebbe al posto dell'emoji. */
  html[data-ui="gestionale"] .nav-btn{ position:relative; padding-left:38px }
  html[data-ui="gestionale"] .nav-btn > span::first-letter,
  html[data-ui="gestionale"] .nav-btn::first-letter{ font-size:0 }
  html[data-ui="gestionale"] .nav-btn::before{
    content:""; position:absolute; left:11px; top:50%; width:18px; height:18px; margin-top:-9px;
    background:currentColor; -webkit-mask:var(--ico) center/contain no-repeat; mask:var(--ico) center/contain no-repeat;
  }
  html[data-ui="gestionale"] .nav-group{ display:block }
  html[data-ui="gestionale"] .nav-sub{ padding:1px 0 1px 12px }
  html[data-ui="gestionale"] .nav-sub .nav-btn{ font-size:12.5px!important; padding:6px 12px 6px 38px!important; min-height:32px; opacity:1 }
  html[data-ui="gestionale"] #tourHelpBtn{ color:var(--g-mute)!important; text-align:left; margin-top:auto }

  /* ── Menu chiuso: solo le icone ── */
  html[data-ui="gestionale"].g-collapsed .nav-btn{ font-size:0; padding:9px 0; min-height:40px }
  html[data-ui="gestionale"].g-collapsed .nav-btn > span{ font-size:0 }
  html[data-ui="gestionale"].g-collapsed .nav-btn::before{ left:50%; margin-left:-10px; width:20px; height:20px; margin-top:-10px }
  html[data-ui="gestionale"].g-collapsed .topbar-nav{ scrollbar-width:none }
  html[data-ui="gestionale"].g-collapsed .topbar-nav::-webkit-scrollbar{ display:none }
  /* Le pastiglie di notifica restano, ma come puntini sull'angolo dell'icona */
  html[data-ui="gestionale"].g-collapsed .nav-btn [id$="Badge"]{ position:absolute; top:3px; right:6px; font-size:9px!important; padding:0 4px!important; margin:0!important; line-height:15px }
  html[data-ui="gestionale"].g-collapsed .nav-group-arrow,
  html[data-ui="gestionale"].g-collapsed .nav-sub{ display:none!important }
  html[data-ui="gestionale"].g-collapsed #tourHelpBtn{ font-size:0!important }

  /* Il contenuto si sposta a destra del menu e usa tutta la larghezza */
  html[data-ui="gestionale"] .main{ max-width:none; margin:0 0 0 var(--g-sb); padding:22px 28px; transition:margin .15s }
}

/* Tablet (reception): voci piu' alte, comode al tocco */
@media(min-width:861px) and (max-width:1180px){
  html[data-ui="gestionale"] .nav-btn{ min-height:44px }
  html[data-ui="gestionale"] .main{ padding:18px 18px }
}

/* ── Forme da gestionale: angoli piccoli, bordi sottili, niente ombre morbide ── */
html[data-ui="gestionale"] .page-header{ margin-bottom:16px; padding-bottom:12px; border-bottom:1px solid var(--g-line) }
html[data-ui="gestionale"] .page-header h2{ font-size:19px; font-weight:700; color:var(--g-text) }
html[data-ui="gestionale"] .page-header p{ color:var(--g-mute) }
html[data-ui="gestionale"] .primary-btn,
html[data-ui="gestionale"] .secondary-btn,
html[data-ui="gestionale"] .batch-btn,
html[data-ui="gestionale"] .logout-btn{ border-radius:4px; font-size:13px; padding:8px 14px; min-height:34px }
html[data-ui="gestionale"] .primary-btn{ background:var(--g-acc); font-weight:600 }
html[data-ui="gestionale"] .primary-btn:hover{ background:#0b5c53; opacity:1 }
html[data-ui="gestionale"] .secondary-btn{ border:1px solid #cfd6de; background:#fff; color:var(--g-text) }
html[data-ui="gestionale"] .secondary-btn:hover{ border-color:var(--g-acc); color:var(--g-acc-dk) }
html[data-ui="gestionale"] .card,
html[data-ui="gestionale"] .partner-card,
html[data-ui="gestionale"] .coll-card,
html[data-ui="gestionale"] .tracks-table,
html[data-ui="gestionale"] .links-table{ border-radius:6px; box-shadow:none; border:1px solid var(--g-line); background:var(--g-card) }
html[data-ui="gestionale"] .card:hover{ transform:none; box-shadow:none; border-color:#b8c2cd }
html[data-ui="gestionale"] .tag,
html[data-ui="gestionale"] .status-badge,
html[data-ui="gestionale"] .plan-badge,
html[data-ui="gestionale"] .qf-chip{ border-radius:3px }
html[data-ui="gestionale"] .view-toggle,
html[data-ui="gestionale"] .view-toggle-btn,
html[data-ui="gestionale"] .tracks-filter-btn,
html[data-ui="gestionale"] .icon-btn{ border-radius:4px }

/* Tabelle: intestazione grigia, righe fitte, selezione evidente */
html[data-ui="gestionale"] .tracks-table th,
html[data-ui="gestionale"] .links-table th{ background:var(--g-head); color:#46525f; font-size:11px; font-weight:700; letter-spacing:.4px; padding:8px 12px; border-bottom:1px solid #cfd6de }
html[data-ui="gestionale"] .tracks-table td,
html[data-ui="gestionale"] .links-table td{ padding:9px 12px; border-bottom:1px solid var(--g-line2); font-size:13.5px; font-weight:500; color:#2b3744; font-variant-numeric:tabular-nums }
/* Stesso carattere del menu a sinistra (13,5 px, peso medio): elenco e menu si leggono come
   un'unica interfaccia. */
html[data-ui="gestionale"] .card-title,
html[data-ui="gestionale"] .partner-name,
html[data-ui="gestionale"] .coll-title{ font-size:14px; font-weight:600; color:var(--g-text) }
html[data-ui="gestionale"] .card-sub,
html[data-ui="gestionale"] .card-meta,
html[data-ui="gestionale"] .partner-email{ font-size:13px; font-weight:500; color:var(--g-mute) }
html[data-ui="gestionale"] .tracks-table tr:nth-child(even) td,
html[data-ui="gestionale"] .links-table tr:nth-child(even) td{ background:#fafbfc }
html[data-ui="gestionale"] .tracks-table tr:hover td,
html[data-ui="gestionale"] .links-table tr:hover td{ background:#eef6f5 }
html[data-ui="gestionale"] .tracks-table th.sort-active{ color:var(--g-acc-dk) }

/* Campi e finestre */
html[data-ui="gestionale"] .field input,
html[data-ui="gestionale"] .field select,
html[data-ui="gestionale"] .field textarea,
html[data-ui="gestionale"] #tracksSearchBar input[type=text],
html[data-ui="gestionale"] #tracksSearchBar select{ border:1px solid #cfd6de; border-radius:4px; background:#fff }
html[data-ui="gestionale"] .field input:focus,
html[data-ui="gestionale"] .field select:focus,
html[data-ui="gestionale"] .field textarea:focus,
html[data-ui="gestionale"] #tracksSearchBar input[type=text]:focus{ border-color:var(--g-acc); outline:none; box-shadow:0 0 0 2px var(--g-acc-bg) }
html[data-ui="gestionale"] .modal{ border-radius:8px }
html[data-ui="gestionale"] .modal-header h3{ font-size:16px; font-weight:700 }
html[data-ui="gestionale"] .batch-bar{ border-radius:6px }
html[data-ui="gestionale"] .dropzone{ border-radius:6px }

/* L'arancio resta solo nel logo: controlli e cursori prendono l'accento della veste */
html[data-ui="gestionale"] .dual-range-fill{ background:var(--g-acc) }
html[data-ui="gestionale"] .dual-range-wrap input[type=range]::-webkit-slider-thumb{ background:var(--g-acc); border-color:#fff }
html[data-ui="gestionale"] .dual-range-wrap input[type=range]::-moz-range-thumb{ background:var(--g-acc); border-color:#fff }
html[data-ui="gestionale"] .range-filter-col .range-label-row span:last-child{ color:var(--g-acc-dk) }
html[data-ui="gestionale"] .qf-chip.active,
html[data-ui="gestionale"] .tracks-filter-btn.active,
html[data-ui="gestionale"] .view-toggle-btn.active{ background:var(--g-acc-bg); border-color:var(--g-acc); color:var(--g-acc-dk) }
html[data-ui="gestionale"] .topbar-logo{ font-size:17px }

/* ── Icone del menu: Tabler (a linea, MIT) come maschere SVG, ~10 KB in tutto ── */
@media(min-width:861px){
  html[data-ui="gestionale"] .nav-btn[data-view="tracks"]{ --ico:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 class=%22icon icon-tabler icons-tabler-outline icon-tabler-route%22 %3E %3Cpath stroke=%22none%22 d=%22M0 0h24v24H0z%22 fill=%22none%22/%3E %3Cpath d=%22M3 19a2 2 0 1 0 4 0a2 2 0 0 0 -4 0%22 /%3E %3Cpath d=%22M19 7a2 2 0 1 0 0 -4a2 2 0 0 0 0 4z%22 /%3E %3Cpath d=%22M11 19h5.5a3.5 3.5 0 0 0 0 -7h-8a3.5 3.5 0 0 1 0 -7h4.5%22 /%3E %3C/svg%3E") }
  html[data-ui="gestionale"] .nav-btn[data-view="collections"]{ --ico:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 class=%22icon icon-tabler icons-tabler-outline icon-tabler-folders%22 %3E %3Cpath stroke=%22none%22 d=%22M0 0h24v24H0z%22 fill=%22none%22/%3E %3Cpath d=%22M9 4h3l2 2h5a2 2 0 0 1 2 2v7a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-9a2 2 0 0 1 2 -2%22 /%3E %3Cpath d=%22M17 17v2a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-9a2 2 0 0 1 2 -2h2%22 /%3E %3C/svg%3E") }
  html[data-ui="gestionale"] .nav-btn[data-view="links"]{ --ico:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 class=%22icon icon-tabler icons-tabler-outline icon-tabler-send%22 %3E %3Cpath stroke=%22none%22 d=%22M0 0h24v24H0z%22 fill=%22none%22/%3E %3Cpath d=%22M10 14l11 -11%22 /%3E %3Cpath d=%22M21 3l-6.5 18a.55 .55 0 0 1 -1 0l-3.5 -7l-7 -3.5a.55 .55 0 0 1 0 -1l18 -6.5%22 /%3E %3C/svg%3E") }
  html[data-ui="gestionale"] .nav-btn[data-view="vetrina"]{ --ico:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 class=%22icon icon-tabler icons-tabler-outline icon-tabler-building-store%22 %3E %3Cpath stroke=%22none%22 d=%22M0 0h24v24H0z%22 fill=%22none%22/%3E %3Cpath d=%22M3 21l18 0%22 /%3E %3Cpath d=%22M3 7v1a3 3 0 0 0 6 0v-1m0 1a3 3 0 0 0 6 0v-1m0 1a3 3 0 0 0 6 0v-1h-18l2 -4h14l2 4%22 /%3E %3Cpath d=%22M5 21l0 -10.15%22 /%3E %3Cpath d=%22M19 21l0 -10.15%22 /%3E %3Cpath d=%22M9 21v-4a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v4%22 /%3E %3C/svg%3E") }
  html[data-ui="gestionale"] .nav-btn[data-view="catalog"]{ --ico:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 class=%22icon icon-tabler icons-tabler-outline icon-tabler-books%22 %3E %3Cpath stroke=%22none%22 d=%22M0 0h24v24H0z%22 fill=%22none%22/%3E %3Cpath d=%22M5 4m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v14a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z%22 /%3E %3Cpath d=%22M9 4m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v14a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z%22 /%3E %3Cpath d=%22M5 8h4%22 /%3E %3Cpath d=%22M9 16h4%22 /%3E %3Cpath d=%22M13.803 4.56l2.184 -.53c.562 -.135 1.133 .19 1.282 .732l3.695 13.418a1.02 1.02 0 0 1 -.634 1.219l-.133 .041l-2.184 .53c-.562 .135 -1.133 -.19 -1.282 -.732l-3.695 -13.418a1.02 1.02 0 0 1 .634 -1.219l.133 -.041z%22 /%3E %3Cpath d=%22M14 9l4 -1%22 /%3E %3Cpath d=%22M16 16l3.923 -.98%22 /%3E %3C/svg%3E") }
  html[data-ui="gestionale"] .nav-btn[data-view="credits"]{ --ico:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 class=%22icon icon-tabler icons-tabler-outline icon-tabler-coin%22 %3E %3Cpath stroke=%22none%22 d=%22M0 0h24v24H0z%22 fill=%22none%22/%3E %3Cpath d=%22M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0%22 /%3E %3Cpath d=%22M14.8 9a2 2 0 0 0 -1.8 -1h-2a2 2 0 1 0 0 4h2a2 2 0 1 1 0 4h-2a2 2 0 0 1 -1.8 -1%22 /%3E %3Cpath d=%22M12 7v10%22 /%3E %3C/svg%3E") }
  html[data-ui="gestionale"] .nav-btn[data-view="listino"]{ --ico:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 class=%22icon icon-tabler icons-tabler-outline icon-tabler-list-details%22 %3E %3Cpath stroke=%22none%22 d=%22M0 0h24v24H0z%22 fill=%22none%22/%3E %3Cpath d=%22M13 5h8%22 /%3E %3Cpath d=%22M13 9h5%22 /%3E %3Cpath d=%22M13 15h8%22 /%3E %3Cpath d=%22M13 19h5%22 /%3E %3Cpath d=%22M3 4m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z%22 /%3E %3Cpath d=%22M3 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z%22 /%3E %3C/svg%3E") }
  html[data-ui="gestionale"] .nav-btn[data-view="da-sapere"]{ --ico:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 class=%22icon icon-tabler icons-tabler-outline icon-tabler-bulb%22 %3E %3Cpath stroke=%22none%22 d=%22M0 0h24v24H0z%22 fill=%22none%22/%3E %3Cpath d=%22M3 12h1m8 -9v1m8 8h1m-15.4 -6.4l.7 .7m12.1 -.7l-.7 .7%22 /%3E %3Cpath d=%22M9 16a5 5 0 1 1 6 0a3.5 3.5 0 0 0 -1 3a2 2 0 0 1 -4 0a3.5 3.5 0 0 0 -1 -3%22 /%3E %3Cpath d=%22M9.7 17l4.6 0%22 /%3E %3C/svg%3E") }
  html[data-ui="gestionale"] .nav-btn[data-view="partner-stats"]{ --ico:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 class=%22icon icon-tabler icons-tabler-outline icon-tabler-chart-bar%22 %3E %3Cpath stroke=%22none%22 d=%22M0 0h24v24H0z%22 fill=%22none%22/%3E %3Cpath d=%22M3 13a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v6a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z%22 /%3E %3Cpath d=%22M15 9a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v10a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z%22 /%3E %3Cpath d=%22M9 5a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v14a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z%22 /%3E %3Cpath d=%22M4 20h14%22 /%3E %3C/svg%3E") }
  html[data-ui="gestionale"] .nav-btn[data-view="postazioni"]{ --ico:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 class=%22icon icon-tabler icons-tabler-outline icon-tabler-users%22 %3E %3Cpath stroke=%22none%22 d=%22M0 0h24v24H0z%22 fill=%22none%22/%3E %3Cpath d=%22M9 7m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0%22 /%3E %3Cpath d=%22M3 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2%22 /%3E %3Cpath d=%22M16 3.13a4 4 0 0 1 0 7.75%22 /%3E %3Cpath d=%22M21 21v-2a4 4 0 0 0 -3 -3.85%22 /%3E %3C/svg%3E") }
  html[data-ui="gestionale"] .nav-btn[data-view="profilo"]{ --ico:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 class=%22icon icon-tabler icons-tabler-outline icon-tabler-building%22 %3E %3Cpath stroke=%22none%22 d=%22M0 0h24v24H0z%22 fill=%22none%22/%3E %3Cpath d=%22M3 21l18 0%22 /%3E %3Cpath d=%22M9 8l1 0%22 /%3E %3Cpath d=%22M9 12l1 0%22 /%3E %3Cpath d=%22M9 16l1 0%22 /%3E %3Cpath d=%22M14 8l1 0%22 /%3E %3Cpath d=%22M14 12l1 0%22 /%3E %3Cpath d=%22M14 16l1 0%22 /%3E %3Cpath d=%22M5 21v-16a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v16%22 /%3E %3C/svg%3E") }
  html[data-ui="gestionale"] .nav-btn[data-view="partners"]{ --ico:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 class=%22icon icon-tabler icons-tabler-outline icon-tabler-building-community%22 %3E %3Cpath stroke=%22none%22 d=%22M0 0h24v24H0z%22 fill=%22none%22/%3E %3Cpath d=%22M8 9l5 5v7h-5v-4m0 4h-5v-7l5 -5m1 1v-6a1 1 0 0 1 1 -1h10a1 1 0 0 1 1 1v17h-8%22 /%3E %3Cpath d=%22M13 7l0 .01%22 /%3E %3Cpath d=%22M17 7l0 .01%22 /%3E %3Cpath d=%22M17 11l0 .01%22 /%3E %3Cpath d=%22M17 15l0 .01%22 /%3E %3C/svg%3E") }
  html[data-ui="gestionale"] .nav-btn[data-view="expired-partners"]{ --ico:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 class=%22icon icon-tabler icons-tabler-outline icon-tabler-alert-circle%22 %3E %3Cpath stroke=%22none%22 d=%22M0 0h24v24H0z%22 fill=%22none%22/%3E %3Cpath d=%22M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0%22 /%3E %3Cpath d=%22M12 8v4%22 /%3E %3Cpath d=%22M12 16h.01%22 /%3E %3C/svg%3E") }
  html[data-ui="gestionale"] .nav-btn[data-view="reports"]{ --ico:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 class=%22icon icon-tabler icons-tabler-outline icon-tabler-alert-triangle%22 %3E %3Cpath stroke=%22none%22 d=%22M0 0h24v24H0z%22 fill=%22none%22/%3E %3Cpath d=%22M12 9v4%22 /%3E %3Cpath d=%22M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0z%22 /%3E %3Cpath d=%22M12 16h.01%22 /%3E %3C/svg%3E") }
  html[data-ui="gestionale"] .nav-btn[data-view="closures"]{ --ico:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 class=%22icon icon-tabler icons-tabler-outline icon-tabler-ban%22 %3E %3Cpath stroke=%22none%22 d=%22M0 0h24v24H0z%22 fill=%22none%22/%3E %3Cpath d=%22M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0%22 /%3E %3Cpath d=%22M5.7 5.7l12.6 12.6%22 /%3E %3C/svg%3E") }
  html[data-ui="gestionale"] .nav-btn[data-view="stats"]{ --ico:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 class=%22icon icon-tabler icons-tabler-outline icon-tabler-chart-line%22 %3E %3Cpath stroke=%22none%22 d=%22M0 0h24v24H0z%22 fill=%22none%22/%3E %3Cpath d=%22M4 19l16 0%22 /%3E %3Cpath d=%22M4 15l4 -6l4 2l4 -5l4 4%22 /%3E %3C/svg%3E") }
  html[data-ui="gestionale"] .nav-btn[data-view="poi-library"]{ --ico:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 class=%22icon icon-tabler icons-tabler-outline icon-tabler-map-pin%22 %3E %3Cpath stroke=%22none%22 d=%22M0 0h24v24H0z%22 fill=%22none%22/%3E %3Cpath d=%22M9 11a3 3 0 1 0 6 0a3 3 0 0 0 -6 0%22 /%3E %3Cpath d=%22M17.657 16.657l-4.243 4.243a2 2 0 0 1 -2.827 0l-4.244 -4.243a8 8 0 1 1 11.314 0z%22 /%3E %3C/svg%3E") }
  html[data-ui="gestionale"] .nav-btn[data-view="fatturazione"]{ --ico:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 class=%22icon icon-tabler icons-tabler-outline icon-tabler-receipt-euro%22 %3E %3Cpath stroke=%22none%22 d=%22M0 0h24v24H0z%22 fill=%22none%22/%3E %3Cpath d=%22M5 21v-16a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v16l-3 -2l-2 2l-2 -2l-2 2l-2 -2l-3 2%22 /%3E %3Cpath d=%22M15 7.8c-.523 -.502 -1.172 -.8 -1.875 -.8c-1.727 0 -3.125 1.791 -3.125 4s1.398 4 3.125 4c.703 0 1.352 -.298 1.874 -.8%22 /%3E %3Cpath d=%22M9 11h4%22 /%3E %3C/svg%3E") }
  html[data-ui="gestionale"] .nav-btn[data-view="changelog-sa"]{ --ico:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 class=%22icon icon-tabler icons-tabler-outline icon-tabler-notes%22 %3E %3Cpath stroke=%22none%22 d=%22M0 0h24v24H0z%22 fill=%22none%22/%3E %3Cpath d=%22M5 3m0 2a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2z%22 /%3E %3Cpath d=%22M9 7l6 0%22 /%3E %3Cpath d=%22M9 11l6 0%22 /%3E %3Cpath d=%22M9 15l4 0%22 /%3E %3C/svg%3E") }
  html[data-ui="gestionale"] .nav-btn[data-view="settings"]{ --ico:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 class=%22icon icon-tabler icons-tabler-outline icon-tabler-settings%22 %3E %3Cpath stroke=%22none%22 d=%22M0 0h24v24H0z%22 fill=%22none%22/%3E %3Cpath d=%22M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z%22 /%3E %3Cpath d=%22M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0%22 /%3E %3C/svg%3E") }
  html[data-ui="gestionale"] .nav-btn[data-view="translations"]{ --ico:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 class=%22icon icon-tabler icons-tabler-outline icon-tabler-language%22 %3E %3Cpath stroke=%22none%22 d=%22M0 0h24v24H0z%22 fill=%22none%22/%3E %3Cpath d=%22M4 5h7%22 /%3E %3Cpath d=%22M9 3v2c0 4.418 -2.239 8 -5 8%22 /%3E %3Cpath d=%22M5 9c0 2.144 2.952 3.908 6.7 4%22 /%3E %3Cpath d=%22M12 20l4 -9l4 9%22 /%3E %3Cpath d=%22M19.1 18h-6.2%22 /%3E %3C/svg%3E") }
  html[data-ui="gestionale"] .nav-btn[data-view="suggerimenti"]{ --ico:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 class=%22icon icon-tabler icons-tabler-outline icon-tabler-message-circle%22 %3E %3Cpath stroke=%22none%22 d=%22M0 0h24v24H0z%22 fill=%22none%22/%3E %3Cpath d=%22M3 20l1.3 -3.9c-2.324 -3.437 -1.426 -7.872 2.1 -10.374c3.526 -2.501 8.59 -2.296 11.845 .48c3.255 2.777 3.695 7.266 1.029 10.501c-2.666 3.235 -7.615 4.215 -11.574 2.293l-4.7 1%22 /%3E %3C/svg%3E") }
  html[data-ui="gestionale"] .nav-btn{ --ico:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 class=%22icon icon-tabler icons-tabler-outline icon-tabler-circle-dashed%22 %3E %3Cpath stroke=%22none%22 d=%22M0 0h24v24H0z%22 fill=%22none%22/%3E %3Cpath d=%22M8.56 3.69a9 9 0 0 0 -2.92 1.95%22 /%3E %3Cpath d=%22M3.69 8.56a9 9 0 0 0 -.69 3.44%22 /%3E %3Cpath d=%22M3.69 15.44a9 9 0 0 0 1.95 2.92%22 /%3E %3Cpath d=%22M8.56 20.31a9 9 0 0 0 3.44 .69%22 /%3E %3Cpath d=%22M15.44 20.31a9 9 0 0 0 2.92 -1.95%22 /%3E %3Cpath d=%22M20.31 15.44a9 9 0 0 0 .69 -3.44%22 /%3E %3Cpath d=%22M20.31 8.56a9 9 0 0 0 -1.95 -2.92%22 /%3E %3Cpath d=%22M15.44 3.69a9 9 0 0 0 -3.44 -.69%22 /%3E %3C/svg%3E") }
}

/* Impostazioni: nella veste gestionale le schede diventano sotto-voci del menu a sinistra, e la
   barra delle schede dentro la pagina si nasconde (resta se il menu e' chiuso, altrimenti non si
   potrebbe raggiungere nessuna scheda). Nella classica le sotto-voci non si vedono. */
html:not([data-ui="gestionale"]) #navSettingsSub{ display:none!important }
html:not([data-ui="gestionale"]) #navSettingsGroup .nav-group-arrow{ display:none }
@media(min-width:861px){
  html[data-ui="gestionale"]:not(.g-collapsed) #settingsTabBar{ display:none!important }
  html[data-ui="gestionale"] .nav-sub .nav-btn{ padding-left:38px }
  html[data-ui="gestionale"] .nav-sub .nav-btn::before{ display:none }
  /* le sotto-voci non iniziano con un'emoji: non va nascosta la prima lettera */
  html[data-ui="gestionale"] .nav-sub .nav-btn::first-letter{ font-size:12.5px!important }
  html[data-ui="gestionale"] .nav-sub .nav-btn{ min-height:32px; font-size:12.5px }
}
