/* ═══ Equipo (#/team) y Ajustes (#/settings) · prefijo .ad- ═══ */
.adm-mono { font-family: ui-monospace, 'SF Mono', 'Cascadia Mono', Consolas, monospace; font-size: 13px; letter-spacing: .01em; }
.adm-inline { display: flex; align-items: center; gap: 8px; }
.adm-inline .input { flex: 1; min-width: 0; }
.adm-inline .btn.icon { height: 44px; width: 44px; flex: none; border-radius: var(--r-md); }
.adm-hint { margin-top: 6px; line-height: 1.45; }
.adm-hint.warn { color: var(--warn); }
.adm-form { gap: 14px; }
.adm-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.adm-form-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) { .adm-form-row { grid-template-columns: minmax(0, 1fr); } .adm-form-row.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } .adm-form-row.three > :last-child { grid-column: 1 / -1; } }

/* ── Equipo ── */
.adm-team { max-width: 1640px; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.adm-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.adm-toolbar .search { flex: 1 1 260px; max-width: 420px; }
.adm-filters { display: flex; gap: 8px; overflow-x: auto; padding: 2px; scrollbar-width: none; flex: 1 1 300px; }
.adm-filters::-webkit-scrollbar { display: none; }
.adm-filters .chip { flex: none; height: 38px; }
.adm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.adm-grid-empty { grid-column: 1 / -1; }
.adm-user { display: flex; flex-direction: column; gap: 14px; min-width: 0; border-radius: 26px; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), opacity var(--t) var(--ease); }
.adm-user:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.adm-user.inactive { opacity: .62; box-shadow: none; }
.adm-user.inactive .avatar { filter: grayscale(1); }
.adm-user.inactive:hover { opacity: 1; }
.adm-user-top { align-items: flex-start; gap: 12px; }
.adm-user-top h3 { font-size: 15.5px; }
.adm-user-top .pill .icon { width: 13px; height: 13px; }
.adm-lines { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: var(--r-md); background: var(--card-2); }
.adm-line { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--text-2); min-width: 0; }
.adm-line .icon { width: 15px; height: 15px; color: var(--muted); }
.adm-line.warn, .adm-line.warn .icon { color: var(--warn); }
.adm-user-foot { gap: 8px; margin-top: auto; min-height: 34px; }
.adm-user-foot > .pill { min-width: 0; height: 28px; }
.adm-user-foot > .pill .truncate { max-width: 120px; }
.adm-user-foot > .pill .adm-seen { max-width: none; } /* «Últ. vez hace 35 min»: entero si entra; si la tarjeta es angosta, elipsis en vez de pisar los botones */
.adm-user-foot > .pill > [data-since], .adm-user-foot > .pill > .dot { flex: none; }
.adm-user-actions { gap: 6px; flex: none; }
.adm-user-actions .btn.icon.sm { width: 38px; height: 38px; }
.adm-user-actions .btn .icon { width: 17px; height: 17px; }
.adm-user-sk { pointer-events: none; } .adm-user-sk .skeleton { height: 14px; } .adm-user-sk > .skeleton { height: 46px; border-radius: var(--r-md); }
.adm-user-sk .adm-sk-av { width: 52px; height: 52px; border-radius: 50%; flex: none; }
.adm-user-sk .col .skeleton:last-child { width: 60%; }
.adm-shift { display: flex; flex-direction: column; border-radius: var(--r-lg); }
.adm-shift-box { display: grid; grid-template-rows: 1fr; opacity: 1; transition: grid-template-rows var(--t) var(--ease), opacity var(--t) var(--ease); }
.adm-shift-box.closed { grid-template-rows: 0fr; opacity: 0; pointer-events: none; }
.adm-shift-inner { overflow: hidden; min-height: 0; gap: 12px; }
.adm-shift-inner > :first-child { margin-top: 14px; }
.adm-shift .input { background: var(--card); }
.adm-days { display: flex; flex-wrap: wrap; gap: 6px; }
.adm-days .chip { min-width: 44px; height: 40px; padding: 0 10px; justify-content: center; background: var(--card); }
.adm-days .chip.active { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 6px 14px rgba(91, 91, 240, .3); }
.adm-days .chip:active { transform: scale(.92); }
.adm-share { margin: 0; padding: 14px; border-radius: var(--r-md); background: var(--card-2); font: 500 12.5px/1.6 var(--font); white-space: pre-wrap; word-break: break-word; user-select: all; }
@media (max-width: 860px) {
  .adm-grid { grid-template-columns: minmax(0, 1fr); }
  .adm-toolbar .search { max-width: none; flex-basis: 100%; }
  .adm-filters { margin: 0 -16px; padding: 2px 16px; flex-basis: 100%; }
}

/* ── Ajustes: cerrar sesión en la cabecera (lo ven TODOS; para una cuenta 'basic' es la única salida además del menú de cuenta) ── */
.adm-logout { flex: none; color: var(--danger); }
/* ── Ajustes: navegación ── */
/* alineado a la izquierda, mismo borde que el título «Ajustes» (centrado dejaba un hueco a la izquierda en monitores anchos) */
.adm-set { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 26px; max-width: 1180px; margin: 0; align-items: start; }
.adm-set-nav { position: sticky; top: 4px; display: flex; flex-direction: column; gap: 3px; }
.adm-nav-label { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 14px 12px 6px; }
.adm-nav-label:first-child { padding-top: 2px; }
.adm-nav-btn { display: flex; align-items: center; gap: 11px; min-height: 46px; padding: 6px 12px 6px 7px; border-radius: var(--r-md); font-weight: 700; font-size: 13.5px; color: var(--text-2); text-align: left; white-space: nowrap;
  transition: background var(--t) var(--ease), color var(--t) var(--ease), transform var(--t-fast) var(--ease); }
.adm-nav-ic { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--card-2); color: var(--muted); transition: all var(--t) var(--ease); }
.adm-nav-ic .icon { width: 17px; height: 17px; }
.adm-nav-btn:hover { background: var(--card-2); color: var(--text); }
.adm-nav-btn:hover .adm-nav-ic { background: var(--card-3); }
.adm-nav-btn:active { transform: scale(.97); }
.adm-nav-btn.active { background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.adm-nav-btn.active .adm-nav-ic { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; box-shadow: 0 6px 14px rgba(91, 91, 240, .35); }
.adm-set-pane { min-width: 0; }
.adm-pane { gap: 18px; }
@media (max-width: 860px) {   /* carrusel de secciones (settings.js lo saca del área con scroll y le pone .is-bar; ver bloque CELULAR al final) */
  .adm-set { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .adm-set-nav::-webkit-scrollbar { display: none; }
  .adm-nav-label { display: none; }
  .adm-nav-btn { flex: none; min-height: 44px; padding: 0 16px 0 6px; border-radius: var(--r-pill); background: var(--card-2); gap: 8px; }
  .adm-nav-ic { width: 32px; height: 32px; border-radius: 50%; background: var(--card); }
  .adm-nav-btn.active .adm-nav-ic { background: rgba(255, 255, 255, .22); box-shadow: none; }
}

/* ── Ajustes: secciones ── */
.adm-sec { display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 26px; }
.adm-sec-head h2 { font-size: 18px; }
.adm-sec-head p { margin-top: 4px; font-size: 13px; line-height: 1.5; }
.adm-sec-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }
.adm-sec-foot .btn { margin-left: auto; }
.adm-toggle { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-md); background: var(--card-2); min-height: 60px; }
.adm-toggle p { margin-top: 2px; line-height: 1.45; }
.adm-toggle .switch { width: 48px; height: 28px; border-radius: 14px; } .adm-toggle .switch::after { width: 22px; height: 22px; } .adm-toggle .switch.on::after { transform: translateX(20px); }
.adm-note { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: var(--card-2); color: var(--text-2); }
.adm-note p { margin-top: 3px; line-height: 1.5; }
.adm-note-ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--card); color: var(--primary); }
.adm-note.info { background: var(--primary-soft); } .adm-note.warn { background: var(--warn-soft); } .adm-note.warn .adm-note-ic { color: var(--warn); }
.adm-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.adm-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-2); line-height: 1.45; }
.adm-list .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--primary); }

/* perfil */
.adm-profile { display: flex; gap: 24px; align-items: flex-start; }
.adm-profile-av { align-items: center; gap: 12px; flex: none; width: 170px; }
.adm-avatar-preview { padding: 5px; border-radius: 50%; background: conic-gradient(from 210deg, var(--primary), var(--blue), var(--primary-2), var(--primary)); }
.adm-avatar-preview .avatar { border: 4px solid var(--card); transition: background var(--t) var(--ease); }
.adm-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.adm-swatch { --c: var(--primary); width: 38px; height: 38px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; border: 0; padding: 0; cursor: pointer;
  transition: transform var(--t) var(--spring), box-shadow var(--t) var(--ease); }
.adm-swatch .icon { width: 17px; height: 17px; stroke-width: 3; opacity: 0; transform: scale(.4); transition: all var(--t) var(--spring); }
.adm-swatch:hover { transform: scale(1.12); }
.adm-swatch.active { box-shadow: 0 0 0 3px var(--card), 0 0 0 5.5px var(--c); }
.adm-swatch.active .icon { opacity: 1; transform: none; }
.adm-swatch.custom { -webkit-appearance: none; appearance: none; overflow: hidden; background: conic-gradient(#ff4757, #f59e0b, #22c55e, #3d8bff, #11121c, #ff4757); }
.adm-swatch.custom::-webkit-color-swatch-wrapper { padding: 0; } .adm-swatch.custom::-webkit-color-swatch { border: 0; opacity: 0; } .adm-swatch.custom::-moz-color-swatch { border: 0; opacity: 0; }
.adm-me-meta { gap: 6px; } .adm-me-meta .pill .icon { width: 13px; height: 13px; }
@media (max-width: 620px) { .adm-profile { flex-direction: column; align-items: stretch; } .adm-profile-av { width: auto; } .adm-sec { padding: 18px 16px; } .adm-sec-foot .btn { flex: 1; } }

/* apariencia */
.adm-themes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.adm-theme { display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: var(--r-lg); background: var(--card-2); border: 2px solid transparent; text-align: left; transition: all var(--t) var(--ease); }
.adm-theme:hover { transform: translateY(-3px); }
.adm-theme.active { border-color: var(--primary); background: var(--primary-soft); }
.adm-theme-check { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; transform: scale(0); transition: transform var(--t) var(--spring); }
.adm-theme-check .icon { width: 14px; height: 14px; stroke-width: 3; }
.adm-theme.active .adm-theme-check { transform: none; }
.adm-theme-mock { aspect-ratio: 16 / 10; border-radius: var(--r-md); padding: 10px; display: flex; gap: 8px; overflow: hidden; }
.adm-theme-mock i { width: 16%; border-radius: 8px; } .adm-theme-mock div { flex: 1; display: flex; flex-direction: column; gap: 7px; } .adm-theme-mock b { flex: 1; border-radius: 9px; } .adm-theme-mock b:first-child { flex: 1.6; background: linear-gradient(135deg, #5b5bf0, #8a6cff) !important; }
.adm-theme.is-light .adm-theme-mock { background: linear-gradient(135deg, #cdbfff, #a9ccff); } .adm-theme.is-light i { background: rgba(255, 255, 255, .8); } .adm-theme.is-light b { background: #fff; }
.adm-theme.is-dark .adm-theme-mock { background: radial-gradient(circle at 0 0, #38309a, #090b14 70%); } .adm-theme.is-dark i { background: rgba(255, 255, 255, .08); } .adm-theme.is-dark b { background: #1e2237; }

/* sonidos */
.adm-range-row { gap: 12px; justify-content: flex-end; color: var(--muted); }
.adm-range { -webkit-appearance: none; appearance: none; flex: 1; min-width: 0; max-width: 300px; height: 6px; margin: 12px 0; border-radius: 3px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, var(--primary) var(--p, 60%), var(--card-3) var(--p, 60%)); transition: opacity var(--t) var(--ease); }
.adm-range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2.5px solid var(--primary); box-shadow: 0 4px 10px rgba(40, 40, 90, .25); transition: transform var(--t-fast) var(--spring); }
.adm-range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2.5px solid var(--primary); box-shadow: 0 4px 10px rgba(40, 40, 90, .25); }
.adm-range:active::-webkit-slider-thumb { transform: scale(1.18); }
.adm-range:focus-visible { box-shadow: 0 0 0 4px var(--primary-soft); }
.adm-range:disabled { opacity: .4; cursor: default; }
.adm-range-val { width: 46px; text-align: right; font-weight: 700; font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--text-2); }
.adm-sounds { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; transition: opacity var(--t) var(--ease); }
.adm-sounds.muted { opacity: .5; }
.adm-sound { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 14px 6px 7px; border-radius: var(--r-pill); background: var(--card-2); font-weight: 600; font-size: 12.5px; text-align: left; min-width: 0;
  transition: background var(--t) var(--ease), transform var(--t-fast) var(--ease); }
.adm-sound:hover { background: var(--card-3); } .adm-sound:active { transform: scale(.96); }
.adm-sound-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--card); color: var(--primary); box-shadow: var(--shadow); transition: all var(--t) var(--ease); }
.adm-sound-ic .icon { width: 14px; height: 14px; fill: currentColor; } .adm-sound-ic .wave { display: none; height: 14px; }
.adm-sound.playing { background: var(--primary-soft); color: var(--primary); }
.adm-sound.playing .adm-sound-ic { background: var(--primary); color: #fff; } .adm-sound.playing .icon { display: none; } .adm-sound.playing .wave { display: inline-flex; }
@media (max-width: 480px) { .adm-sounds { grid-template-columns: repeat(2, minmax(0, 1fr)); } .adm-toggle { flex-wrap: wrap; } .adm-range { max-width: none; } }

/* escritorio · redes · llamadas */
.adm-desktop { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px; border-radius: var(--r-lg); color: #fff; background: linear-gradient(135deg, #143601, #245501 50%, #538d22); box-shadow: 0 16px 32px rgba(20, 54, 1, .3); }
.adm-desktop .muted { color: rgba(255, 255, 255, .85); }
.adm-desktop-ic { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; flex: none; background: rgba(255, 255, 255, .18); }
.adm-desktop .grow { flex: 1 1 200px; }
.adm-desktop .btn.primary { background: #fff; color: #143601; box-shadow: 0 10px 22px rgba(10, 30, 2, .3); }
.adm-app { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: var(--r-lg); border: 1px solid var(--line); }
.adm-app .platform { width: 34px; height: 34px; border-radius: 11px; font-size: 14px; }
.adm-uri { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 5px 4px 14px; border-radius: var(--r-md); background: var(--card-2); border: 1.5px dashed var(--line); }
.adm-uri code { flex: 1; min-width: 0; font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 12px; color: var(--text-2); }
.adm-code { min-height: 200px; line-height: 1.55; white-space: pre; overflow: auto; tab-size: 2; }
.adm-code.bad { border-color: var(--danger); box-shadow: 0 0 0 4px var(--danger-soft); }
.adm-sec .field > .row .pill { height: auto; min-height: 24px; padding: 3px 10px; white-space: normal; text-align: left; }
/* ═══ CELULAR ═══ (todo lo de abajo solo aplica ≤860px; el escritorio no cambia) */
.adm-form-title { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.adm-filters-wrap { display: contents; }
.adm-only-dirty { display: none; }
@media (max-width: 860px) {
  .adm-body, .adm-set-body { padding-bottom: calc(104px + var(--safe-b) + var(--dock-h, 0px)); }
  .adm-inline .btn.icon { width: 48px; height: 48px; }
  .adm-hint { font-size: 12.5px; }

  /* ── Equipo ── */
  .adm-team { gap: 12px; }
  .adm-add { padding: 0 16px 0 14px; flex: none; } .view-head .adm-add.btn { height: 44px; }   /* mismo alto que «Nueva» de Contenido y el «+» de Salas */
  .adm-toolbar { gap: 10px; }
  .adm-filters-wrap { display: block; flex: 1 1 100%; min-width: 0; margin: 0 -16px; --fl: #000; --fr: #000;
    -webkit-mask-image: linear-gradient(to right, var(--fl), #000 32px, #000 calc(100% - 40px), var(--fr)); mask-image: linear-gradient(to right, var(--fl), #000 32px, #000 calc(100% - 40px), var(--fr)); }
  .adm-filters-wrap.fade-l, .adm-set-nav.fade-l { --fl: transparent; } .adm-filters-wrap.fade-r, .adm-set-nav.fade-r { --fr: transparent; }
  .adm-filters { margin: 0; padding: 2px 16px; scroll-padding-left: 16px; -webkit-overflow-scrolling: touch; }
  .adm-filters .chip { height: 40px; padding: 0 16px; font-size: 13px; }
  .adm-grid { gap: 12px; }
  .adm-user { gap: 12px; padding: 14px; border-radius: 24px; }
  .adm-user:hover { transform: none; box-shadow: var(--shadow); }
  .adm-user-top { align-items: center; cursor: pointer; }
  .adm-user-top .avatar.lg { --s: 48px; }
  .adm-user-top h3 { font-size: 16px; }
  .adm-lines { gap: 7px; padding: 11px 12px; }
  .adm-line { font-size: 13px; align-items: flex-start; line-height: 1.35; } .adm-line .icon { margin-top: 1px; }
  .adm-line .truncate { white-space: normal; overflow-wrap: anywhere; }   /* turno y correo enteros (2 líneas si hace falta) en vez de «5 min de gra…» */
  /* pie de tarjeta: estado arriba, acciones abajo CON texto (en el teléfono no hay tooltip que explique un ícono suelto) */
  .adm-user-foot { flex-wrap: wrap; gap: 10px; min-height: 0; }
  .adm-user-foot > .pill { height: 30px; font-size: 12px; max-width: 100%; }
  .adm-user-foot > .pill .truncate { max-width: 60vw; }
  .adm-user-actions { flex: 1 1 100%; gap: 8px; }
  .adm-user-actions .btn, .adm-user-actions .btn.icon.sm { flex: 1 1 0; width: auto; min-width: 0; height: 44px; padding: 0 8px; gap: 6px; font-size: 13px; }
  .adm-user-actions .btn .icon { width: 17px; height: 17px; }

  /* ── formulario de alta/edición (la hoja inferior con acciones fijas y acomodo al teclado la da base.css/core.modal) ── */
  .adm-form { gap: 14px; }
  .adm-form-title { margin: 8px 0 -4px; }
  .adm-form-title:first-of-type { margin-top: 0; }
  .adm-shift { padding: 14px 12px; }
  .adm-shift > .row { align-items: flex-start; gap: 12px; padding: 0 2px; }
  .adm-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
  .adm-days .chip { min-width: 0; width: 100%; height: 46px; padding: 0; font-size: 13px; border-radius: 14px; }
  .adm-days .chip.active { color: var(--on-primary); box-shadow: none; }
  /* iOS dibuja los campos de hora a su manera: sin esto se desalinean o quedan más bajos que el resto */
  .adm-form input[type='time'], .adm-form input[type='number'] { -webkit-appearance: none; appearance: none; min-width: 0; text-align: left; line-height: 1.2; }
  .adm-form input[type='time']::-webkit-date-and-time-value { text-align: left; }
  .adm-form input:disabled, .adm-form select:disabled { opacity: .6; }
  .adm-share { font-size: 14px; }

  /* ── Ajustes ── */
  .adm-set-head { padding-bottom: 8px; min-height: calc(66px + var(--safe-t)); }   /* título a la misma altura que en Contenido / Panel / Equipo (fila de 44px) */
  .view-head .adm-logout.btn { height: 44px; padding: 0 14px; font-size: 13px; }   /* mismo alto que «Sumar» de Equipo: entra al lado del título a 360px */
  .adm-set { display: block; }
  .adm-set-nav.is-bar { position: static; flex: none; display: flex; flex-direction: row; align-items: center; gap: 8px; overflow-x: auto; margin: 0; padding: 2px 16px 12px; scroll-padding: 0 16px; scrollbar-width: none; --fl: #000; --fr: #000;
    background: none; backdrop-filter: none; -webkit-backdrop-filter: none; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(to right, var(--fl), #000 32px, #000 calc(100% - 40px), var(--fr)); mask-image: linear-gradient(to right, var(--fl), #000 32px, #000 calc(100% - 40px), var(--fr)); }
  /* El desvanecido de los bordes: .adm-set-nav.fade-l/.fade-r (más arriba) empata en especificidad con .is-bar y perdía por orden, así que
     el carrusel de secciones siempre cortaba las pastillas a cuchillo contra el borde de la pantalla. Se repiten acá, ya con .is-bar. */
  .adm-set-nav.is-bar.fade-l { --fl: transparent; } .adm-set-nav.is-bar.fade-r { --fr: transparent; }
  .adm-set-nav.is-bar .adm-nav-label { display: block; flex: none; width: 1px; height: 22px; padding: 0; margin: 0 2px; font-size: 0; background: var(--card-3); }
  .adm-set-nav.is-bar .adm-nav-label:first-child { display: none; }
  .adm-nav-btn { min-height: 44px; font-size: 13.5px; }
  .adm-nav-btn:hover { background: var(--card-2); color: var(--text-2); }
  .adm-nav-btn.active, .adm-nav-btn.active:hover { background: var(--primary); color: var(--on-primary); box-shadow: 0 8px 18px var(--primary-glow); }
  .adm-set-body { padding-top: 2px; }
  .adm-pane { gap: 14px; }
  .adm-sec { gap: 14px; padding: 18px 16px; border-radius: 24px; }
  .adm-sec-head h2 { font-size: 19px; }
  .adm-sec-head p { font-size: 13.5px; }
  .adm-toggle { gap: 12px; padding: 12px 14px; flex-wrap: nowrap; }
  .adm-toggle > .btn { flex: none; }
  .adm-note { padding: 12px 14px; }
  .adm-list li { font-size: 13.5px; }

  /* guardar por sección: botón ancho al pie; con cambios sin guardar pasa a ser una barra flotante (liquid glass) sobre la navegación */
  .adm-sec-foot { gap: 10px; padding-top: 14px; }
  .adm-sec-foot > span:empty, .adm-only-dirty { display: none; }
  .adm-sec-foot > span { flex: 1 1 100%; }
  .adm-sec-foot .btn { flex: 1 1 100%; margin: 0; height: 50px; font-size: 15px; }
  .adm-sec.dirty .adm-sec-foot { position: -webkit-sticky; position: sticky; bottom: -4px;   /* el área con scroll ya deja libre la nav + dock con su padding-bottom: la barra queda flotando justo encima */
    z-index: 6; flex-wrap: nowrap; margin: 0 -6px; padding: 7px 7px 7px 18px; border-radius: var(--r-pill);
    border: 1px solid var(--lg-border); background: var(--solid); background: color-mix(in srgb, var(--solid) 94%, transparent); box-shadow: var(--lg-hi), var(--lg-shadow);
    backdrop-filter: var(--lg-blur); -webkit-backdrop-filter: var(--lg-blur); animation: rise 320ms var(--ease) both; }
  .adm-sec.dirty .adm-foot-hint { display: none; }
  .adm-sec.dirty .adm-foot-status { display: block; flex: 1 1 auto; min-width: 0; font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .adm-sec.dirty .adm-sec-foot .btn { flex: none; height: 46px; padding: 0 18px; font-size: 14px; }

  /* perfil */
  .adm-profile { gap: 16px; }
  .adm-swatches { display: grid; grid-template-columns: repeat(6, 44px); justify-content: space-between; gap: 12px 0; }
  .adm-swatch { width: 44px; height: 44px; }
  .adm-swatch:hover { transform: none; }
  .adm-me-meta .pill { max-width: 100%; height: 28px; } .adm-me-meta .pill { overflow: hidden; text-overflow: ellipsis; }

  /* sonidos: 2 columnas con el nombre entero (hasta 2 líneas) en vez de «Entrás a una s…» */
  .adm-range-row { flex: 1 1 100%; }
  .adm-range { height: 44px; margin: 0; background: transparent; border-radius: 0; }   /* 44px de alto para el dedo; la pista se dibuja adentro */
  .adm-range::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--primary) var(--p, 60%), var(--card-3) var(--p, 60%)); }
  .adm-range::-moz-range-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--primary) var(--p, 60%), var(--card-3) var(--p, 60%)); }
  .adm-range::-webkit-slider-thumb { width: 28px; height: 28px; margin-top: -10px; }
  .adm-sounds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm-sound { min-height: 54px; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 18px; font-size: 12.5px; line-height: 1.25; }
  .adm-sound .truncate { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .adm-sound-ic { width: 36px; height: 36px; box-shadow: none; }

  /* escritorio · redes · llamadas */
  .adm-desktop { background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow); }
  .adm-desktop .btn.primary { flex: 1 1 100%; color: var(--stage); box-shadow: none; }
  .adm-app { gap: 12px; padding: 16px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
  .adm-sec-head + .adm-app { border-top: 0; padding-top: 0; }
  .adm-app > .row { align-items: flex-start; }
  .adm-uri { align-items: center; padding: 6px 6px 6px 12px; }
  .adm-uri code { white-space: normal; overflow: visible; word-break: break-all; font-size: 12.5px; line-height: 1.45; padding: 4px 0; }
  .adm-uri .btn.icon.sm { width: 44px; height: 44px; flex: none; }
  .adm-btn-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .adm-btn-row .btn { width: 100%; min-width: 0; height: 44px; padding: 0 10px; }
  .adm-btn-row .btn:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .adm-code { min-height: 190px; border-radius: var(--r-md); }
  .adm-sec .field > .row.between { gap: 6px 10px; }
}
@media (max-width: 374px) { .adm-shift { padding: 14px 8px; } .adm-days { gap: 3px; } .adm-swatches { grid-template-columns: repeat(6, 40px); } .adm-swatch { width: 40px; height: 40px; } .adm-days .chip { font-size: 12.5px; } }
