:root {
  --nf-page-bg: #141414;
  --nf-app-bg: #e3e3e3;
  --nf-surface: #ffffff;
  --nf-surface-2: #f5f5f5;
  --nf-text: #323232;
  --nf-muted: #666666;
  --nf-border: #dbdbdb;
  --nf-border-strong: #dbdbdb;
  --nf-accent: #c81400;
  --nf-accent-hover: #e32711;
  --nf-font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --nf-font-heading: 'Special Gothic Expanded One', 'DM Sans', sans-serif;
  --nf-radius: 12px;
  --nf-radius-pill: 999px;
  --nf-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --nf-fs-sm: 0.8em;
  --nf-fs-md: 1em;
  --nexo-loader-red: #c81400;
  --nexo-loader-size: 25em;
  --nexo-loader-duration: 1.2s;
  --nf-motion-duration: 0.35s;
  --nf-motion-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

.nexo-app,
.nexo-app * {
  box-sizing: border-box;
  font-family: var(--nf-font-body);
}

.nexo-frame {
  max-width: 1120px;
  margin: 24px auto;
}

.nexo-footer-wrap {
  width: 100%;
  display: block;
  margin-top: 28px;
}

.nexo-app {
  border: none;
  border-radius: 18px;
  overflow: hidden;
  width: 100%;
  box-shadow: rgb(240 46 46 / 40%) 0 0.3125em, rgb(240 46 46 / 30%) 0 0.625em, rgb(240 46 46 / 20%) 0 0.9375em, rgb(240 46 46 / 10%) 0 1.25em, rgb(240 46 46 / 5%) 0 1.5625em;
}
.nexo-app :is(
  .nexo-card,
  .nexo-stat,
  .nexo-output,
  .nexo-button-red,
  .nexo-button-grey,
  .nexo-button-black,
  .nexo-input,
  .nexo-form input,
  .nexo-form select,
  .nexo-form textarea,
  .nexo-table-wrap,
  .nexo-pieces-table tr,
  .nexo-badge
) {
  transition:
    filter var(--nf-motion-duration) var(--nf-motion-ease),
    opacity var(--nf-motion-duration) var(--nf-motion-ease),
    transform var(--nf-motion-duration) var(--nf-motion-ease),
    border-color var(--nf-motion-duration) var(--nf-motion-ease),
    background-color var(--nf-motion-duration) var(--nf-motion-ease),
    color var(--nf-motion-duration) var(--nf-motion-ease),
    box-shadow var(--nf-motion-duration) var(--nf-motion-ease);
}

.nexo-app h1,
.nexo-app h2,
.nexo-app h3,
.nexo-app h4,
.nexo-app h5 {
  margin: 0px;
  font-family: var(--nf-font-heading);
  color: #151515;
}

.nexo-card h4,
.nexo-card h5,
.nexo-output h4,
.nexo-output h5 {
  margin-bottom: 0.65em;
}

.nexo-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 680px;
}

.nexo-sidebar {
  background: #e3e3e3;
  border-right: 0.2em solid #303030;
  padding: 1.5em;
}

.nexo-sidebar-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
}

.nexo-logo {
  line-height: 1;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  min-height: 2.875em;
}

.nexo-logo img {
  display: block;
  width: auto;
  height: 5em;
  max-width: 100%;
  object-fit: contain;
}

.nexo-mobile-menu-toggle,
.nexo-mobile-nav-backdrop {
  display: none;
}

.nexo-mobile-summary {
  display: none;
}

.nexo-mobile-menu-toggle {
  width: 3.2em;
  height: 3.2em;
  border: 0.2em solid #dbdbdb;
  border-radius: 999em;
  background: #ffffff;
  color: #151515;
  align-items: center;
  justify-content: center;
  gap: 0.28em;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  flex: 0 0 auto;
}

.nexo-mobile-menu-toggle span {
  display: block;
  width: 1.2em;
  height: 0.16em;
  border-radius: 999em;
  background: currentColor;
}

.nexo-sidebar-panel {
  display: grid;
  gap: 0;
}

.nexo-sidebar-meta {
  border: 0.2em solid #dbdbdb;
  border-radius: 10px;
  background: #fff;
  padding: 1.5em;
  margin-bottom: 20px;
  transition: filter var(--nf-motion-duration) var(--nf-motion-ease), opacity var(--nf-motion-duration) var(--nf-motion-ease), transform var(--nf-motion-duration) var(--nf-motion-ease);
}

.nexo-sidebar-user {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: var(--nf-fs-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.nexo-sidebar-user span {
  font-size: var(--nf-fs-sm);
  color: var(--nf-muted);
  font-weight: 600;
}

.nexo-mini-metrics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 5px;
}

.nexo-mini-metrics li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--nf-fs-sm);
  border-top: 0.2em solid #dbdbdb;
  padding-top: 5px;
}

.nexo-mini-metrics li:first-child {
  border-top: 0.2em solid #dbdbdb;
  padding-top: 0;
}

.nexo-mini-metrics strong {
  color: var(--nf-accent);
}

.nexo-icon {
  --nf-icon-size: 1em;
  width: var(--nf-icon-size);
  height: var(--nf-icon-size);
  display: inline-block;
  flex: 0 0 auto;
  line-height: 1;
  background: currentColor;
  background-color: currentColor;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

.nexo-icon--sm {
  --nf-icon-size: 0.92em;
}

.nexo-icon--md {
  --nf-icon-size: 1.05em;
}

.nexo-icon--nav {
  --nf-icon-size: 1.12em;
}

.nf-icon--dashboard {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h8v8H3zm10 0h8v5h-8zM3 13h5v8H3zm7 2h11v6H10z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h8v8H3zm10 0h8v5h-8zM3 13h5v8H3zm7 2h11v6H10z' fill='black'/%3E%3C/svg%3E");
}

.nf-icon--plans {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h14v3H5zm0 6h10v3H5zm0 6h14v3H5z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h14v3H5zm0 6h10v3H5zm0 6h14v3H5z' fill='black'/%3E%3C/svg%3E");
}

.nf-icon--clients {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 11a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm8 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6ZM3 20c0-3.5 3-6 6.5-6S16 16.5 16 20Zm11 0c0-2.4 2-4.2 4.5-4.2S23 17.6 23 20Z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 11a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm8 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6ZM3 20c0-3.5 3-6 6.5-6S16 16.5 16 20Zm11 0c0-2.4 2-4.2 4.5-4.2S23 17.6 23 20Z' fill='black'/%3E%3C/svg%3E");
}

.nf-icon--brand {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h6l2 2h6v6l-7 8-7-7Zm3 4a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h6l2 2h6v6l-7 8-7-7Zm3 4a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z' fill='black'/%3E%3C/svg%3E");
}

.nf-icon--calendar {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h2v3h6V2h2v3h3v17H4V5h3zm-1 8v9h12v-9zm0-3h12V7H6z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h2v3h6V2h2v3h3v17H4V5h3zm-1 8v9h12v-9zm0-3h12V7H6z' fill='black'/%3E%3C/svg%3E");
}

.nf-icon--pieces {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h12v12H4zm4 4h12v12H8zm4 4h8v8h-8z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h12v12H4zm4 4h12v12H8zm4 4h8v8h-8z' fill='black'/%3E%3C/svg%3E");
}

.nf-icon--rrhh {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a4.5 4.5 0 1 1 0-9 4.5 4.5 0 0 1 0 9Zm-7 9c0-3.8 3.3-6.5 7-6.5s7 2.7 7 6.5Zm13-13h5v2h-5zm2-3v8h-2V5z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a4.5 4.5 0 1 1 0-9 4.5 4.5 0 0 1 0 9Zm-7 9c0-3.8 3.3-6.5 7-6.5s7 2.7 7 6.5Zm13-13h5v2h-5zm2-3v8h-2V5z' fill='black'/%3E%3C/svg%3E");
}

.nf-icon--draft,
.nf-icon--sin_generar {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 17.5V20h2.5l9.8-9.8-2.5-2.5zm13.5-8.1 1.6-1.6a1.4 1.4 0 0 0 0-2l-.9-.9a1.4 1.4 0 0 0-2 0l-1.6 1.6z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 17.5V20h2.5l9.8-9.8-2.5-2.5zm13.5-8.1 1.6-1.6a1.4 1.4 0 0 0 0-2l-.9-.9a1.4 1.4 0 0 0-2 0l-1.6 1.6z' fill='black'/%3E%3C/svg%3E");
}

.nf-icon--generado {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2 2.5 5.5L20 10l-5.5 2.5L12 18l-2.5-5.5L4 10l5.5-2.5z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2 2.5 5.5L20 10l-5.5 2.5L12 18l-2.5-5.5L4 10l5.5-2.5z' fill='black'/%3E%3C/svg%3E");
}

.nf-icon--aprobado,
.nf-icon--aprobado_manager,
.nf-icon--aprobado_cliente {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.6 16.6 5.4 12.4l1.8-1.8 2.4 2.4 7-7 1.8 1.8z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.6 16.6 5.4 12.4l1.8-1.8 2.4 2.4 7-7 1.8 1.8z' fill='black'/%3E%3C/svg%3E");
}

.nf-icon--exportado {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 4v8.2l2.6-2.6 1.8 1.8-5.4 5.4-5.4-5.4 1.8-1.8 2.6 2.6V4ZM5 18h14v2H5z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 4v8.2l2.6-2.6 1.8 1.8-5.4 5.4-5.4-5.4 1.8-1.8 2.6 2.6V4ZM5 18h14v2H5z' fill='black'/%3E%3C/svg%3E");
}

.nf-icon--pendiente_propuesta {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 6h2v7l4 2-1 1.7-5-2.7zm1 16C6.5 22 2 17.5 2 12S6.5 2 12 2s10 4.5 10 10-4.5 10-10 10Z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 6h2v7l4 2-1 1.7-5-2.7zm1 16C6.5 22 2 17.5 2 12S6.5 2 12 2s10 4.5 10 10-4.5 10-10 10Z' fill='black'/%3E%3C/svg%3E");
}

.nf-icon--propuesto {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6h16v12H4zm2 2v8h12V8zm3 1h2v2h2v2h-2v2H9v-2H7v-2h2z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6h16v12H4zm2 2v8h12V8zm3 1h2v2h2v2h-2v2H9v-2H7v-2h2z' fill='black'/%3E%3C/svg%3E");
}

.nf-icon--en_produccion {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14.8 3 11 6.8l2.2 2.2-1.7 1.7-2.2-2.2-2 2a4.5 4.5 0 0 0 6.2 6.4l2-2-2.1-2.1 1.7-1.7 2.1 2.1 3.8-3.8z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14.8 3 11 6.8l2.2 2.2-1.7 1.7-2.2-2.2-2 2a4.5 4.5 0 0 0 6.2 6.4l2-2-2.1-2.1 1.7-1.7 2.1 2.1 3.8-3.8z' fill='black'/%3E%3C/svg%3E");
}

.nf-icon--listo_manager {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h14v4h-2V5H7v14h10v-2h2v4H5zm9.6 12.6L11 12l1.4-1.4 2.2 2.2L20.2 7l1.4 1.4z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h14v4h-2V5H7v14h10v-2h2v4H5zm9.6 12.6L11 12l1.4-1.4 2.2 2.2L20.2 7l1.4 1.4z' fill='black'/%3E%3C/svg%3E");
}

.nf-icon--visible_cliente {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6C6.5 6 2.3 10.4 1 12c1.3 1.6 5.5 6 11 6s9.7-4.4 11-6c-1.3-1.6-5.5-6-11-6Zm0 9a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6C6.5 6 2.3 10.4 1 12c1.3 1.6 5.5 6 11 6s9.7-4.4 11-6c-1.3-1.6-5.5-6-11-6Zm0 9a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z' fill='black'/%3E%3C/svg%3E");
}

.nf-icon--cambios_cliente {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7h9V4l5 5-5 5v-3H8a3 3 0 0 0-3 3v1H3v-1a5 5 0 0 1 4-5Zm10 10H8v3l-5-5 5-5v3h8a3 3 0 0 0 3-3V9h2v1a5 5 0 0 1-4 5Z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7h9V4l5 5-5 5v-3H8a3 3 0 0 0-3 3v1H3v-1a5 5 0 0 1 4-5Zm10 10H8v3l-5-5 5-5v3h8a3 3 0 0 0 3-3V9h2v1a5 5 0 0 1-4 5Z' fill='black'/%3E%3C/svg%3E");
}

.nf-icon--completado {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5.2 3.4 9.9 8 11 4.6-1.1 8-5.8 8-11V5zm-1.2 13.8-3.1-3.1 1.7-1.7 1.4 1.4 3.8-3.8 1.7 1.7z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5.2 3.4 9.9 8 11 4.6-1.1 8-5.8 8-11V5zm-1.2 13.8-3.1-3.1 1.7-1.7 1.4 1.4 3.8-3.8 1.7 1.7z' fill='black'/%3E%3C/svg%3E");
}

.nexo-nav {
  display: grid;
  gap: 1em;
}

.nexo-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding: 10px 14px;
  border: 0.2em solid #dbdbdb;
  border-radius: 10px;
  background: #fff;
  color: var(--nf-text);
  text-decoration: none;
  font-size: 1em;
  font-family: var(--nf-font-heading);
  text-transform: lowercase;
  transition: border-color var(--nf-motion-duration) var(--nf-motion-ease), color var(--nf-motion-duration) var(--nf-motion-ease), background-color var(--nf-motion-duration) var(--nf-motion-ease), filter var(--nf-motion-duration) var(--nf-motion-ease), opacity var(--nf-motion-duration) var(--nf-motion-ease), transform var(--nf-motion-duration) var(--nf-motion-ease);
}

.nexo-link-main {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  min-width: 0;
}

.nexo-link .nexo-icon--nav {
  color: #7b7b7b;
  opacity: 0.92;
}

.nexo-nav-icon-svg {
  width: 1.5em;
  height: 1.5em;
  flex: 0 0 auto;
  color: #7b7b7b;
  fill: currentColor;
  opacity: 0.92;
}

.nexo-link:hover,
.nexo-link.active,
.nexo-link.is-active {
  border-color: #dbdbdb;
  color: var(--nf-accent);
  background: #fff6f5;
}

.nexo-link:hover .nexo-icon--nav,
.nexo-link.active .nexo-icon--nav,
.nexo-link.is-active .nexo-icon--nav {
  color: currentColor;
}

.nexo-link:hover .nexo-nav-icon-svg,
.nexo-link.active .nexo-nav-icon-svg,
.nexo-link.is-active .nexo-nav-icon-svg {
  color: currentColor;
}
@media (hover: hover) and (pointer: fine) and (min-width: 769px) {
  .nexo-sidebar:hover .nexo-nav .nexo-link {
    filter: blur(0.2em);
    opacity: 0.55;
  }

  .nexo-sidebar:hover .nexo-nav .nexo-link:hover,
  .nexo-sidebar:hover .nexo-nav .nexo-link:focus-visible {
    filter: blur(0);
    opacity: 1;
    transform: translateY(-0.05em);
  }
}

.nf-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2em;
  height: 2em;
  border-radius: 50px;
  font-size: var(--nf-fs-sm);
  font-style: normal;
  color: var(--nf-muted);
  background: #e3e3e3;
  font-weight: 600;
}

.nexo-content {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--nf-app-bg);
  min-width: 0;
}

.nexo-topbar {
  display: grid !important;
  grid-template-columns: 1fr auto;
  gap: 1em;
  align-items: center;
  min-height: 5.5em;
  padding: 25px 30px 25px 30px;
  background: var(--nf-surface);
  border-bottom: 0.2em solid #dbdbdb;
  position: relative;
  z-index: 5;
}

.nexo-topbar-left {
  display: flex !important;
  align-items: center;
  gap: 1em;
  min-width: 0;
  flex: 1 1 auto;
}

.nexo-topbar h2 {
  display: block;
  font-size: 2.125em;
  color: var(--nf-text);
  opacity: 1;
  visibility: visible;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: -1px 2px 1px #e2e2e2, -2px 3px 1px #e2e2e2, -3px 4px 1px #e2e2e2, -4px 5px 1px #e2e2e2, -5px 6px 1px #e2e2e2, -6px 8px 1px #e2e2e2, -7px 9px 1px #e2e2e2, -8px 10px 1px #e2e2e2, -9px 11px 1px #e2e2e2, -10px 13px 1px #e2e2e2, -11px 14px 1px #e2e2e2, -12px 15px 1px #e2e2e2, -13px 16px 1px #e2e2e2, -14px 18px 1px #e2e2e2, -15px 19px 1px #e2e2e2, -16px 20px 1px #e2e2e2, -17px 21px 1px #e2e2e2, -18px 23px 1px #e2e2e2, -19px 24px 1px #e2e2e2, -20px 25px 1px #e2e2e2, -21px 26px 1px #e2e2e2, -22px 28px 1px #e2e2e2, -23px 29px 1px #e2e2e2, -24px 30px 1px #e2e2e2, -25px 31px 1px #e2e2e2, -26px 33px 1px #e2e2e2, -27px 34px 1px #e2e2e2, -28px 35px 1px #e2e2e2, -29px 36px 1px #e2e2e2, -30px 38px 1px #e2e2e2;
}

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

#nf-view-title,
#nf-top-search {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.nexo-main {
  position: relative;
  padding: 2em;
  background: none;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
}


.nexo-main>* {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.nexo-view {
  display: none;
  gap: 1.5em;
  min-width: 0;
}

.nexo-view.active {
  display: grid;
}

.nexo-card,
.nexo-stat,
.nexo-output {
  background: #FFFF;
  border: 0.2em solid #dbdbdb;
  border-radius: var(--nf-radius);
  padding: 1.5em 1.5em 0.5em 1.5em;
  box-sizing: border-box;
}

.nexo-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2em;
}

.nexo-stat {
  display: grid;
  align-content: start;
  gap: 0.22em;
  padding: 1.5em;
  box-shadow: none;
}

.nexo-stat-label,
.nexo-label {
  display: block;
  font-size: var(--nf-fs-sm);
  color: #c81400;
  text-transform: uppercase;
  margin-bottom: 0.35em;
  font-weight: 600;
}

.nexo-stat-value {
  display: block;
  margin-top: 0;
  line-height: 1;
  font-size: 2em;
  font-weight: 700;
}

.nexo-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65em;
  margin-bottom: -0.6em;
  position: relative;
  z-index: 2;
}

.nexo-list-header h3,
.nexo-view h3 {
  font-size: 1.625em;
  color: #323232;
}

.nexo-view-inline-title {
  display: block;
  font-size: 2.125em !important;
  line-height: 1;
  color: var(--nf-text) !important;
  text-transform: none;
  text-shadow: -1px 2px 1px #ffffff, -2px 3px 1px #ffffff, -3px 4px 1px #ffffff, -4px 5px 1px #ffffff, -5px 6px 1px #ffffff, -6px 8px 1px #ffffff, -7px 9px 1px #ffffff, -8px 10px 1px #ffffff, -9px 11px 1px #ffffff, -10px 13px 1px #ffffff, -11px 14px 1px #ffffff, -12px 15px 1px #ffffff, -13px 16px 1px #ffffff, -14px 18px 1px #ffffff, -15px 19px 1px #ffffff, -16px 20px 1px #ffffff, -17px 21px 1px #ffffff, -18px 23px 1px #ffffff, -19px 24px 1px #ffffff, -20px 25px 1px #ffffff, -21px 26px 1px #ffffff, -22px 28px 1px #ffffff, -23px 29px 1px #ffffff, -24px 30px 1px #ffffff, -25px 31px 1px #ffffff, -26px 33px 1px #ffffff, -27px 34px 1px #ffffff, -28px 35px 1px #ffffff, -29px 36px 1px #ffffff, -30px 38px 1px #ffffff;
}

.nexo-section-surface {
  background: #ffffff;
  border: none;
  border-radius: 0em 1.25em 1.25em 0em;
  margin-top: 1.9em !important;
  margin-bottom: 0em !important;
  margin-left: -2.0em;
  padding: 2.2em 2em 2.2em 2em;
}

.nexo-section-surface > .nexo-table-wrap,
.nexo-section-surface > .nexo-table-list,
.nexo-section-surface > .nexo-card:last-child,
.nexo-section-surface > #nf-rrhh-list,
.nexo-section-surface > #nf-plans-list,
.nexo-section-surface > #nf-clients-list,
.nexo-section-surface > #nf-brand-clients-list,
.nexo-section-surface > #nf-pieces-list {
  margin-bottom: 0;
}

.nexo-dashboard-surface {
  display: grid;
  gap: 1.1em;
  align-content: start;
  margin-top: 0.7em !important;
}

.nexo-dashboard-surface .nexo-list-header {
  margin-bottom: 1em;
}

.nexo-dashboard-surface .nexo-list-header h3 {
  margin: 0;
  color: #ababab;
}

.nexo-dashboard-surface .nexo-stats {
  margin-bottom: 0.2em;
}

.nexo-dashboard-surface > .nexo-card {
  margin: 0;
}

.nexo-calendar-surface {
  display: grid;
  gap: 1.1em;
  align-content: start;
  margin-top: 0.5em !important;
}

.nexo-calendar-surface > .nexo-card {
  margin: 0;
}

.nexo-pieces-surface {
  display: grid;
  gap: 1.3em;
  align-content: start;
}

.nexo-pieces-surface > .nexo-card,
.nexo-pieces-surface > .nexo-table-wrap {
  margin: 0;
}

#nf-pieces-list {
  margin-top: 0.35em;
  padding: 0;
  border: 0.2em solid #dbdbdb;
  border-radius: 1em;
  background: #ffffff;
  overflow: hidden;
  box-sizing: border-box;
}

.nexo-pieces-surface .nexo-filters-bar {
  padding-bottom: 2.2em;
}

.nexo-pieces-surface .nexo-filters-bar.nexo-pieces-filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1em;
  align-items: stretch;
}

.nexo-pieces-surface .nexo-pieces-filters-top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1em;
  align-items: end;
}

.nexo-pieces-surface .nexo-pieces-filters-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1em;
  align-items: end;
}

.nexo-pieces-filters-top label,
.nexo-pieces-filters-bottom label {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 0.55em;
}

.nexo-pieces-filter-search .nexo-input {
  width: 100%;
}

.nexo-pieces-filters-top .nexo-input,
.nexo-pieces-filters-top select.nexo-input,
.nexo-pieces-filters-top input.nexo-input,
.nexo-pieces-filters-bottom .nexo-input,
.nexo-pieces-filters-bottom select.nexo-input,
.nexo-pieces-filters-bottom input.nexo-input {
  width: 100%;
}

.nexo-pieces-filter-action {
  align-self: end;
  justify-self: end;
}

.nexo-toolbar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
}

.nexo-form {
  display: grid;
  gap: 1em;
}

.nexo-toolbar label,
.nexo-form label {
  display: grid;
  gap: 0.65em;
  color: var(--nf-muted);
  font-size: var(--nf-fs-sm);
  font-weight: 500;
}

.nexo-input,
.nexo-form input,
.nexo-form select,
.nexo-form textarea,
#nf-top-search,
#nf-slots-month,
#nf-slots-client,
#nf-pieces-client,
#nf-pieces-slot,
#nf-pieces-status,
#nf-pieces-search {
  width: 100%;
  min-height: 40px;
  border: 0.2em solid #dbdbdb;
  border-radius: 8px;
  background: #fff;
  color: var(--nf-text);
  padding: 10px 15px;
  font-size: var(--nf-fs-md);
}

.nexo-input:focus,
.nexo-form input:focus,
.nexo-form select:focus,
.nexo-form textarea:focus,
:is(.nexo-button-red, .nexo-button-grey, .nexo-button-black):focus-visible,
.nexo-link:focus-visible {
  outline: 2px solid rgba(200, 20, 0, 0.25);
  border-color: #dbdbdb;
}

:is(.nexo-button-red, .nexo-button-grey, .nexo-button-black, .nexo-button-white) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 40px;
  border: none;
  border-radius: var(--nf-radius-pill);
  padding: 10px 16px;
  background: var(--nf-accent);
  color: #fff;
  font-size: var(--nf-fs-md);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  text-transform: lowercase;
  cursor: pointer;
}

.nexo-button-nano {
  min-height: 2em;
  padding: 0.3em 0.85em;
  border-radius: 999em;
  font-size: 0.82em;
  line-height: 1;
  letter-spacing: 0.01em;
}

.nexo-button-icon-svg {
  width: 1.08em;
  height: 1.08em;
  flex: 0 0 auto;
  fill: currentColor;
}

:is(.nexo-button-red, .nexo-button-grey, .nexo-button-black, .nexo-button-white):disabled {
  opacity: 0.6;
  cursor: wait;
}

.nexo-button-red {
  background: #c81400;
  color: #fff;
}

.nexo-button-red:hover,
.nexo-button-red:focus-visible {
  background: #e32711;
  color: #fff;
}

.nexo-button-grey {
  background: #e3e3e3;
  color: #858585;
}

.nexo-button-grey:hover,
.nexo-button-grey:focus-visible {
  background: #d6d6d6;
  color: #858585;
}

.nexo-button-black {
  background: #323232;
  color: #fff;
}

.nexo-button-black:hover,
.nexo-button-black:focus-visible {
  background: #2b2b2b;
  color: #fff;
}

.nexo-button-white {
  background: #ffffff;
  color: #3b3b3b;
  border: 0.2em solid #d8d8d8;
}

.nexo-button-white:hover,
.nexo-button-white:focus-visible {
  background: #f7f7f7;
  color: #2e2e2e;
}

.nexo-app button,
.nexo-button-red,
.nexo-button-grey,
.nexo-button-black,
.nexo-button-white,
.nexo-logout-btn,
.nexo-mobile-menu-toggle,
.nexo-log-page-btn,
.nexo-client-payment-btn,
.nexo-design-layer-button {
  border: none !important;
}

.nexo-top-search-wrap {
  position: relative;
}

.nexo-top-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 0.2em solid #dbdbdb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.nexo-top-search-item,
.nexo-top-search-empty {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 10px 12px;
  border: 0.2em solid #dbdbdb;
  border-radius: 10px;
  background: #f6f6f6;
  color: var(--nf-text);
  text-align: left;
}

.nexo-top-search-item {
  cursor: pointer;
}

.nexo-top-search-item:hover,
.nexo-top-search-item:focus-visible {
  background: #fff1ef;
  outline: none;
}

.nexo-top-search-item span,
.nexo-top-search-empty {
  color: var(--nf-muted);
  font-size: 0.82em;
}

.nexo-muted {
  color: var(--nf-muted);
  margin: 0;
  font-size: 0.8em;
}

.nexo-table-list {
  display: grid;
  gap: 25px;
}

.nexo-table-list .nexo-card {
  cursor: pointer;
}

.nexo-table-list .nexo-card:hover {
  border-color: #dbdbdb;
  background: #fff8f7;
}

.nexo-piece-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nexo-badge,
#nf-piece-badges .nexo-badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--nf-radius-pill);
  padding: 4px 10px;
  border: 0.2em solid #dbdbdb;
  color: var(--nf-muted);
  font-size: var(--nf-fs-sm);
  background: #fff;
}

#nf-piece-badges .nexo-badge {
  background: #e8ebf1;
  color: var(--nf-text);
  border-color: #dbdbdb;
}

.nexo-piece-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nexo-output {
  white-space: pre-wrap;
}

#nf-comments-list ul,
#nf-audit-list ul,
#nf-slots-list ul {
  margin: 0;
  padding-left: 18px;
}

html.nexo-no-scroll,
body.nexo-no-scroll {
  overflow: hidden !important;
}

.nexo-modal,
.nexo-modal * {
  box-sizing: border-box;
}

.nexo-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 120000;
}

.nexo-modal.is-open {
  display: flex;
}

.nexo-modal-panel {
  width: 100%;
  max-width: 420px;
  border: 0.2em solid #dbdbdb;
  border-radius: var(--nf-radius);
  background: #fff;
  padding: 14px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.nexo-modal-title {
  margin: 0 0 8px;
  font-size: 1.25em;
}

.nexo-modal-text {
  margin: 0 0 10px;
  color: var(--nf-muted);
}

.nexo-modal-panel #nf-modal-body {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.nexo-modal-input {
  margin: 0.5em 0 0.75em;
  width: calc(100% - 0.01em) !important;
  max-width: 100% !important;
  min-width: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}

.nexo-modal-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

@media (max-width: 1024px) {
  .nexo-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .nexo-gantt-by-client {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.nexo-plans-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1em;
}

.nexo-plans-form label {
  display: grid;
  gap: 0.65em;
  color: var(--nf-muted);
  font-size: var(--nf-fs-sm);
}

.nexo-plan-name-wrap {
  grid-column: span 3;
}

.nexo-plan-clients-wrap {
  grid-column: 1 / -1;
}

#nf-plan-clients {
  min-height: 120px;
}

.nexo-plan-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.nexo-filters-bar {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.3fr auto;
  gap: 1em;
  align-items: end;
}

.nexo-filter-action {
  display: flex;
  justify-content: flex-end;
}

.nexo-table-wrap {
  overflow-x: auto;
  border: 0.2em solid #dbdbdb;
  border-radius: 1em;
  background: #ffffff;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.nexo-pieces-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  border-bottom: 0.2em solid #dbdbdb;
}

.nexo-pieces-table th,
.nexo-pieces-table td {
  padding: 1.5em;
  border-bottom: 0.2em solid #dbdbdb;
  border-right: 0.2em solid #dbdbdb;
  text-align: left;
  vertical-align: middle;
}

.nexo-pieces-table th:last-child,
.nexo-pieces-table td:last-child {
  border-right: none;
}

.nexo-pieces-table tbody tr:last-child td {
  border-bottom: none;
}

.nexo-pieces-table th {
  background: #dbdbdb;
  color: #323232;
  text-transform: uppercase;
  font-size: var(--nf-fs-sm);
  letter-spacing: 0.04em;
}

.nexo-pieces-table tbody tr:hover {
  background: #f9f9f9;
}

.nexo-actions-cell {
  text-align: right;
  white-space: nowrap;
}

.nexo-logo-preview img {
  max-height: 56px;
  max-width: 100%;
  width: auto;
  display: block;
}

.nexo-materials-list {
  margin: 0;
  padding-left: 16px;
  display: grid;
  gap: 2px;
}

.nexo-materials-list li {
  font-family: var(--nf-font-body);
  text-transform: none;
  font-weight: 500;
}

.nexo-gantt-card {
  margin-top: 0px;
}

.nexo-gantt {
  display: grid;
  gap: 8px;
}


.nexo-client-detail-view .nexo-list-header h3,
#nf-plan-detail-view .nexo-list-header h3,
#nf-brand-detail-view .nexo-list-header h3,
#nf-piece-create-view .nexo-list-header h3,
#nf-piece-detail-view .nexo-list-header h3,
#nf-rrhh-detail-view .nexo-list-header h3 {
  color: #9d9d9d;
}

.nexo-client-detail-view > .nexo-card,
#nf-plan-detail-view > .nexo-card,
#nf-brand-detail-view > .nexo-card,
#nf-piece-create-view > .nexo-card,
#nf-piece-detail-view > .nexo-card,
#nf-rrhh-detail-view > .nexo-card,
#nf-piece-create-view > .nexo-piece-create-panel {
  background: #ffffff;
  border: none;
  border-radius: 0em 1.25em 1.25em 0em;
  margin-top: 1.9em !important;
  margin-bottom: 0em !important;
  margin-left: -2.0em;
  padding: 1.8em 1.6em 1.8em 1.6em;
  box-shadow: none;
}

.nexo-calendar-card {
  display: grid;
  gap: 1em;
}

.nexo-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.nexo-calendar-weekdays span {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 30px;
  border-radius: 5em;
  font-size: 0.7em;
  color: #FFF;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #c81400;
  font-weight: 600;
}

.nexo-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.nexo-calendar-cell {
  min-height: 104px;
  border: 0.2em solid #dbdbdb;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 6px;
  box-shadow: rgb(255 255 255) 3px 3px 6px 0px inset, rgb(0 0 0 / 20%) -3px -3px 0px 1px inset;
}

.nexo-calendar-cell.is-empty {
  background: transparent;
}

.nexo-calendar-cell.has-events {
  border-color: #dbdbdb;
  background: #fff8f7;
}

.nexo-calendar-daynum {
  font-size: var(--nf-fs-sm);
  font-weight: 700;
  color: var(--nf-text);
}

.nexo-calendar-badges {
  display: grid;
  gap: 4px;
  align-content: start;
}

.nexo-calendar-badge,
.nexo-calendar-more {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: var(--nf-fs-sm);
  border: 0.2em solid #dbdbdb;
  background: #fff;
  color: var(--nf-text);
}

.nexo-calendar-more {
  border-color: #dbdbdb;
  color: var(--nf-muted);
}

.nexo-calendar-summary ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 3px;
}

.nexo-calendar-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  flex-wrap: wrap;
}

.nexo-calendar-summary-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.nexo-calendar-summary-list {
  list-style: none;
  padding: 0;
  margin: 0.75em 0 0;
  display: grid;
  gap: 0.5em;
}

.nexo-calendar-summary-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  border-bottom: 0.2em solid #dbdbdb;
  padding-bottom: 0.45em;
}

.nexo-calendar-summary-list li:last-child {
  border-bottom: 0.2em solid #dbdbdb;
  padding-bottom: 0;
}

.nexo-calendar-badge {
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.nexo-calendar-badge:hover,
.nexo-calendar-badge:focus-visible {
  border-color: #dbdbdb;
  background: #fff2ef;
  transform: translateY(-0.08em);
  outline: none;
}

.nexo-calendar-empty-note {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0.2em 0.55em;
  border-radius: 999px;
  font-size: var(--nf-fs-sm);
  color: #9a9a9a;
  border: 0.2em solid #dbdbdb;
  background: #fafafa;
}

.nexo-modal-panel.is-slot-editor {
  max-width: min(92vw, 52em);
}

.nexo-slot-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1em;
}

.nexo-slot-editor-grid label {
  display: grid;
  gap: 0.45em;
}

.nexo-slot-editor-actions {
  margin-top: 1em;
  display: flex;
  justify-content: flex-end;
}

.nexo-slot-editor-span-2 {
  grid-column: 1 / -1;
}

.nexo-gantt-by-client {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.nexo-gantt-client {
  border-radius: 1em;
  padding: 1em;
  background: #fff;
  display: grid;
  gap: 0.28em;
  border: 0.2em solid #dbdbdb;
}

.nexo-gantt-client .nexo-subtitle {
  margin: 0;
  font-size: 1.15em;
  line-height: 1.05;
}

.nexo-gantt-client p {
  margin: 0;
}

#nf-dashboard-gantt-meta:empty {
  display: none;
}

.nexo-gantt-client-head {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1em;
  align-items: center;
}

.nexo-gantt-client-head h4 {
  margin: 0;
  font-size: var(--nf-fs-md);
  color: var(--nf-text);
}

.nexo-gantt-client-head p {
  margin: 2px 0 0;
  font-size: var(--nf-fs-sm);
  color: var(--nf-muted);
}

.nexo-gantt-client-stats {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  font-size: 0.75em;
  font-weight: 500;
  text-transform: lowercase;
}

.nexo-gantt-client-stats span {
  border: 0.2em solid #dbdbdb;
  border-radius: 999em;
  background: #666666;
  padding: 0.4em 0.8em 0.3em 0.8em;
  color: #fff;
}

.nexo-gantt-client-progress {
  margin-top: 5px;
  height: 8px;
  border-radius: 999px;
  border: 0.2em solid #dbdbdb;
  background: #666666;
  overflow: hidden;
}

.nexo-gantt-client-progress span {
  display: block;
  height: 100%;
  background: #7dff73;
  border-right: 0.2em solid #dbdbdb;
}

.nexo-gantt-client-detail {
  margin-top: 10px;
  display: grid;
  gap: 1em;
}

.nexo-gantt-mini {
  display: grid;
  gap: 6px;
}

.nexo-gantt-mini-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 1fr auto;
  gap: 8px;
  align-items: center;
}

.nexo-gantt-mini-label {
  font-size: var(--nf-fs-sm);
  color: var(--nf-text);
}

.nexo-gantt-mini-track {
  position: relative;
  height: 18px;
  border: 0.2em solid #dbdbdb;
  border-radius: 8px;
  background: var(--nf-surface-2);
}

.nexo-gantt-mini-bar {
  position: absolute;
  top: 2px;
  bottom: 2px;
  border-radius: 6px;
  background: var(--nf-accent);
}

.nexo-gantt-movements h5 {
  margin: 0 0 6px;
  font-family: var(--nf-font-body);
  font-size: var(--nf-fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--nf-muted);
}

.nexo-gantt-movements ul {
  margin: 0;
  padding-left: 16px;
  display: grid;
  gap: 3px;
}

.nexo-list-header+* {
  margin-top: 0em;
  margin-bottom: 1.2em;
}

#nf-slots-month {
  font-size: 1em;
  line-height: 1.2;
}

.nexo-app input,
.nexo-app select,
.nexo-app textarea,
.nexo-app button,
.nexo-app option,
.nexo-app table,
.nexo-app th,
.nexo-app td,
.nexo-app p,
.nexo-app span,
.nexo-app li,
.nexo-app label,
.nexo-app a {
  font-family: var(--nf-font-body);
  text-align: left;
}
.nexo-app form {
  display: grid;
  gap: 1em;
}

.nexo-app form label {
  display: grid;
  gap: 0.65em;
  margin-bottom: 0.25em;
}

.nexo-brand-summary {
  display: grid;
  gap: 1em;
}

.nexo-brand-summary-top {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.75em;
  align-items: center;
}

.nexo-brand-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1em;
}

.nexo-brand-summary-grid > div {
  display: grid;
  gap: 0.35em;
  align-content: start;
  padding: 0.95em 1em;
  border: 0.2em solid #dbdbdb;
  border-radius: 1em;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}

.nexo-brand-summary-grid strong {
  font-size: 1.35em;
  line-height: 1.05;
  color: #151515;
}

.nexo-brand-progress-caption {
  display: block;
  color: #6b6b6b;
  font-size: 0.88em;
  font-weight: 600;
}

.nexo-brand-progress-wrap {
  display: grid;
  gap: 0.6em;
}

.nexo-brand-tokens {
  display: grid;
  gap: 1em;
}

.nexo-brand-token-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85em;
  align-items: stretch;
}

.nexo-brand-token-block {
  display: flex;
  flex-direction: column;
  gap: 0.35em;
  padding: 0.95em 1em;
  border: 0.2em solid #dbdbdb;
  border-radius: 1em;
  background: #fff;
  height: 100%;
}

.nexo-brand-token-block.is-missing {
  border-color: #d6d6d6;
  background: #fafafa;
}

.nexo-brand-token-block.is-complete {
  border-color: #d0d0d0;
  background: #fcfcfc;
}

.nexo-brand-token-block [data-brand-aspect-edit] {
  margin-top: auto;
  align-self: stretch;
}

.nexo-brand-token-block .nexo-button-nano {
  margin-top: auto;
  margin-bottom: 0;
}

.nexo-brand-token-block > :nth-last-child(2) {
  margin-bottom: 0.75em;
}

.nexo-brand-aspect-modal {
  display: grid;
  gap: 0.75em;
}

.nexo-brand-aspect-file-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.nexo-upload-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  color: #6a6a6a;
  font-size: 0.88em;
  font-weight: 600;
}

.nexo-upload-loading::before {
  content: '';
  width: 0.9em;
  height: 0.9em;
  border-radius: 999em;
  border: 0.18em solid #d2d2d2;
  border-top-color: #c81400;
  animation: nexoSpin 0.8s linear infinite;
}

.nexo-upload-pill-wrap {
  min-height: 1.4em;
}

.nexo-upload-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  background: #ffffff;
  border: 0.2em solid #dbdbdb;
  border-radius: 999em;
  padding: 0.18em 0.6em;
  font-size: 0.82em;
  color: #4b4b4b;
}

.nexo-upload-pill-x {
  border: none;
  background: transparent;
  color: #7d7d7d;
  font-weight: 800;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

@keyframes nexoSpin {
  to { transform: rotate(360deg); }
}

#nf-brand-form[hidden] {
  display: none !important;
}

.nexo-brand-token-meta {
  display: grid;
  gap: 0.35em;
  color: #5c5c5c;
  font-size: 0.92em;
  line-height: 1.4;
}

.nexo-palette-token-list {
  display: grid;
  gap: 0.45em;
}

.nexo-palette-token-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55em;
  align-items: center;
}

.nexo-palette-token-copy {
  display: grid;
  gap: 0.08em;
}

.nexo-font-preview-inline {
  display: block;
  margin-top: 0.2em;
  color: #444;
  font-size: 0.92em;
  line-height: 1.2;
}

.nexo-brand-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  font-size: 0.92em;
  color: #4c4c4c;
  font-weight: 600;
}

.nexo-brand-progress-meta strong {
  font-size: 1em;
  color: #c81400;
}

.nexo-brand-progress {
  width: 100%;
  height: 0.95em;
  border: 0.2em solid #dbdbdb;
  border-radius: 999em;
  overflow: hidden;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.nexo-brand-progress > span {
  display: block;
  height: 100%;
  min-width: 0;
  border-radius: 999em;
  background: linear-gradient(90deg, #c81400 0%, #ff6a3d 100%);
  transition: width 0.25s ease;
}

#nf-brand-missing {
  display: grid;
  gap: 1em;
}

.nexo-brand-missing-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1em;
}

.nexo-brand-missing-head strong {
  display: block;
  margin-bottom: 0.3em;
  font-size: 1.15em;
}

.nexo-brand-missing-head p {
  margin: 0;
  color: #676767;
  font-size: 0.92em;
  line-height: 1.45;
}

.nexo-brand-missing-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5em;
  padding: 0.35em 0.95em;
  border-radius: 999em;
  border: 0.2em solid #dbdbdb;
  background: #fff3f1;
  color: #c81400;
  font-size: 0.88em;
  font-weight: 700;
  white-space: nowrap;
}

.nexo-brand-missing-badge.is-complete {
  border-color: #dbdbdb;
  background: #f1fff0;
  color: #197a16;
}

.nexo-brand-missing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85em;
}

.nexo-brand-missing-item {
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  gap: 0.75em;
  min-height: 8.5em;
  padding: 1em;
  border: 0.2em solid #dbdbdb;
  border-radius: 1em;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
}

.nexo-brand-missing-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5em;
  height: 1.5em;
  border-radius: 0.9em;
  border: 0.2em solid #dbdbdb;
  background: none;
  color: #c81400;
  font-size: 3em;
  font-weight: 800;
  letter-spacing: -0.02em;
}

#nf-brand-status:empty {
  display: none;
}

.nexo-brand-missing-item strong {
  font-size: 1em;
  line-height: 1.2;
  color: #151515;
}

.nexo-progress {
  margin-top: 20px;
  height: 8px;
  border-radius: 999px;
  border: 0.2em solid #dbdbdb;
  background: #666666;
  overflow: hidden;
}

.nexo-progress>span {
  display: block;
  height: 100%;
  background: #7dff73;
  border-right: 0.2em solid #dbdbdb;
}

.nexo-brand-mini-logo {
  width: 4.5em;
  height: 4.5em;
  border: 0.2em solid #dbdbdb;
  border-radius: 0.5em;
  display: grid;
  place-items: center;
  background: #fff;
  overflow: hidden;
}

.nexo-brand-mini-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nexo-swatches,
.nexo-chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em;
}

.nexo-swatch {
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  border: 0.2em solid #dbdbdb;
  display: inline-block;
}

.nexo-brand-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65em;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

.nexo-brand-form-advanced {
  display: grid;
  gap: 1em;
}

.nexo-font-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.65em;
  margin-top: 0.45em;
  align-items: center;
}

.nexo-font-preview {
  margin-top: 0.45em;
  padding: 0.65em 0.75em;
  border: 0.2em solid #dbdbdb;
  border-radius: 0.75em;
  background: #fff;
  display: grid;
  gap: 0.4em;
}

.nexo-font-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6em;
}

.nexo-font-preview-sample {
  font-size: 1.05em;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: #242424;
  word-break: break-word;
}

.nexo-controlled-list {
  display: grid;
  gap: 0.75em;
}

.nexo-controlled-list-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65em;
  align-items: center;
}

.nexo-chip-editor {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.nexo-chip-editor-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.7em 0.95em;
  border-radius: 999em;
  background: #e3e3e3;
  color: #323232;
  font-size: 0.92em;
  font-weight: 700;
  cursor: pointer;
}

.nexo-accordion {
  border: 0.2em solid #dbdbdb;
  border-radius: 0.6em;
  background: #fff;
  padding: 2em;
  display: grid;
  gap: 0.65em;
}

.nexo-accordion summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--nf-text);
}

.nexo-palette-builder {
  margin: 0.4em 0;
}

.nexo-palette-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em;
}

.nexo-palette-chip {
  border: 0.2em solid #dbdbdb;
  background: #fff;
  border-radius: 999px;
  padding: 0.2em 0.5em;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  cursor: pointer;
  font-size: var(--nf-fs-sm);
}

.nexo-palette-chip span {
  width: 0.9em;
  height: 0.9em;
  border-radius: 50%;
  border: 0.2em solid #dbdbdb;
}

.nexo-footer {
  display: grid;
  justify-items: center;
  gap: 0.45em;
  width: 100%;
  min-height: 5.5em;
  margin: 0 auto 20px;
  padding: 0.75em 1.2em 0.35em;
  text-align: center;
  background: transparent;
}

.nexo-footer-logo {
  width: 6.5rem;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: brightness(0) invert(1);
}

.nexo-footer-text {
  margin: 0;
  font-size: 0.78rem;
  color: #d6d6d6;
  text-align: center !important;
}

.nexo-footer-text a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
}

body.nexo-loader-open {
  overflow: hidden;
}

.nexo-loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: transparent;
  backdrop-filter: blur(0.5em);
  -webkit-backdrop-filter: blur(0.5em);
  z-index: 120000;
}

.nexo-loader[hidden] {
  display: none;
}

.nexo-stage {
  display: grid;
  place-items: center;
}

.nexo-svg {
  width: var(--nexo-loader-size);
  height: var(--nexo-loader-size);
  overflow: visible;
  filter: drop-shadow(0 0 0.5em rgba(255, 255, 255, 0.95)) drop-shadow(0 0 1.35em rgba(255, 255, 255, 0.72)) drop-shadow(0 0 2em rgba(255, 255, 255, 0.45)) drop-shadow(0 0.75em 1.8em rgba(200, 20, 0, 0.35));
}

.nexo-path {
  fill: none;
  stroke: var(--nexo-loader-red);
  stroke-width: 400;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 0.85 0.15;
  animation: nexo-loader-trace var(--nexo-loader-duration) linear infinite;
}

@keyframes nexo-loader-trace {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -1;
  }
}

#nf-brand-detail-view .nexo-form {
  max-width: 100%;
}

/* nexoflow cleanup overrides */

@media (max-width: 768px) {
  .nexo-shell {
    grid-template-columns: 1fr;
  }

  .nexo-sidebar {
    border-right: 0.2em solid #dbdbdb;
    border-bottom: 0.2em solid #dbdbdb;
    padding: 0;
    background: transparent;
    position: relative;
    z-index: 121;
  }

  .nexo-sidebar.is-mobile-open {
    background: transparent;
    border-bottom-color: #dbdbdb;
  }

  .nexo-sidebar.is-mobile-open::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(20, 20, 20, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: none;
  }

  .nexo-sidebar-bar {
    min-height: 5em;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75em;
    position: relative;
    z-index: 0;
    padding: 1em 1.2em;
    background: #e3e3e3;
    border-bottom: 0.2em solid #dbdbdb;
    transition: transform 0.28s ease, filter 0.28s ease, opacity 0.28s ease;
  }

  .nexo-logo {
    margin-bottom: 0;
  }

  .nexo-mobile-summary {
    display: grid;
    gap: 0.18em;
    min-width: 0;
    padding: 0;
    border: 0.2em solid #dbdbdb;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .nexo-mobile-summary-label {
    font-size: 0.62em;
    line-height: 1.1;
    color: #c81400;
    font-weight: 800;
    text-transform: uppercase;
  }

  .nexo-mobile-summary-main {
    display: grid;
    gap: 0.08em;
    min-width: 0;
  }

  .nexo-mobile-summary-main strong {
    font-size: 1.15em;
    line-height: 1;
    color: #151515;
  }

  .nexo-mobile-summary-main span {
    font-size: 0.82em;
    line-height: 1.1;
    color: #647080;
    font-weight: 700;
  }

  .nexo-mobile-menu-toggle {
    display: inline-flex;
  }

  .nexo-mobile-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 119;
    border: 0.2em solid #dbdbdb;
    background: transparent;
    cursor: pointer;
  }

  .nexo-sidebar-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(14.6em, calc(100vw - 5.2em));
    max-height: calc(100vh - 5em);
    z-index: 122;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0.55em 0.75em 0.75em;
    border: 0.2em solid #dbdbdb;
    border-radius: 1.1em;
    background: #e3e3e3;
    box-shadow: 0 1.5em 3em rgba(0, 0, 0, 0.28);
    overflow-y: auto;
    transform: translate(-50%, calc(-50% + 2em)) scale(0.92);
    transform-origin: center center;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
  }

  .nexo-sidebar.is-mobile-open .nexo-sidebar-panel {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nexo-sidebar.is-mobile-open .nexo-sidebar-bar {
    opacity: 0.72;
    transform: none;
    border-bottom-color: #dbdbdb;
    pointer-events: none;
    transition: transform 0.28s ease, filter 0.28s ease, opacity 0.28s ease;
  }

  .nexo-sidebar.is-mobile-open ~ .nexo-content {
    transform: none;
    filter: blur(6px);
    opacity: 0.72;
    pointer-events: none;
    transition: transform 0.28s ease, filter 0.28s ease, opacity 0.28s ease;
  }

  .nexo-sidebar-panel .nexo-nav {
    display: grid;
    gap: 7px;
  }

  .nexo-sidebar-panel .nexo-sidebar-meta {
    display: none;
  }

  .nexo-sidebar-panel .nexo-sidebar-meta,
  .nexo-sidebar-panel .nexo-logout-form {
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .nexo-topbar {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .nexo-main {
    padding: 20px;
  }

  .nexo-content {
    transition: transform 0.28s ease, filter 0.28s ease, opacity 0.28s ease;
  }

  .nexo-sidebar-panel .nexo-sidebar-meta {
    padding: 1.1em;
    margin-bottom: 0.9em;
  }

  .nexo-sidebar-panel .nexo-link {
    padding: 15px 12px;
    font-size: 0.92em;
  }

  .nexo-sidebar-panel .nf-count {
    min-width: 1.8em;
    height: 1.8em;
    font-size: 0.76em;
  }

  .nexo-sidebar-panel .nexo-logout-form {
    margin-top: 0.45em;
    margin-bottom: 0;
  }

  .nexo-sidebar-panel .nexo-logout-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 0 !important;
    height: 2.45em !important;
    max-height: 2.45em !important;
    padding: 0.45em 0.9em !important;
    border-radius: 999em !important;
    font-size: 0.95em !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    aspect-ratio: auto !important;
    box-sizing: border-box !important;
    background: #c81400 !important;
    border-color: #dbdbdb !important;
    color: #ffffff !important;
  }

  .nexo-sidebar-panel .nexo-logout-btn:hover,
  .nexo-sidebar-panel .nexo-logout-btn:focus-visible {
    background: #e32711 !important;
    border-color: #dbdbdb !important;
    color: #ffffff !important;
  }

  .nexo-sidebar-panel :is(.nexo-button-red, .nexo-button-grey, .nexo-button-black) {
    min-height: 2.2em;
    padding: 0.52em 0.9em;
  }

  .nexo-topbar-actions,
  .nexo-toolbar,
  .nexo-filters-bar {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .nexo-pieces-surface .nexo-filters-bar.nexo-pieces-filters {
    gap: 0.9em;
  }

  .nexo-pieces-surface .nexo-pieces-filters-top,
  .nexo-pieces-surface .nexo-pieces-filters-bottom {
    grid-template-columns: 1fr;
  }

  .nexo-pieces-filter-action {
    justify-self: stretch;
  }

  .nexo-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75em;
  }

  .nexo-gantt-by-client {
    grid-template-columns: 1fr;
  }

  .nexo-stat {
    padding: 1em 0.9em;
  }

  .nexo-stat-label {
    font-size: 0.68em;
    line-height: 1.2;
  }

  .nexo-stat-value {
    font-size: 1.65em;
  }

  .nexo-brand-summary-grid,
  .nexo-brand-missing-grid,
  .nexo-brand-token-grid {
    grid-template-columns: 1fr;
  }

  .nexo-brand-missing-head {
    flex-direction: column;
  }

  .nexo-filter-action {
    justify-content: stretch;
  }

  .nexo-filter-action :is(.nexo-button-red, .nexo-button-grey, .nexo-button-black) {
    width: 100%;
  }

  .nexo-plans-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1em;
}
}

.nexo-piece-create-panel {
  max-width: 56em;
}

.nexo-piece-create-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75em;
}

.nexo-piece-create-grid label {
  display: grid;
  gap: 0.35em;
}

.nexo-thread {
  display: grid;
  gap: 0.85em;
}

.nexo-thread h4 {
  margin: 0;
  font-size: 1.15em;
}

.nexo-thread-item {
  border: 0.2em solid #dbdbdb;
  border-radius: 0.65em;
  background: #fff;
  padding: 0.85em;
  display: grid;
  gap: 0.4em;
}

.nexo-thread-item.is-root {
  border-color: #dbdbdb;
  background: #fff7f5;
}

.nexo-thread-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6em;
}

.nexo-thread-head span {
  font-size: 0.9em;
  color: var(--nf-muted);
}

.nexo-thread-body {
  margin: 0;
  font-size: 1em;
  line-height: 1.45;
}

.nexo-thread-meta {
  font-size: 0.9em;
  color: var(--nf-muted);
}

@media (max-width: 768px) {
  .nexo-piece-create-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75em;
}
}

#nf-piece-files-preview {
  min-height: 1.4em;
}

.nexo-files-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6em;
}

.nexo-file-empty {
  grid-column: 1 / -1;
  color: var(--nf-muted);
  font-size: var(--nf-fs-sm);
}

.nexo-file-card {
  position: relative;
  border: 0.2em solid #dbdbdb;
  border-radius: 0.6em;
  background: #fff;
  overflow: hidden;
  min-height: 7.2em;
  display: grid;
  grid-template-rows: 1fr auto;
}

.nexo-file-preview {
  display: grid;
  place-items: center;
  background: #f6f6f6;
  min-height: 5.2em;
}

.nexo-file-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nexo-file-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8em;
  height: 2.8em;
  border: 0.2em solid #dbdbdb;
  border-radius: 0.45em;
  font-size: 0.75em;
  font-weight: 700;
  color: var(--nf-muted);
  background: #fff;
}

.nexo-file-title {
  padding: 0.45em 0.5em;
  font-size: 0.82em;
  color: var(--nf-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nexo-file-remove {
  position: absolute;
  top: 0.35em;
  right: 0.35em;
  width: 1.4em;
  height: 1.4em;
  border: 0.2em solid #dbdbdb;
  border-radius: 999px;
  background: var(--nf-accent);
  color: #fff;
  cursor: pointer;
  font-size: 0.7em;
  line-height: 1;
  padding: 0;
  z-index: 2;
}

.nexo-piece-dropzone {
  min-height: 6.5em;
  border: 0.2em solid #dbdbdb;
  border-radius: 0.75em;
  display: grid;
  place-items: center;
  background: #f8f8f8;
  color: var(--nf-muted);
  font-size: var(--nf-fs-sm);
  text-align: center;
  padding: 1.2em;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.nexo-piece-dropzone:hover,
.nexo-piece-dropzone.is-dragover {
  border-color: #dbdbdb;
  background: #fff4f2;
  color: var(--nf-text);
}

.nexo-piece-dropzone.is-loading {
  opacity: 0.85;
  pointer-events: none;
}

#nf-piece-upload-files {
  min-height: 2.8em;
}

.nexo-piece-upload-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

#nf-piece-upload-status {
  min-height: 1.4em;
}

@media (max-width: 768px) {
  .nexo-files-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


.nexo-notice {
  border: 0.2em solid #dbdbdb;
  border-radius: 5em;
  padding: 1em;
  background: #FFF;
  color: #323232;
  font-size: 0.8em;
  font-weight: 500;
}

.nexo-notice.is-success {
  border-color: #dbdbdb;
  background: #7dff73;
}

.nexo-notice.is-error {
  border-color: #dbdbdb;
  background: #fff3f1;
}
.nexo-list-header {
  align-items: center;
}

.nexo-notice-inline-wrap {
  flex: 1;
  min-width: 0;
  margin-right: 0.75em;
}

.nexo-notice-inline {
  width: 100%;
  margin: 0;
  padding: 1em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nexo-notice-area {
  min-height: 0;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .nexo-list-header {
    flex-wrap: wrap;
  }

  .nexo-notice-inline-wrap {
    order: 3;
    width: 100%;
    margin-right: 0;
    margin-top: 0.5em;
  }

  .nexo-notice-inline {
    white-space: normal;
  }
}

.nexo-log-list {
  display: grid;
  gap: 0.8em;
}

.nexo-log-empty {
  padding: 0.35em 0;
  color: #646464;
  font-size: 0.92em;
}

.nexo-log-compact {
  display: grid;
  border: 0.2em solid #dbdbdb;
  border-radius: 0.9em;
  overflow: hidden;
  background: #fff;
}

.nexo-log-head,
.nexo-log-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(8em, 0.95fr) minmax(6em, 0.72fr) minmax(9em, 0.95fr) minmax(5em, auto);
  gap: 0;
  align-items: stretch;
}

.nexo-log-head {
  background: #dbdbdb;
  color: #323232;
  border-bottom: 0.2em solid #dbdbdb;
}

.nexo-log-row {
  border-bottom: 0.2em solid #dbdbdb;
}

.nexo-log-row:last-child {
  border-bottom: 0.2em solid #dbdbdb;
}

.nexo-log-row.is-alt {
  background: #e3e3e3;
}

.nexo-log-col,
.nexo-log-head-cell {
  display: flex;
  align-items: center;
  min-width: 0;
  border-right: 0.2em solid #dbdbdb;
}

.nexo-log-col {
  padding: 0.55em 0.7em;
}

.nexo-log-head-cell {
  padding: 0.7em 0.7em;
  font-size: 0.82em;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.nexo-log-head-cell.is-summary {
  justify-content: center;
}

.nexo-log-head-cell.is-client,
.nexo-log-head-cell.is-user,
.nexo-log-head-cell.is-date,
.nexo-log-head-cell.is-badge,
.nexo-log-col.is-client,
.nexo-log-col.is-user,
.nexo-log-col.is-date,
.nexo-log-col.is-badge {
  justify-content: center;
  text-align: center;
}

.nexo-log-col:last-child,
.nexo-log-head-cell:last-child {
  border-right: none;
}

.nexo-log-col.is-summary {
  font-size: 0.78em;
  line-height: 1.35;
  font-weight: 500;
  color: #6a6a6a;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.nexo-log-col.is-client,
.nexo-log-col.is-user,
.nexo-log-col.is-date {
  font-size: 0.78em;
  line-height: 1.35;
  color: #6a6a6a;
}

.nexo-log-col.is-badge {
  display: flex;
  justify-content: flex-end;
}

.nexo-log-mini-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18em 0.55em;
  border-radius: 999em;
  background: #fff3f1;
  color: #c81400;
  font-size: 0.7em;
  font-weight: 800;
  text-transform: lowercase;
  white-space: nowrap;
}

.nexo-log-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75em;
}

.nexo-log-pagination span {
  font-size: 0.85em;
  color: #5f5f5f;
}

.nexo-log-pagination :is(.nexo-button-red, .nexo-button-grey, .nexo-button-black) {
  min-height: 2.2em;
  padding: 0.45em 0.9em;
}

.nexo-log-page-btn {
  min-width: 2.4em;
  padding: 0.45em 0.65em;
  font-size: 1em;
  font-weight: 800;
}

.nexo-log-page-spacer {
  display: inline-block;
  width: 2.4em;
  height: 2.2em;
}

.nexo-log-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 38em;
}

.nexo-log-table thead th {
  position: sticky;
  top: 0;
  background: #323232;
  color: #fff;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.75em 0.9em;
  z-index: 1;
}

.nexo-log-table tbody td {
  font-size: 0.9em;
  padding: 0.7em 0.9em;
  border-bottom: 0.2em solid #dbdbdb;
  vertical-align: middle;
}

.nexo-log-badge {
  display: inline-flex;
  align-items: center;
  border: 0.2em solid #dbdbdb;
  border-radius: 999px;
  padding: 0.25em 0.7em;
  font-size: 0.9em;
  line-height: 1.1;
  background: #fff;
  color: #323232;
  white-space: nowrap;
}

.nexo-log-badge.is-status {
  border-color: #dbdbdb;
  color: #c81400;
}

.nexo-log-badge.is-comment {
  border-color: #dbdbdb;
}

.nexo-log-badge.is-update {
  border-color: #dbdbdb;
}

.nexo-log-badge.is-created {
  border-color: #dbdbdb;
}



.nexo-logout-form {
  margin: 1em 0 1em;
}

.nexo-logout-btn {
  width: 100%;
}

.nexo-logout-btn:hover,
.nexo-logout-btn:focus-visible {
  color: #ffffff;
}


.nexo-login-wrap {
  max-width: 36em;
  margin: 2em auto;
  padding: 1em;
}

.nexo-login-wrap,
.nexo-login-wrap * {
  box-sizing: border-box;
}

.nexo-login-card {
  background: #fff;
  border-radius: 1em;
  border: 0.2em solid #dbdbdb;
  padding: 1.5em;
  display: grid;
  gap: 1em;
}

.nexo-login-brand {
  display: grid;
  gap: 0.5em;
  justify-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.nexo-login-brand img {
  width: auto;
  height: 5em;
  object-fit: contain;
}

.nexo-login-brand h2 {
  margin: 0;
  font-size: 2.4em;
  line-height: 1;
  color: #151515;
  font-family: var(--nf-font-heading);
  text-transform: lowercase;
  margin-bottom: 20px;
}

.nexo-login-brand p {
  margin: 0;
  color: var(--nf-muted);
  font-size: 1em;
}

.nexo-login-form {
  width: 100%;
  display: grid;
  gap: 0.8em;
}

.nexo-login-form label {
  width: 100%;
  margin-bottom: 10px;
}

.nexo-login-form .nexo-input {
  width: 100%;
  font-family: 'DM Sans';
}

.nexo-login-remember {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.9em;
}

.nexo-login-help {
  margin: 0;
  font-size: 0.7em;
  line-height: 1.4;
  color: #4b4b4b;
  text-align: center;
  margin-top: 40px;
  width: 80%;
  margin-left: 10%;
}

.nexo-auth-notice {
  border-radius: 0.7em;
  border: 0.2em solid #dbdbdb;
  padding: 0.75em 0.9em;
  font-size: 0.9em;
}

.nexo-auth-notice.is-error {
  border-color: #dbdbdb;
  color: #c81400;
  background: #fff6f5;
}

.nexo-auth-notice.is-success {
  border-color: #dbdbdb;
  color: #151515;
  background: #7DFF73;
}

.nexo-toggle {
  display: inline-flex;
  position: relative;
  width: 2.8em;
  height: 1.55em;
  cursor: pointer;
}

.nexo-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.nexo-toggle-slider {
  position: absolute;
  inset: 0;
  background: #d7d7d7;
  border: 0.2em solid #dbdbdb;
  border-radius: 99em;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nexo-toggle-slider::before {
  content: '';
  position: absolute;
  width: 1em;
  height: 1em;
  left: 0.2em;
  top: 0.15em;
  background: #ffffff;
  border: 0.2em solid #dbdbdb;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.nexo-toggle input:checked + .nexo-toggle-slider {
  background: #c81400;
  border-color: #dbdbdb;
}

.nexo-toggle input:checked + .nexo-toggle-slider::before {
  transform: translateX(1.1em);
  border-color: #dbdbdb;
}
/* RRHH table layout */
.nexo-rrhh-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.nexo-rrhh-table th:nth-child(1),
.nexo-rrhh-table td:nth-child(1) { width: 30%; }
.nexo-rrhh-table th:nth-child(2),
.nexo-rrhh-table td:nth-child(2) { width: 18%; }
.nexo-rrhh-table th:nth-child(3),
.nexo-rrhh-table td:nth-child(3) { width: 9%; text-align: center; }
.nexo-rrhh-table th:nth-child(4),
.nexo-rrhh-table td:nth-child(4) { width: 14%; text-align: center; }
.nexo-rrhh-table th:nth-child(5),
.nexo-rrhh-table td:nth-child(5) { width: 11%; text-align: center; }
.nexo-rrhh-table th:nth-child(6),
.nexo-rrhh-table td:nth-child(6) { width: 18%; text-align: right; }

.nexo-rrhh-table td strong {
  display: block;
  line-height: 1.2;
}

.nexo-rrhh-table td .nexo-muted {
  display: block;
  margin-top: 0.25em;
  color: #5f6369;
  font-size: 0.95em;
  overflow-wrap: anywhere;
}

.nexo-rrhh-table .nexo-actions-cell {
  white-space: nowrap;
  text-align: right;
}

.nexo-rrhh-table :is(.nexo-button-red, .nexo-button-grey, .nexo-button-black) {
  min-width: 0;
  width: auto;
  padding-inline: 1.1em;
}

.nexo-rrhh-table .nexo-inline-toggle {
  margin-top: 0;
}

.nexo-rrhh-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.35em;
}

.nexo-rrhh-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15em 1.25em;
  align-items: start;
}

.nexo-rrhh-form-grid label {
  display: grid;
  width: 100%;
  min-width: 0;
  margin-bottom: 0;
}

.nexo-rrhh-form-grid .nexo-input {
  width: 100%;
}

.nexo-rrhh-client-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8em;
  margin-top: 0.8em;
}

.nexo-rrhh-client-badge {
  min-height: 3.1em;
  border: 0.2em solid #dbdbdb;
  border-radius: 999em;
  background: #ffffff;
  color: var(--nf-text);
  padding: 0.55em 0.95em;
  display: flex;
  align-items: center;
  gap: 0.65em;
  justify-content: flex-start;
  cursor: pointer;
  font-size: 0.95em;
  font-weight: 600;
  box-sizing: border-box;
}

.nexo-rrhh-client-badge input[type="checkbox"] {
  margin: 0;
  width: 1em;
  height: 1em;
  accent-color: #151515;
  flex: 0 0 auto;
}

.nexo-rrhh-client-badge span {
  display: block;
  line-height: 1.25;
}

@media (max-width: 720px) {
  .nexo-rrhh-form-grid,
  .nexo-rrhh-client-badges {
    grid-template-columns: 1fr;
  }
}

.nexo-rrhh-inline-toggle {
  margin-top: 0.5em;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-size: 0.9em;
  color: #5f6369;
}



.nexo-rrhh-client-badges.is-readonly .nexo-rrhh-client-badge {
  opacity: 0.7;
  cursor: default;
}

.nexo-rrhh-payments {
  margin-top: 1.25em;
  display: grid;
  gap: 1em;
}

.nexo-rrhh-payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95em;
}

.nexo-rrhh-payment-grid .nexo-span-2 {
  grid-column: span 2;
}

.nexo-rrhh-receipt-picker {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65em;
  align-items: center;
}

.nexo-rrhh-receipt-picker :is(.nexo-button-red, .nexo-button-grey, .nexo-button-black) {
  width: auto;
  min-width: 12em;
}

.nexo-rrhh-receipt-picker #nf-rrhh-pay-receipt-preview {
  min-height: 2.2em;
  display: flex;
  align-items: center;
}

@media (max-width: 720px) {
  .nexo-rrhh-receipt-picker {
    grid-template-columns: 1fr;
  }

  .nexo-rrhh-receipt-picker :is(.nexo-button-red, .nexo-button-grey, .nexo-button-black) {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .nexo-rrhh-payment-grid {
    grid-template-columns: 1fr;
  }

  .nexo-rrhh-payment-grid .nexo-span-2 {
    grid-column: span 1;
  }
}


.nexo-rrhh-payments-history-wrap {
  overflow-x: auto;
  width: 100%;
  border: 0.2em solid #dbdbdb;
  border-radius: 1em;
  background: #fff;
}

.nexo-rrhh-payments-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
}

.nexo-rrhh-payments-table th,
.nexo-rrhh-payments-table td {
  padding: 1.15em 1em;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.nexo-rrhh-payments-table th:nth-child(1),
.nexo-rrhh-payments-table td:nth-child(1) { width: 16%; }

.nexo-rrhh-payments-table th:nth-child(2),
.nexo-rrhh-payments-table td:nth-child(2) { width: 14%; }

.nexo-rrhh-payments-table th:nth-child(3),
.nexo-rrhh-payments-table td:nth-child(3) { width: 24%; }

.nexo-rrhh-payments-table th:nth-child(4),
.nexo-rrhh-payments-table td:nth-child(4) { width: 26%; }

.nexo-rrhh-payments-table th:nth-child(5),
.nexo-rrhh-payments-table td:nth-child(5) { width: 20%; }

.nexo-rrhh-payments-table :is(.nexo-button-red, .nexo-button-grey, .nexo-button-black) {
  min-width: 0;
  width: auto;
  padding-inline: 1.1em;
}

@media (max-width: 900px) {
  .nexo-rrhh-table,
  .nexo-rrhh-payments-table {
    min-width: 52em;
  }
}
.nexo-rrhh-payment-support {
  display: grid;
  gap: 0.35em;
}

.nexo-rrhh-payment-support strong {
  font-weight: 700;
}

.nexo-client-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15em 1.25em;
  align-items: start;
}

.nexo-client-fields-grid label {
  display: grid;
  width: 100%;
  min-width: 0;
  margin-bottom: 0;
}

.nexo-client-fields-grid .nexo-input {
  width: 100%;
}

.nexo-client-user-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15em 1.25em;
  align-items: start;
}

.nexo-client-user-grid label {
  display: grid;
  width: 100%;
  min-width: 0;
  margin-bottom: 0;
}

.nexo-client-user-grid .nexo-input {
  width: 100%;
}

@media (max-width: 720px) {
  .nexo-client-fields-grid,
  .nexo-client-user-grid {
    grid-template-columns: 1fr;
  }
}




.nexo-subview-notice {
  min-height: 0;
  margin: 0 0 1.25em;
}

.nexo-subview-notice:empty {
  display: none;
}







#nf-clients-list > .nexo-client-card,
#nf-brand-clients-list > .nexo-brand-client-card {
  background: #fff;
  border-radius: var(--nf-radius);
  padding: 1.5em;
  box-shadow: 0 0.25em 0.9em rgba(17, 17, 19, 0.05);
}

#nf-plans-list .nexo-pieces-table {
  width: 100%;
  border-bottom: none;
}

#nf-plans-list .nexo-actions-cell :is(.nexo-button-red, .nexo-button-grey, .nexo-button-black) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#nf-brand-clients-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25em;
}

.nexo-brand-client-card {
  display: grid;
  gap: 0.9em;
  text-align: left;
  align-content: start;
}

.nexo-brand-client-card h3,
.nexo-brand-client-card p {
  margin: 0;
}

.nexo-brand-client-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75em;
  font-size: 0.95em;
  color: #323232;
}

.nexo-brand-client-progress-meta strong {
  font-size: 1em;
}

.nexo-brand-client-progress-bar {
  width: 100%;
  height: 0.75em;
  border: 0.2em solid #dbdbdb;
  border-radius: 999em;
  overflow: hidden;
  background: #ffffff;
}

.nexo-brand-client-progress-bar span {
  display: block;
  height: 100%;
  border-radius: 999em;
  background: #c81400;
}

.nexo-brand-client-progress-note {
  font-size: 0.95em;
  color: #5c5c5c;
}
#nf-clients-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25em;
}

.nexo-client-card {
  display: grid;
  gap: 0.9em;
  align-content: space-between;
}

.nexo-client-card-main {
  display: grid;
  grid-template-columns: 4.75em minmax(0, 1fr);
  gap: 2em;
  width: 100%;
  padding: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  box-shadow: none;
  outline: none;
  align-items: start;
}

.nexo-client-card-main:hover,
.nexo-client-card-main:focus {
  background: transparent;
  box-shadow: none;
}

.nexo-client-card-logo {
  width: 4.75em;
  height: 4.75em;
  border-radius: 1em;
  background: #ffffff;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.nexo-client-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nexo-client-card-logo.is-placeholder {
  background: #e3e3e3;
  color: #5c5c5c;
  font-size: 1.15em;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.nexo-client-card-copy {
  display: grid;
  gap: 0.28em;
  min-width: 0;
}

.nexo-client-card-copy h3,
.nexo-client-card-copy p,
.nexo-client-card-copy span {
  margin: 0;
}

.nexo-client-card-copy h3 {
  font-size: 1.35em;
  line-height: 1;
}

.nexo-client-card-copy p {
  overflow-wrap: anywhere;
}

.nexo-client-card-copy p:nth-of-type(2) {
  font-size: 0.8em;
  color: var(--nf-muted);
}

.nexo-client-card-actions {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
  padding-top: 0.75em;
  border-top: 0.2em solid #dbdbdb;
}

.nexo-inline-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75em;
  width: 100%;
  font-size: 0.95em;
}

.nexo-inline-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.nexo-inline-toggle i {
  position: relative;
  display: inline-block;
  width: 3em;
  height: 1.5em;
  background: #d7d7d7;
  border: 0.2em solid #dbdbdb;
  border-radius: 99em;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  flex: 0 0 auto;
}

.nexo-inline-toggle i::before {
  content: '';
  position: absolute;
  width: 0.9em;
  height: 0.9em;
  left: 0.2em;
  top: 0em;
  background: #ffffff;
  border: 0.2em solid #dbdbdb;
  border-radius: 50%;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.nexo-inline-toggle input:checked + i {
  background: #c81400;
  border-color: #dbdbdb;
}

.nexo-inline-toggle input:checked + i::before {
  transform: translateX(1.1em);
  border-color: #dbdbdb;
}

@media (max-width: 1024px) {
  #nf-clients-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  #nf-clients-list {
    grid-template-columns: 1fr;
  }

  .nexo-client-card-main {
    grid-template-columns: 4.2em minmax(0, 1fr);
    gap: 0.85em;
  }

  .nexo-client-card-logo {
    width: 4.2em;
    height: 4.2em;
  }

  .nexo-client-card-actions {
    grid-template-columns: 1fr;
  }
}

.nexo-client-payments-panel {
  width: min(92vw, 60em);
  max-height: 90vh;
  overflow: auto;
}

.nexo-client-payments-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1em;
  margin-bottom: 1em;
}

.nexo-client-payments-body {
  display: grid;
  gap: 1.25em;
}

.nexo-client-payments-notice:empty {
  display: none;
}

.nexo-client-payments-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1em;
}

.nexo-client-payments-span-2 {
  grid-column: 1 / -1;
}

.nexo-label-inline {
  display: block;
  margin-bottom: 0.45em;
}

.nexo-client-payments-upload {
  display: flex;
  align-items: center;
  gap: 0.75em;
  flex-wrap: wrap;
}

.nexo-client-payments-notice .nexo-notice {
  margin-bottom: 1em;
}

.nexo-client-payments-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 1em;
  align-items: end;
  margin-bottom: 1em;
}

.nexo-client-payments-filters .nexo-plan-actions {
  margin: 0;
  justify-content: flex-end;
}

.nexo-client-payments-modal .nexo-actions-cell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65em;
}

.nexo-client-payments-modal .nexo-actions-cell :is(.nexo-button-red, .nexo-button-grey, .nexo-button-black) {
  min-width: 0;
}

@media (max-width: 720px) {
  .nexo-slot-editor-grid {
    grid-template-columns: 1fr;
  }

  .nexo-slot-editor-span-2 {
    grid-column: auto;
  }

  .nexo-client-payments-filters {
    grid-template-columns: 1fr;
  }

  .nexo-client-payments-filters .nexo-plan-actions {
    justify-content: flex-start;
  }
  .nexo-client-payments-grid {
    grid-template-columns: 1fr;
  }

  .nexo-client-payments-span-2 {
    grid-column: auto;
  }
}

.nexo-piece-create-context-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1em;
}

.nexo-piece-context-card {
  display: grid;
  gap: 0.65em;
  align-content: start;
}

.nexo-piece-context-card strong {
  font-size: 1em;
  color: #323232;
}

.nexo-piece-context-copy {
  font-size: 0.95em;
  line-height: 1.5;
  color: #323232;
}

.nexo-piece-context-copy .nexo-muted {
  display: block;
  margin-top: 0.35em;
}

.nexo-piece-template-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em;
  margin-bottom: 1em;
}

.nexo-piece-template-bar :is(.nexo-button-red, .nexo-button-grey, .nexo-button-black) {
  min-width: 0;
}

.nexo-design-library-card {
  margin-bottom: 1em;
}

.nexo-design-brand-card {
  margin-bottom: 1em;
}

.nexo-design-brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1em;
  margin-bottom: 1em;
}

.nexo-design-mini-label {
  display: block;
  margin-bottom: 0.55em;
  font-size: 0.82em;
  font-weight: 700;
  color: var(--nf-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nexo-design-swatch-row,
.nexo-design-font-row,
.nexo-design-format-bar,
.nexo-design-elements-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65em;
}

.nexo-design-swatch {
  width: 2.1em;
  height: 2.1em;
  border-radius: 999em;
  border: 0.2em solid #dbdbdb;
  display: inline-block;
}

.nexo-design-font-chip,
.nexo-design-slot-format {
  display: inline-flex;
  align-items: center;
  min-height: 2.6em;
  padding: 0.55em 0.85em;
  border: 0.2em solid #dbdbdb;
  border-radius: 999em;
  background: #fff;
  font-size: 0.92em;
  font-weight: 600;
}

.nexo-design-slot-format {
  border-radius: 1em;
  display: grid;
  justify-items: start;
  gap: 0.2em;
}

.nexo-design-pill-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  min-height: 2.6em;
  padding: 0.55em 0.9em;
  border: 0.2em solid #dbdbdb;
  border-radius: 999em;
  background: #fff;
  font-size: 0.92em;
  font-weight: 600;
}

.nexo-design-pill-toggle input {
  width: 1.05em;
  height: 1.05em;
}

.nexo-design-support-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1em;
  margin-bottom: 1em;
}

.nexo-design-locked-list,
.nexo-design-blocks-list,
.nexo-design-master-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7em;
}

.nexo-design-locked-item {
  display: grid;
  gap: 0.25em;
  min-width: 12em;
  padding: 0.9em 1em;
  border: 0.2em solid #dbdbdb;
  border-radius: 1em;
  background: #fff;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.nexo-design-locked-item:hover,
.nexo-design-locked-item:focus-visible,
.nexo-design-preset-chip.is-active {
  border-color: #dbdbdb;
  box-shadow: 0 0 0 0.12em rgba(200, 20, 0, 0.12);
  transform: translateY(-0.08em);
}

.nexo-design-locked-item strong {
  font-size: 0.95em;
}

.nexo-design-locked-item span {
  font-size: 0.85em;
  color: var(--nf-muted);
  line-height: 1.35;
}
.nexo-piece-export-actions {
  display: inline-flex;
  gap: 0.6em;
  flex-wrap: wrap;
}

.nexo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  min-height: 2.2em;
  padding: 0.35em 0.8em;
  border-radius: 999em;
  background: #ececec;
  color: #666666;
  font-size: 0.82em;
  font-weight: 700;
  text-transform: lowercase;
  white-space: nowrap;
}

.nexo-chip__icon {
  --nf-icon-size: 1.4em;
  opacity: 0.96;
}

#nf-pieces-list .nexo-pieces-table th:nth-child(3),
#nf-pieces-list .nexo-pieces-table td:nth-child(3),
#nf-pieces-list .nexo-pieces-table th:nth-child(4),
#nf-pieces-list .nexo-pieces-table td:nth-child(4) {
  width: 1%;
  white-space: nowrap;
}

.nexo-chip.is-piece-status,
.nexo-chip.is-final-art {
  justify-content: flex-start;
}

.nexo-chip.is-final-art {
  background: transparent;
  color: #323232;
  padding-left: 0;
  padding-right: 0;
}

.nexo-chip.is-final-art.is-draft,
.nexo-chip.is-final-art.is-sin_generar,
.nexo-chip.is-final-art.is-generado,
.nexo-chip.is-final-art.is-aprobado,
.nexo-chip.is-final-art.is-exportado {
  background: transparent;
  color: #323232;
}

.nexo-chip.is-final-art .nexo-chip__icon {
  color: #323232;
}

.nexo-chip.is-draft,
.nexo-chip.is-sin_generar {
  background: #ececec;
  color: #7a7a7a;
}

.nexo-chip.is-loading {
  background: #fff2df;
  color: #8a5a00;
}

.nexo-chip.is-success,
.nexo-chip.is-generado {
  background: #e8f6eb;
  color: #1d7b37;
}

.nexo-chip.is-aprobado {
  background: #edf5ff;
  color: #205faa;
}

.nexo-chip.is-exportado {
  background: #f2ebff;
  color: #6b3dc9;
}

.nexo-chip.is-error {
  background: #fff0ee;
  color: #c81400;
}

.nexo-chip.is-pendiente_propuesta {
  background: #ffe2bf;
  color: #9b3d00;
}

.nexo-chip.is-propuesto {
  background: #ffd9d4;
  color: #c81400;
}

.nexo-chip.is-en_produccion {
  background: #dce9ff;
  color: #0e55c7;
}

.nexo-chip.is-listo_manager {
  background: #eadcff;
  color: #6b2fe3;
}

.nexo-chip.is-aprobado_manager {
  background: #d6f7ee;
  color: #0a8a62;
}

.nexo-chip.is-visible_cliente {
  background: #d6f5ff;
  color: #007ea5;
}

.nexo-chip.is-cambios_cliente {
  background: #ffe6c7;
  color: #b45600;
}

.nexo-chip.is-completado {
  background: #daf5df;
  color: #0d8d36;
}


.nexo-design-position-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nexo-design-span-2 {
  grid-column: span 2;
}

.nexo-nexocreate-help {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.92em;
  color: var(--nf-muted);
}

.nexo-nexocreate-stage-wrap {
  border: 0.2em solid #dbdbdb;
  border-radius: 1em;
  background: #f5f5f5;
  padding: 1em;
}

.nexo-nexocreate-stage {
  --nf-design-bg: #323232;
  --nf-design-accent: #c81400;
  --nf-design-text: #ffffff;
  --nf-design-font-heading: 'Special Gothic Expanded One', 'DM Sans', sans-serif;
  --nf-design-font-body: 'DM Sans', sans-serif;
  --nf-copy-width: 60%;
  --nf-copy-x: 8%;
  --nf-copy-y: 12%;
  --nf-title-scale: 1;
  --nf-logo-scale: 1;
  --nf-logo-x: 4%;
  --nf-logo-y: 4%;
  --nf-shape-scale: 1;
  --nf-shape-x: 62%;
  --nf-shape-y: 12%;
  --nf-sticker-scale: 1;
  --nf-sticker-x: 64%;
  --nf-sticker-y: 68%;
  position: relative;
  min-height: 32em;
  border-radius: 0.9em;
  background: var(--nf-design-bg);
  color: var(--nf-design-text);
  padding: 2em;
  overflow: hidden;
  display: block;
}

.nexo-nexocreate-stage[data-texture='soft_grid'] {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 0.08em, transparent 0.08em),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0.08em, transparent 0.08em);
  background-size: 2.2em 2.2em;
}

.nexo-nexocreate-stage[data-texture='radial']::after {
  inset: auto -10% -12% auto;
  width: 48%;
  background: radial-gradient(circle, var(--nf-design-accent) 0%, rgba(255, 255, 255, 0) 72%);
  opacity: 0.24;
}

.nexo-nexocreate-stage[data-texture='diagonal']::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 18%, transparent 18% 34%, rgba(255, 255, 255, 0.06) 34% 44%, transparent 44% 100%);
  pointer-events: none;
}
.nexo-nexocreate-safe {
  position: absolute;
  inset: 6%;
  border: 0.2em solid #dbdbdb;
  border-radius: 0.8em;
  z-index: 1;
  pointer-events: none;
}

.nexo-nexocreate-stage::after {
  content: '';
  position: absolute;
  inset: auto -8% -14% auto;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--nf-design-accent);
  opacity: 0.2;
}

.nexo-nexocreate-stage[data-layout='split']::before,
.nexo-nexocreate-stage[data-layout='hero']::before,
.nexo-nexocreate-stage[data-layout='stacked']::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0 58%, var(--nf-design-accent) 58% 100%);
  opacity: 0.14;
  pointer-events: none;
}

.nexo-nexocreate-stage[data-layout='split']::before {
  inset: 0 auto 0 0;
  width: 30%;
  background: var(--nf-design-accent);
  opacity: 0.18;
}

.nexo-nexocreate-stage[data-layout='stacked']::before {
  inset: auto 0 0 0;
  height: 28%;
  width: 100%;
  background: var(--nf-design-accent);
  opacity: 0.16;
}

.nexo-nexocreate-stage[data-format='story'] {
  min-height: 42em;
}

.nexo-nexocreate-stage[data-format='cover_facebook'] {
  min-height: 24em;
}

.nexo-nexocreate-stage[data-layout='minimal']::before,
.nexo-nexocreate-stage[data-layout='minimal']::after {
  display: none;
}

.nexo-nexocreate-stage[data-layout='editorial']::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 18%;
  background: var(--nf-design-accent);
  opacity: 0.15;
}

.nexo-nexocreate-stage[data-accent-style='stripe'] .nexo-nexocreate-accent {
  position: absolute;
  inset: 0 auto 0 0;
  width: 16%;
  background: var(--nf-design-accent);
  opacity: 0.18;
}

.nexo-nexocreate-stage[data-layout='stacked'][data-accent-style='stripe'] .nexo-nexocreate-accent,
.nexo-nexocreate-stage[data-layout='hero'][data-accent-style='stripe'] .nexo-nexocreate-accent {
  inset: auto 0 0 0;
  width: 100%;
  height: 18%;
}

.nexo-nexocreate-stage[data-accent-style='frame'] {
  box-shadow: inset 0 0 0 0.3em var(--nf-design-accent);
}

.nexo-nexocreate-stage[data-accent-style='frame'] .nexo-nexocreate-accent,
.nexo-nexocreate-stage[data-layout='minimal'] .nexo-nexocreate-accent {
  display: none;
}

.nexo-nexocreate-copy {
  position: absolute;
  left: var(--nf-copy-x);
  top: var(--nf-copy-y);
  width: var(--nf-copy-width);
  z-index: 2;
  display: grid;
  gap: 0.8em;
  cursor: grab;
  user-select: none;
}

.nexo-nexocreate-stage[data-align='center'] .nexo-nexocreate-copy {
  justify-items: center;
  text-align: center;
}

.nexo-nexocreate-stage[data-align='right'] .nexo-nexocreate-copy {
  justify-items: end;
  text-align: right;
}

.nexo-nexocreate-logo {
  position: absolute;
  left: var(--nf-logo-x);
  top: var(--nf-logo-y);
  transform: scale(var(--nf-logo-scale));
  transform-origin: top left;
  z-index: 3;
  cursor: grab;
  user-select: none;
}

.nexo-nexocreate-logo img {
  max-width: 7.5em;
  max-height: 4em;
  display: block;
  object-fit: contain;
}

.nexo-nexocreate-shape {
  position: absolute;
  left: var(--nf-shape-x);
  top: var(--nf-shape-y);
  width: 12em;
  height: 12em;
  transform: scale(var(--nf-shape-scale));
  transform-origin: top left;
  z-index: 1;
  opacity: 0.26;
  pointer-events: none;
}

.nexo-nexocreate-stage[data-shape-color='accent'] .nexo-nexocreate-shape {
  background: var(--nf-design-accent);
}

.nexo-nexocreate-stage[data-shape-color='text'] .nexo-nexocreate-shape {
  background: var(--nf-design-text);
}

.nexo-nexocreate-stage[data-shape-color='background'] .nexo-nexocreate-shape {
  background: var(--nf-design-bg);
  box-shadow: inset 0 0 0 0.15em rgba(255, 255, 255, 0.18);
}

.nexo-nexocreate-stage[data-shape-type='blob'] .nexo-nexocreate-shape {
  border-radius: 58% 42% 62% 38% / 42% 56% 44% 58%;
}

.nexo-nexocreate-stage[data-shape-type='badge'] .nexo-nexocreate-shape {
  width: 9em;
  height: 9em;
  border-radius: 50%;
}

.nexo-nexocreate-stage[data-shape-type='panel'] .nexo-nexocreate-shape {
  width: 14em;
  height: 8em;
  border-radius: 1.4em;
}



.nexo-nexocreate-badge,
.nexo-nexocreate-sticker,
.nexo-nexocreate-price {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4em;
  padding: 0.4em 0.9em;
  border-radius: 999em;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85em;
  font-weight: 800;
  letter-spacing: 0.03em;
  z-index: 4;
  cursor: grab;
  user-select: none;
  transform-origin: top left;
}

.nexo-nexocreate-badge {
  left: var(--nf-badge-x, 60%);
  top: var(--nf-badge-y, 8%);
  transform: scale(var(--nf-badge-scale, 1));
}

.nexo-nexocreate-sticker {
  left: var(--nf-sticker-x, 64%);
  top: var(--nf-sticker-y, 68%);
  transform: scale(var(--nf-sticker-scale, 1));
}

.nexo-nexocreate-price {
  left: var(--nf-price-x, 58%);
  top: var(--nf-price-y, 56%);
  transform: scale(var(--nf-price-scale, 1));
  font-size: 1em;
}
.nexo-nexocreate-badge[data-style='solid'],
.nexo-nexocreate-sticker[data-style='solid'] {
  background: #151515;
  color: #ffffff;
  border: 0.2em solid #dbdbdb;
}
.nexo-nexocreate-badge[data-style='outline'],
.nexo-nexocreate-sticker[data-style='outline'] {
  background: rgba(255, 255, 255, 0.92);
  color: #151515;
  border: 0.2em solid #dbdbdb;
}
.nexo-nexocreate-badge[data-style='tag'],
.nexo-nexocreate-sticker[data-style='tag'] {
  background: var(--nf-design-accent);
  color: #ffffff;
  border: 0.2em solid #dbdbdb;
  border-radius: 1em 999em 999em 1em;
}
.nexo-nexocreate-price[data-style='pill'] {
  background: #ffffff;
  color: #151515;
  border: 0.2em solid #dbdbdb;
}
.nexo-nexocreate-price[data-style='stack'] {
  background: #151515;
  color: #ffffff;
  border: 0.2em solid #dbdbdb;
  border-radius: 1em;
  padding: 0.55em 1em;
}
.nexo-nexocreate-price[data-style='outline'] {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 0.2em solid #dbdbdb;
}
.nexo-nexocreate-legal {
  position: absolute;
  left: var(--nf-legal-x, 8%);
  top: var(--nf-legal-y, 90%);
  transform: scale(var(--nf-legal-scale, 1));
  transform-origin: top left;
  margin: 0;
  max-width: 74%;
  font-family: var(--nf-design-font-body);
  font-size: 0.72em;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.84);
  z-index: 2;
  user-select: none;
  cursor: grab;
}
.nexo-nexocreate-overline {
  margin: 0;
  font-family: var(--nf-design-font-body);
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nexo-nexocreate-title {
  margin: 0;
  font-family: var(--nf-design-font-heading);
  font-size: clamp(2em, calc(4vw * var(--nf-title-scale)), 4.2em);
  line-height: 0.95;
}

.nexo-nexocreate-subtitle {
  margin: 0;
  font-family: var(--nf-design-font-body);
  font-size: 1.05em;
  line-height: 1.5;
  max-width: 28em;
}

.nexo-nexocreate-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6em;
  padding: 0.6em 1.2em;
  border-radius: 999px;
  background: #ffffff;
  color: #151515;
  font-family: var(--nf-design-font-body);
  font-weight: 700;
  width: fit-content;
}

.nexo-nexocreate-stage.is-dragging {
  cursor: grabbing;
}

.nexo-nexocreate-copy.is-dragging,
.nexo-nexocreate-logo.is-dragging,
.nexo-nexocreate-sticker.is-dragging {
  cursor: grabbing;
}

.nexo-nexocreate-stage[data-shape-type='none'] .nexo-nexocreate-shape,
.nexo-nexocreate-badge[data-style='none'],
.nexo-nexocreate-price[data-style='none'] {
  display: none;
}

.nexo-piece-design-preview {
    display: grid;
    gap: 0.8em;
}

.nexo-piece-final-art {
    display: grid;
    gap: 1em;
}

.nexo-piece-final-art-media {
    border-radius: 1em;
    overflow: hidden;
    background: #f4f4f4;
}

.nexo-piece-final-art-media img {
    display: block;
    width: 100%;
    height: auto;
}

.nexo-piece-final-art-copy {
    display: grid;
    gap: 0.7em;
}

@media (max-width: 900px) {
  .nexo-design-position-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nexo-design-span-2 {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .nexo-design-position-grid {
    grid-template-columns: 1fr;
  }

  .nexo-design-span-2 {
    grid-column: auto;
  }

  .nexo-nexocreate-stage {
    min-height: 24em;
    padding: 1.2em;
  }
}




.nexo-design-layers-card {
  display: grid;
  gap: 1em;
}

.nexo-design-layer-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11em, 1fr));
  gap: 0.8em;
}

.nexo-design-layer-button {
  display: grid;
  gap: 0.35em;
  padding: 1em;
  border: 0.2em solid #dbdbdb;
  border-radius: 1.25em;
  background: #fff;
  text-align: left;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.nexo-design-layer-button strong {
  font-size: 0.95em;
}

.nexo-design-layer-button span {
  color: var(--nf-muted);
  font-size: 0.9em;
  line-height: 1.35;
}

.nexo-design-layer-button.is-active,
.nexo-design-layer-button:hover {
  border-color: #dbdbdb;
  background: rgba(200, 20, 0, 0.04);
  transform: translateY(-0.08em);
}

.nexo-design-layer-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
  flex-wrap: wrap;
}

.nexo-design-layer-nudges {
  display: inline-flex;
  gap: 0.55em;
}

.nexo-design-layer-nudges :is(.nexo-button-red, .nexo-button-grey, .nexo-button-black) {
  min-width: 2.8em;
  padding: 0.65em 0.85em;
}

.nexo-nexocreate-copy,
.nexo-nexocreate-logo,
.nexo-nexocreate-shape,
.nexo-nexocreate-sticker,
.nexo-nexocreate-badge,
.nexo-nexocreate-price,
.nexo-nexocreate-legal {
  cursor: grab;
}

.nexo-nexocreate-copy.is-active,
.nexo-nexocreate-logo.is-active,
.nexo-nexocreate-shape.is-active,
.nexo-nexocreate-sticker.is-active,
.nexo-nexocreate-badge.is-active,
.nexo-nexocreate-price.is-active,
.nexo-nexocreate-legal.is-active {
  outline: 0.15em dashed var(--nf-accent);
  outline-offset: 0.25em;
}

@media (max-width: 52em) {
  .nexo-design-layer-toolbar {
    align-items: stretch;
  }

  .nexo-design-layer-nudges {
    width: 100%;
    justify-content: flex-end;
  }
}

.nexo-design-inspector-card {
  display: grid;
  gap: 1em;
}

.nexo-design-inspector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14em, 1fr));
  gap: 1em;
}

.nexo-design-inspector-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7em;
}

.nexo-design-inspector-actions :is(.nexo-button-red, .nexo-button-grey, .nexo-button-black) {
  min-width: 8em;
}


