.nsp-shell,.nsp-shell *{box-sizing:border-box}
.nsp-shell{width:100%;max-width:100%;margin:0 auto;padding:0 24px;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.nsp-app{--nsp-bg:#f4f7fb;--nsp-panel:#ffffff;--nsp-panel-2:#ffffff;--nsp-border:rgba(15,23,42,.08);--nsp-text:#111827;--nsp-muted:#6b7280;--nsp-field:#ffffff;--nsp-field-text:#111827;--nsp-chip:#f3f6fb;--nsp-chip-active:#e8eef6;--nsp-chip-active-text:#111827;--nsp-btn:#f1f5f9;--nsp-btn-text:#111827;--nsp-btn-border:rgba(15,23,42,.08);--nsp-shadow:0 10px 30px rgba(17,24,39,.08);width:100%;max-width:920px;margin:0 auto;padding:0;background:transparent!important;color:var(--nsp-text);border-radius:0;overflow:visible}
.nsp-app[data-theme=light]{--nsp-bg:#f4f7fb;--nsp-panel:#ffffff;--nsp-panel-2:#ffffff;--nsp-border:rgba(15,23,42,.08);--nsp-text:#111827;--nsp-muted:#6b7280;--nsp-field:#ffffff;--nsp-field-text:#111827;--nsp-chip:#f3f6fb;--nsp-chip-active:#e8eef6;--nsp-chip-active-text:#111827;--nsp-btn:#f1f5f9;--nsp-btn-text:#111827;--nsp-btn-border:rgba(15,23,42,.08);--nsp-shadow:0 10px 30px rgba(17,24,39,.08)}
.nsp-topbar{display:flex;justify-content:flex-end;align-items:center;padding:4px 4px 16px}
.nsp-top-actions{display:flex;align-items:center;gap:12px}
.nsp-main{display:block}
.nsp-hero{width:100%;padding:12px 6px 8px}
.nsp-search-form{display:block;width:100%}
.nsp-search-wrap{display:grid;grid-template-columns:42px minmax(0,1fr) 44px 48px;align-items:center;gap:10px;width:100%;padding:14px 14px 14px 12px;border-radius:28px;background:var(--nsp-panel);border:1px solid var(--nsp-border);box-shadow:var(--nsp-shadow)}
.nsp-search-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:transparent;flex:none}
.nsp-google-icon svg{width:24px;height:24px;display:block}
.nsp-search-input{appearance:none;border:none;outline:none;background:var(--nsp-field);color:var(--nsp-field-text);width:100%;min-width:0;padding:16px 18px;border-radius:18px;font-size:17px;font-weight:500;box-shadow:none}
.nsp-search-input::placeholder{color:var(--nsp-muted);opacity:1}
.nsp-search-input::-webkit-search-decoration,.nsp-search-input::-webkit-search-cancel-button,.nsp-search-input::-webkit-search-results-button,.nsp-search-input::-webkit-search-results-decoration{display:none}
.nsp-voice-btn,.nsp-primary-btn{appearance:none;outline:none;cursor:pointer}
.nsp-voice-btn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:16px;background:var(--nsp-panel-2);color:var(--nsp-text);border:1px solid var(--nsp-border)}
.nsp-voice-btn svg{display:block;width:22px;height:22px;fill:currentColor}
.nsp-primary-btn{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;border-radius:18px;background:var(--nsp-btn);color:var(--nsp-btn-text);border:1px solid var(--nsp-btn-border)}
.nsp-primary-btn svg{display:block;width:20px;height:20px;fill:currentColor}
.nsp-scope-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:14px 6px 2px}
.nsp-scope-input{position:absolute;opacity:0;pointer-events:none}
.nsp-scope-label{display:inline-flex;align-items:center;justify-content:center;padding:11px 16px;border-radius:999px;background:var(--nsp-chip);color:var(--nsp-text);border:1px solid var(--nsp-border);font-size:14px;font-weight:600;cursor:pointer;white-space:nowrap;transition:all .2s ease}
.nsp-scope-input:checked+.nsp-scope-label{background:var(--nsp-chip-active);color:var(--nsp-chip-active-text);border-color:transparent}
.nsp-app[data-theme=light] .nsp-search-input{background:#fff;color:#111827}
@media (max-width:420px){.nsp-search-wrap{grid-template-columns:30px minmax(0,1fr) 36px 36px;gap:6px;padding:8px}.nsp-search-icon{width:30px;height:30px}.nsp-google-icon svg{width:18px;height:18px}.nsp-search-input{padding:11px 12px;font-size:15px}.nsp-voice-btn{width:36px;height:36px}.nsp-primary-btn{width:36px;height:36px}.nsp-primary-btn svg{width:16px;height:16px}}


.nsp-shortcuts{width:100%;padding:18px 6px 4px}
.nsp-shortcuts-grid{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}
.nsp-shortcut-card{appearance:none;text-decoration:none;width:62px;height:62px;padding:0;border:1px solid var(--nsp-border);background:rgba(128,128,128,.18);color:var(--nsp-text);border-radius:18px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .18s ease,background .18s ease,border-color .18s ease;box-shadow:none;text-align:center;font:inherit;backdrop-filter:blur(8px)}
.nsp-shortcut-card:hover{transform:translateY(-2px);background:rgba(128,128,128,.28);border-color:var(--nsp-border);color:var(--nsp-chip-active-text)}
.nsp-shortcut-icon,.nsp-shortcut-plus{width:100%;height:100%;border-radius:inherit;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--nsp-text)}
.nsp-shortcut-icon img{display:block;width:34px;height:34px;object-fit:contain}
.nsp-shortcut-icon.has-letter{font-size:24px;font-weight:800}
.nsp-shortcut-plus{font-size:42px;font-weight:300;line-height:1;background:transparent;border:0}
.nsp-shortcut-add{background:rgba(128,128,128,.20);border-style:solid}
.nsp-shortcut-modal{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:20px}
.nsp-shortcut-modal.is-open{display:flex}
.nsp-shortcut-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55);backdrop-filter:blur(4px)}
.nsp-shortcut-dialog{position:relative;width:min(100%,420px);border-radius:26px;background:var(--nsp-panel);color:var(--nsp-text);border:1px solid var(--nsp-border);box-shadow:0 24px 80px rgba(0,0,0,.38);padding:24px}
.nsp-shortcut-dialog h2{margin:0 0 18px;font-size:22px;line-height:1.2;font-weight:800;color:var(--nsp-text)}
.nsp-shortcut-form{display:grid;gap:14px}
.nsp-shortcut-field{display:grid;gap:8px;color:var(--nsp-text);font-size:14px;font-weight:700}
.nsp-shortcut-field input{appearance:none;border:1px solid var(--nsp-border);outline:none;background:var(--nsp-field);color:var(--nsp-field-text);border-radius:16px;padding:14px 15px;font:inherit;font-weight:600;width:100%}
.nsp-shortcut-field input::placeholder{color:var(--nsp-muted);opacity:1}
.nsp-shortcut-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:4px}
.nsp-shortcut-cancel,.nsp-shortcut-done{appearance:none;border:1px solid var(--nsp-border);border-radius:999px;padding:11px 16px;font:inherit;font-size:14px;font-weight:800;cursor:pointer;transition:all .18s ease}
.nsp-shortcut-cancel{background:transparent;color:var(--nsp-text)}
.nsp-shortcut-done{background:var(--nsp-btn);color:var(--nsp-btn-text);border-color:var(--nsp-btn-border)}
.nsp-shortcut-cancel:hover,.nsp-shortcut-done:hover{background:var(--nsp-chip-active);color:var(--nsp-chip-active-text);border-color:transparent}
@media (max-width:767px){.nsp-shortcuts{padding:16px 0 2px}.nsp-shortcuts-grid{justify-content:center;gap:9px}.nsp-shortcut-card{width:54px;height:54px;border-radius:16px}.nsp-shortcut-icon img{width:30px;height:30px}.nsp-shortcut-plus{font-size:36px}.nsp-shortcut-dialog{border-radius:22px;padding:20px}.nsp-shortcut-actions{justify-content:stretch}.nsp-shortcut-cancel,.nsp-shortcut-done{flex:1}}
@media (max-width:420px){.nsp-shortcuts-grid{gap:8px}.nsp-shortcut-card{width:50px;height:50px}.nsp-shortcut-icon img{width:28px;height:28px}.nsp-shortcut-plus{font-size:34px}}


/* Ajuste solicitado: quitar el contenedor principal de color y centrar el cuadro + */
.nsp-shell .nsp-app{background:transparent!important;padding:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
.nsp-shell .nsp-shortcuts-grid{justify-content:center!important}

/* NUEVA VERSION: anular completamente el formulario/contenedor principal de color que envuelve el buscador */
.nsp-shell,
.nsp-app,
.nsp-main,
.nsp-hero,
.nsp-search-form{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.nsp-search-wrap{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
}

/* Cuadro + siempre centrado en escritorio y móvil; los logos nuevos quedan en línea a su izquierda */
.nsp-shortcuts{
  width:100%!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  padding:18px 0 4px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.nsp-shortcuts-grid{
  width:100%!important;
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:wrap!important;
  justify-content:center!important;
  align-items:center!important;
  gap:12px!important;
  text-align:center!important;
}
.nsp-shortcut-add{
  margin:0!important;
  flex:0 0 auto!important;
}
@media (max-width:767px){
  .nsp-shortcuts{padding:16px 0 2px!important;}
  .nsp-shortcuts-grid{justify-content:center!important;gap:10px!important;}
}


/* VERSION 5.1.5: el formulario HTML envuelve SOLO la barra de búsqueda. */
.nsp-shell,
.nsp-app,
.nsp-main,
.nsp-hero,
.nsp-search-form{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.nsp-search-form{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
.nsp-search-wrap{
  background:var(--nsp-panel)!important;
  border:1px solid var(--nsp-border)!important;
  box-shadow:var(--nsp-shadow)!important;
  padding:14px 14px 14px 12px!important;
  border-radius:28px!important;
}
.nsp-scope-row{
  width:100%!important;
  margin:0!important;
}
@media (max-width:767px){
  .nsp-search-wrap{padding:10px!important;border-radius:22px!important;}
}
@media (max-width:420px){
  .nsp-search-wrap{padding:8px!important;}
}

/* VERSION 5.1.6: ajustes solicitados */
.nsp-shortcut-plus,
.nsp-app[data-theme=light] .nsp-shortcut-plus{
  color:#ffffff!important;
}
.nsp-app[data-theme=light] .nsp-shortcut-add{
  color:#ffffff!important;
  background:rgba(128,128,128,.32)!important;
  border-color:rgba(255,255,255,.35)!important;
}
.nsp-voice-btn svg{
  width:26px!important;
  height:26px!important;
}
@media (max-width:767px){
  .nsp-voice-btn svg{width:23px!important;height:23px!important;}
}
@media (max-width:420px){
  .nsp-voice-btn svg{width:21px!important;height:21px!important;}
}
.nsp-scope-row,
.nsp-scope-input,
.nsp-scope-label{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  width:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}

/* VERSION 5.1.7: blindaje definitivo para + blanco y micro mas grande */
.nsp-shell .nsp-shortcut-add,
.nsp-shell .nsp-shortcut-add:hover,
.nsp-shell .nsp-shortcut-add:focus,
.nsp-shell .nsp-shortcut-add:active,
.nsp-app[data-theme="light"] .nsp-shortcut-add,
.nsp-app[data-theme="light"] .nsp-shortcut-add:hover,
.nsp-app[data-theme="light"] .nsp-shortcut-add:focus,
.nsp-app[data-theme="light"] .nsp-shortcut-add:active{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
.nsp-shell .nsp-shortcut-add .nsp-shortcut-plus,
.nsp-shell .nsp-shortcut-add:hover .nsp-shortcut-plus,
.nsp-shell .nsp-shortcut-add:focus .nsp-shortcut-plus,
.nsp-shell .nsp-shortcut-add:active .nsp-shortcut-plus,
.nsp-app[data-theme="light"] .nsp-shortcut-add .nsp-shortcut-plus,
.nsp-app[data-theme="light"] .nsp-shortcut-add:hover .nsp-shortcut-plus,
.nsp-app[data-theme="light"] .nsp-shortcut-add:focus .nsp-shortcut-plus,
.nsp-app[data-theme="light"] .nsp-shortcut-add:active .nsp-shortcut-plus{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:46px!important;
  font-weight:300!important;
  line-height:1!important;
  text-shadow:0 1px 2px rgba(0,0,0,.25)!important;
}
.nsp-shell .nsp-voice-btn{
  width:52px!important;
  height:52px!important;
  min-width:52px!important;
  min-height:52px!important;
  padding:0!important;
}
.nsp-shell .nsp-voice-btn svg,
.nsp-shell .nsp-voice-btn .nsp-mic-svg,
.nsp-shell .nsp-search-form .nsp-voice-btn svg,
.nsp-shell .nsp-search-form .nsp-voice-btn .nsp-mic-svg{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  max-width:none!important;
  max-height:none!important;
  display:block!important;
  fill:currentColor!important;
  transform:none!important;
}
.nsp-shell .nsp-voice-btn svg path,
.nsp-shell .nsp-voice-btn .nsp-mic-svg path{
  fill:currentColor!important;
}
@media (max-width:767px){
  .nsp-search-wrap{grid-template-columns:34px minmax(0,1fr) 48px 40px!important;}
  .nsp-shell .nsp-voice-btn{width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;}
  .nsp-shell .nsp-voice-btn svg,.nsp-shell .nsp-voice-btn .nsp-mic-svg{width:31px!important;height:31px!important;min-width:31px!important;min-height:31px!important;}
  .nsp-shell .nsp-shortcut-add .nsp-shortcut-plus{font-size:42px!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
}
@media (max-width:420px){
  .nsp-search-wrap{grid-template-columns:30px minmax(0,1fr) 44px 36px!important;}
  .nsp-shell .nsp-voice-btn{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;}
  .nsp-shell .nsp-voice-btn svg,.nsp-shell .nsp-voice-btn .nsp-mic-svg{width:29px!important;height:29px!important;min-width:29px!important;min-height:29px!important;}
  .nsp-shell .nsp-shortcut-add .nsp-shortcut-plus{font-size:40px!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
}

/* VERSION 5.1.8: accesos fijos admin + accesos propios eliminables por usuario */
.nsp-shortcut-item{
  position:relative!important;
  display:inline-flex!important;
  width:62px!important;
  height:62px!important;
  flex:0 0 auto!important;
}
.nsp-shortcut-item .nsp-shortcut-card{
  width:100%!important;
  height:100%!important;
}
.nsp-shortcut-delete{
  position:absolute!important;
  top:-7px!important;
  right:-7px!important;
  z-index:3!important;
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  min-height:22px!important;
  border-radius:999px!important;
  border:1px solid rgba(255,255,255,.55)!important;
  background:rgba(20,24,32,.92)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  font-size:17px!important;
  font-weight:700!important;
  line-height:1!important;
  cursor:pointer!important;
  box-shadow:0 4px 12px rgba(0,0,0,.25)!important;
}
.nsp-shortcut-delete:hover{background:rgba(0,0,0,.98)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
.nsp-shortcut-item.is-fixed .nsp-shortcut-card{border-color:rgba(255,255,255,.18)!important;}
@media (max-width:767px){.nsp-shortcut-item{width:54px!important;height:54px!important}.nsp-shortcut-delete{width:21px!important;height:21px!important;font-size:16px!important}}
@media (max-width:420px){.nsp-shortcut-item{width:50px!important;height:50px!important}.nsp-shortcut-delete{width:20px!important;height:20px!important;font-size:15px!important}}


/* VERSION 5.1.9: micro ajustado, Safari sin zoom y búsqueda por voz */
.nsp-shell .nsp-search-input,
.nsp-shell .nsp-shortcut-field input{
  font-size:16px!important;
  border-radius:20px!important;
  -webkit-text-size-adjust:100%!important;
}
.nsp-shell .nsp-search-input{
  border-radius:22px!important;
}
.nsp-shell .nsp-voice-btn{
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  min-height:46px!important;
  padding:0!important;
}
.nsp-shell .nsp-voice-btn svg,
.nsp-shell .nsp-voice-btn .nsp-mic-svg,
.nsp-shell .nsp-search-form .nsp-voice-btn svg,
.nsp-shell .nsp-search-form .nsp-voice-btn .nsp-mic-svg{
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  min-height:28px!important;
  max-width:28px!important;
  max-height:28px!important;
  display:block!important;
  fill:currentColor!important;
}
.nsp-shell .nsp-voice-btn.is-listening{
  transform:scale(1.04)!important;
  box-shadow:0 0 0 3px rgba(59,130,246,.22)!important;
}
.nsp-shell .nsp-shortcut-add,
.nsp-shell .nsp-shortcut-add *,
.nsp-app[data-theme="light"] .nsp-shortcut-add,
.nsp-app[data-theme="light"] .nsp-shortcut-add *{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
@media (max-width:767px){
  .nsp-search-wrap{grid-template-columns:34px minmax(0,1fr) 44px 40px!important;}
  .nsp-shell .nsp-voice-btn{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;}
  .nsp-shell .nsp-voice-btn svg,.nsp-shell .nsp-voice-btn .nsp-mic-svg{width:26px!important;height:26px!important;min-width:26px!important;min-height:26px!important;max-width:26px!important;max-height:26px!important;}
  .nsp-shell .nsp-search-input,.nsp-shell .nsp-shortcut-field input{font-size:16px!important;}
}
@media (max-width:420px){
  .nsp-search-wrap{grid-template-columns:30px minmax(0,1fr) 42px 36px!important;}
  .nsp-shell .nsp-voice-btn{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;}
  .nsp-shell .nsp-voice-btn svg,.nsp-shell .nsp-voice-btn .nsp-mic-svg{width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;max-width:24px!important;max-height:24px!important;}
  .nsp-shell .nsp-search-input,.nsp-shell .nsp-shortcut-field input{font-size:16px!important;}
}


/* VERSION 5.2.2: refinado rápido visual + buscador más ancho en móvil */
.nsp-shell .nsp-search-wrap{
  max-width: 780px!important;
  margin: 0 auto!important;
}
.nsp-shell .nsp-shortcuts{
  padding-top: 14px!important;
}
.nsp-shell .nsp-shortcuts-grid{
  gap: 10px!important;
}
.nsp-shell .nsp-shortcut-card{
  background:#ffffff!important;
  border:1px solid rgba(15,23,42,.08)!important;
  box-shadow:0 10px 24px rgba(15,23,42,.06)!important;
}
.nsp-shell .nsp-shortcut-card:hover{
  background:#ffffff!important;
  border-color:rgba(37,99,235,.18)!important;
  box-shadow:0 14px 30px rgba(37,99,235,.10)!important;
}
.nsp-shell .nsp-shortcut-add{
  background:#d1d5db!important;
  border-color:rgba(15,23,42,.06)!important;
}
.nsp-shell .nsp-shortcut-icon img{
  width:32px!important;
  height:32px!important;
}
@media (max-width: 767px){
  .nsp-shell{
    padding-left:12px!important;
    padding-right:12px!important;
  }
  .nsp-shell .nsp-hero{
    padding-left:0!important;
    padding-right:0!important;
    padding-top:8px!important;
    padding-bottom:6px!important;
  }
  .nsp-shell .nsp-search-wrap{
    width:min(100%, 96vw)!important;
    max-width:640px!important;
    margin:0 auto!important;
    padding:10px 10px 10px 10px!important;
    border-radius:24px!important;
  }
  .nsp-shell .nsp-search-input{
    padding-left:14px!important;
    padding-right:14px!important;
  }
  .nsp-shell .nsp-shortcuts{
    padding-top:12px!important;
  }
  .nsp-shell .nsp-shortcuts-grid{
    gap:10px!important;
  }
  .nsp-shell .nsp-shortcut-card,
  .nsp-shell .nsp-shortcut-item{
    width:56px!important;
    height:56px!important;
    border-radius:17px!important;
  }
  .nsp-shell .nsp-shortcut-icon img{
    width:30px!important;
    height:30px!important;
  }
}
@media (max-width: 420px){
  .nsp-shell{
    padding-left:10px!important;
    padding-right:10px!important;
  }
  .nsp-shell .nsp-search-wrap{
    width:min(100%, calc(100vw - 20px))!important;
    max-width:none!important;
    padding:9px 9px 9px 8px!important;
    border-radius:22px!important;
    grid-template-columns:28px minmax(0,1fr) 42px 40px!important;
    gap:8px!important;
  }
  .nsp-shell .nsp-google-icon,
  .nsp-shell .nsp-search-icon{
    width:28px!important;
    height:28px!important;
  }
  .nsp-shell .nsp-google-icon svg{
    width:18px!important;
    height:18px!important;
  }
  .nsp-shell .nsp-search-input{
    padding:12px 14px!important;
    font-size:16px!important;
  }
  .nsp-shell .nsp-voice-btn{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    min-height:42px!important;
    border-radius:15px!important;
  }
  .nsp-shell .nsp-primary-btn{
    width:40px!important;
    height:40px!important;
    border-radius:15px!important;
  }
  .nsp-shell .nsp-primary-btn svg{
    width:18px!important;
    height:18px!important;
  }
  .nsp-shell .nsp-shortcuts-grid{
    gap:9px!important;
  }
  .nsp-shell .nsp-shortcut-card,
  .nsp-shell .nsp-shortcut-item{
    width:54px!important;
    height:54px!important;
    border-radius:16px!important;
  }
  .nsp-shell .nsp-shortcut-icon img{
    width:28px!important;
    height:28px!important;
  }
}

/* VERSION 5.3.0: pestañas tipo navegador Opera, aisladas del tema */
.nsp-shell .nsp-tabs,
.nsp-shell .nsp-tabs *{
  box-sizing:border-box!important;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
.nsp-shell .nsp-tabs{
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:0 auto 12px!important;
  padding:8px!important;
  border-radius:22px!important;
  background:rgba(255,255,255,.72)!important;
  border:1px solid rgba(15,23,42,.08)!important;
  box-shadow:0 8px 26px rgba(17,24,39,.07)!important;
  overflow:hidden!important;
}
.nsp-shell .nsp-tabs-scroll{
  flex:1 1 auto!important;
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:none!important;
  padding:1px!important;
}
.nsp-shell .nsp-tabs-scroll::-webkit-scrollbar{display:none!important}
.nsp-shell .nsp-tab{
  appearance:none!important;
  border:1px solid rgba(15,23,42,.08)!important;
  background:rgba(241,245,249,.92)!important;
  color:#111827!important;
  min-width:118px!important;
  max-width:220px!important;
  height:40px!important;
  border-radius:999px!important;
  padding:0 7px 0 13px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  cursor:pointer!important;
  white-space:nowrap!important;
  box-shadow:none!important;
  text-decoration:none!important;
  flex:0 0 auto!important;
}
.nsp-shell .nsp-tab.is-active{
  background:#ffffff!important;
  border-color:rgba(15,23,42,.14)!important;
  box-shadow:0 5px 18px rgba(17,24,39,.09)!important;
}
.nsp-shell .nsp-tab-title{
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1!important;
  color:#111827!important;
}
.nsp-shell .nsp-tab-close{
  appearance:none!important;
  border:0!important;
  background:rgba(17,24,39,.08)!important;
  color:#111827!important;
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  border-radius:999px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  margin:0!important;
  font-size:17px!important;
  font-weight:700!important;
  line-height:20px!important;
  cursor:pointer!important;
}
.nsp-shell .nsp-tab-close:hover{background:rgba(239,68,68,.16)!important;color:#991b1b!important}
.nsp-shell .nsp-tab-new{
  appearance:none!important;
  border:1px solid rgba(15,23,42,.08)!important;
  background:#ffffff!important;
  color:#111827!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  border-radius:999px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  margin:0!important;
  cursor:pointer!important;
  box-shadow:0 5px 18px rgba(17,24,39,.08)!important;
}
.nsp-shell .nsp-tab-new span{font-size:27px!important;font-weight:400!important;line-height:1!important;color:#111827!important}
.nsp-shell .nsp-tab-new:hover,.nsp-shell .nsp-tab:hover{transform:translateY(-1px)!important}
@media (max-width:520px){
  .nsp-shell .nsp-tabs{gap:6px!important;padding:6px!important;border-radius:18px!important;margin-bottom:10px!important}
  .nsp-shell .nsp-tab{min-width:96px!important;max-width:150px!important;height:36px!important;padding-left:11px!important}
  .nsp-shell .nsp-tab-title{font-size:12px!important}
  .nsp-shell .nsp-tab-close{width:20px!important;height:20px!important;min-width:20px!important;font-size:15px!important}
  .nsp-shell .nsp-tab-new{width:38px!important;height:38px!important;min-width:38px!important}
}

/* VERSION 5.3.3: barra de pestañas tipo Opera solo en escritorio,
   colocada dentro del plugin para no invadir ni pisar la cabecera del tema. */
.nsp-shell .nsp-tabs{
  display:none!important;
}
@media (min-width:768px){
  .nsp-shell .nsp-app[data-nsp-tabs-visible="true"] .nsp-tabs{
    position:relative!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    z-index:10!important;
    width:100%!important;
    max-width:100%!important;
    height:46px!important;
    display:flex!important;
    align-items:flex-end!important;
    justify-content:flex-start!important;
    gap:6px!important;
    margin:0 0 0!important;
    padding:5px 10px 0!important;
    border-radius:0!important;
    background:rgba(238,241,245,.96)!important;
    border:0!important;
    border-bottom:1px solid rgba(15,23,42,.12)!important;
    box-shadow:0 2px 12px rgba(17,24,39,.08)!important;
    overflow:hidden!important;
  }
  .nsp-shell .nsp-app[data-nsp-tabs-visible="true"] .nsp-tabs-scroll{
    flex:0 1 auto!important;
    width:auto!important;
    max-width:calc(100% - 46px)!important;
    display:flex!important;
    align-items:flex-end!important;
    justify-content:flex-start!important;
    gap:6px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:0!important;
  }
  .nsp-shell .nsp-app[data-nsp-tabs-visible="true"] .nsp-tab{
    height:36px!important;
    min-width:185px!important;
    max-width:250px!important;
    border-radius:8px 8px 0 0!important;
    background:rgba(255,255,255,.72)!important;
    border:1px solid rgba(15,23,42,.10)!important;
    border-bottom-color:transparent!important;
    box-shadow:none!important;
    padding:0 7px 0 12px!important;
  }
  .nsp-shell .nsp-app[data-nsp-tabs-visible="true"] .nsp-tab.is-active{
    background:#ffffff!important;
    border-color:rgba(15,23,42,.12)!important;
    border-bottom-color:#ffffff!important;
    box-shadow:0 -1px 10px rgba(17,24,39,.08)!important;
  }
  .nsp-shell .nsp-app[data-nsp-tabs-visible="true"] .nsp-tab-title{
    font-size:13px!important;
    font-weight:700!important;
  }
  .nsp-shell .nsp-app[data-nsp-tabs-visible="true"] .nsp-tab-close{
    background:transparent!important;
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
    font-size:18px!important;
    opacity:.75!important;
  }
  .nsp-shell .nsp-app[data-nsp-tabs-visible="true"] .nsp-tab-close:hover{
    background:rgba(239,68,68,.16)!important;
    opacity:1!important;
  }
  .nsp-shell .nsp-app[data-nsp-tabs-visible="true"] .nsp-tab-new{
    position:static!important;
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    border-radius:999px!important;
    background:#ffffff!important;
    border:1px solid rgba(15,23,42,.10)!important;
    box-shadow:none!important;
    margin:0 0 2px 2px!important;
  }
  .nsp-shell .nsp-app[data-nsp-tabs-visible="true"] .nsp-tab-new span{
    font-size:26px!important;
    font-weight:500!important;
  }
}
@media (max-width:767px){
  .nsp-shell .nsp-tabs,
  .nsp-shell .nsp-app[data-nsp-tabs-visible="true"] .nsp-tabs{
    display:none!important;
    visibility:hidden!important;
    height:0!important;
    width:0!important;
    overflow:hidden!important;
    pointer-events:none!important;
  }
}


/* VERSION 5.3.4: pestañas arriba de la cabecera interna, con espacio reservado para no montarse encima. */
.nsp-shell .nsp-app{
  position:relative!important;
  overflow:visible!important;
}
@media (min-width:768px){
  .nsp-shell .nsp-app[data-nsp-tabs-visible="true"]{
    padding-top:54px!important;
  }
  .nsp-shell .nsp-app[data-nsp-tabs-visible="true"] .nsp-tabs{
    position:absolute!important;
    top:0!important;
    left:0!important;
    right:0!important;
    z-index:20!important;
    margin:0!important;
  }
  .nsp-shell .nsp-app[data-nsp-tabs-visible="true"] .nsp-main{
    position:relative!important;
    z-index:1!important;
    margin-top:0!important;
    clear:both!important;
  }
  .nsp-shell .nsp-app[data-nsp-tabs-visible="true"] .nsp-hero{
    padding-top:12px!important;
  }
}
@media (max-width:767px){
  .nsp-shell .nsp-app,
  .nsp-shell .nsp-app[data-nsp-tabs-visible="true"]{
    padding-top:0!important;
  }
}


/* VERSION 5.3.5: pestañas en flujo real encima de la cabecera/buscador, sin montar ni pisar. */
.nsp-shell .nsp-app{
  position:relative!important;
  overflow:visible!important;
}
@media (min-width:768px){
  .nsp-shell .nsp-app[data-nsp-tabs-visible="true"]{
    padding-top:0!important;
  }
  .nsp-shell .nsp-app[data-nsp-tabs-visible="true"] .nsp-tabs{
    position:relative!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    z-index:5!important;
    width:100vw!important;
    max-width:100vw!important;
    margin-left:calc(50% - 50vw)!important;
    margin-right:calc(50% - 50vw)!important;
    margin-top:0!important;
    margin-bottom:16px!important;
    height:48px!important;
    min-height:48px!important;
    display:flex!important;
    align-items:flex-end!important;
    justify-content:flex-start!important;
    clear:both!important;
    transform:none!important;
  }
  .nsp-shell .nsp-app[data-nsp-tabs-visible="true"] .nsp-main{
    position:relative!important;
    z-index:1!important;
    margin-top:0!important;
    padding-top:0!important;
    clear:both!important;
  }
  .nsp-shell .nsp-app[data-nsp-tabs-visible="true"] .nsp-hero{
    padding-top:0!important;
    margin-top:0!important;
  }
  .nsp-shell .nsp-app[data-nsp-tabs-visible="true"] .nsp-tab-title{
    text-transform:none!important;
  }
}
@media (max-width:767px){
  .nsp-shell .nsp-app[data-nsp-tabs-visible="true"]{
    padding-top:0!important;
  }
}


/* VERSION 5.3.6: barra de pestañas movida por JS por encima de la cabecera web real. */
html.nsp-tabs-on-top .nsp-tabs[data-nsp-tabs],
html.nsp-tabs-on-top .nsp-tabs[data-nsp-tabs] *{
  box-sizing:border-box!important;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
@media (min-width:768px){
  html.nsp-tabs-on-top .nsp-tabs[data-nsp-tabs]{
    position:relative!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    z-index:999!important;
    width:100%!important;
    max-width:100%!important;
    height:48px!important;
    min-height:48px!important;
    display:flex!important;
    align-items:flex-end!important;
    justify-content:flex-start!important;
    gap:6px!important;
    margin:0!important;
    padding:5px 10px 0!important;
    border-radius:0!important;
    background:rgba(238,241,245,.98)!important;
    border:0!important;
    border-bottom:1px solid rgba(15,23,42,.12)!important;
    box-shadow:0 2px 12px rgba(17,24,39,.08)!important;
    overflow:hidden!important;
    clear:both!important;
    transform:none!important;
  }
  html.nsp-tabs-on-top .nsp-tabs[data-nsp-tabs] .nsp-tabs-scroll{
    flex:0 1 auto!important;
    width:auto!important;
    max-width:calc(100% - 46px)!important;
    display:flex!important;
    align-items:flex-end!important;
    justify-content:flex-start!important;
    gap:6px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none!important;
    padding:0!important;
  }
  html.nsp-tabs-on-top .nsp-tabs[data-nsp-tabs] .nsp-tabs-scroll::-webkit-scrollbar{display:none!important}
  html.nsp-tabs-on-top .nsp-tabs[data-nsp-tabs] .nsp-tab{
    appearance:none!important;
    height:36px!important;
    min-width:185px!important;
    max-width:250px!important;
    border-radius:8px 8px 0 0!important;
    background:rgba(255,255,255,.72)!important;
    border:1px solid rgba(15,23,42,.10)!important;
    border-bottom-color:transparent!important;
    box-shadow:none!important;
    padding:0 7px 0 12px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
    cursor:pointer!important;
    white-space:nowrap!important;
    text-decoration:none!important;
    flex:0 0 auto!important;
    color:#111827!important;
  }
  html.nsp-tabs-on-top .nsp-tabs[data-nsp-tabs] .nsp-tab.is-active{
    background:#fff!important;
    border-color:rgba(15,23,42,.12)!important;
    border-bottom-color:#fff!important;
    box-shadow:0 -1px 10px rgba(17,24,39,.08)!important;
  }
  html.nsp-tabs-on-top .nsp-tabs[data-nsp-tabs] .nsp-tab-title{
    display:block!important;
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    font-size:13px!important;
    font-weight:700!important;
    line-height:1!important;
    color:#111827!important;
    text-transform:none!important;
  }
  html.nsp-tabs-on-top .nsp-tabs[data-nsp-tabs] .nsp-tab-close{
    appearance:none!important;
    border:0!important;
    background:transparent!important;
    color:#111827!important;
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
    border-radius:999px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0!important;
    margin:0!important;
    font-size:18px!important;
    font-weight:700!important;
    line-height:20px!important;
    cursor:pointer!important;
    opacity:.75!important;
  }
  html.nsp-tabs-on-top .nsp-tabs[data-nsp-tabs] .nsp-tab-close:hover{background:rgba(239,68,68,.16)!important;color:#991b1b!important;opacity:1!important}
  html.nsp-tabs-on-top .nsp-tabs[data-nsp-tabs] .nsp-tab-new{
    appearance:none!important;
    position:static!important;
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    border-radius:999px!important;
    background:#fff!important;
    border:1px solid rgba(15,23,42,.10)!important;
    box-shadow:none!important;
    margin:0 0 2px 2px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0!important;
    cursor:pointer!important;
    color:#111827!important;
  }
  html.nsp-tabs-on-top .nsp-tabs[data-nsp-tabs] .nsp-tab-new span{font-size:26px!important;font-weight:500!important;line-height:1!important;color:#111827!important}
}
@media (max-width:767px){
  html.nsp-tabs-on-top .nsp-tabs[data-nsp-tabs],
  .nsp-tabs[data-nsp-tabs]{
    display:none!important;
    visibility:hidden!important;
    height:0!important;
    min-height:0!important;
    width:0!important;
    overflow:hidden!important;
    pointer-events:none!important;
  }
}

/* VERSION 5.3.6.3: icono real en pestañas guardadas, sin pisar estilos del tema. */
@media (min-width:768px){
  html.nsp-tabs-on-top .nsp-tabs[data-nsp-tabs] .nsp-tab-icon{
    width:16px!important;height:16px!important;min-width:16px!important;border-radius:4px!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;
    background:rgba(255,255,255,.85)!important;color:#111827!important;font-size:10px!important;font-weight:800!important;line-height:1!important;
  }
  html.nsp-tabs-on-top .nsp-tabs[data-nsp-tabs] .nsp-tab-icon img{
    display:block!important;width:16px!important;height:16px!important;min-width:16px!important;object-fit:contain!important;border:0!important;margin:0!important;padding:0!important;box-shadow:none!important;border-radius:3px!important;
  }
}
