.ley-content-shell {
  box-sizing: border-box;
}

.mley-detail-search-status {
  margin-bottom: 0.9rem;
}

.mley-detail-block,
.mley-detail-article-card {
  content-visibility: auto;
  contain-intrinsic-size: 760px;
  padding: 1rem 1.1rem;
}

.mley-detail-block > :last-child,
.mley-detail-article-card > :last-child {
  margin-bottom: 0;
}

.mley-detail-inline-link,
.mley-detail-context-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.7rem;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.mley-detail-inline-link {
  border: 1px solid rgba(13, 82, 191, 0.18);
  background: rgba(13, 82, 191, 0.08);
  color: var(--accent-color);
}

.mley-detail-inline-link:hover,
.mley-detail-inline-link:focus {
  text-decoration: none;
  background: rgba(13, 82, 191, 0.14);
}

.mley-detail-inline-link--article,
.mley-detail-inline-link[href*="/articulo/"],
.mley-detail-article-inline-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.35rem;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  background: #0d52bf;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  vertical-align: baseline;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.mley-detail-inline-link--article,
.mley-detail-inline-link[href*="/articulo/"] {
  border: 0;
}

.mley-detail-inline-link--article:hover,
.mley-detail-inline-link--article:focus,
.mley-detail-inline-link[href*="/articulo/"]:hover,
.mley-detail-inline-link[href*="/articulo/"]:focus,
.mley-detail-article-inline-badge:hover,
.mley-detail-article-inline-badge:focus {
  color: #ffffff;
  text-decoration: none;
  background: #0b49aa;
}

.mley-detail-context-chip {
  border: 1px solid var(--border-color);
  background: var(--bg-surface-2);
  color: var(--text-muted);
}

.mley-detail-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
}

.mley-detail-stream-sentinel {
  width: 100%;
  min-height: 1px;
}

.mley-detail-article-card .mley-inline-badge-trigger {
  font-size: 0.85rem;
}

.mley-seo-markdown--law {
  --mley-guide-accent: #1d4ed8;
  --mley-guide-accent-soft: rgba(37, 99, 235, 0.1);
  --mley-guide-border-soft: rgba(15, 23, 42, 0.08);
  --mley-guide-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  --mley-guide-shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.06);
  --mley-guide-radius: 24px;
  overflow: hidden;
  border-color: rgba(15, 23, 42, 0.08) !important;
  background: var(--bg-surface) !important;
  box-shadow: var(--mley-guide-shadow);
}

.mley-law-guide-shell {
  overflow: hidden;
  border-radius: inherit;
}

.mley-law-guide-hero {
  position: relative;
  overflow: hidden;
  padding: 1.65rem 1.65rem 1.5rem;
  background:
    radial-gradient(circle at 88% 18%, rgba(59, 130, 246, 0.28), transparent 32%),
    radial-gradient(circle at 12% 90%, rgba(16, 185, 129, 0.13), transparent 30%),
    linear-gradient(135deg, #08111f 0%, #152235 54%, #0f172a 100%);
  color: #ffffff;
}

.mley-law-guide-hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -42% 38%;
  height: 10rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 60%);
  pointer-events: none;
}

.mley-law-guide-hero__breadcrumbs {
  margin-bottom: 1rem;
}

.mley-law-guide-hero__breadcrumbs .mley-breadcrumbs {
  margin-bottom: 0 !important;
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.35);
}

.mley-law-guide-hero__breadcrumbs .mley-breadcrumbs .breadcrumb-item,
.mley-law-guide-hero__breadcrumbs .mley-breadcrumbs .breadcrumb-item.active {
  color: #cbd5e1;
}

.mley-law-guide-hero__breadcrumbs .mley-breadcrumbs .breadcrumb-item a {
  color: #bfdbfe;
}

.mley-law-guide-hero__breadcrumbs .mley-breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(203, 213, 225, 0.7);
}

.mley-law-guide-hero__main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
}

.mley-law-guide-hero__body {
  min-width: 0;
}

.mley-law-guide-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

.mley-law-guide-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.45rem;
  padding: 0.15rem 0.55rem;
  border: 1px solid rgba(96, 165, 250, 0.45);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.28);
  color: #bfdbfe;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mley-law-guide-badge--success {
  border-color: rgba(52, 211, 153, 0.42);
  background: rgba(5, 150, 105, 0.24);
  color: #a7f3d0;
}

.mley-law-guide-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.65rem, 4vw, 2.55rem);
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.mley-law-guide-meta {
  display: -webkit-box;
  max-width: 58rem;
  margin: 0.65rem 0 0;
  overflow: hidden;
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mley-law-guide-hero__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 2.45rem;
  padding: 0.52rem 0.85rem;
  border: 1px solid rgba(191, 219, 254, 0.32);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.9);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.1;
}

.mley-law-guide-hero__action:hover,
.mley-law-guide-hero__action:focus {
  background: #1d4ed8;
  color: #ffffff;
  text-decoration: none;
}

.mley-law-guide-quicknav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.85rem 1.45rem;
  border-bottom: 1px solid var(--border-color);
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(241, 245, 249, 0.9)),
    var(--bg-surface);
  scrollbar-width: thin;
}

.mley-law-guide-quicknav__label {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin-right: 0.15rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.mley-law-guide-quicknav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 2.25rem;
  padding: 0.52rem 0.82rem 0.52rem 1.05rem;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: #1e293b;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.05);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.mley-law-guide-quicknav a::before {
  content: "";
  position: absolute;
  left: 0.58rem;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: #2563eb;
  opacity: 0.8;
}

.mley-law-guide-quicknav a:hover,
.mley-law-guide-quicknav a:focus {
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.14);
  color: #1d4ed8;
  text-decoration: none;
  transform: translateY(-1px);
}

.mley-law-guide-content {
  display: grid;
  gap: 1.35rem;
  padding: 1.45rem;
}

#mley-law-guide-summary,
#mley-law-guide-essential,
#mley-law-guide-operation,
#mley-law-guide-explore,
#mley-law-guide-definitions,
#mley-law-guide-faq {
  scroll-margin-top: 1rem;
}

.mley-law-guide-summary {
  padding: 1.15rem;
  border: 1px solid var(--mley-guide-border-soft);
  border-radius: var(--mley-guide-radius);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.06), transparent 48%),
    var(--bg-surface);
  box-shadow: var(--mley-guide-shadow-soft);
  margin: 0;
}

.mley-law-guide-summary .mley-seo-markdown-body--lead {
  max-width: 72ch;
}

.mley-law-guide-summary h3,
.mley-law-guide-card h3,
.mley-law-guide-side-card h3,
.mley-law-guide-analysis__item h3 {
  margin: 0 0 0.65rem;
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.25;
}

.mley-seo-markdown-body {
  color: var(--text-color);
  font-size: 0.9rem;
}

.mley-seo-markdown-body--lead {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.mley-seo-markdown-body p,
.mley-seo-markdown-body ul,
.mley-seo-markdown-body table {
  margin-top: 0;
}

.mley-seo-markdown-body p:last-child,
.mley-seo-markdown-body ul:last-child,
.mley-seo-markdown-body table:last-child {
  margin-bottom: 0;
}

.mley-seo-markdown-body ul {
  padding-left: 1.1rem;
}

.mley-seo-markdown-body li + li {
  margin-top: 0.35rem;
}

.mley-law-guide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.mley-law-guide-tags span {
  display: inline-flex;
  max-width: min(100%, 13.5rem);
  overflow-wrap: anywhere;
  padding: 0.28rem 0.58rem;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--bg-surface-2);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: normal;
}

.mley-law-guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: 1.3rem;
  align-items: start;
}

.mley-law-guide-layout > :only-child {
  grid-column: 1 / -1;
}

.mley-law-guide-column {
  display: grid;
  gap: 1.25rem;
  min-width: 0;
}

.mley-law-guide-cluster {
  display: grid;
  gap: 0.95rem;
  min-width: 0;
  scroll-margin-top: 1rem;
}

.mley-law-guide-cluster__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0.15rem 0.35rem;
  border-bottom: 0;
}

.mley-law-guide-cluster__heading span {
  order: 2;
  flex: 0 0 auto;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.mley-law-guide-cluster__heading h3 {
  margin: 0;
  color: var(--text-color);
  font-size: 1.24rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.mley-law-guide-main {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(245px, 1fr);
  gap: 1.1rem;
  margin-bottom: 1.4rem;
}

.mley-law-guide-main > :only-child {
  grid-column: 1 / -1;
}

.mley-law-guide-main__body,
.mley-law-guide-side {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.mley-law-guide-side {
  position: sticky;
  top: 1.15rem;
}

.mley-law-guide-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.mley-law-guide-card,
.mley-law-guide-analysis,
.mley-law-guide-side-card {
  border: 1px solid var(--mley-guide-border-soft);
  border-radius: var(--mley-guide-radius);
  background: var(--bg-surface);
  box-shadow: var(--mley-guide-shadow-soft);
}

.mley-law-guide-card,
.mley-law-guide-side-card {
  padding: 1rem;
}

.mley-law-guide-card {
  --mley-card-accent: #2563eb;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.035), transparent 58%),
    var(--bg-surface);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.mley-law-guide-card:hover {
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.09);
  transform: translateY(-1px);
}

.mley-law-guide-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--mley-card-accent);
}

.mley-law-guide-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mley-law-guide-card h3::before {
  content: "";
  flex: 0 0 auto;
  width: 0.66rem;
  height: 0.66rem;
  border-radius: 999px;
  background: var(--mley-card-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--mley-card-accent) 15%, transparent);
}

.mley-law-guide-card--regulates {
  --mley-card-accent: #2563eb;
}

.mley-law-guide-card--applies {
  --mley-card-accent: #059669;
}

.mley-law-guide-card--topics {
  --mley-card-accent: #d97706;
}

.mley-law-guide-card--rights {
  --mley-card-accent: #7c3aed;
}

.mley-law-guide-card--compact {
  position: relative;
}

.mley-law-guide-card--compact .mley-seo-markdown-body {
  max-height: 12.5rem;
  overflow: auto;
  padding-right: 0.15rem;
  scrollbar-width: thin;
}

.mley-law-guide-card--definition {
  --mley-card-accent: #0f766e;
  scroll-margin-top: 1rem;
  background:
    linear-gradient(135deg, rgba(20, 184, 166, 0.07), transparent 48%),
    var(--bg-surface);
}

.mley-law-guide-card--definition .mley-seo-markdown-body {
  max-height: 23rem;
  overflow: auto;
  scrollbar-width: thin;
}

.mley-law-guide-analysis {
  padding: 1.05rem;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.025), transparent 45%),
    var(--bg-surface);
}

.mley-law-guide-analysis__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
  align-items: stretch;
}

.mley-law-guide-analysis__item {
  --mley-analysis-accent: #2563eb;
  padding: 0.95rem;
  border: 1px solid var(--mley-guide-border-soft);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.04), transparent 55%),
    var(--bg-surface-2);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.mley-law-guide-analysis__item:hover {
  border-color: color-mix(in srgb, var(--mley-analysis-accent) 28%, transparent);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07);
  transform: translateY(-1px);
}

.mley-law-guide-analysis__item h3 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.mley-law-guide-analysis__item h3::before {
  content: "";
  flex: 0 0 auto;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--mley-analysis-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--mley-analysis-accent) 14%, transparent);
}

.mley-law-guide-analysis__item--authorities {
  --mley-analysis-accent: #2563eb;
}

.mley-law-guide-analysis__item--obligations {
  --mley-analysis-accent: #059669;
}

.mley-law-guide-analysis__item--actions {
  --mley-analysis-accent: #d97706;
}

.mley-law-guide-analysis__item--sanctions {
  --mley-analysis-accent: #dc2626;
}

.mley-law-guide-analysis__item .mley-seo-markdown-body {
  max-height: 12rem;
  overflow: auto;
  padding-right: 0.15rem;
  scrollbar-width: thin;
}

.mley-law-guide-side-card {
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.08), transparent 70%),
    var(--bg-surface);
  border-color: rgba(37, 99, 235, 0.16);
}

.mley-law-guide-side-card + .mley-law-guide-side-card {
  background: var(--bg-surface);
  border-color: var(--border-color);
}

.mley-law-guide-side-card--source {
  background:
    linear-gradient(180deg, rgba(16, 185, 129, 0.08), transparent 72%),
    var(--bg-surface);
  border-color: rgba(16, 185, 129, 0.2);
}

.mley-law-guide-side-card--explore {
  background:
    linear-gradient(180deg, rgba(124, 58, 237, 0.08), transparent 72%),
    var(--bg-surface);
  border-color: rgba(124, 58, 237, 0.18);
}

.mley-law-guide-side-card--explore .mley-law-guide-accordion-list {
  gap: 0.5rem;
}

.mley-law-guide-side-card--explore .mley-law-guide-accordion {
  border-radius: 12px;
  box-shadow: none;
}

.mley-law-guide-side-card--explore .mley-law-guide-accordion summary {
  padding: 0.68rem 0.75rem;
  font-size: 0.82rem;
}

.mley-law-guide-side-card--explore .mley-law-guide-accordion > .mley-seo-markdown-body {
  max-height: 16rem;
  overflow: auto;
  padding: 0.75rem;
  font-size: 0.82rem;
  scrollbar-width: thin;
}

.mley-law-guide-side-card--links ul {
  display: grid;
  gap: 0.55rem;
  padding-left: 0;
  list-style: none;
}

.mley-law-guide-side-card--links li {
  max-width: 100%;
  padding: 0.48rem 0.5rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.mley-law-guide-side-card--links li:last-child {
  padding-bottom: 0.48rem;
}

.mley-law-guide-side-card--links li:hover {
  border-color: rgba(37, 99, 235, 0.12);
  background: rgba(37, 99, 235, 0.05);
}

.mley-law-guide-side-card--links li a {
  display: -webkit-box;
  overflow: hidden;
  color: #1d4ed8;
  font-weight: 700;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mley-law-guide-side-card--links li span {
  display: block;
  margin-top: 0.1rem;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.mley-law-guide-related-more {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(37, 99, 235, 0.12);
}

.mley-law-guide-related-more summary {
  cursor: pointer;
  color: #1d4ed8;
  font-size: 0.82rem;
  font-weight: 700;
  list-style: none;
}

.mley-law-guide-related-more summary::-webkit-details-marker {
  display: none;
}

.mley-law-guide-related-more summary::after {
  content: "+";
  margin-left: 0.35rem;
}

.mley-law-guide-related-more[open] summary::after {
  content: "-";
}

.mley-law-guide-related-more ul {
  margin-top: 0.75rem;
}

.mley-law-guide-graph-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  margin-top: 0.85rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 12px;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.mley-law-guide-graph-link:hover,
.mley-law-guide-graph-link:focus {
  background: #1d4ed8;
  color: #ffffff;
  text-decoration: none;
}

.mley-law-guide-side-card--source ul {
  display: grid;
  gap: 0.55rem;
  padding-left: 0;
  list-style: none;
}

.mley-law-guide-side-card--source li {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.25;
}

.mley-law-guide-side-card--source li a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 2.45rem;
  margin-top: 0.2rem;
  padding: 0.48rem 0.72rem 0.48rem 2.05rem;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-surface-2);
  color: var(--text-color);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.mley-law-guide-side-card--source li a::before {
  content: "";
  position: absolute;
  left: 0.72rem;
  width: 0.72rem;
  height: 0.88rem;
  border: 2px solid currentColor;
  border-radius: 2px;
  opacity: 0.68;
}

.mley-law-guide-side-card--source li a::after {
  content: "";
  position: absolute;
  left: 1.19rem;
  top: 0.87rem;
  width: 0.28rem;
  height: 0.28rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: 0.68;
}

.mley-law-guide-side-card--source li a:hover,
.mley-law-guide-side-card--source li a:focus {
  border-color: rgba(37, 99, 235, 0.22);
  background: #eff6ff;
  color: #1d4ed8;
  text-decoration: none;
}

.mley-law-guide-side-card:not(.mley-law-guide-side-card--links):not(.mley-law-guide-side-card--source) li a {
  display: block;
  padding: 0.42rem 0.5rem;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--text-color);
  font-weight: 700;
}

.mley-law-guide-side-card:not(.mley-law-guide-side-card--links):not(.mley-law-guide-side-card--source) li a:hover,
.mley-law-guide-side-card:not(.mley-law-guide-side-card--links):not(.mley-law-guide-side-card--source) li a:focus {
  border-color: var(--border-color);
  background: var(--bg-surface-2);
  text-decoration: none;
}

.mley-law-guide-section-title {
  margin: 0 0 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--mley-guide-border-soft);
  color: var(--text-color);
  font-size: 1.15rem;
  line-height: 1.2;
}

.mley-law-guide-explore,
.mley-law-guide-faq {
  margin-top: 0;
}

.mley-law-guide-accordion-list {
  display: grid;
  gap: 0.65rem;
}

.mley-law-guide-accordion {
  overflow: hidden;
  border: 1px solid var(--mley-guide-border-soft);
  border-radius: 16px;
  background: var(--bg-surface);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.mley-law-guide-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  cursor: pointer;
  padding: 0.95rem 1rem;
  color: var(--text-color);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  list-style: none;
}

.mley-law-guide-accordion summary::-webkit-details-marker {
  display: none;
}

.mley-law-guide-accordion__icon {
  flex: 0 0 auto;
  width: 0.62rem;
  height: 0.62rem;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.mley-law-guide-accordion[open] .mley-law-guide-accordion__icon {
  transform: rotate(225deg);
}

.mley-law-guide-accordion > .mley-seo-markdown-body {
  padding: 1rem;
  border-top: 1px solid var(--mley-guide-border-soft);
  background: var(--bg-surface);
}

.mley-seo-markdown-body .table-responsive {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: var(--bg-surface);
}

.mley-seo-markdown-body .mley-seo-table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.82rem;
  line-height: 1.35;
}

.mley-seo-markdown-body .mley-seo-table th,
.mley-seo-markdown-body .mley-seo-table td {
  padding: 0.65rem 0.75rem;
  vertical-align: top;
  border-color: var(--border-color);
}

.mley-seo-markdown-body .mley-seo-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--bg-surface-2);
  color: var(--text-color);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mley-seo-markdown-body .mley-seo-table tbody tr:hover {
  background: rgba(37, 99, 235, 0.04);
}

.mley-law-guide-faq {
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  background: var(--bg-surface-2);
}

.mley-law-guide-footer {
  padding: 0.95rem 1.45rem;
  border-top: 1px solid var(--border-color);
  background: var(--bg-surface-2);
  color: var(--text-muted);
  font-size: 0.84rem;
  text-align: center;
}

@media only screen and (min-width: 1081px) {
  #contain_id.ley-content-shell {
    width: min(66vw, 900px) !important;
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  #contain_id.ley-content-shell .mley-detail-block,
  #contain_id.ley-content-shell .mley-detail-article-card {
    line-height: 1.6;
  }
}

@media only screen and (max-width: 860px) {
  .mley-law-guide-hero,
  .mley-law-guide-layout,
  .mley-law-guide-main,
  .mley-law-guide-card-grid,
  .mley-law-guide-analysis__grid {
    display: block;
  }

  .mley-law-guide-hero {
    padding: 1.1rem;
  }

  .mley-law-guide-quicknav {
    gap: 0.38rem;
    padding: 0.7rem 1rem;
  }

  .mley-law-guide-quicknav__label {
    font-size: 0.68rem;
  }

  .mley-law-guide-quicknav a {
    min-height: 2rem;
    padding: 0.42rem 0.66rem 0.42rem 0.9rem;
    border-radius: 12px;
    font-size: 0.76rem;
  }

  .mley-law-guide-quicknav a::before {
    left: 0.48rem;
    width: 0.28rem;
    height: 0.28rem;
  }

  .mley-law-guide-content {
    gap: 0.9rem;
    padding: 1rem;
  }

  .mley-law-guide-cluster__heading {
    display: block;
  }

  .mley-law-guide-cluster__heading span {
    display: block;
    margin-bottom: 0.3rem;
  }

  .mley-law-guide-hero__main {
    display: block;
  }

  .mley-law-guide-hero__action,
  .mley-law-guide-card,
  .mley-law-guide-side,
  .mley-law-guide-analysis,
  .mley-law-guide-analysis__item + .mley-law-guide-analysis__item {
    margin-top: 0.65rem;
  }

  .mley-law-guide-hero__action {
    width: 100%;
  }

  .mley-law-guide-card,
  .mley-law-guide-side-card,
  .mley-law-guide-analysis,
  .mley-law-guide-faq {
    padding: 0.85rem;
    border-radius: 16px;
  }

  .mley-law-guide-card--compact .mley-seo-markdown-body,
  .mley-law-guide-analysis__item .mley-seo-markdown-body {
    max-height: 14rem;
  }

  .mley-law-guide-card--definition .mley-seo-markdown-body {
    max-height: 18rem;
  }

  .mley-seo-markdown-body .mley-seo-table {
    min-width: 36rem;
    font-size: 0.78rem;
  }

  .mley-law-guide-side {
    position: static;
    top: auto;
  }

  .mley-law-guide-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media only screen and (max-width: 1080px) {
  #contain_id.ley-content-shell {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

:root[data-theme="dark"] .mley-detail-inline-link--article,
:root[data-theme="dark"] .mley-detail-inline-link[href*="/articulo/"],
:root[data-theme="dark"] .mley-detail-article-inline-badge {
  background: #5a9cff;
  color: #10263d;
}

:root[data-theme="dark"] .mley-detail-inline-link--article:hover,
:root[data-theme="dark"] .mley-detail-inline-link--article:focus,
:root[data-theme="dark"] .mley-detail-inline-link[href*="/articulo/"]:hover,
:root[data-theme="dark"] .mley-detail-inline-link[href*="/articulo/"]:focus,
:root[data-theme="dark"] .mley-detail-article-inline-badge:hover,
:root[data-theme="dark"] .mley-detail-article-inline-badge:focus {
  background: #83bdff;
  color: #10263d;
}

:root[data-theme="dark"] .mley-detail-inline-link {
  border-color: rgba(143, 193, 255, 0.22);
  color: #b6d5ff;
  background: rgba(143, 193, 255, 0.12);
}

:root[data-theme="dark"] .mley-seo-markdown--law {
  --mley-guide-border-soft: rgba(143, 193, 255, 0.14);
  --mley-guide-shadow: none;
  --mley-guide-shadow-soft: none;
  border-color: rgba(143, 193, 255, 0.14) !important;
}

:root[data-theme="dark"] .mley-law-guide-hero {
  background:
    radial-gradient(circle at top right, rgba(143, 193, 255, 0.2), transparent 34%),
    linear-gradient(135deg, #0b1220 0%, #17212b 100%);
}

:root[data-theme="dark"] .mley-law-guide-card,
:root[data-theme="dark"] .mley-law-guide-analysis,
:root[data-theme="dark"] .mley-law-guide-side-card,
:root[data-theme="dark"] .mley-law-guide-accordion,
:root[data-theme="dark"] .mley-law-guide-faq {
  border-color: var(--border-color);
}

:root[data-theme="dark"] .mley-law-guide-quicknav {
  border-color: var(--border-color);
  background:
    linear-gradient(180deg, rgba(11, 18, 32, 0.96), rgba(11, 18, 32, 0.86)),
    var(--bg-surface);
}

:root[data-theme="dark"] .mley-law-guide-quicknav__label {
  color: #93a9c4;
}

:root[data-theme="dark"] .mley-law-guide-quicknav a {
  border-color: rgba(143, 193, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(143, 193, 255, 0.1), rgba(143, 193, 255, 0.05));
  color: #d8e8ff;
}

:root[data-theme="dark"] .mley-law-guide-quicknav a:hover,
:root[data-theme="dark"] .mley-law-guide-quicknav a:focus {
  border-color: rgba(143, 193, 255, 0.28);
  box-shadow: none;
  color: #b6d5ff;
}

:root[data-theme="dark"] .mley-law-guide-summary,
:root[data-theme="dark"] .mley-law-guide-card,
:root[data-theme="dark"] .mley-law-guide-analysis,
:root[data-theme="dark"] .mley-law-guide-accordion {
  background: var(--bg-surface);
}

:root[data-theme="dark"] .mley-law-guide-side-card {
  border-color: rgba(143, 193, 255, 0.2);
  background: rgba(143, 193, 255, 0.12);
}

:root[data-theme="dark"] .mley-law-guide-side-card + .mley-law-guide-side-card {
  background: var(--bg-surface);
}

:root[data-theme="dark"] .mley-law-guide-analysis__item,
:root[data-theme="dark"] .mley-seo-markdown-body .table-responsive,
:root[data-theme="dark"] .mley-seo-markdown-body .mley-seo-table th {
  border-color: var(--border-color);
  background: var(--bg-surface-2);
}

:root[data-theme="dark"] .mley-law-guide-side-card--source {
  border-color: rgba(16, 185, 129, 0.2);
  background:
    linear-gradient(180deg, rgba(16, 185, 129, 0.1), transparent 72%),
    var(--bg-surface);
}

:root[data-theme="dark"] .mley-law-guide-side-card--explore {
  border-color: rgba(167, 139, 250, 0.22);
  background:
    linear-gradient(180deg, rgba(167, 139, 250, 0.11), transparent 72%),
    var(--bg-surface);
}

:root[data-theme="dark"] .mley-law-guide-side-card--links li a {
  color: #b6d5ff;
}

:root[data-theme="dark"] .mley-law-guide-related-more summary {
  color: #b6d5ff;
}

:root[data-theme="dark"] .mley-law-guide-side-card--source li a:hover,
:root[data-theme="dark"] .mley-law-guide-side-card--source li a:focus {
  border-color: rgba(143, 193, 255, 0.24);
  background: rgba(143, 193, 255, 0.12);
  color: #b6d5ff;
}

:root[data-theme="dark"] .mley-law-guide-graph-link {
  border-color: rgba(143, 193, 255, 0.28);
  background: #5a9cff;
  color: #10263d;
}

:root[data-theme="dark"] .mley-law-guide-graph-link:hover,
:root[data-theme="dark"] .mley-law-guide-graph-link:focus {
  background: #83bdff;
  color: #10263d;
}
