:root {
  /* WP-ish admin palette */
  --wp-sb-bg: #1d2327;
  --wp-sb-bg-2: #23282d;
  --wp-sb-fg: #c3c4c7;
  --wp-sb-fg-strong: #ffffff;
  --wp-accent: #2563EB;

  --wp-top-bg: #ffffff;
  --wp-top-fg: #1d2327;

  --wp-page-bg: #f6f7fb;
  --wp-card-bg: #ffffff;
  --wp-border: #d1d5db;

  --wp-text: #1d2327;
  --wp-muted: #646970;

  --wp-radius: 4px;
  --wp-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  --wp-shadow-lg: 0 10px 40px rgba(0, 0, 0, .12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--wp-page-bg);
  color: var(--wp-text);
}

a {
  color: inherit;
  text-decoration: none;
}

/* ====== APP SHELL ====== */
.appShell {
  min-height: 100vh;
  padding: 4px;
}

.wpShell {
  height: calc(100vh - 8px);
  display: flex;
  position: relative;
  --sbw: 240px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, .85);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .10);
  background: var(--wp-card-bg);
}

/* ====== SIDEBAR (Genteel & Precise) ====== */
.wpSidebar {
  width: var(--sbw, 240px);
  background: var(--wp-sb-bg);
  color: var(--wp-sb-fg);
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, .06);
  position: relative;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}

.wpBrand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.wpBrandLogo {
  width: 36px; height: 36px; border-radius: 10px; overflow: hidden;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15);
  display: grid; place-items: center; flex: 0 0 auto;
}
.wpBrandLogo img { width: 100%; height: 100%; object-fit: contain; }

.wpBrandMeta .t1 { font-weight: 900; font-size: 14px; color: #fff; letter-spacing: -0.01em; }
.wpBrandMeta .t2 { font-weight: 600; font-size: 11px; color: rgba(255, 255, 255, .45); text-transform: uppercase; margin-top: 2px; }

.wpMenu { padding: 12px 0; display: flex; flex-direction: column; overflow-y: auto; flex: 1; }
.wpMenu::-webkit-scrollbar { width: 4px; }
.wpMenu::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 10px; }

.wpSideFooter {
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
}

.wpFootNote {
  font-size: 11px;
  line-height: 1.35;
  color: rgba(255, 255, 255, .58);
}

.wpFootNote code {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .86);
}

/* SECTIONS */
.amSection { margin-top: 18px; }
.amSecTitle { font-size: 10px; font-weight: 850; color: rgba(255, 255, 255, .25); text-transform: uppercase; letter-spacing: .1em; padding: 0 20px 10px; }

/* MENU ITEMS - UNIFIED ALIGNMENT */
/* PRECISION GRID ALIGNMENT */
/* PRECISION FLAT GRID ALIGNMENT */
.menuItem,
.menuWithSub {
  display: grid !important;
  grid-template-columns: 22px 1fr !important; /* Standard 2-col */
  align-items: center !important;
  gap: 14px !important;
  padding-left: 14px !important;
  margin: 2px 10px !important;
  border-radius: 10px !important;
  transition: all .2s ease !important;
  cursor: pointer;
  border-left: 4px solid transparent !important;
  min-height: 42px;
  opacity: 0.75;
}

/* Documentos / Submenu flat grid (3 columns) */
.menuWithSub {
  grid-template-columns: 22px 1fr 32px !important;
  padding-right: 4px !important;
}

.menuItem:hover, .menuWithSub:hover {
  background: rgba(255, 255, 255, .06) !important;
  opacity: 1;
}
.menuItem.active, .menuWithSub.active {
  background: rgba(34, 113, 177, .25) !important;
  opacity: 1;
  border-left-color: var(--wp-accent) !important;
}

/* Internal contents for Grid parity */
.mi {
  width: 22px !important;
  display: flex !important;
  justify-content: center !important;
  grid-column: 1 !important; /* Force first column */
}
.mi svg, .mi .micon {
  width: 20px;
  height: 20px;
  fill: #ffffff !important;
  color: #ffffff !important;
}

.ml {
  grid-column: 2 !important; /* Force second column */
  font-size: 13.5px;
  font-weight: 600;
  color: var(--wp-sb-fg);
  white-space: nowrap;
}
.active .ml { color: #fff !important; }

/* Submenu Link Grid Parity */
.menuLink {
  display: contents !important;
}

/* CHEVRON - NUCLEAR RESET */
.menuChevron {
  appearance: none !important; -webkit-appearance: none !important;
  background: transparent !important; border: 0 !important; outline: 0 !important;
  width: 32px; height: 32px; display: grid; place-items: center;
  color: #fff !important; opacity: 0.3; cursor: pointer; transition: all .2s;
  padding: 0 !important; margin: 0 !important; border-radius: 8px;
  grid-column: 3 !important; /* Force third column */
}
.menuChevron:hover { opacity: 1; background: rgba(255, 255, 255, .12) !important; }
.menuChevron svg { width: 14px; height: 14px; fill: currentColor; }

/* ====== COLLAPSED STATE ====== */
html.sb-collapsed .wpSidebar { width: 72px; }
html.sb-collapsed .wpBrand {
  justify-content: center;
  padding: 14px 0 12px;
}
html.sb-collapsed .wpBrandMeta,
html.sb-collapsed .ml,
html.sb-collapsed .menuChevron,
html.sb-collapsed .amSecTitle,
html.sb-collapsed .wpSideFooter {
  display: none !important;
}
html.sb-collapsed .wpMenu {
  padding-top: 10px;
}
html.sb-collapsed .amSection {
  margin-top: 12px;
}
html.sb-collapsed .menuItem,
html.sb-collapsed .menuWithSub {
  grid-template-columns: 1fr !important;
  width: 48px;
  min-height: 48px;
  margin: 3px auto !important;
  padding: 0 !important;
  justify-content: center !important;
  border-left: 0 !important;
  border-radius: 14px !important;
}
html.sb-collapsed .menuWithSub {
  padding-right: 0 !important;
}
html.sb-collapsed .mi {
  width: auto !important;
  margin-right: 0 !important;
  justify-content: center !important;
  grid-column: 1 !important;
}
html.sb-collapsed .sbEdgeToggle svg {
  transform: rotate(180deg);
}

/* Edge Toggle */
.sbEdgeToggle {
  position: absolute; top: 50%; right: -1px; transform: translateY(-50%);
  width: 12px; height: 56px; background: var(--wp-sb-bg-2); border-radius: 10px 0 0 10px;
  display: grid; place-items: center; color: rgba(255,255,255,.4); cursor: pointer; z-index: 105;
  border: 1px solid rgba(255,255,255,.12); border-right: 0; transition: all .25s;
}
.sbEdgeToggle:hover { width: 16px; color: #fff; background: var(--wp-accent); }
.sbEdgeToggle svg { width: 12px; transition: transform .3s; }

/* ====== TOPBAR & FRAME ====== */
.wpFrame { flex: 1; display: flex; flex-direction: column; overflow: hidden; background: var(--wp-page-bg); min-width: 0; }
.wpTopbar { 
  min-height: 70px;
  background: linear-gradient(180deg, #1d2327 0%, #20272c 100%);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08); 
  position: sticky; top: 0; z-index: 90;
  flex-shrink: 0;
}

.wpCrumb .t1 { font-weight: 850; font-size: 15px; letter-spacing: -0.01em; }
.wpCrumb .t2 { font-size: 12px; color: rgba(255, 255, 255, .45); margin-top: 1px; }

.sIcon {
  width: 18px;
  height: 18px;
  color: rgba(226, 232, 240, .68);
  flex: 0 0 auto;
}
.sIcon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.wpSearch { 
  flex: 0 1 390px;
  min-width: 260px;
  height: 46px;
  margin: 0 10px 0 20px;
  padding: 0 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .05));
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(148, 163, 184, .18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.wpSearch:focus-within {
  border-color: rgba(59, 130, 246, .42);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
  background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .06));
}
#wpSearchInput {
  background: transparent;
  border: 0;
  border-radius: 0;
  outline: 0;
  box-shadow: none !important;
  color: #fff;
  font-size: 13.5px;
  width: 100%;
  height: 100%;
  font-weight: 600;
  min-width: 0;
  padding: 0;
}
#wpSearchInput::placeholder { color: rgba(226, 232, 240, .52); }
#wpSearchInput:focus {
  border-color: transparent !important;
  box-shadow: none !important;
}

.wpSearchHint {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 66px;
  height: 28px;
  padding: 0 10px;
  border-radius: 10px;
  background: rgba(15, 23, 42, .34);
  border: 1px solid rgba(148, 163, 184, .18);
  color: rgba(226, 232, 240, .74);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
}

.wpTopRight {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wpIconBtn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, .16);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  color: #f8fafc;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: transform .12s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.wpIconBtn:hover {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, .28);
  background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.05));
  box-shadow: 0 10px 24px rgba(15, 23, 42, .18);
}
.wpIconBtn:active { transform: translateY(0); }

.wpIconGlyph {
  width: 18px;
  height: 18px;
  display: inline-flex;
}
.wpIconGlyph svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wpIconBtn .badge {
  position: absolute;
  top: -6px;
  right: -5px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid #1d2327;
  color: #111827;
  font-size: 11px;
  font-weight: 900;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 8px 16px rgba(15, 23, 42, .25);
}

/* BUTTONS - MINIMAL FLAT */
.wpBtn {
  background: transparent;
  color: #2563EB;
  border: 1px solid #2563EB;
  outline: 0;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 4px !important;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  box-shadow: none;
  letter-spacing: 0.01em;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.wpBtn:hover {
  background: #EFF6FF;
  color: #1D4ED8;
  border-color: #1D4ED8;
  transform: none;
  box-shadow: none;
  filter: none;
}
.wpBtn:active { background: #DBEAFE; }

/* Filled primary variant */
.wpBtn.primary {
  background: #2563EB;
  color: #ffffff;
  border-color: #2563EB;
}
.wpBtn.primary:hover {
  background: #1D4ED8;
  border-color: #1D4ED8;
  color: #ffffff;
}
.wpBtn.primary:active { background: #1E40AF; }

/* Danger variant */
.wpBtn.danger {
  background: transparent;
  color: #DC2626;
  border-color: #DC2626;
}
.wpBtn.danger:hover { background: #FEF2F2; color: #B91C1C; border-color: #B91C1C; }

.userPill { 
  background: rgba(255, 255, 255, .08);
  min-height: 42px;
  padding: 7px 14px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid rgba(255,255,255,.08);
}
.userPill .dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 6px #22c55e; }

/* ====== CONTENT AREA CONTRAST ====== */
.wpContent { 
  flex: 1; overflow-y: auto; padding: 18px 20px 20px; background: var(--wp-page-bg); 
  color: var(--wp-text) !important; /* FORCED BLACK TEXT */
}

/* Fix for modules like AssetCare */
.wpContent *, .wpContent p, .wpContent span:not(.mi), .wpContent div:not(.wpSidebar *) {
  /* No forzar en todo para no romper iconos, pero sí en texto */
}

/* Especificidad para tablas y cards en AssetCare */
.card, .wpCard, .moduleContainer, .assetCareContainer {
  background: #fff; border-radius: 16px; padding: 20px; border: 1px solid var(--wp-border);
  color: var(--wp-text);
}

/* ====== FLYOUT (PREMIUM DESIGN) ====== */
.sbFlyOverlay { position: absolute; inset: 0; left: var(--sbw); background: rgba(0,0,0,.2); backdrop-filter: blur(2px); z-index: 150; }
.sbFlyout { 
  position: absolute; top: 14px; bottom: 14px; left: calc(var(--sbw) + 14px); 
  width: 360px; background: #fff; border-radius: 20px; 
  box-shadow: 0 25px 80px rgba(0,0,0,0.25); z-index: 160; 
  border: 1px solid rgba(0,0,0,0.05); overflow: hidden; display: flex; flex-direction: column;
  animation: slideIn .3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideIn { from { transform: translateX(-20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.sbFlyHead { padding: 24px; border-bottom: 1px solid #f0f0f4; background: #fafafc; display: flex; justify-content: space-between; align-items: center; }
.sbFlyHead .t1 { font-weight: 950; font-size: 18px; color: #111; letter-spacing: -0.02em; }
.sbFlyHead .t2 { font-size: 12px; color: #666; font-weight: 600; margin-top: 4px; }

.sbFlyClose { 
  width: 36px; height: 36px; border-radius: 12px; border: 1px solid #eee; background: #fff; 
  display: grid; place-items: center; cursor: pointer; transition: all .2s; font-size: 16px; color: #888;
}
.sbFlyClose:hover { background: #fdf2f2; border-color: #fecaca; color: #ef4444; }

.sbFlyBody { padding: 16px; overflow-y: auto; flex: 1; }
.sbFlyGroup { margin-bottom: 24px; }
.sbFlyTitle { font-size: 11px; font-weight: 850; color: #99a; text-transform: uppercase; letter-spacing: .12em; margin: 0 12px 12px; }

.sbFlyItem { 
  display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; 
  border-radius: 14px; transition: all .2s; color: #1a1b1e; font-weight: 750; font-size: 14px; 
}
.sbFlyItem:hover { background: #f5f6fa; transform: translateX(4px); color: var(--wp-accent); }
.sbFlyItem .sub { 
  font-size: 11px; font-weight: 800; background: #eeeff5; color: #667; 
  padding: 3px 10px; border-radius: 8px; text-transform: uppercase;
}
.sbFlyItem:hover .sub { background: var(--wp-accent); color: #fff; }

.sbFlySep { height: 1px; background: #f0f0f4; margin: 8px 16px; }

/* ====== MOBILE SIDEBAR OVERLAY ====== */
.wpHamburger {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  margin-right: 2px;
  border-radius: 10px;
  transition: background .15s;
  flex-shrink: 0;
}
.wpHamburger:hover { background: rgba(255,255,255,.08); }
.wpHamburger svg { width: 22px; height: 22px; fill: currentColor; display: block; }

/* Overlay de fondo para cerrar sidebar en móvil */
/* IMPORTANTE: debe estar fuera del wpShell para no ser cortado por overflow:hidden */
.mobileSidebarOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 199; /* justo debajo del sidebar (200) */
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.mobileSidebarOverlay.open { display: block; }

@media (max-width: 900px) {
  /* El sidebar sale del flujo normal y se convierte en drawer */
  .wpSidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 200;
    width: 280px !important; /* ancho fijo del drawer */
    transform: translateX(-100%);
    transition: transform .28s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 20px 20px 0;
    box-shadow: 8px 0 40px rgba(0,0,0,.45);
    display: flex !important;
  }
  .wpSidebar.mobile-open {
    transform: translateX(0);
  }
  /* Hamburger visible en móvil */
  .wpHamburger { display: flex; align-items: center; }
  /* Sidebar ocupa 0 ancho en el layout (ahora es fixed) */
  .wpShell { --sbw: 0px; }
  /* El wpShell en móvil no tiene overflow hidden para no cortar el sidebar */
  .wpShell { overflow: visible; }
  /* Ocultar edge toggle (no aplica en móvil) */
  .sbEdgeToggle { display: none !important; }
}

@media (max-width: 1180px) {
  .wpSearch {
    flex: 1 1 240px;
    min-width: 180px;
    margin: 0 8px 0 10px;
  }
  .wpTopRight { gap: 8px; }
}

@media (max-width: 900px) {
  .appShell { padding: 0; }

  .wpShell {
    height: 100svh;
    border-radius: 0;
    border: 0;
    box-shadow: none;
  }

  /* Topbar móvil: altura fija, flex compacto, sin wrap */
  .wpTopbar {
    min-height: 56px;
    max-height: 56px;
    padding: 0 10px;
    gap: 6px;
    flex-wrap: nowrap;
    overflow: hidden; /* evitar que elementos desborden */
  }

  /* Ocultar search en móvil completamente */
  .wpSearch { display: none !important; }

  /* Crumb flexible que toma el espacio disponible */
  .wpCrumb {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }
  .wpCrumb .t1 {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .wpCrumb .t2 { display: none; } /* ocultar subtitulo en móvil */

  /* Zona derecha: solo notif + pill usuario (sin cerrar sesión) */
  .wpTopRight {
    flex-shrink: 0;
    gap: 4px;
    margin-left: auto;
  }

  /* Ocultar elementos que no caben */
  #btnSignOut { display: none !important; }
  .wpTopRight > div[style*='margin-right'] { display: none !important; } /* vista tecnico toggle */
  .kbnTag { display: none !important; } /* badge modo tecnico */

  /* Reducir userPill */
  .userPill {
    padding: 6px 10px;
    font-size: 12px;
    min-height: 38px;
  }
  .userPill > span:last-child {
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* wpIconBtn más pequeño */
  .wpIconBtn {
    width: 38px;
    height: 38px;
  }

  /* Contenido: espacio para bottom nav */
  .wpContent {
    padding: 14px 14px 80px;
    overflow-y: auto;
  }
}

/* ====== BOTTOM NAV BAR (Staff · móvil) ====== */
.wpBottomNav {
  display: none;
}

@media (max-width: 900px) {
  .wpBottomNav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--wp-sb-bg);
    border-top: 1px solid rgba(255,255,255,.08);
    z-index: 90;
    padding: 0 4px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    align-items: center;
    justify-content: space-around;
    gap: 0;
    box-shadow: 0 -4px 24px rgba(0,0,0,.25);
  }

  .bnItem {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 4px;
    border-radius: 12px;
    color: rgba(255,255,255,.45);
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    border: 0;
    transition: color .15s, background .15s;
    min-height: 52px;
    font-family: inherit;
  }
  .bnItem:hover,
  .bnItem.active {
    color: #fff;
    background: rgba(255,255,255,.06);
  }
  .bnItem.active {
    color: #60a5fa;
  }
  .bnItem svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
  }
  .bnLabel {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: nowrap;
  }
}

/* ====== TABLET OPTIMIZATIONS (601-900px) ====== */
@media (min-width: 601px) and (max-width: 900px) {
  .wpIconBtn {
    width: 40px;
    height: 40px;
  }

  /* Mostrar search bar en tablet (oculta en móvil) */
  .wpSearch {
    display: flex !important;
    flex: 1 1 200px;
    min-width: 140px;
    margin: 0 6px 0 8px;
  }
}

/* ====== TOUCH DEVICE OPTIMIZATIONS ====== */
@media (hover: none) and (pointer: coarse) {
  /* Aumentar touch targets mínimos (WCAG 2.5.5) */
  .menuItem,
  .menuWithSub {
    min-height: 48px !important;
  }

  .wpIconBtn {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .wpBtn {
    min-height: 44px;
    padding: 8px 14px;
  }

  /* Deshabilitar efectos hover en touch */
  .sbFlyItem:hover {
    transform: none;
  }
}

/* ====== GLOBAL TOGGLE SWITCH ====== */
.wpSwitch { position: relative; display: inline-block; width: 34px; height: 18px; margin: 0; }
.wpSwitch input { opacity: 0; width: 0; height: 0; }
.wpSlider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #cbd5e1; transition: .3s; border-radius: 34px; }
.wpSlider:before { position: absolute; content: ""; height: 14px; width: 14px; left: 2px; bottom: 2px; background-color: white; transition: .3s; border-radius: 50%; box-shadow: 0 1px 2px rgba(0,0,0,0.2); }
input:checked + .wpSlider { background-color: #22c55e; }
input:focus + .wpSlider { box-shadow: 0 0 1px #22c55e; }
input:checked + .wpSlider:before { transform: translateX(16px); }

/* ====== TAGS & PILLS ====== */
.kbnTag { display: inline-block; padding: 3px 10px; border-radius: 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.tagBlue { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.6; } 100% { opacity: 1; } }
