@charset "UTF-8";

/* src/styles/main.css */
@font-face {
  font-family: "ABC Arizona Flare";
  src: url("./media/ABCArizonaFlare-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ABC Arizona Flare";
  src:
    url("./media/ABCArizonaFlare-Regular.woff2") format("woff2"),
    url("./media/ABCArizonaFlare-Regular.woff") format("woff"),
    url("./media/ABCArizonaFlare-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ABC Arizona Flare";
  src:
    url("./media/ABCArizonaFlare-RegularItalic.woff2") format("woff2"),
    url("./media/ABCArizonaFlare-RegularItalic.woff") format("woff"),
    url("./media/ABCArizonaFlare-RegularItalic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "ABC Arizona Flare";
  src:
    url("./media/ABCArizonaFlare-Medium.woff2") format("woff2"),
    url("./media/ABCArizonaFlare-Medium.woff") format("woff"),
    url("./media/ABCArizonaFlare-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ABC Arizona Flare";
  src:
    url("./media/ABCArizonaFlare-MediumItalic.woff2") format("woff2"),
    url("./media/ABCArizonaFlare-MediumItalic.woff") format("woff"),
    url("./media/ABCArizonaFlare-MediumItalic.otf") format("opentype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "ABC Arizona Flare";
  src:
    url("./media/ABCArizonaFlare-Bold.woff2") format("woff2"),
    url("./media/ABCArizonaFlare-Bold.woff") format("woff"),
    url("./media/ABCArizonaFlare-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ABC Arizona Flare";
  src:
    url("./media/ABCArizonaFlare-BoldItalic.woff2") format("woff2"),
    url("./media/ABCArizonaFlare-BoldItalic.woff") format("woff"),
    url("./media/ABCArizonaFlare-BoldItalic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
:root {
  --udp-black:#1C1C1C;
  --udp-beige:#E4E0D5;
  --udp-blue:#325EF1;
  --udp-red:#FF5B4D;
  --udp-yellow:#FFEE00;
  --udp-blue-600:#294ECC;
  --udp-blue-700:#233FA2;
  --udp-blue-100:#EEF2FF;
  --dae-900:var(--udp-black);
  --dae-800:#2D2D2D;
  --dae-700:#D1B42A;
  --dae-600:#E7D14D;
  --dae-500:var(--udp-yellow);
  --dae-400:#FFF27A;
  --dae-300:#F6EDB3;
  --dae-200:#EFE8CC;
  --dae-100:var(--udp-beige);
  --primary-rgb:50,94,241;
  --bg:#F3F1EA;
  --surface:#FFFFFF;
  --surface-alt:#F8F5EC;
  --text:var(--udp-black);
  --text-soft:#333333;
  --text-muted:#626262;
  --border:#D8D3C8;
  --primary:var(--udp-blue);
  --primary-strong:var(--udp-blue-700);
  --primary-soft:var(--udp-blue-100);
  --focus-ring:var(--udp-blue);
  --focus-glow:#FFFFFF;
  --danger:var(--udp-red);
  --warning:#E8B717;
  --success:#0EC881;
  --brand-gradient-mid:#2848B8;
  --brand-gradient-end:var(--udp-blue);
  --offcanvas-backdrop:rgba(28,28,28,.52);
  --offcanvas-surface:#F8F5EC;
  --offcanvas-surface-strong:#FFFFFF;
  --offcanvas-border:#C8D3FB;
  --offcanvas-shadow:-20px 0 36px rgba(50,94,241,.18);
  --sidebar-width:292px;
  --header-height:78px;
  --radius-xl:28px;
  --radius-lg:22px;
  --radius-md:16px;
  --shadow:0 12px 34px rgba(28,28,28,.08);
  --shadow-soft:0 8px 20px rgba(28,28,28,.05);
  --font-primary:"ABC Arizona Flare",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --font-heading:"ABC Arizona Flare",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --select-option-padding-y:6px;
  --select-option-padding-x:12px;
  --select-scroll-track:#E7EAF6;
  --select-scroll-thumb:#90A2E8;
  --select-scroll-thumb-hover:#7188E2;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-primary);
  background:
    linear-gradient(
      180deg,
      #F8F6F0 0%,
      #ECE7D9 100%);
  color: var(--text);
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
}
:where(a[href], button, input, select, textarea, summary, [role=button], [role=tab], [tabindex]:not([tabindex="-1"])):focus-visible {
  outline: 2px solid transparent !important;
  box-shadow: 0 0 0 2px var(--focus-glow), 0 0 0 5px var(--focus-ring) !important;
}
.heading-font {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -.02em;
}
.mono {
  font-family: var(--font-primary);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
}
.auto-marquee {
  --auto-marquee-distance:0px;
  --auto-marquee-duration:8s;
  --auto-marquee-delay:.55s;
  --auto-marquee-gap:20px;
}
.auto-marquee__text {
  display: inline-block;
  min-width: max-content;
  transform: translateX(0);
  will-change: transform;
}
.auto-marquee.is-marquee-active .auto-marquee__text {
  padding-right: var(--auto-marquee-gap);
  animation: auto-marquee-horizontal var(--auto-marquee-duration) linear var(--auto-marquee-delay) infinite alternate;
}
.auto-marquee.is-marquee-active:hover .auto-marquee__text,
.auto-marquee.is-marquee-active:focus-within .auto-marquee__text {
  animation-play-state: paused;
}
@keyframes auto-marquee-horizontal {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * var(--auto-marquee-distance)));
  }
}
@media (prefers-reduced-motion: reduce) {
  .auto-marquee.is-marquee-active .auto-marquee__text {
    animation: none;
    transform: translateX(0);
    padding-right: 0;
  }
}
.layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--udp-black);
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  flex-direction: column;
  z-index: 30;
  isolation: isolate;
}
.sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 20px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand__logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--udp-blue);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(var(--primary-rgb, 123,89,0), .28);
}
.brand__logo--image {
  width: 110px;
  height: 38px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  overflow: visible;
}
.brand__logo--image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 6px 14px rgba(28, 28, 28, .35));
}
.brand__text strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}
.brand__text span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, .68);
  font-size: .82rem;
}
.sidebar__close,
.header__menu-btn,
.panel__icon-btn,
.action-btn,
.notification-btn,
.btn {
  border: none;
  cursor: pointer;
  transition: .25s ease;
}
.sidebar__close {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: transparent;
  color: #fff;
  display: none;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
}
.nav {
  padding: 14px 10px;
  flex: 1;
  overflow: auto;
}
.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nav__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  color: rgba(255, 255, 255, .88);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
.nav__icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  color: rgba(255, 255, 255, .78);
  line-height: 1;
}
.nav__icon .material-symbols-outlined {
  font-size: 1.25rem;
  line-height: 1;
  font-variation-settings:
    "FILL" 0,
    "wght" 300,
    "GRAD" 0,
    "opsz" 24;
}
.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
}
.material-icons {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
}
.nav__link > span:last-child {
  min-width: 0;
  flex: 1 1 auto;
}
.nav__link:hover {
  background: rgba(255, 255, 255, .06);
}
.nav__link--active {
  background: var(--udp-blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(var(--primary-rgb, 123,89,0), .25);
}
.nav__link--active .nav__icon {
  color: #fff;
}
.sidebar__footer {
  padding: 14px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.logout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  background: #111111;
  color: #fff;
  padding: 14px 18px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 600;
}
.logout-btn + .logout-btn {
  margin-top: 10px;
}
.logout-btn--secondary {
  border: 1px solid rgba(255, 255, 255, .28);
  background: transparent;
  color: #fff;
}
.logout-btn--secondary:hover {
  background: rgba(255, 255, 255, .08);
}
body.portal-admin-context .sidebar__header {
  padding: 20px 18px 28px;
}
body[data-portal=personal] .sidebar__header {
  padding-bottom: 28px;
}
body.portal-admin-context .brand,
body[data-portal=personal] .brand,
body[data-user-page] .brand {
  gap: 10px;
  width: 100%;
}
body.portal-admin-context .brand__logo--image,
body[data-portal=personal] .brand__logo--image,
body[data-user-page] .brand__logo--image {
  width: 100%;
  max-width: none;
  height: 52px;
}
body.portal-admin-context .brand__text strong {
  font-size: .94rem;
  line-height: 1.08;
}
body.portal-admin-context .brand__text span {
  margin-top: 2px;
  font-size: .76rem;
}
body.portal-admin-context .nav {
  padding: 10px 9px;
}
body.portal-admin-context .nav__list {
  gap: 5px;
}
body.portal-admin-context .nav__link {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: .97rem;
}
body.portal-admin-context .sidebar__footer {
  padding: 11px 11px 13px;
}
body.portal-admin-context .logout-btn {
  padding: 12px 15px;
  border-radius: 12px;
  font-size: .96rem;
}
body.portal-admin-context .logout-btn + .logout-btn {
  margin-top: 8px;
}
.main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 28px;
  background: rgba(248, 247, 243, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(28, 28, 28, .08);
}
@media (min-width: 681px) {
  body.portal-staff-shared-layout .header {
    display: none;
  }
  body[data-page=inicio] .panel__actions--agenda-header {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin-left: auto;
  }
  body[data-page=inicio] .panel__actions--agenda-header .panel-search {
    width: clamp(240px, 31vw, 460px);
    min-width: 0;
    height: 38px;
    padding: 0 12px;
    border-radius: 14px;
    box-shadow: none;
  }
  body[data-page=inicio] .panel__actions--agenda-header .panel-search input {
    min-width: 0;
  }
  body.portal-staff-shared-layout .panel__actions--shared-search {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin-left: auto;
  }
  body.portal-staff-shared-layout .panel__actions--shared-search .panel-search {
    width: clamp(220px, 30vw, 380px);
    min-width: 0;
    height: 38px;
    padding: 0 12px;
    border-radius: 14px;
    box-shadow: none;
  }
  body.portal-staff-shared-layout .panel__actions--shared-search .panel-search input {
    min-width: 0;
  }
  body[data-page=asistencia] .panel__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
  }
  body[data-page=asistencia] .panel__title {
    flex: 1 1 auto;
    min-width: 0;
  }
  body[data-page=asistencia] .panel__actions--shared-search {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin-left: auto;
  }
  body[data-page=asistencia] .panel__actions--shared-search .panel-search {
    width: clamp(220px, 30vw, 380px);
    min-width: 0;
    height: 38px;
    padding: 0 12px;
    border-radius: 14px;
    box-shadow: none;
  }
  body[data-page=asistencia] .panel__actions--shared-search .panel-search input {
    min-width: 0;
  }
  body[data-page=restricciones] .panel__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
  }
  body[data-page=restricciones] .panel__title {
    flex: 1 1 auto;
    min-width: 0;
  }
  body[data-page=restricciones] .panel__actions--shared-search {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin-left: auto;
  }
  body[data-page=restricciones] .panel__actions--shared-search .panel-search {
    width: clamp(220px, 30vw, 380px);
    min-width: 0;
    height: 38px;
    padding: 0 12px;
    border-radius: 14px;
    box-shadow: none;
  }
  body[data-page=restricciones] .panel__actions--shared-search .panel-search input {
    min-width: 0;
  }
  body.portal-staff-shared-layout .content {
    padding: 4px;
  }
}
@media (max-width: 680px) {
  body[data-page=inicio] .panel__actions--agenda-header {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin-left: auto;
  }
  body[data-page=inicio] .panel__actions--agenda-header .panel-search {
    width: min(56vw, 240px);
    min-width: 0;
    height: 38px;
    padding: 0 10px;
    border-radius: 14px;
    box-shadow: none;
  }
  body[data-page=inicio] .panel__actions--agenda-header .panel-search input {
    min-width: 0;
  }
}
.header__left,
.header__right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header__menu-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}
.header__title h1 {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.05;
  font-weight: 700;
}
.header__title p {
  margin: 6px 0 0;
  font-size: .92rem;
  color: var(--text-muted);
}
.header__mobile-user {
  display: none;
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: .83rem;
  font-weight: 600;
}
.staff-mobile-nav {
  display: none;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0 14px;
  min-width: 300px;
  height: 48px;
  box-shadow: var(--shadow-soft);
}
.search span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  color: var(--text-muted);
  font-family:
    "Segoe UI Symbol",
    "Apple Color Emoji",
    "Noto Color Emoji",
    sans-serif;
}
.search input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  color: var(--text);
}
.user-header-search {
  display: none;
}
body.is-search-open .user-header-search {
  display: flex;
}
.user-search-btn {
  font-size: 1rem;
}
body.is-search-open .user-search-btn {
  border-color: rgba(var(--primary-rgb, 123,89,0), .35);
  color: var(--udp-blue);
}
.notification-btn {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  color: var(--text);
}
.user-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px 10px;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.user-chip__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--udp-blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.user-chip__info strong {
  display: block;
  font-size: .92rem;
}
.user-chip__info span {
  color: var(--text-muted);
  font-size: .8rem;
}
.user-chip--menu-trigger {
  cursor: pointer;
}
.user-chip.is-menu-open {
  border-color: rgba(var(--primary-rgb, 123,89,0), .36);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 123,89,0), .14);
}
.user-chip-menu[hidden] {
  display: none;
}
.user-chip-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 200px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(28, 28, 28, .16);
  display: grid;
  gap: 4px;
  z-index: 40;
}
.user-chip-menu__item {
  width: 100%;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  text-align: left;
  padding: 10px 12px;
  font-weight: 600;
  cursor: pointer;
}
.user-chip-menu__item:hover {
  background: rgba(var(--primary-rgb, 123,89,0), .09);
  color: var(--udp-blue);
}
.user-chip-menu__item--danger:hover {
  background: rgba(255, 91, 77, .12);
  color: #c0392b;
}
.profile-offcanvas__panel {
  width: min(620px, 100vw);
}
.profile-offcanvas__body {
  gap: 16px;
}
.profile-offcanvas__body .form-grid--2 {
  grid-template-columns: 1fr;
}
.profile-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}
.profile-summary__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--udp-blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.profile-summary__meta {
  display: grid;
  gap: 3px;
}
.profile-summary__meta strong {
  font-size: 1rem;
}
.profile-summary__meta span {
  color: var(--text-muted);
  font-size: .88rem;
}
.profile-offcanvas__body .form-field input[readonly] {
  background: #f8f9fc;
  color: var(--text-soft);
}
.profile-module {
  display: grid;
  gap: 16px;
}
.profile-module .profile-summary {
  margin: 0;
}
.profile-module__fields {
  gap: 14px;
}
.profile-module__fields .form-field input[readonly] {
  background: #f8f9fc;
  color: var(--text-soft);
}
.profile-module__footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
}
.profile-module__password-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--udp-blue);
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    transform .14s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}
.profile-module__password-icon:hover {
  border-color: rgba(var(--primary-rgb, 123,89,0), .4);
  box-shadow: 0 8px 16px rgba(28, 28, 28, .1);
  transform: translateY(-1px);
}
.content {
  padding: 4px;
}
.hero {
  background:
    linear-gradient(
      135deg,
      var(--udp-black) 0%,
      var(--brand-gradient-mid) 40%,
      var(--brand-gradient-end) 100%);
  color: #fff;
  border-radius: 32px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(28, 28, 28, .12);
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 24px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 220px;
  height: 220px;
  background: rgba(255, 238, 0, .13);
  border-radius: 50%;
}
.hero__eyebrow {
  color: rgba(255, 255, 255, .8);
  margin-bottom: 12px;
  display: inline-block;
}
.hero h2 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 2vw, 2.5rem);
  line-height: 1;
}
.hero p {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  line-height: 1.65;
  max-width: 700px;
}
.hero__actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 13px 18px;
  font-weight: 700;
  transition:
    background-color .2s ease,
    border-color .2s ease,
    color .2s ease,
    box-shadow .2s ease,
    transform .14s ease;
}
.btn--light {
  background: #fff;
  color: var(--udp-black);
}
.btn--ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .16);
}
.btn--primary {
  background: var(--udp-blue);
  color: #fff;
  border-color: var(--udp-blue);
  box-shadow: 0 8px 18px rgba(var(--primary-rgb, 123,89,0), .24);
}
.btn--secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn:not(:disabled):not([aria-disabled=true]):hover {
  transform: translateY(-1px);
}
.btn:not(:disabled):not([aria-disabled=true]):active {
  transform: translateY(0);
}
.btn:disabled,
[disabled].btn {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus-glow), 0 0 0 5px var(--focus-ring);
}
.btn--primary:not(:disabled):not([aria-disabled=true]):hover {
  background: var(--primary-strong);
  border-color: var(--primary-strong);
  box-shadow: 0 10px 22px rgba(var(--primary-rgb, 123,89,0), .34);
}
.btn--secondary:not(:disabled):not([aria-disabled=true]):hover {
  background: var(--dae-100);
  border-color: var(--dae-300);
}
.mobile-action-icon {
  display: none;
  pointer-events: none;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  align-content: start;
  position: relative;
  z-index: 1;
}
.mini-card {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  padding: 18px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.mini-card span {
  display: block;
  color: rgba(255, 255, 255, .78);
  margin-bottom: 8px;
}
.mini-card strong {
  font-size: 1.75rem;
  line-height: 1;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
}
.stack {
  display: grid;
  gap: 24px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel__header {
  background:
    linear-gradient(
      135deg,
      var(--udp-black) 0%,
      var(--brand-gradient-mid) 100%);
  color: #fff;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.panel__title h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.05;
  font-weight: 700;
}
.panel__title p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: .9rem;
}
.panel__body {
  padding: 22px;
  background: var(--surface);
}
.toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.toolbar__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text-soft);
  font-weight: 600;
  transition:
    background-color .18s ease,
    border-color .18s ease,
    color .18s ease,
    box-shadow .18s ease;
}
.chip:hover {
  border-color: var(--dae-300);
  background: var(--surface-alt);
}
.chip:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus-glow), 0 0 0 5px var(--focus-ring);
}
.chip--active {
  color: var(--udp-blue);
  border-color: rgba(var(--primary-rgb, 123,89,0), .35);
  background: rgba(var(--primary-rgb, 123,89,0), .12);
}
.chip--active:hover {
  border-color: rgba(var(--primary-rgb, 123,89,0), .5);
  background: rgba(var(--primary-rgb, 123,89,0), .18);
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.summary-card,
.kpi {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
}
.summary-card span,
.kpi span {
  display: block;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.summary-card strong,
.kpi strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
  margin-bottom: 6px;
}
.summary-card small,
.kpi small {
  color: var(--text-soft);
}
.schedule-list,
.quick-links,
.activity-list,
.events,
.module-list {
  display: grid;
  gap: 14px;
}
.schedule-item,
.module-item,
.quick-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
}
.schedule-time {
  min-width: 112px;
  font-weight: 700;
  color: var(--udp-blue);
}
.schedule-info strong,
.module-item strong {
  display: block;
  margin-bottom: 4px;
}
.schedule-info span,
.module-item span {
  color: var(--text-muted);
  font-size: .9rem;
}
.events {
  margin-top: 18px;
}
.event-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  background:
    linear-gradient(
      180deg,
      #fff 0%,
      #faf9f6 100%);
}
.event-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.event-card h4 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.1;
  font-weight: 700;
}
.event-card p {
  margin: 0 0 14px;
  color: #4d4a45;
  line-height: 1.6;
}
.event-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 12px 20px;
}
.event-meta div span {
  display: block;
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.event-meta div strong,
.event-meta div small {
  color: var(--text);
  font-size: .96rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 700;
}
.badge--primary {
  background: rgba(var(--primary-rgb, 123,89,0), .1);
  color: var(--udp-blue);
}
.badge--success {
  background: rgba(29, 143, 97, .12);
  color: var(--success);
}
.badge--warning {
  background: rgba(255, 238, 0, .28);
  color: #7d6400;
}
.badge--danger {
  background: rgba(255, 91, 77, .12);
  color: var(--udp-red);
}
.event-card__actions {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.action-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
}
.action-btn--edit {
  color: var(--udp-blue);
}
.action-btn--warning {
  color: var(--warning);
}
.action-btn--success {
  color: var(--success);
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.activity-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}
.activity-item__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--udp-blue);
  margin-top: 7px;
  box-shadow: 0 0 0 6px rgba(var(--primary-rgb, 123,89,0), .12);
}
.activity-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: .96rem;
}
.activity-item span {
  color: var(--text-muted);
  font-size: .85rem;
}
.quick-link {
  font-weight: 600;
}
.quick-link strong {
  color: var(--udp-blue);
}
.form-panel {
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface-alt);
}
.form-panel__header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  background: #fff;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.form-panel__header h4,
.form-section__intro h5 {
  margin: 0 0 6px;
}
.form-panel__header p,
.form-section__intro p {
  margin: 0;
  color: var(--text-muted);
}
.form-main {
  padding: 22px;
  display: grid;
  gap: 22px;
}
.form-section {
  display: grid;
  gap: 16px;
}
.form-section + .form-section {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.form-grid {
  display: grid;
  gap: 16px;
}
.form-grid--2 {
  grid-template-columns: repeat(2, minmax(240px, 1fr));
}
.form-grid--3 {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}
.form-grid--4 {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
}
.form-field {
  display: grid;
  gap: 8px;
}
.form-field--required > span::after {
  content: " *";
  color: #c93636;
  font-weight: 700;
}
.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  padding: 0 14px;
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background-color .18s ease;
}
.form-field input,
.form-field select {
  height: 48px;
}
.form-field textarea {
  padding: 14px;
  resize: vertical;
}
.form-field :is(input, textarea):focus,
.form-field :is(input, textarea):focus-visible {
  outline: none;
  border-color: rgba(var(--primary-rgb, 123,89,0), .42);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 123,89,0), .12);
}
.form-field :is(input, select, textarea).is-invalid {
  border-color: #c93636 !important;
  box-shadow: 0 0 0 3px rgba(201, 54, 54, .14) !important;
}
.form-field .form-note--error {
  margin: 0;
  color: #9a1f1f;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.24;
}
select {
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background-color .18s ease;
}
select[multiple],
select[size] {
  scrollbar-width: thin;
  scrollbar-color: var(--select-scroll-thumb) var(--select-scroll-track);
}
select[multiple]::-webkit-scrollbar,
select[size]::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
select[multiple]::-webkit-scrollbar-track,
select[size]::-webkit-scrollbar-track {
  background: var(--select-scroll-track);
  border-radius: 999px;
}
select[multiple]::-webkit-scrollbar-thumb,
select[size]::-webkit-scrollbar-thumb {
  background:
    linear-gradient(
      180deg,
      #c1c8dd,
      var(--select-scroll-thumb));
  border-radius: 999px;
  border: 2px solid var(--select-scroll-track);
}
select[multiple]::-webkit-scrollbar-thumb:hover,
select[size]::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(
      180deg,
      #aeb8d1,
      var(--select-scroll-thumb-hover));
}
select:focus-visible {
  outline: none;
}
.ui-select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.ui-custom-select-host {
  position: relative;
}
.ui-custom-select-host::after {
  display: none !important;
}
.ui-custom-select {
  position: relative;
  width: 100%;
}
.ui-custom-select__trigger {
  width: 100%;
  min-height: 40px;
  border: 1px solid #BFCBFA;
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  font-size: .9rem;
  line-height: 1;
  cursor: pointer;
}
.ui-custom-select__trigger[disabled] {
  background: #f3f4f6;
  color: var(--text-soft);
  cursor: not-allowed;
}
.ui-custom-select__value {
  min-width: 0;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ui-custom-select__chevron {
  color: var(--text-muted);
  font-size: .75rem;
  line-height: 1;
  transition: transform .16s ease;
}
.ui-custom-select.is-open .ui-custom-select__chevron {
  transform: rotate(180deg);
}
.ui-custom-select__trigger:focus-visible {
  outline: none;
  border-color: var(--udp-blue);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 123,89,0), .18);
}
.ui-custom-select__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  border: 1px solid #CFD8FB;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 26px rgba(50, 94, 241, .16);
  overflow: hidden;
  z-index: 50;
}
.ui-custom-select__search-wrap {
  padding: 8px 10px;
  border-bottom: 1px solid #E4E9FA;
  background: #F7F9FF;
}
.ui-custom-select__search {
  width: 100%;
  min-height: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(var(--primary-rgb, 123,89,0), .35);
  background: #fff;
  color: var(--text);
  padding: 0 12px;
  font-size: .82rem;
}
.ui-custom-select__search:focus-visible {
  outline: none;
  border-color: var(--udp-blue);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 123,89,0), .16);
}
.ui-custom-select__options {
  max-height: 220px;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  scrollbar-width: thin;
  scrollbar-color: var(--select-scroll-thumb) var(--select-scroll-track);
  scrollbar-gutter: stable;
}
.ui-custom-select__options::-webkit-scrollbar {
  width: 10px;
}
.ui-custom-select__options::-webkit-scrollbar-track {
  background: var(--select-scroll-track);
  border-radius: 999px;
}
.ui-custom-select__options::-webkit-scrollbar-thumb {
  background:
    linear-gradient(
      180deg,
      #c1c8dd,
      var(--select-scroll-thumb));
  border-radius: 999px;
  border: 2px solid var(--select-scroll-track);
}
.ui-custom-select__options::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(
      180deg,
      #aeb8d1,
      var(--select-scroll-thumb-hover));
}
.ui-custom-select__option {
  width: 100%;
  display: block;
  border: none;
  border-bottom: 1px solid #edf1f8;
  background: #fff;
  color: var(--text);
  text-align: left;
  padding: 6px 12px;
  font-size: .82rem;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: normal;
  overflow-wrap: normal;
  writing-mode: horizontal-tb;
  cursor: pointer;
}
.ui-custom-select__option:last-child {
  border-bottom: none;
}
.ui-custom-select__option:hover {
  background: rgba(var(--primary-rgb, 123,89,0), .08);
}
.ui-custom-select__option.is-selected {
  background: rgba(var(--primary-rgb, 123,89,0), .14);
  color: var(--udp-blue-700);
  font-weight: 700;
}
.ui-custom-select__option:disabled {
  color: #99a5be;
  background: #f8f9fc;
  cursor: not-allowed;
}
.ui-custom-select__empty {
  margin: 0;
  padding: 10px 12px;
  color: #5f6f8e;
  font-size: .8rem;
}
.form-field select {
  background-clip: padding-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
}
.form-field select:focus,
.form-field select:focus-visible {
  border-color: rgba(var(--primary-rgb, 123,89,0), .42);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 123,89,0), .12), inset 0 1px 0 rgba(255, 255, 255, .72);
}
.form-field select:open {
  border-color: rgba(var(--primary-rgb, 123,89,0), .42);
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb, 123,89,0), .12), inset 0 1px 0 rgba(255, 255, 255, .72);
}
.form-field select option,
.form-field select optgroup {
  background: #fff;
  color: var(--text);
}
select option {
  padding: var(--select-option-padding-y) var(--select-option-padding-x);
  line-height: 1.1;
}
.toolbar-filter-select select,
.category-header-filter select,
#agendaDayPanel .agenda-filter select {
  background-clip: padding-box;
}
.toolbar-filter-select select:open,
.category-header-filter select:open,
#agendaDayPanel .agenda-filter select:open {
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb, 123,89,0), .12);
}
.recurrence-box {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px dashed var(--border);
  border-radius: 18px;
  background: #fff;
}
.recurrence-box__toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}
.form-offcanvas[hidden] {
  display: none;
}
.form-offcanvas {
  position: fixed;
  inset: 0;
  z-index: 140;
  pointer-events: none;
}
.form-offcanvas.is-open {
  pointer-events: auto;
}
.form-offcanvas__backdrop {
  position: absolute;
  inset: 0;
  background: var(--offcanvas-backdrop);
  opacity: 0;
  transition: opacity .24s ease;
}
.form-offcanvas__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(920px, 100vw);
  border-left: 1px solid var(--offcanvas-border);
  background: var(--offcanvas-surface);
  box-shadow: none;
  transform: translateX(100%);
  transition: transform .28s ease;
  display: grid;
  grid-template-rows: auto 1fr;
}
.form-offcanvas.is-open .form-offcanvas__backdrop {
  opacity: 1;
}
.form-offcanvas.is-open .form-offcanvas__panel {
  transform: translateX(0);
  box-shadow: var(--offcanvas-shadow);
}
.form-offcanvas__header {
  position: sticky;
  top: 0;
  z-index: 2;
}
.form-offcanvas__header.form-panel__header {
  background:
    linear-gradient(
      135deg,
      var(--udp-black) 0%,
      var(--brand-gradient-mid) 100%);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.form-offcanvas__header .mono {
  color: rgba(255, 255, 255, .8);
}
.form-offcanvas__header h4,
.form-offcanvas__header h5 {
  color: #fff;
}
.form-offcanvas__header p {
  color: rgba(255, 255, 255, .82);
}
.form-main--offcanvas {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 22px;
  display: grid;
  gap: 22px;
}
#portalPasswordOffcanvas .form-grid--2 {
  grid-template-columns: 1fr;
}
#portalPasswordOffcanvas .form-offcanvas__panel {
  width: min(440px, 100vw);
  background: #f8faff !important;
}
#portalPasswordOffcanvas .form-main--offcanvas {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff !important;
  padding: 10px;
  gap: 8px;
}
#portalPasswordOffcanvas .form-section,
#portalPasswordOffcanvas .form-actions--sticky {
  width: min(100%, 372px);
}
#portalPasswordOffcanvas .form-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
}
#portalPasswordOffcanvas .form-panel__header > div {
  min-width: 0;
}
#portalPasswordOffcanvas .form-panel__header h4 {
  margin: 0 0 2px;
  font-size: 1rem;
  line-height: 1.2;
}
#portalPasswordOffcanvas .form-panel__header p {
  font-size: .82rem;
  line-height: 1.25;
}
#portalPasswordOffcanvas .form-section {
  gap: 8px;
}
#portalPasswordOffcanvas .form-grid {
  gap: 8px;
}
#portalPasswordOffcanvas .form-field {
  gap: 4px;
}
#portalPasswordOffcanvas .form-field input,
#portalPasswordOffcanvas .form-field select {
  height: 38px;
  padding: 0 10px;
}
.portal-password-offcanvas__close {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 1.06rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
  margin-left: auto;
  transition: background .18s ease, border-color .18s ease;
}
.portal-password-offcanvas__close:hover {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .44);
}
.portal-password-offcanvas__close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .58);
  outline-offset: 2px;
}
#portalPasswordOffcanvas .form-actions--sticky {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: flex-end;
  align-self: center;
  margin-top: auto;
  gap: 8px;
  overflow-x: auto;
  border-top: 1px solid rgba(50, 94, 241, .14);
  background: #f8faff !important;
}
#portalPasswordOffcanvas .form-feedback {
  flex: 0 0 auto;
  width: fit-content;
  align-self: center;
}
#portalPasswordOffcanvas .form-actions--sticky .btn {
  width: auto !important;
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 38px;
  height: 38px;
  border-radius: 14px;
  font-weight: 700;
  padding: 0 14px;
}
#staffOffcanvas .form-offcanvas__panel,
#unitOffcanvas .form-offcanvas__panel,
#categoryOffcanvas .form-offcanvas__panel {
  width: min(500px, 100vw);
}
#staffOffcanvas .form-panel__header,
#unitOffcanvas .form-panel__header,
#categoryOffcanvas .form-panel__header {
  padding: 12px 16px;
}
#staffOffcanvas .form-grid--2,
#staffOffcanvas .form-grid--3,
#staffOffcanvas .form-grid--4,
#unitOffcanvas .form-grid--2,
#unitOffcanvas .form-grid--3,
#unitOffcanvas .form-grid--4,
#categoryOffcanvas .form-grid--2,
#categoryOffcanvas .form-grid--3,
#categoryOffcanvas .form-grid--4 {
  grid-template-columns: 1fr;
}
#staffOffcanvas .form-main--offcanvas,
#unitOffcanvas .form-main--offcanvas,
#categoryOffcanvas .form-main--offcanvas {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 10px;
  gap: 8px;
}
#staffOffcanvas .form-section,
#unitOffcanvas .form-section,
#categoryOffcanvas .form-section {
  width: min(100%, 430px);
  max-width: 100%;
  gap: 8px;
  overflow: visible;
}
#staffOffcanvas .form-grid,
#unitOffcanvas .form-grid,
#categoryOffcanvas .form-grid {
  gap: 8px;
}
#staffOffcanvas .form-field,
#unitOffcanvas .form-field,
#categoryOffcanvas .form-field {
  gap: 4px;
}
#staffOffcanvas .form-field,
#staffOffcanvas .form-field input,
#staffOffcanvas .form-field select,
#staffOffcanvas .form-field textarea,
#unitOffcanvas .form-field,
#unitOffcanvas .form-field input,
#unitOffcanvas .form-field select,
#unitOffcanvas .form-field textarea,
#categoryOffcanvas .form-field,
#categoryOffcanvas .form-field input,
#categoryOffcanvas .form-field select,
#categoryOffcanvas .form-field textarea {
  min-width: 0;
  width: 100%;
}
#staffOffcanvas .form-field input,
#staffOffcanvas .form-field select,
#unitOffcanvas .form-field input,
#unitOffcanvas .form-field select,
#categoryOffcanvas .form-field input,
#categoryOffcanvas .form-field select {
  height: 38px;
  padding: 0 9px;
}
#staffOffcanvas .form-field textarea,
#unitOffcanvas .form-field textarea,
#categoryOffcanvas .form-field textarea {
  padding: 8px 9px;
}
#unitDescription {
  min-height: 56px;
  max-height: 56px;
  resize: none;
}
#categoryDescription {
  min-height: 56px;
  max-height: 56px;
  resize: none;
}
#staffOffcanvas .form-actions--sticky,
#unitOffcanvas .form-actions--sticky,
#categoryOffcanvas .form-actions--sticky {
  width: min(100%, 430px);
  max-width: 100%;
  box-sizing: border-box;
  align-self: center;
  position: static;
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
  flex-wrap: nowrap;
  align-items: center;
  padding-right: 0;
  padding-top: 6px;
  border-top: 1px solid var(--border);
  background: transparent;
  gap: 8px;
}
#staffOffcanvas .form-feedback,
#unitOffcanvas .form-feedback,
#categoryOffcanvas .form-feedback {
  flex: 1 1 auto;
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 0 auto 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#staffOffcanvas .form-actions--sticky .btn,
#unitOffcanvas .form-actions--sticky .btn,
#categoryOffcanvas .form-actions--sticky .btn {
  flex: 0 0 auto;
  min-height: 38px;
  height: 38px;
  width: auto;
  white-space: nowrap;
}
#staffOffcanvas .form-field span,
#unitOffcanvas .form-field span,
#categoryOffcanvas .form-field span {
  font-size: .86rem;
  line-height: 1.1;
}
.form-actions--sticky {
  position: sticky;
  bottom: 0;
  z-index: 2;
  background: var(--surface-alt);
  padding-top: 10px;
}
.form-actions--sticky .btn {
  min-height: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.confirm-offcanvas[hidden] {
  display: none;
}
.confirm-offcanvas {
  position: fixed;
  inset: 0;
  z-index: 141;
  pointer-events: none;
}
.confirm-offcanvas.is-open {
  pointer-events: auto;
}
.confirm-offcanvas__backdrop {
  position: absolute;
  inset: 0;
  background: var(--offcanvas-backdrop);
  opacity: 0;
  transition: opacity .24s ease;
}
.confirm-offcanvas__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(440px, 100vw);
  height: 100%;
  border-left: 1px solid var(--offcanvas-border);
  background: var(--offcanvas-surface);
  box-shadow: none;
  transform: translateX(100%);
  transition: transform .28s ease;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.confirm-offcanvas.is-open .confirm-offcanvas__backdrop {
  opacity: 1;
}
.confirm-offcanvas.is-open .confirm-offcanvas__panel {
  transform: translateX(0);
  box-shadow: var(--offcanvas-shadow);
}
.confirm-offcanvas__header {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  background:
    linear-gradient(
      135deg,
      var(--udp-black) 0%,
      var(--brand-gradient-mid) 100%);
  color: #fff;
}
.confirm-offcanvas__header h3 {
  margin: 8px 0 0;
  font-size: 1.35rem;
  line-height: 1.05;
}
.confirm-offcanvas__header .mono {
  color: rgba(255, 255, 255, .78);
}
.confirm-offcanvas__body {
  padding: 18px 20px;
  display: grid;
  align-content: start;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.confirm-offcanvas__body p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}
.confirm-offcanvas__actions {
  display: grid;
  gap: 10px;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border);
  background: var(--offcanvas-surface-strong);
}
.form-feedback {
  flex: 1 1 100%;
  margin: 0;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #f4c9c9;
  background: #fff4f4;
  color: #8a1c1c;
  font-size: .88rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.form-feedback[data-type=success] {
  border-color: #cde6da;
  background: #f4fbf7;
  color: var(--success);
}
.module-feedback {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #cde6da;
  background: #f4fbf7;
  color: var(--success);
  font-size: .9rem;
  line-height: 1.35;
}
.module-feedback[data-type=error] {
  border-color: #f4c9c9;
  background: #fff4f4;
  color: #8a1c1c;
}
.table-like {
  display: grid;
  gap: 14px;
  overflow-x: auto;
}
.table-row {
  display: grid;
  grid-template-columns: minmax(240px, 2fr) minmax(180px, 1fr) minmax(140px, .8fr) minmax(140px, .8fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  min-width: 980px;
}
.table-row > div {
  min-width: 0;
}
.table-row strong {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.table-row span {
  display: block;
  color: var(--text-muted);
  font-size: .9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.empty-note {
  padding: 16px 18px;
  border: 1px dashed var(--border);
  border-radius: 18px;
  color: var(--text-muted);
  background: #fff;
}
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .42);
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
  z-index: 25;
}
.overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.admin-floating-summary {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 35;
  transform: translateY(-50%) translateX(100%);
  transition: transform .28s ease;
}
.admin-floating-summary:hover,
.admin-floating-summary:focus-within {
  transform: translateY(-50%) translateX(0);
}
.admin-floating-summary__handle {
  position: absolute;
  left: -50px;
  top: 34px;
  width: 50px;
  height: 180px;
  border: none;
  border-radius: 16px 0 0 16px;
  background: var(--udp-black);
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .02em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 10px 0;
}
.admin-floating-summary__panel {
  width: min(360px, 86vw);
  border: 1px solid rgba(255, 255, 255, .18);
  border-right: none;
  border-radius: 18px 0 0 18px;
  background:
    linear-gradient(
      135deg,
      var(--udp-black) 0%,
      var(--brand-gradient-mid) 40%,
      var(--brand-gradient-end) 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .28);
  padding: 16px;
  display: grid;
  gap: 12px;
}
.admin-floating-summary__eyebrow {
  color: rgba(255, 255, 255, .8);
}
.admin-floating-summary__panel h2 {
  margin: 0;
  font-size: 1.32rem;
  line-height: 1.1;
}
.admin-floating-summary__panel p {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: .9rem;
  line-height: 1.45;
}
.admin-floating-summary__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.admin-floating-summary__stat {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  padding: 10px;
  display: grid;
  gap: 4px;
}
.admin-floating-summary__stat span {
  color: rgba(255, 255, 255, .82);
  font-size: .78rem;
}
.admin-floating-summary__stat strong {
  font-size: 1.2rem;
  line-height: 1;
}
.admin-floating-summary__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.admin-floating-summary__actions .btn {
  min-height: 36px;
  height: 36px;
  padding: 0 12px;
  font-size: .84rem;
}
.admin-floating-summary__actions .btn--ghost {
  border: 1px solid rgba(255, 255, 255, .2);
}
.admin-floating-quick {
  position: fixed;
  top: 76%;
  right: 0;
  z-index: 34;
  transform: translateY(-50%) translateX(100%);
  transition: transform .28s ease;
}
.admin-floating-quick:hover,
.admin-floating-quick:focus-within {
  transform: translateY(-50%) translateX(0);
}
.admin-floating-quick__handle {
  position: absolute;
  left: -50px;
  top: 24px;
  width: 50px;
  height: 170px;
  border: none;
  border-radius: 16px 0 0 16px;
  background: var(--udp-blue);
  color: #fff;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .02em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 10px 0;
}
.admin-floating-quick__panel {
  width: min(340px, 84vw);
  border: 1px solid rgba(28, 28, 28, .08);
  border-right: none;
  border-radius: 18px 0 0 18px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .2);
  padding: 14px;
  display: grid;
  gap: 10px;
}
.admin-floating-quick__eyebrow {
  color: var(--text-muted);
}
.admin-floating-quick__panel h2 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.1;
}
.admin-floating-quick__panel p {
  margin: 0;
  color: var(--text-soft);
  font-size: .86rem;
}
.admin-floating-quick__panel .quick-links--floating {
  display: grid;
  gap: 8px;
}
.admin-floating-quick__panel .quick-link--floating {
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
}
.admin-floating-quick__panel .quick-link--floating:hover {
  border-color: rgba(var(--primary-rgb, 123,89,0), .35);
  background: #fff;
}
.admin-floating-quick__panel .quick-link--floating strong {
  color: var(--udp-blue);
}
body[data-portal=personal] {
  overflow-x: hidden;
}
body[data-portal=personal] .layout,
body[data-portal=personal] .main,
body[data-portal=personal] .content,
body[data-portal=personal] .panel,
body[data-portal=personal] .panel__body,
body[data-portal=personal] .toolbar,
body[data-portal=personal] .toolbar__filters {
  min-width: 0;
  max-width: 100%;
}
body[data-portal=personal] .table-like,
body[data-portal=personal] .staff-table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
@media (min-width: 921px) and (max-width: 1320px) {
  body[data-portal=personal] .header {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px 12px;
  }
  body[data-portal=personal] .header__left,
  body[data-portal=personal] .header__right {
    flex: 1 1 320px;
    min-width: 0;
  }
  body[data-portal=personal] .header__right {
    justify-content: flex-end;
    flex-wrap: wrap;
  }
  body[data-portal=personal] .search {
    min-width: 0;
    width: min(100%, 340px);
  }
  body[data-portal=personal] .user-chip {
    min-width: 0;
    max-width: 100%;
  }
  body[data-portal=personal] .user-chip__info {
    min-width: 0;
  }
  body[data-portal=personal] .user-chip__info strong,
  body[data-portal=personal] .user-chip__info span {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
@media (max-width: 1180px) {
  .dashboard-grid,
  .hero,
  .summary-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 920px) {
  .admin-floating-summary,
  .admin-floating-quick {
    display: none !important;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(88vw, 320px);
    transform: translateX(-100%);
    transition: .28s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
  }
  .sidebar.is-open {
    transform: translateX(0);
  }
  .sidebar__close,
  .header__menu-btn {
    display: grid;
  }
  .header {
    padding: 14px 16px;
  }
  .content {
    padding: 4px;
  }
  .search {
    min-width: 0;
    width: 100%;
  }
  .header__right {
    flex: 1;
  }
  .dashboard-grid,
  .summary-grid,
  .event-meta,
  .kpi-grid,
  .form-grid--2,
  .form-grid--3,
  .form-grid--4 {
    grid-template-columns: 1fr;
  }
  .brand__logo--image {
    width: 96px;
    height: 34px;
  }
}
@media (max-width: 680px) {
  .ui-custom-select__trigger {
    min-height: 36px;
    border-radius: 12px;
    padding: 0 10px;
    font-size: .8rem;
  }
  .ui-custom-select__panel {
    border-radius: 14px;
  }
  .ui-custom-select__search-wrap {
    padding: 8px;
  }
  .ui-custom-select__search {
    min-height: 32px;
    height: 32px;
    font-size: .78rem;
    padding: 0 10px;
  }
  .ui-custom-select__option {
    padding: 6px 10px;
    font-size: .78rem;
  }
  body[data-page=inicio] .panel__header,
  body[data-page=eventos] .panel__header,
  body[data-page=asistencia] .panel__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
  }
  body[data-page=inicio] .panel__title,
  body[data-page=eventos] .panel__title,
  body[data-page=asistencia] .panel__title {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
  }
  body[data-page=inicio] .panel__actions--agenda-header,
  body[data-page=inicio] .panel__actions--shared-search,
  body[data-page=eventos] .panel__actions--shared-search,
  body[data-page=asistencia] .panel__actions--shared-search {
    order: 2;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 0;
    min-width: 0;
  }
  body[data-page=inicio] .panel__actions--agenda-header .panel-search,
  body[data-page=inicio] .panel__actions--shared-search .panel-search,
  body[data-page=eventos] .panel__actions--shared-search .panel-search,
  body[data-page=asistencia] .panel__actions--shared-search .panel-search {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: 36px;
    padding: 0 10px;
    border-radius: 12px;
    box-shadow: none;
  }
  body[data-page=inicio] .panel__actions--agenda-header .panel-search input,
  body[data-page=inicio] .panel__actions--shared-search .panel-search input,
  body[data-page=eventos] .panel__actions--shared-search .panel-search input,
  body[data-page=asistencia] .panel__actions--shared-search .panel-search input {
    min-width: 0;
  }
  body[data-page=inicio] .panel__actions--agenda-header #agendaRefreshButton {
    flex: 0 0 auto;
  }
  .admin-floating-summary {
    top: auto;
    bottom: 18px;
    transform: translateY(0) translateX(100%);
  }
  .admin-floating-summary:hover,
  .admin-floating-summary:focus-within {
    transform: translateY(0) translateX(0);
  }
  .admin-floating-summary__panel {
    width: min(320px, 88vw);
  }
  .header {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px 10px;
    padding: 12px 16px 10px;
  }
  .header__left {
    order: 1;
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 56px;
  }
  .header__right {
    display: contents;
  }
  .header .notification-btn {
    order: 2;
    margin-left: 0;
    position: absolute;
    top: 10px;
    right: 16px;
    z-index: 2;
  }
  .header .search {
    order: 3;
    width: 100%;
    flex: 1 0 100%;
    min-width: 0;
    margin-top: 0;
  }
  body[data-page=inicio] #searchToggleBtn,
  body[data-page=eventos] #searchToggleBtn,
  body[data-page=asistencia] #searchToggleBtn {
    display: none !important;
  }
  body[data-page=inicio] .header__left,
  body[data-page=eventos] .header__left,
  body[data-page=asistencia] .header__left {
    padding-right: 0;
  }
  .header__title h1 {
    font-size: 1.3rem;
  }
  .header__title p {
    margin-top: 4px;
    font-size: .85rem;
  }
  .user-chip {
    display: none;
  }
  .header__mobile-user {
    display: block;
  }
  body[data-staff-mobile-nav] .content {
    padding: 4px 4px calc(88px + env(safe-area-inset-bottom)) 4px;
  }
  .staff-mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 125;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(248, 247, 243, .95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
  }
  .staff-mobile-nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 50px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    color: var(--text-soft);
    font-weight: 700;
    font-size: .68rem;
    line-height: 1;
    text-align: center;
    cursor: pointer;
  }
  .staff-mobile-nav__icon {
    font-size: 1.02rem;
    line-height: 1;
  }
  .staff-mobile-nav__label {
    line-height: 1.05;
  }
  .staff-mobile-nav__link--active {
    border-color: rgba(var(--primary-rgb, 123,89,0), .35);
    background: rgba(var(--primary-rgb, 123,89,0), .1);
    color: var(--udp-blue);
  }
  .staff-mobile-nav__link--logout {
    border-color: rgba(255, 91, 77, .35);
    color: var(--danger);
    background: #fff;
  }
  .hero,
  .panel__body,
  .panel__header {
    padding-left: 16px;
    padding-right: 16px;
  }
  .toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .toolbar .btn,
  .form-actions .btn {
    width: 100%;
  }
  #toggleEventForm,
  #toggleCategoryForm,
  #toggleBlockForm,
  #toggleUnitForm,
  #toggleStaffForm,
  #toggleBlacklistForm {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    font-size: 0;
    line-height: 1;
  }
  #toggleEventForm::before,
  #toggleCategoryForm::before,
  #toggleBlockForm::before,
  #toggleUnitForm::before,
  #toggleStaffForm::before,
  #toggleBlacklistForm::before {
    content: "+";
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
  }
  .form-offcanvas__panel {
    width: 100vw;
  }
  .confirm-offcanvas__panel {
    width: 100vw;
  }
  .form-main--offcanvas {
    padding: 16px;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .form-actions--sticky {
    padding-top: 8px;
  }
  .form-actions--sticky .btn {
    width: 100%;
  }
  .confirm-offcanvas__actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
  }
  .form-actions--sticky {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
  }
  .form-actions--sticky .form-feedback {
    flex: 1 1 100%;
    width: 100%;
    order: -1;
    margin: 0 0 6px;
  }
  .form-offcanvas .btn[data-mobile-icon],
  .event-offcanvas .btn[data-mobile-icon],
  .confirm-offcanvas .btn[data-mobile-icon],
  .user-offcanvas .btn[data-mobile-icon],
  .attendance-offcanvas .btn[data-mobile-icon],
  .user-offcanvas .user-offcanvas__close[data-mobile-icon] {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    font-size: 0;
    line-height: 1;
    white-space: nowrap;
  }
  .form-offcanvas .btn[data-mobile-icon]::before,
  .event-offcanvas .btn[data-mobile-icon]::before,
  .confirm-offcanvas .btn[data-mobile-icon]::before,
  .user-offcanvas .btn[data-mobile-icon]::before,
  .attendance-offcanvas .btn[data-mobile-icon]::before,
  .user-offcanvas .user-offcanvas__close[data-mobile-icon]::before {
    content: attr(data-mobile-icon-fallback);
    font-size: 1.08rem;
    line-height: 1;
  }
  .form-offcanvas .btn[data-mobile-icon=save-outline]::before,
  .event-offcanvas .btn[data-mobile-icon=save-outline]::before,
  .confirm-offcanvas .btn[data-mobile-icon=save-outline]::before,
  .user-offcanvas .btn[data-mobile-icon=save-outline]::before,
  .attendance-offcanvas .btn[data-mobile-icon=save-outline]::before {
    content: "";
    width: 17px;
    height: 17px;
    border: 2px solid currentColor;
    border-radius: 3px;
    box-sizing: border-box;
    background: linear-gradient(currentColor, currentColor) 50% 24% / 8px 2px no-repeat, linear-gradient(currentColor, currentColor) 50% 70% / 7px 5px no-repeat;
  }
  .form-offcanvas .btn[data-mobile-icon] .mobile-action-icon,
  .event-offcanvas .btn[data-mobile-icon] .mobile-action-icon,
  .confirm-offcanvas .btn[data-mobile-icon] .mobile-action-icon,
  .user-offcanvas .btn[data-mobile-icon] .mobile-action-icon,
  .attendance-offcanvas .btn[data-mobile-icon] .mobile-action-icon,
  .user-offcanvas .user-offcanvas__close[data-mobile-icon] .mobile-action-icon {
    display: none;
    font-size: 1.08rem;
    line-height: 1;
  }
  .ionicons-ready .form-offcanvas .btn[data-mobile-icon]::before,
  .ionicons-ready .event-offcanvas .btn[data-mobile-icon]::before,
  .ionicons-ready .confirm-offcanvas .btn[data-mobile-icon]::before,
  .ionicons-ready .user-offcanvas .btn[data-mobile-icon]::before,
  .ionicons-ready .attendance-offcanvas .btn[data-mobile-icon]::before,
  .ionicons-ready .user-offcanvas .user-offcanvas__close[data-mobile-icon]::before {
    content: none;
  }
  .ionicons-ready .form-offcanvas .btn[data-mobile-icon] .mobile-action-icon,
  .ionicons-ready .event-offcanvas .btn[data-mobile-icon] .mobile-action-icon,
  .ionicons-ready .confirm-offcanvas .btn[data-mobile-icon] .mobile-action-icon,
  .ionicons-ready .user-offcanvas .btn[data-mobile-icon] .mobile-action-icon,
  .ionicons-ready .attendance-offcanvas .btn[data-mobile-icon] .mobile-action-icon,
  .ionicons-ready .user-offcanvas .user-offcanvas__close[data-mobile-icon] .mobile-action-icon {
    display: block;
  }
  .ionicons-ready .user-offcanvas .btn[data-mobile-icon]::before,
  .ionicons-ready .user-offcanvas .user-offcanvas__close[data-mobile-icon]::before {
    content: attr(data-mobile-icon-fallback);
  }
  .ionicons-ready .form-offcanvas .btn[data-mobile-icon=save-outline]::before,
  .ionicons-ready .event-offcanvas .btn[data-mobile-icon=save-outline]::before,
  .ionicons-ready .confirm-offcanvas .btn[data-mobile-icon=save-outline]::before,
  .ionicons-ready .user-offcanvas .btn[data-mobile-icon=save-outline]::before,
  .ionicons-ready .attendance-offcanvas .btn[data-mobile-icon=save-outline]::before {
    content: "";
  }
  .ionicons-ready .user-offcanvas .btn[data-mobile-icon] .mobile-action-icon,
  .ionicons-ready .user-offcanvas .user-offcanvas__close[data-mobile-icon] .mobile-action-icon {
    display: none;
  }
  .event-card,
  .schedule-item,
  .module-item,
  .quick-link {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
  .event-card__actions {
    justify-content: flex-end;
    width: 100%;
  }
  .hero__actions {
    flex-direction: column;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .mini-card strong {
    font-size: 1.4rem;
  }
}
@media (min-width: 921px) and (max-height: 860px) {
  body.portal-admin-context .sidebar__header {
    padding: 16px 15px 20px;
  }
  body[data-portal=personal] .sidebar__header {
    padding-bottom: 20px;
  }
  body.portal-admin-context .brand__logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  body.portal-admin-context .brand__logo--image,
  body[data-portal=personal] .brand__logo--image,
  body[data-user-page] .brand__logo--image {
    width: 100%;
    max-width: none;
    height: 46px;
  }
  body.portal-admin-context .brand__text strong {
    font-size: .88rem;
  }
  body.portal-admin-context .brand__text span {
    font-size: .72rem;
  }
  body.portal-admin-context .nav {
    padding: 10px 8px;
  }
  body.portal-admin-context .nav__list {
    gap: 4px;
  }
  body.portal-admin-context .nav__link {
    padding: 10px 12px;
    font-size: .92rem;
  }
  body.portal-admin-context .sidebar__footer {
    padding: 10px 9px 11px;
  }
  body.portal-admin-context .logout-btn {
    padding: 10px 13px;
    border-radius: 11px;
    font-size: .9rem;
  }
  body.portal-admin-context .logout-btn + .logout-btn {
    margin-top: 6px;
  }
}

/* src/styles/auth.css */
.auth-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-primary,"ABC Arizona Flare",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);
  background:
    radial-gradient(
      circle at 12% 10%,
      rgba(var(--primary-rgb, 123,89,0), .1),
      transparent 26%),
    radial-gradient(
      circle at 86% 8%,
      rgba(29, 143, 97, .12),
      transparent 22%),
    linear-gradient(
      180deg,
      #f7f5f1 0%,
      #efebe4 100%);
  color: var(--text, #1f1f1f);
}
.auth-site-header {
  width: 100%;
  background: #161616;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}
.auth-site-header__inner {
  width: min(100%, 1720px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 20px;
}
.auth-site-header__brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 420px;
  min-width: 320px;
  flex: 0 0 auto;
}
.auth-site-header__brand img {
  width: 100%;
  max-width: 420px;
  height: 84px;
  object-fit: contain;
  object-position: left center;
}
.auth-site-header__nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.auth-site-header__nav a {
  color: rgba(255, 255, 255, .9);
  font-size: .94rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  padding: 7px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.auth-site-header__nav a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, .7);
}
.auth-site-header__contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  font-weight: 700;
  line-height: 1;
  flex: 0 0 auto;
  transition:
    transform .2s ease,
    background .2s ease,
    border-color .2s ease;
}
.auth-site-header__contact:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .5);
  transform: translateY(-1px);
}
.auth-layout {
  min-height: 0;
  flex: 1 0 auto;
  width: min(100%, 1720px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 18px;
}
.auth-site-footer {
  width: 100%;
  margin-top: 10px;
  background: #161616;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.auth-site-footer__inner {
  width: min(100%, 1720px);
  margin: 0 auto;
  padding: 24px 20px 28px;
}
.auth-site-footer__brand-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 12px;
}
.auth-site-footer__brand {
  width: 420px;
  max-width: 100%;
}
.auth-site-footer__brand img {
  width: 100%;
  max-width: 420px;
  height: 82px;
  object-fit: contain;
  object-position: left center;
}
.auth-site-footer__copy {
  margin: 0 0 18px;
  font-size: .9rem;
  color: rgba(255, 255, 255, .82);
}
.auth-site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.auth-site-footer__unit {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .04);
  padding: 14px 16px;
}
.auth-site-footer__unit h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #fff;
}
.auth-site-footer__unit p {
  margin: 0 0 5px;
  font-size: .88rem;
  color: rgba(255, 255, 255, .85);
  line-height: 1.45;
}
.auth-site-footer__unit p:last-child {
  margin-bottom: 0;
}
.auth-site-footer__unit a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.auth-site-footer__unit a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, .65);
}
.auth-hero {
  grid-column: 1;
  grid-row: 1;
  padding: 42px;
  background:
    radial-gradient(
      circle at top left,
      rgba(var(--primary-rgb, 123,89,0), .12),
      transparent 28%),
    radial-gradient(
      circle at bottom right,
      rgba(29, 143, 97, .10),
      transparent 30%);
  display: flex;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 28px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .06);
}
.auth-hero__content {
  max-width: none;
  display: grid;
  gap: 14px;
}
.auth-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--udp-blue,#7B5900);
}
.auth-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
}
.auth-description {
  margin: 0;
  max-width: none;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-soft,#5f5a52);
}
.auth-description--secondary {
  font-size: .98rem;
  line-height: 1.62;
  color: #55524c;
}
.auth-minimal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 4px;
}
.auth-minimal-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(var(--primary-rgb, 123,89,0), .2);
  background: rgba(var(--primary-rgb, 123,89,0), .08);
  color: #384056;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.auth-platform-text-card {
  margin-top: 0;
  padding: 14px 16px;
  border: 1px solid rgba(var(--primary-rgb, 123,89,0), .24);
  border-radius: 16px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .04);
  max-height: none;
  overflow: visible;
}
.auth-platform-text-card p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.58;
  color: var(--text-soft,#5f5a52);
}
.auth-platform-text-card p + p {
  margin-top: 12px;
}
.auth-hero-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.auth-hero-media__card {
  display: grid;
  gap: 8px;
  align-content: space-between;
  min-height: 100px;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 16px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .04);
}
.auth-hero-media__card img {
  width: 100%;
  height: 38px;
  object-fit: contain;
  object-position: left center;
}
.auth-hero-media__card span {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-soft,#5f5a52);
  line-height: 1.3;
}
.auth-dae-overview {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
}
.auth-dae-overview p {
  margin: 0;
  color: var(--text-soft,#5f5a52);
  line-height: 1.6;
}
.auth-dae-overview strong {
  color: var(--text,#1f1f1f);
}
.auth-dae-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.auth-dae-points li {
  border: 1px solid rgba(var(--primary-rgb, 123,89,0), .2);
  background: rgba(var(--primary-rgb, 123,89,0), .08);
  color: #384056;
  border-radius: 14px;
  padding: 9px 12px;
  font-size: .9rem;
  line-height: 1.35;
}
.auth-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}
.auth-feature-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 22px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .04);
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}
.auth-feature-card:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--primary-rgb, 123,89,0), .26);
  box-shadow: 0 16px 24px rgba(var(--primary-rgb, 123,89,0), .09);
}
.auth-feature-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: #fff;
  font-size: 1.4rem;
  border: 1px solid rgba(0, 0, 0, .06);
}
.auth-feature-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}
.auth-feature-card p {
  margin: 0;
  color: var(--text-soft,#5f5a52);
  line-height: 1.6;
}
.auth-info-banner {
  border: 1px solid rgba(var(--primary-rgb, 123,89,0), .18);
  background: rgba(var(--primary-rgb, 123,89,0), .06);
  border-radius: 22px;
  padding: 18px 20px;
}
.auth-info-banner strong {
  display: block;
  margin-bottom: 6px;
}
.auth-info-banner p {
  margin: 0;
  line-height: 1.65;
  color: var(--text-soft,#5f5a52);
}
.auth-events-carousel {
  margin: 0;
  width: 100%;
  border-top: 1px solid rgba(0, 0, 0, .08);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  background: rgba(255, 255, 255, .92);
  padding: 12px 0;
  overflow: hidden;
}
.auth-events-carousel__header {
  margin: 0 auto 10px;
  max-width: 1400px;
  padding: 0 18px;
}
.auth-events-carousel__header h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.1;
}
.auth-events-carousel__viewport {
  overflow: hidden;
  width: 100%;
}
.auth-events-carousel__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: auth-events-scroll var(--auth-carousel-duration, 34s) linear infinite;
  will-change: transform;
}
.auth-events-carousel__viewport:hover .auth-events-carousel__track,
.auth-events-carousel__viewport:focus-within .auth-events-carousel__track {
  animation-play-state: paused;
}
.auth-events-carousel__group {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
  padding-right: 10px;
}
.auth-events-carousel__item {
  min-width: 250px;
  max-width: 250px;
  border: 1px solid var(--auth-unit-color-soft, rgba(0,0,0,.08));
  border-radius: 14px;
  background: #fff;
  padding: 10px 66px 10px 12px;
  display: grid;
  gap: 6px;
  position: relative;
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease,
    background .2s ease;
}
.auth-events-carousel__item:hover,
.auth-events-carousel__item:focus-within {
  border-color: var(--auth-unit-color, rgba(var(--primary-rgb, 123,89,0),.45));
  box-shadow: 0 10px 20px var(--auth-unit-color-soft, rgba(var(--primary-rgb, 123,89,0),.15));
  transform: translateY(-1px);
  background: #fdfdff;
}
.auth-events-carousel__item h4 {
  margin: 0;
  font-size: .92rem;
  line-height: 1.2;
}
.auth-events-carousel__unit-row {
  display: block;
}
.auth-events-carousel__unit-logo-wrap {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  border: 2px solid var(--auth-unit-color, rgba(var(--primary-rgb, 123,89,0),.45));
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-shadow: 0 4px 10px var(--auth-unit-color-soft, rgba(var(--primary-rgb, 123,89,0),.16));
}
.auth-events-carousel__unit-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.auth-events-carousel__unit-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.auth-events-carousel__meta {
  margin: 0;
  font-size: .77rem;
  line-height: 1.35;
  color: var(--text-soft,#5f5a52);
}
.auth-events-carousel__meta--with-icon {
  display: flex;
  align-items: center;
  gap: 6px;
}
.auth-events-carousel__meta-icon {
  width: 14px;
  min-width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text,#1f1f1f);
  opacity: .82;
}
.auth-events-carousel__meta-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.auth-events-carousel__meta--slots {
  font-weight: 700;
  color: var(--success);
}
.auth-events-carousel__meta--slots .auth-events-carousel__meta-icon {
  color: var(--success);
  opacity: 1;
}
.auth-events-carousel__share {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 32px;
  height: 32px;
  border: 1px solid #1ea854;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(37, 211, 102, .28);
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background-color .2s ease,
    border-color .2s ease;
  z-index: 2;
}
.auth-events-carousel__share:hover {
  transform: translateY(-1px);
  background: #1fb75a;
  border-color: #188c47;
  box-shadow: 0 8px 16px rgba(31, 183, 90, .32);
}
.auth-events-carousel__share:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, .28), 0 0 0 5px rgba(19, 109, 55, .25);
}
.auth-events-carousel__share-icon {
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.auth-events-carousel__share-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.auth-events-carousel__chips {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.auth-events-carousel__chip {
  border: 1px solid rgba(var(--primary-rgb, 123,89,0), .24);
  background: rgba(var(--primary-rgb, 123,89,0), .08);
  color: var(--udp-blue,#7B5900);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: .67rem;
  font-weight: 700;
  line-height: 1;
}
.auth-events-carousel__chip--success {
  border-color: rgba(29, 143, 97, .28);
  background: rgba(29, 143, 97, .12);
  color: var(--success);
}
.auth-events-carousel__action {
  margin-top: 3px;
  min-height: 32px;
  height: 32px;
  width: 118px;
  align-self: end;
  justify-self: center;
  border-radius: 10px;
  font-size: .76rem;
  text-align: center;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition: opacity .2s ease, transform .2s ease;
}
.auth-events-carousel__item:hover .auth-events-carousel__action,
.auth-events-carousel__item:focus-within .auth-events-carousel__action {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.auth-events-carousel__empty {
  border: 1px dashed var(--border,#d7d0c6);
  border-radius: 12px;
  background: #fff;
  color: var(--text-soft,#5f5a52);
  padding: 10px 12px;
  font-size: .9rem;
}
@keyframes auth-events-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.auth-panel {
  grid-column: 2;
  grid-row: 1;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 28px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .06);
  background: rgba(255, 255, 255, .58);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.auth-desktop-launcher {
  display: none;
}
.auth-login-backdrop {
  display: none;
}
.auth-login-offcanvas__topbar {
  display: none;
}
.auth-events-strip {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  padding: 0;
}
.auth-card {
  width: min(100%, 520px);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .08);
  padding: 26px;
}
.auth-tabs.auth-tabs--single-mode {
  grid-template-columns: 1fr;
}
.auth-card__header {
  margin-bottom: 20px;
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.auth-brand__logo {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  color: #fff;
  font-weight: 800;
  letter-spacing: .04em;
}
.auth-brand strong {
  display: block;
  margin-bottom: 2px;
}
.auth-brand span {
  color: var(--text-muted,#62572A);
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.auth-tab {
  border: 1px solid var(--border,#d7d0c6);
  background: #fcfbf8;
  border-radius: 16px;
  padding: 12px 14px;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  align-content: start;
  gap: 4px;
  text-align: left;
  min-height: 78px;
  transition:
    border-color .2s ease,
    background .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}
.auth-tab:hover {
  border-color: rgba(var(--primary-rgb, 123,89,0), .3);
  transform: translateY(-1px);
}
.auth-tab__title {
  display: block;
  font-size: .95rem;
  line-height: 1.1;
}
.auth-tab__meta {
  display: block;
  font-size: .77rem;
  color: var(--text-soft,#5f5a52);
  line-height: 1.25;
  font-weight: 600;
}
.auth-tab--active {
  background: rgba(var(--primary-rgb, 123,89,0), .09);
  border-color: rgba(var(--primary-rgb, 123,89,0), .28);
  color: var(--udp-blue,#7B5900);
  box-shadow: 0 8px 16px rgba(var(--primary-rgb, 123,89,0), .12);
}
.auth-tab-panel {
  display: none;
}
.auth-tab-panel--active {
  display: block;
}
.auth-panel-copy {
  margin-bottom: 18px;
}
.auth-panel-copy h2 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}
.auth-panel-copy p {
  margin: 0;
  line-height: 1.65;
  color: var(--text-soft,#5f5a52);
}
.auth-submit-btn {
  width: 100%;
}
.auth-password-input-wrap {
  position: relative;
}
.auth-form .form-field .auth-password-input-wrap input {
  width: 100%;
  padding-right: 44px;
}
.auth-password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #6a6546;
  cursor: pointer;
  padding: 0;
}
.auth-password-toggle:hover {
  background: rgba(123, 89, 0, .08);
}
.auth-password-toggle:focus-visible {
  outline: 2px solid rgba(123, 89, 0, .45);
  outline-offset: 1px;
}
.auth-password-toggle__icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
}
.auth-password-toggle__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.auth-password-toggle__icon--eye-off {
  display: none;
}
.auth-password-toggle.is-visible .auth-password-toggle__icon--eye {
  display: none;
}
.auth-password-toggle.is-visible .auth-password-toggle__icon--eye-off {
  display: inline-flex;
}
.auth-password-change-link {
  justify-self: end;
  font-size: .76rem;
  color: var(--text-soft,#5f5a52);
  text-decoration: none;
  font-weight: 500;
  opacity: .9;
}
.auth-password-change-link:hover {
  color: #4f4a42;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.auth-social-grid {
  display: grid;
  gap: 10px;
}
.auth-social-btn {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 6px;
  border: 1px solid #b9b9b9;
  background: #fff;
  color: #4a4a4a;
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: 0;
}
.auth-social-btn--google {
  border-color: #b9b9b9;
  background: #fff;
  color: #4a4a4a;
}
.auth-social-btn--google:hover {
  border-color: #9d9d9d;
  background: #fff;
}
.auth-social-btn--google.btn--secondary:not(:disabled):not([aria-disabled=true]):hover {
  border-color: #9d9d9d;
  background: #fff;
  color: #4a4a4a;
}
.auth-social-btn--outlook {
  border-color: #b9b9b9;
  background: #fff;
  color: #4a4a4a;
}
.auth-card[data-auth-active-mode=alumnos] #socialOutlookBtn {
  display: none !important;
}
.auth-card[data-auth-active-mode=funcionarios] #socialGoogleBtn {
  display: none !important;
}
.auth-card[data-auth-active-mode=profesional] #socialGoogleBtn,
.auth-card[data-auth-active-mode=profesional] #socialOutlookBtn {
  display: none !important;
}
.auth-card[data-auth-active-mode=alumnos] #socialGoogleBtn,
.auth-card[data-auth-active-mode=funcionarios] #socialOutlookBtn {
  display: flex !important;
}
.auth-social-btn--outlook:hover {
  border-color: #9d9d9d;
  background: #fff;
}
.auth-social-btn--outlook.btn--secondary:not(:disabled):not([aria-disabled=true]):hover {
  border-color: #9d9d9d;
  background: #fff;
  color: #4a4a4a;
}
.auth-social-logo {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.auth-social-logo svg {
  width: 100%;
  height: 100%;
  display: block;
}
.auth-social-logo--google svg {
  fill: none;
}
.auth-social-logo--outlook {
  background: transparent;
}
.auth-helper-text {
  margin: 12px 0 0;
  font-size: .93rem;
  color: var(--text-soft,#5f5a52);
  text-align: center;
}
.auth-form {
  display: grid;
  gap: 14px;
}
.auth-message {
  min-height: 24px;
  margin-top: 16px;
  font-size: .94rem;
  font-weight: 600;
}
.auth-message--error {
  color: #c0392b;
}
.auth-message--success {
  color: var(--success);
}
.auth-recovery-form {
  align-content: start;
}
.auth-recovery-steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.auth-recovery-steps.auth-recovery-steps--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.auth-recovery-steps::before {
  content: "";
  position: absolute;
  left: calc(25% + 15px);
  right: calc(25% + 15px);
  top: 17px;
  height: 2px;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, .12);
  z-index: 0;
}
.auth-recovery-steps.auth-recovery-steps--three::before {
  left: calc(16.666% + 17px);
  right: calc(16.666% + 17px);
}
.auth-recovery-steps li {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 0 6px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  font-size: .74rem;
  font-weight: 600;
  color: var(--text-soft,#5f5a52);
  text-align: center;
  line-height: 1.2;
  background: none;
  border: 0;
}
.auth-recovery-steps__number {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(212, 201, 180, .95);
  background: #fffdf8;
  color: var(--text-soft,#5f5a52);
  display: grid;
  place-items: center;
  font-size: .96rem;
  font-weight: 700;
  line-height: 1;
  transition:
    border-color .18s ease,
    color .18s ease,
    background-color .18s ease,
    box-shadow .18s ease;
}
.auth-recovery-steps__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.auth-recovery-steps li.is-active {
  color: var(--udp-blue,#325ef1);
}
.auth-recovery-steps li.is-active .auth-recovery-steps__number {
  border-color: rgba(50, 94, 241, .86);
  color: var(--udp-blue,#325ef1);
  background: #f8fbff;
  box-shadow: 0 0 0 3px rgba(50, 94, 241, .08);
}
.auth-recovery-steps li.is-complete {
  color: var(--success);
}
.auth-recovery-steps li.is-complete .auth-recovery-steps__number {
  border-color: rgba(29, 143, 97, .35);
  color: var(--success);
  background: rgba(29, 143, 97, .08);
}
.auth-recovery-step[hidden] {
  display: none;
}
.auth-recovery-note {
  margin: 0 0 14px;
  color: var(--text-soft,#5f5a52);
  line-height: 1.6;
  white-space: pre-line;
}
.auth-recovery-password-hint {
  display: grid;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(50, 94, 241, .14);
  background: #f8faff;
  color: var(--text-soft,#5f5a52);
}
.auth-recovery-password-hint strong {
  color: var(--text,#1f1f1f);
  font-size: .9rem;
}
.auth-recovery-password-rules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}
.auth-recovery-password-rules li {
  position: relative;
  padding-left: 22px;
  font-size: .88rem;
  line-height: 1.45;
}
.auth-recovery-password-rules li::before {
  content: "\2022";
  position: absolute;
  left: 7px;
  top: 0;
  color: rgba(50, 94, 241, .5);
  font-weight: 700;
}
.auth-recovery-password-rules li.is-met {
  color: var(--success);
}
.auth-recovery-password-rules li.is-met::before {
  content: "\2713";
  left: 3px;
  color: var(--success);
}
.auth-recovery-offcanvas__close {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 1.06rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
  margin-left: auto;
  transition: background .18s ease, border-color .18s ease;
}
.auth-recovery-offcanvas__close:hover {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .44);
}
.auth-recovery-offcanvas__close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .58);
  outline-offset: 2px;
}
#credentialPasswordOffcanvas .form-offcanvas__panel {
  width: min(440px, 100vw);
  grid-template-rows: auto 1fr;
  background: #f8faff;
}
#credentialPasswordOffcanvas .form-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
}
#credentialPasswordOffcanvas .form-panel__header > div {
  min-width: 0;
}
#credentialPasswordTitle {
  display: block;
  margin: 0 0 2px;
  font-size: 1rem;
  line-height: 1.2;
}
#credentialPasswordStepText {
  margin: 0;
  font-size: .82rem;
  line-height: 1.25;
  color: rgba(255, 255, 255, .82);
}
#credentialPasswordOffcanvas .form-main--offcanvas {
  padding: 10px;
  display: grid;
  gap: 8px;
  justify-items: center;
  grid-template-rows: auto 1fr auto;
  background: #fff;
}
#credentialPasswordOffcanvas .auth-recovery-steps,
#credentialPasswordOffcanvas .form-section,
#credentialPasswordOffcanvas .form-actions--sticky,
#credentialPasswordOffcanvas .form-feedback {
  width: 100%;
}
#credentialPasswordOffcanvas .form-section {
  margin: 0;
  align-content: start;
  gap: 8px;
}
#credentialPasswordOffcanvas .form-grid {
  gap: 8px;
}
#credentialPasswordOffcanvas .form-field {
  gap: 4px;
}
#credentialPasswordOffcanvas .form-field input,
#credentialPasswordOffcanvas .form-field select {
  height: 38px;
  padding: 0 10px;
  width: 100%;
  box-sizing: border-box;
}
#credentialPasswordOffcanvas .auth-password-input-wrap {
  width: 100%;
}
#credentialPasswordOffcanvas .auth-password-input-wrap input {
  padding-right: 44px;
}
#credentialPasswordOffcanvas .auth-recovery-steps li {
  gap: 6px;
  padding: 0 4px;
}
#credentialPasswordOffcanvas .form-actions--sticky {
  margin-top: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0 14px;
  border-top: 1px solid rgba(50, 94, 241, .14);
  background: #f8faff;
}
#credentialPasswordOffcanvas .form-feedback {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  margin: 0;
}
#credentialPasswordOffcanvas .form-actions--sticky .btn {
  width: auto;
  min-width: 120px;
  min-height: 38px;
  height: 38px;
  border-radius: 14px;
  font-weight: 700;
  white-space: nowrap;
  flex: 0 0 auto;
}
@media (max-width: 760px) {
  .auth-recovery-steps::before {
    display: none;
  }
  #credentialPasswordOffcanvas .form-main--offcanvas {
    padding: 12px 12px 0;
    gap: 10px;
  }
  #credentialPasswordOffcanvas .form-panel__header {
    padding: 12px;
  }
  #credentialPasswordOffcanvas .form-actions--sticky {
    padding: 10px 0 12px;
    flex-wrap: wrap;
    overflow-x: visible;
  }
  #credentialPasswordOffcanvas .form-actions--sticky .btn {
    width: 100%;
    min-width: 0;
  }
}
@media (min-width: 981px) {
  .auth-panel {
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .auth-desktop-launcher {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    gap: 0;
    z-index: 72;
  }
  .auth-desktop-launcher__title {
    display: none;
  }
  .auth-desktop-launcher__btn {
    width: 52px;
    min-width: 52px;
    height: 208px;
    border: none;
    border-radius: 16px 0 0 16px;
    background: var(--udp-black);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    text-align: center;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: .02em;
    padding: 10px 0;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .26);
    transition: filter .2s ease, box-shadow .2s ease;
  }
  .auth-desktop-launcher__btn[data-auth-launch=profesional] {
    background: var(--udp-blue);
    margin-top: -2px;
  }
  .auth-desktop-launcher__btn:hover {
    filter: brightness(1.06);
  }
  .auth-desktop-launcher__btn.is-active {
    box-shadow: 0 14px 26px rgba(0, 0, 0, .3), inset 4px 0 0 rgba(255, 255, 255, .18);
  }
  .auth-login-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(11, 18, 32, .44);
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s ease;
    z-index: 60;
  }
  .auth-login-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  .auth-card {
    position: fixed;
    top: 0;
    right: 0;
    width: min(620px, 100vw);
    height: 100%;
    max-height: 100%;
    border-left: 1px solid var(--border,#d7d0c6);
    border-radius: 0;
    background: var(--surface-alt,#f8f9fc);
    box-shadow: -20px 0 36px rgba(0, 0, 0, .14);
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform .28s ease, opacity .22s ease;
    z-index: 70;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
  }
  .auth-tabs {
    display: none;
  }
  body.auth-login-offcanvas-open .auth-card {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
  .auth-login-offcanvas__topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 18px 22px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    background: var(--surface-alt,#f8f9fc);
    position: sticky;
    top: 0;
    z-index: 2;
  }
  .auth-card__header {
    margin: 0;
    padding: 14px 22px 12px;
  }
  .auth-tab-panel {
    padding: 0 22px 20px;
  }
  .auth-message {
    margin: 0;
    min-height: 22px;
    padding: 0 22px 14px;
  }
  .auth-login-offcanvas__context {
    min-width: 0;
  }
  .auth-login-offcanvas__eyebrow {
    margin: 0 0 6px;
    color: var(--text-muted,#76716a);
    font-size: .72rem;
  }
  .auth-login-offcanvas__title {
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.02;
  }
  .auth-login-offcanvas__hint {
    margin: 4px 0 0;
    color: var(--text-soft,#5f5a52);
    font-size: .84rem;
    line-height: 1.42;
  }
  .auth-login-offcanvas__close {
    min-height: 48px;
    padding: 0 20px;
    border-radius: 16px;
    border: 1px solid var(--border,#d7d0c6);
    background: #fff;
    color: var(--text,#1f1f1f);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
  }
  .auth-login-offcanvas__close:hover {
    border-color: rgba(var(--primary-rgb, 123,89,0), .32);
    background: rgba(var(--primary-rgb, 123,89,0), .07);
  }
}
@media (min-width: 981px) and (max-height: 820px) {
  .auth-layout {
    min-height: 0;
    box-sizing: border-box;
    gap: 12px;
    padding: 12px;
  }
  .auth-hero {
    padding: 24px 26px;
    border-radius: 24px;
  }
  .auth-eyebrow {
    margin-bottom: 8px;
    font-size: .74rem;
  }
  .auth-title {
    margin-bottom: 10px;
    font-size: clamp(1.7rem, 2.8vw, 2.3rem);
    line-height: 1.04;
  }
  .auth-description {
    margin-bottom: 12px;
    max-width: 100%;
    font-size: .9rem;
    line-height: 1.45;
  }
  .auth-feature-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
  }
  .auth-feature-card {
    grid-template-columns: 38px 1fr;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 14px;
  }
  .auth-feature-card__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: .94rem;
  }
  .auth-feature-card strong {
    margin-bottom: 2px;
    font-size: .82rem;
    line-height: 1.15;
  }
  .auth-feature-card p {
    font-size: .72rem;
    line-height: 1.28;
  }
  .auth-info-banner {
    padding: 10px 12px;
    border-radius: 14px;
  }
  .auth-info-banner strong {
    margin-bottom: 3px;
    font-size: .83rem;
  }
  .auth-info-banner p {
    font-size: .74rem;
    line-height: 1.3;
  }
  .auth-panel {
    padding: 14px;
    border-radius: 24px;
  }
  .auth-card {
    width: min(100%, 460px);
    padding: 16px;
    border-radius: 20px;
  }
  .auth-card__header {
    margin-bottom: 12px;
  }
  .auth-brand__logo {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: .85rem;
  }
  .auth-brand strong {
    font-size: .95rem;
  }
  .auth-brand span {
    font-size: .78rem;
  }
  .auth-tabs {
    gap: 8px;
    margin-bottom: 12px;
  }
  .auth-tab {
    min-height: 58px;
    padding: 8px 10px;
    border-radius: 12px;
  }
  .auth-tab__title {
    font-size: .84rem;
  }
  .auth-tab__meta {
    font-size: .67rem;
    line-height: 1.2;
  }
  .auth-panel-copy {
    margin-bottom: 10px;
  }
  .auth-panel-copy h2 {
    margin: 0 0 5px;
    font-size: 1.02rem;
  }
  .auth-panel-copy p {
    font-size: .79rem;
    line-height: 1.32;
  }
  .auth-social-btn {
    min-height: 40px;
    border-radius: 12px;
    font-size: .83rem;
  }
  .auth-social-logo {
    width: 20px;
    height: 20px;
    font-size: .66rem;
  }
  .auth-form {
    gap: 9px;
  }
  .auth-form .form-field {
    gap: 5px;
  }
  .auth-form .form-field span {
    font-size: .78rem;
  }
  .auth-form .form-field input {
    height: 40px;
    border-radius: 12px;
    font-size: .84rem;
  }
  .auth-submit-btn,
  .auth-password-change-btn {
    min-height: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: .84rem;
  }
  .auth-helper-text {
    margin-top: 8px;
    font-size: .78rem;
  }
  .auth-message {
    margin-top: 8px;
    min-height: 16px;
    font-size: .78rem;
  }
  .auth-events-carousel {
    padding: 7px 0;
  }
  .auth-events-carousel__header {
    margin: 0 auto 5px;
    padding: 0 12px;
  }
  .auth-events-carousel__header h3 {
    font-size: .84rem;
  }
  .auth-events-carousel__group {
    gap: 8px;
    padding-right: 8px;
  }
  .auth-events-carousel__item {
    min-width: 186px;
    max-width: 186px;
    padding: 7px 8px;
    gap: 4px;
    border-radius: 11px;
  }
  .auth-events-carousel__item h4 {
    font-size: .73rem;
    line-height: 1.18;
  }
  .auth-events-carousel__meta {
    font-size: .64rem;
    line-height: 1.22;
  }
  .auth-events-carousel__chip {
    font-size: .56rem;
    padding: 2px 6px;
  }
  .auth-events-carousel__action {
    min-height: 26px;
    height: 26px;
    border-radius: 8px;
    font-size: .62rem;
  }
}
@media (max-width: 480px) {
  .auth-otp-grid {
    grid-template-columns: repeat(6, minmax(38px, 1fr));
    gap: 8px;
  }
}
@media (max-width: 1360px) {
  .auth-site-header__brand {
    width: 340px;
    min-width: 260px;
  }
  .auth-site-header__brand img {
    max-width: 340px;
    height: 70px;
  }
  .auth-site-header__nav {
    gap: 12px;
  }
  .auth-site-header__nav a {
    font-size: .88rem;
  }
}
@media (max-width: 980px) {
  .auth-site-header__inner {
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 12px 14px;
  }
  .auth-site-header__brand {
    width: 220px;
    min-width: 0;
  }
  .auth-site-header__brand img {
    max-width: 220px;
    height: 48px;
  }
  .auth-site-header__nav {
    order: 3;
    width: 100%;
    margin: 0;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 2px;
  }
  .auth-site-header__nav a {
    font-size: .87rem;
  }
  .auth-site-header__contact {
    margin-left: auto;
    min-height: 40px;
    padding: 0 14px;
    font-size: .86rem;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 12px;
    padding: 12px;
  }
  .auth-title {
    font-size: clamp(1.72rem, 6.2vw, 2.45rem);
  }
  .auth-description {
    margin-bottom: 18px;
    font-size: .95rem;
    line-height: 1.58;
  }
  .auth-feature-list {
    grid-template-columns: 1fr;
  }
  .auth-dae-points {
    grid-template-columns: 1fr;
  }
  .auth-dae-overview {
    padding: 12px 14px;
  }
  .auth-hero-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .auth-hero {
    grid-column: 1;
    grid-row: 1;
    padding: 24px 20px 16px;
    border-radius: 24px;
  }
  .auth-platform-text-card {
    padding: 12px 14px;
  }
  .auth-platform-text-card p {
    font-size: .86rem;
    line-height: 1.52;
  }
  .auth-panel {
    grid-column: 1;
    grid-row: 2;
    padding: 16px 18px 22px;
    border-radius: 24px;
  }
  .auth-card {
    width: 100%;
    max-width: none;
    padding: 20px;
    border-radius: 22px;
  }
  .auth-events-strip {
    grid-column: 1;
    grid-row: 3;
  }
  .auth-site-footer__inner {
    padding: 18px 14px 20px;
  }
  .auth-site-footer__brand {
    width: 240px;
  }
  .auth-site-footer__brand img {
    max-width: 240px;
    height: 52px;
  }
  .auth-site-footer__copy {
    margin-bottom: 14px;
    font-size: .84rem;
  }
  .auth-site-footer__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .auth-site-footer__unit {
    border-radius: 14px;
    padding: 12px 14px;
  }
  .auth-site-footer__unit h4 {
    font-size: .94rem;
  }
  .auth-site-footer__unit p {
    font-size: .82rem;
  }
}
@media (max-width: 640px) {
  .auth-site-header__inner {
    padding: 10px 10px 12px;
  }
  .auth-site-header__brand {
    width: 100%;
  }
  .auth-site-header__brand img {
    max-width: 220px;
    height: 46px;
  }
  .auth-site-header__contact {
    order: 2;
    width: 100%;
    margin: 0;
  }
  .auth-site-header__nav {
    order: 3;
  }
  .auth-layout {
    gap: 10px;
    padding: 8px;
  }
  .auth-hero {
    padding: 16px;
    border-radius: 20px;
  }
  .auth-panel {
    padding: 10px;
    border-radius: 20px;
  }
  .auth-eyebrow {
    margin-bottom: 10px;
    font-size: .73rem;
  }
  .auth-title {
    margin-bottom: 10px;
    font-size: clamp(1.5rem, 7.3vw, 1.95rem);
  }
  .auth-description {
    margin-bottom: 14px;
    font-size: .9rem;
    line-height: 1.48;
  }
  .auth-dae-overview {
    gap: 8px;
    padding: 11px 12px;
    border-radius: 14px;
  }
  .auth-dae-overview p {
    font-size: .83rem;
    line-height: 1.45;
  }
  .auth-dae-points {
    gap: 6px;
  }
  .auth-dae-points li {
    border-radius: 12px;
    padding: 8px 10px;
    font-size: .8rem;
  }
  .auth-minimal-chips {
    gap: 6px;
  }
  .auth-minimal-chip {
    min-height: 28px;
    padding: 0 10px;
    font-size: .72rem;
  }
  .auth-hero-media {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .auth-hero-media__card {
    min-height: 86px;
    padding: 10px;
  }
  .auth-hero-media__card img {
    height: 34px;
  }
  .auth-hero-media__card span {
    font-size: .76rem;
  }
  .auth-card {
    padding: 16px;
    border-radius: 18px;
  }
  .auth-platform-text-card {
    max-height: none;
    padding: 11px 12px;
  }
  .auth-platform-text-card p {
    font-size: .82rem;
    line-height: 1.48;
  }
  .auth-card__header {
    margin-bottom: 14px;
  }
  .auth-brand {
    gap: 10px;
  }
  .auth-brand__logo {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: .9rem;
  }
  .auth-brand strong {
    font-size: .95rem;
  }
  .auth-brand span {
    font-size: .8rem;
  }
  .auth-tabs {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 14px;
  }
  .auth-feature-card {
    grid-template-columns: 1fr;
    padding: 12px;
    border-radius: 16px;
  }
  .auth-feature-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 1.1rem;
  }
  .auth-feature-list {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 12px;
  }
  .auth-events-carousel {
    padding: 10px 0;
  }
  .auth-events-carousel__header {
    margin-bottom: 8px;
    padding: 0 12px;
  }
  .auth-events-carousel__header h3 {
    font-size: .95rem;
  }
  .auth-events-carousel__item {
    min-width: 186px;
    max-width: 186px;
    padding: 9px 10px;
    gap: 5px;
    border-radius: 12px;
  }
  .auth-events-carousel__item h4 {
    font-size: .8rem;
  }
  .auth-events-carousel__meta {
    font-size: .69rem;
    line-height: 1.28;
  }
  .auth-events-carousel__chip {
    font-size: .62rem;
    padding: 3px 7px;
  }
  .auth-events-carousel__action {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    min-height: 30px;
    height: 30px;
    font-size: .7rem;
  }
  .auth-tab {
    min-height: 62px;
    padding: 10px 12px;
    border-radius: 14px;
  }
  .auth-tab__title {
    font-size: .88rem;
  }
  .auth-tab__meta {
    font-size: .72rem;
  }
  .auth-panel-copy {
    margin-bottom: 12px;
  }
  .auth-panel-copy h2 {
    font-size: 1.12rem;
    margin-bottom: 6px;
  }
  .auth-panel-copy p {
    font-size: .84rem;
    line-height: 1.48;
  }
  .auth-social-btn {
    min-height: 44px;
    font-size: .88rem;
  }
  .auth-helper-text {
    margin-top: 10px;
    font-size: .82rem;
  }
  .auth-message {
    margin-top: 12px;
    font-size: .85rem;
  }
}
@media (hover: none), (pointer: coarse) {
  .auth-events-carousel__action {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}
@media (max-width: 760px) {
  .auth-body {
    background:
      linear-gradient(
        180deg,
        #f6f3ec 0%,
        #efe9df 100%);
  }
  .auth-layout {
    display: flex;
    flex-direction: column;
    min-height: 0;
    gap: 10px;
    width: min(100%, 460px);
    margin: 0 auto;
    padding: 12px 10px 16px;
  }
  .auth-panel {
    order: 1;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .auth-card {
    position: relative;
    width: 100%;
    max-width: none;
    padding: 16px 14px 14px;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .08);
    overflow: hidden;
  }
  .auth-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background:
      linear-gradient(
        90deg,
        var(--udp-blue) 0%,
        var(--success) 100%);
  }
  .auth-card__header {
    margin-bottom: 10px;
  }
  .auth-brand {
    gap: 10px;
  }
  .auth-brand__logo {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: .84rem;
  }
  .auth-brand strong {
    font-size: .95rem;
  }
  .auth-brand span {
    font-size: .78rem;
  }
  .auth-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 10px;
    padding: 4px;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 14px;
    background: #f6f3ec;
  }
  .auth-tab {
    min-height: 40px;
    padding: 8px 8px;
    border: none;
    border-radius: 10px;
    background: transparent;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .auth-tab__title {
    font-size: .8rem;
    line-height: 1.2;
  }
  .auth-tab__meta {
    display: none;
  }
  .auth-tab--active {
    background: #fff;
    border: 1px solid rgba(var(--primary-rgb, 123,89,0), .26);
    color: var(--udp-blue,#7B5900);
    box-shadow: 0 8px 14px rgba(var(--primary-rgb, 123,89,0), .14);
  }
  .auth-panel-copy {
    margin-bottom: 8px;
  }
  .auth-panel-copy h2 {
    margin: 0;
    font-size: .96rem;
  }
  .auth-panel-copy p {
    display: none;
  }
  .auth-social-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .auth-social-btn {
    min-height: 42px;
    border-radius: 12px;
    font-size: .84rem;
  }
  .auth-social-logo {
    width: 20px;
    height: 20px;
    font-size: .7rem;
  }
  .auth-helper-text {
    display: none;
  }
  .auth-form {
    gap: 8px;
  }
  .auth-form .form-field {
    gap: 6px;
  }
  .auth-form .form-field span {
    font-size: .8rem;
  }
  .auth-form .form-field input {
    height: 42px;
    border-radius: 12px;
    padding: 0 12px;
    font-size: .9rem;
  }
  .auth-submit-btn,
  .auth-password-change-btn {
    min-height: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: .86rem;
  }
  .auth-message {
    margin-top: 8px;
    min-height: 18px;
    font-size: .8rem;
  }
  .auth-events-strip {
    order: 2;
    width: 100%;
  }
  .auth-events-carousel {
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 16px;
    background: rgba(255, 255, 255, .94);
    padding: 8px 0;
  }
  .auth-events-carousel__header {
    margin: 0 0 6px;
    padding: 0 10px;
  }
  .auth-events-carousel__header h3 {
    font-size: .82rem;
  }
  .auth-events-carousel__group {
    gap: 8px;
    padding-right: 8px;
  }
  .auth-events-carousel__item {
    min-width: 164px;
    max-width: 164px;
    padding: 8px 9px;
    border-radius: 12px;
    gap: 5px;
  }
  .auth-events-carousel__item h4 {
    font-size: .74rem;
    line-height: 1.2;
  }
  .auth-events-carousel__meta {
    font-size: .66rem;
    line-height: 1.25;
  }
  .auth-events-carousel__chip {
    font-size: .58rem;
    padding: 3px 6px;
  }
  .auth-events-carousel__action {
    min-height: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: .64rem;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .auth-events-carousel__empty {
    margin: 0 10px;
    padding: 9px 10px;
    font-size: .78rem;
  }
  .auth-hero {
    display: none;
  }
  .auth-site-footer {
    margin-top: 0;
  }
}
@media (max-width: 420px) {
  .auth-site-header__nav {
    gap: 12px;
  }
  .auth-site-header__nav a {
    font-size: .8rem;
  }
  .auth-layout {
    padding: 10px 8px 14px;
    gap: 10px;
  }
  .auth-card {
    padding: 14px 12px;
    border-radius: 16px;
  }
  .auth-brand__logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
  .auth-tab {
    min-height: 42px;
    padding: 7px 6px;
  }
  .auth-tab__title {
    font-size: .75rem;
  }
  .auth-panel-copy h2 {
    font-size: .92rem;
  }
  .auth-form .form-field input {
    height: 40px;
  }
  .auth-submit-btn,
  .auth-password-change-btn {
    min-height: 40px;
    height: 40px;
  }
  .auth-otp-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
  }
  .auth-otp-grid input {
    height: 42px;
    border-radius: 10px;
    font-size: .95rem;
  }
  .auth-events-carousel__item {
    min-width: 148px;
    max-width: 148px;
  }
}
@media (max-width: 980px) {
  .auth-site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
  }
  .auth-site-header__brand {
    width: 100%;
    max-width: 260px;
    min-width: 0;
  }
  .auth-site-header__brand img {
    width: 100%;
    max-width: 260px;
    height: 56px;
  }
  .auth-site-header__nav {
    display: none;
  }
  .auth-site-header__contact {
    margin: 0;
    min-height: 36px;
    padding: 0 12px;
    font-size: .78rem;
  }
  .auth-layout {
    display: flex;
    flex-direction: column;
    width: min(100%, 560px);
    gap: 12px;
    padding: 10px;
  }
  .auth-panel {
    order: 1;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .auth-card {
    width: 100%;
    max-width: none;
    padding: 16px 14px;
    border-radius: 18px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .1);
  }
  .auth-card__header {
    margin-bottom: 12px;
  }
  .auth-hero {
    order: 2;
    padding: 18px 16px;
    border-radius: 20px;
  }
  .auth-eyebrow {
    margin-bottom: 8px;
    font-size: .7rem;
  }
  .auth-title {
    margin-bottom: 8px;
    font-size: clamp(1.5rem, 6.5vw, 2rem);
    line-height: 1.08;
  }
  .auth-description {
    font-size: .9rem;
    line-height: 1.5;
  }
  .auth-dae-overview,
  .auth-dae-points,
  .auth-feature-list {
    display: none;
  }
  .auth-description--secondary {
    margin-top: 0;
    font-size: .88rem;
  }
  .auth-info-banner {
    margin-top: 8px;
    padding: 12px 14px;
    border-radius: 14px;
  }
  .auth-events-strip {
    order: 3;
  }
  .auth-events-carousel {
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 16px;
    padding: 8px 0;
  }
  .auth-events-carousel__header {
    margin: 0 0 8px;
    padding: 0 10px;
  }
  .auth-events-carousel__group {
    gap: 8px;
    padding-right: 8px;
  }
  .auth-events-carousel__item {
    min-width: 176px;
    max-width: 176px;
    padding: 8px 9px;
    border-radius: 12px;
  }
  .auth-site-footer__inner {
    padding: 16px 12px 18px;
  }
  .auth-site-footer__brand {
    width: 260px;
  }
  .auth-site-footer__brand img {
    max-width: 260px;
    height: 52px;
  }
  .auth-site-footer__copy {
    margin-bottom: 10px;
    font-size: .8rem;
  }
  .auth-site-footer__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .auth-site-footer__unit {
    padding: 12px;
    border-radius: 12px;
  }
}
@media (max-width: 760px) {
  .auth-layout {
    width: min(100%, 440px);
    padding: 8px;
    gap: 10px;
  }
  .auth-site-header__inner {
    padding: 8px 10px;
  }
  .auth-site-header__brand {
    max-width: 220px;
  }
  .auth-site-header__brand img {
    max-width: 220px;
    height: 48px;
  }
  .auth-site-header__contact {
    min-height: 34px;
    padding: 0 10px;
    font-size: .74rem;
  }
  .auth-card {
    padding: 14px 12px;
    border-radius: 16px;
  }
  .auth-brand {
    gap: 10px;
  }
  .auth-brand__logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: .78rem;
  }
  .auth-brand strong {
    font-size: .92rem;
  }
  .auth-brand span {
    font-size: .74rem;
  }
  .auth-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 10px;
    padding: 4px;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 12px;
    background: #f6f3ec;
  }
  .auth-tab {
    min-height: 38px;
    padding: 8px 6px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .auth-tab__title {
    font-size: .76rem;
    line-height: 1.15;
  }
  .auth-tab__meta {
    display: none;
  }
  .auth-tab--active {
    border: 1px solid rgba(var(--primary-rgb, 123,89,0), .3);
    background: #fff;
    color: var(--udp-blue,#7B5900);
    box-shadow: 0 8px 14px rgba(var(--primary-rgb, 123,89,0), .14);
  }
  .auth-panel-copy {
    margin-bottom: 8px;
  }
  .auth-panel-copy h2 {
    margin: 0;
    font-size: .96rem;
  }
  .auth-panel-copy p,
  .auth-helper-text {
    display: none;
  }
  .auth-social-grid {
    gap: 7px;
  }
  .auth-social-btn {
    min-height: 40px;
    border-radius: 11px;
    font-size: .82rem;
  }
  .auth-social-logo {
    width: 19px;
    height: 19px;
    font-size: .64rem;
  }
  .auth-form {
    gap: 8px;
  }
  .auth-form .form-field {
    gap: 5px;
  }
  .auth-form .form-field span {
    font-size: .77rem;
  }
  .auth-form .form-field input {
    height: 40px;
    padding: 0 10px;
    border-radius: 10px;
    font-size: .86rem;
  }
  .auth-submit-btn,
  .auth-password-change-btn {
    min-height: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: .84rem;
  }
  .auth-message {
    margin-top: 8px;
    min-height: 16px;
    font-size: .8rem;
  }
  .auth-description--secondary,
  .auth-info-banner {
    display: none;
  }
  .auth-events-carousel__item {
    min-width: 156px;
    max-width: 156px;
  }
  #credentialPasswordOffcanvas .form-panel__header {
    padding: 10px 12px;
  }
  #credentialPasswordStepText {
    font-size: .88rem;
    line-height: 1.4;
  }
  #credentialPasswordOffcanvas .form-main--offcanvas {
    padding: 10px 12px 0;
    gap: 10px;
  }
  #credentialPasswordOffcanvas .auth-recovery-steps li {
    min-height: 34px;
    padding: 6px 8px;
    font-size: .75rem;
  }
}
@media (max-width: 420px) {
  .auth-site-header__brand {
    max-width: 200px;
  }
  .auth-site-header__brand img {
    max-width: 200px;
    height: 44px;
  }
  .auth-site-header__contact {
    min-height: 32px;
    padding: 0 9px;
    font-size: .7rem;
  }
  .auth-layout {
    padding: 8px 6px 12px;
  }
  .auth-hero {
    padding: 14px 12px;
  }
  .auth-title {
    font-size: clamp(1.35rem, 8.5vw, 1.7rem);
  }
  .auth-card {
    padding: 12px 10px;
    border-radius: 14px;
  }
  .auth-tab {
    min-height: 36px;
  }
  .auth-tab__title {
    font-size: .72rem;
  }
  .auth-events-carousel__item {
    min-width: 146px;
    max-width: 146px;
  }
}
.auth-access-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
  padding: 4px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 14px;
  background: #f6f3ec;
}
.auth-access-tabs.auth-access-tabs--single {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  padding: 0;
  border: 0;
  background: transparent;
}
.auth-access-tabs.auth-access-tabs--single .auth-access-tab {
  width: auto;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #223151;
  box-shadow: none;
  cursor: default;
  pointer-events: none;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.auth-access-tabs.auth-access-tabs--single .auth-access-tab:hover,
.auth-access-tabs.auth-access-tabs--single .auth-access-tab.is-active {
  border-color: transparent;
  background: transparent;
  color: #223151;
  box-shadow: none;
}
.auth-access-tab {
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--text,#1f1f1f);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition:
    border-color .2s ease,
    background .2s ease,
    box-shadow .2s ease;
}
.auth-access-tab:hover {
  border-color: rgba(var(--primary-rgb, 123,89,0), .25);
}
.auth-access-tab.is-active {
  border-color: rgba(var(--primary-rgb, 123,89,0), .3);
  background: #fff;
  color: var(--udp-blue,#7B5900);
  box-shadow: 0 8px 14px rgba(var(--primary-rgb, 123,89,0), .14);
}
.auth-access-anchors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}
.auth-access-anchor {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 999px;
  background: #fff;
  color: var(--text-soft,#5f5a52);
  font-size: .74rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    border-color .2s ease,
    color .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}
.auth-access-anchor:hover {
  border-color: rgba(var(--primary-rgb, 123,89,0), .24);
  color: var(--udp-blue,#7B5900);
}
.auth-access-anchor.is-active {
  border-color: rgba(var(--primary-rgb, 123,89,0), .34);
  color: var(--udp-blue,#7B5900);
  background: rgba(var(--primary-rgb, 123,89,0), .08);
  box-shadow: 0 6px 12px rgba(var(--primary-rgb, 123,89,0), .12);
}
.auth-access-panels {
  margin: 0 0 14px;
}
.auth-access-panel {
  display: none;
  padding: 10px 12px;
  border: 1px solid rgba(var(--primary-rgb, 123,89,0), .16);
  border-radius: 12px;
  background: rgba(var(--primary-rgb, 123,89,0), .05);
}
.auth-access-panel.is-active {
  display: block;
}
.auth-access-panel h3 {
  margin: 0 0 4px;
  font-size: .9rem;
  line-height: 1.2;
  color: #223151;
}
.auth-access-panel p {
  margin: 0;
  font-size: .8rem;
  line-height: 1.4;
  color: var(--text-soft,#5f5a52);
}
.auth-honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.auth-captcha {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(var(--primary-rgb, 123,89,0), .2);
  border-radius: 14px;
  background: rgba(var(--primary-rgb, 123,89,0), .04);
}
.auth-captcha__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.auth-captcha__title {
  margin: 0;
  font-size: .84rem;
  font-weight: 700;
  color: #223151;
}
.auth-captcha__refresh {
  border: 1px solid rgba(var(--primary-rgb, 123,89,0), .28);
  border-radius: 999px;
  background: #fff;
  color: var(--udp-blue,#7B5900);
  font-size: .74rem;
  font-weight: 700;
  min-height: 30px;
  padding: 0 10px;
  cursor: pointer;
}
.auth-captcha__refresh:hover {
  background: rgba(var(--primary-rgb, 123,89,0), .08);
}
.auth-captcha__challenge {
  margin: 0;
  font-size: .9rem;
  font-weight: 700;
  color: var(--text,#1f1f1f);
}
.auth-captcha__field .form-field input,
.auth-captcha__field input {
  text-align: left;
}
.auth-captcha__status {
  margin: 0;
  min-height: 16px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-soft,#5f5a52);
}
.auth-captcha__status--error {
  color: #c0392b;
}
.auth-captcha__status--success {
  color: var(--success);
}
@media (min-width: 981px) {
  .auth-title {
    white-space: nowrap;
    text-wrap: nowrap;
    font-size: clamp(1.85rem, 2.72vw, 2.8rem);
  }
  .auth-panel {
    padding: 22px;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 28px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .06);
    background: rgba(255, 255, 255, .58);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
  }
  .auth-login-backdrop,
  .auth-login-offcanvas__topbar {
    display: none !important;
  }
  .auth-card {
    position: relative;
    top: auto;
    right: auto;
    width: min(100%, 560px);
    height: auto;
    max-height: none;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .08);
    transform: none;
    opacity: 1;
    pointer-events: auto;
    overflow: visible;
    padding: 26px;
    display: block;
  }
  .auth-tabs {
    display: grid;
  }
  .auth-tab-panel {
    padding: 0;
  }
  .auth-message {
    margin-top: 16px;
    padding: 0;
  }
  body.auth-login-offcanvas-open .auth-card {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
}
@media (max-width: 760px) {
  .auth-access-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 10px;
    border-radius: 12px;
  }
  .auth-access-tab {
    min-height: 38px;
    padding: 8px 6px;
    font-size: .74rem;
  }
  .auth-access-tabs.auth-access-tabs--single .auth-access-tab {
    width: auto;
  }
  .auth-access-anchors {
    gap: 6px;
  }
  .auth-access-anchor {
    min-height: 28px;
    padding: 0 9px;
    font-size: .7rem;
  }
  .auth-access-panel {
    padding: 9px 10px;
  }
  .auth-access-panel h3 {
    font-size: .84rem;
  }
  .auth-access-panel p {
    font-size: .76rem;
  }
  .auth-captcha {
    padding: 10px;
    border-radius: 12px;
  }
  .auth-captcha__title {
    font-size: .78rem;
  }
  .auth-captcha__challenge {
    font-size: .84rem;
  }
}
.auth-login-faq {
  max-width: 1400px;
  margin: 12px auto 0;
  padding: 0 18px 12px;
}
.auth-login-faq__header {
  margin: 0 0 10px;
}
.auth-login-faq__header h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.2;
}
.auth-login-faq__list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.auth-login-faq__item {
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.auth-login-faq__item[open] {
  border-color: rgba(var(--primary-rgb, 123,89,0), .34);
  box-shadow: 0 10px 18px rgba(var(--primary-rgb, 123,89,0), .1);
}
.auth-login-faq__question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  cursor: pointer;
  padding: 11px 14px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--text,#1f1f1f);
}
.auth-login-faq__question::-webkit-details-marker {
  display: none;
}
.auth-login-faq__question:focus-visible {
  outline: 2px solid rgba(var(--primary-rgb, 123,89,0), .4);
  outline-offset: -2px;
}
.auth-login-faq__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  min-width: 20px;
  color: var(--udp-blue,#7B5900);
}
.auth-login-faq__chevron::before {
  content: "\25be";
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
  transition: transform .2s ease;
}
.auth-login-faq__item[open] .auth-login-faq__chevron::before {
  transform: rotate(180deg);
}
.auth-login-faq__answer {
  margin: 0;
  padding: 0 14px 12px;
  font-size: .82rem;
  line-height: 1.5;
  color: var(--text-soft,#5f5a52);
}
.auth-login-faq__answer strong {
  color: var(--text,#1f1f1f);
}
@media (max-width: 980px) {
  .auth-login-faq {
    margin-top: 10px;
    padding: 0 10px 10px;
  }
  .auth-login-faq__list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .auth-login-faq {
    padding: 0 10px 8px;
  }
  .auth-login-faq__question {
    padding: 10px 11px;
    font-size: .81rem;
  }
  .auth-login-faq__answer {
    padding: 0 11px 11px;
    font-size: .78rem;
  }
}
.auth-events-carousel__item {
  border-color: var(--auth-unit-color, rgba(var(--primary-rgb, 123,89,0),.45));
  border-width: 2px;
  padding-right: 66px;
}
.auth-events-carousel__unit-row {
  display: block;
}
.auth-events-carousel__unit-logo-wrap {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 14px;
  box-shadow: 0 4px 10px var(--auth-unit-color-soft, rgba(var(--primary-rgb, 123,89,0),.16));
}
.auth-events-carousel__item:hover,
.auth-events-carousel__item:focus-within {
  border-color: var(--auth-unit-color, rgba(var(--primary-rgb, 123,89,0),.45));
  box-shadow: 0 10px 20px var(--auth-unit-color-soft, rgba(var(--primary-rgb, 123,89,0),.15));
}
@media (max-width: 980px) {
  .auth-events-carousel__item {
    padding-right: 58px;
  }
  .auth-events-carousel__share {
    right: 8px;
    bottom: 8px;
    width: 30px;
    height: 30px;
  }
  .auth-events-carousel__unit-logo-wrap {
    width: 44px;
    height: 44px;
    top: 7px;
    right: 7px;
    border-radius: 12px;
    padding: 5px;
  }
}
@media (max-width: 760px) {
  .auth-events-carousel__item {
    padding-right: 52px;
  }
  .auth-events-carousel__share {
    right: 7px;
    bottom: 7px;
    width: 28px;
    height: 28px;
  }
  .auth-events-carousel__share-icon {
    width: 13px;
    height: 13px;
  }
  .auth-events-carousel__unit-logo-wrap {
    width: 40px;
    height: 40px;
    top: 7px;
    right: 7px;
    border-radius: 11px;
    padding: 5px;
  }
}
.auth-events-carousel__item {
  isolation: isolate;
}
.auth-events-carousel__item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, .52) 0%,
      rgba(255, 255, 255, 0) 46%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.auth-events-carousel__unit-logo-wrap {
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}
.auth-events-carousel__unit-copy,
.auth-events-carousel__unit-copy h4,
.auth-events-carousel__meta,
.auth-events-carousel__meta-icon,
.auth-events-carousel__meta span,
.auth-events-carousel__unit-logo {
  transition:
    transform .22s ease,
    color .22s ease,
    opacity .22s ease;
}
.auth-events-carousel__action,
.auth-events-carousel__share {
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    opacity .22s ease,
    background-color .22s ease,
    border-color .22s ease;
}
.auth-events-carousel__item:hover,
.auth-events-carousel__item:focus-within {
  transform: translateY(-4px) scale(1.013);
  border-color: var(--auth-unit-color, rgba(var(--primary-rgb, 123,89,0),.55));
  box-shadow: 0 18px 30px rgba(0, 0, 0, .12), 0 12px 24px var(--auth-unit-color-soft, rgba(var(--primary-rgb, 123,89,0),.25));
  background:
    linear-gradient(
      160deg,
      #ffffff 0%,
      #f9fbff 100%);
}
.auth-events-carousel__item:hover::after,
.auth-events-carousel__item:focus-within::after {
  opacity: 1;
}
.auth-events-carousel__item:hover .auth-events-carousel__unit-logo-wrap,
.auth-events-carousel__item:focus-within .auth-events-carousel__unit-logo-wrap {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 8px 16px var(--auth-unit-color-soft, rgba(var(--primary-rgb, 123,89,0),.3));
}
.auth-events-carousel__item:hover .auth-events-carousel__unit-copy,
.auth-events-carousel__item:focus-within .auth-events-carousel__unit-copy {
  transform: translateY(-1px) scale(1.02);
}
.auth-events-carousel__item:hover .auth-events-carousel__unit-copy h4,
.auth-events-carousel__item:focus-within .auth-events-carousel__unit-copy h4 {
  transform: scale(1.03);
}
.auth-events-carousel__item:hover .auth-events-carousel__meta,
.auth-events-carousel__item:focus-within .auth-events-carousel__meta {
  transform: translateY(-1px) scale(1.02);
  color: #3d3a35;
}
.auth-events-carousel__item:hover .auth-events-carousel__meta-icon,
.auth-events-carousel__item:focus-within .auth-events-carousel__meta-icon {
  transform: scale(1.09);
  opacity: 1;
}
.auth-events-carousel__item:hover .auth-events-carousel__unit-logo,
.auth-events-carousel__item:focus-within .auth-events-carousel__unit-logo {
  transform: scale(1.05);
}
.auth-events-carousel__item:hover .auth-events-carousel__action,
.auth-events-carousel__item:focus-within .auth-events-carousel__action {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 8px 18px rgba(var(--primary-rgb, 123,89,0), .25);
}
.auth-events-carousel__item:hover .auth-events-carousel__share,
.auth-events-carousel__item:focus-within .auth-events-carousel__share {
  transform: translateY(-1px) scale(1.07);
  box-shadow: 0 10px 18px rgba(31, 183, 90, .35);
}
@media (prefers-reduced-motion: reduce) {
  .auth-events-carousel__item,
  .auth-events-carousel__unit-copy,
  .auth-events-carousel__unit-copy h4,
  .auth-events-carousel__meta,
  .auth-events-carousel__meta-icon,
  .auth-events-carousel__meta span,
  .auth-events-carousel__unit-logo,
  .auth-events-carousel__unit-logo-wrap,
  .auth-events-carousel__action,
  .auth-events-carousel__share {
    transition: none;
  }
  .auth-events-carousel__item:hover,
  .auth-events-carousel__item:focus-within {
    transform: none;
  }
  .auth-events-carousel__item:hover .auth-events-carousel__unit-copy,
  .auth-events-carousel__item:hover .auth-events-carousel__unit-copy h4,
  .auth-events-carousel__item:hover .auth-events-carousel__meta,
  .auth-events-carousel__item:hover .auth-events-carousel__meta-icon,
  .auth-events-carousel__item:hover .auth-events-carousel__unit-logo,
  .auth-events-carousel__item:hover .auth-events-carousel__unit-logo-wrap,
  .auth-events-carousel__item:hover .auth-events-carousel__action,
  .auth-events-carousel__item:hover .auth-events-carousel__share,
  .auth-events-carousel__item:focus-within .auth-events-carousel__unit-copy,
  .auth-events-carousel__item:focus-within .auth-events-carousel__unit-copy h4,
  .auth-events-carousel__item:focus-within .auth-events-carousel__meta,
  .auth-events-carousel__item:focus-within .auth-events-carousel__meta-icon,
  .auth-events-carousel__item:focus-within .auth-events-carousel__unit-logo,
  .auth-events-carousel__item:focus-within .auth-events-carousel__unit-logo-wrap,
  .auth-events-carousel__item:focus-within .auth-events-carousel__action,
  .auth-events-carousel__item:focus-within .auth-events-carousel__share {
    transform: none;
  }
}
.auth-events-carousel__actions {
  display: contents;
}
@media (max-width: 980px) {
  .auth-events-carousel__actions {
    margin-top: 7px;
    display: flex;
    align-items: center;
    gap: 7px;
  }
  .auth-events-carousel__actions .auth-events-carousel__action {
    margin-top: 0;
    width: auto;
    flex: 1 1 auto;
    align-self: auto;
    justify-self: auto;
  }
  .auth-events-carousel__actions .auth-events-carousel__share {
    position: static;
    right: auto;
    bottom: auto;
    inset: auto;
    flex: 0 0 30px;
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    margin: 0;
  }
}
@media (max-width: 760px) {
  .auth-events-carousel__actions {
    margin-top: 6px;
    gap: 6px;
  }
  .auth-events-carousel__actions .auth-events-carousel__action {
    min-height: 28px;
    height: 28px;
    font-size: .64rem;
  }
  .auth-events-carousel__actions .auth-events-carousel__share {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
  }
}
.auth-login-only {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 16px;
}
.auth-login-only .auth-panel {
  width: 100%;
  max-width: 540px;
  padding: 8px;
  border-radius: 22px;
}
.auth-login-only .auth-card {
  width: min(100%, 480px);
  padding: 18px;
  border-radius: 22px;
}
.auth-login-only .auth-card__header {
  margin-bottom: 14px;
}
.auth-login-only .auth-access-tabs {
  display: none;
}
.auth-login-only .auth-access-panels {
  margin-bottom: 16px;
}
.auth-login-only .auth-access-panel h3 {
  font-size: 1.12rem;
  line-height: 1.18;
}
@media (max-width: 760px) {
  .auth-login-only {
    padding: 10px;
  }
  .auth-login-only .auth-panel {
    max-width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .auth-login-only .auth-card {
    width: 100%;
    padding: 16px;
    border-radius: 18px;
  }
}
.auth-callback-screen {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: hidden;
}
.auth-callback-screen::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(var(--primary-rgb, 123,89,0), .14),
      transparent 32%),
    radial-gradient(
      circle at 80% 10%,
      rgba(34, 49, 81, .12),
      transparent 30%),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, .72),
      rgba(246, 243, 236, .88));
  pointer-events: none;
}
.auth-callback-shell {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 1;
  width: min(100% - 48px, 440px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 22px;
  background: rgba(255, 255, 255, .64);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.auth-callback-modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(10, 14, 25, .34);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.auth-callback-modal {
  position: relative;
  z-index: 3;
  width: min(100%, 460px);
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 28px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .22);
  text-align: center;
}
.auth-callback-status-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: rgba(192, 57, 43, .1);
  color: #c0392b;
  font-size: 1.85rem;
  font-weight: 900;
}
.auth-callback-loading-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: rgba(var(--primary-rgb, 123,89,0), .1);
  color: var(--primary, #7B5900);
}
.auth-callback-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(var(--primary-rgb, 123,89,0), .2);
  border-top-color: var(--primary, #7B5900);
  border-radius: 50%;
  animation: auth-callback-spin .8s linear infinite;
}
@keyframes auth-callback-spin {
  to {
    transform: rotate(360deg);
  }
}
.auth-callback-eyebrow {
  margin: 2px 0 0;
  color: var(--udp-blue, #7B5900);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.auth-callback-modal h1 {
  margin: 0;
  color: #223151;
  font-size: clamp(1.45rem, 4vw, 1.9rem);
  line-height: 1.12;
}
.auth-callback-message,
.auth-callback-detail {
  margin: 0;
  color: var(--text-soft, #5f5a52);
  line-height: 1.55;
}
.auth-callback-message {
  color: var(--text, #1f1f1f);
  font-weight: 700;
}
.auth-callback-code {
  margin: 2px 0 4px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f6f3ec;
  color: var(--text-soft, #5f5a52);
  font-size: .76rem;
  font-weight: 700;
}
.auth-callback-back-btn {
  width: 100%;
  margin-top: 4px;
}
@media (max-width: 760px) {
  .auth-callback-screen {
    padding: 14px;
    align-items: end;
  }
  .auth-callback-shell {
    top: 14px;
    left: 14px;
    width: calc(100% - 28px);
    padding: 14px;
    border-radius: 18px;
  }
  .auth-callback-shell .auth-brand__logo {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }
  .auth-callback-modal {
    width: 100%;
    padding: 24px 18px 18px;
    border-radius: 24px;
  }
}

/* src/styles/units.css */
.panel__header .panel__title {
  order: 1;
}
.panel__header .panel__actions--shared-search {
  order: 2;
}
.panel__header #toggleUnitForm {
  order: 3;
}
#unitsContainer.table-like {
  display: block;
}
.units-grid-table-wrap {
  width: 100%;
  min-width: 0;
}
.units-grid-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.units-grid-table thead th {
  background: #111;
  color: #fff;
  text-align: left;
  font-size: .72rem;
  font-weight: 700;
  padding: 5px 8px;
  border-right: 1px solid rgba(255, 255, 255, .12);
  white-space: nowrap;
}
.units-grid-table thead th:last-child {
  border-right: none;
}
.units-grid-table tbody td {
  padding: 4px 8px;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: .78rem;
  line-height: 1.08;
  vertical-align: middle;
}
.units-grid-table tbody td:last-child {
  border-right: none;
}
.units-grid-table tbody tr:hover {
  background: #faf9f6;
}
.units-grid-th {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.units-grid-th i {
  font-style: normal;
}
.unit-grid-name {
  display: grid;
  gap: 2px;
}
.unit-grid-description {
  color: var(--text-muted);
  font-size: .7rem;
  line-height: 1.08;
}
.unit-state {
  font-weight: 700;
}
.unit-state--activa {
  color: var(--success);
}
.unit-state--inactiva {
  color: var(--danger);
}
body[data-page=unidades] #unitOffcanvas .form-offcanvas__panel,
body[data-page=unidades] #unitConfirmModal .confirm-offcanvas__panel {
  background: #f8faff !important;
}
body[data-page=unidades] #unitOffcanvas .form-main--offcanvas,
body[data-page=unidades] #unitConfirmModal .confirm-offcanvas__body {
  background: #ffffff !important;
}
body[data-page=unidades] #unitOffcanvas .form-panel__header,
body[data-page=unidades] #unitConfirmModal .confirm-offcanvas__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
body[data-page=unidades] #unitOffcanvas .form-panel__header > div,
body[data-page=unidades] #unitConfirmModal .confirm-offcanvas__header > div {
  min-width: 0;
}
body[data-page=unidades] .units-offcanvas__close {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 1.06rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
  margin-left: auto;
  transition: background .18s ease, border-color .18s ease;
}
body[data-page=unidades] .units-offcanvas__close:hover {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .44);
}
body[data-page=unidades] .units-offcanvas__close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .58);
  outline-offset: 2px;
}
body[data-page=unidades] #unitOffcanvas .form-actions--sticky,
body[data-page=unidades] #unitConfirmModal .confirm-offcanvas__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  overflow-x: auto;
}
body[data-page=unidades] #unitOffcanvas .form-actions--sticky {
  border-top: 1px solid rgba(50, 94, 241, .14);
  background: #f8faff !important;
}
body[data-page=unidades] #unitOffcanvas .form-actions--sticky .form-feedback {
  flex: 1 1 auto;
  min-width: 0;
}
body[data-page=unidades] #unitConfirmModal .confirm-offcanvas__actions {
  border-top: 1px solid rgba(50, 94, 241, .14);
  background: #f8faff !important;
}
body[data-page=unidades] #unitOffcanvas .form-actions--sticky .btn,
body[data-page=unidades] #unitConfirmModal .confirm-offcanvas__actions .btn {
  width: auto !important;
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 42px;
  border-radius: 14px;
  font-weight: 700;
  padding: 0 14px;
}
.units-offcanvas__close {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 1.06rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
  margin-left: auto;
  transition: background .18s ease, border-color .18s ease;
}
.confirm-offcanvas__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.confirm-offcanvas__header > div {
  min-width: 0;
}
.confirm-offcanvas__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.confirm-offcanvas__actions .btn {
  width: auto !important;
  flex: 0 0 auto;
  white-space: nowrap;
}
.table-like .table-row {
  grid-template-columns: minmax(260px, 2fr) minmax(180px, 1fr) minmax(120px, .7fr) minmax(120px, .7fr) minmax(110px, auto);
  min-width: 1050px;
}
.unit-color {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-block;
  background: var(--udp-blue);
  margin-right: 10px;
  vertical-align: middle;
}
.table-row strong .unit-color {
  display: inline-block;
  margin-right: 0;
}
.table-row .unit-name-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.table-row .unit-name-inline__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.unit-row-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.unit-row-actions .action-btn {
  flex: 0 0 auto;
}
.unit-mobile-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 12px;
  display: grid;
  gap: 10px;
}
.unit-mobile-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.unit-mobile-card__heading {
  min-width: 0;
}
.unit-mobile-card__heading h4 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.2;
}
.unit-mobile-card__actions-trigger {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-soft);
  border-radius: 9px;
  width: 30px;
  height: 30px;
  min-width: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.unit-mobile-card__description {
  margin: 0;
  color: var(--text-soft);
  font-size: .86rem;
  line-height: 1.35;
}
.unit-mobile-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.unit-mobile-card__badge {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text-soft);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 9px;
}
.unit-mobile-card__badge--success {
  color: var(--success);
  border-color: rgba(15, 143, 79, .28);
  background: rgba(15, 143, 79, .08);
}
.unit-mobile-card__badge--muted {
  color: #8a4f1c;
  border-color: rgba(242, 143, 42, .34);
  background: rgba(242, 143, 42, .12);
}
body.is-unit-actions-sheet-open {
  overflow: hidden;
}
.unit-actions-sheet[hidden] {
  display: none;
}
.unit-actions-sheet {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  align-items: end;
  pointer-events: none;
}
.unit-actions-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, .42);
  opacity: 0;
  transition: opacity .2s ease;
}
.unit-actions-sheet__panel {
  position: relative;
  background: #fff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border: 1px solid var(--border);
  border-bottom: none;
  box-shadow: 0 -14px 26px rgba(17, 24, 39, .16);
  transform: translateY(100%);
  transition: transform .2s ease;
  max-height: min(84vh, 560px);
  overflow: auto;
  width: min(100%, 560px);
  justify-self: center;
}
.unit-actions-sheet.is-open {
  pointer-events: auto;
}
.unit-actions-sheet.is-open .unit-actions-sheet__backdrop {
  opacity: 1;
}
.unit-actions-sheet.is-open .unit-actions-sheet__panel {
  transform: translateY(0);
}
.unit-actions-sheet__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border);
}
.unit-actions-sheet__header-copy {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  gap: 2px;
}
.unit-actions-sheet__header h3 {
  margin: 0;
  font-size: 1rem;
}
.unit-actions-sheet__name {
  margin: 0;
  color: var(--text);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.2;
  word-break: break-word;
}
.unit-actions-sheet__close {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  font-size: .95rem;
  line-height: 1;
}
.unit-actions-sheet__content {
  padding: 12px 14px 14px;
  display: grid;
  gap: 8px;
}
.unit-actions-sheet__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 0 12px;
  cursor: pointer;
}
.unit-actions-sheet__icon {
  width: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--udp-blue);
  font-size: .95rem;
}
.unit-actions-sheet__item--warning {
  border-color: rgba(201, 54, 54, .35);
  color: #9a1f1f;
}
.unit-actions-sheet__item--warning .unit-actions-sheet__icon {
  color: #c93636;
}
.unit-actions-sheet__item--success {
  border-color: rgba(15, 143, 79, .35);
  color: var(--success);
}
.unit-actions-sheet__item--success .unit-actions-sheet__icon {
  color: var(--success);
}
.confirm-modal[hidden] {
  display: none;
}
.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
}
.confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
}
.confirm-modal__dialog {
  position: relative;
  width: min(92vw, 520px);
  margin: 10vh auto 0;
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 24px;
  z-index: 1;
}
.confirm-modal__dialog h3 {
  margin: 0 0 10px;
}
.confirm-modal__dialog p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}
.confirm-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}
.unit-icon-upload {
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 4px 6px 4px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.unit-icon-upload__name {
  min-width: 0;
  font-size: .86rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.unit-icon-upload__trigger {
  min-height: 32px;
  height: 32px;
  padding: 0 12px;
  white-space: nowrap;
  flex: 0 0 auto;
}
.unit-icon-editor {
  display: flex;
  align-items: center;
  gap: 12px;
}
.unit-icon-editor__preview {
  width: 64px;
  height: 64px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.unit-icon-editor__preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.unit-icon-editor__preview img[hidden] {
  display: none;
}
.unit-icon-editor__preview span {
  font-size: .72rem;
  color: var(--text-muted);
  text-align: center;
}
.unit-icon-editor__clear {
  min-height: 36px;
  height: 36px;
  padding: 0 12px;
}
.unit-icon-inline {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid rgba(var(--primary-rgb, 123,89,0), .25);
  background: #fff;
  margin-right: 8px;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.table-row strong .unit-icon-inline {
  display: inline-flex;
  margin-right: 0;
  flex: 0 0 auto;
}
.unit-icon-inline img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
@media (min-width: 921px) {
  body[data-page=unidades] .content {
    padding: 4px 4px 0 4px;
    margin: 4px 0 0;
    height: calc(100vh - 8px);
    min-height: 0;
    display: flex;
  }
  body[data-page=unidades] .panel {
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
  }
  body[data-page=unidades] .panel__body {
    padding-bottom: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }
  #unitsContainer.table-like {
    flex: 1 1 auto;
    min-height: 0;
    margin-bottom: 0;
    overflow-x: auto;
    overflow-y: auto;
    padding-right: 2px;
    scrollbar-width: thin;
    scrollbar-color: var(--select-scroll-thumb) var(--select-scroll-track);
  }
  #unitsContainer.table-like::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  #unitsContainer.table-like::-webkit-scrollbar-track {
    background: var(--select-scroll-track);
    border-radius: 999px;
  }
  #unitsContainer.table-like::-webkit-scrollbar-thumb {
    background:
      linear-gradient(
        180deg,
        #c1c8dd,
        var(--select-scroll-thumb));
    border-radius: 999px;
    border: 2px solid var(--select-scroll-track);
  }
  #unitsContainer.table-like::-webkit-scrollbar-thumb:hover {
    background:
      linear-gradient(
        180deg,
        #aeb8d1,
        var(--select-scroll-thumb-hover));
  }
  .units-grid-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
  }
  .units-grid-table tbody td {
    padding: 3px 7px;
    font-size: .74rem;
    line-height: 1.02;
  }
  .unit-grid-description {
    font-size: .64rem;
  }
  .unit-row-actions {
    justify-content: center;
    gap: 6px;
  }
  .unit-row-actions .action-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: .72rem;
  }
}
@media (max-width: 680px) {
  #searchToggleBtn {
    display: none !important;
  }
  .panel__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
  }
  .panel__header .panel__title {
    grid-column: 1 / -1;
  }
  .panel__header .panel__actions--shared-search {
    grid-column: 1 / 2;
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }
  .panel__header .panel__actions--shared-search .panel-search {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 10px;
    border-radius: 12px;
    box-shadow: none;
  }
  .panel__header #toggleUnitForm {
    grid-column: 2 / 3;
    justify-self: end;
    align-self: center;
  }
  #unitsContainer.table-like {
    overflow-x: hidden;
    overflow-y: auto;
    max-height: calc(100vh - 320px);
    padding-right: 2px;
    -webkit-overflow-scrolling: touch;
  }
  .confirm-modal__actions {
    flex-direction: column;
  }
  .confirm-modal__actions .btn {
    width: 100%;
  }
  body[data-page=unidades] #unitOffcanvas .form-actions--sticky,
  body[data-page=unidades] #unitConfirmModal .confirm-offcanvas__actions {
    flex-wrap: nowrap !important;
    justify-content: flex-end;
  }
  body[data-page=unidades] #cancelUnitForm,
  body[data-page=unidades] #cancelUnitForm[data-mobile-icon],
  body[data-page=unidades] #saveUnitButton,
  body[data-page=unidades] #saveUnitButton[data-mobile-icon],
  body[data-page=unidades] #cancelUnitStatusBtn,
  body[data-page=unidades] #cancelUnitStatusBtn[data-mobile-icon],
  body[data-page=unidades] #confirmUnitStatusBtn,
  body[data-page=unidades] #confirmUnitStatusBtn[data-mobile-icon] {
    width: auto !important;
    min-width: 0;
    flex: 0 0 auto;
    min-height: 32px;
    height: 32px;
    padding: 0 12px;
    border-radius: 10px;
    justify-content: center;
    font-size: .73rem;
    line-height: 1.2;
    white-space: nowrap;
  }
  body[data-page=unidades] #cancelUnitForm .mobile-action-icon,
  body[data-page=unidades] #saveUnitButton .mobile-action-icon,
  body[data-page=unidades] #cancelUnitStatusBtn .mobile-action-icon,
  body[data-page=unidades] #confirmUnitStatusBtn .mobile-action-icon {
    display: none;
  }
  body[data-page=unidades] #saveUnitButton[data-mobile-icon]::before,
  body[data-page=unidades] #confirmUnitStatusBtn[data-mobile-icon]::before {
    content: none;
    display: none;
  }
}

/* src/styles/categories.css */
.category-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: nowrap;
}
.category-header-filter {
  display: block;
}
.panel__header .panel__title {
  order: 1;
}
.panel__header .panel__actions--shared-search {
  order: 2;
}
.panel__header .category-header-actions {
  order: 3;
}
.category-header-filter select {
  min-width: 220px;
  height: 40px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  box-shadow: none;
}
.category-header-filter select option {
  color: var(--text);
  background: #fff;
}
.toolbar__filters--category-unit {
  width: 100%;
  justify-content: flex-start;
}
.toolbar__filters--category-unit .category-header-filter {
  width: min(100%, 340px);
}
.toolbar__filters--category-unit .category-header-filter select {
  width: 100%;
  min-width: 0;
}
.table-like#categoriesContainer {
  display: block;
  overflow: visible;
}
.category-grid-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: clamp(500px, 68vh, 820px);
  overflow-x: auto;
  overflow-y: auto;
  border-radius: 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--select-scroll-thumb) var(--select-scroll-track);
}
.category-grid-wrap::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
.category-grid-wrap::-webkit-scrollbar-track {
  background: var(--select-scroll-track);
  border-radius: 999px;
}
.category-grid-wrap::-webkit-scrollbar-thumb {
  background:
    linear-gradient(
      180deg,
      #c1c8dd,
      var(--select-scroll-thumb));
  border-radius: 999px;
  border: 2px solid var(--select-scroll-track);
}
.category-grid-wrap::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(
      180deg,
      #aeb8d1,
      var(--select-scroll-thumb-hover));
}
.category-grid-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.category-grid-table thead th {
  background: #111;
  color: #fff;
  text-align: left;
  font-size: .76rem;
  font-weight: 700;
  padding: 6px 8px;
  border-right: 1px solid rgba(255, 255, 255, .12);
  white-space: nowrap;
}
.category-grid-table thead th:last-child {
  border-right: none;
}
.category-grid-table tbody td {
  padding: 4px 8px;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: .78rem;
  line-height: 1.08;
  vertical-align: middle;
}
.category-grid-table tbody td:last-child {
  border-right: none;
}
.category-grid-table tbody tr:hover {
  background: #faf9f6;
}
.category-grid-th {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.category-grid-th i {
  font-style: normal;
}
.category-grid-title {
  display: grid;
  gap: 2px;
}
.category-grid-unit {
  color: var(--text-muted);
  font-size: .68rem;
  line-height: 1.08;
}
.category-grid-title strong {
  font-size: .82rem;
  line-height: 1.06;
}
.category-grid-state {
  font-weight: 700;
}
.category-grid-state--active {
  color: var(--success);
}
.category-grid-state--inactive {
  color: #8a4f1c;
}
@media (min-width: 681px) {
  body[data-page=categorias] .category-grid-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
  }
}
.table-like .table-row {
  grid-template-columns: minmax(300px, 2fr) minmax(120px, .7fr) minmax(120px, .7fr) minmax(110px, auto);
  gap: 10px;
  padding: 10px 14px;
  min-width: 860px;
  border-radius: 16px;
}
.table-like {
  gap: 10px;
}
.category-row-actions {
  display: flex;
  gap: 4px;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  width: 100%;
}
.category-row-actions .action-btn {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  font-size: .66rem;
}
.category-row-unit {
  display: block;
  margin-bottom: 3px;
  font-size: .76rem;
  line-height: 1.2;
  color: var(--text-muted);
}
body[data-page=categorias] #categoryOffcanvas .form-offcanvas__panel,
body[data-page=categorias] #categoryConfirmModal .confirm-offcanvas__panel {
  background: #f8faff !important;
}
body[data-page=categorias] #categoryOffcanvas .form-main--offcanvas,
body[data-page=categorias] #categoryConfirmModal .confirm-offcanvas__body {
  background: #ffffff !important;
}
body[data-page=categorias] #categoryOffcanvas .form-panel__header,
body[data-page=categorias] #categoryConfirmModal .confirm-offcanvas__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
body[data-page=categorias] .categories-offcanvas__close {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.06rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
  margin-left: auto;
  transition: background 0.18s ease, border-color 0.18s ease;
}
body[data-page=categorias] .categories-offcanvas__close:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.44);
}
body[data-page=categorias] .categories-offcanvas__close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.58);
  outline-offset: 2px;
}
body[data-page=categorias] #categoryOffcanvas .form-actions--sticky,
body[data-page=categorias] #categoryConfirmModal .confirm-offcanvas__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  overflow-x: auto;
}
body[data-page=categorias] #categoryOffcanvas .form-actions--sticky {
  border-top: 1px solid rgba(50, 94, 241, 0.14);
  background: #f8faff !important;
}
body[data-page=categorias] #categoryConfirmModal .confirm-offcanvas__actions {
  border-top: 1px solid rgba(50, 94, 241, 0.14);
  background: #f8faff !important;
}
body[data-page=categorias] #categoryOffcanvas .form-actions--sticky .btn,
body[data-page=categorias] #categoryConfirmModal .confirm-offcanvas__actions .btn {
  width: auto !important;
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 42px;
  border-radius: 14px;
  font-weight: 700;
  padding: 0 14px;
}
.table-like .table-row strong {
  line-height: 1.2;
  font-size: 1rem;
}
.table-like .table-row span {
  line-height: 1.2;
  font-size: .9rem;
}
@media (min-width: 992px) {
  .category-grid-table thead th {
    padding: 5px 7px;
    font-size: .72rem;
  }
  .category-grid-table tbody td {
    padding: 3px 7px;
    font-size: .74rem;
    line-height: 1.02;
  }
  .category-grid-unit {
    font-size: .64rem;
  }
  .category-grid-title strong {
    font-size: .78rem;
  }
  .table-like .table-row {
    gap: 8px;
    padding: 8px 12px;
    border-radius: 14px;
  }
  .table-like {
    gap: 8px;
  }
  .category-row-actions .action-btn {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    font-size: .62rem;
  }
  .category-row-unit {
    margin-bottom: 1px;
    font-size: .7rem;
    line-height: 1.15;
  }
  .table-like .table-row strong {
    line-height: 1.12;
    font-size: .95rem;
  }
  .table-like .table-row span {
    line-height: 1.14;
    font-size: .84rem;
  }
}
@media (max-width: 991px) {
  .category-header-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .category-header-filter {
    width: 100%;
  }
  .category-header-filter select {
    width: 100%;
    min-width: 0;
  }
}
.category-mobile-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 12px;
  display: grid;
  gap: 10px;
}
.category-mobile-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.category-mobile-card__heading {
  min-width: 0;
}
.category-mobile-card__heading h4 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.15;
}
.category-mobile-card__actions-trigger {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-soft);
  border-radius: 9px;
  width: 30px;
  height: 30px;
  min-width: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.category-mobile-card__description {
  margin: 0;
  color: var(--text-soft);
  font-size: .86rem;
  line-height: 1.35;
}
.category-mobile-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.category-mobile-card__badge {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text-soft);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 9px;
}
.category-mobile-card__badge--success {
  color: var(--success);
  border-color: rgba(15, 143, 79, .28);
  background: rgba(15, 143, 79, .08);
}
.category-mobile-card__badge--muted {
  color: #8a4f1c;
  border-color: rgba(242, 143, 42, .34);
  background: rgba(242, 143, 42, .12);
}
body.is-category-actions-sheet-open {
  overflow: hidden;
}
.category-actions-sheet[hidden] {
  display: none;
}
.category-actions-sheet {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  align-items: end;
  pointer-events: none;
}
.category-actions-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, .42);
  opacity: 0;
  transition: opacity .2s ease;
}
.category-actions-sheet__panel {
  position: relative;
  background: #fff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border: 1px solid var(--border);
  border-bottom: none;
  box-shadow: 0 -14px 26px rgba(17, 24, 39, .16);
  transform: translateY(100%);
  transition: transform .2s ease;
  max-height: min(84vh, 560px);
  overflow: auto;
  width: min(100%, 560px);
  justify-self: center;
}
.category-actions-sheet.is-open {
  pointer-events: auto;
}
.category-actions-sheet.is-open .category-actions-sheet__backdrop {
  opacity: 1;
}
.category-actions-sheet.is-open .category-actions-sheet__panel {
  transform: translateY(0);
}
.category-actions-sheet__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border);
}
.category-actions-sheet__header-copy {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  gap: 2px;
}
.category-actions-sheet__header h3 {
  margin: 0;
  font-size: 1rem;
}
.category-actions-sheet__name {
  margin: 0;
  color: var(--text);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.2;
  word-break: break-word;
}
.category-actions-sheet__unit {
  margin: 0;
  color: var(--text-muted);
  font-size: .76rem;
  line-height: 1.2;
  word-break: break-word;
}
.category-actions-sheet__close {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  font-size: .95rem;
  line-height: 1;
}
.category-actions-sheet__content {
  padding: 12px 14px 14px;
  display: grid;
  gap: 8px;
}
.category-actions-sheet__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 0 12px;
  cursor: pointer;
}
.category-actions-sheet__icon {
  width: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--udp-blue);
  font-size: .95rem;
}
.category-actions-sheet__item--warning {
  border-color: rgba(201, 54, 54, .35);
  color: #9a1f1f;
}
.category-actions-sheet__item--warning .category-actions-sheet__icon {
  color: #c93636;
}
.category-actions-sheet__item--success {
  border-color: rgba(15, 143, 79, .35);
  color: var(--success);
}
.category-actions-sheet__item--success .category-actions-sheet__icon {
  color: var(--success);
}
@media (max-width: 680px) {
  #searchToggleBtn {
    display: none !important;
  }
  .panel__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
  }
  .panel__header .panel__title {
    grid-column: 1 / -1;
    min-width: 0;
  }
  .panel__title h3 {
    font-size: 1.35rem;
    line-height: 1.08;
  }
  .panel__title p {
    margin-top: 4px;
    font-size: .84rem;
    line-height: 1.28;
  }
  .panel__header .panel__actions--shared-search {
    grid-column: 1 / 2;
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }
  .panel__header .panel__actions--shared-search .panel-search {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 10px;
    border-radius: 12px;
    box-shadow: none;
  }
  .panel__header .category-header-actions {
    grid-column: 2 / 3;
    width: auto;
    justify-content: flex-end;
    align-self: center;
  }
  #categoriesContainer.table-like {
    overflow-x: hidden;
    overflow-y: auto;
    max-height: calc(100vh - 320px);
    padding-right: 2px;
    -webkit-overflow-scrolling: touch;
  }
}
@media (min-width: 761px) {
  body[data-page=categorias] .content {
    padding: 4px 4px 0 4px;
    margin: 4px 0 0;
    height: calc(100vh - 8px);
    min-height: 0;
    display: flex;
  }
  body[data-page=categorias] .panel {
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
  }
  body[data-page=categorias] .panel__body {
    padding-bottom: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }
  body[data-page=categorias] #categoriesContainer.table-like {
    flex: 1 1 auto;
    min-height: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  body[data-page=categorias] .category-grid-wrap {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    max-height: none;
    margin-bottom: 0;
    overflow-y: auto;
  }
}
.confirm-modal[hidden] {
  display: none;
}
.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
}
.confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
}
.confirm-modal__dialog {
  position: relative;
  width: min(92vw, 520px);
  margin: 10vh auto 0;
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 24px;
  z-index: 1;
}
.confirm-modal__dialog h3 {
  margin: 0 0 10px;
}
.confirm-modal__dialog p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}
.confirm-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}
@media (max-width: 680px) {
  .confirm-modal__actions {
    flex-direction: column;
  }
  .confirm-modal__actions .btn {
    width: 100%;
  }
}

/* src/styles/staff.css */
body[data-module=staff-admin] {
  overflow-x: hidden;
}
body[data-module=staff-admin] .table-like {
  max-width: 100%;
  min-width: 0;
  overflow-x: visible;
}
#staffContainer.table-like {
  display: block;
}
.staff-grid-table-wrap {
  width: 100%;
  min-width: 0;
}
.staff-grid-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.staff-grid-table thead th {
  background: #111;
  color: #fff;
  text-align: left;
  font-size: .72rem;
  font-weight: 700;
  padding: 5px 8px;
  border-right: 1px solid rgba(255, 255, 255, .12);
  white-space: nowrap;
}
.staff-grid-table thead th:last-child {
  border-right: none;
}
.staff-grid-table tbody td {
  padding: 4px 8px;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: .78rem;
  line-height: 1.08;
  vertical-align: middle;
}
.staff-grid-table tbody td:last-child {
  border-right: none;
}
.staff-grid-table tbody tr:hover {
  background: #faf9f6;
}
.staff-grid-th {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.staff-grid-th i {
  font-style: normal;
}
.staff-grid-name {
  display: grid;
  gap: 2px;
}
.staff-grid-name strong {
  font-size: .82rem;
  line-height: 1.06;
}
.staff-grid-name span {
  color: var(--text-muted);
  font-size: .7rem;
  line-height: 1.08;
}
.staff-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: nowrap;
}
.staff-header-filter {
  display: block;
}
.panel__header .panel__title {
  order: 1;
}
.panel__header .panel__actions--shared-search {
  order: 2;
}
.panel__header .staff-header-actions {
  order: 3;
}
.staff-header-filter select {
  min-width: 220px;
  height: 40px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  box-shadow: none;
}
.staff-header-filter select option {
  color: var(--text);
  background: #fff;
}
.toolbar__filters--staff-unit {
  width: 100%;
  justify-content: flex-start;
}
.toolbar__filters--staff-unit .staff-header-filter {
  width: min(100%, 340px);
}
.toolbar__filters--staff-unit .staff-header-filter select {
  width: 100%;
  min-width: 0;
}
.table-like .table-row {
  grid-template-columns: minmax(180px, 1.6fr) minmax(170px, 1.2fr) minmax(170px, 1fr) minmax(120px, .8fr) minmax(110px, .7fr) auto;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.staff-tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(var(--primary-rgb, 123,89,0), .08);
  color: var(--udp-blue);
  font-weight: 700;
}
.staff-tag--admin {
  background: rgba(255, 91, 77, .12);
  color: #b33529;
}
.staff-tag--profesional {
  background: rgba(var(--primary-rgb, 123,89,0), .08);
  color: var(--udp-blue);
}
.staff-row-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.staff-row-actions .action-btn {
  flex: 0 0 auto;
}
.staff-state {
  font-weight: 700;
}
.staff-state--activo {
  color: var(--success);
}
.staff-state--inactivo {
  color: var(--danger);
}
.staff-mobile-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 12px;
  display: grid;
  gap: 10px;
}
.staff-mobile-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.staff-mobile-card__heading {
  min-width: 0;
}
.staff-mobile-card__heading h4 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.15;
}
.staff-mobile-card__email {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: .8rem;
  line-height: 1.2;
  word-break: break-word;
}
.staff-mobile-card__actions-trigger {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-soft);
  border-radius: 9px;
  width: 30px;
  height: 30px;
  min-width: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.staff-mobile-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.staff-mobile-card__badge {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text-soft);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 9px;
}
.staff-mobile-card__badge--success {
  color: var(--success);
  border-color: rgba(15, 143, 79, .28);
  background: rgba(15, 143, 79, .08);
}
.staff-mobile-card__badge--muted {
  color: #8a4f1c;
  border-color: rgba(242, 143, 42, .34);
  background: rgba(242, 143, 42, .12);
}
body.is-staff-actions-sheet-open {
  overflow: hidden;
}
.staff-actions-sheet {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  align-items: end;
  pointer-events: none;
}
.staff-actions-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, .42);
  opacity: 0;
  transition: opacity .2s ease;
}
.staff-actions-sheet__panel {
  position: relative;
  background: #fff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border: 1px solid var(--border);
  border-bottom: none;
  box-shadow: 0 -14px 26px rgba(17, 24, 39, .16);
  transform: translateY(100%);
  transition: transform .2s ease;
  max-height: min(84vh, 560px);
  overflow: auto;
  width: min(100%, 560px);
  justify-self: center;
}
.staff-actions-sheet.is-open {
  pointer-events: auto;
}
.staff-actions-sheet.is-open .staff-actions-sheet__backdrop {
  opacity: 1;
}
.staff-actions-sheet.is-open .staff-actions-sheet__panel {
  transform: translateY(0);
}
.staff-actions-sheet__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border);
}
.staff-actions-sheet__header-copy {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  gap: 2px;
}
.staff-actions-sheet__header h3 {
  margin: 0;
  font-size: 1rem;
}
.staff-actions-sheet__name {
  margin: 0;
  color: var(--text);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.2;
  word-break: break-word;
}
.staff-actions-sheet__email {
  margin: 0;
  color: var(--text-muted);
  font-size: .76rem;
  line-height: 1.2;
  word-break: break-word;
}
.staff-actions-sheet__close {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.staff-actions-sheet__content {
  display: grid;
  gap: 8px;
  padding: 12px 16px 18px;
}
.staff-actions-sheet__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.staff-actions-sheet__icon {
  width: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
}
.staff-actions-sheet__item--warning {
  color: var(--danger);
  border-color: rgba(255, 91, 77, .28);
  background: rgba(255, 91, 77, .06);
}
.staff-actions-sheet__item--success {
  color: var(--success);
  border-color: rgba(15, 143, 79, .28);
  background: rgba(15, 143, 79, .06);
}
.confirm-modal[hidden] {
  display: none;
}
.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
}
.confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
}
.confirm-modal__dialog {
  position: relative;
  width: min(92vw, 520px);
  margin: 10vh auto 0;
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 24px;
  z-index: 1;
}
.confirm-modal__dialog h3 {
  margin: 0 0 10px;
}
.confirm-modal__dialog p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}
.confirm-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}
body[data-page=personal] #staffOffcanvas .form-offcanvas__panel,
body[data-page=personal] #staffConfirmModal .confirm-offcanvas__panel {
  background: #f8faff !important;
}
body[data-page=personal] #staffOffcanvas .form-main--offcanvas,
body[data-page=personal] #staffConfirmModal .confirm-offcanvas__body {
  background: #ffffff !important;
}
body[data-page=personal] #staffOffcanvas .form-panel__header,
body[data-page=personal] #staffConfirmModal .confirm-offcanvas__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
body[data-page=personal] #staffOffcanvas .form-panel__header > div,
body[data-page=personal] #staffConfirmModal .confirm-offcanvas__header > div {
  min-width: 0;
}
body[data-page=personal] .staff-offcanvas__close {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 1.06rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
  margin-left: auto;
  transition: background .18s ease, border-color .18s ease;
}
body[data-page=personal] .staff-offcanvas__close:hover {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .44);
}
body[data-page=personal] .staff-offcanvas__close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .58);
  outline-offset: 2px;
}
body[data-page=personal] #staffOffcanvas .form-actions--sticky,
body[data-page=personal] #staffConfirmModal .confirm-offcanvas__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  overflow-x: auto;
}
body[data-page=personal] #staffOffcanvas .form-actions--sticky {
  border-top: 1px solid rgba(50, 94, 241, .14);
  background: #f8faff !important;
}
body[data-page=personal] #staffOffcanvas .form-actions--sticky .form-feedback {
  flex: 1 1 auto;
  min-width: 0;
}
body[data-page=personal] #staffConfirmModal .confirm-offcanvas__actions {
  border-top: 1px solid rgba(50, 94, 241, .14);
  background: #f8faff !important;
}
body[data-page=personal] #staffOffcanvas .form-actions--sticky .btn,
body[data-page=personal] #staffConfirmModal .confirm-offcanvas__actions .btn {
  width: auto !important;
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 42px;
  border-radius: 14px;
  font-weight: 700;
  padding: 0 14px;
}
@media (max-width: 1500px) {
  .table-like .table-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .staff-row-actions {
    justify-content: flex-start;
  }
}
@media (min-width: 992px) {
  .table-like {
    gap: 8px;
  }
  .table-like .table-row {
    gap: 8px;
    padding: 8px 12px;
    border-radius: 14px;
  }
  .table-like .table-row strong {
    line-height: 1.12;
    font-size: .95rem;
  }
  .table-like .table-row span {
    line-height: 1.14;
    font-size: .84rem;
  }
  .staff-tag {
    padding: 4px 8px;
    font-size: .78rem;
    line-height: 1.1;
  }
  .staff-row-actions {
    gap: 8px;
  }
  .staff-row-actions .action-btn {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }
}
@media (max-width: 1120px) {
  .table-like .table-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 991px) {
  .staff-header-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .staff-header-filter {
    width: 100%;
  }
  .staff-header-filter select {
    width: 100%;
    min-width: 0;
  }
}
@media (max-width: 760px) {
  .table-like .table-row {
    grid-template-columns: 1fr;
  }
  .staff-row-actions {
    justify-content: flex-end;
  }
}
@media (max-width: 680px) {
  #staffContainer.table-like {
    display: grid;
    gap: 10px;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: calc(100vh - 320px);
    padding-right: 2px;
    -webkit-overflow-scrolling: touch;
  }
  #searchToggleBtn {
    display: none !important;
  }
  .panel__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
  }
  .panel__header .panel__title {
    grid-column: 1 / -1;
    min-width: 0;
  }
  .panel__title h3 {
    font-size: 1.35rem;
    line-height: 1.08;
  }
  .panel__title p {
    margin-top: 4px;
    font-size: .84rem;
    line-height: 1.28;
  }
  .panel__header .panel__actions--shared-search {
    grid-column: 1 / 2;
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }
  .panel__header .panel__actions--shared-search .panel-search {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 10px;
    border-radius: 12px;
    box-shadow: none;
  }
  .panel__header .staff-header-actions {
    grid-column: 2 / 3;
    width: auto;
    justify-content: flex-end;
    align-self: center;
  }
  .confirm-modal__actions {
    flex-direction: column;
  }
  .confirm-modal__actions .btn {
    width: 100%;
  }
  body[data-page=personal] #staffOffcanvas .form-actions--sticky,
  body[data-page=personal] #staffConfirmModal .confirm-offcanvas__actions {
    flex-wrap: nowrap !important;
    justify-content: flex-end;
  }
  body[data-page=personal] #cancelStaffForm,
  body[data-page=personal] #saveStaffButton,
  body[data-page=personal] #cancelStaffStatusBtn,
  body[data-page=personal] #confirmStaffStatusBtn {
    width: auto !important;
    min-width: 0;
    flex: 0 0 auto;
    min-height: 32px;
    height: 32px;
    padding: 0 12px;
    border-radius: 10px;
    justify-content: center;
    font-size: .73rem;
    line-height: 1.2;
    white-space: nowrap;
  }
}
@media (min-width: 681px) {
  body[data-page=personal] .content {
    padding: 4px 4px 0 4px;
    margin: 4px 0 0;
    height: calc(100vh - 8px);
    min-height: 0;
    display: flex;
  }
  body[data-page=personal] .panel {
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
  }
  body[data-page=personal] .panel__body {
    padding-bottom: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }
  body[data-page=personal] #staffContainer.table-like {
    flex: 1 1 auto;
    min-height: 0;
    margin-bottom: 0;
    overflow-x: auto;
    overflow-y: auto;
    padding-right: 2px;
    scrollbar-width: thin;
    scrollbar-color: var(--select-scroll-thumb) var(--select-scroll-track);
  }
  body[data-page=personal] #staffContainer.table-like::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  body[data-page=personal] #staffContainer.table-like::-webkit-scrollbar-track {
    background: var(--select-scroll-track);
    border-radius: 999px;
  }
  body[data-page=personal] #staffContainer.table-like::-webkit-scrollbar-thumb {
    background:
      linear-gradient(
        180deg,
        #c1c8dd,
        var(--select-scroll-thumb));
    border-radius: 999px;
    border: 2px solid var(--select-scroll-track);
  }
  body[data-page=personal] #staffContainer.table-like::-webkit-scrollbar-thumb:hover {
    background:
      linear-gradient(
        180deg,
        #aeb8d1,
        var(--select-scroll-thumb-hover));
  }
  body[data-page=personal] .staff-grid-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
  }
  body[data-page=personal] #staffContainer.table-like {
    gap: 6px;
  }
  body[data-page=personal] #staffContainer.table-like .table-row {
    gap: 6px;
    padding: 6px 10px;
    border-radius: 12px;
  }
  body[data-page=personal] #staffContainer.table-like .table-row strong {
    font-size: .88rem;
    line-height: 1.08;
  }
  body[data-page=personal] #staffContainer.table-like .table-row span {
    font-size: .78rem;
    line-height: 1.1;
  }
  body[data-page=personal] .staff-tag {
    padding: 3px 7px;
    font-size: .72rem;
    line-height: 1.05;
  }
  body[data-page=personal] .staff-row-actions {
    gap: 6px;
  }
  body[data-page=personal] .staff-row-actions .action-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: .72rem;
  }
  body[data-page=personal] .staff-grid-table tbody td {
    padding: 3px 7px;
    font-size: .74rem;
    line-height: 1.02;
  }
  body[data-page=personal] .staff-grid-name strong {
    font-size: .78rem;
  }
  body[data-page=personal] .staff-grid-name span {
    font-size: .64rem;
  }
  body[data-page=personal] .staff-grid-table td[data-label=Acciones] .staff-row-actions {
    justify-content: center;
    gap: 6px;
  }
}

/* src/styles/portal-staff.css */
.staff-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.staff-kpi-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  padding: 14px 16px;
}
.staff-kpi-card span {
  display: block;
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.staff-kpi-card strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 6px;
}
.staff-kpi-card small {
  color: var(--text-soft);
}
.staff-events-stack {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.staff-event-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(
      180deg,
      #fff 0%,
      #faf9f6 100%);
  box-shadow: var(--shadow-soft);
  padding: 10px 12px;
  z-index: 0;
  transition:
    border-color .22s ease,
    box-shadow .22s ease,
    transform .22s ease;
}
.staff-event-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: rgba(var(--primary-rgb, 123,89,0), .2);
  transition: background .2s ease;
}
.staff-event-panel.is-open::before {
  background: var(--udp-blue);
}
.staff-event-panel.is-open {
  border-color: rgba(var(--primary-rgb, 123,89,0), .38);
  box-shadow: 0 14px 26px rgba(17, 24, 39, .12), 0 0 0 1px rgba(var(--primary-rgb, 123,89,0), .12);
  transform: translateY(-2px);
  z-index: 3;
}
.staff-event-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  min-width: 0;
}
.staff-event-trigger {
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  width: 100%;
  min-width: 0;
  text-align: left;
  cursor: pointer;
}
.staff-event-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.staff-event-title-row h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.08;
}
.staff-event-meta-inline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px 8px;
  font-size: .76rem;
  color: var(--text-soft);
}
.staff-event-meta-inline span {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  padding: 5px 8px;
}
.staff-event-meta-inline i {
  font-style: normal;
  display: inline-flex;
  width: 12px;
  justify-content: center;
}
.staff-event-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding-left: 10px;
  margin-left: 6px;
  border-left: 1px solid var(--border);
  min-width: 0;
  max-width: 100%;
}
.staff-event-actions .btn {
  min-height: 26px;
  height: 26px;
  padding: 0 8px;
  width: 136px;
  max-width: 100%;
  justify-content: center;
  font-size: .69rem;
  white-space: nowrap;
  border-radius: 8px;
}
.staff-chevron {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  font-size: .72rem;
  line-height: 1;
  flex: 0 0 auto;
}
.staff-event-panel.is-open .staff-chevron {
  transform: rotate(180deg);
  border-color: rgba(var(--primary-rgb, 123,89,0), .4);
  color: var(--udp-blue);
  background: rgba(var(--primary-rgb, 123,89,0), .08);
}
.staff-accordion-body {
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px dashed #d9d5cb;
}
.staff-event-detail {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
}
.staff-event-detail p {
  margin: 0 0 8px;
  color: var(--text-soft);
  font-size: .8rem;
  line-height: 1.35;
}
.staff-event-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
}
.staff-event-detail-grid span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-soft);
  font-size: .78rem;
}
.staff-event-detail-grid i {
  font-style: normal;
  display: inline-flex;
  width: 12px;
  justify-content: center;
}
@media (min-width: 681px) {
  .staff-event-panel.is-open {
    border-color: rgba(var(--primary-rgb, 123,89,0), .55);
    box-shadow: 0 16px 30px rgba(17, 24, 39, .14), 0 0 0 2px rgba(var(--primary-rgb, 123,89,0), .16);
    transform: none;
  }
  .staff-event-panel.is-open .staff-event-title-row h3 {
    color: var(--udp-blue);
  }
}
.staff-table-wrap {
  overflow-x: auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.staff-event-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.staff-event-table thead th {
  background: #111;
  color: #fff;
  text-align: left;
  font-size: .84rem;
  font-weight: 700;
  padding: 10px 12px;
  border-right: 1px solid rgba(255, 255, 255, .12);
  white-space: nowrap;
}
.staff-event-table thead th:last-child {
  border-right: none;
}
.staff-event-table tbody td {
  padding: 9px 12px;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: .92rem;
  vertical-align: middle;
  white-space: nowrap;
}
.staff-event-table tbody td:last-child {
  border-right: none;
}
.staff-event-table tbody tr:hover {
  background: #faf9f6;
}
.staff-th {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.staff-th i {
  font-style: normal;
}
.staff-btn-link {
  border: none;
  background: transparent;
  padding: 0;
  color: var(--udp-blue);
  cursor: pointer;
  font-weight: 700;
}
.staff-btn-link:hover {
  text-decoration: underline;
}
.participant-status,
.attendance-text {
  font-weight: 600;
}
.attendance-text--done {
  color: var(--success);
}
.attendance-text--pending {
  color: var(--text-muted);
}
.btn--danger-outline {
  background: #fff;
  color: var(--danger);
  border: 1px solid rgba(255, 91, 77, .35);
}
.btn--danger-outline:hover {
  background: rgba(255, 91, 77, .08);
}
.confirm-modal[hidden] {
  display: none;
}
.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
}
.confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
}
.confirm-modal__dialog {
  position: relative;
  width: min(92vw, 560px);
  margin: 8vh auto 0;
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 24px;
  z-index: 1;
}
.confirm-modal__dialog h3 {
  margin: 0 0 10px;
}
.confirm-modal__dialog p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}
.confirm-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}
body[data-page=reportes] {
  --report-bg:#E4E0D5;
  --report-surface:#FFFFFF;
  --report-text:#1C1C1C;
  --report-primary:#325EF1;
  --report-success:#0EC881;
  --report-danger:#FF5B4D;
  --report-warning:#E8B717;
  --report-male:#14BDFF;
  --report-female:#DA3D74;
  --report-nb:#7D4AC7;
}
.staff-report-panel .panel__body {
  display: grid;
  gap: 14px;
}
.staff-report-panel + .staff-report-panel {
  margin-top: 24px;
}
.staff-report-form {
  display: grid;
  gap: 12px;
}
.staff-report-form__filters {
  display: grid;
  grid-template-columns: minmax(240px, 1.7fr) repeat(2, minmax(160px, 1fr)) auto;
  gap: 10px;
  align-items: end;
  min-width: 0;
}
.staff-report-form__filters--event {
  grid-template-columns: minmax(170px, .9fr) minmax(250px, 1.5fr) minmax(130px, .8fr) minmax(130px, .8fr) auto;
  gap: 8px;
}
.staff-report-field {
  gap: 6px;
}
.staff-report-field span {
  font-size: .84rem;
  color: var(--report-text);
}
.staff-report-field input {
  height: 36px;
  min-height: 36px;
  padding: 0 10px;
  font-size: .84rem;
  color: var(--report-text);
  background: var(--report-surface);
}
.staff-report-field--date input[type=date] {
  height: 32px;
  min-height: 32px;
  padding: 0 8px;
  font-size: .8rem;
}
.staff-report-field--date input[type=date]::-webkit-calendar-picker-indicator {
  transform: scale(.88);
  transform-origin: center;
}
.staff-report-field select {
  height: 36px;
  min-height: 36px;
  padding: 0 10px;
  font-size: .84rem;
  color: var(--report-text);
  background: var(--report-surface);
}
body[data-page=reportes] .staff-report-field input:focus,
body[data-page=reportes] .staff-report-field select:focus {
  outline: none;
  border-color: var(--report-primary);
  box-shadow: 0 0 0 2px rgba(50, 94, 241, .18);
}
.staff-report-search-btn {
  height: 36px;
  min-height: 36px;
  padding: 0 12px;
  align-self: end;
  min-width: 0;
}
.staff-report-search-btn--icon {
  width: 36px;
  min-width: 36px;
  padding: 0;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  background: var(--report-primary);
  border-color: var(--report-primary);
  color: #fff;
}
.staff-report-search-btn--icon:hover {
  filter: brightness(.94);
}
.staff-report-form-note {
  margin: 0;
  font-size: .86rem;
  color: var(--text-muted);
}
.staff-report-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}
.staff-report-header-actions .btn {
  min-height: 42px;
  height: 42px;
  padding: 0 14px;
}
.staff-report-table {
  min-width: 1120px;
}
.staff-report-table td {
  white-space: normal;
}
.staff-report-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.staff-report-pagination p {
  margin: 0;
  color: var(--text-muted);
  font-size: .9rem;
}
.staff-report-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
}
.staff-report-badge--activa {
  color: var(--success);
  background: #f1fcf7;
  border-color: #bde7d1;
}
.staff-report-badge--cancelada {
  color: #b33529;
  background: #fff4f4;
  border-color: #f0c7c7;
}
.staff-report-badge--present {
  color: var(--success);
  background: #f1fcf7;
  border-color: #bde7d1;
}
.staff-report-badge--absent {
  color: #b33529;
  background: #fff4f4;
  border-color: #f0c7c7;
}
.staff-report-badge--pending {
  color: #8a6d00;
  background: #fff9e8;
  border-color: #efdca0;
}
.staff-attendance-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  line-height: 1;
  font-weight: 800;
  border: 1px solid transparent;
}
.staff-attendance-icon--si {
  color: var(--report-success);
  background: rgba(14, 200, 129, .14);
  border-color: rgba(14, 200, 129, .35);
}
.staff-attendance-icon--no {
  color: var(--report-danger);
  background: rgba(255, 91, 77, .13);
  border-color: rgba(255, 91, 77, .35);
}
.staff-attendance-icon--cancelada {
  color: var(--report-warning);
  background: rgba(232, 183, 23, .14);
  border-color: rgba(232, 183, 23, .38);
}
.staff-sex-icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .92rem;
  line-height: 1;
  font-weight: 700;
  font-family:
    "Segoe UI Symbol",
    "Segoe UI Emoji",
    "Noto Sans Symbols 2",
    "Noto Sans Symbols",
    "Apple Symbols",
    "Arial Unicode MS",
    sans-serif;
  border: 1px solid transparent;
}
.staff-sex-icon--masculino {
  color: var(--report-male);
  background: rgba(20, 189, 255, .14);
  border-color: rgba(20, 189, 255, .35);
}
.staff-sex-icon--femenino {
  color: var(--report-female);
  background: rgba(218, 61, 116, .14);
  border-color: rgba(218, 61, 116, .35);
}
.staff-sex-icon--no-binario {
  color: var(--report-nb);
  background: rgba(125, 74, 199, .14);
  border-color: rgba(125, 74, 199, .35);
}
.staff-sex-icon--otro {
  color: #4f5b67;
  background: #f3f6f9;
  border-color: #d7dee6;
}
@media (min-width: 921px) {
  body[data-page=reportes] .content {
    padding: 4px 4px 0 4px;
    margin: 4px 0 0;
    height: calc(100vh - 8px);
    min-height: 0;
    display: flex;
    background: var(--report-bg);
  }
  body[data-page=reportes] .content > .panel {
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  body[data-page=reportes] .content > .panel > .panel__body {
    padding-bottom: 0;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    gap: 8px;
  }
  body[data-page=reportes] .staff-report-form {
    margin-top: -2px;
    gap: 8px;
  }
  body[data-page=reportes] .staff-report-panel .form-feedback {
    flex: 0 0 auto;
    min-height: 0;
    margin: 0;
  }
  body[data-page=reportes] .staff-table-wrap {
    flex: 1 1 auto;
    min-height: 0;
    margin-bottom: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding-right: 2px;
    scrollbar-width: thin;
    scrollbar-color: var(--select-scroll-thumb) var(--select-scroll-track);
  }
  body[data-page=reportes] .staff-report-table {
    min-width: 1040px;
  }
  body[data-page=reportes] .staff-report-table thead th {
    padding: 6px 8px;
    font-size: .75rem;
    line-height: 1.02;
    background: #1C1C1C;
    color: #fff;
  }
  body[data-page=reportes] .staff-report-table tbody td {
    padding: 4px 8px;
    font-size: .8rem;
    line-height: 1.04;
    white-space: nowrap;
  }
  body[data-page=reportes] .staff-report-table tbody td:nth-child(7),
  body[data-page=reportes] .staff-report-table tbody td:last-child {
    text-align: center;
  }
  body[data-page=reportes] .staff-report-table tbody td:nth-child(3) {
    max-width: 430px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body[data-page=reportes] .staff-table-wrap::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  body[data-page=reportes] .staff-table-wrap::-webkit-scrollbar-track {
    background: var(--select-scroll-track);
    border-radius: 999px;
  }
  body[data-page=reportes] .staff-table-wrap::-webkit-scrollbar-thumb {
    background:
      linear-gradient(
        180deg,
        #c1c8dd,
        var(--select-scroll-thumb));
    border-radius: 999px;
    border: 2px solid var(--select-scroll-track);
  }
  body[data-page=reportes] .staff-table-wrap::-webkit-scrollbar-thumb:hover {
    background:
      linear-gradient(
        180deg,
        #aeb8d1,
        var(--select-scroll-thumb-hover));
  }
  body[data-page=reportes] .staff-report-pagination {
    justify-content: flex-end;
    gap: 8px;
  }
  body[data-page=reportes] .staff-report-pagination .btn {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    line-height: 1;
    font-weight: 700;
  }
  body[data-page=reportes] .staff-report-pagination p {
    margin: 0;
    font-size: .82rem;
    color: var(--text-muted);
    white-space: nowrap;
  }
}
@media (max-width: 1180px) {
  .staff-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1240px) {
  .staff-event-head {
    grid-template-columns: 1fr;
  }
  .staff-event-actions {
    justify-content: flex-start;
    border-left: none;
    padding-left: 0;
    margin-left: 0;
  }
  .staff-event-actions .btn {
    width: auto;
    min-width: 128px;
    flex: 0 1 auto;
  }
  .staff-report-form__filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .staff-report-field--mail {
    grid-column: 1 / -1;
  }
  .staff-report-search-btn {
    width: 100%;
  }
  .staff-report-search-btn--icon {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
}
@media (max-width: 920px) {
  .staff-event-head {
    grid-template-columns: 1fr;
  }
  .staff-event-actions {
    justify-content: flex-start;
    border-left: none;
    padding-left: 0;
    margin-left: 0;
  }
  .staff-report-form__filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .staff-report-field--mail {
    grid-column: 1 / -1;
  }
  .staff-report-search-btn {
    width: 100%;
  }
  .staff-report-header-actions {
    width: 100%;
    justify-content: flex-start;
  }
}
@media (max-width: 680px) {
  .staff-kpi-grid {
    grid-template-columns: 1fr;
  }
  .confirm-modal__actions {
    flex-direction: column;
  }
  .staff-event-actions .btn,
  .confirm-modal__actions .btn {
    width: 100%;
  }
  .staff-event-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
  }
  .staff-event-actions .btn {
    width: auto;
    min-width: 0;
    min-height: 30px;
    height: 30px;
    padding: 0 10px;
    font-size: .74rem;
    flex: 1 1 0;
  }
  .staff-chevron {
    width: 30px;
    height: 30px;
    min-width: 30px;
    flex: 0 0 30px;
    border-radius: 9px;
  }
  .staff-report-form__filters {
    grid-template-columns: 1fr;
  }
  .staff-report-pagination {
    justify-content: stretch;
  }
  .staff-report-header-actions {
    width: 100%;
  }
  .staff-report-header-actions .btn {
    width: 100%;
  }
  .staff-report-pagination .btn {
    width: 100%;
  }
  body[data-page=reportes] .staff-report-pagination {
    justify-content: center;
    gap: 8px;
  }
  body[data-page=reportes] .staff-report-pagination .btn {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    border-radius: 999px;
    font-size: 1.06rem;
  }
  body[data-page=reportes] .staff-report-pagination p {
    font-size: .8rem;
    white-space: nowrap;
  }
  .staff-event-panel {
    padding: 10px 12px;
  }
  .staff-event-meta-inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 8px;
  }
  .staff-event-detail-grid {
    grid-template-columns: 1fr;
  }
  .staff-report-panel + .staff-report-panel {
    margin-top: 18px;
  }
}

/* src/styles/portal-staff-attendance.css */
body[data-page=asistencia] .content {
  padding: 4px;
}
.attendance-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 12px;
  align-items: end;
}
@media (min-width: 1081px) {
  .attendance-toolbar {
    grid-template-columns: minmax(240px, 360px) minmax(360px, 1fr) auto;
    align-items: end;
  }
  .attendance-scope-filters {
    grid-column: auto;
    width: 100%;
    display: block;
  }
  .attendance-scope-filters > .toolbar-filter-select:only-child {
    width: 100%;
    max-width: 100%;
  }
  .attendance-event-select {
    grid-column: auto;
    width: 100%;
  }
  .attendance-bulk-radios {
    width: auto;
    justify-self: end;
  }
}
.attendance-scope-filters {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.attendance-scope-filters > .toolbar-filter-select:only-child {
  width: min(360px, 100%);
}
.attendance-event-select,
.attendance-scope-filters .toolbar-filter-select {
  position: relative;
  display: block;
}
.attendance-event-select select,
.attendance-scope-filters .toolbar-filter-select select {
  min-height: 42px;
  height: 42px;
  width: 100%;
  min-width: 190px;
  padding: 0 34px 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text-soft);
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.attendance-event-select select:focus,
.attendance-scope-filters .toolbar-filter-select select:focus {
  outline: none;
  border-color: rgba(50, 94, 241, 0.4);
  box-shadow: 0 0 0 3px rgba(50, 94, 241, 0.12);
}
.attendance-event-select::after,
.attendance-scope-filters .toolbar-filter-select::after {
  content: "\25be";
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-52%);
  font-size: 0.78rem;
  color: var(--text-muted);
  pointer-events: none;
}
.attendance-event-select {
  margin: 0;
  width: 100%;
}
.attendance-bulk-radios {
  justify-self: end;
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 8px;
  width: min(460px, 100%);
}
.attendance-bulk-radio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  min-width: 0;
  border: 1px solid var(--udp-black);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  padding: 0 12px;
  cursor: pointer;
}
.attendance-bulk-radio span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.attendance-bulk-radio input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--udp-blue);
  cursor: pointer;
}
.attendance-bulk-radio input:checked + span {
  color: var(--udp-blue);
}
.attendance-bulk-radio input:disabled {
  cursor: not-allowed;
}
.attendance-bulk-radio input:disabled + span {
  opacity: 0.5;
}
.attendance-registered-inline {
  display: none;
  margin: 10px 0 12px;
  font-size: 0.92rem;
  color: var(--text-soft);
}
body[data-page=asistencia] .staff-table-wrap {
  height: clamp(500px, 68vh, 820px);
  overflow-x: auto;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--select-scroll-thumb) var(--select-scroll-track);
}
body[data-page=asistencia] .staff-table-wrap::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
body[data-page=asistencia] .staff-table-wrap::-webkit-scrollbar-track {
  background: var(--select-scroll-track);
  border-radius: 999px;
}
body[data-page=asistencia] .staff-table-wrap::-webkit-scrollbar-thumb {
  background:
    linear-gradient(
      180deg,
      #c1c8dd,
      var(--select-scroll-thumb));
  border-radius: 999px;
  border: 2px solid var(--select-scroll-track);
}
body[data-page=asistencia] .staff-table-wrap::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(
      180deg,
      #aeb8d1,
      var(--select-scroll-thumb-hover));
}
@media (min-width: 761px) {
  body[data-page=asistencia] .content {
    padding: 4px 4px 0 4px;
    margin: 4px 0 0;
    height: calc(100vh - 8px);
    min-height: 0;
    display: flex;
  }
  body[data-page=asistencia] .content > .panel {
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  body[data-page=asistencia] .content > .panel > .panel__body {
    padding-bottom: 0;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    gap: 8px;
  }
  body[data-page=asistencia] .staff-table-wrap {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    max-height: none;
    margin-bottom: 0;
    overflow-x: auto;
    overflow-y: auto;
  }
  body[data-page=asistencia] .staff-event-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
  }
  body[data-page=asistencia] .staff-event-table thead th {
    padding: 5px 7px;
    font-size: 0.72rem;
    line-height: 1;
  }
  body[data-page=asistencia] .staff-event-table tbody td {
    padding: 3px 7px;
    font-size: 0.74rem;
    line-height: 1.02;
  }
  body[data-page=asistencia] .attendance-more-data-btn,
  body[data-page=asistencia] .attendance-action-btn {
    min-height: 24px;
    height: 24px;
    padding: 0 6px;
    font-size: 0.66rem;
    border-radius: 7px;
  }
  body[data-page=asistencia] .attendance-actions {
    gap: 3px;
  }
  body[data-page=asistencia] .staff-event-table td.attendance-observation {
    min-width: 124px;
  }
}
.attendance-offcanvas[hidden] {
  display: none;
}
.attendance-offcanvas {
  position: fixed;
  inset: 0;
  z-index: 142;
  pointer-events: none;
}
.attendance-offcanvas__backdrop {
  position: absolute;
  inset: 0;
  background: var(--offcanvas-backdrop, rgba(28, 28, 28, 0.52));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.attendance-offcanvas__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(520px, 100vw);
  height: 100%;
  background: var(--offcanvas-surface, #f8faff);
  border-left: 1px solid var(--offcanvas-border, var(--border));
  box-shadow: none;
  display: grid;
  grid-template-rows: auto 1fr auto;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}
.attendance-offcanvas.is-open {
  pointer-events: auto;
}
.attendance-offcanvas.is-open .attendance-offcanvas__backdrop {
  opacity: 1;
}
.attendance-offcanvas.is-open .attendance-offcanvas__panel {
  transform: translateX(0);
  box-shadow: var(--offcanvas-shadow, -14px 0 30px rgba(28, 28, 28, 0.14));
}
.attendance-offcanvas__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 18px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  background:
    linear-gradient(
      135deg,
      var(--udp-black) 0%,
      var(--brand-gradient-mid, var(--udp-blue)) 100%);
  color: #fff;
}
.attendance-offcanvas__header h4 {
  margin: 0;
  font-size: 1.2rem;
}
.attendance-offcanvas__header p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 0.9rem;
}
.attendance-offcanvas__close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.06rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.16s ease;
}
.attendance-offcanvas__close:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.44);
}
.attendance-offcanvas__close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.58);
  outline-offset: 2px;
}
.attendance-offcanvas__body {
  padding: 16px 18px;
  overflow: auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: #ffffff;
}
.attendance-offcanvas__question {
  margin: 0 0 14px;
  font-weight: 600;
  color: var(--text-soft);
}
.attendance-offcanvas__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid rgba(50, 94, 241, 0.14);
  background: #f8faff;
}
.attendance-offcanvas__actions .btn {
  min-height: 42px;
  border-radius: 14px;
  font-weight: 700;
  padding: 0 18px;
}
.attendance-offcanvas__actions .btn--secondary {
  border-color: rgba(50, 94, 241, 0.28);
  color: var(--udp-blue);
  background: #fff;
}
.attendance-offcanvas__actions .btn--secondary:hover {
  border-color: rgba(50, 94, 241, 0.5);
  background: rgba(50, 94, 241, 0.06);
}
.attendance-offcanvas__actions .btn--primary {
  border-color: var(--udp-blue);
  background: var(--udp-blue);
  color: #fff;
}
.attendance-offcanvas__actions .btn--primary:hover {
  filter: brightness(1.05);
}
.attendance-actions {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
}
.attendance-action-btn {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.attendance-action-btn:hover {
  border-color: var(--udp-blue);
  color: var(--udp-blue);
}
.attendance-action-btn.is-active {
  background: var(--udp-blue);
  border-color: var(--udp-blue);
  color: #fff;
}
.attendance-action-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.attendance-more-data {
  white-space: nowrap;
}
.attendance-more-data-btn {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.attendance-more-data-btn:hover {
  border-color: var(--udp-blue);
  color: var(--udp-blue);
}
.participant-status {
  font-weight: 600;
}
.participant-status--active {
  color: var(--success);
}
.participant-status--cancelled {
  color: var(--danger);
}
.attendance-text--absent {
  color: var(--danger);
}
.attendance-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 18px 10px;
}
.staff-event-table td.attendance-observation {
  white-space: normal;
  min-width: 190px;
  color: var(--text-soft);
}
.attendance-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 0;
  row-gap: 6px;
  width: 100%;
  align-content: start;
}
.attendance-detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  min-width: 0;
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
}
.attendance-detail-item--wide {
  grid-column: auto;
}
.attendance-detail-icon {
  width: 20px;
  min-width: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--udp-blue);
  font-size: 0.95rem;
  line-height: 1;
}
.attendance-detail-value {
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
#attendanceParticipantDetailsOffcanvas .attendance-offcanvas__panel {
  width: min(380px, 100vw);
}
#attendanceObservationOffcanvas .attendance-offcanvas__panel {
  width: min(380px, 100vw);
}
#attendanceParticipantDetailsOffcanvas .attendance-offcanvas__body {
  overflow: hidden;
  padding: 12px 18px;
}
.events-feedback {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 0.9rem;
}
.events-feedback[data-type=success] {
  border-color: rgba(29, 143, 97, 0.34);
  background: rgba(29, 143, 97, 0.08);
  color: var(--success);
}
.events-feedback[data-type=error] {
  border-color: rgba(255, 91, 77, 0.34);
  background: rgba(255, 91, 77, 0.08);
  color: var(--danger);
}
@media (max-width: 1180px) {
  .attendance-toolbar {
    grid-template-columns: 1fr;
  }
  .attendance-event-select {
    grid-column: 1 / -1;
  }
  .attendance-bulk-radios {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 520px;
    justify-self: start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1080px) {
  .attendance-toolbar {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  body[data-page=asistencia] .panel,
  body[data-page=asistencia] .panel__body {
    overflow: visible;
  }
  .attendance-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: end;
    position: relative;
    padding: 0;
    margin-bottom: 8px;
  }
  .attendance-scope-filters {
    grid-column: 1 / -1;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .attendance-scope-filters .toolbar-filter-select {
    min-width: 0;
  }
  .attendance-scope-filters > .toolbar-filter-select:only-child {
    grid-column: 1 / -1;
    width: 100%;
  }
  .attendance-event-select::after,
  .attendance-scope-filters .toolbar-filter-select::after {
    right: 10px;
    font-size: 0.7rem;
  }
  .attendance-event-select select,
  .attendance-scope-filters .toolbar-filter-select select {
    min-width: 0;
    width: 100%;
    min-height: 34px;
    height: 34px;
    padding: 0 28px 0 10px;
    font-size: 0.74rem;
    border-radius: 12px;
  }
  .attendance-event-select {
    grid-column: 1 / -1;
    position: sticky;
    top: calc(var(--header-height) + 6px);
    z-index: 14;
    background: var(--surface);
    padding: 8px 0 6px;
    margin-bottom: 2px;
    border-bottom: 1px solid var(--border);
  }
  .attendance-bulk-radios {
    grid-column: 1 / -1;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .attendance-bulk-radio {
    min-width: 0;
    width: 100%;
    min-height: 34px;
    height: 34px;
    border-radius: 12px;
    font-size: 0.74rem;
    padding: 0 8px;
    gap: 6px;
  }
  .attendance-bulk-radio input {
    width: 12px;
    height: 12px;
  }
  .attendance-actions {
    flex-direction: column;
  }
  .staff-table-wrap {
    overflow: visible;
    height: auto;
    max-height: none;
  }
  .staff-event-table {
    min-width: 0;
    border: none;
    background: transparent;
    display: block;
  }
  .staff-event-table thead {
    display: none;
  }
  .staff-event-table tbody {
    display: grid;
    gap: 10px;
  }
  .staff-event-table tbody tr {
    display: grid;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    padding: 10px;
  }
  .staff-event-table tbody tr:hover {
    background: #fff;
  }
  .staff-event-table tbody td {
    display: grid;
    grid-template-columns: minmax(92px, 118px) minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    padding: 0;
    border: none;
    white-space: normal;
    font-size: 0.84rem;
    line-height: 1.3;
    min-width: 0;
  }
  .staff-event-table tbody td::before {
    content: attr(data-label);
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-weight: 700;
  }
  .staff-event-table tbody td[data-label=Inscrito] {
    font-weight: 700;
    color: var(--text);
  }
  .staff-event-table tbody td[data-label=Segmento],
  .staff-event-table tbody td[data-label=Reserva],
  .staff-event-table tbody td[data-label=Observacion] {
    display: none;
  }
  .staff-event-table tbody td[data-label="Mas datos"] {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .staff-event-table tbody td[data-label=Acciones] {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-top: 6px;
    border-top: 1px dashed var(--border);
  }
  .staff-event-table tbody td[data-label=Acciones]::before {
    margin-bottom: 2px;
  }
  .staff-event-table td.attendance-observation {
    min-width: 0;
  }
  .staff-event-table td.attendance-empty {
    display: block;
    border: none;
    padding: 6px 2px;
  }
  .staff-event-table td.attendance-empty::before {
    display: none;
  }
  .attendance-actions {
    flex-direction: row;
    width: 100%;
    gap: 8px;
    flex-wrap: nowrap;
  }
  .attendance-action-btn {
    flex: 1 1 0;
    width: 100%;
    min-height: 34px;
    padding: 0 8px;
    font-size: 0.74rem;
    border-radius: 9px;
    white-space: nowrap;
  }
  .attendance-more-data-btn {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.74rem;
    border-radius: 9px;
  }
  .attendance-detail-grid {
    grid-template-columns: 1fr;
    row-gap: 5px;
  }
  .attendance-detail-item--wide {
    grid-column: auto;
  }
  .attendance-detail-item {
    gap: 6px;
    min-height: 28px;
  }
  .attendance-detail-value {
    font-size: 0.76rem;
  }
  #attendanceParticipantDetailsOffcanvas .attendance-offcanvas__body {
    padding: 10px 14px;
  }
  .attendance-offcanvas__panel {
    width: 100vw;
    max-height: 100dvh;
  }
  .attendance-offcanvas__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
  }
  .attendance-offcanvas__actions .btn {
    width: auto;
  }
}
@media (min-width: 1150px) {
  body[data-page=asistencia] .attendance-toolbar {
    grid-template-columns: minmax(200px, 260px) minmax(220px, 1fr) auto;
    gap: 8px;
    align-items: center;
  }
  body[data-page=asistencia] .attendance-scope-filters {
    grid-column: auto;
    display: block;
    min-width: 0;
  }
  body[data-page=asistencia] .attendance-scope-filters > .toolbar-filter-select:only-child {
    width: 100%;
    max-width: 100%;
  }
  body[data-page=asistencia] .attendance-event-select {
    grid-column: auto;
    width: 100%;
    min-width: 0;
  }
  body[data-page=asistencia] .attendance-bulk-radios {
    grid-column: auto;
    width: auto;
    justify-self: end;
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 6px;
  }
  body[data-page=asistencia] .attendance-bulk-radio {
    min-height: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 0.78rem;
  }
}
@media (min-width: 761px) and (max-width: 1299px) {
  body[data-page=asistencia]:not([data-portal=personal]) .attendance-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: end;
  }
  body[data-page=asistencia]:not([data-portal=personal]) .attendance-scope-filters {
    grid-column: 1 / -1;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
  }
  body[data-page=asistencia]:not([data-portal=personal]) .attendance-scope-filters .toolbar-filter-select {
    min-width: 0;
  }
  body[data-page=asistencia]:not([data-portal=personal]) .attendance-event-select {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }
  body[data-page=asistencia]:not([data-portal=personal]) .attendance-bulk-radios {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 520px;
    justify-self: start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  body[data-page=asistencia]:not([data-portal=personal]) .attendance-bulk-radio {
    width: 100%;
    min-height: 38px;
    height: 38px;
    padding: 0 10px;
    font-size: 0.78rem;
  }
}
@media (min-width: 1300px) {
  body[data-page=asistencia]:not([data-portal=personal]) .attendance-toolbar {
    grid-template-columns: minmax(200px, 280px) minmax(200px, 280px) minmax(320px, 1fr) auto;
    gap: 8px;
    align-items: end;
  }
  body[data-page=asistencia]:not([data-portal=personal]) .attendance-scope-filters {
    grid-column: 1 / 3;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
  }
  body[data-page=asistencia]:not([data-portal=personal]) .attendance-scope-filters .toolbar-filter-select {
    min-width: 0;
  }
  body[data-page=asistencia]:not([data-portal=personal]) .attendance-event-select {
    grid-column: 1 / 4;
    width: 100%;
    min-width: 0;
  }
  body[data-page=asistencia]:not([data-portal=personal]) .attendance-bulk-radios {
    grid-column: 4 / 5;
    width: auto;
    justify-self: end;
    grid-template-columns: repeat(2, minmax(max-content, 1fr));
    gap: 6px;
  }
}
@media (min-width: 761px) {
  body[data-page=asistencia]:not([data-portal=personal]) .staff-table-wrap {
    flex: 1 1 auto;
    min-height: 340px;
    height: auto;
    margin-bottom: 0;
  }
  body[data-page=asistencia]:not([data-portal=personal]) .content {
    padding: 4px 4px 0 4px;
    margin: 4px 0 0;
    height: calc(100vh - 8px);
    min-height: 0;
    display: flex;
  }
  body[data-page=asistencia]:not([data-portal=personal]) .panel {
    width: 100%;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
  }
  body[data-page=asistencia]:not([data-portal=personal]) .panel__body {
    padding-bottom: 0;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
}

/* src/styles/dashboard.css */
.dashboard-highlight {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: #fff;
}
.admin-floating-summary {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 35;
  transform: translateY(-50%) translateX(100%);
  transition: transform .28s ease;
}
.admin-floating-summary:hover,
.admin-floating-summary:focus-within {
  transform: translateY(-50%) translateX(0);
}
.admin-floating-summary__handle {
  position: absolute;
  left: -40px;
  top: 24px;
  width: 40px;
  height: 142px;
  border: none;
  border-radius: 16px 0 0 16px;
  background: var(--udp-black);
  color: #fff;
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .02em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 6px 0;
}
.admin-floating-summary__panel {
  width: min(288px, 78vw);
  border: 1px solid rgba(255, 255, 255, .18);
  border-right: none;
  border-radius: 18px 0 0 18px;
  background:
    linear-gradient(
      135deg,
      var(--udp-black) 0%,
      var(--brand-gradient-mid, #2848B8) 40%,
      var(--brand-gradient-end, var(--udp-blue)) 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .28);
  padding: 10px;
  display: grid;
  gap: 8px;
}
.admin-floating-summary__eyebrow {
  color: rgba(255, 255, 255, .8);
}
.admin-floating-summary__panel h2 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.1;
}
.admin-floating-summary__panel p {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: .76rem;
  line-height: 1.28;
}
.admin-floating-summary__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.admin-floating-summary__stat {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  padding: 7px;
  display: grid;
  gap: 4px;
}
.admin-floating-summary__stat span {
  color: rgba(255, 255, 255, .82);
  font-size: .72rem;
}
.admin-floating-summary__stat strong {
  font-size: 1rem;
  line-height: 1;
}
.admin-floating-summary__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.admin-floating-summary__actions .btn {
  min-height: 30px;
  height: 30px;
  padding: 0 9px;
  font-size: .74rem;
}
.admin-floating-summary__actions .btn--ghost {
  border: 1px solid rgba(255, 255, 255, .2);
}
.dashboard-grid--single {
  grid-template-columns: 1fr;
}
.admin-floating-quick {
  position: fixed;
  top: 76%;
  right: 0;
  z-index: 34;
  transform: translateY(-50%) translateX(100%);
  transition: transform .28s ease;
}
.admin-floating-quick:hover,
.admin-floating-quick:focus-within {
  transform: translateY(-50%) translateX(0);
}
.admin-floating-quick__handle {
  position: absolute;
  left: -40px;
  top: 18px;
  width: 40px;
  height: 138px;
  border: none;
  border-radius: 16px 0 0 16px;
  background: var(--udp-blue);
  color: #fff;
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .02em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 6px 0;
}
.admin-floating-quick__panel {
  width: min(272px, 76vw);
  border: 1px solid rgba(28, 28, 28, .08);
  border-right: none;
  border-radius: 18px 0 0 18px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .2);
  padding: 9px;
  display: grid;
  gap: 7px;
}
.admin-floating-quick__eyebrow {
  color: var(--text-muted);
}
.admin-floating-quick__panel h2 {
  margin: 0;
  font-size: .96rem;
  line-height: 1.1;
}
.admin-floating-quick__panel p {
  margin: 0;
  color: var(--text-soft);
  font-size: .74rem;
}
.admin-floating-quick__panel .quick-links--floating {
  display: grid;
  gap: 5px;
}
.admin-floating-quick__panel .quick-link--floating {
  min-height: 33px;
  padding: 7px 9px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
}
.admin-floating-quick__panel .quick-link--floating:hover {
  border-color: rgba(var(--primary-rgb, 123,89,0), .35);
  background: #fff;
}
.admin-floating-quick__panel .quick-link--floating strong {
  color: var(--udp-blue);
}
.quick-hidden {
  display: none !important;
}
#adminAgendaCards {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
#agendaDayPanel .panel__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 14px 16px;
}
#agendaDayPanel .panel__title {
  min-width: 0;
  order: 1;
}
#agendaDayPanel .panel__actions--agenda-header {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-left: auto;
  justify-self: end;
  order: 2;
}
#agendaDayPanel .panel__actions--agenda-header .panel-search {
  width: clamp(220px, 30vw, 380px);
  min-width: 0;
  height: 38px;
  padding: 0 12px;
  border-radius: 14px;
  box-shadow: none;
}
#agendaDayPanel .panel__actions--agenda-header .panel-search input {
  min-width: 0;
}
#agendaDayPanel .panel__actions--agenda-header .agenda-refresh-btn {
  flex: 0 0 auto;
  align-self: center;
}
#agendaDayPanel .agenda-toolbar-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px 12px;
  margin-top: 8px;
}
#agendaDayPanel .agenda-header-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 8px;
  min-width: 0;
  align-items: end;
}
body[data-portal=personal][data-page=inicio] #agendaDayPanel .agenda-header-filters {
  grid-template-columns: minmax(220px, 360px);
  width: fit-content;
  max-width: 100%;
}
#agendaDayPanel .agenda-filter {
  display: grid;
  gap: 4px;
}
#agendaDayPanel .agenda-filter > span {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
}
#agendaDayPanel .agenda-filter select {
  width: 100%;
  min-height: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  padding: 0 28px 0 10px;
  outline: none;
}
#agendaDayPanel .agenda-toolbar-row .agenda-filter select {
  border: 1px solid rgba(28, 28, 28, .2);
  background: #fff;
  color: var(--text);
}
#agendaDayPanel .agenda-filter select:focus {
  border-color: rgba(255, 255, 255, .55);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .14);
}
#agendaDayPanel .agenda-toolbar-row .agenda-filter select:focus {
  border-color: rgba(var(--primary-rgb, 123,89,0), .65);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 123,89,0), .18);
}
#agendaDayPanel .agenda-filter select option {
  color: var(--text);
  background: #fff;
}
#agendaDayPanel .agenda-filter--custom {
  position: relative;
}
#agendaDayPanel .agenda-filter .agenda-select-native {
  position: absolute;
  inset: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
#agendaDayPanel .agenda-custom-select {
  position: relative;
  width: min(360px, 100%);
}
#agendaDayPanel .agenda-custom-select__trigger {
  width: 100%;
  min-height: 46px;
  border-radius: 16px;
  border: 2px solid #4e53ff;
  background: #fff;
  color: #1d2e59;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px;
  font-size: .88rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(31, 46, 96, .12);
}
#agendaDayPanel .agenda-custom-select__value {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#agendaDayPanel .agenda-custom-select__chevron {
  font-size: 1rem;
  line-height: 1;
  color: #4e53ff;
  transform: rotate(180deg);
  transition: transform .18s ease;
}
#agendaDayPanel .agenda-custom-select.is-open .agenda-custom-select__chevron {
  transform: rotate(0deg);
}
#agendaDayPanel .agenda-custom-select__trigger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(78, 83, 255, .2), 0 8px 18px rgba(31, 46, 96, .12);
}
#agendaDayPanel .agenda-custom-select__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  border: 1px solid #d9deef;
  border-radius: 20px;
  background: #f7f8fb;
  box-shadow: 0 18px 30px rgba(31, 46, 96, .2);
  overflow: hidden;
  z-index: 25;
}
#agendaDayPanel .agenda-custom-select__search-wrap {
  padding: 12px 14px;
  border-bottom: 1px solid #dfe4f3;
  background: #eef1f8;
}
#agendaDayPanel .agenda-custom-select__search {
  width: 100%;
  min-height: 38px;
  height: 38px;
  border-radius: 999px;
  border: 2px solid #4e53ff;
  background: #fff;
  color: #2c3e66;
  padding: 0 14px;
  font-size: .84rem;
}
#agendaDayPanel .agenda-custom-select__search:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(78, 83, 255, .18);
}
#agendaDayPanel .agenda-custom-select__options {
  max-height: 220px;
  overflow: auto;
  background: #fff;
  scrollbar-width: thin;
  scrollbar-color: #b5bdd3 #f2f4fa;
  scrollbar-gutter: stable;
}
#agendaDayPanel .agenda-custom-select__options::-webkit-scrollbar {
  width: 10px;
}
#agendaDayPanel .agenda-custom-select__options::-webkit-scrollbar-track {
  background: #f2f4fa;
  border-radius: 999px;
}
#agendaDayPanel .agenda-custom-select__options::-webkit-scrollbar-thumb {
  background:
    linear-gradient(
      180deg,
      #c1c8dd,
      #aeb7cf);
  border-radius: 999px;
  border: 2px solid #f2f4fa;
}
#agendaDayPanel .agenda-custom-select__options::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(
      180deg,
      #aeb8d1,
      #9ea9c5);
}
#agendaDayPanel .agenda-custom-select__option {
  width: 100%;
  border: none;
  border-bottom: 1px solid #edf1f8;
  background: #fff;
  color: #1d2e59;
  text-align: left;
  padding: 6px 12px;
  font-size: .84rem;
  line-height: 1.1;
  cursor: pointer;
}
#agendaDayPanel .agenda-custom-select__option:last-child {
  border-bottom: none;
}
#agendaDayPanel .agenda-custom-select__option:hover {
  background: #f1f4fc;
}
#agendaDayPanel .agenda-custom-select__option.is-selected {
  background: #e5eaf8;
  color: #2f41f2;
}
#agendaDayPanel .agenda-custom-select__empty {
  margin: 0;
  padding: 14px 22px;
  color: #5f6f8e;
  font-size: .84rem;
}
#agendaDayPanel .agenda-refresh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  min-width: 34px;
  min-height: 34px;
  height: 34px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1;
  align-self: end;
}
#agendaDayPanel .agenda-refresh-btn__icon {
  display: inline-block;
  line-height: 1;
  transition: transform .22s ease;
}
#agendaDayPanel .agenda-refresh-btn:hover {
  background: rgba(255, 255, 255, .2);
  border-color: rgba(255, 255, 255, .42);
}
#agendaDayPanel .agenda-refresh-btn:hover .agenda-refresh-btn__icon {
  transform: rotate(180deg);
}
#agendaDayPanel .agenda-refresh-btn:focus-visible {
  outline: none;
  border-color: rgba(255, 255, 255, .6);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .14);
}
#agendaDayPanel .panel__body--agenda {
  display: grid;
  gap: 12px;
  padding-right: 0;
  padding-top: 0;
  padding-bottom: 0;
}
#agendaDayPanel .agenda-pagination {
  position: static;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 5px;
}
#agendaDayPanel .agenda-pagination__controls {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
#agendaDayPanel .agenda-pagination__numbers {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
#agendaDayPanel .agenda-pagination__page,
#agendaDayPanel .agenda-pagination__prev,
#agendaDayPanel .agenda-pagination__next {
  border: 1px solid rgba(var(--primary-rgb, 123,89,0), .24);
  background: #fff;
  color: var(--udp-blue);
  border-radius: 8px;
  min-height: 22px;
  height: 22px;
  padding: 0 7px;
  font-size: .58rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    background .18s ease,
    color .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    transform .14s ease;
}
#agendaDayPanel .agenda-pagination__page:hover,
#agendaDayPanel .agenda-pagination__prev:hover,
#agendaDayPanel .agenda-pagination__next:hover {
  border-color: rgba(var(--primary-rgb, 123,89,0), .45);
  box-shadow: 0 4px 10px rgba(var(--primary-rgb, 123,89,0), .15);
  transform: translateY(-1px);
}
#agendaDayPanel .agenda-pagination__page.is-active {
  background: var(--udp-blue);
  border-color: var(--udp-blue);
  color: #fff;
  box-shadow: 0 4px 10px rgba(var(--primary-rgb, 123,89,0), .25);
}
#agendaDayPanel .agenda-pagination__prev:disabled,
#agendaDayPanel .agenda-pagination__next:disabled {
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
#agendaDayPanel .agenda-pagination__page:focus-visible,
#agendaDayPanel .agenda-pagination__prev:focus-visible,
#agendaDayPanel .agenda-pagination__next:focus-visible {
  outline: none;
  border-color: rgba(var(--primary-rgb, 123,89,0), .65);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 123,89,0), .2);
}
#agendaDayPanel .agenda-pagination--top {
  align-self: end;
}
body[data-portal=personal][data-page=inicio] #agendaDayPanel .agenda-pagination--top {
  justify-self: end;
  justify-items: end;
  margin-right: 22px;
}
#agendaDayPanel .agenda-pagination--bottom {
  justify-self: center;
}
body[data-portal=personal][data-page=inicio] #agendaDayPanel .agenda-pagination--bottom {
  justify-self: end;
  justify-items: end;
  margin-right: 22px;
  margin-bottom: 10px;
}
#adminAgendaCards .schedule-item--card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 7px;
  min-height: 136px;
  min-width: 0;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(28, 28, 28, .1);
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #faf9f5 100%);
  box-shadow: 0 4px 12px rgba(28, 28, 28, .06);
  overflow: hidden;
  transition:
    transform .2s ease,
    box-shadow .24s ease,
    border-color .24s ease,
    background .24s ease;
}
#adminAgendaCards .schedule-item--card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background:
    linear-gradient(
      90deg,
      rgba(var(--primary-rgb, 123,89,0), .6) 0%,
      rgba(var(--primary-rgb, 123,89,0), 0) 100%);
  opacity: .45;
  transition: opacity .24s ease;
}
#adminAgendaCards .schedule-item--card .schedule-time {
  align-self: start;
  justify-self: start;
  max-width: calc(100% - 44px);
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid rgba(var(--primary-rgb, 123,89,0), .25);
  border-radius: 999px;
  background: rgba(var(--primary-rgb, 123,89,0), .1);
  color: var(--udp-blue);
  font-size: .66rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#adminAgendaCards .schedule-item--card .agenda-unit-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid rgba(var(--primary-rgb, 123,89,0), .25);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(17, 24, 39, .08);
}
#adminAgendaCards .schedule-item--card .agenda-unit-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
#adminAgendaCards .schedule-item--card .schedule-info {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
}
#adminAgendaCards .schedule-item--card .schedule-info strong {
  margin: 0;
  font-size: .76rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#adminAgendaCards .schedule-item--card .schedule-info span {
  margin: 0;
  color: var(--text-muted);
  font-size: .68rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#adminAgendaCards .schedule-item--card .badge {
  justify-self: start;
  align-self: end;
  padding: 4px 8px;
  font-size: .56rem;
  line-height: 1.2;
}
#adminAgendaCards .schedule-item--card .agenda-view-btn {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(var(--primary-rgb, 123,89,0), .35);
  background: #fff;
  color: var(--udp-blue);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition:
    opacity .18s ease,
    transform .18s ease,
    background .2s ease,
    color .2s ease,
    border-color .2s ease;
}
#adminAgendaCards .schedule-item--card .agenda-view-btn:hover {
  background: var(--udp-blue);
  color: #fff;
  border-color: var(--udp-blue);
}
#adminAgendaCards .schedule-item--card:hover,
#adminAgendaCards .schedule-item--card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(var(--primary-rgb, 123,89,0), .3);
  box-shadow: 0 12px 24px rgba(28, 28, 28, .12);
}
#adminAgendaCards .schedule-item--card:hover::before,
#adminAgendaCards .schedule-item--card:focus-within::before {
  opacity: .95;
}
#adminAgendaCards .schedule-item--card:hover .schedule-time,
#adminAgendaCards .schedule-item--card:focus-within .schedule-time {
  background: rgba(var(--primary-rgb, 123,89,0), .15);
  border-color: rgba(var(--primary-rgb, 123,89,0), .45);
}
#adminAgendaCards .schedule-item--card:hover .agenda-view-btn,
#adminAgendaCards .schedule-item--card:focus-within .agenda-view-btn {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  #adminAgendaCards .schedule-item--card {
    transition: none;
  }
  #adminAgendaCards .schedule-item--card::before {
    transition: none;
  }
  #adminAgendaCards .schedule-item--card .agenda-view-btn {
    transition: none;
  }
  #adminAgendaCards .schedule-item--card:hover,
  #adminAgendaCards .schedule-item--card:focus-within {
    transform: none;
  }
}
@media (min-width: 1200px) {
  #adminAgendaCards {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
@media (max-width: 1180px) {
  #agendaDayPanel .agenda-toolbar-row {
    grid-template-columns: 1fr;
    align-items: start;
  }
  #agendaDayPanel .agenda-header-filters {
    width: 100%;
  }
  #agendaDayPanel .agenda-pagination {
    justify-items: center;
  }
  #agendaDayPanel .agenda-pagination--bottom {
    justify-self: center;
  }
}
@media (min-width: 681px) {
  #agendaDayPanel .agenda-pagination--top {
    justify-self: end;
    justify-items: end;
    margin-right: 22px;
  }
  #agendaDayPanel .agenda-pagination--bottom {
    justify-self: end;
    justify-items: end;
    margin-right: 22px;
    margin-bottom: 12px;
  }
  #agendaDayPanel .agenda-pagination--bottom .agenda-pagination__controls {
    justify-content: flex-end;
  }
}
@media (max-width: 680px) {
  #agendaDayPanel .agenda-header-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  body[data-portal=personal][data-page=inicio] #agendaDayPanel .agenda-header-filters {
    grid-template-columns: minmax(0, 1fr);
  }
  #agendaDayPanel .agenda-header-filters .agenda-filter {
    min-width: 0;
  }
  #agendaDayPanel .agenda-header-filters .agenda-filter select {
    min-width: 0;
    min-height: 34px;
    height: 34px;
    padding: 0 26px 0 10px;
    font-size: .74rem;
    border-radius: 12px;
  }
  #agendaDayPanel .agenda-custom-select__trigger {
    min-height: 44px;
    border-radius: 14px;
    padding: 0 12px;
    font-size: .82rem;
  }
  #agendaDayPanel .agenda-custom-select__search-wrap {
    padding: 10px;
  }
  #agendaDayPanel .agenda-custom-select__search {
    min-height: 36px;
    height: 36px;
    padding: 0 12px;
    font-size: .8rem;
  }
  #agendaDayPanel .agenda-custom-select__option {
    padding: 6px 10px;
    font-size: .8rem;
  }
  #agendaDayPanel .panel__body--agenda {
    gap: 10px;
  }
  #agendaDayPanel .agenda-pagination {
    justify-items: stretch;
    gap: 4px;
  }
  body[data-portal=personal][data-page=inicio] #agendaDayPanel .agenda-pagination--bottom {
    justify-self: center;
    justify-items: center;
    margin-right: 0;
    margin-bottom: 10px;
  }
  body[data-portal=personal][data-page=inicio] #agendaDayPanel .agenda-pagination--top {
    justify-self: center;
    justify-items: center;
    margin-right: 0;
  }
  #agendaDayPanel .agenda-pagination__controls {
    width: 100%;
    justify-content: center;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  #agendaDayPanel .agenda-pagination__controls::-webkit-scrollbar {
    display: none;
  }
  #agendaDayPanel .agenda-pagination__numbers {
    flex: 0 0 auto;
  }
  #agendaDayPanel .agenda-pagination__prev,
  #agendaDayPanel .agenda-pagination__page,
  #agendaDayPanel .agenda-pagination__next {
    font-size: .54rem;
    min-height: 24px;
    height: 24px;
  }
  #agendaDayPanel .agenda-pagination__prev,
  #agendaDayPanel .agenda-pagination__next {
    min-width: 30px;
    width: 30px;
    padding: 0;
    font-size: .8rem;
  }
  #adminAgendaCards .schedule-item--card .agenda-view-btn {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}
#quickEventOffcanvas .event-offcanvas__panel {
  width: min(540px, 100vw);
}
#quickEventOffcanvas .event-stepper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  padding: 10px 18px;
}
#quickEventOffcanvas .event-stepper::before {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  top: 50%;
  height: 2px;
  background: var(--border);
  transform: translateY(-50%);
  z-index: 0;
}
#quickEventOffcanvas .event-stepper__item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-soft);
}
#quickEventOffcanvas .event-stepper__item .event-stepper__number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  display: grid;
  place-items: center;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1;
}
#quickEventOffcanvas .event-stepper__item.is-active,
#quickEventOffcanvas .event-stepper__item.is-complete {
  border: none;
  background: transparent;
}
#quickEventOffcanvas .event-stepper__item.is-active .event-stepper__number {
  border-color: var(--udp-blue);
  background: rgba(var(--primary-rgb, 123,89,0), .12);
  color: var(--udp-blue);
}
#quickEventOffcanvas .event-stepper__item.is-complete .event-stepper__number {
  border-color: var(--success);
  background: #e9f8ef;
  color: var(--success);
}
#quickEventOffcanvas .event-stepper__label {
  display: none;
}
#quickEventOffcanvas .form-actions--wizard {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
#quickEventOffcanvas .form-actions--wizard .btn {
  width: auto;
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 36px;
  height: 36px;
  padding: 0 10px;
}
#quickEventOffcanvas .event-step .form-grid--2,
#quickEventOffcanvas .event-step .form-grid--3,
#quickEventOffcanvas .event-step .form-grid--4,
#quickEventOffcanvas .event-step .event-location-grid {
  grid-template-columns: 1fr;
}
#quickEventOffcanvas .form-main--offcanvas.is-step-1 .event-step[data-step="1"] #quickEventName {
  min-height: 36px;
  height: 36px;
  padding: 0 10px;
}
#quickEventOffcanvas .form-main--offcanvas.is-step-1 .event-step[data-step="1"] #quickEventDescription {
  min-height: 44px;
  max-height: 44px;
  padding: 8px 10px;
  line-height: 1.25;
}
#quickEventOffcanvas .form-main--offcanvas .event-location-grid .sede-field,
#quickEventOffcanvas .form-main--offcanvas .event-location-grid .ubicacion-field,
#quickEventOffcanvas .form-main--offcanvas .event-location-grid .publico-field {
  grid-column: auto;
  grid-row: auto;
}
#quickEventOffcanvas .event-step[data-step="2"] {
  gap: 8px;
  overflow: hidden;
}
#quickEventOffcanvas .event-step[data-step="2"] .form-section__intro {
  gap: 2px;
}
#quickEventOffcanvas .event-step[data-step="2"] .form-section__intro h5 {
  margin: 0 0 2px;
  font-size: .96rem;
}
#quickEventOffcanvas .event-step[data-step="2"] .form-section__intro p {
  font-size: .78rem;
}
#quickEventOffcanvas .event-step[data-step="2"] .form-grid {
  gap: 8px;
}
#quickEventOffcanvas .event-step[data-step="2"] .form-field {
  gap: 4px;
}
#quickEventOffcanvas .event-step[data-step="2"] .form-field span {
  font-size: .82rem;
}
#quickEventOffcanvas .event-step[data-step="2"] .form-field--with-toggle .capacity-inline-row {
  display: grid;
  grid-template-columns: minmax(124px, 172px) minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}
#quickEventOffcanvas .event-step[data-step="2"] .form-field--with-toggle .capacity-inline-row .capacity-inline-row__input {
  width: 100%;
  max-width: 172px;
}
#quickEventOffcanvas .event-step[data-step="2"] .form-field--with-toggle .capacity-inline-row .capacity-inline-row__checks {
  display: grid;
  gap: 6px;
  align-content: start;
  justify-items: start;
}
#quickEventOffcanvas .event-step[data-step="2"] .form-field--with-toggle .capacity-inline-row .inline-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-soft);
  -webkit-user-select: none;
  user-select: none;
  white-space: normal;
}
#quickEventOffcanvas .event-step[data-step="2"] .form-field--with-toggle .capacity-inline-row .inline-check input {
  width: 14px;
  height: 14px;
  margin: 0;
  padding: 0;
  accent-color: var(--udp-blue);
}
#quickEventOffcanvas .event-step[data-step="2"] .form-field--with-toggle .capacity-inline-row .inline-check span {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}
#quickEventOffcanvas .event-step[data-step="2"] .form-field--with-toggle .capacity-inline-row .inline-check input:disabled + span {
  opacity: .55;
}
#quickEventOffcanvas [data-quick-recurrence-field].is-disabled {
  opacity: .72;
}
#quickEventOffcanvas .event-step[data-step="2"] .form-field input,
#quickEventOffcanvas .event-step[data-step="2"] .form-field select {
  height: 38px;
  padding: 0 9px;
  font-size: .88rem;
}
#quickEventOffcanvas .event-step[data-step="2"] .form-note {
  font-size: .72rem;
  line-height: 1.2;
}
#quickEventOffcanvas .event-step[data-step="2"] .responsable-picker__row .btn {
  min-height: 34px;
  height: 34px;
  padding: 0 8px;
}
#quickEventOffcanvas .event-step[data-step="4"] {
  gap: 8px;
  overflow: hidden;
}
#quickEventOffcanvas .event-step[data-step="4"] .form-section__intro {
  gap: 2px;
}
#quickEventOffcanvas .event-step[data-step="4"] .form-section__intro h5 {
  margin: 0 0 2px;
  font-size: .96rem;
}
#quickEventOffcanvas .event-step[data-step="4"] .form-section__intro p {
  font-size: .78rem;
}
#quickEventOffcanvas .event-step4-date-row,
#quickEventOffcanvas .event-step4-time-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
#quickEventOffcanvas .event-step4-date-row .form-field,
#quickEventOffcanvas .event-step4-time-row .form-field {
  gap: 4px;
}
#quickEventOffcanvas .event-step4-date-row .form-field span,
#quickEventOffcanvas .event-step4-time-row .form-field span {
  font-size: .82rem;
}
#quickEventOffcanvas .event-step4-date-row .form-field input,
#quickEventOffcanvas .event-step4-time-row .form-field input {
  height: 34px;
  padding: 0 8px;
  font-size: .86rem;
}
#quickEventOffcanvas .event-step4-toggle-row {
  display: grid;
  gap: 6px;
  align-items: start;
}
#quickEventOffcanvas .event-step4-toggle {
  width: fit-content;
}
#quickEventOffcanvas .event-step4-toggle-note {
  margin: 0;
  font-size: .74rem;
  line-height: 1.28;
  color: #5b6a79;
  padding-left: 24px;
}
#quickEventOffcanvas .event-step4-repeat-row {
  display: grid;
  grid-template-columns: minmax(0, 230px) minmax(120px, 170px);
  gap: 10px;
  justify-content: flex-start;
}
#quickEventOffcanvas .event-step4-repeat-row .form-field {
  gap: 4px;
}
#quickEventOffcanvas .event-step4-repeat-row .event-step4-repeat-field {
  width: min(100%, 230px);
}
#quickEventOffcanvas .event-step4-repeat-row .event-step4-every-field {
  width: min(100%, 170px);
}
#quickEventOffcanvas .event-step4-repeat-row .form-field span {
  font-size: .82rem;
}
#quickEventOffcanvas .event-step4-repeat-row .form-field select,
#quickEventOffcanvas .event-step4-repeat-row .form-field input {
  height: 34px;
  font-size: .86rem;
  padding: 0 8px;
}
#quickEventOffcanvas .event-step4-every {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
#quickEventOffcanvas .event-step4-every input {
  width: 56px;
  min-width: 56px;
}
#quickEventOffcanvas .event-step4-every span {
  color: var(--text-muted);
  font-size: .84rem;
}
#quickEventOffcanvas .event-step4-days {
  border: 1px dashed var(--border);
  background: #fff;
  padding: 8px 10px 10px;
  min-height: 0;
}
#quickEventOffcanvas .event-step4-days legend {
  font-size: .82rem;
  font-weight: 600;
  padding: 0;
  margin-bottom: 6px;
}
#quickEventOffcanvas .event-step4-days__chips {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
  width: 100%;
}
#quickEventOffcanvas .event-day-chip {
  width: 30px;
  height: 30px;
  justify-self: center;
  border-radius: 999px;
  border: 1px solid #d5dde6;
  background: #ecf1f6;
  color: #5d6b79;
  font-size: .74rem;
  font-weight: 700;
  line-height: 1;
  display: grid;
  place-items: center;
}
#quickEventOffcanvas .event-day-chip.is-active {
  background: #18a957;
  border-color: #138447;
  color: #fff;
}
#quickEventOffcanvas .event-day-chip:disabled {
  opacity: .5;
  cursor: not-allowed;
}
#quickEventOffcanvas #quickEventAudienceSelected {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 6px;
  padding-bottom: 2px;
}
#quickEventOffcanvas #quickEventAudienceSelected .responsable-chip {
  padding: 4px 8px;
  font-size: .78rem;
  white-space: nowrap;
}
#quickEventOffcanvas #quickEventAudienceSelected .responsables-empty {
  margin: 0;
  font-size: .72rem;
  white-space: nowrap;
}
#quickUnitOffcanvas .form-offcanvas__panel,
#quickStaffOffcanvas .form-offcanvas__panel,
#quickRestrictionOffcanvas .form-offcanvas__panel {
  width: min(500px, 100vw);
}
#quickUnitOffcanvas .form-panel__header,
#quickStaffOffcanvas .form-panel__header,
#quickRestrictionOffcanvas .form-panel__header {
  padding: 12px 16px;
}
#quickUnitOffcanvas .form-grid--2,
#quickUnitOffcanvas .form-grid--3,
#quickUnitOffcanvas .form-grid--4,
#quickStaffOffcanvas .form-grid--2,
#quickStaffOffcanvas .form-grid--3,
#quickStaffOffcanvas .form-grid--4,
#quickRestrictionOffcanvas .form-grid--2,
#quickRestrictionOffcanvas .form-grid--3,
#quickRestrictionOffcanvas .form-grid--4 {
  grid-template-columns: 1fr;
}
#quickUnitOffcanvas .form-main--offcanvas,
#quickStaffOffcanvas .form-main--offcanvas,
#quickRestrictionOffcanvas .form-main--offcanvas {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 10px;
  gap: 8px;
}
#quickUnitOffcanvas .form-section,
#quickStaffOffcanvas .form-section,
#quickRestrictionOffcanvas .form-section {
  width: min(100%, 430px);
  max-width: 100%;
}
#quickUnitOffcanvas .form-section,
#quickStaffOffcanvas .form-section,
#quickRestrictionOffcanvas .form-section {
  gap: 8px;
  overflow: visible;
}
#quickUnitOffcanvas .form-grid,
#quickStaffOffcanvas .form-grid,
#quickRestrictionOffcanvas .form-grid {
  gap: 8px;
}
#quickUnitOffcanvas .form-field,
#quickStaffOffcanvas .form-field,
#quickRestrictionOffcanvas .form-field {
  gap: 4px;
}
#quickUnitOffcanvas .form-field,
#quickUnitOffcanvas .form-field input,
#quickUnitOffcanvas .form-field select,
#quickUnitOffcanvas .form-field textarea,
#quickStaffOffcanvas .form-field,
#quickStaffOffcanvas .form-field input,
#quickStaffOffcanvas .form-field select,
#quickStaffOffcanvas .form-field textarea,
#quickRestrictionOffcanvas .form-field,
#quickRestrictionOffcanvas .form-field input,
#quickRestrictionOffcanvas .form-field select,
#quickRestrictionOffcanvas .form-field textarea {
  min-width: 0;
  width: 100%;
}
#quickUnitOffcanvas .form-field input,
#quickUnitOffcanvas .form-field select,
#quickStaffOffcanvas .form-field input,
#quickStaffOffcanvas .form-field select,
#quickRestrictionOffcanvas .form-field input,
#quickRestrictionOffcanvas .form-field select {
  height: 38px;
  padding: 0 9px;
}
#quickUnitOffcanvas .form-field textarea,
#quickStaffOffcanvas .form-field textarea,
#quickRestrictionOffcanvas .form-field textarea {
  padding: 8px 9px;
}
#quickUnitDescription {
  min-height: 56px;
  max-height: 56px;
  resize: none;
}
#quickUnitOffcanvas .form-actions--sticky,
#quickStaffOffcanvas .form-actions--sticky,
#quickRestrictionOffcanvas .form-actions--sticky {
  width: 100%;
  max-width: none;
  position: static;
  margin-top: auto;
  justify-content: flex-end;
  padding-right: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--border);
  background: transparent;
  gap: 8px;
}
#quickUnitOffcanvas .form-actions--sticky .btn,
#quickStaffOffcanvas .form-actions--sticky .btn,
#quickRestrictionOffcanvas .form-actions--sticky .btn {
  min-height: 38px;
  height: 38px;
}
#quickUnitOffcanvas .form-field span,
#quickStaffOffcanvas .form-field span,
#quickRestrictionOffcanvas .form-field span {
  font-size: .86rem;
  line-height: 1.1;
}
#quickUnitOffcanvas .quick-unit-icon-upload {
  min-height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 3px 5px 3px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
#quickUnitOffcanvas .quick-unit-icon-upload__name {
  min-width: 0;
  font-size: .8rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#quickUnitOffcanvas .quick-unit-icon-upload__trigger {
  min-height: 30px;
  height: 30px;
  padding: 0 10px;
  flex: 0 0 auto;
  font-size: .76rem;
  white-space: nowrap;
}
#quickUnitOffcanvas .quick-unit-icon-editor {
  display: flex;
  align-items: center;
  gap: 8px;
}
#quickUnitOffcanvas .quick-unit-icon-editor__preview {
  width: 56px;
  height: 56px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#quickUnitOffcanvas .quick-unit-icon-editor__preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
#quickUnitOffcanvas .quick-unit-icon-editor__preview img[hidden] {
  display: none;
}
#quickUnitOffcanvas .quick-unit-icon-editor__preview span {
  font-size: .68rem;
  color: var(--text-muted);
  text-align: center;
}
#quickUnitOffcanvas .quick-unit-icon-editor__clear {
  min-height: 34px;
  height: 34px;
  padding: 0 10px;
  font-size: .76rem;
}
#quickRestrictionOffcanvas .restriction-list {
  display: grid;
  gap: 10px;
}
#quickRestrictionOffcanvas .restriction-item {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}
#quickRestrictionOffcanvas .restriction-item__actions {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 920px) {
  .admin-floating-summary,
  .admin-floating-quick {
    display: none !important;
  }
}
@media (max-width: 680px) {
  #agendaDayPanel .panel__header {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 8px;
  }
  #agendaDayPanel .panel__title {
    width: 100%;
    min-width: 0;
    grid-column: 1 / -1;
  }
  #agendaDayPanel .panel__actions--agenda-header {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 0;
    justify-self: stretch;
  }
  #agendaDayPanel .panel__actions--agenda-header .panel-search {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: 36px;
    padding: 0 10px;
    border-radius: 12px;
  }
  #agendaDayPanel .panel__actions--agenda-header #agendaRefreshButton {
    flex: 0 0 auto;
  }
  .admin-floating-summary {
    top: auto;
    bottom: 18px;
    transform: translateY(0) translateX(100%);
  }
  .admin-floating-summary:hover,
  .admin-floating-summary:focus-within {
    transform: translateY(0) translateX(0);
  }
  .admin-floating-summary__panel {
    width: min(320px, 88vw);
  }
  #quickEventOffcanvas .form-grid--4 {
    grid-template-columns: 1fr;
  }
  #quickEventOffcanvas .event-step[data-step="2"] .form-field--with-toggle .capacity-inline-row {
    grid-template-columns: 1fr;
  }
  #quickEventOffcanvas .event-step[data-step="2"] .form-field--with-toggle .capacity-inline-row .capacity-inline-row__input {
    max-width: 100%;
  }
  #quickEventOffcanvas .event-step4-date-row,
  #quickEventOffcanvas .event-step4-time-row {
    grid-template-columns: 1fr;
  }
  #quickEventOffcanvas .event-step4-repeat-row {
    grid-template-columns: minmax(0, 1fr) minmax(116px, 148px);
  }
  #quickEventOffcanvas .event-offcanvas__panel {
    max-height: 100dvh;
  }
  #quickEventOffcanvas .form-main--offcanvas,
  #quickEventOffcanvas .form-main--offcanvas.is-step-1,
  #quickUnitOffcanvas .form-main--offcanvas,
  #quickStaffOffcanvas .form-main--offcanvas,
  #quickRestrictionOffcanvas .form-main--offcanvas {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  #quickEventOffcanvas .form-main--offcanvas .event-step.is-active,
  #quickEventOffcanvas .form-main--offcanvas.is-step-1 .event-step[data-step="1"],
  #quickEventOffcanvas .event-step[data-step="2"],
  #quickEventOffcanvas .event-step[data-step="4"] {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
  }
}

/* src/styles/events.css */
.event-filters {
  margin-bottom: 18px;
}
@media (min-width: 921px) {
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-head {
    position: relative;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-trigger {
    padding-right: 0;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-meta-inline {
    padding-right: 106px;
    margin-bottom: 0;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-actions {
    position: absolute;
    right: 0;
    bottom: 0;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: none;
    gap: 8px;
    justify-content: flex-end;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__action-link {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 999px;
    border: none;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-actions > .event-card__action-link--view,
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-actions > .event-card__action-link--enroll {
    flex: 0 0 44px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__action-link--view {
    background: var(--primary-soft);
    color: var(--udp-blue-700);
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__action-link--enroll {
    background: var(--udp-blue);
    color: #ffffff;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__action-link--enroll::before {
    content: none;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__action-link .event-card__action-icon {
    font-size: 22px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__action-link .event-card__action-text {
    display: none;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-more {
    margin-top: 0;
    padding-top: 1px;
  }
}
@media (min-width: 921px) {
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-head {
    position: relative;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-trigger {
    padding-right: 0;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-meta-inline {
    padding-right: 106px;
    margin-bottom: 0;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-actions {
    position: absolute;
    right: 0;
    bottom: 0;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: none;
    gap: 8px;
    justify-content: flex-end;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__action-link {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 999px;
    border: none;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-actions > .event-card__action-link--view,
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-actions > .event-card__action-link--enroll {
    flex: 0 0 44px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__action-link--view {
    background: var(--primary-soft);
    color: var(--udp-blue-700);
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__action-link--enroll {
    background: var(--udp-blue);
    color: #ffffff;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__action-link--enroll::before {
    content: none;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__action-link .event-card__action-icon {
    font-size: 22px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__action-link .event-card__action-text {
    display: none;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-more {
    margin-top: 0;
    padding-top: 1px;
  }
}
.panel__header .panel__title {
  order: 1;
}
.panel__header .panel__actions--shared-search {
  order: 2;
}
.panel__header #toggleEventForm {
  order: 3;
}
body.events-page-headerless .panel__actions--shared-search,
body.events-page-headerless .panel__actions--events {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  margin-left: auto;
}
body.events-page-headerless .panel__actions--shared-search .panel-search,
body.events-page-headerless .panel-search {
  width: min(380px, 44vw);
  min-width: 0;
  flex: 1 1 auto;
  height: 38px;
  padding: 0 12px;
  border-radius: 14px;
}
body.events-page-headerless .panel-search input {
  min-width: 0;
}
:root {
  --events-calendar-sticky-top: 92px;
}
.event-status-list {
  display: grid;
  gap: 10px;
}
.event-status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
}
.toolbar__filters--event-state {
  align-items: center;
}
.toolbar__scope-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.toolbar-filter-select {
  position: relative;
  display: block;
}
.toolbar-filter-select select {
  min-height: 42px;
  height: 42px;
  min-width: 190px;
  padding: 0 34px 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text-soft);
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.toolbar-filter-select select:focus {
  outline: none;
  border-color: rgba(var(--primary-rgb, 123,89,0), .4);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 123,89,0), .12);
}
.toolbar-filter-select::after {
  content: "\25be";
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-52%);
  font-size: .78rem;
  color: var(--text-muted);
  pointer-events: none;
}
.user-week-calendar {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  padding: 12px;
  margin-bottom: 14px;
}
.user-week-calendar__header {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.user-week-calendar__month {
  margin: 0;
  text-align: center;
  font-weight: 700;
  color: var(--text);
}
.user-week-calendar__nav {
  width: 44px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
  font-size: .9rem;
}
.user-week-calendar__nav:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.user-week-calendar__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.user-week-calendar__day {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text-soft);
  min-height: 50px;
  padding: 5px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
}
.user-week-calendar__day span {
  font-size: .66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.user-week-calendar__day strong {
  font-size: .9rem;
  line-height: 1;
}
.user-week-calendar__day.has-events {
  box-shadow: inset 0 -3px 0 rgba(var(--primary-rgb, 123,89,0), .45);
}
.user-week-calendar__day.is-selected {
  border-color: rgba(var(--primary-rgb, 123,89,0), .45);
  background: rgba(var(--primary-rgb, 123,89,0), .09);
  color: var(--udp-blue);
}
.user-week-calendar__day.is-disabled {
  opacity: .48;
  cursor: not-allowed;
}
.events--calendar-day {
  --event-actions-fixed-width: 520px;
  margin-top: 10px;
  max-height: calc(100vh - 352px);
  overflow-y: auto;
  padding-right: 4px;
  display: grid;
  gap: 10px;
}
body.events-admin-layout .events--calendar-day {
  --event-actions-fixed-width: 392px;
}
.event-accordion-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(
      180deg,
      #fff 0%,
      #faf9f6 100%);
  box-shadow: var(--shadow-soft);
  padding: 10px 12px;
  z-index: 0;
  transition:
    border-color .22s ease,
    box-shadow .22s ease,
    transform .22s ease;
}
.event-card__unit-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 2px 6px rgba(17, 24, 39, .08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 26px;
  margin-left: 2px;
}
.event-card__unit-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.event-accordion-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(var(--primary-rgb, 123,89,0), .2);
  transition: background .2s ease;
}
.event-accordion-panel.is-open::before {
  background: var(--udp-blue);
}
.event-accordion-panel.is-open {
  border-color: rgba(var(--primary-rgb, 123,89,0), .38);
  box-shadow: 0 14px 26px rgba(17, 24, 39, .12), 0 0 0 1px rgba(var(--primary-rgb, 123,89,0), .12);
  transform: translateY(-2px);
  z-index: 3;
}
.event-accordion-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--event-actions-fixed-width);
  gap: 12px;
  align-items: center;
}
.event-accordion-trigger {
  border: none;
  background: transparent;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.event-card__actions-trigger {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-soft);
  border-radius: 9px;
  width: 30px;
  height: 30px;
  min-width: 30px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.event-accordion-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.event-accordion-title-row h4 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.08;
}
.event-accordion-title-row .badge {
  padding: 4px 8px;
  font-size: .67rem;
}
.event-accordion-meta-inline {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, .85fr);
  gap: 6px 8px;
  font-size: .76rem;
  color: var(--text-soft);
}
.event-accordion-meta-inline span {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  padding: 5px 8px;
}
.event-accordion-meta-inline i {
  font-style: normal;
  display: inline-flex;
  width: 12px;
  justify-content: center;
}
.event-accordion-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  width: var(--event-actions-fixed-width);
  min-width: var(--event-actions-fixed-width);
  max-width: 100%;
  flex-wrap: nowrap;
  justify-content: flex-end;
  padding-left: 10px;
  margin-left: 0;
  border-left: 1px solid var(--border);
}
.event-card__action-link {
  min-height: 30px;
  height: 30px;
  padding: 0 8px;
  width: 128px;
  min-width: 0;
  justify-content: center;
  font-size: .74rem;
  white-space: nowrap;
}
.event-card-top-icons {
  display: none;
}
.event-card__action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.event-card__action-text {
  display: inline;
}
.event-card__action-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}
.events--calendar-day .action-btn {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  font-size: .88rem;
}
.event-accordion-chevron {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 9px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: .82rem;
  line-height: 1;
}
.event-accordion-panel.is-open .event-accordion-chevron {
  transform: rotate(180deg);
  border-color: rgba(var(--primary-rgb, 123,89,0), .4);
  color: var(--udp-blue);
  background: rgba(var(--primary-rgb, 123,89,0), .08);
}
.event-accordion-more {
  width: 100%;
  border: none;
  border-top: 1px solid rgba(17, 24, 39, .12);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 2px 0;
  margin-top: 8px;
  color: #1e3d73;
  font-weight: 700;
  cursor: pointer;
}
.event-accordion-more__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.event-accordion-more__label i {
  font-style: normal;
  color: #2f67a0;
}
.event-accordion-more__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  transition: transform .2s ease;
}
.event-accordion-panel.is-open .event-accordion-more__chevron {
  transform: rotate(180deg);
}
.event-accordion-body {
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px dashed #d9d5cb;
}
.event-accordion-detail {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
}
.event-accordion-detail p {
  margin: 0 0 8px;
  color: var(--text-soft);
  font-size: .8rem;
  line-height: 1.35;
}
.event-accordion-detail p i {
  font-style: normal;
  margin-right: 5px;
}
.event-accordion-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
}
.event-accordion-detail-grid span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-soft);
  font-size: .78rem;
}
.event-accordion-detail-grid i {
  font-style: normal;
  display: inline-flex;
  width: 12px;
  justify-content: center;
}
.event-accordion-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(17, 24, 39, .12);
}
.event-accordion-detail-row:last-child {
  border-bottom: none;
}
.event-accordion-detail-term {
  width: 22px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  color: #214575;
}
.event-accordion-detail-term .material-icons {
  font-size: 18px;
  line-height: 1;
  color: #3b6496;
}
.event-accordion-detail-value {
  color: #111827;
  flex: 1 1 auto;
}
body[data-portal=personal] .events--calendar-day {
  max-width: 100%;
  min-width: 0;
}
body[data-portal=personal] .event-accordion-head {
  grid-template-columns: minmax(0, 1fr) minmax(0, var(--event-actions-fixed-width));
}
body[data-portal=personal] .event-accordion-actions {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
@media (max-width: 1100px) {
  body[data-portal=personal] .event-accordion-head {
    grid-template-columns: 1fr;
  }
  body[data-portal=personal] .event-accordion-actions {
    border-left: none;
    border-top: 1px solid var(--border);
    margin-top: 8px;
    padding-top: 8px;
    justify-content: flex-start;
  }
}
@media (min-width: 681px) {
  .event-accordion-panel.is-open {
    border-color: rgba(var(--primary-rgb, 123,89,0), .55);
    box-shadow: 0 16px 30px rgba(17, 24, 39, .14), 0 0 0 2px rgba(var(--primary-rgb, 123,89,0), .16);
    transform: none;
  }
  .event-accordion-panel.is-open .event-accordion-title-row h4 {
    color: var(--udp-blue);
  }
}
@media (max-width: 1280px) {
  .events--calendar-day {
    --event-actions-fixed-width: 472px;
  }
  body[data-portal=personal] .events--calendar-day {
    --event-actions-fixed-width: 420px;
  }
  body.events-admin-layout .events--calendar-day {
    --event-actions-fixed-width: 352px;
  }
  .event-card__action-link {
    width: 116px;
    font-size: .72rem;
  }
  .event-accordion-meta-inline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1180px) {
  body[data-portal=personal] .events--calendar-day {
    --event-actions-fixed-width: 340px;
  }
  body[data-portal=personal] .event-card__action-link {
    width: 108px;
  }
}
.form-fieldset {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  padding: 10px 12px 12px;
  min-height: 48px;
}
.form-fieldset legend {
  font-weight: 600;
  font-size: .9rem;
  padding: 0 6px;
}
.check-group {
  display: grid;
  gap: 8px;
}
.check-group--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
}
.check-item input {
  width: 16px;
  height: 16px;
}
.form-note {
  color: var(--text-muted);
  font-size: .82rem;
}
.form-note-inline {
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 500;
}
.form-field--required > span::after {
  content: " *";
  color: #c93636;
  font-weight: 700;
}
#eventOffcanvas .form-field :is(input, select, textarea).is-invalid {
  border-color: #c93636;
  box-shadow: 0 0 0 3px rgba(201, 54, 54, .14);
}
#eventOffcanvas .form-field .form-note--error {
  margin: 0;
  color: #9a1f1f;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.24;
}
.form-field select.select-multiple {
  height: auto;
  min-height: 132px;
  padding: 8px 10px;
  border-radius: 14px;
}
.form-field select.select-multiple option {
  padding: 5px 8px;
  line-height: 1.1;
}
.responsable-picker {
  display: grid;
  gap: 8px;
}
.responsable-picker__row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.responsable-picker__row select {
  flex: 1 1 auto;
}
#eventOffcanvas #addResponsableBtn,
#eventOffcanvas #addPublicoObjetivoBtn {
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
}
#eventOffcanvas #addResponsableBtn::before,
#eventOffcanvas #addPublicoObjetivoBtn::before {
  content: "+";
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1;
}
.responsables-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.responsables-empty {
  margin: 0;
}
.responsable-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-size: .86rem;
}
.responsable-chip__remove {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  color: var(--text-soft);
}
.form-field input[disabled],
.form-field select[disabled] {
  background: #f3f4f6;
  color: var(--text-soft);
  cursor: not-allowed;
}
.restriction-list {
  display: grid;
  gap: 16px;
}
.event-offcanvas[hidden] {
  display: none;
}
.event-offcanvas {
  position: fixed;
  inset: 0;
  z-index: 142;
  pointer-events: none;
}
.event-offcanvas.is-open {
  pointer-events: auto;
}
.event-offcanvas__backdrop {
  position: absolute;
  inset: 0;
  background: var(--offcanvas-backdrop, rgba(28,28,28,.52));
  opacity: 0;
  transition: opacity .24s ease;
}
.event-offcanvas__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(920px, 100vw);
  border-left: 1px solid var(--offcanvas-border, var(--border));
  background: var(--offcanvas-surface, var(--surface-alt));
  box-shadow: none;
  transform: translateX(100%);
  transition: transform .28s ease;
  display: grid;
  grid-template-rows: auto auto 1fr;
}
.event-offcanvas.is-open .event-offcanvas__backdrop {
  opacity: 1;
}
.event-offcanvas.is-open .event-offcanvas__panel {
  transform: translateX(0);
  box-shadow: var(--offcanvas-shadow, -20px 0 36px rgba(0,0,0,.14));
}
.event-offcanvas__header {
  position: sticky;
  top: 0;
  z-index: 2;
  background:
    linear-gradient(
      135deg,
      var(--udp-black) 0%,
      var(--brand-gradient-mid, var(--udp-blue)) 100%);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.event-offcanvas__header .mono {
  color: rgba(255, 255, 255, .78);
}
.event-offcanvas__header h4,
.event-offcanvas__header h5 {
  color: #fff;
}
.event-offcanvas__header p {
  color: rgba(255, 255, 255, .82);
}
.event-stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
  background: var(--offcanvas-surface-strong, #fff);
}
.event-stepper__item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  min-height: 56px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  text-align: left;
  color: var(--text-soft);
  cursor: pointer;
}
.event-stepper__number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  font-size: .82rem;
  font-weight: 700;
}
.event-stepper__label {
  font-size: .85rem;
  line-height: 1.2;
  font-weight: 600;
}
.event-stepper__item.is-active {
  border-color: var(--udp-blue);
  color: var(--udp-blue);
  background: rgba(var(--primary-rgb, 123,89,0), .06);
}
.event-stepper__item.is-complete {
  border-color: #cde6da;
  color: var(--success);
  background: #f4fbf7;
}
.form-main--offcanvas {
  height: 100%;
  overflow: hidden;
  padding: 14px 18px 12px;
  gap: 14px;
  display: flex;
  flex-direction: column;
}
.form-main--offcanvas.is-step-1 {
  overflow: hidden;
}
.form-main--offcanvas .event-step {
  display: none;
  border-top: none;
  padding-top: 0;
}
.form-main--offcanvas .event-step.is-active {
  display: grid;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  align-content: start;
  padding-right: 4px;
}
.event-offcanvas.is-step-1 .event-offcanvas__header {
  padding: 14px 18px;
}
.event-offcanvas.is-step-1 .event-offcanvas__header h4 {
  margin-bottom: 4px;
  font-size: 1.08rem;
}
.event-offcanvas.is-step-1 .event-offcanvas__header p {
  font-size: .84rem;
}
.event-offcanvas.is-step-1 .event-stepper {
  padding: 10px 18px;
  gap: 8px;
}
.event-offcanvas.is-step-1 .event-stepper__item {
  min-height: 48px;
  padding: 6px 10px;
  gap: 8px;
}
.event-offcanvas.is-step-1 .event-stepper__label {
  font-size: .8rem;
}
.form-main--offcanvas.is-step-1 .event-step[data-step="1"] {
  gap: 10px;
  overflow: hidden;
}
.form-main--offcanvas.is-step-1 .event-step[data-step="1"] .form-section__intro {
  gap: 4px;
}
.form-main--offcanvas.is-step-1 .event-step[data-step="1"] .form-section__intro h5 {
  margin: 0 0 2px;
  font-size: 1rem;
}
.form-main--offcanvas.is-step-1 .event-step[data-step="1"] .form-section__intro p {
  font-size: .82rem;
}
.form-main--offcanvas.is-step-1 .event-step[data-step="1"] .form-grid {
  gap: 12px;
}
.form-main--offcanvas.is-step-1 .event-step[data-step="1"] .form-field {
  gap: 6px;
}
.form-main--offcanvas.is-step-1 .event-step[data-step="1"] .form-field span {
  font-size: .84rem;
}
.form-main--offcanvas.is-step-1 .event-step[data-step="1"] .form-fieldset legend {
  font-size: .82rem;
}
.form-main--offcanvas.is-step-1 .event-step[data-step="1"] .form-field input,
.form-main--offcanvas.is-step-1 .event-step[data-step="1"] .form-field select {
  height: 42px;
  font-size: .9rem;
}
.form-main--offcanvas.is-step-1 .event-step[data-step="1"] .form-field textarea {
  min-height: 56px;
  max-height: 56px;
  font-size: .9rem;
  line-height: 1.35;
  padding: 10px 12px;
  overflow-y: hidden;
  resize: none;
}
.form-main--offcanvas.is-step-1 .event-step[data-step="1"] .form-note {
  font-size: .74rem;
}
.form-main--offcanvas.is-step-1 .event-step[data-step="1"] .check-item {
  font-size: .86rem;
}
.form-main--offcanvas.is-step-1 .event-step[data-step="1"] .responsable-picker {
  gap: 6px;
}
.form-main--offcanvas.is-step-1 .event-step[data-step="1"] .responsables-selected {
  gap: 6px;
}
.form-main--offcanvas .event-step[hidden] {
  display: none !important;
}
.form-main--offcanvas .event-location-grid {
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  align-items: start;
}
.form-main--offcanvas .event-location-grid .sede-field {
  grid-column: 1;
  grid-row: 1 / span 2;
}
.form-main--offcanvas .event-location-grid .ubicacion-field {
  grid-column: 2;
  grid-row: 1;
}
.form-main--offcanvas .event-location-grid .publico-field {
  grid-column: 2;
  grid-row: 2;
}
.recurrence-fields.is-disabled {
  opacity: .72;
}
.form-actions--wizard {
  margin-top: auto;
  background: var(--surface-alt);
  padding: 10px 0 0;
}
.form-feedback {
  flex: 1 1 100%;
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #f4c9c9;
  background: #fff4f4;
  color: #8a1c1c;
  font-size: .88rem;
  line-height: 1.35;
}
.events-feedback {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #cde6da;
  background: #f4fbf7;
  color: var(--success);
  font-size: .9rem;
  line-height: 1.35;
}
.events-feedback[data-type=error] {
  border-color: #f4c9c9;
  background: #fff4f4;
  color: #8a1c1c;
}
.form-actions--wizard .btn {
  min-height: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.form-actions--wizard .btn[disabled] {
  opacity: .62;
  cursor: not-allowed;
}
.restriction-item {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
}
.restriction-item__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}
.restriction-actions {
  display: flex;
  justify-content: flex-start;
}
.confirm-modal[hidden] {
  display: none;
}
.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
}
.confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
}
.confirm-modal__dialog {
  position: relative;
  width: min(92vw, 520px);
  margin: 10vh auto 0;
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 24px;
  z-index: 1;
}
.confirm-modal__dialog h3 {
  margin: 0 0 10px;
}
.confirm-modal__dialog p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}
.confirm-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}
body.is-event-actions-sheet-open {
  overflow: hidden;
}
.event-actions-sheet[hidden] {
  display: none;
}
.event-actions-sheet {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  align-items: end;
  pointer-events: none;
}
.event-actions-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, .42);
  opacity: 0;
  transition: opacity .2s ease;
}
.event-actions-sheet__panel {
  position: relative;
  background: #fff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border: 1px solid var(--border);
  border-bottom: none;
  box-shadow: 0 -14px 26px rgba(17, 24, 39, .16);
  transform: translateY(100%);
  transition: transform .2s ease;
  max-height: min(86vh, 640px);
  overflow: auto;
  width: min(100%, 560px);
  justify-self: center;
}
.event-actions-sheet.is-open {
  pointer-events: auto;
}
.event-actions-sheet.is-open .event-actions-sheet__backdrop {
  opacity: 1;
}
.event-actions-sheet.is-open .event-actions-sheet__panel {
  transform: translateY(0);
}
.event-actions-sheet__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border);
}
.event-actions-sheet__header-copy {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  gap: 3px;
}
.event-actions-sheet__header h3 {
  margin: 0;
  font-size: 1rem;
}
.event-actions-sheet__event-name {
  margin: 0;
  color: var(--text-muted);
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.2;
  word-break: break-word;
}
.event-actions-sheet__close {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  font-size: .95rem;
  line-height: 1;
}
.event-actions-sheet__content {
  padding: 12px 14px 14px;
  display: grid;
  gap: 10px;
}
.event-actions-sheet__group {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fbfbf8;
  padding: 10px;
  display: grid;
  gap: 8px;
}
.event-actions-sheet__group-title {
  margin: 0 0 2px;
  font-size: .72rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.event-actions-sheet__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 0 12px;
  cursor: pointer;
}
.event-actions-sheet__item:disabled,
.event-actions-sheet__item[aria-disabled=true] {
  background: #f2f2ee;
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: .72;
}
.event-actions-sheet__item:disabled .event-actions-sheet__icon,
.event-actions-sheet__item[aria-disabled=true] .event-actions-sheet__icon {
  color: var(--text-muted);
}
.event-actions-sheet__icon {
  width: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--udp-blue);
  font-size: .95rem;
}
.event-actions-sheet__item--danger {
  border-color: rgba(201, 54, 54, .35);
  color: #9a1f1f;
}
.event-actions-sheet__item--danger .event-actions-sheet__icon {
  color: #c93636;
}
.event-unit-icon-preview {
  margin-top: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.event-unit-icon-preview__media {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(var(--primary-rgb, 123,89,0), .26);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 32px;
}
.event-unit-icon-preview__media.is-empty {
  border-style: dashed;
  background: transparent;
}
.event-unit-icon-preview__media.is-empty::before {
  content: "";
}
.event-unit-icon-preview__media.is-empty img {
  display: none !important;
}
.event-unit-icon-preview__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.event-unit-icon-preview__label {
  font-size: .78rem;
  color: var(--text-soft);
  line-height: 1.2;
}
#eventOffcanvas .event-unit-selector-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}
#eventOffcanvas .event-unit-selector-row .event-unit-icon-preview {
  margin-top: 0;
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  border-radius: 12px;
  justify-content: center;
  gap: 0;
}
#eventOffcanvas .event-unit-selector-row .event-unit-icon-preview__media {
  width: 30px;
  height: 30px;
  min-width: 30px;
  flex-basis: 30px;
}
#eventOffcanvas .event-unit-selector-row .event-unit-icon-preview__label {
  display: none;
}
@media (max-width: 680px) {
  .panel {
    overflow: visible;
  }
  .panel__body {
    overflow: visible;
  }
  #eventsWeekCalendar.user-week-calendar {
    position: -webkit-sticky;
    position: sticky;
    top: var(--events-calendar-sticky-top);
    z-index: 12;
    box-shadow: 0 10px 18px rgba(17, 24, 39, .08);
  }
  .events--calendar-day {
    position: relative;
    z-index: 1;
  }
  .event-accordion-title-row {
    align-items: flex-start;
    gap: 4px 6px;
  }
  .event-accordion-title-row h4 {
    flex: 0 0 100%;
    width: 100%;
    margin-bottom: 2px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .badge-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 8px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .badge-row .badge,
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .badge-row .event-badge-unit-icon {
    flex: 0 0 auto;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-badge-unit-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 999px;
    border: 1px solid #dbe3ed;
    background: #f5f8fc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-badge-unit-icon img {
    width: 12px;
    height: 12px;
    object-fit: contain;
    display: block;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-badge-unit-icon__fallback-icon {
    font-size: 12px;
    line-height: 1;
    color: #2c6e9e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .header__title p:not(.header__mobile-user) {
    font-size: .74rem;
    line-height: 1.15;
  }
  .panel__title p {
    font-size: .72rem;
    line-height: 1.15;
  }
  .toolbar__filters--event-state {
    display: none;
  }
  .toolbar__scope-filters {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .toolbar-filter-select {
    flex: 0 0 auto;
    min-width: 0;
  }
  .toolbar-filter-select select {
    width: 100%;
    min-width: 0;
    min-height: 34px;
    height: 34px;
    padding: 0 28px 0 10px;
    font-size: .74rem;
    border-radius: 12px;
  }
  .toolbar-filter-select::after {
    right: 10px;
    font-size: .7rem;
  }
  #eventOffcanvas .event-offcanvas__panel {
    max-height: 100dvh;
  }
  #eventOffcanvas .form-main--offcanvas,
  #eventOffcanvas .form-main--offcanvas.is-step-1 {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  #eventOffcanvas .form-main--offcanvas .event-step.is-active,
  #eventOffcanvas .form-main--offcanvas.is-step-1 .event-step[data-step="1"],
  #eventOffcanvas .event-step[data-step="2"],
  #eventOffcanvas .event-step[data-step="4"] {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .events--calendar-day {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
  .event-accordion-head {
    grid-template-columns: 1fr;
    position: relative;
    align-items: start;
  }
  .event-card__unit-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
    border-radius: 7px;
  }
  .event-accordion-trigger {
    padding-right: 44px;
  }
  .event-card__actions-trigger {
    display: inline-flex;
    position: absolute;
    top: 2px;
    right: 0;
    z-index: 2;
  }
  .event-accordion-actions {
    display: none;
  }
  .event-card__action-link {
    width: auto;
    min-width: 0;
    font-size: .64rem;
    min-height: 26px;
    height: 26px;
    padding: 0 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .event-accordion-actions > .event-card__action-link--view {
    flex: 1 1 auto;
    min-width: 0;
  }
  .event-accordion-actions > .event-card__action-link--enroll {
    flex: 0 0 25px;
    width: 25px;
    min-width: 25px;
    padding: 0;
    font-size: 0;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .event-accordion-actions > .event-card__action-link--enroll::before {
    content: none;
    display: none;
  }
  .event-card__action-icons {
    width: auto;
    flex: 0 0 auto;
    justify-content: flex-end;
    align-self: center;
    gap: 4px;
  }
  .event-card__action-icons .action-btn,
  .event-accordion-chevron {
    width: 25px;
    height: 25px;
    min-width: 25px;
    border-radius: 8px;
  }
  .event-accordion-detail-grid {
    grid-template-columns: 1fr;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-meta-inline {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-meta-inline > .detail-item {
    width: 100%;
    max-width: 100%;
    border: none;
    background: transparent;
    border-radius: 0;
    padding: 0;
    overflow: visible;
    text-overflow: clip;
    justify-content: flex-start;
    gap: 4px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-meta-inline .detail-item .material-icons {
    font-size: 16px;
    line-height: 1;
  }
  .user-week-calendar {
    padding: 10px;
  }
  .user-week-calendar__days {
    gap: 6px;
  }
  .user-week-calendar__day {
    min-height: 46px;
    padding: 4px 3px;
    gap: 1px;
  }
  .user-week-calendar__day span {
    font-size: .6rem;
  }
  .user-week-calendar__day strong {
    font-size: .84rem;
  }
  .form-main--offcanvas .event-location-grid {
    grid-template-columns: 1fr;
  }
  .form-main--offcanvas .event-location-grid .sede-field,
  .form-main--offcanvas .event-location-grid .ubicacion-field,
  .form-main--offcanvas .event-location-grid .publico-field {
    grid-column: auto;
    grid-row: auto;
  }
  .event-offcanvas__panel {
    width: 100vw;
  }
  .event-stepper {
    grid-template-columns: 1fr;
    padding: 12px 16px;
  }
  .event-stepper__item {
    min-height: 50px;
  }
  .check-group--2 {
    grid-template-columns: 1fr;
  }
  .responsable-picker__row {
    flex-direction: column;
    align-items: stretch;
  }
  .responsable-picker__row .btn {
    width: 100%;
  }
  .confirm-modal__actions {
    flex-direction: column;
  }
  .form-actions--wizard {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
  }
  .form-actions--wizard .btn {
    width: auto;
    flex: 0 0 auto;
  }
  .form-actions--wizard .form-feedback {
    flex: 1 1 100%;
    width: 100%;
    order: -1;
    margin: 0 0 6px;
  }
  .confirm-modal__actions .btn {
    width: 100%;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 0;
    border-radius: 20px;
    border: 1px solid #e5ebf2;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
    overflow: visible;
    transition: transform .2s ease, box-shadow .2s ease;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-panel::before {
    display: none;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-panel.is-open {
    border-color: #dbe3ec;
    box-shadow: 0 16px 30px rgba(17, 24, 39, .12);
    transform: none;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card-content {
    padding: 10px 12px 8px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card-top-icons {
    position: absolute;
    top: 8px;
    right: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card-top-icons .action-btn {
    width: 20px;
    height: 20px;
    border-radius: 0;
    border: none;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    color: #2c3e66;
    font-size: 14px;
    line-height: 1;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card-top-icons .action-btn .material-icons {
    font-size: 14px;
    line-height: 1;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-head {
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-trigger {
    padding-right: 54px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__actions-trigger {
    display: none;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-title-row {
    margin-bottom: 0;
    gap: 4px 6px;
    align-items: flex-start;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-title-row h4 {
    font-size: .96rem;
    line-height: 1.16;
    flex: 1 1 100%;
    color: #0a2540;
    letter-spacing: -.2px;
    margin-bottom: 5px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .badge-row {
    margin-bottom: 4px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-meta-inline {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 0;
    font-size: .7rem;
    margin-bottom: 1px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-meta-inline .detail-item {
    border: none;
    background: transparent;
    border-radius: 0;
    padding: 0;
    color: #2c3e66;
    width: 100%;
    max-width: 100%;
    justify-self: start;
    justify-content: flex-start;
    gap: 4px;
    font-size: .68rem;
    font-weight: 500;
    line-height: 1.06;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-meta-inline .detail-item .material-icons {
    font-size: 13px;
    color: #2c6e9e;
    width: auto;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-actions {
    display: flex;
    width: 100%;
    min-width: 100%;
    border: none;
    margin-top: 0;
    margin-bottom: 2px;
    padding-left: 0;
    padding-top: 0;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 6px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__action-link {
    width: auto;
    min-width: 0;
    min-height: 30px;
    height: 30px;
    padding: 4px 8px;
    font-size: .7rem;
    border-radius: 32px;
    border: none;
    box-shadow: none;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-actions > .event-card__action-link--view,
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-actions > .event-card__action-link--enroll {
    flex: 0 0 auto;
    min-width: 0;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__action-link--view {
    background: #f1f5f9;
    color: #2c3e66;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__action-link--enroll {
    background: #1e5a8a;
    color: #ffffff;
    box-shadow: none;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__action-link .event-card__action-icon {
    font-size: 16px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__action-link .event-card__action-text {
    display: none;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-more {
    margin-top: 0;
    padding: 3px 0 0;
    border-top-color: #e9edf2;
    color: #1e466e;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-more__label {
    font-size: .66rem;
    font-weight: 600;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-more__label .material-icons {
    font-size: 13px;
    color: #2c6e9e;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-body {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-detail {
    border: none;
    border-radius: 12px;
    background: #fafcff;
    padding: 4px 0 2px;
    margin-top: 3px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-detail-row {
    display: flex;
    font-size: .64rem;
    padding: 3px 5px;
    border-bottom: 1px dashed #eef2f7;
    gap: 4px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-detail-term {
    width: 20px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    font-weight: 600;
    color: #2c557a;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-detail-term .material-icons {
    font-size: 14px;
    line-height: 1;
    color: #3b6496;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-detail-value {
    font-size: .64rem;
    line-height: 1.2;
    color: #223248;
  }
}
#eventOffcanvas .event-offcanvas__panel {
  width: min(540px, 100vw);
}
#eventOffcanvas .event-stepper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  padding: 10px 18px;
}
#eventOffcanvas .event-stepper::before {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  top: 50%;
  height: 2px;
  background: var(--border);
  transform: translateY(-50%);
  z-index: 0;
}
#eventOffcanvas .event-stepper__item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-soft);
}
#eventOffcanvas .event-stepper__item .event-stepper__number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}
#eventOffcanvas .event-stepper__item.is-active,
#eventOffcanvas .event-stepper__item.is-complete {
  border: none;
  background: transparent;
}
#eventOffcanvas .event-stepper__item.is-active .event-stepper__number {
  border-color: var(--udp-blue);
  background: rgba(50, 94, 241, 0.12);
  color: var(--udp-blue);
}
#eventOffcanvas .event-stepper__item.is-complete .event-stepper__number {
  border-color: var(--success);
  background: #e9f8ef;
  color: var(--success);
}
#eventOffcanvas .event-stepper__label {
  display: none;
}
#eventOffcanvas .event-step .form-grid--2,
#eventOffcanvas .event-step .form-grid--3,
#eventOffcanvas .event-step .form-grid--4,
#eventOffcanvas .event-step .event-location-grid {
  grid-template-columns: 1fr;
}
#eventOffcanvas .form-actions--wizard {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
#eventOffcanvas .form-actions--wizard .btn {
  width: auto;
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 36px;
  height: 36px;
  padding: 0 10px;
}
#eventOffcanvas .form-main--offcanvas.is-step-1 .event-step[data-step="1"] #nombre {
  min-height: 36px;
  height: 36px;
  padding: 0 10px;
}
#eventOffcanvas .form-main--offcanvas.is-step-1 .event-step[data-step="1"] #descripcion {
  min-height: 44px;
  max-height: 44px;
  padding: 8px 10px;
  line-height: 1.25;
}
#eventOffcanvas .event-step[data-step="2"] {
  gap: 8px;
  overflow: hidden;
}
#eventOffcanvas .event-step[data-step="2"] .form-grid {
  gap: 8px;
}
#eventOffcanvas .event-step[data-step="2"] .form-field {
  gap: 4px;
}
#eventOffcanvas .event-step[data-step="2"] .form-field span {
  font-size: 0.82rem;
}
#eventOffcanvas .event-step[data-step="2"] .form-field--with-toggle .capacity-inline-row {
  display: grid;
  grid-template-columns: minmax(124px, 172px) minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}
#eventOffcanvas .event-step[data-step="2"] .form-field--with-toggle .capacity-inline-row .capacity-inline-row__input {
  width: 100%;
  max-width: 172px;
}
#eventOffcanvas .event-step[data-step="2"] .form-field--with-toggle .capacity-inline-row .capacity-inline-row__checks {
  display: grid;
  gap: 6px;
  align-content: start;
  justify-items: start;
}
#eventOffcanvas .event-step[data-step="2"] .form-field--with-toggle .capacity-inline-row .inline-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-soft);
  -webkit-user-select: none;
  user-select: none;
  white-space: normal;
}
#eventOffcanvas .event-step[data-step="2"] .form-field--with-toggle .capacity-inline-row .inline-check input {
  width: 14px;
  height: 14px;
  margin: 0;
  padding: 0;
  accent-color: var(--udp-blue);
}
#eventOffcanvas .event-step[data-step="2"] .form-field--with-toggle .capacity-inline-row .inline-check span {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}
#eventOffcanvas .event-step[data-step="2"] .form-field--with-toggle .capacity-inline-row .inline-check input:disabled + span {
  opacity: 0.55;
}
#eventOffcanvas [data-recurrence-field].is-disabled {
  opacity: 0.72;
}
#eventOffcanvas .event-step[data-step="2"] .form-field input,
#eventOffcanvas .event-step[data-step="2"] .form-field select {
  height: 38px;
  padding: 0 9px;
  font-size: 0.88rem;
}
#eventOffcanvas .event-step[data-step="2"] .form-note {
  font-size: 0.72rem;
  line-height: 1.2;
}
#eventOffcanvas .event-step[data-step="2"] .responsable-picker__row .btn {
  min-height: 34px;
  height: 34px;
  padding: 0 8px;
}
#eventOffcanvas .event-step[data-step="4"] {
  gap: 8px;
  overflow: hidden;
}
#eventOffcanvas .event-step4-date-row,
#eventOffcanvas .event-step4-time-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
#eventOffcanvas .event-step4-date-row .form-field,
#eventOffcanvas .event-step4-time-row .form-field {
  gap: 4px;
}
#eventOffcanvas .event-step4-date-row .form-field span,
#eventOffcanvas .event-step4-time-row .form-field span {
  font-size: 0.82rem;
}
#eventOffcanvas .event-step4-date-row .form-field input,
#eventOffcanvas .event-step4-time-row .form-field input {
  height: 34px;
  padding: 0 8px;
  font-size: 0.86rem;
}
#eventOffcanvas .event-step4-toggle-row {
  display: grid;
  gap: 6px;
  align-items: start;
}
#eventOffcanvas .event-step4-toggle {
  width: fit-content;
}
#eventOffcanvas .event-step4-toggle-note {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.28;
  color: #5b6a79;
  padding-left: 24px;
}
#eventOffcanvas .event-step4-repeat-row {
  display: grid;
  grid-template-columns: minmax(0, 230px) minmax(120px, 170px);
  gap: 10px;
  justify-content: flex-start;
}
#eventOffcanvas .event-step4-repeat-row .form-field {
  gap: 4px;
}
#eventOffcanvas .event-step4-repeat-row .event-step4-repeat-field {
  width: min(100%, 230px);
}
#eventOffcanvas .event-step4-repeat-row .event-step4-every-field {
  width: min(100%, 170px);
}
#eventOffcanvas .event-step4-repeat-row .form-field span {
  font-size: 0.82rem;
}
#eventOffcanvas .event-step4-repeat-row .form-field select,
#eventOffcanvas .event-step4-repeat-row .form-field input {
  height: 34px;
  font-size: 0.86rem;
  padding: 0 8px;
}
#eventOffcanvas .event-step4-every {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
#eventOffcanvas .event-step4-every input {
  width: 56px;
  min-width: 56px;
}
#eventOffcanvas .event-step4-every span {
  color: var(--text-muted);
  font-size: 0.84rem;
}
#eventOffcanvas .event-step4-preview {
  border: 1px solid var(--border);
  background: #faf8ea;
  border-radius: 12px;
  padding: 8px;
  display: grid;
  gap: 6px;
}
#eventOffcanvas .event-step4-preview__title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--udp-blue);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
#eventOffcanvas .event-step4-preview__summary {
  margin: 0;
  font-size: 0.81rem;
  color: var(--text-soft);
  line-height: 1.32;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
#eventOffcanvas .event-step4-preview__summary::before {
  content: "\1f551";
  width: 22px;
  height: 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  line-height: 1;
  color: var(--udp-blue);
  background: var(--surface-alt);
}
#eventOffcanvas .event-step4-preview__dates {
  max-height: 160px;
  overflow-y: auto;
  padding-right: 2px;
}
#eventOffcanvas .event-step4-preview__dates-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 6px;
}
#eventOffcanvas .event-step4-preview__date-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 8px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--udp-blue);
}
#eventOffcanvas .event-step4-preview__empty {
  margin: 0;
  padding: 10px;
  border: 1px dashed var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text-muted);
  font-size: 0.78rem;
}
#eventOffcanvas .event-step4-days {
  border: 1px dashed var(--border);
  background: #fff;
  padding: 8px 10px 10px;
  min-height: 0;
}
#eventOffcanvas .event-step4-days legend {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0;
  margin-bottom: 6px;
}
#eventOffcanvas .event-step4-days__chips {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
  width: 100%;
}
#eventOffcanvas .event-day-chip {
  width: 30px;
  height: 30px;
  justify-self: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  display: grid;
  place-items: center;
}
#eventOffcanvas .event-day-chip.is-active {
  background: var(--udp-blue);
  border-color: var(--primary-strong);
  color: #fff;
}
#eventOffcanvas .event-day-chip:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus-glow), 0 0 0 5px var(--focus-ring);
}
#eventOffcanvas #publicoObjetivoSelected {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 6px;
  padding-bottom: 2px;
}
#eventOffcanvas #publicoObjetivoSelected .responsable-chip {
  padding: 4px 8px;
  font-size: 0.78rem;
  white-space: nowrap;
}
#eventOffcanvas #publicoObjetivoSelected .responsables-empty {
  margin: 0;
  font-size: 0.72rem;
  white-space: nowrap;
}
#eventOffcanvas .event-step[data-step="5"] {
  gap: 8px;
}
#eventOffcanvas .event-step[data-step="5"] .form-section__intro h5 {
  margin: 0 0 2px;
  font-size: 0.96rem;
}
#eventOffcanvas .event-step[data-step="5"] .form-section__intro p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.25;
}
#eventOffcanvas .event-step[data-step="5"] .restriction-list {
  gap: 10px;
}
#eventOffcanvas .event-step[data-step="5"] .restriction-item {
  padding: 10px 11px;
  border-radius: 12px;
}
#eventOffcanvas .event-step[data-step="5"] .restriction-item .form-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
#eventOffcanvas .event-step[data-step="5"] .restriction-item .form-field {
  gap: 4px;
}
#eventOffcanvas .event-step[data-step="5"] .restriction-item .form-field span {
  font-size: 0.78rem;
  line-height: 1.2;
}
#eventOffcanvas .event-step[data-step="5"] .restriction-item .form-field input,
#eventOffcanvas .event-step[data-step="5"] .restriction-item .form-field select {
  height: 34px;
  padding: 0 8px;
  font-size: 0.84rem;
}
#eventOffcanvas .event-step[data-step="5"] .restriction-item__actions {
  margin-top: 8px;
}
#eventOffcanvas .event-step[data-step="5"] .restriction-item__actions .btn {
  min-height: 32px;
  height: 32px;
  padding: 0 8px;
  font-size: 0.76rem;
}
#eventOffcanvas .event-step[data-step="5"] .restriction-actions .btn {
  min-height: 34px;
  height: 34px;
  padding: 0 10px;
  font-size: 0.8rem;
}
.private-enroll-offcanvas__panel {
  width: min(500px, 100vw);
}
.private-enroll-offcanvas__body {
  display: grid;
  align-content: start;
  gap: 14px;
  overflow-y: auto;
}
.private-enroll-search__field {
  gap: 8px;
}
.private-enroll-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}
.private-enroll-search__btn {
  min-width: 96px;
  white-space: nowrap;
}
.private-enroll-feedback {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #f4c9c9;
  background: #fff4f4;
  color: #8a1c1c;
  font-size: 0.88rem;
  line-height: 1.35;
}
.private-enroll-feedback[data-type=success] {
  border-color: #cde6da;
  background: #f4fbf7;
  color: var(--success);
}
.private-enroll-result {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  display: grid;
  gap: 10px;
}
.private-enroll-result__item {
  display: grid;
  gap: 2px;
}
.private-enroll-result__item span {
  color: var(--text-muted);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.private-enroll-result__item strong {
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 600;
  word-break: break-word;
}
.private-enroll-offcanvas__actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.private-enroll-offcanvas__actions .btn {
  width: auto;
  min-width: 120px;
}
@media (min-width: 681px) {
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .events--calendar-day,
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-panel,
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card-content {
    font-family:
      "Inter",
      "Segoe UI",
      Arial,
      sans-serif;
  }
  body.events-page-headerless .events-module-header {
    display: none;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .main {
    overflow-x: hidden;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .header {
    gap: 12px;
    padding: 10px 16px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .header__left {
    min-width: 0;
    flex: 1 1 auto;
    gap: 10px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .header__title {
    min-width: 0;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .header__title h1 {
    font-size: 1.42rem;
    line-height: 1.02;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .header__title p {
    margin-top: 3px;
    font-size: 0.84rem;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .header__right {
    min-width: 0;
    flex: 0 1 auto;
    gap: 8px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .user-search-btn {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .user-header-search.search {
    width: clamp(210px, 28vw, 300px);
    min-width: 0;
    height: 42px;
    padding: 0 12px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .user-chip {
    min-width: 0;
    max-width: 240px;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 14px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .user-chip__avatar {
    width: 36px;
    height: 36px;
    font-size: 0.96rem;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .user-chip__info {
    min-width: 0;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .user-chip__info strong,
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .user-chip__info span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .user-chip__info strong {
    font-size: 0.86rem;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .user-chip__info span {
    font-size: 0.76rem;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .content {
    padding: 4px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .panel__header {
    padding: 10px 14px;
    gap: 10px;
  }
  body.events-page-headerless .panel__header {
    justify-content: space-between;
  }
  body.events-page-headerless .panel__actions--shared-search,
  body.events-page-headerless .panel__actions--events {
    gap: 8px;
  }
  body.events-page-headerless .panel__actions--shared-search .panel-search,
  body.events-page-headerless .panel-search {
    width: clamp(220px, 30vw, 360px);
    height: 36px;
    padding: 0 10px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .panel__title h3 {
    font-size: 1.16rem;
    line-height: 1.02;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .panel__title p {
    margin-top: 4px;
    font-size: 0.82rem;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) #toggleEventForm {
    min-height: 36px;
    height: 36px;
    padding: 0 12px;
    font-size: 0.84rem;
    white-space: nowrap;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .panel__body {
    padding: 10px 12px 12px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) #eventsWeekCalendar.user-week-calendar {
    padding: 6px 8px;
    margin-bottom: 8px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) #eventsWeekCalendar .user-week-calendar__header {
    margin-bottom: 4px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) #eventsWeekCalendar .user-week-calendar__month {
    font-size: 1.05rem;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) #eventsWeekCalendar .user-week-calendar__nav {
    width: 36px;
    height: 32px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) #eventsWeekCalendar .user-week-calendar__day {
    min-height: 40px;
    padding: 2px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) #eventsWeekCalendar .user-week-calendar__day span {
    font-size: 0.58rem;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) #eventsWeekCalendar .user-week-calendar__day strong {
    font-size: 0.82rem;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .toolbar {
    margin-bottom: 8px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .toolbar__scope-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .toolbar-filter-select {
    min-width: 0;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .toolbar-filter-select select {
    width: 100%;
    min-width: 0;
    min-height: 36px;
    height: 36px;
    padding: 0 30px 0 10px;
    font-size: 0.84rem;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .events--calendar-day {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 6px;
    max-height: calc(100vh - 302px);
    padding-right: 2px;
    align-items: start;
    overflow-x: hidden;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .events--calendar-day > .empty-note {
    grid-column: 1 / -1;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 0;
    border-radius: 20px;
    border: 1px solid #e5ebf2;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    overflow: visible;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-panel:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 32px rgba(0, 0, 0, 0.12);
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-panel::before {
    display: none;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-panel.is-open {
    border-color: #dbe3ec;
    box-shadow: 0 16px 30px rgba(17, 24, 39, 0.12);
    transform: none;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card-content {
    padding: 10px 12px 8px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card-top-icons {
    position: absolute;
    top: 8px;
    right: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card-top-icons .action-btn {
    width: 20px;
    height: 20px;
    border-radius: 0;
    border: none;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    color: #2c3e66;
    font-size: 14px;
    line-height: 1;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card-top-icons .action-btn .material-icons {
    font-size: 14px;
    line-height: 1;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-head {
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-trigger {
    padding-right: 54px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__actions-trigger {
    display: none;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-title-row {
    margin-bottom: 0;
    gap: 4px 6px;
    align-items: flex-start;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-title-row h4 {
    font-size: 0.96rem;
    line-height: 1.16;
    flex: 1 1 100%;
    color: #0a2540;
    letter-spacing: -0.2px;
    margin-bottom: 5px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .badge-row {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 4px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .badge-row .badge,
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .badge-row .event-badge-unit-icon {
    flex: 0 0 auto;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-badge-unit-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border-radius: 999px;
    border: 1px solid #dbe3ed;
    background: #f5f8fc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-badge-unit-icon img {
    width: 12px;
    height: 12px;
    object-fit: contain;
    display: block;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-badge-unit-icon__fallback-icon {
    display: none;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-badge-unit-icon--fallback .event-badge-unit-icon__fallback-icon {
    display: inline-flex;
    font-size: 12px;
    line-height: 1;
    color: #2c6e9e;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .badge-row .badge {
    font-size: 0.58rem;
    font-weight: 700;
    padding: 2px 8px;
    border: none;
    border-radius: 30px;
    letter-spacing: 0.03em;
    box-shadow: none;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .badge-row .badge--primary {
    background: #eff3f8;
    color: #1f4a7a;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .badge-row .badge--warning {
    background: #feedd9;
    color: #b46a00;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .badge-row .badge--success {
    background: #e9f5ea;
    color: #2d6f4f;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__unit-icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
    border-radius: 4px;
    border: none;
    box-shadow: none;
    margin-left: 0;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-meta-inline {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 0;
    font-size: 0.7rem;
    margin-bottom: 1px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-meta-inline .detail-item {
    border: none;
    background: transparent;
    border-radius: 0;
    padding: 0;
    color: #2c3e66;
    width: 100%;
    max-width: 100%;
    justify-self: start;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 500;
    line-height: 1.06;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-meta-inline .detail-item .material-icons {
    font-size: 13px;
    color: #2c6e9e;
    width: auto;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-actions {
    width: 100%;
    min-width: 100%;
    border: none;
    margin-top: 0;
    margin-bottom: 2px;
    padding-left: 0;
    padding-top: 0;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 6px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__action-link {
    width: auto;
    min-width: 0;
    min-height: 30px;
    height: 30px;
    padding: 4px 8px;
    font-size: 0.7rem;
    border-radius: 32px;
    border: none;
    box-shadow: none;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-actions > .event-card__action-link--view,
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-actions > .event-card__action-link--enroll {
    flex: 0 0 auto;
    min-width: 0;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__action-link--view {
    background: #f1f5f9;
    color: #2c3e66;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__action-link--enroll {
    background: #1e5a8a;
    color: #ffffff;
    box-shadow: none;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__action-link .event-card__action-icon {
    font-size: 16px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__action-link .event-card__action-text {
    display: none;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-more {
    margin-top: 0;
    padding: 3px 0 0;
    border-top-color: #e9edf2;
    color: #1e466e;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-more__label {
    font-size: 0.66rem;
    font-weight: 600;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-more__label .material-icons {
    font-size: 13px;
    color: #2c6e9e;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-more__chevron {
    width: auto;
    height: auto;
    font-size: 18px;
    color: #2c3e66;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-body {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-detail {
    border: none;
    border-radius: 12px;
    background: #fafcff;
    padding: 4px 0 2px;
    margin-top: 3px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-detail-row {
    display: flex;
    font-size: 0.64rem;
    padding: 3px 5px;
    border-bottom: 1px dashed #eef2f7;
    gap: 4px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-detail-term {
    width: 20px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    font-weight: 600;
    color: #2c557a;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-detail-term .material-icons {
    font-size: 14px;
    line-height: 1;
    color: #3b6496;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-detail-value {
    font-size: 0.64rem;
    line-height: 1.2;
    color: #223248;
  }
}
@media (min-width: 1024px) and (max-width: 1280px) {
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .header {
    gap: 8px;
    padding: 8px 12px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .header__left {
    gap: 8px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .header__title h1 {
    font-size: 1.28rem;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .header__title p {
    font-size: 0.8rem;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .header__right {
    gap: 6px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .user-header-search.search {
    width: clamp(170px, 22vw, 240px);
    height: 38px;
    padding: 0 10px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .user-search-btn {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .user-chip {
    max-width: 200px;
    padding: 5px 7px;
    gap: 6px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .user-chip__avatar {
    width: 32px;
    height: 32px;
    font-size: 0.88rem;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .content {
    padding: 4px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .panel__header {
    padding: 8px 10px;
    gap: 8px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .panel__title h3 {
    font-size: 1.05rem;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) #toggleEventForm {
    min-height: 34px;
    height: 34px;
    padding: 0 10px;
    font-size: 0.8rem;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .panel__body {
    padding: 8px 10px 10px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) #eventsWeekCalendar.user-week-calendar {
    padding: 5px 6px;
    margin-bottom: 6px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) #eventsWeekCalendar .user-week-calendar__month {
    font-size: 0.98rem;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) #eventsWeekCalendar .user-week-calendar__nav {
    width: 32px;
    height: 30px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) #eventsWeekCalendar .user-week-calendar__days {
    gap: 4px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) #eventsWeekCalendar .user-week-calendar__day {
    min-height: 36px;
    padding: 1px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .toolbar {
    margin-bottom: 6px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .toolbar__scope-filters {
    gap: 4px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .toolbar-filter-select select {
    min-height: 34px;
    height: 34px;
    font-size: 0.8rem;
  }
}
@media (max-width: 680px) {
  body.events-page-headerless .events-module-header {
    display: flex;
  }
  body.events-page-headerless .panel__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
  }
  body.events-page-headerless .panel__title {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
  }
  body.events-page-headerless .panel__actions--shared-search,
  body.events-page-headerless .panel__actions--events {
    flex: 1 1 auto;
    width: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin-left: 0;
  }
  body.events-page-headerless .panel__actions--shared-search .panel-search,
  body.events-page-headerless .panel-search {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    height: 34px;
    padding: 0 10px;
  }
  body.events-page-headerless #toggleEventForm {
    width: 42px;
    min-width: 42px;
    flex: 0 0 42px;
  }
  #eventOffcanvas .event-step[data-step="1"] .responsable-picker__row,
  #quickEventOffcanvas .event-step[data-step="1"] .responsable-picker__row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
  }
  #eventOffcanvas .event-step[data-step="1"] .responsable-picker__row select,
  #quickEventOffcanvas .event-step[data-step="1"] .responsable-picker__row select {
    min-width: 0;
    width: auto;
    max-width: none;
    flex: 1 1 auto;
  }
  #eventOffcanvas .event-step[data-step="1"] #addResponsableBtn,
  #quickEventOffcanvas .event-step[data-step="1"] #quickEventAddResponsableBtn {
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    flex: 0 0 38px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
  }
  #eventOffcanvas .event-step[data-step="1"] #addResponsableBtn::before,
  #quickEventOffcanvas .event-step[data-step="1"] #quickEventAddResponsableBtn::before {
    content: "+";
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1;
  }
  #eventOffcanvas .event-step[data-step="2"] .form-field--with-toggle .capacity-inline-row {
    grid-template-columns: 1fr;
  }
  #eventOffcanvas .event-step[data-step="2"] .form-field--with-toggle .capacity-inline-row .capacity-inline-row__input {
    max-width: 100%;
  }
  #eventOffcanvas .event-step4-date-row,
  #eventOffcanvas .event-step4-time-row {
    grid-template-columns: 1fr;
  }
  #eventOffcanvas .event-step4-repeat-row {
    grid-template-columns: minmax(0, 1fr) minmax(116px, 148px);
  }
  .private-enroll-search {
    grid-template-columns: 1fr;
  }
  .private-enroll-search__btn {
    width: 100%;
  }
  .private-enroll-offcanvas__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
  }
  .private-enroll-offcanvas__actions .btn {
    width: auto;
  }
}
@media (min-width: 921px) {
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-head {
    position: relative;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-trigger {
    width: 100%;
    min-width: 0;
    padding-right: 0;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-meta-inline {
    padding-right: 102px;
    margin-bottom: 0;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-actions {
    position: absolute;
    right: 0;
    bottom: 0;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: none;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 8px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__action-link {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border: none;
    border-radius: 999px;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-actions > .event-card__action-link--view,
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-actions > .event-card__action-link--enroll {
    flex: 0 0 42px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__action-link--view {
    background: var(--primary-soft);
    color: var(--udp-blue-700);
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__action-link--enroll {
    background: var(--udp-blue);
    color: #ffffff;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__action-link--enroll::before {
    content: none;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__action-link .event-card__action-icon {
    font-size: 20px;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__action-link .event-card__action-text {
    display: none;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-more {
    margin-top: 0;
    padding-top: 2px;
  }
}
@media (min-width: 921px) {
  body.events-admin-layout .content {
    width: 100%;
    height: calc(100vh - 8px);
    min-height: 0;
    margin: 4px 0 0;
    padding: 4px 4px 0 4px !important;
    display: flex;
  }
  body.events-admin-layout .content > .panel {
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  body.events-admin-layout .content > .panel > .panel__body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding-bottom: 0 !important;
    overflow: hidden;
  }
}
@media (min-width: 921px) {
  body.events-admin-layout .content > .panel > .panel__body > #eventsContainer.events--calendar-day {
    flex: 1 1 auto;
    min-height: 0;
    height: auto !important;
    max-height: none !important;
    overflow-y: auto;
    overflow-x: hidden;
    margin-bottom: 0;
    align-content: start;
  }
}
@media (min-width: 921px) {
  body.events-admin-layout .event-accordion-trigger {
    padding-right: 0 !important;
  }
  body.events-admin-layout .event-accordion-title-row {
    padding-right: 74px;
  }
  body.events-admin-layout .event-accordion-title-row h4 {
    overflow-wrap: anywhere;
    word-break: normal;
    line-height: 1.2;
    margin-bottom: 6px;
  }
}
@media (min-width: 921px) {
  body.events-admin-layout .event-accordion-meta-inline {
    padding-right: 88px !important;
    margin-top: 1px;
  }
  body.events-admin-layout .event-accordion-meta-inline .detail-item {
    line-height: 1.14;
    margin-bottom: 1px;
  }
  body.events-admin-layout .event-accordion-actions {
    gap: 6px;
  }
  body.events-admin-layout .event-card__action-link {
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
  }
  body.events-admin-layout .event-accordion-actions > .event-card__action-link--view,
  body.events-admin-layout .event-accordion-actions > .event-card__action-link--enroll {
    flex: 0 0 32px;
  }
  body.events-admin-layout .event-card__action-link .event-card__action-icon {
    font-size: 16px;
  }
}
@media (min-width: 921px) {
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__action-link {
    width: 28px !important;
    min-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-actions > .event-card__action-link--view,
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-accordion-actions > .event-card__action-link--enroll {
    flex: 0 0 28px !important;
  }
  body:is(.events-admin-layout, [data-portal=personal][data-page=eventos]) .event-card__action-link .event-card__action-icon {
    font-size: 14px !important;
  }
}
body[data-page=eventos] .event-offcanvas,
body[data-page=eventos] .confirm-offcanvas {
  --surface-alt: #f8faff;
  --offcanvas-surface: #f8faff;
  --offcanvas-surface-strong: #ffffff;
}
body[data-page=eventos] .event-offcanvas__panel,
body[data-page=eventos] .confirm-offcanvas__panel {
  background: #f8faff;
}
body[data-page=eventos] .event-offcanvas__header,
body[data-page=eventos] .confirm-offcanvas__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
body[data-page=eventos] .event-offcanvas__header > div,
body[data-page=eventos] .confirm-offcanvas__header > div {
  min-width: 0;
}
body[data-page=eventos] .events-offcanvas__close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.06rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
  margin-left: auto;
  transition: background 0.18s ease, border-color 0.18s ease;
}
body[data-page=eventos] .events-offcanvas__close:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.44);
}
body[data-page=eventos] .events-offcanvas__close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.58);
  outline-offset: 2px;
}
body[data-page=eventos] .form-main--offcanvas,
body[data-page=eventos] .confirm-offcanvas__body {
  background: #fff;
}
body[data-page=eventos] .form-actions--wizard,
body[data-page=eventos] .confirm-offcanvas__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  overflow-x: auto;
}
body[data-page=eventos] .form-actions--wizard {
  border-top: 1px solid rgba(50, 94, 241, 0.14);
  background: #f8faff !important;
  padding: 12px 0 0;
}
body[data-page=eventos] .confirm-offcanvas__actions {
  border-top: 1px solid rgba(50, 94, 241, 0.14);
  background: #f8faff !important;
}
body[data-page=eventos] .form-actions--wizard .btn,
body[data-page=eventos] .confirm-offcanvas__actions .btn {
  width: auto !important;
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 42px;
  border-radius: 14px;
  font-weight: 700;
  padding: 0 14px;
}
body[data-page=eventos] .private-enroll-offcanvas__actions {
  flex-wrap: nowrap !important;
}
body[data-page=eventos] .form-actions--wizard .btn--secondary,
body[data-page=eventos] .confirm-offcanvas__actions .btn--secondary {
  border-color: rgba(50, 94, 241, 0.28);
  color: var(--udp-blue);
  background: #fff;
}
body[data-page=eventos] .form-actions--wizard .btn--secondary:hover,
body[data-page=eventos] .confirm-offcanvas__actions .btn--secondary:hover {
  border-color: rgba(50, 94, 241, 0.5);
  background: rgba(50, 94, 241, 0.06);
}
body[data-page=eventos] .form-actions--wizard .btn--primary,
body[data-page=eventos] .confirm-offcanvas__actions .btn--primary {
  border-color: var(--udp-blue);
  background: var(--udp-blue);
  color: #fff;
}
body[data-page=eventos] .form-actions--wizard .btn--primary:hover,
body[data-page=eventos] .confirm-offcanvas__actions .btn--primary:hover {
  filter: brightness(1.05);
}
body:is(.events-page-headerless, .events-admin-layout, [data-page=eventos]) #eventOffcanvas .event-offcanvas__panel,
body:is(.events-page-headerless, .events-admin-layout, [data-page=eventos]) #confirmModal .confirm-offcanvas__panel,
body:is(.events-page-headerless, .events-admin-layout, [data-page=eventos]) #privateEnrollModal .confirm-offcanvas__panel {
  background: #f8faff !important;
}
body:is(.events-page-headerless, .events-admin-layout, [data-page=eventos]) #eventOffcanvas .form-main--offcanvas,
body:is(.events-page-headerless, .events-admin-layout, [data-page=eventos]) #confirmModal .confirm-offcanvas__body,
body:is(.events-page-headerless, .events-admin-layout, [data-page=eventos]) #privateEnrollModal .confirm-offcanvas__body {
  background: #ffffff !important;
}
body:is(.events-page-headerless, .events-admin-layout, [data-page=eventos]) #eventOffcanvas .event-offcanvas__header,
body:is(.events-page-headerless, .events-admin-layout, [data-page=eventos]) #confirmModal .confirm-offcanvas__header,
body:is(.events-page-headerless, .events-admin-layout, [data-page=eventos]) #privateEnrollModal .confirm-offcanvas__header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 12px !important;
}
body:is(.events-page-headerless, .events-admin-layout, [data-page=eventos]) #eventOffcanvas .events-offcanvas__close,
body:is(.events-page-headerless, .events-admin-layout, [data-page=eventos]) #confirmModal .events-offcanvas__close,
body:is(.events-page-headerless, .events-admin-layout, [data-page=eventos]) #privateEnrollModal .events-offcanvas__close {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  font-size: 1.06rem !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: auto !important;
  padding: 0 !important;
}
body:is(.events-page-headerless, .events-admin-layout, [data-page=eventos]) #eventOffcanvas .form-actions--wizard,
body:is(.events-page-headerless, .events-admin-layout, [data-page=eventos]) #confirmModal .confirm-offcanvas__actions,
body:is(.events-page-headerless, .events-admin-layout, [data-page=eventos]) #privateEnrollModal .confirm-offcanvas__actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  overflow-x: auto !important;
}
body:is(.events-page-headerless, .events-admin-layout, [data-page=eventos]) #eventOffcanvas .form-actions--wizard {
  border-top: 1px solid rgba(50, 94, 241, 0.14) !important;
  background: #f8faff !important;
}
body:is(.events-page-headerless, .events-admin-layout, [data-page=eventos]) #confirmModal .confirm-offcanvas__actions,
body:is(.events-page-headerless, .events-admin-layout, [data-page=eventos]) #privateEnrollModal .confirm-offcanvas__actions {
  border-top: 1px solid rgba(50, 94, 241, 0.14) !important;
  background: #f8faff !important;
}
body:is(.events-page-headerless, .events-admin-layout, [data-page=eventos]) #eventOffcanvas .form-actions--wizard .btn,
body:is(.events-page-headerless, .events-admin-layout, [data-page=eventos]) #confirmModal .confirm-offcanvas__actions .btn,
body:is(.events-page-headerless, .events-admin-layout, [data-page=eventos]) #privateEnrollModal .confirm-offcanvas__actions .btn {
  width: auto !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}
.toolbar__scope-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.toolbar-filter-select.ui-custom-select-host {
  min-width: 190px;
  flex: 1 1 190px;
  max-width: 260px;
}
.toolbar-filter-select .ui-custom-select__trigger {
  width: 100%;
  min-height: 40px;
  border: 1px solid #BFCBFA !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: var(--text) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  padding: 0 12px !important;
  font-size: .9rem !important;
  line-height: 1 !important;
  cursor: pointer !important;
  font-weight: 400 !important;
}
.toolbar-filter-select .ui-custom-select__native {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  opacity: 0 !important;
  cursor: pointer !important;
  z-index: 2 !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}
@media (min-width: 681px) {
  body.events-admin-layout .toolbar__scope-filters {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    width: 100% !important;
  }
  body.events-admin-layout .toolbar-filter-select.ui-custom-select-host {
    min-width: 0 !important;
    max-width: none !important;
    flex: none !important;
  }
  body.events-admin-layout .toolbar-filter-select .ui-custom-select__trigger {
    min-height: 36px !important;
    font-size: .84rem !important;
    padding: 0 10px !important;
    border-radius: 14px !important;
    border: 1px solid #BFCBFA !important;
    background: #fff !important;
  }
}
@media (max-width: 680px) {
  .toolbar-filter-select.ui-custom-select-host {
    min-width: 0;
    max-width: none;
    flex: 1 1 calc(50% - 4px);
  }
  .toolbar-filter-select .ui-custom-select__trigger {
    min-height: 36px !important;
    font-size: .82rem !important;
    padding: 0 10px !important;
  }
}
.panel__actions--shared-search,
.panel__actions--events {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}
.panel-search {
  min-width: 0;
  flex: 1 1 auto;
  height: 38px;
  padding: 0 12px;
  border-radius: 14px;
  width: min(380px, 44vw);
}
.panel-search input {
  min-width: 0;
}
@media (min-width: 681px) {
  .panel-search {
    width: clamp(220px, 30vw, 360px);
    height: 36px;
    padding: 0 10px;
  }
}
#eventsWeekCalendar.user-week-calendar {
  box-shadow: 0 6px 18px rgba(17, 24, 39, .07);
}

/* src/styles/bloqueos.css */
body[data-module=blocks-admin] {
  overflow-x: hidden;
}
body[data-module=blocks-admin] .table-like {
  max-width: 100%;
  min-width: 0;
}
.block-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: nowrap;
}
.block-header-filter {
  display: block;
}
.panel__header .panel__title {
  order: 1;
}
.panel__header .panel__actions--shared-search {
  order: 2;
}
.panel__header .block-header-actions {
  order: 3;
}
.block-header-filter select {
  min-width: 220px;
  height: 40px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  box-shadow: none;
}
.block-header-filter select option {
  color: var(--text);
  background: #fff;
}
.toolbar__filters--block-unit {
  width: 100%;
  justify-content: flex-start;
}
.toolbar__filters--block-unit .block-header-filter {
  width: min(100%, 340px);
}
.toolbar__filters--block-unit .block-header-filter select {
  width: 100%;
  min-width: 0;
}
#blocksContainer.table-like {
  display: block;
  max-width: 100%;
  min-width: 0;
}
.block-grid-table-wrap {
  width: 100%;
  min-width: 0;
}
.block-grid-table {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.block-grid-table thead th {
  background: #111;
  color: #fff;
  text-align: left;
  font-size: .72rem;
  font-weight: 700;
  padding: 5px 8px;
  border-right: 1px solid rgba(255, 255, 255, .12);
  white-space: nowrap;
}
.block-grid-table thead th:last-child {
  border-right: none;
}
.block-grid-table tbody td {
  padding: 4px 8px;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: .78rem;
  line-height: 1.08;
  vertical-align: middle;
}
.block-grid-table tbody td:last-child {
  border-right: none;
}
.block-grid-table tbody tr:hover {
  background: #faf9f6;
}
.block-grid-th {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.block-grid-th i {
  font-style: normal;
}
.block-grid-name {
  display: grid;
  gap: 2px;
}
.block-grid-name strong {
  font-size: .82rem;
  line-height: 1.06;
}
.block-grid-category {
  color: var(--text-muted);
  font-size: .7rem;
  line-height: 1.08;
}
.block-state {
  font-weight: 700;
}
.block-state--activo {
  color: var(--success);
}
.block-state--inactivo {
  color: var(--danger);
}
.table-like .table-row {
  grid-template-columns: minmax(240px, 1.4fr) minmax(330px, 2fr) minmax(120px, .7fr) minmax(110px, auto);
  min-width: 980px;
}
.block-row-category {
  display: block;
  margin-top: 4px;
  margin-bottom: 4px;
  font-size: .82rem;
  color: var(--text-muted);
}
.block-row-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.block-row-actions .action-btn {
  flex: 0 0 auto;
}
.block-mobile-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 12px;
  display: grid;
  gap: 10px;
}
.block-mobile-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.block-mobile-card__heading {
  min-width: 0;
}
.block-mobile-card__heading h4 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.15;
}
.block-mobile-card__actions-trigger {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-soft);
  border-radius: 9px;
  width: 30px;
  height: 30px;
  min-width: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.block-mobile-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.block-mobile-card__badge {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text-soft);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 9px;
}
.block-mobile-card__badge--success {
  color: var(--success);
  border-color: rgba(15, 143, 79, .28);
  background: rgba(15, 143, 79, .08);
}
.block-mobile-card__badge--muted {
  color: #8a4f1c;
  border-color: rgba(242, 143, 42, .34);
  background: rgba(242, 143, 42, .12);
}
body.is-block-actions-sheet-open {
  overflow: hidden;
}
.block-actions-sheet[hidden] {
  display: none;
}
.block-actions-sheet {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  align-items: end;
  pointer-events: none;
}
.block-actions-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, .42);
  opacity: 0;
  transition: opacity .2s ease;
}
.block-actions-sheet__panel {
  position: relative;
  background: #fff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border: 1px solid var(--border);
  border-bottom: none;
  box-shadow: 0 -14px 26px rgba(17, 24, 39, .16);
  transform: translateY(100%);
  transition: transform .2s ease;
  max-height: min(84vh, 560px);
  overflow: auto;
  width: min(100%, 560px);
  justify-self: center;
}
.block-actions-sheet.is-open {
  pointer-events: auto;
}
.block-actions-sheet.is-open .block-actions-sheet__backdrop {
  opacity: 1;
}
.block-actions-sheet.is-open .block-actions-sheet__panel {
  transform: translateY(0);
}
.block-actions-sheet__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border);
}
.block-actions-sheet__header-copy {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  gap: 2px;
}
.block-actions-sheet__header h3 {
  margin: 0;
  font-size: 1rem;
}
.block-actions-sheet__unit {
  margin: 0;
  color: var(--text);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.2;
  word-break: break-word;
}
.block-actions-sheet__category {
  margin: 0;
  color: var(--text-muted);
  font-size: .76rem;
  line-height: 1.2;
  word-break: break-word;
}
.block-actions-sheet__close {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  font-size: .95rem;
  line-height: 1;
}
.block-actions-sheet__content {
  padding: 12px 14px 14px;
  display: grid;
  gap: 8px;
}
.block-actions-sheet__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 0 12px;
  cursor: pointer;
}
.block-actions-sheet__icon {
  width: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--udp-blue);
  font-size: .95rem;
}
.block-actions-sheet__item--warning {
  border-color: rgba(201, 54, 54, .35);
  color: #9a1f1f;
}
.block-actions-sheet__item--warning .block-actions-sheet__icon {
  color: #c93636;
}
.block-actions-sheet__item--success {
  border-color: rgba(15, 143, 79, .35);
  color: var(--success);
}
.block-actions-sheet__item--success .block-actions-sheet__icon {
  color: var(--success);
}
#blockOffcanvas .form-offcanvas__panel {
  width: min(500px, 100vw);
}
#blockOffcanvas .form-panel__header {
  padding: 12px 16px;
}
#blockOffcanvas .form-grid--2,
#blockOffcanvas .form-grid--3,
#blockOffcanvas .form-grid--4 {
  grid-template-columns: 1fr;
}
#blockOffcanvas .form-main--offcanvas {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 10px;
  gap: 8px;
}
#blockOffcanvas .form-section {
  width: min(100%, 430px);
  max-width: 100%;
  gap: 8px;
  overflow: visible;
}
#blockOffcanvas .form-grid {
  gap: 8px;
}
#blockOffcanvas .form-field {
  gap: 4px;
}
#blockOffcanvas .form-field,
#blockOffcanvas .form-field input,
#blockOffcanvas .form-field select,
#blockOffcanvas .form-field textarea {
  min-width: 0;
  width: 100%;
}
#blockOffcanvas .form-field input,
#blockOffcanvas .form-field select {
  height: 38px;
  padding: 0 9px;
}
#blockOffcanvas .form-field textarea {
  padding: 8px 9px;
}
#blockOffcanvas .form-field span {
  font-size: .86rem;
  line-height: 1.1;
}
#blockOffcanvas .form-actions--sticky {
  width: min(100%, 430px);
  max-width: 100%;
  box-sizing: border-box;
  align-self: center;
  position: static;
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
  flex-wrap: nowrap;
  align-items: center;
  padding-right: 0;
  padding-top: 6px;
  border-top: 1px solid var(--border);
  background: transparent;
  gap: 8px;
}
#blockOffcanvas .form-feedback {
  flex: 1 1 auto;
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 0 auto 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#blockOffcanvas .form-actions--sticky .btn,
#blockOffcanvas .restriction-actions .btn,
#blockOffcanvas .restriction-item__actions .btn {
  flex: 0 0 auto;
  min-height: 38px;
  height: 38px;
  width: auto;
  white-space: nowrap;
}
.restriction-list {
  display: grid;
  gap: 8px;
}
.restriction-item {
  margin: 0;
  padding: 8px 8px 9px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}
.restriction-item__type {
  margin: 0;
  padding: 0 7px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--udp-blue);
  line-height: 1;
  letter-spacing: .01em;
  background: #fff;
}
.restriction-item__entries {
  display: grid;
  gap: 6px;
}
.block-restriction-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 6px;
  align-items: end;
}
.block-restriction-stack + .block-restriction-stack {
  border-top: 1px dashed rgba(17, 24, 39, .12);
  padding-top: 7px;
}
.restriction-item .form-field {
  gap: 3px;
}
.restriction-item .form-field span {
  font-size: .82rem;
}
.restriction-item .form-field input,
.restriction-item .form-field select {
  height: 34px;
  padding: 0 8px;
  border-radius: 10px;
}
.restriction-item__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0;
}
.block-restriction-stack .restriction-item__actions .action-btn {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: .92rem;
}
.restriction-actions {
  display: flex;
  justify-content: flex-end;
}
#blockOffcanvas #addBlockRestrictionBtn {
  width: 38px;
  min-width: 38px;
  padding: 0;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
}
#blockOffcanvas #addBlockRestrictionBtn::before {
  content: "+";
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
}
.block-restriction-type-menu[hidden] {
  display: none;
}
.block-restriction-type-menu {
  position: fixed;
  z-index: 260;
  pointer-events: auto;
}
.block-restriction-type-menu__backdrop {
  display: none;
}
.block-restriction-type-menu__panel {
  width: auto;
  max-width: calc(100vw - 16px);
  display: flex;
  flex-wrap: nowrap;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 14px 24px rgba(17, 24, 39, .18);
  pointer-events: auto;
}
.block-restriction-type-menu.is-open .block-restriction-type-menu__panel {
  animation: blockRestrictionTypeMenuIn .16s ease-out;
}
.block-restriction-type-menu__item {
  flex: 0 0 auto;
  min-height: 28px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #fff;
  color: var(--text);
  font-weight: 600;
  font-size: .64rem;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 6px;
  cursor: pointer;
  text-align: left;
  line-height: 1.05;
  white-space: nowrap;
}
.block-restriction-type-menu__item:hover {
  border-color: rgba(50, 94, 241, .35);
  background: #f7f9ff;
}
.block-restriction-type-menu__item:focus-visible {
  outline: none;
  border-color: var(--udp-blue);
  box-shadow: 0 0 0 2px rgba(50, 94, 241, .16);
}
.block-restriction-type-menu__icon {
  width: 12px;
  display: inline-flex;
  justify-content: center;
  color: var(--udp-blue);
  font-size: .7rem;
}
.block-restriction-type-menu.is-mobile-sheet {
  inset: 0;
  display: grid;
  align-items: end;
  pointer-events: auto;
}
.block-restriction-type-menu.is-mobile-sheet .block-restriction-type-menu__backdrop {
  display: block;
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, .42);
  opacity: 0;
  transition: opacity .2s ease;
}
.block-restriction-type-menu.is-mobile-sheet .block-restriction-type-menu__panel {
  width: min(calc(100% - 12px), 460px);
  max-width: calc(100% - 12px);
  margin: 0 auto 6px;
  border-radius: 16px 16px 10px 10px;
  padding: 10px;
  gap: 8px;
  display: grid;
  grid-template-columns: 1fr;
  transform: translateY(100%);
  transition: transform .2s ease;
}
.block-restriction-type-menu.is-mobile-sheet.is-open .block-restriction-type-menu__backdrop {
  opacity: 1;
}
.block-restriction-type-menu.is-mobile-sheet.is-open .block-restriction-type-menu__panel {
  transform: translateY(0);
}
.block-restriction-type-menu.is-mobile-sheet .block-restriction-type-menu__item {
  min-height: 36px;
  font-size: .76rem;
  gap: 7px;
  padding: 0 10px;
  border-radius: 9px;
}
.block-restriction-type-menu.is-mobile-sheet .block-restriction-type-menu__icon {
  width: 14px;
  font-size: .8rem;
}
@keyframes blockRestrictionTypeMenuIn {
  from {
    opacity: 0;
    transform: translateY(-2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.confirm-modal[hidden] {
  display: none;
}
.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
}
.confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
}
.confirm-modal__dialog {
  position: relative;
  width: min(92vw, 520px);
  margin: 10vh auto 0;
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 24px;
  z-index: 1;
}
.confirm-modal__dialog h3 {
  margin: 0 0 10px;
}
.confirm-modal__dialog p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}
.confirm-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}
body[data-page=restricciones] #blockOffcanvas .form-offcanvas__panel,
body[data-page=restricciones] #blockConfirmModal .confirm-offcanvas__panel {
  background: #f8faff !important;
}
body[data-page=restricciones] #blockOffcanvas .form-main--offcanvas,
body[data-page=restricciones] #blockConfirmModal .confirm-offcanvas__body {
  background: #ffffff !important;
}
body[data-page=restricciones] #blockOffcanvas .form-panel__header,
body[data-page=restricciones] #blockConfirmModal .confirm-offcanvas__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
body[data-page=restricciones] #blockOffcanvas .form-panel__header > div,
body[data-page=restricciones] #blockConfirmModal .confirm-offcanvas__header > div {
  min-width: 0;
}
body[data-page=restricciones] .block-offcanvas__close {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 1.06rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
  margin-left: auto;
  transition: background .18s ease, border-color .18s ease;
}
body[data-page=restricciones] .block-offcanvas__close:hover {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .44);
}
body[data-page=restricciones] .block-offcanvas__close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .58);
  outline-offset: 2px;
}
body[data-page=restricciones] #blockOffcanvas .form-actions--sticky,
body[data-page=restricciones] #blockConfirmModal .confirm-offcanvas__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  overflow-x: auto;
}
body[data-page=restricciones] #blockOffcanvas .form-actions--sticky {
  border-top: 1px solid rgba(50, 94, 241, .14);
  background: #f8faff !important;
}
body[data-page=restricciones] #blockOffcanvas .form-actions--sticky .form-feedback {
  flex: 1 1 auto;
  min-width: 0;
}
body[data-page=restricciones] #blockConfirmModal .confirm-offcanvas__actions {
  border-top: 1px solid rgba(50, 94, 241, .14);
  background: #f8faff !important;
}
body[data-page=restricciones] #blockOffcanvas .form-actions--sticky .btn,
body[data-page=restricciones] #blockConfirmModal .confirm-offcanvas__actions .btn {
  width: auto !important;
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 42px;
  border-radius: 14px;
  font-weight: 700;
  padding: 0 14px;
}
@media (max-width: 991px) {
  .block-header-actions {
    width: 100%;
    justify-content: flex-end;
  }
}
@media (max-width: 680px) {
  #searchToggleBtn {
    display: none !important;
  }
  .panel__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
  }
  .panel__header .panel__title {
    grid-column: 1 / -1;
    min-width: 0;
  }
  .panel__title h3 {
    font-size: 1.35rem;
    line-height: 1.08;
  }
  .panel__title p {
    margin-top: 4px;
    font-size: .84rem;
    line-height: 1.28;
  }
  .panel__header .panel__actions--shared-search {
    grid-column: 1 / 2;
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }
  .panel__header .panel__actions--shared-search .panel-search {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 10px;
    border-radius: 12px;
    box-shadow: none;
  }
  .panel__header .block-header-actions {
    grid-column: 2 / 3;
    width: auto;
    justify-content: flex-end;
    align-self: center;
  }
  #blocksContainer.table-like {
    overflow-x: hidden;
    overflow-y: auto;
    max-height: calc(100vh - 320px);
    padding-right: 2px;
    -webkit-overflow-scrolling: touch;
  }
  .confirm-modal__actions {
    flex-direction: column;
  }
  .confirm-modal__actions .btn {
    width: 100%;
  }
  body[data-page=restricciones] #blockOffcanvas .form-actions--sticky,
  body[data-page=restricciones] #blockConfirmModal .confirm-offcanvas__actions {
    flex-wrap: nowrap !important;
    justify-content: flex-end;
  }
  body[data-page=restricciones] #cancelBlockForm,
  body[data-page=restricciones] #saveBlockButton,
  body[data-page=restricciones] #cancelBlockStatusBtn,
  body[data-page=restricciones] #confirmBlockStatusBtn {
    width: auto !important;
    min-width: 0;
    flex: 0 0 auto;
    min-height: 32px;
    height: 32px;
    padding: 0 12px;
    border-radius: 10px;
    justify-content: center;
    font-size: .73rem;
    line-height: 1.2;
    white-space: nowrap;
  }
}
@media (min-width: 681px) {
  body[data-module=blocks-admin] .content,
  body[data-page=restricciones] .content {
    padding: 4px 4px 0 4px;
    margin: 4px 0 0;
    height: calc(100vh - 8px);
    min-height: 0;
    display: flex;
  }
  body[data-module=blocks-admin] .panel,
  body[data-page=restricciones] .panel {
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
  }
  body[data-module=blocks-admin] .panel__body,
  body[data-page=restricciones] .panel__body {
    padding-bottom: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }
  body[data-module=blocks-admin] #blocksContainer.table-like,
  body[data-page=restricciones] #blocksContainer.table-like {
    flex: 1 1 auto;
    min-height: 0;
    margin-bottom: 0;
    overflow-x: auto;
    overflow-y: auto;
    padding-right: 2px;
    scrollbar-width: thin;
    scrollbar-color: var(--select-scroll-thumb) var(--select-scroll-track);
  }
  body[data-page=restricciones] #blocksContainer.table-like::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  body[data-page=restricciones] #blocksContainer.table-like::-webkit-scrollbar-track {
    background: var(--select-scroll-track);
    border-radius: 999px;
  }
  body[data-page=restricciones] #blocksContainer.table-like::-webkit-scrollbar-thumb {
    background:
      linear-gradient(
        180deg,
        #c1c8dd,
        var(--select-scroll-thumb));
    border-radius: 999px;
    border: 2px solid var(--select-scroll-track);
  }
  body[data-page=restricciones] #blocksContainer.table-like::-webkit-scrollbar-thumb:hover {
    background:
      linear-gradient(
        180deg,
        #aeb8d1,
        var(--select-scroll-thumb-hover));
  }
  body[data-page=restricciones] .block-grid-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
  }
  body[data-page=restricciones] .block-grid-table tbody td {
    padding: 3px 7px;
    font-size: .74rem;
    line-height: 1.02;
  }
  body[data-page=restricciones] .block-grid-name strong {
    font-size: .78rem;
  }
  body[data-page=restricciones] .block-grid-category {
    font-size: .64rem;
  }
  body[data-page=restricciones] .block-row-actions {
    justify-content: center;
    gap: 6px;
  }
  body[data-page=restricciones] .block-row-actions .action-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: .72rem;
  }
  body[data-page=restricciones] #blockOffcanvas .form-section {
    width: min(100%, 410px);
    gap: 7px;
  }
  body[data-page=restricciones] #blockOffcanvas .restriction-list {
    gap: 6px;
  }
  body[data-page=restricciones] #blockOffcanvas .restriction-item {
    padding: 6px 7px 7px;
    border-radius: 10px;
  }
  body[data-page=restricciones] #blockOffcanvas .restriction-item__type {
    padding: 0 6px;
    font-size: .68rem;
  }
  body[data-page=restricciones] #blockOffcanvas .restriction-item__entries {
    gap: 5px;
  }
  body[data-page=restricciones] #blockOffcanvas .block-restriction-stack {
    gap: 5px;
  }
  body[data-page=restricciones] #blockOffcanvas .block-restriction-stack + .block-restriction-stack {
    padding-top: 6px;
  }
  body[data-page=restricciones] #blockOffcanvas .restriction-item .form-field {
    gap: 2px;
  }
  body[data-page=restricciones] #blockOffcanvas .restriction-item .form-field span {
    font-size: .76rem;
  }
  body[data-page=restricciones] #blockOffcanvas .restriction-item .form-field input,
  body[data-page=restricciones] #blockOffcanvas .restriction-item .form-field select {
    height: 32px;
    padding: 0 7px;
    border-radius: 9px;
  }
  body[data-page=restricciones] #blockOffcanvas .block-restriction-stack .restriction-item__actions .action-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: .86rem;
  }
}

/* src/styles/blacklist.css */
.blacklist-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: nowrap;
}
.blacklist-header-filter {
  display: block;
}
.panel__header .panel__title {
  order: 1;
}
.panel__header .panel__actions--shared-search {
  order: 2;
}
.panel__header .blacklist-header-actions {
  order: 3;
}
.blacklist-header-filter select {
  min-width: 220px;
  height: 40px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  box-shadow: none;
}
.blacklist-header-filter select option {
  color: var(--text);
  background: #fff;
}
.toolbar__filters--blacklist-unit {
  width: 100%;
  justify-content: flex-start;
}
.toolbar__filters--blacklist-unit .blacklist-header-filter {
  width: min(100%, 340px);
}
.toolbar__filters--blacklist-unit .blacklist-header-filter select {
  width: 100%;
  min-width: 0;
}
#blacklistContainer.table-like {
  display: block;
}
.blacklist-grid-table-wrap {
  width: 100%;
  min-width: 0;
}
.blacklist-grid-table {
  width: 100%;
  min-width: 1060px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.blacklist-grid-table thead th {
  background: #111;
  color: #fff;
  text-align: left;
  font-size: .72rem;
  font-weight: 700;
  padding: 5px 8px;
  border-right: 1px solid rgba(255, 255, 255, .12);
  white-space: nowrap;
}
.blacklist-grid-table thead th:last-child {
  border-right: none;
}
.blacklist-grid-table tbody td {
  padding: 4px 8px;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: .78rem;
  line-height: 1.08;
  vertical-align: middle;
}
.blacklist-grid-table tbody td:last-child {
  border-right: none;
}
.blacklist-grid-table tbody tr:hover {
  background: #faf9f6;
}
.blacklist-grid-th {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.blacklist-grid-th i {
  font-style: normal;
}
.blacklist-grid-name {
  display: grid;
  gap: 2px;
}
.blacklist-grid-name strong {
  font-size: .82rem;
  line-height: 1.06;
}
.blacklist-grid-name span {
  color: var(--text-muted);
  font-size: .7rem;
  line-height: 1.08;
}
.blacklist-grid-unit {
  color: var(--text-muted);
}
.blacklist-state {
  font-weight: 700;
}
.blacklist-state--activo {
  color: var(--success);
}
.blacklist-state--inactivo {
  color: var(--danger);
}
.risk-high {
  color: var(--udp-red);
  font-weight: 700;
}
.risk-medium {
  color: var(--warning);
  font-weight: 700;
}
.risk-low {
  color: var(--success);
  font-weight: 700;
}
.table-like .table-row {
  grid-template-columns: minmax(260px, 1.5fr) minmax(220px, 1fr) minmax(180px, .9fr) minmax(280px, 1.4fr) minmax(110px, auto);
  min-width: 1100px;
}
.blacklist-row-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.blacklist-row-actions .action-btn {
  flex: 0 0 auto;
}
.blacklist-mobile-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 12px;
  display: grid;
  gap: 10px;
}
.blacklist-mobile-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.blacklist-mobile-card__heading {
  min-width: 0;
}
.blacklist-mobile-card__heading h4 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.15;
}
.blacklist-mobile-card__email {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: .8rem;
  line-height: 1.2;
}
.blacklist-mobile-card__actions-trigger {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-soft);
  border-radius: 9px;
  width: 30px;
  height: 30px;
  min-width: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.blacklist-mobile-card__reason {
  margin: 0;
  color: var(--text-soft);
  font-size: .86rem;
  line-height: 1.35;
}
.blacklist-mobile-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.blacklist-mobile-card__badge {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text-soft);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 9px;
}
.blacklist-mobile-card__badge--success {
  color: var(--success);
  border-color: rgba(15, 143, 79, .28);
  background: rgba(15, 143, 79, .08);
}
.blacklist-mobile-card__badge--muted {
  color: #8a4f1c;
  border-color: rgba(242, 143, 42, .34);
  background: rgba(242, 143, 42, .12);
}
body.is-blacklist-actions-sheet-open {
  overflow: hidden;
}
.blacklist-actions-sheet[hidden] {
  display: none;
}
.blacklist-actions-sheet {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  align-items: end;
  pointer-events: none;
}
.blacklist-actions-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, .42);
  opacity: 0;
  transition: opacity .2s ease;
}
.blacklist-actions-sheet__panel {
  position: relative;
  background: #fff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border: 1px solid var(--border);
  border-bottom: none;
  box-shadow: 0 -14px 26px rgba(17, 24, 39, .16);
  transform: translateY(100%);
  transition: transform .2s ease;
  max-height: min(84vh, 560px);
  overflow: auto;
  width: min(100%, 560px);
  justify-self: center;
}
.blacklist-actions-sheet.is-open {
  pointer-events: auto;
}
.blacklist-actions-sheet.is-open .blacklist-actions-sheet__backdrop {
  opacity: 1;
}
.blacklist-actions-sheet.is-open .blacklist-actions-sheet__panel {
  transform: translateY(0);
}
.blacklist-actions-sheet__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border);
}
.blacklist-actions-sheet__header-copy {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  gap: 2px;
}
.blacklist-actions-sheet__header h3 {
  margin: 0;
  font-size: 1rem;
}
.blacklist-actions-sheet__name {
  margin: 0;
  color: var(--text);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.2;
  word-break: break-word;
}
.blacklist-actions-sheet__email {
  margin: 0;
  color: var(--text-muted);
  font-size: .76rem;
  line-height: 1.2;
  word-break: break-word;
}
.blacklist-actions-sheet__close {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  font-size: .95rem;
  line-height: 1;
}
.blacklist-actions-sheet__content {
  padding: 12px 14px 14px;
  display: grid;
  gap: 8px;
}
.blacklist-actions-sheet__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 0 12px;
  cursor: pointer;
}
.blacklist-actions-sheet__icon {
  width: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--udp-blue);
  font-size: .95rem;
}
.blacklist-actions-sheet__item--warning {
  border-color: rgba(201, 54, 54, .35);
  color: #9a1f1f;
}
.blacklist-actions-sheet__item--warning .blacklist-actions-sheet__icon {
  color: #c93636;
}
.blacklist-actions-sheet__item--success {
  border-color: rgba(15, 143, 79, .35);
  color: var(--success);
}
.blacklist-actions-sheet__item--success .blacklist-actions-sheet__icon {
  color: var(--success);
}
#blacklistOffcanvas .form-offcanvas__panel {
  width: min(500px, 100vw);
  box-sizing: border-box;
}
#blacklistOffcanvas .form-panel__header {
  padding: 10px 14px;
}
#blacklistOffcanvas .form-panel__header h4 {
  margin: 0 0 2px;
  font-size: 1rem;
  line-height: 1.2;
}
#blacklistOffcanvas .form-panel__header p {
  font-size: .88rem;
  line-height: 1.25;
}
#blacklistOffcanvas .form-main--offcanvas {
  padding: 12px;
  gap: 10px;
  overflow-x: hidden;
}
#blacklistOffcanvas .form-section,
#blacklistOffcanvas .form-actions--sticky {
  max-width: 100%;
}
#blacklistOffcanvas .form-section {
  gap: 8px;
}
#blacklistOffcanvas .form-section + .form-section {
  padding-top: 10px;
}
#blacklistOffcanvas .form-grid {
  gap: 8px;
}
#blacklistOffcanvas .form-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
#blacklistOffcanvas .blacklist-search-row {
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: end;
  gap: 8px;
}
#blacklistOffcanvas .blacklist-user-fields-row {
  grid-template-columns: 1fr;
}
#blacklistOffcanvas .blacklist-search-row .form-field:last-child {
  display: flex;
  align-items: flex-end;
}
#blacklistOffcanvas .blacklist-search-row .form-field:last-child > span {
  display: none;
}
#blacklistOffcanvas #searchUserBtn {
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}
#blacklistOffcanvas .form-field,
#blacklistOffcanvas .form-field input,
#blacklistOffcanvas .form-field select,
#blacklistOffcanvas .form-field textarea {
  min-width: 0;
  width: 100%;
}
#blacklistOffcanvas .form-field {
  gap: 4px;
}
#blacklistOffcanvas .form-field input,
#blacklistOffcanvas .form-field select {
  height: 40px;
  padding: 0 10px;
}
#blacklistOffcanvas .form-field textarea {
  min-height: 76px;
  max-height: 110px;
  padding: 8px 10px;
  resize: none;
}
#blacklistOffcanvas .form-actions--sticky {
  padding-top: 6px;
  gap: 8px;
}
#blacklistOffcanvas .form-actions--sticky .btn {
  min-height: 38px;
  height: 38px;
}
.confirm-modal[hidden] {
  display: none;
}
.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
}
.confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
}
.confirm-modal__dialog {
  position: relative;
  width: min(92vw, 520px);
  margin: 10vh auto 0;
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 24px;
  z-index: 1;
}
.confirm-modal__dialog h3 {
  margin: 0 0 10px;
}
.confirm-modal__dialog p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}
.confirm-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}
body[data-page=lista-negra] #blacklistOffcanvas .form-offcanvas__panel,
body[data-page=lista-negra] #blacklistConfirmModal .confirm-offcanvas__panel {
  background: #f8faff !important;
}
body[data-page=lista-negra] #blacklistOffcanvas .form-main--offcanvas,
body[data-page=lista-negra] #blacklistConfirmModal .confirm-offcanvas__body {
  background: #ffffff !important;
}
body[data-page=lista-negra] #blacklistOffcanvas .form-panel__header,
body[data-page=lista-negra] #blacklistConfirmModal .confirm-offcanvas__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
body[data-page=lista-negra] #blacklistOffcanvas .form-panel__header > div,
body[data-page=lista-negra] #blacklistConfirmModal .confirm-offcanvas__header > div {
  min-width: 0;
}
body[data-page=lista-negra] .blacklist-offcanvas__close {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 1.06rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
  margin-left: auto;
  transition: background .18s ease, border-color .18s ease;
}
body[data-page=lista-negra] .blacklist-offcanvas__close:hover {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .44);
}
body[data-page=lista-negra] .blacklist-offcanvas__close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .58);
  outline-offset: 2px;
}
body[data-page=lista-negra] #blacklistOffcanvas .form-actions--sticky,
body[data-page=lista-negra] #blacklistConfirmModal .confirm-offcanvas__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  overflow-x: auto;
}
body[data-page=lista-negra] #blacklistOffcanvas .form-actions--sticky {
  border-top: 1px solid rgba(50, 94, 241, .14);
  background: #f8faff !important;
}
body[data-page=lista-negra] #blacklistOffcanvas .form-actions--sticky .form-feedback {
  flex: 1 1 auto;
  min-width: 0;
}
body[data-page=lista-negra] #blacklistConfirmModal .confirm-offcanvas__actions {
  border-top: 1px solid rgba(50, 94, 241, .14);
  background: #f8faff !important;
}
body[data-page=lista-negra] #blacklistOffcanvas .form-actions--sticky .btn,
body[data-page=lista-negra] #blacklistConfirmModal .confirm-offcanvas__actions .btn {
  width: auto !important;
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 42px;
  border-radius: 14px;
  font-weight: 700;
  padding: 0 14px;
}
@media (max-width: 1200px) {
  .blacklist-header-actions {
    width: 100%;
    justify-content: flex-end;
  }
  #blacklistOffcanvas .form-grid--2 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 680px) {
  #searchToggleBtn {
    display: none !important;
  }
  .panel__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
  }
  .panel__header .panel__title {
    grid-column: 1 / -1;
    min-width: 0;
  }
  .panel__title h3 {
    font-size: 1.35rem;
    line-height: 1.08;
  }
  .panel__title p {
    margin-top: 4px;
    font-size: .84rem;
    line-height: 1.28;
  }
  .panel__header .panel__actions--shared-search {
    grid-column: 1 / 2;
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }
  .panel__header .panel__actions--shared-search .panel-search {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 10px;
    border-radius: 12px;
    box-shadow: none;
  }
  .panel__header .blacklist-header-actions {
    grid-column: 2 / 3;
    width: auto;
    justify-content: flex-end;
    align-self: center;
  }
  #blacklistOffcanvas .form-offcanvas__panel {
    width: min(460px, calc(100vw - 12px));
  }
  #blacklistOffcanvas .blacklist-search-row {
    grid-template-columns: minmax(0, 1fr) 42px;
    align-items: end;
    gap: 8px;
  }
  #blacklistOffcanvas .blacklist-search-row .form-field:last-child {
    display: flex;
    align-items: flex-end;
  }
  #blacklistOffcanvas .blacklist-search-row .form-field:last-child > span {
    display: none;
  }
  #blacklistOffcanvas #searchUserBtn {
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
  }
  #blacklistOffcanvas .blacklist-dates-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  #blacklistOffcanvas .form-panel__header {
    padding: 12px 14px;
  }
  #blacklistOffcanvas .form-panel__header h4 {
    margin: 0 0 4px;
    font-size: 1rem;
    line-height: 1.2;
  }
  #blacklistOffcanvas .form-panel__header p {
    font-size: .8rem;
    line-height: 1.25;
  }
  #blacklistOffcanvas .form-main--offcanvas {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    gap: 10px;
    overflow-x: hidden;
  }
  #blacklistOffcanvas .form-section,
  #blacklistOffcanvas .form-actions--sticky {
    width: min(100%, 400px);
    max-width: 100%;
    box-sizing: border-box;
  }
  #blacklistOffcanvas .form-section {
    gap: 10px;
  }
  #blacklistOffcanvas .form-grid {
    gap: 8px;
  }
  #blacklistOffcanvas .form-field {
    gap: 4px;
  }
  #blacklistOffcanvas .form-section__intro h5 {
    margin: 0 0 4px;
    font-size: .92rem;
    line-height: 1.2;
  }
  #blacklistOffcanvas .form-section__intro p {
    font-size: .8rem;
    line-height: 1.3;
  }
  #blacklistOffcanvas .form-field span {
    font-size: .82rem;
    line-height: 1.15;
  }
  #blacklistOffcanvas .form-field input,
  #blacklistOffcanvas .form-field select {
    height: 38px;
    padding: 0 10px;
    font-size: .9rem;
  }
  #blacklistOffcanvas .form-field textarea {
    padding: 10px;
    font-size: .9rem;
  }
  #blacklistOffcanvas .form-actions--sticky {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
  }
  #blacklistContainer.table-like {
    overflow-x: hidden;
    overflow-y: auto;
    max-height: calc(100vh - 320px);
    padding-right: 2px;
    -webkit-overflow-scrolling: touch;
  }
  .confirm-modal__actions {
    flex-direction: column;
  }
  .confirm-modal__actions .btn {
    width: 100%;
  }
}
@media (min-width: 681px) {
  body[data-page=lista-negra] .content {
    padding: 4px 4px 0 4px;
    margin: 4px 0 0;
    height: calc(100vh - 8px);
    min-height: 0;
    display: flex;
  }
  body[data-page=lista-negra] .panel {
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
  }
  body[data-page=lista-negra] .panel__body {
    padding-bottom: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }
  body[data-page=lista-negra] #blacklistContainer.table-like {
    flex: 1 1 auto;
    min-height: 0;
    margin-bottom: 0;
    overflow-x: auto;
    overflow-y: auto;
    padding-right: 2px;
    scrollbar-width: thin;
    scrollbar-color: var(--select-scroll-thumb) var(--select-scroll-track);
  }
  body[data-page=lista-negra] #blacklistContainer.table-like::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  body[data-page=lista-negra] #blacklistContainer.table-like::-webkit-scrollbar-track {
    background: var(--select-scroll-track);
    border-radius: 999px;
  }
  body[data-page=lista-negra] #blacklistContainer.table-like::-webkit-scrollbar-thumb {
    background:
      linear-gradient(
        180deg,
        #c1c8dd,
        var(--select-scroll-thumb));
    border-radius: 999px;
    border: 2px solid var(--select-scroll-track);
  }
  body[data-page=lista-negra] #blacklistContainer.table-like::-webkit-scrollbar-thumb:hover {
    background:
      linear-gradient(
        180deg,
        #aeb8d1,
        var(--select-scroll-thumb-hover));
  }
  body[data-page=lista-negra] .blacklist-grid-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
  }
  body[data-page=lista-negra] .blacklist-grid-table tbody td {
    padding: 3px 7px;
    font-size: .74rem;
    line-height: 1.02;
  }
  body[data-page=lista-negra] .blacklist-grid-name strong {
    font-size: .78rem;
  }
  body[data-page=lista-negra] .blacklist-grid-name span {
    font-size: .64rem;
  }
  body[data-page=lista-negra] .blacklist-row-actions {
    justify-content: center;
    gap: 6px;
  }
  body[data-page=lista-negra] .blacklist-row-actions .action-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: .72rem;
  }
}

/* src/styles.scss */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
