/* ==========================================================================
   FILE: __core/coreCss/pages.login.css
   PURPOSE: Login page — DELTADESK Auth 2026.
   SCOPE: Login layout, topbar, news panel, auth card.
   DEPENDS: tokens.css, base.css, components.forms.css, components.buttons.css.
   ========================================================================== */

/* ══════════════════════════════════════════════════════
   SCOPED DESIGN TOKENS
   ══════════════════════════════════════════════════════ */
body.auth-page.dashboardbackground {
  /* Surfaces */
  --auth-glass:        linear-gradient(160deg, rgba(255,255,255,0.90) 0%, rgba(255,255,255,0.76) 100%);
  --auth-glass-border: rgba(255,255,255,0.62);
  --auth-input-bg:     rgba(255,255,255,0.88);
  --auth-input-border: rgba(0,0,0,0.11);

  /* Text */
  --auth-text:   #111827;
  --auth-muted:  #4b5563;

  /* Brand — alineado con deltadesk.co: navy + teal + sky */
  --auth-accent:       #1e40af;
  --auth-accent-ring:  rgba(30,64,175,0.16);
  --auth-gradient:     linear-gradient(90deg, #1e40af 0%, #0f766e 55%, #7dd3fc 100%);
  --auth-tint:         linear-gradient(135deg, rgba(30,64,175,0.07) 0%, rgba(15,118,110,0.05) 100%);
  --auth-navy:         #1e40af;
  --auth-teal:         #0f766e;
  --auth-sky:          #7dd3fc;
  --auth-dark:         #07091c;

  /* Borders */
  --auth-border:       rgba(219,225,234,0.85);
  --auth-border-mid:   rgba(203,213,225,0.90);

  /* Shadows */
  --auth-shadow-panel: 0 20px 60px -28px rgba(15,23,42,0.20), 0 2px 10px -4px rgba(15,23,42,0.06);
  --auth-shadow-card:  0 8px 24px -12px rgba(15,23,42,0.14);
  --auth-shadow-raise: 0 26px 50px -22px rgba(15,23,42,0.30);
  --auth-shadow-btn:   0 8px 22px -8px  rgba(30,64,175,0.42);

  /* Radii */
  --auth-radius-xl:   1.375rem;
  --auth-radius-lg:   1rem;
  --auth-radius-md:   0.75rem;
  --auth-radius-pill: 999px;

  /* Layout */
  --auth-panel-pad:   clamp(1.75rem, 3.5vw, 2.5rem);
  --auth-main-bar-h:  64px;
  --auth-card-h:      680px;
  --auth-section-gap: 1.25rem;
}

/* ══════════════════════════════════════════════════════
   PAGE BACKGROUND — override tokens.css --bg
   ══════════════════════════════════════════════════════ */
body.dashboardbackground.auth-page {
  background: #f6f8fb !important;
  min-height: 100dvh;
  padding-top: var(--auth-main-bar-h);
}

/* Decorative noise (added in PHP as .auth-bg-noise div) */
.auth-bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 12% 16%, rgba(30,64,175,0.12) 0, transparent 42%),
    radial-gradient(circle at 88%  8%, rgba(125,211,252,0.10) 0, transparent 38%),
    radial-gradient(circle at 55% 98%, rgba(15,118,110,0.07) 0, transparent 44%);
}

/* ══════════════════════════════════════════════════════
   TOPBAR
   ══════════════════════════════════════════════════════ */
body.dashboardbackground .auth-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  background: rgba(246,248,251,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--auth-border);
}

/* Bottom gradient accent line */
body.dashboardbackground .auth-topbar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--auth-gradient);
  pointer-events: none;
}

/* ── Main nav row ── */
body.dashboardbackground .auth-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--auth-main-bar-h);
  padding: 0 20px;
  gap: 14px;
}

body.dashboardbackground .auth-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: inherit;
}
body.dashboardbackground .auth-brand:hover { text-decoration: none; color: inherit; }

body.dashboardbackground .auth-logo {
  height: 36px;
  width:  36px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

body.dashboardbackground .auth-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

body.dashboardbackground .auth-brand-title {
  font-family: "deltadesk-logo", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  color: var(--auth-text);
}

body.dashboardbackground .auth-brand-sub {
  font-size: 0.71rem;
  color: var(--auth-muted);
  font-weight: 500;
  margin-top: 1px;
}

body.dashboardbackground .auth-topbar-web {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--auth-accent);
  text-decoration: none;
  padding: 6px 14px;
  border: 1.5px solid rgba(0,103,173,0.22);
  border-radius: var(--auth-radius-pill);
  background: rgba(0,103,173,0.06);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
  white-space: nowrap;
}
body.dashboardbackground .auth-topbar-web:hover {
  background: rgba(0,103,173,0.12);
  border-color: rgba(0,103,173,0.40);
  color: var(--auth-accent);
  text-decoration: none;
  transform: translateY(-1px);
}

body.dashboardbackground .auth-topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

body.dashboardbackground .auth-topbar-locale-dropdown {
  position: relative;
}

body.dashboardbackground .auth-topbar-locale-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--auth-accent);
  text-decoration: none;
  padding: 6px 12px;
  border: 1.5px solid rgba(0,103,173,0.22);
  border-radius: var(--auth-radius-pill);
  background: rgba(0,103,173,0.06);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
  white-space: nowrap;
}
body.dashboardbackground .auth-topbar-locale-btn:hover {
  background: rgba(0,103,173,0.12);
  border-color: rgba(0,103,173,0.40);
  transform: translateY(-1px);
}
body.dashboardbackground .auth-topbar-locale-value {
  letter-spacing: 0.02em;
}
body.dashboardbackground .auth-topbar-locale-btn i {
  font-size: 0.68rem;
  opacity: 0.78;
  transition: transform 0.18s ease;
}
body.dashboardbackground .auth-topbar-locale-dropdown.open .auth-topbar-locale-btn i {
  transform: rotate(180deg);
}
body.dashboardbackground .auth-topbar-locale-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 94px;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  border-radius: 12px;
  border: 1.5px solid rgba(0,103,173,0.18);
  background: rgba(255,255,255,0.98);
  box-shadow: 0 20px 36px -22px rgba(15,23,42,0.35);
  z-index: 90;
}
body.dashboardbackground .auth-topbar-locale-dropdown.open .auth-topbar-locale-menu {
  display: flex;
}
body.dashboardbackground .auth-topbar-locale-option {
  width: 100%;
  border: 0;
  background: rgba(0,103,173,0.03);
  color: var(--auth-text);
  border-radius: 9px;
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}
body.dashboardbackground .auth-topbar-locale-option:hover {
  background: rgba(0,103,173,0.10);
  color: var(--auth-accent);
}
body.dashboardbackground .auth-topbar-locale-option.active {
  background: rgba(0,103,173,0.15);
  color: var(--auth-accent);
}
body.dashboardbackground .auth-topbar-locale-option:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--auth-accent-ring);
}


/* ══════════════════════════════════════════════════════
   LAYOUT
   ══════════════════════════════════════════════════════ */

/* auth-shell como columna flex: split arriba + tiles abajo */
body.dashboardbackground .auth-shell {
  position: relative;
  z-index: 1;
  padding-top:    clamp(0.35rem, 1vw, 0.6rem);
  padding-bottom: clamp(1.5rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: var(--auth-section-gap);
}

body.dashboardbackground .auth-split {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

/* ── Panels (glass morphism) ── */
body.dashboardbackground .auth-left,
body.dashboardbackground .auth-right,
body.dashboardbackground .auth-tiles-bar {
  background: var(--auth-glass);
  border: 1px solid var(--auth-glass-border);
  border-radius: var(--auth-radius-xl);
  box-shadow: var(--auth-shadow-panel);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: var(--auth-panel-pad);
  color: var(--auth-text);
}

/* Login card — altura de referencia */
body.dashboardbackground .auth-left {
  height: auto;
  min-height: 0;
  overflow-y: visible;
}
/* News card — altura mínima igual al login card, máximo fijo.
   Scroll solo si el contenido realmente desborda (clase agregada por JS). */
body.dashboardbackground .auth-right {
  display: flex;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: hidden;
}
body.dashboardbackground .auth-right.auth-right--scrollable {
  overflow-y: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,103,173,0.20) transparent;
}

/* Thin custom scrollbar inside cards */
body.dashboardbackground .auth-left::-webkit-scrollbar,
body.dashboardbackground .auth-right.auth-right--scrollable::-webkit-scrollbar {
  width: 4px;
}
body.dashboardbackground .auth-left::-webkit-scrollbar-thumb,
body.dashboardbackground .auth-right.auth-right--scrollable::-webkit-scrollbar-thumb {
  background: rgba(0,103,173,0.20);
  border-radius: 999px;
}
body.dashboardbackground .auth-left::-webkit-scrollbar-track,
body.dashboardbackground .auth-right.auth-right--scrollable::-webkit-scrollbar-track {
  background: transparent;
}

/* Barra de accesos — ancho completo, altura natural */
body.dashboardbackground .auth-tiles-bar {
  height: auto;
  overflow-y: visible;
}
body.dashboardbackground .auth-tiles-bar .auth-quick {
  margin-top: 0;
}
body.dashboardbackground .auth-tiles-bar .auth-quick-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
body.dashboardbackground .auth-quick-item[data-type="tracking"] {
  border-top-color: #0f6bb4;
}
body.dashboardbackground .auth-quick-item[data-type="tracking"] .auth-quick-ico {
  background: rgba(15, 107, 180, 0.10);
  border-color: rgba(15, 107, 180, 0.20);
}
body.dashboardbackground .auth-quick-item[data-type="tracking"] .auth-quick-title {
  color: #0f6bb4;
}

/* ══════════════════════════════════════════════════════
   LEFT PANEL — LOGIN CARD
   ══════════════════════════════════════════════════════ */
body.dashboardbackground .auth-card-header {
  margin-bottom: 0.85rem;
}

body.dashboardbackground .auth-card-title {
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--auth-text);
  letter-spacing: -0.015em;
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

body.dashboardbackground .auth-card-subtitle {
  font-size: 0.88rem;
  color: var(--auth-muted);
  line-height: 1.55;
}

/* ── Mode switch — pill segmented control ── */
body.dashboardbackground .auth-mode-switch {
  display: flex;
  background: rgba(0,0,0,0.055);
  border-radius: var(--auth-radius-pill);
  padding: 4px;
  gap: 3px;
  margin: 0 0 1rem !important;
}

body.dashboardbackground .auth-mode-btn {
  flex: 1;
  border-radius: var(--auth-radius-pill) !important;
  border: none !important;
  background: transparent !important;
  color: var(--auth-muted) !important;
  font-size: 0.79rem !important;
  font-weight: 600 !important;
  padding: 7px 6px !important;
  line-height: 1 !important;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s !important;
  white-space: nowrap;
}
body.dashboardbackground .auth-mode-btn:hover {
  color: var(--auth-text) !important;
  background: rgba(255,255,255,0.55) !important;
}
body.dashboardbackground .auth-mode-btn.active {
  background: #ffffff !important;
  color: var(--auth-accent) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.10) !important;
}

/* ── Form fields ── */
body.dashboardbackground .auth-field {
  margin-bottom: 0.9rem;
}
body.dashboardbackground .auth-field-center {
  display: flex;
  justify-content: center;
}

body.dashboardbackground .auth-label {
  display: block;
  font-size: 0.81rem;
  font-weight: 700;
  color: var(--auth-text);
  margin-bottom: 0.38rem;
  letter-spacing: 0.01em;
}

body.dashboardbackground .auth-input {
  width: 100%;
  border-radius: var(--auth-radius-lg);
  border: 1.5px solid var(--auth-input-border);
  padding: 11px 14px;
  font-size: 0.88rem;
  background: var(--auth-input-bg);
  color: var(--auth-text);
  font-family: var(--font-ui);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  -webkit-appearance: none;
}
body.dashboardbackground .auth-input:focus {
  border-color: var(--auth-accent);
  box-shadow: 0 0 0 4px var(--auth-accent-ring);
}

body.dashboardbackground .auth-password-wrap {
  position: relative;
}

body.dashboardbackground .auth-input-password {
  padding-right: 46px;
}

body.dashboardbackground .auth-password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--auth-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

body.dashboardbackground .auth-password-toggle:hover {
  background: rgba(0, 103, 173, 0.08);
  color: var(--auth-accent);
}

body.dashboardbackground .auth-password-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--auth-accent-ring);
}

body.dashboardbackground .auth-password-toggle svg,
body.dashboardbackground .auth-password-toggle [data-lucide] {
  width: 18px;
  height: 18px;
  pointer-events: none;
}

body.dashboardbackground .auth-hint {
  margin-top: 5px;
  font-size: 0.79rem;
  color: var(--auth-muted);
  line-height: 1.4;
}

/* ── Action row ── */
body.dashboardbackground .auth-actions {
  display: flex;
  justify-content: stretch;
}
body.dashboardbackground .auth-actions > div {
  width: 100%;
}

body.dashboardbackground .auth-btn {
  width: 100%;
  border-radius: var(--auth-radius-md) !important;
  padding: 11px 20px !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
  letter-spacing: 0.01em !important;
  position: relative;
}
body.dashboardbackground .auth-btn.btn-primary,
body.dashboardbackground input.btn-primary.auth-btn,
body.dashboardbackground .auth-btn.dd-btn--primary,
body.dashboardbackground input.dd-btn--primary.auth-btn {
  background-color: #0067ad !important;
  border-color: #0067ad !important;
  color: #fff !important;
}
body.dashboardbackground .auth-btn.btn-outline-primary,
body.dashboardbackground .auth-btn.dd-btn--outline-primary {
  color: #0067ad !important;
  border-color: #0067ad !important;
}
body.dashboardbackground .auth-btn.btn-outline-primary:hover,
body.dashboardbackground .auth-btn.dd-btn--outline-primary:hover {
  background-color: #0067ad !important;
  color: #fff !important;
}
body.dashboardbackground .auth-btn.btn-primary:hover,
body.dashboardbackground .auth-btn.dd-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--auth-shadow-btn) !important;
}
body.dashboardbackground .auth-btn.btn-primary:active,
body.dashboardbackground .auth-btn.btn-outline-primary:active,
body.dashboardbackground .auth-btn.dd-btn--primary:active,
body.dashboardbackground .auth-btn.dd-btn--outline-primary:active {
  transform: translateY(0);
}
body.dashboardbackground .auth-btn.btn-outline-primary:hover,
body.dashboardbackground .auth-btn.dd-btn--outline-primary:hover {
  transform: translateY(-1px);
}
body.dashboardbackground .auth-btn:disabled,
body.dashboardbackground .auth-btn.auth-btn--pending {
  cursor: wait;
  opacity: 0.92;
  transform: none !important;
  box-shadow: none !important;
}
body.dashboardbackground input.auth-btn.auth-btn--pending {
  background-image: linear-gradient(90deg, rgba(255,255,255,0.12), rgba(255,255,255,0.24), rgba(255,255,255,0.12));
  background-size: 220% 100%;
  animation: authBtnPendingSweep 1.2s linear infinite;
}
body.dashboardbackground button.auth-btn.auth-btn--pending {
  color: transparent !important;
}
body.dashboardbackground button.auth-btn.auth-btn--pending::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(50% - 58px);
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.38);
  border-top-color: rgba(255,255,255,0.96);
  animation: authBtnPendingSpin 0.8s linear infinite;
}
body.dashboardbackground button.auth-btn.auth-btn--pending::after {
  content: attr(data-pending-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
}
body.dashboardbackground .auth-btn.dd-btn--outline-primary.auth-btn--pending,
body.dashboardbackground .auth-btn.dd-btn--outline-secondary.auth-btn--pending,
body.dashboardbackground .auth-social-btn.auth-btn--pending {
  background: rgba(0,103,173,0.12) !important;
  border-color: rgba(0,103,173,0.28) !important;
}
body.dashboardbackground .auth-btn.dd-btn--outline-primary.auth-btn--pending::before,
body.dashboardbackground .auth-btn.dd-btn--outline-secondary.auth-btn--pending::before,
body.dashboardbackground .auth-social-btn.auth-btn--pending::before {
  border-color: rgba(0,103,173,0.2);
  border-top-color: #0067ad;
}
body.dashboardbackground .auth-btn.dd-btn--outline-primary.auth-btn--pending::after,
body.dashboardbackground .auth-btn.dd-btn--outline-secondary.auth-btn--pending::after,
body.dashboardbackground .auth-social-btn.auth-btn--pending::after {
  color: #0067ad;
}

@keyframes authBtnPendingSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes authBtnPendingSweep {
  0% {
    background-position: 0% 0;
  }
  100% {
    background-position: 220% 0;
  }
}

/* ══════════════════════════════════════════════════════
   RIGHT PANEL — NEWS & INFO
   ══════════════════════════════════════════════════════ */
body.dashboardbackground .auth-news-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

body.dashboardbackground .auth-news-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--auth-text);
  letter-spacing: -0.01em;
}

body.dashboardbackground .auth-news-version {
  display: grid;
  gap: 1px;
  justify-items: end;
  color: var(--auth-muted);
  font-size: 0.68rem;
  line-height: 1.15;
  white-space: nowrap;
}

body.dashboardbackground .auth-news-version span {
  font-weight: 600;
}

body.dashboardbackground .auth-news-version strong {
  color: var(--auth-accent);
  font-size: 0.72rem;
  font-weight: 750;
}

/* Featured news block */
body.dashboardbackground .auth-news-feature {
  padding: 1rem 1.15rem;
  border-radius: var(--auth-radius-lg);
  background: linear-gradient(135deg, rgba(255,255,255,0.92), color-mix(in srgb, var(--auth-accent) 7%, #fff));
  border: 1px solid color-mix(in srgb, var(--auth-accent) 15%, var(--auth-border));
  box-shadow: 0 12px 28px -24px rgba(15,23,42,0.28);
  margin-bottom: 0.85rem;
}

body.dashboardbackground .auth-news-feature-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--auth-accent);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.42rem;
}

body.dashboardbackground .auth-news-feature-title {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--auth-text);
  margin-bottom: 0.42rem;
  line-height: 1.3;
}

body.dashboardbackground .auth-news-feature-desc {
  font-size: 0.875rem;
  color: var(--auth-muted);
  line-height: 1.5;
}

/* Extra news list */
body.dashboardbackground .auth-news {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  height: 100%;
}

body.dashboardbackground .auth-news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1 1 auto;
  min-height: 0;
  max-height: clamp(150px, 24dvh, 255px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  margin-right: -6px;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--auth-accent) 28%, transparent) transparent;
}

body.dashboardbackground .auth-news-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 8px;
  padding: 8px 0;
  font-size: 0.86rem;
  color: var(--auth-text);
  opacity: 0.88;
  line-height: 1.35;
  border-bottom: 1px solid color-mix(in srgb, var(--auth-border) 72%, transparent);
}

body.dashboardbackground .auth-news-item:last-child {
  border-bottom: 0;
}

body.dashboardbackground .auth-news-item i,
body.dashboardbackground .auth-news-item svg {
  width: 12px;
  height: 12px;
  margin-top: 3px;
  color: var(--auth-accent);
  opacity: 0.7;
  flex-shrink: 0;
}

body.dashboardbackground .auth-news-item span {
  min-width: 0;
}

body.dashboardbackground .auth-news-list::-webkit-scrollbar {
  width: 4px;
}

body.dashboardbackground .auth-news-list::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--auth-accent) 28%, transparent);
  border-radius: 999px;
}

body.dashboardbackground .auth-news-list::-webkit-scrollbar-track {
  background: transparent;
}

/* ══════════════════════════════════════════════════════
   QUICK ACTION TILES
   ══════════════════════════════════════════════════════ */
body.dashboardbackground .auth-quick {
  margin-top: 1rem;
}

body.dashboardbackground .auth-section-head {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  margin-bottom: 0.95rem;
}

body.dashboardbackground .auth-section-head--tight {
  margin-bottom: 0.8rem;
}

body.dashboardbackground .auth-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--auth-text);
  letter-spacing: -0.01em;
}

body.dashboardbackground .auth-section-sub {
  font-size: 0.79rem;
  color: var(--auth-muted);
  line-height: 1.45;
}

body.dashboardbackground .auth-quick-grid {
  display: grid;
  gap: 10px;
}

body.dashboardbackground .auth-quick-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border-radius: var(--auth-radius-lg);
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--auth-border);
  box-shadow: 0 2px 10px -5px rgba(15,23,42,0.08);
  color: var(--auth-text);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.15s ease, border-color 0.15s ease;
}

body.dashboardbackground .auth-quick-ico {
  width: 40px;
  height: 40px;
  border-radius: 0.75rem;
  background: var(--auth-tint);
  border: 1px solid rgba(0,103,173,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
body.dashboardbackground .auth-quick-ico i {
  font-size: 15px;
  color: var(--auth-accent);
}

body.dashboardbackground .auth-quick-txt {
  min-width: 0;
}

body.dashboardbackground .auth-quick-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--auth-text);
  line-height: 1.2;
}

body.dashboardbackground .auth-quick-sub {
  font-size: 0.78rem;
  color: var(--auth-muted);
  line-height: 1.3;
  margin-top: 2px;
}

/* Clickable variant */
body.dashboardbackground .auth-quick-click {
  cursor: pointer;
}
body.dashboardbackground .auth-quick-click:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(15,23,42,0.16);
  background: rgba(255,255,255,0.94);
  border-color: rgba(0,103,173,0.18);
}
body.dashboardbackground .auth-quick-click:active {
  transform: translateY(0);
}
body.dashboardbackground .auth-quick-click:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--auth-accent-ring), 0 10px 24px -10px rgba(15,23,42,0.14);
}

/* Identidad de color por tipo de quick item */
body.dashboardbackground .auth-quick-item[data-type] {
  border-top-width: 3px;
  border-top-style: solid;
}
body.dashboardbackground .auth-quick-item[data-type="support"] {
  border-top-color: #0067ad;
}
body.dashboardbackground .auth-quick-item[data-type="support"] .auth-quick-ico {
  background: rgba(0, 103, 173, 0.08);
  border-color: rgba(0, 103, 173, 0.18);
}
body.dashboardbackground .auth-quick-item[data-type="support"] .auth-quick-ico i { color: #0067ad; }
body.dashboardbackground .auth-quick-item[data-type="support"] .auth-quick-title { color: #0067ad; }

body.dashboardbackground .auth-quick-item[data-type="virtual-filing"] {
  border-top-color: #0284c7;
}
body.dashboardbackground .auth-quick-item[data-type="virtual-filing"] .auth-quick-ico {
  background: rgba(2, 132, 199, 0.10);
  border-color: rgba(2, 132, 199, 0.22);
}
body.dashboardbackground .auth-quick-item[data-type="virtual-filing"] .auth-quick-title { color: #0369a1; }

body.dashboardbackground .auth-quick-item[data-type="signature"] {
  border-top-color: #b45309;
}
body.dashboardbackground .auth-quick-item[data-type="signature"] .auth-quick-ico {
  background: rgba(180, 83, 9, 0.08);
  border-color: rgba(180, 83, 9, 0.18);
}
body.dashboardbackground .auth-quick-item[data-type="signature"] .auth-quick-ico i { color: #b45309; }
body.dashboardbackground .auth-quick-item[data-type="signature"] .auth-quick-title { color: #b45309; }

body.dashboardbackground .auth-quick-item[data-type="document"] {
  border-top-color: #047857;
}
body.dashboardbackground .auth-quick-item[data-type="document"] .auth-quick-ico {
  background: rgba(4, 120, 87, 0.08);
  border-color: rgba(4, 120, 87, 0.18);
}
body.dashboardbackground .auth-quick-item[data-type="document"] .auth-quick-ico i { color: #047857; }
body.dashboardbackground .auth-quick-item[data-type="document"] .auth-quick-title { color: #047857; }

body.dashboardbackground .auth-quick-item[data-type="notification"] {
  border-top-color: #4c1d95;
}
body.dashboardbackground .auth-quick-item[data-type="notification"] .auth-quick-ico {
  background: rgba(76, 29, 149, 0.08);
  border-color: rgba(76, 29, 149, 0.18);
}
body.dashboardbackground .auth-quick-item[data-type="notification"] .auth-quick-ico i { color: #4c1d95; }
body.dashboardbackground .auth-quick-item[data-type="notification"] .auth-quick-title { color: #4c1d95; }

/* Desktop: 2-column tile grid */
@media (min-width: 992px) {
  body.dashboardbackground .auth-quick-grid {
    grid-template-columns: 1fr 1fr;
  }
  /* Mini-btn inside tile variant */
  body.dashboardbackground .auth-quick-item:has(.auth-mini-btn) {
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
    align-items: start;
  }
  body.dashboardbackground .auth-quick-item:has(.auth-mini-btn) .auth-mini-btn {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 8px;
  }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 991px) {
  body.dashboardbackground .auth-split {
    grid-template-columns: 1fr;
  }
  body.dashboardbackground .auth-topbar-actions {
    gap: 0.4rem;
  }
  body.dashboardbackground .auth-topbar-locale-btn {
    padding: 6px 10px;
    min-width: 58px;
    justify-content: center;
  }
  body.dashboardbackground .auth-topbar-locale-menu {
    right: 0;
    min-width: 86px;
  }
  /* Altura automática en tablet */
  body.dashboardbackground .auth-left,
  body.dashboardbackground .auth-right {
    height: auto;
    overflow-y: visible;
  }
  body.dashboardbackground .auth-tiles-bar .auth-quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small phone */
@media (max-width: 575px) {
  body.dashboardbackground .auth-card-header {
    margin-bottom: 0.65rem;
  }
  body.dashboardbackground .auth-mode-switch {
    flex-direction: column;
    border-radius: var(--auth-radius-lg);
    padding: 5px;
    margin-bottom: 0.85rem !important;
  }
  body.dashboardbackground .auth-mode-btn {
    border-radius: var(--auth-radius-md) !important;
    padding: 8px 10px !important;
  }
  body.dashboardbackground .auth-quick-grid {
    grid-template-columns: 1fr;
  }
}

/* Phone */
@media (max-width: 480px) {
  body.dashboardbackground.auth-page { padding-top: 56px; }
  body.dashboardbackground .auth-topbar-inner { height: 56px; padding: 0 14px; }
  body.dashboardbackground .auth-logo { height: 32px; width: 32px; }
  body.dashboardbackground .auth-brand-title { font-size: 1rem; }
  body.dashboardbackground .auth-topbar-web { padding: 4px 10px; font-size: 0.72rem; }
  body.dashboardbackground .auth-topbar-locale-btn { padding: 4px 9px; font-size: 0.74rem; min-width: 52px; }
  body.dashboardbackground .auth-topbar-locale-menu { top: calc(100% + 6px); min-width: 80px; }
  body.dashboardbackground .auth-topbar-locale-option { padding: 6px 8px; font-size: 0.74rem; }
  body.dashboardbackground .auth-left,
  body.dashboardbackground .auth-right { border-radius: 1rem; }
  body.dashboardbackground .auth-tiles-bar .auth-quick-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════
   GUÍAS RÁPIDAS
   ══════════════════════════════════════════════════════ */

/* Contenedor outer — misma card glass que los otros paneles */
body.dashboardbackground .auth-guides-bar {
  background: var(--auth-glass);
  border: 1px solid var(--auth-glass-border);
  border-radius: var(--auth-radius-xl);
  box-shadow: var(--auth-shadow-panel);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: var(--auth-panel-pad);
  color: var(--auth-text);
}

/* Grid de 3 columnas */
body.dashboardbackground .auth-guides {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

/* Cada card-guía */
body.dashboardbackground .auth-guide-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--auth-tint);
  border: 1px solid rgba(0,103,173,0.13);
  border-radius: var(--auth-radius-lg);
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  width: 100%;
  text-decoration: none;
  color: var(--auth-text);
}
body.dashboardbackground .auth-guide-card:hover {
  background: linear-gradient(135deg, rgba(0,103,173,0.12) 0%, rgba(65,223,255,0.07) 100%);
  border-color: rgba(0,103,173,0.28);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -10px rgba(15,23,42,0.16);
}
body.dashboardbackground .auth-guide-card:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Icono */
body.dashboardbackground .auth-guide-ico {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: var(--auth-radius-md);
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(0,103,173,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--auth-accent);
}

/* Bloque de texto central */
body.dashboardbackground .auth-guide-body {
  flex: 1;
  min-width: 0;
}
body.dashboardbackground .auth-guide-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--auth-text);
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.dashboardbackground .auth-guide-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
body.dashboardbackground .auth-guide-bullets li {
  font-size: 0.775rem;
  color: var(--auth-muted);
  padding-left: 0.85rem;
  position: relative;
}
body.dashboardbackground .auth-guide-bullets li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--auth-accent);
  font-size: 1rem;
  line-height: 1;
  top: -1px;
}

/* Chevron derecho */
body.dashboardbackground .auth-guide-arrow {
  flex-shrink: 0;
  font-size: 0.7rem;
  color: rgba(0,103,173,0.45);
  transition: transform 0.18s ease, color 0.18s ease;
}
body.dashboardbackground .auth-guide-card:hover .auth-guide-arrow {
  transform: translateX(3px);
  color: var(--auth-accent);
}

/* ── Modales de guías ── */
body.dashboardbackground .auth-guide-modal-content,
.auth-guide-modal .modal-content {
  border-radius: var(--auth-radius-xl);
  border: 1px solid var(--auth-glass-border);
  background: linear-gradient(160deg, rgba(255,255,255,0.97) 0%, rgba(248,251,255,0.97) 100%);
  box-shadow: 0 32px 80px -24px rgba(15,23,42,0.28);
  overflow: hidden;
}
.auth-guide-modal .modal-header {
  border-bottom: 1px solid rgba(0,103,173,0.10);
  padding: 1.1rem 1.4rem;
  background: linear-gradient(90deg, rgba(0,103,173,0.06) 0%, rgba(65,223,255,0.03) 100%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
/* Variantes de color para modal genérico de alertas */
.auth-guide-modal .modal-header.auth-modal-err {
  background: linear-gradient(90deg, rgba(180,35,24,0.08) 0%, rgba(180,35,24,0.03) 100%);
  border-bottom-color: rgba(180,35,24,0.15);
}
.auth-guide-modal .modal-header.auth-modal-err .auth-guide-modal-ico {
  background: rgba(180,35,24,0.10);
  border-color: rgba(180,35,24,0.20);
  color: #b42318;
}
.auth-guide-modal .modal-header.auth-modal-ok {
  background: linear-gradient(90deg, rgba(21,128,61,0.08) 0%, rgba(21,128,61,0.03) 100%);
  border-bottom-color: rgba(21,128,61,0.15);
}
.auth-guide-modal .modal-header.auth-modal-ok .auth-guide-modal-ico {
  background: rgba(21,128,61,0.10);
  border-color: rgba(21,128,61,0.20);
  color: #15803d;
}
.auth-guide-modal .modal-header.auth-modal-info {
  background: linear-gradient(90deg, rgba(3,105,161,0.08) 0%, rgba(3,105,161,0.03) 100%);
  border-bottom-color: rgba(3,105,161,0.15);
}
.auth-guide-modal .modal-header.auth-modal-info .auth-guide-modal-ico {
  background: rgba(3,105,161,0.10);
  border-color: rgba(3,105,161,0.20);
  color: #0369a1;
}
.auth-guide-modal .modal-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--auth-text);
  flex: 1;
  margin: 0;
}
.auth-guide-modal-ico {
  width: 36px;
  height: 36px;
  border-radius: var(--auth-radius-md);
  background: rgba(0,103,173,0.10);
  border: 1px solid rgba(0,103,173,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--auth-accent);
  flex-shrink: 0;
}
.auth-guide-modal .modal-body {
  padding: 1.25rem 1.4rem calc(1.5rem + var(--dd-taskbar-h) + 0.5rem);
}
.auth-guide-modal-lead {
  font-size: 0.825rem;
  color: var(--auth-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.auth-guide-step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  color: var(--auth-text);
  line-height: 1.45;
}
.auth-guide-step:last-child { margin-bottom: 0; }
.auth-guide-step-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--auth-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* Responsive: 1 columna en tablet/móvil */
@media (max-width: 991px) {
  body.dashboardbackground .auth-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  body.dashboardbackground .auth-guides { grid-template-columns: 1fr; }
  body.dashboardbackground .auth-guide-card { padding: 0.875rem 1rem; }
  body.dashboardbackground .auth-guide-title { white-space: normal; }
}

/* ══════════════════════════════════════════════════════
   CENTRO DE CONFIANZA
   ══════════════════════════════════════════════════════ */

/* Panel contenedor — misma card glass */
body.dashboardbackground .auth-trust-bar {
  background: var(--auth-glass);
  border: 1px solid var(--auth-glass-border);
  border-radius: var(--auth-radius-xl);
  box-shadow: var(--auth-shadow-panel);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--auth-text);
  overflow: hidden;
  padding: 0;
}

/* ── tc-wrap: layout interno ── */
body.dashboardbackground .tc-wrap {
  display: flex;
  flex-direction: column;
}

/* ── Banner de estado ── */
body.dashboardbackground .tc-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem var(--auth-panel-pad);
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
body.dashboardbackground .tc-banner-ico { font-size: 1rem; flex-shrink: 0; }
body.dashboardbackground .tc-banner-text { flex: 1; }
body.dashboardbackground .tc-banner-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.55;
  flex-shrink: 0;
}
/* status colors */
body.dashboardbackground .tc-ok   { background: rgba(21,128,61,0.09);  color: #15803d; border-bottom-color: rgba(21,128,61,0.15); }
body.dashboardbackground .tc-warn { background: rgba(180,83,9,0.09);   color: #b45309; border-bottom-color: rgba(180,83,9,0.15); }
body.dashboardbackground .tc-err  { background: rgba(180,35,24,0.09);  color: #b42318; border-bottom-color: rgba(180,35,24,0.15); }
body.dashboardbackground .tc-mnt  { background: rgba(3,105,161,0.09);  color: #0369a1; border-bottom-color: rgba(3,105,161,0.15); }

/* ── Uptime bars ── */
body.dashboardbackground .tc-uptime {
  padding: 1.1rem var(--auth-panel-pad) 0.9rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
body.dashboardbackground .tc-uptime-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}
body.dashboardbackground .tc-uptime-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--auth-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
body.dashboardbackground .tc-uptime-pct {
  font-size: 0.85rem;
  font-weight: 700;
  color: #15803d;
}
body.dashboardbackground .tc-uptime-bars {
  display: flex;
  gap: 3px;
  height: 28px;
}
body.dashboardbackground .tc-bar {
  flex: 1;
  border-radius: 3px;
  transition: opacity 0.15s ease, transform 0.15s ease;
  cursor: default;
}
body.dashboardbackground .tc-bar:hover { opacity: 0.75; transform: scaleY(1.08); }
body.dashboardbackground .tc-bar-ok   { background: #86efac; }
body.dashboardbackground .tc-bar-warn { background: #fcd34d; }
body.dashboardbackground .tc-bar-err  { background: #fca5a5; }
body.dashboardbackground .tc-bar-mnt  { background: #93c5fd; }
body.dashboardbackground .tc-uptime-dates {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--auth-muted);
  margin-top: 0.35rem;
  opacity: 0.7;
}

/* ── Dos columnas ── */
body.dashboardbackground .tc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
body.dashboardbackground .tc-col {
  padding: 1.1rem var(--auth-panel-pad);
}
body.dashboardbackground .tc-col:first-child {
  border-right: 1px solid rgba(0,0,0,0.05);
}
body.dashboardbackground .tc-col-head {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--auth-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ── Estado vacío ── */
body.dashboardbackground .tc-empty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: #15803d;
  background: rgba(21,128,61,0.07);
  border: 1px solid rgba(21,128,61,0.15);
  border-radius: var(--auth-radius-md);
  padding: 0.65rem 1rem;
}

/* ── Cards de incidente / mantenimiento ── */
body.dashboardbackground .tc-card {
  border-radius: var(--auth-radius-md);
  border: 1px solid transparent;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.6rem;
  font-size: 0.82rem;
}
body.dashboardbackground .tc-card:last-child { margin-bottom: 0; }
body.dashboardbackground .tc-card-err  { background: rgba(180,35,24,0.07);  border-color: rgba(180,35,24,0.20); }
body.dashboardbackground .tc-card-warn { background: rgba(180,83,9,0.07);   border-color: rgba(180,83,9,0.20); }
body.dashboardbackground .tc-card-mnt  { background: rgba(3,105,161,0.07);  border-color: rgba(3,105,161,0.20); }

body.dashboardbackground .tc-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
body.dashboardbackground .tc-card-title {
  font-weight: 600;
  font-size: 0.83rem;
  color: var(--auth-text);
  margin-bottom: 0.25rem;
}
body.dashboardbackground .tc-card-desc {
  font-size: 0.78rem;
  color: var(--auth-muted);
  line-height: 1.45;
  margin-bottom: 0.3rem;
}
body.dashboardbackground .tc-card-timerange {
  font-size: 0.73rem;
  color: var(--auth-muted);
  margin-top: 0.35rem;
  opacity: 0.8;
}
body.dashboardbackground .tc-card-full {
  font-size: 0.78rem;
  color: var(--auth-muted);
  line-height: 1.5;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(0,0,0,0.07);
  margin-top: 0.3rem;
}
body.dashboardbackground .tc-card-more {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.73rem;
  color: var(--auth-accent);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.25rem;
}
body.dashboardbackground .tc-card-more:hover { opacity: 0.75; }
body.dashboardbackground .tc-card-more .tc-toggle-icon {
  transition: transform 0.2s ease;
}
body.dashboardbackground .tc-card-more[aria-expanded="true"] .tc-toggle-icon {
  transform: rotate(180deg);
}

/* ── Badges de categoría ── */
body.dashboardbackground .tc-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--auth-radius-pill);
}
body.dashboardbackground .tc-badge-err    { background: rgba(180,35,24,0.12);  color: #b42318; }
body.dashboardbackground .tc-badge-warn   { background: rgba(180,83,9,0.12);   color: #b45309; }
body.dashboardbackground .tc-badge-active { background: rgba(3,105,161,0.12);  color: #0369a1; }
body.dashboardbackground .tc-badge-sch    { background: rgba(100,116,139,0.12); color: #475569; }

body.dashboardbackground .tc-card-time {
  font-size: 0.7rem;
  color: var(--auth-muted);
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ── Histórico ── */
body.dashboardbackground .tc-history {
  padding: 0 var(--auth-panel-pad);
}
body.dashboardbackground .tc-history-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  border-top: 1px solid rgba(0,0,0,0.05);
  padding: 0.75rem 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--auth-muted);
  cursor: pointer;
  text-align: left;
  transition: color 0.15s ease;
}
body.dashboardbackground .tc-history-toggle:hover { color: var(--auth-text); }
body.dashboardbackground .tc-history-toggle .tc-toggle-icon { transition: transform 0.2s ease; }
body.dashboardbackground .tc-history-toggle[aria-expanded="true"] .tc-toggle-icon { transform: rotate(180deg); }

body.dashboardbackground .tc-history-list {
  padding-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
body.dashboardbackground .tc-history-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.8rem;
}
body.dashboardbackground .tc-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 4px;
}
body.dashboardbackground .tc-dot-ok   { background: #16a34a; }
body.dashboardbackground .tc-dot-warn { background: #d97706; }
body.dashboardbackground .tc-dot-err  { background: #dc2626; }
body.dashboardbackground .tc-dot-mnt  { background: #0369a1; }
body.dashboardbackground .tc-history-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
body.dashboardbackground .tc-history-title {
  font-weight: 600;
  color: var(--auth-text);
  line-height: 1.3;
}
body.dashboardbackground .tc-history-meta {
  font-size: 0.72rem;
  color: var(--auth-muted);
}

/* Responsive */
@media (max-width: 991px) {
  body.dashboardbackground .tc-grid { grid-template-columns: 1fr; }
  body.dashboardbackground .tc-col:first-child { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.05); }
}

/* ══════════════════════════════════════════════════════
   LEGACY COMPATIBILITY
   ══════════════════════════════════════════════════════ */
.socialloginIcon { text-decoration: none; width: 24px; }
.olvidopass      { text-decoration: none; font-size: 14px; }

/* Login social + remember me (Auth cutover 2026-03-05) */
body.dashboardbackground .auth-field-check {
  margin-top: -0.2rem;
}
body.dashboardbackground .auth-check-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  color: var(--auth-muted);
  cursor: pointer;
  user-select: none;
}
body.dashboardbackground .auth-check-wrap input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--auth-accent);
}
body.dashboardbackground .auth-social-block {
  margin-top: 0.8rem;
}
body.dashboardbackground .auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--auth-muted);
  font-size: 0.78rem;
  margin: 0.4rem 0 0.7rem 0;
}
body.dashboardbackground .auth-divider::before,
body.dashboardbackground .auth-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--auth-border-mid);
}
body.dashboardbackground .auth-divider span {
  padding: 0 0.75rem;
}
body.dashboardbackground .auth-social-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}
body.dashboardbackground .auth-social-buttons--single {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}
body.dashboardbackground .auth-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid var(--auth-border-mid);
  background: rgba(255,255,255,0.8);
  border-radius: 12px;
  color: var(--auth-text);
  font-size: 0.85rem;
  font-weight: 600;
  min-height: 42px;
  transition: all .18s ease;
}
body.dashboardbackground .auth-social-buttons--single .auth-social-btn {
  width: min(100%, 240px);
}
body.dashboardbackground .auth-social-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(0,103,173,0.35);
  box-shadow: 0 6px 14px -9px rgba(0,0,0,0.3);
}
body.dashboardbackground .auth-social-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
body.dashboardbackground .auth-social-btn img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}
body.dashboardbackground .auth-social-hint {
  margin-top: 0.5rem;
  font-size: 0.74rem;
  color: var(--auth-muted);
}
@media (max-width: 575px) {
  body.dashboardbackground .auth-social-buttons {
    grid-template-columns: 1fr;
  }
}

/* Token aliases for shared components used in login context */
.auth-left .coreComponentCard,
.auth-right .coreComponentCard,
.auth-news,
.auth-card {
  color: var(--auth-text, #111827);
}
.auth-card-subtitle,
.auth-news-feature-desc,
.auth-quick-sub {
  color: var(--auth-muted, #4b5563);
}

/* ══════════════════════════════════════════════════════
   AUTH 2027 — Rediseño alineado con deltadesk.co
   Hero con imagen ambiente IA + card, bento de accesos
   públicos, banda PanelIQ para pantallas y footer.
   ══════════════════════════════════════════════════════ */

/* ── Hero ── */
body.dashboardbackground .auth-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  align-items: stretch;
  margin-bottom: 0;
}
body.dashboardbackground .auth-hero-intro {
  position: relative;
  overflow: hidden;
  border-radius: var(--auth-radius-xl);
  background: var(--auth-dark, #07091c);
  display: flex;
  align-items: flex-end;
  box-shadow: var(--auth-shadow-panel);
}
/* Slot de imagen IA de ambiente; si falta, queda el gradiente */
body.dashboardbackground .auth-hero-media {
  position: absolute;
  inset: 0;
  background-image: url("../coreImg/auth/hero-access.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.55;
}
body.dashboardbackground .auth-hero-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(60% 50% at 82% 0%,  rgba(125,211,252,0.16) 0, transparent 60%),
    radial-gradient(50% 45% at 8% 92%,  rgba(15,118,110,0.26)  0, transparent 65%),
    linear-gradient(180deg, rgba(7,9,28,0.28) 0%, rgba(7,9,28,0.76) 62%, rgba(7,9,28,0.94) 100%);
  pointer-events: none;
}
body.dashboardbackground .auth-hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  display: grid;
  gap: 0.95rem;
}
body.dashboardbackground .auth-hero-kicker {
  color: var(--auth-sky, #7dd3fc);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}
body.dashboardbackground .auth-hero-title {
  margin: 0;
  font-size: clamp(1.7rem, 2.6vw, 2.45rem);
  line-height: 1.08;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.01em;
}
body.dashboardbackground .auth-hero-sub {
  margin: 0;
  color: #cbd5e1;
  max-width: 48ch;
  line-height: 1.55;
}
body.dashboardbackground .auth-hero-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
body.dashboardbackground .auth-hero-points li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #e2e8f0;
  font-size: 0.92rem;
}
body.dashboardbackground .auth-hero-points li i,
body.dashboardbackground .auth-hero-points li svg {
  width: 18px;
  height: 18px;
  color: #2dd4bf;
  flex: none;
}
body.dashboardbackground .auth-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
body.dashboardbackground .auth-hero-chip {
  border: 1px solid rgba(148,163,184,0.35);
  border-radius: var(--auth-radius-pill);
  padding: 0.3rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
body.dashboardbackground .auth-hero-card {
  display: block;
  min-width: 0;
}

/* ── Barra de novedades (news pasa de columna a banda) ── */
body.dashboardbackground .auth-news-bar {
  margin-bottom: 0;
}
@media (min-width: 992px) {
  body.dashboardbackground .auth-news-bar .auth-news-feature {
    max-width: 72ch;
  }
}

/* ── Bento de accesos públicos ── */
body.dashboardbackground .auth-section-kicker {
  color: var(--auth-teal, #0f766e);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
body.dashboardbackground .auth-quick-bento {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 0.9rem;
}
body.dashboardbackground .auth-quick-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem 1.15rem;
  background: #ffffff;
  border: 1px solid var(--auth-border);
  border-radius: var(--auth-radius-lg);
  box-shadow: var(--auth-shadow-card);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
  min-width: 0;
}
body.dashboardbackground .auth-quick-card:hover,
body.dashboardbackground .auth-quick-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--auth-shadow-raise);
  border-color: rgba(30,64,175,0.35);
  outline: none;
}
body.dashboardbackground .auth-quick-card:focus-visible {
  box-shadow: 0 0 0 3px var(--auth-accent-ring), var(--auth-shadow-raise);
}
body.dashboardbackground .auth-quick-card--feature {
  grid-row: span 2;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.7rem;
  background:
    radial-gradient(70% 55% at 90% 0%, rgba(125,211,252,0.14) 0, transparent 60%),
    linear-gradient(160deg, #1e40af 0%, #172d80 55%, #0f1d56 100%);
  border-color: rgba(30,64,175,0.5);
}
body.dashboardbackground .auth-quick-card--feature .auth-quick-card-title { color: #f8fafc; font-size: 1.15rem; }
body.dashboardbackground .auth-quick-card--feature .auth-quick-card-sub   { color: #c7d2fe; }
body.dashboardbackground .auth-quick-card--feature .auth-quick-card-ico   {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  border-color: rgba(255,255,255,0.22);
}
body.dashboardbackground .auth-quick-card--feature .auth-quick-card-arrow { color: #a5c8ff; }
body.dashboardbackground .auth-quick-card-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  border: 1px solid var(--auth-border);
  background: var(--auth-tint);
  color: var(--auth-accent);
}
body.dashboardbackground .auth-quick-card-ico svg,
body.dashboardbackground .auth-quick-card-ico i {
  width: 21px;
  height: 21px;
}
body.dashboardbackground .auth-quick-card-txt { min-width: 0; }
body.dashboardbackground .auth-quick-card-title {
  font-weight: 700;
  color: var(--auth-text);
  font-size: 0.95rem;
  line-height: 1.25;
}
body.dashboardbackground .auth-quick-card-sub {
  color: var(--auth-muted);
  font-size: 0.82rem;
  line-height: 1.4;
  margin-top: 0.15rem;
}
body.dashboardbackground .auth-quick-card-arrow {
  margin-left: auto;
  align-self: center;
  color: var(--auth-accent);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}
body.dashboardbackground .auth-quick-card:hover .auth-quick-card-arrow,
body.dashboardbackground .auth-quick-card:focus-visible .auth-quick-card-arrow {
  opacity: 1;
  transform: translateX(0);
}
body.dashboardbackground .auth-quick-card-arrow svg,
body.dashboardbackground .auth-quick-card-arrow i {
  width: 18px;
  height: 18px;
}

/* ── Banda PanelIQ: acceso de televisores sin sesión ── */
body.dashboardbackground .auth-screens-bar {
  margin-top: 0;
}
body.dashboardbackground .auth-tvband {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: clamp(1.25rem, 2.6vw, 2rem);
  border-radius: var(--auth-radius-xl);
  background: var(--auth-dark, #07091c);
  color: #e2e8f0;
  box-shadow: var(--auth-shadow-panel);
}
body.dashboardbackground .auth-tvband-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(55% 90% at 92% 10%, rgba(125,211,252,0.15) 0, transparent 60%),
    radial-gradient(45% 80% at 4% 100%, rgba(15,118,110,0.28) 0, transparent 62%);
}
body.dashboardbackground .auth-tvband-ico {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: none;
  border-radius: 16px;
  border: 1px solid rgba(125,211,252,0.35);
  background: rgba(125,211,252,0.09);
  color: var(--auth-sky, #7dd3fc);
}
body.dashboardbackground .auth-tvband-ico svg,
body.dashboardbackground .auth-tvband-ico i {
  width: 28px;
  height: 28px;
}
body.dashboardbackground .auth-tvband-txt {
  position: relative;
  min-width: 0;
  flex: 1;
}
body.dashboardbackground .auth-tvband-kicker {
  color: var(--auth-sky, #7dd3fc);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
}
body.dashboardbackground .auth-tvband-title {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 800;
  color: #f8fafc;
  margin: 0.2rem 0;
}
body.dashboardbackground .auth-tvband-sub {
  color: #a7b0c0;
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 72ch;
}
body.dashboardbackground .auth-tvband-actions { position: relative; flex: none; }
body.dashboardbackground .auth-tvband-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--auth-radius-pill);
  border: 1px solid rgba(125, 211, 252, 0.36);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(226,242,255,0.90) 100%);
  color: #0f3f86;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 14px 34px -18px rgba(125,211,252,0.48), 0 1px 0 rgba(255,255,255,0.42) inset;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}
body.dashboardbackground .auth-tvband-btn:hover,
body.dashboardbackground .auth-tvband-btn:focus-visible {
  transform: translateY(-2px);
  color: #0b2e67;
  background:
    linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  box-shadow: 0 18px 38px -18px rgba(125,211,252,0.62), 0 1px 0 rgba(255,255,255,0.56) inset;
  text-decoration: none;
  outline: none;
}
body.dashboardbackground .auth-tvband-btn svg,
body.dashboardbackground .auth-tvband-btn i {
  width: 17px;
  height: 17px;
}

/* ── Footer mínimo ── */
body.dashboardbackground .auth-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 2.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--auth-border);
  color: var(--auth-muted);
  font-size: 0.82rem;
}
body.dashboardbackground .auth-footer-links {
  display: flex;
  gap: 1.1rem;
}
body.dashboardbackground .auth-footer-links a {
  color: var(--auth-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
body.dashboardbackground .auth-footer-links a:hover {
  color: var(--auth-accent);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  body.dashboardbackground .auth-quick-bento {
    grid-template-columns: 1fr 1fr;
  }
  body.dashboardbackground .auth-quick-card--feature {
    grid-row: auto;
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
  }
}
@media (max-width: 991px) {
  body.dashboardbackground .auth-hero {
    grid-template-columns: 1fr;
  }
  body.dashboardbackground .auth-hero-intro {
    order: 2;
  }
  body.dashboardbackground .auth-hero-card {
    order: 1;
  }
  body.dashboardbackground .auth-tvband {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 640px) {
  body.dashboardbackground .auth-quick-bento {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.dashboardbackground .auth-quick-card,
  body.dashboardbackground .auth-quick-card-arrow,
  body.dashboardbackground .auth-tvband-btn {
    transition: none;
  }
}

/* ==========================================================================
   AUTH 2027.1 - Public hub refinements
   News ticker, public access bento, PanelIQ TV access, compact availability.
   ========================================================================== */

body.dashboardbackground .auth-shell--v27 {
  gap: clamp(1rem, 2vw, 1.45rem);
}

body.dashboardbackground .auth-news-bar {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(125,211,252,0.22);
  border-radius: var(--auth-radius-xl);
  box-shadow: var(--auth-shadow-panel);
  background:
    linear-gradient(90deg, rgba(7,9,28,0.96) 0%, rgba(15,23,42,0.94) 45%, rgba(30,64,175,0.88) 100%);
}

body.dashboardbackground .auth-news--ticker {
  min-height: 68px;
  height: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  color: #e2e8f0;
}

body.dashboardbackground .auth-news-ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-left: clamp(1rem, 2.4vw, 1.75rem);
  color: #f8fafc;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.dashboardbackground .auth-news-ticker-label svg,
body.dashboardbackground .auth-news-ticker-label i {
  width: 17px;
  height: 17px;
  color: #7dd3fc;
}

body.dashboardbackground .auth-news-ticker-window {
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 92%, transparent 100%);
}

body.dashboardbackground .auth-news-ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  width: max-content;
  padding: 0.7rem 0;
  animation: authNewsTicker 36s linear infinite;
}

body.dashboardbackground .auth-news-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 36px;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(148,163,184,0.22);
  border-radius: var(--auth-radius-pill);
  background: rgba(255,255,255,0.07);
  color: #cbd5e1;
  white-space: nowrap;
}

body.dashboardbackground .auth-news-ticker-item strong {
  color: #f8fafc;
  font-size: 0.86rem;
}

body.dashboardbackground .auth-news-ticker-item span {
  color: #a7f3d0;
  font-size: 0.78rem;
  font-weight: 650;
}

@keyframes authNewsTicker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

body.dashboardbackground .auth-tiles-bar {
  background:
    radial-gradient(60% 90% at 0% 0%, rgba(125,211,252,0.18) 0, transparent 56%),
    linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(248,251,255,0.86) 100%);
}

body.dashboardbackground .auth-quick--v27 {
  display: grid;
  gap: 1rem;
}

body.dashboardbackground .auth-quick--v27 .auth-section-head {
  max-width: 760px;
}

body.dashboardbackground .auth-quick-bento {
  align-items: stretch;
}

body.dashboardbackground .auth-quick-card {
  min-height: 118px;
  overflow: hidden;
}

body.dashboardbackground .auth-quick-card--feature {
  min-height: 252px;
}

body.dashboardbackground .auth-screens-bar {
  margin-top: 0;
}

body.dashboardbackground .auth-tvband {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.15fr);
  align-items: stretch;
  gap: 0;
  min-height: 330px;
  padding: 0;
  border: 1px solid rgba(125,211,252,0.20);
  background:
    radial-gradient(55% 95% at 98% 0%, rgba(125,211,252,0.16) 0, transparent 60%),
    linear-gradient(140deg, #07091c 0%, #101b3f 58%, #0f766e 140%);
}

body.dashboardbackground .auth-tvband-media {
  position: relative;
  min-height: 330px;
  background:
    linear-gradient(180deg, rgba(7,9,28,0.10) 0%, rgba(7,9,28,0.82) 100%),
    url("../coreImg/auth/paneliq-enroll.webp") center / cover no-repeat;
}

body.dashboardbackground .auth-tvband-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 18% 16%, rgba(125,211,252,0.20) 0, transparent 58%),
    linear-gradient(90deg, transparent 0%, rgba(7,9,28,0.72) 100%);
  pointer-events: none;
}

body.dashboardbackground .auth-tvband-preview {
  position: absolute;
  left: clamp(1rem, 2.4vw, 1.75rem);
  right: clamp(1rem, 2.4vw, 1.75rem);
  bottom: clamp(1rem, 2.4vw, 1.75rem);
  z-index: 1;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(226,232,240,0.24);
  background: rgba(15,23,42,0.66);
  box-shadow: 0 22px 46px -24px rgba(0,0,0,0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.dashboardbackground .auth-tvband-preview-bar {
  height: 9px;
  background: linear-gradient(90deg, #1e40af 0%, #0f766e 62%, #7dd3fc 100%);
}

body.dashboardbackground .auth-tvband-preview-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
}

body.dashboardbackground .auth-tvband-preview-copy {
  display: grid;
  gap: 0.15rem;
  color: #f8fafc;
}

body.dashboardbackground .auth-tvband-preview-copy span {
  color: #7dd3fc;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.dashboardbackground .auth-tvband-preview-copy strong {
  font-size: 1rem;
}

body.dashboardbackground .auth-tvband-qrmock {
  width: 62px;
  height: 62px;
  flex: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 8px;
  border-radius: 14px;
  background: #f8fafc;
}

body.dashboardbackground .auth-tvband-qrmock span {
  border-radius: 4px;
  background: #07091c;
}

body.dashboardbackground .auth-tvband-qrmock span:nth-child(2) {
  background: linear-gradient(135deg, #07091c 0 42%, transparent 42% 58%, #07091c 58%);
}

body.dashboardbackground .auth-tvband-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  min-width: 0;
  padding: clamp(1.35rem, 3vw, 2.4rem);
}

body.dashboardbackground .auth-tvband-sub {
  max-width: 62ch;
}

body.dashboardbackground .auth-tvband-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.15rem;
}

body.dashboardbackground .auth-tvband-steps span {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  min-height: 32px;
  padding: 0.35rem 0.65rem;
  border-radius: var(--auth-radius-pill);
  border: 1px solid rgba(148,163,184,0.24);
  background: rgba(255,255,255,0.06);
  color: #dbeafe;
  font-size: 0.78rem;
  font-weight: 650;
}

body.dashboardbackground .auth-tvband-steps strong {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 999px;
  background: #7dd3fc;
  color: #0f172a;
  font-size: 0.68rem;
}

body.dashboardbackground .auth-tvband-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.25rem;
}

body.dashboardbackground .auth-tvband-hint {
  color: #a7b0c0;
  font-size: 0.78rem;
}

body.dashboardbackground .tc-wrap--compact .tc-banner {
  border-bottom: 0;
}

body.dashboardbackground .tc-compact-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem var(--auth-panel-pad) 0.95rem;
  border-top: 1px solid rgba(21,128,61,0.12);
  background: rgba(21,128,61,0.035);
}

body.dashboardbackground .tc-compact-metric {
  display: inline-grid;
  gap: 0.05rem;
  min-width: 82px;
}

body.dashboardbackground .tc-compact-metric span {
  color: var(--auth-muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body.dashboardbackground .tc-compact-metric strong {
  color: #15803d;
  font-size: 1rem;
}

body.dashboardbackground .tc-compact-note {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  color: #166534;
  font-size: 0.82rem;
  font-weight: 650;
}

body.dashboardbackground .tc-compact-note svg,
body.dashboardbackground .tc-compact-note i {
  width: 17px;
  height: 17px;
}

@media (max-width: 991px) {
  body.dashboardbackground .auth-tvband {
    grid-template-columns: 1fr;
  }
  body.dashboardbackground .auth-tvband-media {
    min-height: 230px;
  }
}

@media (max-width: 720px) {
  body.dashboardbackground .auth-news--ticker {
    grid-template-columns: 1fr;
    gap: 0.15rem;
    padding: 0.8rem 0;
  }
  body.dashboardbackground .auth-news-ticker-label {
    padding-left: 1rem;
  }
  body.dashboardbackground .auth-news-ticker-track {
    animation-duration: 28s;
  }
  body.dashboardbackground .auth-tvband-content {
    padding: 1.25rem;
  }
  body.dashboardbackground .tc-compact-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  body.dashboardbackground .tc-compact-note {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  body.dashboardbackground .auth-tvband-media {
    min-height: 190px;
  }
  body.dashboardbackground .auth-tvband-preview {
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
  }
  body.dashboardbackground .auth-tvband-preview-body {
    padding: 0.8rem;
  }
  body.dashboardbackground .auth-tvband-qrmock {
    width: 54px;
    height: 54px;
  }
  body.dashboardbackground .auth-tvband-actions,
  body.dashboardbackground .auth-tvband-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.dashboardbackground .auth-news-ticker-track {
    animation: none;
    transform: none;
  }
}

/* ==========================================================================
   AUTH 2027.2 - Layout corrections
   ========================================================================== */

body.dashboardbackground .auth-hero {
  grid-template-columns: minmax(390px, 0.86fr) minmax(0, 1.14fr);
}

body.dashboardbackground .auth-news--list {
  min-height: 0;
  height: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1.15fr) minmax(260px, 0.85fr);
  align-items: stretch;
  gap: 1rem;
  padding: clamp(0.9rem, 1.8vw, 1.2rem);
  color: #e2e8f0;
}

body.dashboardbackground .auth-news-list-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: start;
  min-height: 34px;
  padding: 0.45rem 0.7rem;
  border-radius: var(--auth-radius-pill);
  background: rgba(125,211,252,0.11);
  color: #f8fafc;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.dashboardbackground .auth-news-list-label svg,
body.dashboardbackground .auth-news-list-label i {
  width: 16px;
  height: 16px;
  color: #7dd3fc;
}

body.dashboardbackground .auth-news-featured {
  min-width: 0;
  display: grid;
  gap: 0.25rem;
}

body.dashboardbackground .auth-news-featured > span,
body.dashboardbackground .auth-news-mini-title {
  color: #a7f3d0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.dashboardbackground .auth-news-featured strong {
  color: #f8fafc;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.2;
}

body.dashboardbackground .auth-news-featured p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.86rem;
  line-height: 1.42;
  max-width: 72ch;
}

body.dashboardbackground .auth-news-featured small {
  color: #93c5fd;
  font-size: 0.76rem;
  font-weight: 700;
}

body.dashboardbackground .auth-news-mini {
  min-width: 0;
  display: grid;
  gap: 0.45rem;
}

body.dashboardbackground .auth-news-mini-list {
  display: grid;
  gap: 0.35rem;
}

body.dashboardbackground .auth-news-mini-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  min-height: 32px;
  padding: 0.35rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,0.18);
  background: rgba(255,255,255,0.06);
  min-width: 0;
}

body.dashboardbackground .auth-news-mini-item strong {
  color: #f8fafc;
  font-size: 0.82rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.dashboardbackground .auth-news-mini-item span {
  color: #a7f3d0;
  font-size: 0.75rem;
  font-weight: 750;
  white-space: nowrap;
}

body.dashboardbackground .auth-news--ticker-single {
  min-height: 64px;
}

body.dashboardbackground .auth-news--ticker-single .auth-news-ticker-track {
  animation-duration: 36s;
  gap: 1rem;
  padding: 0.58rem 0;
}

body.dashboardbackground .auth-news--ticker-single .auth-news-ticker-item {
  min-height: 38px;
  padding-inline: 0.95rem;
}

body.dashboardbackground .auth-news--ticker-single .auth-news-ticker-item span {
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  color: #dbeafe;
}

body.dashboardbackground .auth-news--ticker-single .auth-news-ticker-item small {
  color: #93c5fd;
  font-size: 0.76rem;
  font-weight: 750;
  white-space: nowrap;
}

body.dashboardbackground .auth-quick-bento--balanced {
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card,
body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card--feature {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 0.8rem;
  min-height: 104px;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid var(--auth-border);
  border-radius: var(--auth-radius-lg);
  color: var(--auth-text);
  box-shadow: var(--auth-shadow-card);
}

@media (max-width: 340px) {
  body.dashboardbackground .auth-topbar-inner {
    gap: 8px;
    padding-left: 8px;
    padding-right: 8px;
  }
  body.dashboardbackground .auth-brand-title {
    font-size: 0.95rem;
  }
  body.dashboardbackground .auth-brand-sub {
    display: none;
  }
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card--feature {
  grid-row: auto;
  grid-column: auto;
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card-ico {
  width: 44px;
  height: 44px;
  border-radius: 13px;
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card--feature .auth-quick-card-title,
body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card-title {
  color: var(--auth-text);
  font-size: 0.94rem;
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card--feature .auth-quick-card-sub,
body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card-sub {
  color: var(--auth-muted);
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card--feature .auth-quick-card-ico {
  background: var(--auth-tint);
  color: var(--auth-accent);
  border-color: var(--auth-border);
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card--feature .auth-quick-card-arrow {
  color: var(--auth-accent);
}

body.dashboardbackground .auth-tvband--compact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 0;
  padding: clamp(1rem, 2.2vw, 1.35rem);
  border-radius: var(--auth-radius-xl);
  background:
    radial-gradient(48% 120% at 96% 0%, rgba(125,211,252,0.16) 0, transparent 58%),
    linear-gradient(110deg, #07091c 0%, #111b3f 58%, #0f766e 145%);
}

body.dashboardbackground .auth-tvband--link {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

body.dashboardbackground .auth-tvband--link:hover,
body.dashboardbackground .auth-tvband--link:focus-visible {
  color: inherit;
  text-decoration: none;
}

body.dashboardbackground .auth-tvband--link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(125,211,252,0.26), var(--auth-shadow-panel);
}

body.dashboardbackground .auth-tvband--link:hover .auth-tvband-btn,
body.dashboardbackground .auth-tvband--link:focus-visible .auth-tvband-btn {
  transform: translateY(-2px);
  color: #0b2e67;
  background:
    linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  box-shadow: 0 18px 38px -18px rgba(125,211,252,0.62), 0 1px 0 rgba(255,255,255,0.56) inset;
}

body.dashboardbackground .auth-tvband--compact .auth-tvband-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: 1px solid rgba(125,211,252,0.28);
  background: rgba(125,211,252,0.10);
  color: #7dd3fc;
  flex: none;
}

body.dashboardbackground .auth-tvband--compact .auth-tvband-icon svg,
body.dashboardbackground .auth-tvband--compact .auth-tvband-icon i {
  width: 28px;
  height: 28px;
}

body.dashboardbackground .auth-tvband--compact .auth-tvband-content {
  padding: 0;
  gap: 0.2rem;
}

body.dashboardbackground .auth-tvband--compact .auth-tvband-title {
  margin: 0;
}

body.dashboardbackground .auth-tvband--compact .auth-tvband-sub {
  max-width: 66ch;
}

body.dashboardbackground .auth-tvband--compact .auth-tvband-actions {
  margin-top: 0;
  justify-self: end;
}

body.dashboardbackground .auth-tvband--compact .auth-tvband-btn {
  border-radius: var(--auth-radius-md);
}

@media (max-width: 991px) {
  body.dashboardbackground .auth-news--list {
    grid-template-columns: 1fr;
  }
  body.dashboardbackground .auth-tvband--compact {
    grid-template-columns: auto minmax(0, 1fr);
  }
  body.dashboardbackground .auth-tvband--compact .auth-tvband-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575px) {
  body.dashboardbackground .auth-news--list {
    padding: 0.85rem;
  }
  body.dashboardbackground .auth-quick-bento--balanced {
    grid-template-columns: 1fr;
  }
  body.dashboardbackground .auth-tvband--compact {
    grid-template-columns: 1fr;
    text-align: left;
  }
  body.dashboardbackground .auth-tvband--compact .auth-tvband-icon {
    width: 48px;
    height: 48px;
  }
  body.dashboardbackground .auth-tvband--compact .auth-tvband-actions,
  body.dashboardbackground .auth-tvband--compact .auth-tvband-btn {
    width: 100%;
  }

  body.dashboardbackground .auth-tvband--compact .auth-tvband-actions {
    justify-self: start;
  }

}

/* Public access bento: one featured card plus a 2x2 action grid. */
body.dashboardbackground .auth-quick-bento--balanced {
  grid-template-columns: minmax(290px, 1.08fr) repeat(2, minmax(205px, 1fr));
  grid-auto-rows: minmax(122px, auto);
  align-items: stretch;
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card--feature {
  grid-column: 1 / 2;
  grid-row: span 2;
  grid-template-columns: 48px minmax(0, 1fr) 44px;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: end;
  min-height: 292px;
  padding: 1.2rem;
  background:
    linear-gradient(180deg, rgba(7, 9, 28, 0.06) 0%, rgba(7, 9, 28, 0.18) 38%, rgba(7, 9, 28, 0.78) 100%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.28) 0%, rgba(15, 23, 42, 0.08) 64%),
    url("../coreImg/auth/public-access-virtual-filing.webp") center / cover no-repeat;
  border-color: rgba(125, 211, 252, 0.26);
  color: #f8fafc;
  overflow: hidden;
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.22);
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card--feature .auth-quick-card-title {
  color: #ffffff;
  font-size: 1.08rem;
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card--feature .auth-quick-card-sub {
  color: #dbeafe;
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card--feature .auth-quick-card-ico {
  grid-column: 1;
  grid-row: 2;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card--feature .auth-quick-card-txt {
  grid-column: 2;
  grid-row: 2;
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card--feature .auth-quick-card-arrow {
  grid-column: 3;
  grid-row: 2;
  color: #bfdbfe;
  padding-top: 0.2rem;
}

@media (max-width: 991px) {
  body.dashboardbackground .auth-quick-bento--balanced {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card--feature {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 240px;
  }
}

@media (max-width: 575px) {
  body.dashboardbackground .auth-quick-bento--balanced {
    grid-template-columns: 1fr;
  }

  body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card--feature {
    min-height: 264px;
  }
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card:not(.auth-quick-card--feature) {
  align-items: end;
  min-height: 136px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-color: rgba(226, 232, 240, 0.20);
  color: #f8fafc;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
  isolation: isolate;
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 52%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(7, 17, 31, 0) 0%,
    rgba(7, 17, 31, 0) 12%,
    rgba(7, 17, 31, 0.58) 42%,
    rgba(7, 17, 31, 0.92) 100%
  );
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card--feature::before {
  height: 44%;
  background: linear-gradient(
    180deg,
    rgba(7, 17, 31, 0) 0%,
    rgba(7, 17, 31, 0) 10%,
    rgba(7, 17, 31, 0.62) 38%,
    rgba(7, 17, 31, 0.92) 100%
  );
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card-ico,
body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card-txt,
body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card-arrow {
  position: relative;
  z-index: 1;
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card[data-type="tracking"] {
  background-image:
    linear-gradient(180deg, rgba(7, 9, 28, 0.08) 0%, rgba(7, 9, 28, 0.72) 100%),
    url("../coreImg/auth/public-access-tracking.webp");
  background-position: center center, center center;
  background-size: 100% 100%, cover;
  background-repeat: no-repeat, no-repeat;
  background-color: #0b1730;
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card[data-type="signature"] {
  background-image:
    linear-gradient(180deg, rgba(7, 9, 28, 0.08) 0%, rgba(7, 9, 28, 0.74) 100%),
    url("../coreImg/auth/public-access-signature.webp");
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card[data-type="document"] {
  background-image:
    linear-gradient(180deg, rgba(7, 9, 28, 0.08) 0%, rgba(7, 9, 28, 0.74) 100%),
    url("../coreImg/auth/public-access-document.webp");
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card[data-type="notification"] {
  background-image:
    linear-gradient(180deg, rgba(7, 9, 28, 0.08) 0%, rgba(7, 9, 28, 0.76) 100%),
    url("../coreImg/auth/public-access-notification.webp");
  background-position: center center, center 100%;
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card--feature[data-type="signature"] {
  background-position: center center, center center;
  background-size: 100% 100%, cover;
  background-repeat: no-repeat, no-repeat;
  background-color: #0b1730;
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card:not(.auth-quick-card--feature) .auth-quick-card-title {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.54);
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card:not(.auth-quick-card--feature) .auth-quick-card-sub {
  color: #dbeafe;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.50);
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card:not(.auth-quick-card--feature) .auth-quick-card-ico,
body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card-arrow {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: 0;
  justify-self: end;
  align-self: center;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  opacity: 1;
  transform: none;
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card:not(.auth-quick-card--feature) {
  grid-template-columns: 44px minmax(0, 1fr) 40px;
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card--feature .auth-quick-card-arrow {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.16);
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card-arrow svg,
body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card-arrow i {
  width: 18px;
  height: 18px;
  display: block;
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card:hover .auth-quick-card-arrow,
body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card:focus-visible .auth-quick-card-arrow {
  background: rgba(255, 255, 255, 0.24);
  transform: translateX(2px);
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  background: rgba(125, 211, 252, 0.12);
  color: #7dd3fc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card:not(.auth-quick-card--feature) .auth-quick-card-ico {
  background: rgba(125, 211, 252, 0.12);
  color: #7dd3fc;
  border-color: rgba(125, 211, 252, 0.28);
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card--feature .auth-quick-card-ico {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: rgba(125, 211, 252, 0.14);
  color: #7dd3fc;
  border-color: rgba(125, 211, 252, 0.32);
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card-ico svg,
body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card-ico i {
  width: 22px;
  height: 22px;
  display: block;
  stroke-width: 1.9;
}

/* ==========================================================================
   AUTH 2027.2 - Help guides curated layout
   ========================================================================== */

body.dashboardbackground .auth-guides-bar {
  background:
    radial-gradient(52% 80% at 100% 0%, rgba(14, 165, 233, 0.12) 0, transparent 58%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 255, 0.9) 100%);
}

body.dashboardbackground .auth-section-head--split {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
}

body.dashboardbackground .auth-guide-meta {
  flex: none;
  border: 1px solid rgba(0, 103, 173, 0.16);
  border-radius: 999px;
  padding: 0.38rem 0.72rem;
  background: rgba(0, 103, 173, 0.07);
  color: #075985;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.dashboardbackground .auth-guides--curated {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.55fr);
  gap: 1rem;
  align-items: stretch;
}

body.dashboardbackground .auth-guide-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

body.dashboardbackground .auth-guides--curated .auth-guide-card {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 0.85rem;
  min-height: 96px;
  padding: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(239, 246, 255, 0.72) 100%);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  color: var(--auth-text);
  overflow: hidden;
}

body.dashboardbackground .auth-guides--curated .auth-guide-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.1), transparent 42%);
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
}

body.dashboardbackground .auth-guides--curated .auth-guide-card:hover,
body.dashboardbackground .auth-guides--curated .auth-guide-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(0, 103, 173, 0.24);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
  outline: none;
}

body.dashboardbackground .auth-guides--curated .auth-guide-card:hover::before,
body.dashboardbackground .auth-guides--curated .auth-guide-card:focus-visible::before {
  opacity: 1;
}

body.dashboardbackground .auth-guides--curated .auth-guide-card--feature {
  grid-template-columns: 1fr;
  align-content: end;
  gap: 1.1rem;
  min-height: 274px;
  padding: 1.25rem;
  color: #f8fafc;
  border-color: rgba(125, 211, 252, 0.28);
  background:
    radial-gradient(72% 74% at 92% 0%, rgba(125, 211, 252, 0.2) 0, transparent 62%),
    linear-gradient(145deg, #064e5f 0%, #0f3b5f 48%, #172554 100%);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.2);
}

body.dashboardbackground .auth-guides--curated .auth-guide-card--feature::before {
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 38%),
    radial-gradient(48% 44% at 10% 100%, rgba(16, 185, 129, 0.22) 0, transparent 68%);
}

body.dashboardbackground .auth-guide-feature-top,
body.dashboardbackground .auth-guide-cta {
  position: relative;
  z-index: 1;
}

body.dashboardbackground .auth-guide-feature-top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

body.dashboardbackground .auth-guide-kicker {
  color: #bae6fd;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

body.dashboardbackground .auth-guides--curated .auth-guide-ico,
body.dashboardbackground .auth-guides--curated .auth-guide-body,
body.dashboardbackground .auth-guides--curated .auth-guide-arrow {
  position: relative;
  z-index: 1;
}

body.dashboardbackground .auth-guides--curated .auth-guide-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(0, 103, 173, 0.14);
  color: var(--auth-accent);
}

body.dashboardbackground .auth-guides--curated .auth-guide-ico svg,
body.dashboardbackground .auth-guides--curated .auth-guide-ico i {
  width: 22px;
  height: 22px;
}

body.dashboardbackground .auth-guides--curated .auth-guide-card--feature .auth-guide-ico {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

body.dashboardbackground .auth-guides--curated .auth-guide-title {
  margin: 0;
  color: var(--auth-text);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.22;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

body.dashboardbackground .auth-guides--curated .auth-guide-card--feature .auth-guide-title {
  color: #ffffff;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}

body.dashboardbackground .auth-guide-summary {
  margin: 0.25rem 0 0;
  color: var(--auth-muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

body.dashboardbackground .auth-guides--curated .auth-guide-card--feature .auth-guide-summary {
  max-width: 34ch;
  color: #dbeafe;
  font-size: 0.92rem;
}

body.dashboardbackground .auth-guide-cta {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.45rem;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 800;
}

body.dashboardbackground .auth-guide-cta svg,
body.dashboardbackground .auth-guide-cta i {
  width: 18px;
  height: 18px;
}

body.dashboardbackground .auth-guides--curated .auth-guide-arrow {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: #0369a1;
  background: rgba(14, 165, 233, 0.09);
  border: 1px solid rgba(14, 165, 233, 0.16);
  transform: none;
  opacity: 1;
}

body.dashboardbackground .auth-guides--curated .auth-guide-arrow svg,
body.dashboardbackground .auth-guides--curated .auth-guide-arrow i {
  width: 17px;
  height: 17px;
}

body.dashboardbackground .auth-guides--curated .auth-guide-card:hover .auth-guide-arrow,
body.dashboardbackground .auth-guides--curated .auth-guide-card:focus-visible .auth-guide-arrow {
  color: #ffffff;
  background: var(--auth-accent);
  transform: translateX(2px);
}

body.dashboardbackground .auth-guide-card--wide {
  grid-column: 1 / -1;
}

@media (max-width: 1100px) {
  body.dashboardbackground .auth-guides--curated {
    grid-template-columns: 1fr;
  }

  body.dashboardbackground .auth-guides--curated .auth-guide-card--feature {
    min-height: 210px;
  }
}

@media (max-width: 700px) {
  body.dashboardbackground .auth-section-head--split {
    align-items: flex-start;
    flex-direction: column;
  }

  body.dashboardbackground .auth-guide-list {
    grid-template-columns: 1fr;
  }

  body.dashboardbackground .auth-guide-card--wide {
    grid-column: auto;
  }

  body.dashboardbackground .auth-guides--curated .auth-guide-card {
    grid-template-columns: 44px minmax(0, 1fr) 30px;
    min-height: 88px;
    padding: 0.92rem;
  }
}

/* Help guides final layout: six equal cards in a compact 3x2 grid. */
body.dashboardbackground .auth-guides-bar {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 255, 0.9) 100%);
}

body.dashboardbackground .auth-guides--grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

body.dashboardbackground .auth-guides--grid .auth-guide-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 0.78rem;
  min-height: 106px;
  padding: 0.95rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
  color: var(--auth-text);
}

body.dashboardbackground .auth-guides--grid .auth-guide-card:hover,
body.dashboardbackground .auth-guides--grid .auth-guide-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(0, 103, 173, 0.2);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
  outline: none;
}

body.dashboardbackground .auth-guides--grid .auth-guide-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(0, 103, 173, 0.07);
  border: 1px solid rgba(0, 103, 173, 0.12);
}

body.dashboardbackground .auth-guides--grid .auth-guide-ico svg,
body.dashboardbackground .auth-guides--grid .auth-guide-ico i {
  width: 22px;
  height: 22px;
}

body.dashboardbackground .auth-guides--grid .auth-guide-title {
  margin: 0;
  color: var(--auth-text);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

body.dashboardbackground .auth-guides--grid .auth-guide-summary {
  margin: 0.25rem 0 0;
  color: var(--auth-muted);
  font-size: 0.8rem;
  line-height: 1.36;
}

body.dashboardbackground .auth-guides--grid .auth-guide-arrow {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #0369a1;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.12);
  opacity: 1;
  transform: none;
}

body.dashboardbackground .auth-guides--grid .auth-guide-arrow svg,
body.dashboardbackground .auth-guides--grid .auth-guide-arrow i {
  width: 16px;
  height: 16px;
}

body.dashboardbackground .auth-guides--grid .auth-guide-card:hover .auth-guide-arrow,
body.dashboardbackground .auth-guides--grid .auth-guide-card:focus-visible .auth-guide-arrow {
  color: #ffffff;
  background: var(--auth-accent);
  transform: translateX(2px);
}

@media (max-width: 991px) {
  body.dashboardbackground .auth-guides--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  body.dashboardbackground .auth-guides--grid {
    grid-template-columns: 1fr;
  }
}

/* Help guide modals aligned with the compact 3x2 guide cards. */
.auth-guide-modal .modal-dialog {
  --bs-modal-width: 620px;
  max-width: min(620px, calc(100vw - 32px));
}

.auth-guide-modal .modal-content,
body.dashboardbackground .auth-guide-modal-content {
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(14, 165, 233, 0.10) 0, transparent 58%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.96) 100%);
  box-shadow: 0 34px 84px rgba(15, 23, 42, 0.24);
  overflow: hidden;
}

.auth-guide-modal .modal-header {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 0.85rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.auth-guide-modal .modal-title {
  min-width: 0;
  margin: 0;
  color: var(--auth-text);
  font-size: 1.05rem;
  font-weight: 850;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.auth-guide-modal-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(0, 103, 173, 0.07);
  border: 1px solid rgba(0, 103, 173, 0.12);
  color: var(--auth-accent);
}

.auth-guide-modal-ico svg,
.auth-guide-modal-ico i {
  width: 22px;
  height: 22px;
}

.auth-guide-modal .btn-close {
  justify-self: end;
  width: 32px;
  height: 32px;
  margin: 0;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.06);
  opacity: 0.72;
}

.auth-guide-modal .btn-close:hover,
.auth-guide-modal .btn-close:focus-visible {
  opacity: 1;
  box-shadow: 0 0 0 3px var(--auth-accent-ring);
}

.auth-guide-modal .modal-body {
  display: grid;
  gap: 0.72rem;
  max-height: min(70vh, 620px);
  overflow: auto;
  padding: 1rem 1.25rem 1.25rem;
}

.auth-guide-modal-lead {
  min-width: 0;
  margin: 0;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(14, 165, 233, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--auth-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.auth-guide-step {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  gap: 0.78rem;
  margin: 0;
  padding: 0.86rem 0.95rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--auth-text);
  font-size: 0.86rem;
  line-height: 1.45;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.045);
}

.auth-guide-step-num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-top: 0;
  border-radius: 11px;
  background: rgba(0, 103, 173, 0.09);
  color: #0369a1;
  font-size: 0.78rem;
  font-weight: 850;
}

.auth-guide-step strong {
  color: var(--auth-text);
  font-weight: 850;
}

.auth-guide-modal .modal-header.auth-modal-err {
  background: linear-gradient(90deg, rgba(180, 35, 24, 0.08) 0%, rgba(255, 255, 255, 0.72) 100%);
  border-bottom-color: rgba(180, 35, 24, 0.14);
}

.auth-guide-modal .modal-header.auth-modal-ok {
  background: linear-gradient(90deg, rgba(21, 128, 61, 0.08) 0%, rgba(255, 255, 255, 0.72) 100%);
  border-bottom-color: rgba(21, 128, 61, 0.14);
}

.auth-guide-modal .modal-header.auth-modal-info {
  background: linear-gradient(90deg, rgba(3, 105, 161, 0.08) 0%, rgba(255, 255, 255, 0.72) 100%);
  border-bottom-color: rgba(3, 105, 161, 0.14);
}

@media (max-width: 575px) {
  .auth-guide-modal .modal-dialog {
    max-width: calc(100vw - 18px);
    margin: 0.25rem auto;
  }

  .auth-guide-modal .modal-header {
    grid-template-columns: 42px minmax(0, 1fr) 30px;
    padding: 0.95rem;
  }

  .auth-guide-modal .modal-body {
    max-height: min(76vh, 620px);
    padding: 0.85rem;
  }

  .auth-guide-step {
    padding: 0.78rem;
  }
}

/* Login and intro share the login's real content height; spacing is owned by the shell gap. */
body.dashboardbackground .auth-shell--v27 .auth-hero {
  align-items: stretch;
  margin-bottom: 0;
}

body.dashboardbackground .auth-shell--v27 .auth-hero-card.auth-left {
  align-self: stretch;
  height: auto;
}

@media (max-width: 991px) {
  body.dashboardbackground .auth-shell--v27 .auth-hero {
    align-items: start;
    gap: 0.85rem;
    grid-template-columns: 1fr;
  }

  body.dashboardbackground .auth-shell--v27 .auth-hero-card.auth-left,
  body.dashboardbackground .auth-shell--v27 .auth-hero-intro {
    width: 100%;
  }

  body.dashboardbackground .auth-shell--v27 .auth-hero-card.auth-left {
    align-self: start;
    height: fit-content;
    min-height: 0;
  }

  body.dashboardbackground .auth-shell--v27 .auth-hero-intro {
    align-self: stretch;
  }

  body.dashboardbackground .auth-shell--v27 .auth-hero-copy {
    padding: clamp(1rem, 4vw, 1.35rem);
    gap: 0.55rem;
  }
}

/* Auth hub spacing: one gap source for all top-level login sections. */
body.dashboardbackground .auth-shell--v27 {
  --auth-hub-gap: clamp(0.85rem, 1.55vw, 1.15rem);
  gap: var(--auth-hub-gap);
}

body.dashboardbackground .auth-shell--v27 > .auth-hero,
body.dashboardbackground .auth-shell--v27 > .auth-news-bar,
body.dashboardbackground .auth-shell--v27 > .auth-tiles-bar,
body.dashboardbackground .auth-shell--v27 > .auth-screens-bar,
body.dashboardbackground .auth-shell--v27 > .auth-trust-bar,
body.dashboardbackground .auth-shell--v27 > .auth-guides-bar {
  margin-top: 0;
  margin-bottom: 0;
}

body.dashboardbackground .auth-shell--v27 > .auth-footer {
  margin: calc(var(--auth-hub-gap) * 0.25) 0 clamp(1.25rem, 2.5vw, 2rem);
}

@media (max-width: 575px) {
  body.dashboardbackground .auth-shell--v27 {
    --auth-hub-gap: 0.75rem;
  }

  body.dashboardbackground .auth-shell--v27 .auth-hero-intro {
    display: none;
  }
}

/* Login public access: three columns with validation links stacked in the last column. */
body.dashboardbackground .auth-quick-bento--balanced {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(154px, auto);
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card--feature {
  min-height: 196px;
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card[data-type="virtual-filing"] {
  grid-column: 1;
  grid-row: 1;
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card[data-type="process-search"] {
  grid-column: 2;
  grid-row: 1;
  background-image:
    linear-gradient(180deg, rgba(7, 9, 28, 0.08) 0%, rgba(7, 9, 28, 0.76) 100%),
    url("../coreImg/auth/public-access-process-search.webp");
  background-position: center center;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card--feature[data-type="judicial-notices"] {
  grid-column: 3;
  grid-row: 1;
  background-image: url("../coreImg/auth/public-access-judicial-notices.webp");
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #0b1730;
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card--feature[data-type="tracking"] {
  grid-column: 1;
  grid-row: 2;
  background-position: center center, center center;
  background-size: 100% 100%, cover;
  background-repeat: no-repeat, no-repeat;
  background-color: #0b1730;
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card:not(.auth-quick-card--feature) {
  align-items: center;
  min-height: 112px;
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card--feature[data-type="signature"] {
  grid-column: 2;
  grid-row: 2;
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card[data-type="document"] {
  grid-column: 3;
  grid-row: 2;
  align-self: start;
  height: calc(50% - 0.25rem);
  min-height: 0;
}

body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card[data-type="notification"] {
  grid-column: 3;
  grid-row: 2;
  align-self: end;
  height: calc(50% - 0.25rem);
  min-height: 0;
}

@media (max-width: 991px) {
  body.dashboardbackground .auth-quick-bento--balanced {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card--feature {
    grid-column: auto;
    grid-row: auto;
    min-height: 196px;
  }

  body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card[data-type="virtual-filing"] {
    grid-column: 1;
    grid-row: 1;
  }

  body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card[data-type="process-search"] {
    grid-column: 2;
    grid-row: 1;
  }

  body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card[data-type="judicial-notices"] {
    grid-column: 1;
    grid-row: 2;
  }

  body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card[data-type="tracking"] {
    grid-column: 2;
    grid-row: 2;
  }

  body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card[data-type="signature"] {
    grid-column: 1;
    grid-row: 3;
  }

  body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card[data-type="document"] {
    grid-column: 2;
    grid-row: 3;
    align-self: start;
  }

  body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card[data-type="notification"] {
    grid-column: 2;
    grid-row: 3;
    align-self: end;
  }

  body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card[data-type="document"],
  body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card[data-type="notification"] {
    height: calc(50% - 0.25rem);
    min-height: 0;
  }
}

@media (max-width: 575px) {
  body.dashboardbackground .auth-quick-bento--balanced {
    grid-template-columns: 1fr;
  }

  body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card--feature {
    min-height: 180px;
  }

  body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card:not(.auth-quick-card--feature) {
    min-height: 108px;
  }

  body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card[data-type="virtual-filing"],
  body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card[data-type="process-search"],
  body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card[data-type="judicial-notices"],
  body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card[data-type="tracking"],
  body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card[data-type="signature"],
  body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card[data-type="document"],
  body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card[data-type="notification"] {
    grid-column: 1;
    grid-row: auto;
  }

  body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card[data-type="document"],
  body.dashboardbackground .auth-quick-bento--balanced .auth-quick-card[data-type="notification"] {
    height: auto;
    min-height: 108px;
  }

}
