 .employee-mobile-logout {
  display: none;
}

.employee-mobile-user-chip,
.employee-menu-toggle {
  display: none;
}

@media (max-width: 700px) {
  .mobile-admin-wheel:not(.is-open) { bottom: calc(18px + env(safe-area-inset-bottom)); }
  .show-wheel-hint .mobile-wheel-toggle::after { content:"Toca para abrir herramientas";position:absolute;right:calc(100% + 10px);width:150px;padding:8px 10px;border:1px solid rgba(255,255,255,.7);border-radius:12px;background:rgba(54,73,66,.82);color:#fff;font-size:.7rem;font-weight:700;line-height:1.2;box-shadow:0 8px 24px rgba(0,0,0,.2);backdrop-filter:blur(12px) }
  .employee-ui .employee-topbar {
    display: grid;
    grid-template-columns: minmax(94px, 130px) minmax(0, 1fr) 42px 42px;
    grid-template-areas: "brand user menu logout";
    align-items: center;
    gap: 6px;
    min-height: 68px;
    padding: 9px 10px;
  }

  .employee-ui .employee-topbar > .brand {
    grid-area: brand;
    min-width: 0;
  }

  .employee-ui .employee-topbar > .brand img {
    width: min(100%, 122px);
    height: auto;
  }

  .employee-ui .employee-topbar > .nav-links {
    display: contents !important;
  }

  .employee-mobile-user-chip {
    grid-area: user;
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 7px;
    color: #fff;
    text-decoration: none;
  }

  .employee-mobile-user-chip > img,
  .employee-mobile-user-chip > .employee-menu-initial {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 50%;
    object-fit: cover;
  }

  .employee-mobile-user-chip > span:last-child {
    min-width: 0;
    overflow: hidden;
  }

  .employee-mobile-user-chip b,
  .employee-mobile-user-chip small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .employee-mobile-user-chip b { font-size: .76rem; }
  .employee-mobile-user-chip small { color: rgba(255,255,255,.7); font-size: .6rem; }

  .employee-menu-toggle {
    grid-area: menu;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 12px;
    background: rgba(255,255,255,.1);
    color: #fff;
  }

  .employee-menu-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  .employee-menu-toggle span { display: none; }

  .admin-ui .admin-topbar {
    display: grid;
    grid-template-columns: minmax(94px, 130px) minmax(0, 1fr) 42px 42px;
    grid-template-areas: "brand user menu logout";
    align-items: center;
    gap: 6px;
    min-height: 68px;
    padding: 9px 10px;
  }

  .admin-ui .admin-topbar > .brand {
    grid-area: brand;
    min-width: 0;
  }

  .admin-ui .admin-topbar > .brand img {
    width: min(100%, 122px);
    height: auto;
  }

  .admin-ui .admin-topbar > .nav-links {
    display: contents !important;
  }

  .admin-ui .admin-topbar .admin-user-chip {
    grid-area: user;
    min-width: 0;
    margin: 0;
    padding: 0;
    gap: 7px;
  }

  .admin-ui .admin-user-chip > span:last-child {
    min-width: 0;
    overflow: hidden;
  }

  .admin-ui .admin-user-chip b,
  .admin-ui .admin-user-chip small {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .admin-ui .admin-user-chip b {
    font-size: .76rem;
  }

  .admin-ui .admin-user-chip small {
    font-size: .6rem;
  }

  .admin-ui .admin-user-chip img,
  .admin-ui .admin-user-chip > span:first-child {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
  }

  .admin-ui .admin-menu-toggle {
    grid-area: menu;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
  }

  .admin-ui .admin-topbar .session-action {
    grid-area: logout;
    display: grid !important;
    width: 42px;
    height: 42px;
    margin: 0;
  }

  .employee-ui .employee-menu {
    position: absolute;
    width: 0;
    height: 0;
  }

  .employee-ui .employee-menu > summary {
    display: none;
  }

  .employee-mobile-logout {
    grid-area: logout;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    text-decoration: none;
  }

  .employee-mobile-logout svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .employee-shortcut-wheel .mobile-wheel-scrim,
  .employee-shortcut-wheel.is-open .mobile-wheel-scrim,
  .admin-shortcut-wheel .mobile-wheel-scrim,
  .admin-shortcut-wheel.is-open .mobile-wheel-scrim {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .admin-shortcut-wheel.is-open .mobile-wheel-disc {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    animation: none;
  }

  .admin-shortcut-wheel.is-open .mobile-wheel-items a {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(-1 * var(--radius))) rotate(calc(-1 * var(--angle))) scale(1);
    animation: admin-icon-hop .48s cubic-bezier(.18, .9, .3, 1.25) both;
    animation-delay: var(--delay);
  }

  .admin-shortcut-wheel .mobile-wheel-items a:active,
  .admin-shortcut-wheel .mobile-wheel-items a:focus-visible {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(-1 * var(--radius))) rotate(calc(-1 * var(--angle))) scale(1.08);
  }

  .admin-shortcut-wheel .inner-ring {
    width: 40px;
    height: 40px;
  }

  .admin-shortcut-wheel .inner-ring svg {
    width: 20px;
    height: 20px;
  }

  .admin-shortcut-wheel .mobile-wheel-toggle span,
  .admin-shortcut-wheel .mobile-wheel-toggle span svg {
    display: block;
    width: 27px;
    height: 27px;
  }

  .admin-shortcut-wheel .mobile-wheel-toggle span svg {
    fill: currentColor;
    stroke: none;
  }

  .wheel-notification {
    position: absolute;
    top: -7px;
    right: -8px;
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #b33636;
    color: #fff;
    font-size: .58rem;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 3px 10px rgba(71, 9, 9, .4);
  }

  .mobile-wheel-items a > span {
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    width: 86px;
    color: #fff;
    font-size: .65rem;
    font-weight: 800;
    line-height: 1.05;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .95), 0 0 10px rgba(0, 0, 0, .7);
    transform: translateX(-50%);
    pointer-events: none;
  }

  .admin-shortcut-wheel .mobile-wheel-items a > span {
    display: none;
  }
  .admin-shortcut-wheel .mobile-wheel-items a.show-label > span { display:block;width:92px;padding:4px 6px;border-radius:8px;background:rgba(42,58,52,.82);font-size:.62rem;z-index:8 }

  .employee-shortcut-wheel.is-open {
    bottom: calc(50% - 140px);
    width: 280px;
    height: 280px;
  }

  .employee-shortcut-wheel.is-open .mobile-wheel-disc {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    animation: none;
  }

  .employee-shortcut-wheel.is-open .mobile-wheel-items a {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-108px) rotate(calc(-1 * var(--angle))) scale(1);
    animation: employee-icon-hop .52s cubic-bezier(.18, .9, .3, 1.35) both;
    animation-delay: var(--delay);
  }

  .employee-shortcut-wheel .mobile-wheel-items a {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .employee-shortcut-wheel .mobile-wheel-items svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 3px rgba(15, 35, 29, .28));
  }

  .employee-shortcut-wheel .mobile-wheel-toggle {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
  }

  .employee-shortcut-wheel .mobile-wheel-toggle img {
    display: block;
    width: 62px;
    height: 62px;
    object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(22, 42, 35, .28));
    transition: transform .28s ease, filter .28s ease;
  }

  .employee-shortcut-wheel.is-open .mobile-wheel-toggle img {
    transform: rotate(12deg) scale(1.06);
    filter: drop-shadow(0 10px 18px rgba(22, 42, 35, .34));
  }

  .employee-shortcut-wheel .mobile-wheel-items a:active,
  .employee-shortcut-wheel .mobile-wheel-items a:focus-visible {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-108px) rotate(calc(-1 * var(--angle))) scale(1.1);
  }
}

@keyframes admin-icon-hop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(0) rotate(calc(-1 * var(--angle))) scale(.25);
  }
  70% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(-1 * (var(--radius) + 8px))) rotate(calc(-1 * var(--angle))) scale(1.08);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(-1 * var(--radius))) rotate(calc(-1 * var(--angle))) scale(1);
  }
}

@keyframes employee-icon-hop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(0) rotate(calc(-1 * var(--angle))) scale(.3);
  }
  65% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-118px) rotate(calc(-1 * var(--angle))) scale(1.12);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-108px) rotate(calc(-1 * var(--angle))) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .employee-shortcut-wheel .mobile-wheel-items a,
  .admin-shortcut-wheel .mobile-wheel-items a {
    animation: none !important;
  }
}
