/* CPool Master Uniform v11.3.16f
   Solo presentazione: nessun riordino DOM, nessun JavaScript.
*/

:root {
  --cpool-master-width: 960px;
  --cpool-master-border: #e2e7f0;
  --cpool-master-text: #0b1220;
  --cpool-master-muted: #667085;
  --cpool-master-radius: 16px;
  --cpool-master-control-radius: 12px;
  --cpool-master-control-height: 46px;
  --cpool-master-shadow: 0 10px 30px rgba(15, 23, 42, 0.045);
}

/* =========================================================
   1. LARGHEZZA ESTERNA IDENTICA DELLE SEZIONI PRINCIPALI
   ========================================================= */

body[data-cpool-controller="cpool_dashboard"] .cpool-dashboard,
body[data-cpool-controller="cpool_clients"] .cpool-clients-index-v10-3,
body[data-cpool-controller="cpool_collections"] .cpool-collections-page,
body[data-cpool-controller="cpool_dynamic_templates"] .cpool-models-page,
body[data-cpool-controller="cpool_invii"] [data-cpool-documents-page="true"],
body[data-cpool-controller="cpool_archive"] .cpool-paperless-page,
body[data-cpool-controller="cpool_search"] .cpool-v2-page,
body[data-cpool-controller="cpool_support_conversations"] .cpool-support-page,
body[data-cpool-controller="cpool_settings"] .cpool-v2-page,
.cpool-document-full-header,
#cpool-document-main,
#cpool-editor-main {
  box-sizing: border-box !important;
  width: min(100%, var(--cpool-master-width)) !important;
  max-width: var(--cpool-master-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Posizione verticale identica sotto la navbar. */
body[data-cpool-controller="cpool_dashboard"] .cpool-dashboard,
body[data-cpool-controller="cpool_clients"] .cpool-clients-index-v10-3,
body[data-cpool-controller="cpool_collections"] .cpool-collections-page,
body[data-cpool-controller="cpool_dynamic_templates"] .cpool-models-page,
body[data-cpool-controller="cpool_invii"] [data-cpool-documents-page="true"],
body[data-cpool-controller="cpool_archive"] .cpool-paperless-page,
body[data-cpool-controller="cpool_search"] .cpool-v2-page,
body[data-cpool-controller="cpool_support_conversations"] .cpool-support-page,
body[data-cpool-controller="cpool_settings"] .cpool-v2-page {
  padding-top: 28px !important;
}

/* =========================================================
   2. INTESTAZIONE UNICA
   ========================================================= */

body[data-cpool-controller="cpool_dashboard"] .cpool-dashboard > .cpool-v2-hero,
body[data-cpool-controller="cpool_clients"] .cpool-clients-index-v10-3 > .cpool-page-header,
body[data-cpool-controller="cpool_collections"] .cpool-collections-page > .cpool-v2-hero,
body[data-cpool-controller="cpool_dynamic_templates"] .cpool-models-page > div:first-child,
body[data-cpool-controller="cpool_invii"] [data-cpool-documents-page="true"] > .cpool-v2-hero,
body[data-cpool-controller="cpool_archive"] .cpool-paperless-page > .cpool-v2-hero,
body[data-cpool-controller="cpool_search"] .cpool-v2-page > .cpool-v2-hero,
body[data-cpool-controller="cpool_support_conversations"] .cpool-support-page > .cpool-support-hero,
body[data-cpool-controller="cpool_settings"] .cpool-v2-page > .cpool-v2-hero,
.cpool-document-full-header .cpool-document-full-hero {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 24px !important;
  width: 100% !important;
  min-height: 82px !important;
  margin: 0 0 28px !important;
  padding: 0 !important;
}

/* Gli occhielli non devono far cambiare altezza alle pagine. */
body[data-cpool-controller="cpool_dashboard"] .cpool-v2-eyebrow,
body[data-cpool-controller="cpool_collections"] .cpool-v2-eyebrow,
body[data-cpool-controller="cpool_invii"] .cpool-v2-eyebrow,
body[data-cpool-controller="cpool_search"] .cpool-v2-eyebrow,
body[data-cpool-controller="cpool_settings"] .cpool-v2-eyebrow,
body[data-cpool-controller="cpool_support_conversations"] .cpool-support-eyebrow {
  display: none !important;
}

/* Titoli principali. */
body[data-cpool-controller="cpool_dashboard"] .cpool-dashboard > .cpool-v2-hero h1,
body[data-cpool-controller="cpool_clients"] .cpool-page-header h1,
body[data-cpool-controller="cpool_collections"] .cpool-collections-page > .cpool-v2-hero h1,
body[data-cpool-controller="cpool_dynamic_templates"] .cpool-models-page > div:first-child h1,
body[data-cpool-controller="cpool_invii"] [data-cpool-documents-page="true"] > .cpool-v2-hero h1,
body[data-cpool-controller="cpool_archive"] .cpool-paperless-page > .cpool-v2-hero h1,
body[data-cpool-controller="cpool_search"] .cpool-v2-page > .cpool-v2-hero h1,
body[data-cpool-controller="cpool_support_conversations"] .cpool-support-hero h1,
body[data-cpool-controller="cpool_settings"] .cpool-v2-page > .cpool-v2-hero h1,
.cpool-document-full-header h1 {
  margin: 0 !important;
  color: var(--cpool-master-text) !important;
  font-size: 30px !important;
  font-weight: 800 !important;
  line-height: 1.14 !important;
  letter-spacing: -0.035em !important;
}

/* Sottotitoli principali. */
body[data-cpool-controller="cpool_dashboard"] .cpool-dashboard > .cpool-v2-hero p,
body[data-cpool-controller="cpool_clients"] .cpool-page-header p,
body[data-cpool-controller="cpool_collections"] .cpool-collections-page > .cpool-v2-hero p,
body[data-cpool-controller="cpool_dynamic_templates"] .cpool-models-page > div:first-child p,
body[data-cpool-controller="cpool_invii"] [data-cpool-documents-page="true"] > .cpool-v2-hero p,
body[data-cpool-controller="cpool_archive"] .cpool-paperless-page > .cpool-v2-hero p,
body[data-cpool-controller="cpool_search"] .cpool-v2-page > .cpool-v2-hero p,
body[data-cpool-controller="cpool_support_conversations"] .cpool-support-hero p,
body[data-cpool-controller="cpool_settings"] .cpool-v2-page > .cpool-v2-hero p,
.cpool-document-full-header p {
  max-width: 650px !important;
  margin: 10px 0 0 !important;
  color: var(--cpool-master-muted) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
}

/* Azioni in alto a destra. */
.cpool-v2-actions,
.cpool-page-actions,
.cpool-document-full-header .cpool-v2-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-left: auto !important;
}

/* =========================================================
   3. PULSANTI E CAMPI
   ========================================================= */

body[data-cpool-controller="cpool_dashboard"] .cpool-dashboard .btn,
body[data-cpool-controller="cpool_clients"] .cpool-clients-index-v10-3 .btn,
body[data-cpool-controller="cpool_collections"] .cpool-collections-page .btn,
body[data-cpool-controller="cpool_dynamic_templates"] .cpool-models-page .btn,
body[data-cpool-controller="cpool_invii"] [data-cpool-documents-page="true"] .btn,
body[data-cpool-controller="cpool_archive"] .cpool-paperless-page .btn,
body[data-cpool-controller="cpool_search"] .cpool-v2-page .btn,
body[data-cpool-controller="cpool_support_conversations"] .cpool-support-page .btn,
body[data-cpool-controller="cpool_settings"] .cpool-v2-page .btn,
.cpool-document-full-header .btn,
#cpool-document-main .btn,
#cpool-editor-main .btn {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

body[data-cpool-controller="cpool_dashboard"] .cpool-dashboard .btn:not(.btn-sm):not(.btn-xs),
body[data-cpool-controller="cpool_clients"] .cpool-clients-index-v10-3 .btn:not(.btn-sm):not(.btn-xs),
body[data-cpool-controller="cpool_collections"] .cpool-collections-page .btn:not(.btn-sm):not(.btn-xs),
body[data-cpool-controller="cpool_dynamic_templates"] .cpool-models-page .btn:not(.btn-sm):not(.btn-xs),
body[data-cpool-controller="cpool_invii"] [data-cpool-documents-page="true"] .btn:not(.btn-sm):not(.btn-xs),
body[data-cpool-controller="cpool_archive"] .cpool-paperless-page .btn:not(.btn-sm):not(.btn-xs),
body[data-cpool-controller="cpool_search"] .cpool-v2-page .btn:not(.btn-sm):not(.btn-xs),
body[data-cpool-controller="cpool_support_conversations"] .cpool-support-page .btn:not(.btn-sm):not(.btn-xs),
body[data-cpool-controller="cpool_settings"] .cpool-v2-page .btn:not(.btn-sm):not(.btn-xs),
.cpool-document-full-header .btn:not(.btn-sm):not(.btn-xs),
#cpool-document-main .btn:not(.btn-sm):not(.btn-xs) {
  min-height: var(--cpool-master-control-height) !important;
  height: var(--cpool-master-control-height) !important;
  padding: 0 18px !important;
  border-radius: var(--cpool-master-control-radius) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

body[data-cpool-controller] .btn.btn-sm,
.cpool-document-layout .btn.btn-sm,
.cpool-editor-layout .btn.btn-sm {
  min-height: 36px !important;
  height: 36px !important;
  padding: 0 13px !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  font-weight: 750 !important;
}

body[data-cpool-controller="cpool_dashboard"] .input:not(.input-sm),
body[data-cpool-controller="cpool_clients"] .input:not(.input-sm),
body[data-cpool-controller="cpool_clients"] .select:not(.select-sm),
body[data-cpool-controller="cpool_collections"] .input:not(.input-sm),
body[data-cpool-controller="cpool_collections"] .select:not(.select-sm),
body[data-cpool-controller="cpool_dynamic_templates"] .input:not(.input-sm),
body[data-cpool-controller="cpool_invii"] .input:not(.input-sm),
body[data-cpool-controller="cpool_archive"] .input:not(.input-sm),
body[data-cpool-controller="cpool_archive"] .select:not(.select-sm),
body[data-cpool-controller="cpool_search"] .input:not(.input-sm),
body[data-cpool-controller="cpool_settings"] .input:not(.input-sm),
body[data-cpool-controller="cpool_settings"] .select:not(.select-sm) {
  box-sizing: border-box !important;
  min-height: var(--cpool-master-control-height) !important;
  height: var(--cpool-master-control-height) !important;
  border-radius: var(--cpool-master-control-radius) !important;
  font-size: 14px !important;
}

body[data-cpool-controller="cpool_support_conversations"] .cpool-support-page textarea {
  min-height: 86px !important;
  border-radius: var(--cpool-master-control-radius) !important;
}

/* Evita margini aggiunti dai form button_to. */
.cpool-v2-actions form,
.cpool-page-actions form,
.cpool-working-actions form,
.cpool-v2-list-side form,
.cpool-support-head-actions form {
  display: inline-flex !important;
  margin: 0 !important;
}

/* =========================================================
   4. PANNELLI, BORDI, RAGGI E OMBRE
   ========================================================= */

.cpool-global-search,
.cpool-stat-card,
.cpool-v2-panel,
.cpool-client-filter-panel,
.cpool-client-table,
.cpool-client-card,
.cpool-model-entry-card,
.cpool-support-layout,
.cpool-settings-v2-card,
.cpool-v2-callout,
.cpool-collection-filter-panel,
.cpool-collection-section,
.cpool-archive-search,
.cpool-editor-workspace {
  box-sizing: border-box !important;
  border: 1px solid var(--cpool-master-border) !important;
  border-radius: var(--cpool-master-radius) !important;
  background: #fff !important;
  box-shadow: var(--cpool-master-shadow) !important;
}

/* Le griglie devono mantenere la loro struttura ma usare gli stessi spazi. */
.cpool-stat-grid,
.cpool-dashboard-grid,
.cpool-settings-v2-grid,
.cpool-model-entry-grid,
.cpool-client-cards {
  gap: 14px !important;
}

.cpool-global-search,
.cpool-client-filter-panel,
.cpool-client-table,
.cpool-client-cards,
.cpool-stat-grid,
.cpool-dashboard-grid,
.cpool-model-entry-grid,
.cpool-support-layout,
.cpool-settings-v2-grid,
.cpool-working-panel,
.cpool-archive-search,
.cpool-search-groups {
  margin-top: 20px !important;
}

/* Ricerca globale: campo e pulsante perfettamente centrati. */
.cpool-global-search {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px !important;
}

.cpool-global-search .btn {
  min-width: 96px !important;
}

/* Schede statistiche con identica altezza. */
.cpool-stat-card {
  min-height: 104px !important;
}

/* Modelli: le due schede superiori hanno la stessa altezza. */
.cpool-model-entry-card {
  display: flex !important;
  flex-direction: column !important;
  min-height: 200px !important;
}

.cpool-model-entry-actions {
  margin-top: auto !important;
  padding-top: 22px !important;
}

/* Impostazioni: tutte le schede hanno altezza coerente. */
.cpool-settings-v2-card {
  min-height: 98px !important;
}

/* =========================================================
   5. ARCHIVIO: SOLO ALLINEAMENTO, NESSUN RIORDINO
   ========================================================= */

.cpool-working-panel .cpool-v2-panel-head,
.cpool-archive-search .cpool-v2-panel-head {
  align-items: center !important;
  gap: 18px !important;
}

.cpool-working-row {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  width: 100% !important;
}

.cpool-working-main {
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.cpool-working-main > strong,
.cpool-working-main > small {
  display: block !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.cpool-working-actions {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
}

/* =========================================================
   6. ASSISTENZA: STESSA LARGHEZZA, CHAT INVARIATA
   ========================================================= */

body[data-cpool-controller="cpool_support_conversations"] .cpool-support-page {
  width: min(100%, var(--cpool-master-width)) !important;
  max-width: var(--cpool-master-width) !important;
}

.cpool-support-layout {
  width: 100% !important;
  max-width: none !important;
  overflow: hidden !important;
}

/* =========================================================
   7. DOCUMENTI ED EDITOR: STESSI MARGINI DELLE ALTRE SEZIONI
   ========================================================= */

.cpool-document-full-header {
  padding-top: 28px !important;
}

.cpool-document-full-header .cpool-document-full-hero {
  width: 100% !important;
  max-width: none !important;
}

.cpool-document-full-tabs {
  width: 100% !important;
  max-width: none !important;
  margin: -8px 0 22px !important;
}

#cpool-document-main,
#cpool-editor-main {
  padding: 0 !important;
}

#cpool-editor-main {
  margin-top: 18px !important;
}

.cpool-editor-workspace {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  overflow: hidden !important;
}

/* Le tab hanno la stessa altezza e il testo è centrato. */
.cpool-doc-tab {
  box-sizing: border-box !important;
  min-height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border-radius: 999px !important;
}

/* =========================================================
   8. RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {
  body[data-cpool-controller="cpool_dashboard"] .cpool-dashboard,
  body[data-cpool-controller="cpool_clients"] .cpool-clients-index-v10-3,
  body[data-cpool-controller="cpool_collections"] .cpool-collections-page,
  body[data-cpool-controller="cpool_dynamic_templates"] .cpool-models-page,
  body[data-cpool-controller="cpool_invii"] [data-cpool-documents-page="true"],
  body[data-cpool-controller="cpool_archive"] .cpool-paperless-page,
  body[data-cpool-controller="cpool_search"] .cpool-v2-page,
  body[data-cpool-controller="cpool_support_conversations"] .cpool-support-page,
  body[data-cpool-controller="cpool_settings"] .cpool-v2-page,
  .cpool-document-full-header,
  #cpool-document-main,
  #cpool-editor-main {
    width: calc(100% - 32px) !important;
  }
}

@media (max-width: 767px) {
  body[data-cpool-controller="cpool_dashboard"] .cpool-dashboard,
  body[data-cpool-controller="cpool_clients"] .cpool-clients-index-v10-3,
  body[data-cpool-controller="cpool_collections"] .cpool-collections-page,
  body[data-cpool-controller="cpool_dynamic_templates"] .cpool-models-page,
  body[data-cpool-controller="cpool_invii"] [data-cpool-documents-page="true"],
  body[data-cpool-controller="cpool_archive"] .cpool-paperless-page,
  body[data-cpool-controller="cpool_search"] .cpool-v2-page,
  body[data-cpool-controller="cpool_support_conversations"] .cpool-support-page,
  body[data-cpool-controller="cpool_settings"] .cpool-v2-page,
  .cpool-document-full-header,
  #cpool-document-main,
  #cpool-editor-main {
    width: calc(100% - 24px) !important;
  }

  body[data-cpool-controller="cpool_dashboard"] .cpool-dashboard > .cpool-v2-hero,
  body[data-cpool-controller="cpool_clients"] .cpool-clients-index-v10-3 > .cpool-page-header,
  body[data-cpool-controller="cpool_collections"] .cpool-collections-page > .cpool-v2-hero,
  body[data-cpool-controller="cpool_dynamic_templates"] .cpool-models-page > div:first-child,
  body[data-cpool-controller="cpool_invii"] [data-cpool-documents-page="true"] > .cpool-v2-hero,
  body[data-cpool-controller="cpool_archive"] .cpool-paperless-page > .cpool-v2-hero,
  body[data-cpool-controller="cpool_search"] .cpool-v2-page > .cpool-v2-hero,
  body[data-cpool-controller="cpool_support_conversations"] .cpool-support-page > .cpool-support-hero,
  body[data-cpool-controller="cpool_settings"] .cpool-v2-page > .cpool-v2-hero,
  .cpool-document-full-header .cpool-document-full-hero {
    display: block !important;
    min-height: 0 !important;
    margin-bottom: 22px !important;
  }

  .cpool-v2-actions,
  .cpool-page-actions,
  .cpool-document-full-header .cpool-v2-actions {
    justify-content: flex-start !important;
    width: 100% !important;
    margin: 18px 0 0 !important;
  }

  .cpool-v2-actions .btn,
  .cpool-page-actions .btn {
    flex: 1 1 auto !important;
  }

  .cpool-global-search {
    grid-template-columns: 1fr !important;
  }

  .cpool-global-search .btn {
    width: 100% !important;
  }

  .cpool-working-row {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .cpool-working-actions {
    width: 100% !important;
    justify-content: flex-start !important;
  }

  .cpool-working-main > strong,
  .cpool-working-main > small {
    white-space: normal !important;
  }
}

/* CPOOL_16G_BEGIN */

/* =========================================================
   CPOOL v11.3.16g — CORREZIONE MIRATA MODELLI + EDITOR
   Nessun riordino DOM. Nessuna modifica funzionale.
   ========================================================= */

/* MODELLI: stesso asse e stessa larghezza delle altre sezioni. */
.cpool-models-page {
  box-sizing: border-box !important;
  width: min(100%, 960px) !important;
  max-width: 960px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-top: 28px !important;
}

.cpool-models-page > div:first-child {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 82px !important;
  margin: 0 0 28px !important;
  padding: 0 !important;
}

.cpool-models-page > div:first-child h1 {
  margin: 0 !important;
  color: #0b1220 !important;
  font-size: 30px !important;
  font-weight: 800 !important;
  line-height: 1.14 !important;
  letter-spacing: -0.035em !important;
}

.cpool-models-page > div:first-child p {
  max-width: 650px !important;
  margin: 10px 0 0 !important;
  color: #667085 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
}

/* Le aree Modelli occupano esattamente tutta la larghezza standard. */
.cpool-models-page .cpool-model-entry-grid,
.cpool-models-page .cpool-model-entry-card,
.cpool-models-page .cpool-v2-callout,
.cpool-models-page > section,
.cpool-models-page > div:not(:first-child) {
  box-sizing: border-box !important;
  max-width: none !important;
}

/* Pulsanti principali Modelli identici agli altri pulsanti primari. */
.cpool-models-page .btn:not(.btn-sm):not(.btn-xs) {
  box-sizing: border-box !important;
  min-height: 46px !important;
  height: 46px !important;
  padding: 0 18px !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

/* DOCUMENTI/EDITOR: intestazione, tab e area PDF sul medesimo asse. */
.cpool-document-full-header,
#cpool-document-main,
#cpool-editor-main {
  box-sizing: border-box !important;
  width: min(100%, 960px) !important;
  max-width: 960px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.cpool-document-full-header {
  padding-top: 28px !important;
}

/* Rimuove i max-width interni che stringevano solo il titolo. */
.cpool-document-full-header > div,
.cpool-document-full-header .cpool-document-full-hero,
.cpool-document-full-header .cpool-document-full-tabs {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.cpool-document-full-header .cpool-document-full-hero {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 24px !important;
  min-height: 82px !important;
  margin-top: 0 !important;
  margin-bottom: 28px !important;
}

.cpool-document-full-header h1 {
  margin: 0 !important;
  color: #0b1220 !important;
  font-size: 30px !important;
  font-weight: 800 !important;
  line-height: 1.14 !important;
  letter-spacing: -0.035em !important;
}

.cpool-document-full-header p {
  max-width: 650px !important;
  margin: 10px 0 0 !important;
  color: #667085 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
}

.cpool-document-full-header .cpool-document-full-tabs {
  margin-top: -8px !important;
  margin-bottom: 22px !important;
}

/* Elimina il secondo asse più largo dell'editor. */
#cpool-document-main,
#cpool-editor-main {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

#cpool-editor-main {
  margin-top: 18px !important;
}

#cpool-editor-main > div,
#cpool-editor-main .cpool-editor-workspace,
.cpool-editor-workspace {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Il pannello editor rimane internamente invariato, cambia solo il perimetro. */
.cpool-editor-workspace {
  overflow: hidden !important;
  border: 1px solid #e2e7f0 !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.045) !important;
}

/* Azioni dell'intestazione Documenti. */
.cpool-document-full-header .cpool-v2-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-left: auto !important;
}

.cpool-document-full-header .btn:not(.btn-sm):not(.btn-xs) {
  box-sizing: border-box !important;
  min-height: 46px !important;
  height: 46px !important;
  padding: 0 18px !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

@media (max-width: 1024px) {
  .cpool-models-page,
  .cpool-document-full-header,
  #cpool-document-main,
  #cpool-editor-main {
    width: calc(100% - 32px) !important;
  }
}

@media (max-width: 767px) {
  .cpool-models-page,
  .cpool-document-full-header,
  #cpool-document-main,
  #cpool-editor-main {
    width: calc(100% - 24px) !important;
  }

  .cpool-models-page > div:first-child,
  .cpool-document-full-header .cpool-document-full-hero {
    display: block !important;
    min-height: 0 !important;
    margin-bottom: 22px !important;
  }

  .cpool-document-full-header .cpool-v2-actions {
    justify-content: flex-start !important;
    width: 100% !important;
    margin-top: 18px !important;
  }
}

/* CPOOL_16G_END */
