/* [project]/src/styles/pages/article-detail.css [app-client] (css) */
:root:has(.article-hero) .landing-header__bar {
  background: hsl(var(--background));
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid hsl(var(--border));
}

[data-portal="public"] {
  --article-chrome-top: 78px;
}

[data-portal="owner"], [data-portal="tenant"] {
  --article-chrome-top: 56px;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 24px 48px;
  overflow-x: hidden;
  box-sizing: border-box;
}

.article-layout > * {
  min-width: 0;
}

@media (width >= 1024px) {
  .article-layout {
    grid-template-columns: 1fr 340px;
    gap: 48px;
  }
}

.article-hero {
  background: var(--cat-bg, hsl(var(--portal-accent-bg)));
  padding: 48px 0 40px;
  transition: background var(--transition-normal);
}

.article-hero__inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.article-hero__content {
  flex: 1;
  min-width: 0;
}

.article-hero__key-points {
  flex-shrink: 0;
  width: 300px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  background: #ffffff8c;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid #fff6;
  box-shadow: 0 4px 20px #0000000f;
}

.dark .article-hero__key-points {
  background: #1118328c;
  border-color: #47557859;
  box-shadow: 0 4px 20px #00000040;
}

.article-hero__key-points-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--cat-color, hsl(var(--portal-accent)));
  margin-bottom: 14px;
}

.article-hero__key-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  line-height: 1.5;
  color: hsl(var(--foreground));
}

.article-hero__key-point + .article-hero__key-point {
  border-top: 1px solid hsl(var(--border) / .5);
}

.article-hero__key-point-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--cat-color, hsl(var(--portal-accent)));
  color: #fff;
  margin-top: 1px;
}

.article-hero__title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.12;
  margin-bottom: 12px;
  max-width: 720px;
  color: hsl(var(--foreground));
}

.article-hero__subtitle {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: hsl(var(--foreground-muted));
  max-width: 720px;
  margin-bottom: 16px;
}

.article-sticky-header {
  position: fixed;
  top: var(--article-chrome-top, 64px);
  left: 0;
  right: 0;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), opacity .2s;
  pointer-events: none;
}

.article-sticky-header--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.article-sticky-header__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  background: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
  box-shadow: 0 2px 12px #00000014;
}

.dark .article-sticky-header__inner {
  box-shadow: 0 2px 12px #0000004d;
}

.article-sticky-header__section {
  font-size: 14px;
  font-weight: 700;
  color: var(--cat-color, hsl(var(--portal-accent)));
}

.article-sticky-header__separator {
  color: hsl(var(--foreground-subtle));
  font-size: 12px;
  flex-shrink: 0;
}

.article-sticky-header__color-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.article-sticky-header__title {
  font-size: 14px;
  font-weight: 600;
  color: hsl(var(--foreground));
  flex-shrink: 1;
  min-width: 0;
}

.article-sticky-header__search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  color: hsl(var(--foreground-subtle));
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color .15s, color .15s;
}

.article-sticky-header__search-btn:hover {
  border-color: var(--cat-color, hsl(var(--portal-accent)));
  color: var(--cat-color, hsl(var(--portal-accent)));
}

.article-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 16px 24px;
  box-sizing: border-box;
  overflow-x: hidden;
}

@media (width <= 767px) {
  .article-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 16px;
  }
}

.back-to-top {
  position: fixed;
  bottom: 32px;
  left: 32px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full, 9999px);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  box-shadow: 0 4px 20px #0000001f;
  color: hsl(var(--foreground-subtle));
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .3s, transform .3s, color .15s, border-color .15s, box-shadow .15s;
}

.back-to-top--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  color: var(--cat-color, hsl(var(--portal-accent)));
  border-color: var(--cat-color, hsl(var(--portal-accent)));
  box-shadow: 0 4px 24px #00000026;
}

.dark .back-to-top {
  box-shadow: 0 4px 20px #00000059;
}

.article-search-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 560px;
  padding: 10px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  color: hsl(var(--foreground-subtle));
  cursor: pointer;
  font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
}

.article-search-trigger:hover {
  border-color: var(--cat-color, hsl(var(--portal-accent)));
  box-shadow: 0 0 0 3px hsl(var(--border) / .3);
}

.article-search-trigger__shortcut {
  margin-left: auto;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  background: hsl(var(--background-muted));
  color: hsl(var(--foreground-subtle));
}

.article-search-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10vh;
}

.article-search-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: #0000008c;
  animation: .2s article-search-fade-in;
}

@keyframes article-search-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.article-search-overlay__container {
  position: relative;
  width: 100%;
  max-width: 640px;
  padding: 0 16px;
  animation: .25s cubic-bezier(.16, 1, .3, 1) article-search-slide-down;
}

@keyframes article-search-slide-down {
  from {
    opacity: 0;
    transform: translateY(-16px)scale(.97);
  }

  to {
    opacity: 1;
    transform: translateY(0)scale(1);
  }
}

.article-search-overlay__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 20px;
  border-radius: var(--radius-lg);
}

.article-search-overlay__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  border: none;
  background: hsl(var(--background-muted));
  color: hsl(var(--foreground-muted));
  cursor: pointer;
  transition: background .15s, color .15s;
}

.article-search-overlay__close:hover {
  background: hsl(var(--background-subtle));
  color: hsl(var(--foreground));
}

.article-search-overlay__results {
  margin-top: 8px;
  border-radius: var(--radius-lg);
  padding: 8px;
  max-height: 50vh;
  overflow-y: auto;
}

.article-search-overlay__empty {
  padding: 24px 16px;
  text-align: center;
  font-size: 14px;
  color: hsl(var(--foreground-muted));
}

.article-search-overlay__section-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border: none;
  background: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
  transition: background .15s;
}

.article-search-overlay__section-item:hover {
  background: hsl(var(--background-muted));
}

.article-search-overlay__section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  flex-shrink: 0;
  background: var(--cat-bg, hsl(var(--portal-accent-bg)));
  color: var(--cat-color, hsl(var(--portal-accent)));
}

.article-search-overlay__section-info {
  flex: 1;
  min-width: 0;
}

.article-search-overlay__section-title {
  font-size: 14px;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 2px;
}

.article-search-overlay__section-excerpt {
  font-size: 12px;
  color: hsl(var(--foreground-muted));
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-search-overlay__highlight {
  background: hsl(var(--warning-light));
  color: hsl(var(--foreground));
  border-radius: 2px;
  padding: 0 2px;
  font-weight: 600;
}

.article-intro {
  margin-bottom: 32px;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: hsl(var(--foreground-muted));
}

.dark .article-intro {
  background: #1118328c;
  border-color: #47557859;
}

.article-intro__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--cat-color, hsl(var(--portal-accent)));
  margin-bottom: 10px;
}

.article-content {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
  min-width: 0;
}

.article-content h2 {
  font-size: 1.625rem;
  font-weight: 700;
  margin: 80px 0 16px;
  padding: 18px 24px;
  color: var(--cat-color, hsl(var(--portal-accent)));
  scroll-margin-top: 140px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--cat-color, hsl(var(--portal-accent)));
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  letter-spacing: -.01em;
  position: relative;
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content h2:before {
  display: none;
}

.article-content > p, .article-content > ul, .article-content > ol, .article-content > h3, .article-content > h4, .article-content > blockquote, .article-content > table, .article-content > pre, .article-content > .article-callout, .article-content > .article-callout-section, .article-content > .article-inline-callout {
  padding-left: 16px;
  padding-right: 8px;
  box-sizing: border-box;
  max-width: 100%;
}

.article-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 24px 0 8px;
  padding-bottom: 0;
  color: hsl(var(--foreground));
  border-bottom: none;
  scroll-margin-top: 140px;
}

.article-content h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 18px 0 6px;
  color: hsl(var(--foreground));
}

.article-content p {
  font-size: 1.0625rem;
  line-height: 1.6;
  margin-bottom: 8px;
  color: hsl(var(--foreground-muted));
}

.article-content ul {
  margin: 6px 0 10px 20px;
  color: hsl(var(--foreground-muted));
  line-height: 1.55;
  list-style: disc;
}

.article-content ol {
  margin: 6px 0 10px 20px;
  color: hsl(var(--foreground-muted));
  line-height: 1.55;
  list-style: decimal;
}

.article-content li {
  margin-bottom: 2px;
  padding-left: 4px;
}

.article-content li::marker {
  color: var(--cat-color, hsl(var(--portal-accent)));
}

.article-content strong {
  color: hsl(var(--foreground));
  font-weight: 700;
}

.article-content a {
  color: var(--cat-color, hsl(var(--portal-accent)));
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity var(--transition-fast);
}

.article-content a:hover {
  opacity: .8;
}

.article-content blockquote {
  margin: 18px 0;
  padding: 16px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--cat-color, hsl(var(--portal-accent)));
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: hsl(var(--foreground-muted));
}

.article-content table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: .9375rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-sizing: border-box;
}

.article-content th {
  background: var(--cat-bg, hsl(var(--portal-accent-bg)));
  color: hsl(var(--foreground));
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--cat-color, hsl(var(--portal-accent)));
}

.article-content td {
  padding: 12px 16px;
  border-bottom: 1px solid hsl(var(--border));
  color: hsl(var(--foreground-muted));
}

.article-content tr:hover td {
  background: hsl(var(--background-subtle));
}

.article-callout {
  display: flex;
  gap: 14px;
  margin: 16px 0;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.article-callout--tip {
  border-left: 3px solid hsl(var(--success));
  background: hsl(var(--success-light));
}

.article-callout--warning {
  border-left: 3px solid hsl(var(--warning));
  background: hsl(var(--warning-light));
}

.article-callout--danger {
  border-left: 3px solid hsl(var(--danger));
  background: hsl(var(--danger-light));
}

.article-callout--info {
  border-left: 3px solid hsl(var(--info));
  background: hsl(var(--info-light));
}

.article-callout__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
}

.article-callout__content {
  flex: 1;
  min-width: 0;
}

.article-callout__content p {
  margin-bottom: 0;
}

.article-inline-callout {
  display: flex;
  gap: 14px;
  margin: 16px 0;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid hsl(var(--border) / .5);
  background: color-mix(in srgb, var(--cat-color) 8%, transparent);
  border-left: 3px solid var(--cat-color, hsl(var(--portal-accent)));
}

.dark .article-inline-callout {
  background: color-mix(in srgb, var(--cat-color) 14%, transparent);
}

.article-inline-callout__icon {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  padding-top: 2px;
}

.article-inline-callout__icon svg {
  color: var(--cat-color, hsl(var(--portal-accent)));
}

.article-inline-callout__text, .article-inline-callout__content p {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}

.article-inline-callout__text strong, .article-inline-callout__content strong {
  color: var(--cat-color, hsl(var(--portal-accent)));
}

.article-inline-callout--important {
  background: color-mix(in srgb, var(--cat-color) 10%, transparent);
}

.dark .article-inline-callout--important {
  background: color-mix(in srgb, var(--cat-color) 16%, transparent);
}

.article-inline-callout--example {
  background: color-mix(in srgb, var(--cat-color) 8%, transparent);
}

.dark .article-inline-callout--example {
  background: color-mix(in srgb, var(--cat-color) 14%, transparent);
}

.article-inline-callout--resume {
  background: color-mix(in srgb, var(--cat-color) 8%, transparent);
  border-left-color: var(--cat-color, hsl(var(--portal-accent)));
}

.dark .article-inline-callout--resume {
  background: color-mix(in srgb, var(--cat-color) 14%, transparent);
}

@media (width <= 767px) {
  .article-inline-callout {
    padding: 12px 14px;
    gap: 10px;
    margin: 12px 0;
  }

  .article-inline-callout__icon svg {
    width: 18px;
    height: 18px;
  }
}

.article-callout-section {
  margin: 24px 0;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border: 1px solid hsl(var(--border) / .5);
}

.article-callout-section h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  margin-bottom: 12px;
  border-bottom: none;
  padding-bottom: 0;
  color: var(--cat-color, hsl(var(--portal-accent)));
}

.article-callout-section h3 svg {
  color: var(--cat-color, hsl(var(--portal-accent)));
  flex-shrink: 0;
}

.article-callout-section p:last-child, .article-callout-section ul:last-child, .article-callout-section ol:last-child {
  margin-bottom: 0;
}

.article-callout-section--tip, .article-callout-section--info, .article-callout-section--know, .article-callout-section--further {
  background: color-mix(in srgb, var(--cat-color) 8%, transparent);
  border-left: 3px solid var(--cat-color, hsl(var(--portal-accent)));
}

.dark .article-callout-section--tip, .dark .article-callout-section--info, .dark .article-callout-section--know, .dark .article-callout-section--further {
  background: color-mix(in srgb, var(--cat-color) 12%, transparent);
}

.article-resources-section {
  margin: 48px 0;
  padding: 28px;
  padding-left: 28px;
  border-radius: var(--radius-lg);
  background: none;
  border: none;
  border-left: 3px solid var(--cat-color, hsl(var(--portal-accent)));
}

.article-resources-section h2 {
  margin-top: 0;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  padding: 0 0 12px;
  border-radius: 0;
}

.article-resources-section h2:before {
  display: none;
}

.article-resources-section h3 {
  font-size: 1.0625rem;
}

.article-resources-section p, .article-resources-section ul, .article-resources-section ol, .article-resources-section li {
  font-size: 1.0625rem;
}

.dark .article-resources-section {
  background: none;
}

.article-content h2 + ul a, .article-content h2 + p + ul a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.article-content pre {
  margin: 24px 0;
  padding: 18px 22px;
  background: hsl(var(--background-muted));
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-size: .875rem;
  line-height: 1.6;
}

.article-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .875em;
  padding: 2px 6px;
  background: hsl(var(--background-muted));
  border-radius: var(--radius-sm);
  color: var(--cat-color, hsl(var(--portal-accent)));
}

.article-content pre code {
  padding: 0;
  background: none;
  color: hsl(var(--foreground));
}

.article-content img {
  max-width: 100%;
  border-radius: var(--radius-lg);
  margin: 28px 0;
  box-shadow: var(--shadow-md);
}

.article-youtube-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  margin: 28px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: hsl(var(--background-muted));
  box-shadow: var(--shadow-md);
}

.article-youtube-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.article-youtube-embed__preview {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-size: cover;
  background-position: center;
}

.article-youtube-embed__play {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: #000000b3;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, background .2s;
}

.article-youtube-embed__preview:hover .article-youtube-embed__play {
  transform: scale(1.1);
  background: #ff0000d9;
}

.article-content input[type="checkbox"] {
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid hsl(var(--border));
  border-radius: var(--radius-sm);
  background: hsl(var(--background));
  cursor: pointer;
  position: relative;
  vertical-align: middle;
  margin-right: 8px;
  transition: border-color .15s, background .15s;
}

.article-content input[type="checkbox"]:checked {
  border-color: var(--cat-color, hsl(var(--portal-accent)));
  background: var(--cat-color, hsl(var(--portal-accent)));
}

.article-content input[type="checkbox"]:checked:after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.article-related-cards {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid hsl(var(--border));
  scroll-margin-top: 140px;
}

.article-related-cards__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: hsl(var(--foreground));
}

.article-faq {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid hsl(var(--border));
  scroll-margin-top: 140px;
}

.article-faq__title {
  font-size: 1.625rem;
  font-weight: 800;
  margin-bottom: 24px;
  padding: 18px 24px;
  color: hsl(var(--foreground));
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--cat-color, hsl(var(--portal-accent)));
  border-radius: var(--radius-md);
  scroll-margin-top: 140px;
}

.article-toc-sticky {
  display: none;
}

@media (width >= 1024px) {
  .article-toc-sticky {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: calc(var(--article-chrome-top, 64px)  + 24px);
    max-height: calc(100vh - var(--article-chrome-top, 64px)  - 48px);
    background: hsl(var(--background));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius-lg);
    overflow: hidden;
  }

  .article-toc-sticky__title {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 20px 16px 12px;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--cat-color, hsl(var(--foreground-subtle)));
    border-bottom: 1px solid hsl(var(--border));
    flex-shrink: 0;
  }

  .article-toc-sticky__scroll {
    flex: 1;
    overflow-y: auto;
    padding: 12px 12px 20px 16px;
    margin-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: hsl(var(--border)) transparent;
  }

  .article-toc-sticky__scroll::-webkit-scrollbar {
    width: 4px;
  }

  .article-toc-sticky__scroll::-webkit-scrollbar-track {
    background: none;
    margin: 8px 0;
  }

  .article-toc-sticky__scroll::-webkit-scrollbar-thumb {
    background: hsl(var(--border));
    border-radius: 4px;
  }

  .article-toc-sticky__scroll::-webkit-scrollbar-thumb:hover {
    background: hsl(var(--foreground-subtle));
  }
}

.toc-sidebar-scroll {
  scrollbar-width: thin;
  scrollbar-color: hsl(var(--border)) transparent;
}

.toc-sidebar-scroll::-webkit-scrollbar {
  width: 4px;
}

.toc-sidebar-scroll::-webkit-scrollbar-track {
  background: none;
}

.toc-sidebar-scroll::-webkit-scrollbar-thumb {
  background: hsl(var(--border));
  border-radius: 4px;
}

.toc-sidebar-scroll::-webkit-scrollbar-thumb:hover {
  background: hsl(var(--foreground-subtle));
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-item {
  padding: 8px 14px;
  border-left: 2px solid hsl(var(--border));
  font-size: .8125rem;
  color: hsl(var(--foreground-subtle));
  cursor: pointer;
  transition: all .2s;
  display: block;
  text-decoration: none;
  line-height: 1.4;
}

.toc-item:hover {
  color: var(--cat-color, hsl(var(--portal-accent)));
  border-left-color: var(--cat-color, hsl(var(--portal-accent)));
}

.toc-item--active {
  color: var(--cat-color, hsl(var(--portal-accent)));
  border-left-color: var(--cat-color, hsl(var(--portal-accent)));
  font-weight: 600;
  background: var(--cat-bg, hsl(var(--portal-accent-bg)));
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.toc-sublist {
  list-style: none;
  padding: 0;
  margin: 2px 0 2px 16px;
}

.toc-subitem {
  padding: 5px 12px;
  border-left: 1px solid hsl(var(--border) / .5);
  font-size: .75rem;
  color: hsl(var(--foreground-subtle));
  cursor: pointer;
  transition: all .2s;
  display: block;
  text-decoration: none;
  line-height: 1.4;
}

.toc-subitem:hover {
  color: var(--cat-color, hsl(var(--portal-accent)));
  border-left-color: var(--cat-color, hsl(var(--portal-accent)));
}

.toc-subitem--active {
  color: var(--cat-color, hsl(var(--portal-accent)));
  border-left-color: var(--cat-color, hsl(var(--portal-accent)));
  font-weight: 500;
}

.reading-progress {
  position: fixed;
  top: var(--article-chrome-top, 64px);
  left: 0;
  width: 0;
  height: 3px;
  background: var(--cat-color, hsl(var(--portal-accent)));
  transition: width 50ms linear, left .2s;
  border-radius: 0 2px 2px 0;
}

@media (width >= 1024px) {
  [data-portal] .reading-progress, [data-portal] .article-sticky-header {
    left: var(--sidebar-width, 0px);
  }
}

.related-section {
  padding: 56px 0;
  background: hsl(var(--background-muted));
  transition: background var(--transition-normal);
}

.related-carousel {
  position: relative;
  overflow: hidden;
}

.related-carousel__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 0 8px;
}

.related-carousel__track::-webkit-scrollbar {
  display: none;
}

.related-carousel__card {
  flex: 0 0 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  text-decoration: none;
  display: block;
}

.related-carousel__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.related-carousel__thumb {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--related-cat-bg, hsl(var(--portal-accent-bg))), hsl(var(--background)));
}

.related-carousel__thumb svg {
  opacity: .4;
}

.related-carousel__badge {
  position: absolute;
  left: 12px;
  top: 12px;
}

.related-carousel__body {
  padding: 18px;
}

.related-carousel__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  color: hsl(var(--foreground));
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-carousel__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: hsl(var(--foreground-subtle));
}

.related-carousel__meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.related-carousel__nav {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  justify-content: center;
}

.related-carousel__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  color: hsl(var(--foreground-subtle));
  cursor: pointer;
  transition: all .2s;
}

.related-carousel__nav-btn:hover {
  border-color: var(--cat-color, hsl(var(--portal-accent)));
  color: var(--cat-color, hsl(var(--portal-accent)));
}

@media (width <= 1023px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .article-hero__inner {
    flex-direction: column;
    gap: 24px;
  }

  .article-hero__key-points {
    width: 100%;
  }

  .related-carousel__card {
    flex: 0 0 280px;
  }
}

@media (width <= 767px) {
  .article-hero {
    padding: 20px 0 16px;
  }

  .article-hero__title {
    font-size: 1.35rem;
    line-height: 1.2;
  }

  .article-hero__inner {
    gap: 16px;
  }

  .article-hero__key-points {
    display: none;
  }

  .article-hero__subtitle {
    font-size: .875rem;
    margin-bottom: 10px;
    line-height: 1.5;
  }

  .article-layout {
    padding: 16px 12px 32px;
    gap: 20px;
    overflow-x: hidden;
  }

  .article-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 12px;
  }

  .article-sticky-header__inner {
    padding: 8px 12px;
    gap: 8px;
  }

  .article-sticky-header__title {
    font-size: 13px;
  }

  .article-sticky-header__section {
    display: none;
  }

  .article-sticky-header__separator {
    display: none;
  }

  .article-sticky-header__search-btn {
    width: 30px;
    height: 30px;
  }

  .article-search-bar {
    padding: 0 12px;
    margin-top: 12px;
  }

  .back-to-top {
    bottom: 80px;
    left: 16px;
    width: 38px;
    height: 38px;
  }

  .article-search-trigger {
    max-width: 100%;
    padding: 8px 12px;
    font-size: 13px;
    gap: 8px;
  }

  .article-search-trigger__shortcut {
    display: none;
  }

  .article-search-overlay {
    padding-top: 12px;
  }

  .article-search-overlay__container {
    padding: 0 12px;
  }

  .article-search-overlay__bar {
    padding: 4px 4px 4px 14px;
    gap: 8px;
  }

  .article-search-overlay__results {
    max-height: 70vh;
  }

  .article-search-overlay__section-item {
    padding: 10px;
    gap: 10px;
  }

  .article-search-overlay__section-icon {
    width: 28px;
    height: 28px;
  }

  .article-search-overlay__section-title {
    font-size: 13px;
  }

  .article-search-overlay__section-excerpt {
    font-size: 11px;
    -webkit-line-clamp: 1;
  }

  .article-intro {
    padding: 14px 12px;
    margin-bottom: 20px;
    font-size: .875rem;
    line-height: 1.6;
  }

  .article-intro__label {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .article-content {
    max-width: 100%;
  }

  .article-content h2 {
    font-size: 1.1rem;
    margin: 40px 0 10px;
    padding: 10px 12px;
    scroll-margin-top: 110px;
  }

  .article-content > p, .article-content > ul, .article-content > ol, .article-content > h3, .article-content > h4, .article-content > blockquote, .article-content > table, .article-content > pre, .article-content > .article-callout, .article-content > .article-callout-section, .article-content > .article-inline-callout {
    padding-left: 8px;
    padding-right: 4px;
  }

  .article-callout-section {
    padding: 12px 14px;
    margin: 14px 0;
  }

  .article-resources-section {
    margin: 24px 0;
    padding: 16px 14px;
  }

  .article-content h3 {
    font-size: 1rem;
    margin: 16px 0 6px;
    scroll-margin-top: 110px;
  }

  .article-content h4 {
    font-size: .9375rem;
    margin: 12px 0 4px;
  }

  .article-content p {
    font-size: .875rem;
    line-height: 1.55;
    margin-bottom: 6px;
  }

  .article-content ul, .article-content ol {
    margin: 4px 0 8px 14px;
    line-height: 1.5;
    font-size: .875rem;
  }

  .article-content li {
    margin-bottom: 2px;
  }

  .article-content blockquote {
    margin: 16px 0;
    padding: 12px 14px;
    font-size: .875rem;
  }

  .article-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: .8125rem;
    max-width: calc(100vw - 24px);
  }

  .article-content th, .article-content td {
    padding: 8px 10px;
    white-space: nowrap;
  }

  .article-content pre {
    margin: 12px 0;
    padding: 12px 14px;
    font-size: .8125rem;
    max-width: 100%;
    overflow-x: auto;
  }

  .article-content img {
    margin: 16px 0;
    border-radius: var(--radius);
    max-width: 100%;
    height: auto;
  }

  .article-callout {
    padding: 12px 14px;
    gap: 8px;
    margin: 14px 0;
  }

  .article-callout__icon {
    width: 18px;
    height: 18px;
  }

  .article-youtube-embed {
    margin: 16px 0;
    border-radius: var(--radius);
  }

  .article-youtube-embed__play {
    width: 48px;
    height: 48px;
  }

  .article-content input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 6px;
  }

  .article-content input[type="checkbox"]:checked:after {
    left: 3px;
    top: 0;
    width: 5px;
    height: 9px;
  }

  .article-faq {
    margin-top: 24px;
    padding-top: 20px;
    scroll-margin-top: 110px;
  }

  .article-faq__title {
    font-size: 1.1rem;
    padding: 10px 12px;
    margin-bottom: 12px;
    scroll-margin-top: 110px;
  }

  .article-related-cards {
    margin-top: 32px;
    padding-top: 24px;
  }

  .article-related-cards__title {
    font-size: 1.05rem;
    margin-bottom: 14px;
  }

  .toc-item {
    padding: 7px 12px;
    font-size: .75rem;
  }

  .toc-sublist {
    margin-left: 12px;
  }

  .toc-subitem {
    padding: 4px 10px;
    font-size: .6875rem;
  }

  .related-section {
    padding: 28px 0;
  }

  .related-carousel__track {
    gap: 12px;
  }

  .related-carousel__card {
    flex: 0 0 220px;
  }

  .related-carousel__thumb {
    height: 100px;
  }

  .related-carousel__body {
    padding: 12px;
  }

  .related-carousel__title {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .related-carousel__meta {
    font-size: 11px;
    gap: 8px;
  }

  .related-carousel__nav {
    margin-top: 10px;
  }

  .related-carousel__nav-btn {
    width: 32px;
    height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-search-overlay__backdrop, .article-search-overlay__container {
    animation: none;
  }

  .article-sticky-header {
    transition: none;
  }
}


/* [project]/src/styles/pages/academie-legacy.css [app-client] (css) */
.library-hero {
  background: linear-gradient(170deg, hsl(var(--portal-accent) / .12) 0%, hsl(var(--portal-accent) / .05) 40%, hsl(var(--background)) 100%);
  padding: 32px 24px 24px;
  position: relative;
  overflow: hidden;
  transition: background var(--transition-normal);
}

.library-hero__glow {
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(ellipse, hsl(var(--portal-accent) / .15) 0%, hsl(var(--portal-accent) / .04) 50%, transparent 75%);
  pointer-events: none;
}

.library-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: hsl(var(--portal-accent));
  margin-bottom: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.library-hero__title {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.08;
  margin-bottom: 10px;
  color: hsl(var(--foreground));
}

.library-hero__title--accent {
  background: linear-gradient(135deg, hsl(var(--portal-accent)), hsl(var(--portal-accent) / .65));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.library-hero__cursor {
  display: inline-block;
  width: 2px;
  height: .85em;
  background: hsl(var(--portal-accent));
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: .75s step-end infinite blink-cursor;
}

@keyframes blink-cursor {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.library-hero__subtitle {
  font-size: 15px;
  color: hsl(var(--foreground-muted));
  max-width: 560px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.library-hero__subtitle--highlight {
  color: hsl(var(--portal-accent));
  font-weight: 700;
}

.library-hero__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.library-hero__features {
  display: flex;
  align-items: center;
  gap: 20px;
}

.library-hero__feature {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: hsl(var(--foreground-muted));
}

.library-hero__feature svg {
  color: hsl(var(--portal-accent));
}

.library-hero__search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 300px;
  max-width: 360px;
  padding: 10px 16px;
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  transition: box-shadow .2s, transform .2s;
}

.library-hero__search:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.library-hero__search-placeholder {
  flex: 1;
  text-align: left;
  font-size: 14px;
  color: hsl(var(--foreground-subtle));
}

.library-section__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.library-section__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  color: hsl(var(--portal-accent));
}

.library-section__title {
  font-size: 18px;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.marquee {
  overflow: hidden;
  background: linear-gradient(180deg, transparent 0%, hsl(var(--portal-accent) / .06) 20%, hsl(var(--portal-accent) / .06) 80%, transparent 100%);
  border-radius: var(--radius-lg);
  padding: 14px 0;
  mask-image: linear-gradient(to right, #0000, #000 5% 95%, #0000);
  -webkit-mask-image: linear-gradient(to right, #0000, #000 5% 95%, #0000);
}

.marquee .marquee__card.glass {
  background: hsl(var(--background-elevated));
}

.marquee__track {
  display: flex;
  gap: 14px;
  width: -moz-max-content;
  width: max-content;
  animation: 35s linear infinite marquee-scroll;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.marquee__card {
  flex: 0 0 260px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}

.marquee__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.marquee__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  background: var(--cat-bg);
  color: var(--cat-color);
  transition: transform .2s;
}

.marquee__card:hover .marquee__icon {
  transform: scale(1.05);
}

.marquee__body {
  flex: 1;
  min-width: 0;
}

.marquee__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--cat-color);
  margin-bottom: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.marquee__tagline {
  font-size: 12px;
  color: hsl(var(--foreground-subtle));
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.category-grid__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s;
}

.category-grid__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px #1e3a8a1f;
}

.category-grid__card-link {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.category-grid__card > :not(.category-grid__card-link) {
  position: relative;
  z-index: 1;
}

.category-grid__banner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: var(--cat-color);
  color: #fff;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), opacity .2s;
}

.category-grid__card:hover .category-grid__banner {
  transform: translateY(0);
  opacity: 1;
}

.category-grid__banner-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-grid__icon-default {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  margin-bottom: 14px;
  background: var(--cat-bg);
  color: var(--cat-color);
  transition: opacity .2s;
}

.category-grid__card:hover .category-grid__icon-default {
  opacity: 0;
}

.category-grid__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.category-grid__name {
  font-size: 16px;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 8px;
  transition: opacity .2s, max-height .2s;
}

.category-grid__card:hover .category-grid__name {
  opacity: 0;
  max-height: 0;
  margin-bottom: 0;
  overflow: hidden;
}

.category-grid__desc {
  font-size: 14px;
  color: hsl(var(--foreground-muted));
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: font-weight .2s;
}

.category-grid__card:hover .category-grid__desc {
  -webkit-line-clamp: unset;
  display: block;
  font-weight: 600;
}

.category-grid__preview {
  list-style: none;
  padding: 10px 0 0;
  margin: 10px 0 0;
  border-top: 1px solid hsl(var(--border) / .5);
  display: grid;
  gap: 2px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .3s cubic-bezier(.16, 1, .3, 1), opacity .25s;
}

.category-grid__card:hover .category-grid__preview {
  max-height: 200px;
  opacity: 1;
}

.category-grid__preview-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: hsl(var(--foreground-subtle));
  padding-bottom: 4px;
}

.category-grid__preview-link {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: hsl(var(--foreground-muted));
  text-decoration: none;
  padding: 5px 0;
  border-radius: var(--radius-sm, 4px);
  line-height: 1.3;
  transition: background .15s, color .15s;
}

.category-grid__preview-link svg {
  color: var(--cat-color);
}

.category-grid__preview-link:hover {
  background: hsl(var(--background-muted));
  color: hsl(var(--foreground));
  padding-left: 8px;
  padding-right: 8px;
}

.category-grid__preview-link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-grid__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--cat-color);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-top: 0;
  margin-top: 0;
  border-top: 1px solid #0000;
  transition: max-height .3s cubic-bezier(.16, 1, .3, 1), opacity .4s .3s, padding-top .3s, margin-top .3s, border-color .3s;
}

.category-grid__card:hover .category-grid__cta {
  max-height: 48px;
  opacity: 1;
  padding-top: 10px;
  margin-top: 10px;
  border-color: hsl(var(--border) / .5);
}

.category-hub__hero {
  padding: 32px 24px 28px;
  background: var(--cat-bg);
  transition: background var(--transition-normal);
}

.category-hub__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: hsl(var(--foreground-muted));
  text-decoration: none;
  margin-bottom: 20px;
  transition: color .15s;
}

.category-hub__back:hover {
  color: hsl(var(--foreground));
}

.category-hub__layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.category-hub__main {
  flex: 1;
  min-width: 0;
}

.category-hub__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  margin-left: -4px;
}

.category-hub__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  flex-shrink: 0;
  background: var(--cat-bg);
  color: var(--cat-color);
}

.category-hub__title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--cat-color);
}

.category-hub__desc {
  font-size: 16px;
  color: hsl(var(--foreground-muted));
  line-height: 1.7;
  max-width: 580px;
}

.category-hub__highlight {
  color: var(--cat-color);
  font-weight: 700;
}

.category-hub__badge {
  background: var(--cat-color);
  color: #fff;
  border: none;
}

.category-hub__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.category-hub__search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  width: 50%;
  flex-shrink: 0;
  height: 42px;
  border-radius: var(--radius-full);
  transition: box-shadow .2s, transform .2s;
}

.category-hub__search-bar:focus-within {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.category-hub__filters {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 6px;
  height: 42px;
}

.category-hub__filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  height: 36px;
  color: hsl(var(--foreground-muted));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-full);
  padding: 0 16px;
  transition: color .15s, border-color .15s, background .15s;
}

.category-hub__filter-btn:hover {
  background: hsl(var(--background-muted));
  color: hsl(var(--foreground));
}

.category-hub__filter-btn--active {
  font-weight: 700;
  color: var(--cat-color);
  border-color: var(--cat-color);
  background: hsl(var(--background-elevated));
  border-width: 1.5px;
}

.category-hub__objectives {
  flex-shrink: 0;
  width: 280px;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid hsl(var(--border) / .5);
}

.category-hub__objectives-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.category-hub__objectives-header svg {
  color: var(--cat-color);
}

.category-hub__objectives-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--cat-color);
}

.category-hub__objectives-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.category-hub__objectives-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: hsl(var(--foreground-muted));
  line-height: 1.5;
}

.category-hub__objectives-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
  background: var(--cat-color);
}

.article-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.article-card__thumb {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, hsl(var(--portal-accent) / .12), hsl(var(--portal-accent) / .04));
  transition: background var(--transition-normal);
}

.article-card--category .article-card__thumb {
  background: linear-gradient(135deg, var(--cat-bg), hsl(var(--background)));
}

.article-card--category .article-card__thumb svg {
  color: var(--cat-color);
  opacity: .5;
}

.article-card__body {
  padding: 18px;
}

.article-card__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 6px;
  color: hsl(var(--foreground));
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__excerpt {
  font-size: 13px;
  color: hsl(var(--foreground-muted));
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
  line-height: 1.5;
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: hsl(var(--foreground-subtle));
}

.article-card__meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.article-card__views {
  margin-left: auto;
}

.skeleton-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.skeleton-card__thumb {
  width: 100%;
  height: 160px;
  background: hsl(var(--background-muted));
  animation: 1.5s ease-in-out infinite shimmer;
}

.skeleton-card__body {
  padding: 18px;
}

.skeleton-card__line {
  height: 14px;
  margin-bottom: 10px;
  border-radius: 4px;
  background: hsl(var(--background-muted));
  animation: 1.5s ease-in-out infinite shimmer;
}

.skeleton-card__line--short {
  width: 60%;
}

.skeleton-card__line--xs {
  width: 40%;
  height: 10px;
}

@keyframes shimmer {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: .5;
  }
}

.search-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10vh;
}

.search-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: #0000008c;
  animation: .2s search-fade-in;
}

@keyframes search-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.search-overlay__container {
  position: relative;
  width: 100%;
  max-width: 640px;
  padding: 0 16px;
  animation: .25s cubic-bezier(.16, 1, .3, 1) search-slide-down;
}

@keyframes search-slide-down {
  from {
    opacity: 0;
    transform: translateY(-16px)scale(.97);
  }

  to {
    opacity: 1;
    transform: translateY(0)scale(1);
  }
}

.search-overlay__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 20px;
  border-radius: var(--radius-lg);
}

.search-overlay__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  border: none;
  background: hsl(var(--background-muted));
  color: hsl(var(--foreground-muted));
  cursor: pointer;
  transition: background .15s, color .15s;
}

.search-overlay__close:hover {
  background: hsl(var(--background-subtle));
  color: hsl(var(--foreground));
}

.search-overlay__results {
  margin-top: 8px;
  border-radius: var(--radius-lg);
  padding: 8px;
  max-height: 50vh;
  overflow-y: auto;
}

.search-overlay__empty {
  padding: 24px 16px;
  text-align: center;
  font-size: 14px;
  color: hsl(var(--foreground-muted));
}

.search-overlay__section {
  padding: 4px 0;
}

.search-overlay__section + .search-overlay__section {
  border-top: 1px solid hsl(var(--border));
  margin-top: 4px;
  padding-top: 8px;
}

.search-overlay__section-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: hsl(var(--foreground-subtle));
  padding: 4px 12px 6px;
}

.search-overlay__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
  transition: background .15s;
}

.search-overlay__item:hover {
  background: hsl(var(--background-muted));
}

.search-overlay__item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  flex-shrink: 0;
  background: var(--cat-bg);
  color: var(--cat-color);
}

.search-overlay__item-text {
  font-size: 14px;
  color: hsl(var(--foreground));
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-overlay__item-text--category {
  color: var(--cat-color);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .search-overlay__backdrop, .search-overlay__container {
    animation: none;
  }
}

@media (width <= 1023px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (width <= 767px) {
  .library-hero {
    padding: 24px 16px 20px;
  }

  .library-hero__title {
    font-size: 28px;
  }

  .library-hero__subtitle {
    font-size: 14px;
  }

  .library-hero__row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .library-hero__features {
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .library-hero__search {
    min-width: 0;
    max-width: 100%;
  }

  .marquee {
    padding: 10px 0;
  }

  .marquee__card {
    flex: 0 0 220px;
    padding: 12px 14px;
    gap: 10px;
  }

  .marquee__icon {
    width: 36px;
    height: 36px;
  }

  .marquee__name {
    font-size: 13px;
  }

  .marquee__tagline {
    font-size: 11px;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .category-grid__card {
    padding: 16px;
  }

  .category-grid__banner {
    display: none;
  }

  .category-grid__card:hover .category-grid__icon-default {
    opacity: 1;
  }

  .category-grid__icon-default {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
  }

  .category-grid__card:hover .category-grid__name {
    opacity: 1;
    max-height: none;
    margin-bottom: 8px;
  }

  .category-grid__name {
    font-size: 15px;
  }

  .category-grid__desc {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }

  .category-grid__card:hover .category-grid__desc {
    -webkit-line-clamp: 2;
    display: -webkit-box;
    font-weight: normal;
  }

  .category-grid__preview {
    display: none;
  }

  .category-grid__cta {
    display: none;
  }

  .library-section__title {
    font-size: 16px;
  }

  .library-section__icon {
    width: 28px;
    height: 28px;
  }

  .category-hub__hero {
    padding: 24px 16px 20px;
  }

  .category-hub__layout {
    flex-direction: column;
    gap: 20px;
  }

  .category-hub__heading {
    gap: 10px;
  }

  .category-hub__title {
    font-size: 22px;
  }

  .category-hub__icon {
    width: 36px;
    height: 36px;
  }

  .category-hub__desc {
    font-size: 14px;
  }

  .category-hub__toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .category-hub__search-bar {
    flex: 100%;
    width: 100%;
  }

  .category-hub__filters {
    flex-wrap: wrap;
    gap: 8px;
  }

  .category-hub__filter-btn {
    font-size: 12px;
    padding: 0 12px;
    height: 32px;
  }

  .category-hub__objectives {
    width: 100%;
  }

  .search-overlay {
    padding-top: 16px;
  }

  .search-overlay__container {
    padding: 0 12px;
  }

  .search-overlay__results {
    max-height: 65vh;
  }

  .article-card__thumb {
    height: 120px;
  }

  .article-card__body {
    padding: 14px;
  }

  .article-card__title {
    font-size: 14px;
  }

  .article-card__excerpt {
    font-size: 12px;
    -webkit-line-clamp: 2;
  }

  .article-card__meta {
    font-size: 11px;
    gap: 8px;
  }
}


/* [project]/src/styles/pages/academie.css [app-client] (css) */
.projects-v3.library-v3 {
  --hymo-red: #27684d;
  --hymo-red-2: #1b503d;
  --hymo-red-3: #388a61;
  --hymo-red-soft: #e7f3ed;
  --hymo-red-soft-2: #d5ebe0;
  --hymo-red-line: #b1d3c2;
  --hymo-red-faint: #f5faf7;
  --hymo-red-glow: #246b4d38;
  --hymo-red-halo: #246b4d52;
  --hymo-red-accent: #32854e;
  --hymo-grad-accent: var(--hymo-red);
  --hymo-grad-accent-kpi: var(--hymo-red);
  --hymo-grad-bar: var(--hymo-red);
}

.projects-v3.library-v3 .hero-row {
  margin-bottom: 64px;
}

.projects-v3.library-v3 .greet-title {
  text-wrap: balance;
}

.projects-v3.library-v3 .hero-left {
  gap: 20px;
}

.projects-v3.library-v3 .hero-left > .greet {
  margin-bottom: 8px;
}

.projects-v3.library-v3 .sec {
  margin-bottom: 72px;
}

@media (width <= 1023px) {
  .projects-v3.library-v3 .hero-row {
    margin-bottom: 48px;
  }

  .projects-v3.library-v3 .sec {
    margin-bottom: 56px;
  }
}

@media (width <= 767px) {
  .projects-v3.library-v3 .hero-row {
    margin-bottom: 36px;
  }

  .projects-v3.library-v3 .sec {
    margin-bottom: 48px;
  }
}

.library-v3 .lib-v3-search {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 560px;
  padding: 13px 18px;
  margin-bottom: 40px;
  border-radius: 15px;
  border: 1px solid var(--hymo-glass-border-light);
  background: var(--hymo-glass-strong);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--hymo-shadow-glass);
  cursor: pointer;
  transition: all var(--hymo-t) var(--hymo-ease);
}

.library-v3 .lib-v3-search:hover {
  box-shadow: var(--hymo-shadow-glass-hover);
}

.library-v3 .lib-v3-search svg {
  width: 16px;
  height: 16px;
  color: var(--hymo-red);
  flex-shrink: 0;
}

.library-v3 .lib-v3-search__placeholder {
  flex: 1;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: var(--hymo-fg-3);
}

.library-v3 .lib-v3-search kbd {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 7px;
  background: var(--hymo-surface);
  border: 1px solid var(--hymo-border);
  box-shadow: 0 1px 0 var(--hymo-border);
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 11px;
  color: var(--hymo-fg-3);
  white-space: nowrap;
}

@media (width <= 767px) {
  .library-v3 .lib-v3-search {
    margin-bottom: 28px;
  }

  .library-v3 .lib-v3-search kbd {
    display: none;
  }
}

.library-v3 .lib-cat {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (width <= 1023px) {
  .library-v3 .lib-cat {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width <= 600px) {
  .library-v3 .lib-cat {
    grid-template-columns: 1fr;
  }
}

.library-v3 .lib-cat__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  cursor: pointer;
  background: var(--hymo-glass-strong);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--hymo-glass-border-light);
  box-shadow: var(--hymo-shadow-glass);
  overflow: hidden;
  isolation: isolate;
  transition: transform .28s var(--hymo-ease), box-shadow .28s var(--hymo-ease);
}

.library-v3 .lib-cat__card:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(60% 80% at 100% 0, #cfe8db38, #0000 70%);
  z-index: -1;
  pointer-events: none;
}

.library-v3 .lib-cat__card:hover {
  box-shadow: var(--hymo-shadow-glass-hover);
}

.library-v3 .lib-cat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--hymo-red-soft);
  color: var(--hymo-red);
  border: 1px solid var(--hymo-red-line);
  flex-shrink: 0;
  margin-bottom: 4px;
  transition: transform .28s var(--hymo-ease);
}

.library-v3 .lib-cat__icon svg {
  width: 18px;
  height: 18px;
}

.library-v3 .lib-cat__card:hover .lib-cat__icon {
  transform: scale(1.06);
}

.library-v3 .lib-cat__name {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -.012em;
  color: var(--hymo-fg);
  line-height: 1.25;
  margin: 0;
}

.library-v3 .lib-cat__desc {
  font-size: 13px;
  color: var(--hymo-fg-3);
  line-height: 1.45;
  margin: 0;
}

.library-v3 .lib-cat__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--hymo-red);
  transition: gap var(--hymo-t) var(--hymo-ease);
}

.library-v3 .lib-cat__cta svg {
  width: 13px;
  height: 13px;
}

.library-v3 .lib-cat__card:hover .lib-cat__cta {
  gap: 10px;
}

.library-v3 .back-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  height: 54px;
  width: 54px;
  padding: 0;
  color: var(--hymo-red);
  background: var(--hymo-glass-2);
  border: 1px solid var(--hymo-border);
  border-radius: 999px;
  cursor: pointer;
  transition: all .42s cubic-bezier(.2, .8, .2, 1);
  text-decoration: none;
  overflow: hidden;
  white-space: nowrap;
  font-family: inherit;
  box-shadow: inset 0 1.5px #ffffffb3, inset 0 -1px #fff3, inset 1px 0 #ffffff40, inset -1px 0 #ffffff40, 0 1px 2px #1c543d1a, 0 12px 28px -10px #1c543d38;
  isolation: isolate;
}

.library-v3 .back-arrow {
  justify-content: center;
}

.library-v3 .back-arrow svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (width <= 767px) {
  .library-v3 .back-arrow {
    height: 42px;
    width: 42px;
  }

  .library-v3 .back-arrow svg {
    width: 17px;
    height: 17px;
  }
}

.library-v3 .back-arrow .back-arrow-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--hymo-red);
  letter-spacing: -.005em;
  max-width: 0;
  opacity: 0;
  transition: max-width .42s var(--hymo-ease), opacity .25s ease, margin .42s var(--hymo-ease);
}

.library-v3 .back-arrow:hover {
  width: 200px;
  border-color: var(--hymo-border-strong);
  color: var(--hymo-red);
  background: var(--hymo-red-soft);
  box-shadow: inset 0 1.5px #ffffffd9, inset 0 -1px #ffffff40, inset 1px 0 #ffffff4d, inset -1px 0 #ffffff4d, 0 1px 2px #1c543d24, 0 18px 36px -10px #1c543d5c;
}

.library-v3 .back-arrow:hover .back-arrow-label {
  max-width: 172px;
  opacity: 1;
  margin: 0 0 0 9px;
}

.library-v3 .lib-cathub {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}

@media (width <= 1199px) {
  .library-v3 .lib-cathub {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 32px;
  }
}

@media (width <= 1023px) {
  .library-v3 .lib-cathub {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.library-v3 .lib-cathub__title-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}

.library-v3 .lib-cathub__title-row .lib-cathub__icon {
  margin-top: 4px;
}

.library-v3 .lib-cathub__title-row .greet-title {
  margin-bottom: 0;
}

.library-v3 .lib-cathub__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 17px;
  color: var(--hymo-red);
  background: linear-gradient(0deg, #27684d12, #27684d12), linear-gradient(135deg, #ffffffc7 0%, #ffffff80 100%);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1.5px solid #fff9;
  box-shadow: inset 0 1.5px #ffffffb3, 0 1px 2px #1c543d14, 0 10px 24px -12px #1c543d40;
}

.library-v3 .lib-cathub__icon svg {
  width: 25px;
  height: 25px;
}

@media (width <= 767px) {
  .library-v3 .lib-cathub__title-row {
    gap: 12px;
  }

  .library-v3 .lib-cathub__icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .library-v3 .lib-cathub__icon svg {
    width: 20px;
    height: 20px;
  }
}

.library-v3 .lib-cathub__objectives {
  align-self: end;
  padding: 22px 24px;
  border-radius: 18px;
  background: linear-gradient(0deg, #27684d0a, #27684d0a), linear-gradient(0deg, #ffffff40, #ffffff40), var(--hymo-glass-strong);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--hymo-glass-border-light);
  box-shadow: var(--hymo-shadow-glass);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.library-v3 .lib-cathub__objectives:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(60% 80% at 100% 0, #cfe8db47, #0000 70%);
  z-index: -1;
  pointer-events: none;
}

.library-v3 .lib-cathub__objectives-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--hymo-red);
  margin-bottom: 10px;
}

.library-v3 .lib-cathub__objectives-head svg {
  width: 14px;
  height: 14px;
}

.library-v3 .lib-cathub__objectives ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.library-v3 .lib-cathub__objective {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--hymo-fg-2);
}

.library-v3 .lib-cathub__objective + .lib-cathub__objective {
  border-top: 1px solid var(--hymo-border);
}

.library-v3 .lib-cathub__objective-check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 7px;
  background: var(--hymo-red-soft);
  border: 1px solid var(--hymo-red-line);
  color: var(--hymo-red);
}

.library-v3 .lib-cathub__objective-check svg {
  width: 11px;
  height: 11px;
}

.projects-v3-sort-menu.lib-sort-menu {
  --hymo-red: #27684d;
  --hymo-red-2: #1b503d;
  --hymo-red-3: #388a61;
  --hymo-red-soft: #e7f3ed;
  --hymo-red-soft-2: #d5ebe0;
  --hymo-red-line: #b1d3c2;
  --hymo-red-faint: #f5faf7;
  --hymo-red-glow: #246b4d38;
  --hymo-red-halo: #246b4d52;
  --hymo-red-accent: #32854e;
}

.library-v3 .toolbar {
  margin-bottom: 18px;
}

.library-v3 .toolbar .tb-search {
  flex: 260px;
  max-width: 460px;
}

@media (width <= 640px) {
  .library-v3 .toolbar .tb-search {
    flex-basis: 100%;
    max-width: none;
  }
}

.library-v3 .lib-result-note {
  margin: 0 0 14px;
  font-size: 12.5px;
  color: var(--hymo-fg-3);
}

.library-v3 .lib-art-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (width <= 1023px) {
  .library-v3 .lib-art-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width <= 767px) {
  .library-v3 .lib-art-grid {
    grid-template-columns: 1fr;
  }
}

.library-v3 .lib-art {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border-radius: 18px;
  background: var(--hymo-glass-strong);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--hymo-glass-border-light);
  box-shadow: var(--hymo-shadow-glass);
  overflow: hidden;
  isolation: isolate;
  transition: transform .28s var(--hymo-ease), box-shadow .28s var(--hymo-ease);
  animation: lib-art-in .46s var(--hymo-ease) both;
  animation-delay: var(--enter-delay, 0s);
}

@keyframes lib-art-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .library-v3 .lib-art {
    animation: none;
  }
}

.library-v3 .lib-art:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(60% 80% at 100% 0, #cfe8db38, #0000 70%);
  z-index: -1;
  pointer-events: none;
}

.library-v3 .lib-art:hover {
  box-shadow: var(--hymo-shadow-glass-hover);
}

.library-v3 .lib-art__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--hymo-red-soft);
  color: var(--hymo-red);
  border: 1px solid var(--hymo-red-line);
  flex-shrink: 0;
  margin-bottom: 4px;
  transition: transform .28s var(--hymo-ease);
}

.library-v3 .lib-art__icon svg {
  width: 17px;
  height: 17px;
}

.library-v3 .lib-art:hover .lib-art__icon {
  transform: scale(1.06);
}

.library-v3 .lib-art__title {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -.012em;
  color: var(--hymo-fg);
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.library-v3 .lib-art__excerpt {
  font-size: 13px;
  color: var(--hymo-fg-3);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.library-v3 .lib-art__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 2px;
  font-size: 12px;
  color: var(--hymo-fg-4);
}

.library-v3 .lib-art__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-variant-numeric: tabular-nums;
}

.library-v3 .lib-art__meta svg {
  width: 12px;
  height: 12px;
}

.library-v3 .lib-art__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--hymo-red);
  transition: gap var(--hymo-t) var(--hymo-ease);
}

.library-v3 .lib-art__cta svg {
  width: 13px;
  height: 13px;
}

.library-v3 .lib-art:hover .lib-art__cta {
  gap: 10px;
}

.library-v3 .lib-art--skeleton {
  pointer-events: none;
}

.library-v3 .lib-art__line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--hymo-surface-2) 25%, var(--hymo-surface) 50%, var(--hymo-surface-2) 75%);
  background-size: 200% 100%;
  animation: 1.4s infinite lib-shimmer;
}

.library-v3 .lib-art__line--short {
  width: 70%;
}

.library-v3 .lib-art__line--xs {
  width: 45%;
  margin-bottom: 20px;
}

@keyframes lib-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .library-v3 .lib-art__line {
    animation: none;
  }
}

.search-overlay--library .search-overlay__item-icon {
  background: #e7f3ed;
  color: #27684d;
}

.search-overlay--library .search-overlay__item-text--category {
  color: #27684d;
}

.search-overlay--library .search-overlay__item:hover {
  background: #f5faf7;
}

.library-v3--article {
  --portal-accent: 155 45% 28%;
  --portal-accent-bg: 150 35% 95%;
}

.library-v3--article .focus-col {
  animation: .48s cubic-bezier(.22, 1, .36, 1) backwards lib-article-enter;
}

@keyframes lib-article-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .library-v3--article .focus-col {
    animation: none;
  }
}

main:has(.library-v3--article) {
  overflow: clip;
}

.library-v3--article .article-layout {
  overflow-x: clip;
}

.library-v3 .lib-arthero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
  margin-bottom: 36px;
}

@media (width <= 1199px) {
  .library-v3 .lib-arthero {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 32px;
  }
}

@media (width <= 1023px) {
  .library-v3 .lib-arthero {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 28px;
  }
}

.library-v3 .lib-arthero__top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

@media (width <= 767px) {
  .library-v3 .lib-arthero__top {
    gap: 8px;
    margin-bottom: 14px;
  }

  .library-v3 .lib-arthero__cat {
    padding: 8px 14px;
    font-size: 12px;
  }
}

.library-v3 .lib-arthero__cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--hymo-red);
  background: linear-gradient(135deg, #ffffffc7 0%, #ffffff8c 100%);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1.5px solid #fff9;
  box-shadow: inset 0 1.5px #ffffffb3, 0 1px 2px #1c543d14, 0 10px 24px -12px #1c543d40;
}

.library-v3 .lib-arthero__cat svg {
  width: 13px;
  height: 13px;
}

.library-v3 .lib-arthero__title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.12;
  margin: 0 0 14px;
  background: var(--hymo-grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: #0000;
}

@media (width <= 1023px) {
  .library-v3 .lib-arthero__title {
    font-size: 34px;
  }
}

@media (width <= 767px) {
  .library-v3 .lib-arthero__title {
    font-size: 27px;
  }
}

.library-v3 .lib-arthero__intro {
  font-size: 16px;
  line-height: 1.65;
  color: var(--hymo-fg-2);
  max-width: 640px;
  margin: 0 0 18px;
}

.library-v3 .lib-arthero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 12.5px;
  color: var(--hymo-fg-3);
}

.library-v3 .lib-arthero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}

.library-v3 .lib-arthero__meta svg {
  width: 13px;
  height: 13px;
  color: var(--hymo-red);
}

.library-v3 .lib-arthero__points {
  padding: 20px 22px;
  border-radius: 18px;
  background: linear-gradient(0deg, #27684d0a, #27684d0a), linear-gradient(0deg, #ffffff40, #ffffff40), var(--hymo-glass-strong);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--hymo-glass-border-light);
  box-shadow: var(--hymo-shadow-glass);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.library-v3 .lib-arthero__points:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(60% 80% at 100% 0, #cfe8db47, #0000 70%);
  z-index: -1;
  pointer-events: none;
}

@media (width <= 767px) {
  .library-v3 .lib-arthero__points {
    padding: 18px;
  }

  .library-v3 .lib-cathub__objectives {
    padding: 18px;
  }
}

.library-v3 .lib-arthero__points-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--hymo-red);
  margin: 0 0 10px;
}

.library-v3 .lib-arthero__points-title svg {
  width: 14px;
  height: 14px;
}

.library-v3 .lib-arthero__points ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.library-v3 .lib-arthero__point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--hymo-fg-2);
}

.library-v3 .lib-arthero__point + .lib-arthero__point {
  border-top: 1px solid var(--hymo-border);
}

.library-v3 .lib-arthero__point-check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 7px;
  background: var(--hymo-red-soft);
  border: 1px solid var(--hymo-red-line);
  color: var(--hymo-red);
}

.library-v3 .lib-arthero__point-check svg {
  width: 11px;
  height: 11px;
}

.library-v3--article .article-toolbar {
  max-width: none;
  padding: 0;
  margin: 0 0 32px;
  overflow-x: visible;
}

.library-v3--article .article-toolbar [class*="bg-[hsl(var(--card))]"] {
  background: linear-gradient(0deg, #27684d0a, #27684d0a), linear-gradient(0deg, #ffffff40, #ffffff40), var(--hymo-glass-strong);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-color: var(--hymo-glass-border-light);
  box-shadow: var(--hymo-shadow-glass);
}

.library-v3--article .article-search-trigger {
  max-width: 420px;
  border-radius: 15px;
  border: 1px solid var(--hymo-glass-border-light);
  background: linear-gradient(0deg, #27684d0a, #27684d0a), linear-gradient(0deg, #ffffff40, #ffffff40), var(--hymo-glass-strong);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--hymo-shadow-glass);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--hymo-fg-3);
  transition: all var(--hymo-t) var(--hymo-ease);
}

.library-v3--article .article-search-trigger:hover {
  border-color: var(--hymo-glass-border-light);
  box-shadow: var(--hymo-shadow-glass-hover);
}

@media (width <= 767px) {
  .library-v3--article .article-search-trigger {
    max-width: none;
  }
}

.library-v3--article .article-search-trigger__shortcut {
  padding: 2px 8px;
  border-radius: 7px;
  background: var(--hymo-surface);
  border: 1px solid var(--hymo-border);
  box-shadow: 0 1px 0 var(--hymo-border);
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 11px;
  color: var(--hymo-fg-3);
}

.library-v3--article .article-layout {
  max-width: none;
  padding: 0 0 48px;
}

@media (width >= 1024px) {
  .library-v3--article .article-toc-sticky {
    background: linear-gradient(0deg, #27684d0a, #27684d0a), linear-gradient(0deg, #ffffff40, #ffffff40), var(--hymo-glass-strong);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--hymo-glass-border-light);
    box-shadow: var(--hymo-shadow-glass);
    border-radius: 18px;
    isolation: isolate;
  }

  .library-v3--article .article-toc-sticky:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(60% 80% at 100% 0, #cfe8db47, #0000 70%);
    z-index: -1;
    pointer-events: none;
  }
}

.library-v3--article .lib-toc {
  list-style: none;
  margin: 0;
  padding: 6px 8px;
}

.library-v3--article .lib-toc__sec {
  display: flex;
  align-items: center;
  gap: 2px;
  border-radius: 10px;
  transition: background var(--hymo-t) var(--hymo-ease);
}

.library-v3--article .lib-toc__sec a {
  flex: 1;
  min-width: 0;
  padding: 9px 10px;
  font-size: 13px;
  font-weight: 400;
  color: var(--hymo-fg-2);
  line-height: 1.35;
  border-radius: 10px;
  transition: color var(--hymo-t) var(--hymo-ease);
}

.library-v3--article .lib-toc__sec a:hover {
  color: var(--hymo-red);
}

.library-v3--article .lib-toc__sec--active {
  background: var(--hymo-red-faint);
}

.library-v3--article .lib-toc__sec--active a {
  color: var(--hymo-red);
}

.library-v3--article .lib-toc__chev {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-right: 4px;
  border-radius: 8px;
  color: var(--hymo-fg-4);
  cursor: pointer;
  transition: all var(--hymo-t) var(--hymo-ease);
}

.library-v3--article .lib-toc__chev svg {
  width: 14px;
  height: 14px;
  transition: transform .2s var(--hymo-ease);
}

.library-v3--article .lib-toc__chev:hover {
  color: var(--hymo-red);
  background: var(--hymo-red-soft);
}

.library-v3--article .lib-toc__chev--open svg {
  transform: rotate(90deg);
}

.library-v3--article .lib-toc__sub {
  list-style: none;
  margin: 2px 0 8px;
  padding: 0 0 0 14px;
  animation: lib-toc-open .22s var(--hymo-ease);
}

@keyframes lib-toc-open {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .library-v3--article .lib-toc__sub {
    animation: none;
  }
}

.library-v3--article .lib-toc__item {
  display: block;
  padding: 7px 10px;
  font-size: 12.5px;
  color: var(--hymo-fg-3);
  line-height: 1.4;
  border-radius: 9px;
  transition: all var(--hymo-t) var(--hymo-ease);
}

.library-v3--article .lib-toc__item:hover {
  color: var(--hymo-red);
  background: #ffffffa6;
}

.library-v3--article .lib-toc__item--active {
  color: var(--hymo-red);
  background: var(--hymo-red-soft);
}

.library-v3--article .article-card {
  border-radius: 18px;
  border: 1px solid var(--hymo-glass-border-light);
  background: linear-gradient(0deg, #27684d0a, #27684d0a), linear-gradient(0deg, #ffffff40, #ffffff40), var(--hymo-glass-strong);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--hymo-shadow-glass);
}

.library-v3--article .article-card:hover {
  box-shadow: var(--hymo-shadow-glass-hover);
}

.library-v3--article .article-card--category .article-card__thumb {
  background: var(--hymo-red-soft);
}

.library-v3--article .article-card--category .article-card__thumb svg {
  color: var(--hymo-red);
  opacity: .55;
}

.library-v3--article .article-sticky-header {
  transform: translateY(18px);
  transition: transform .52s var(--hymo-ease), opacity .42s ease;
}

.library-v3--article .article-sticky-header--visible {
  transform: translateY(0);
}

.library-v3--article .article-sticky-header__title, .library-v3--article .article-sticky-header__section {
  transform: translateY(16px);
  opacity: 0;
  transition: transform .56s var(--hymo-ease) 80ms, opacity .48s ease 80ms;
}

.library-v3--article .article-sticky-header--visible .article-sticky-header__title, .library-v3--article .article-sticky-header--visible .article-sticky-header__section {
  transform: translateY(0);
  opacity: 1;
}

.library-v3--article .article-sticky-header__inner {
  background: linear-gradient(0deg, #27684d0a, #27684d0a), var(--hymo-glass-strong);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--hymo-glass-border-light);
  box-shadow: var(--hymo-shadow-glass);
}

.article-search-overlay--library .article-search-overlay__bar {
  border-radius: 16px;
  border: 1px solid var(--hymo-glass-border-light);
  box-shadow: var(--hymo-shadow-pop);
}

.article-search-overlay--library .article-search-overlay__results {
  border-radius: 16px;
  border: 1px solid var(--hymo-glass-border-light);
}

.library-v3--article .article-content h2 {
  background: var(--hymo-glass-strong);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--hymo-glass-border-light);
  box-shadow: var(--hymo-shadow-glass);
  border-radius: 18px;
  padding: 18px 24px;
  margin: 72px 0 20px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--hymo-red);
  overflow: hidden;
  isolation: isolate;
}

.library-v3--article .article-content h2:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(60% 80% at 100% 0, #cfe8db47, #0000 70%);
  z-index: -1;
  pointer-events: none;
}

@media (width <= 767px) {
  .library-v3--article .article-content h2 {
    font-size: 1.25rem;
    padding: 14px 18px;
    margin: 52px 0 16px;
  }
}

.library-v3--article .article-content h2:first-child {
  margin-top: 0;
}

.library-v3--article .article-content blockquote, .library-v3--article .article-callout, .library-v3--article .article-inline-callout, .library-v3--article .article-callout-section {
  border: 1px solid var(--hymo-glass-border-light);
  background: linear-gradient(0deg, #27684d0d, #27684d0d), linear-gradient(0deg, #ffffff40, #ffffff40), var(--hymo-glass-strong);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--hymo-shadow-glass);
  border-radius: 18px;
}

.library-v3--article .article-callout-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.library-v3--article .article-callout-section:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(60% 80% at 100% 0, #cfe8db47, #0000 70%);
  z-index: -1;
  pointer-events: none;
}

.library-v3--article .article-inline-callout, .library-v3--article .article-callout-section--tip, .library-v3--article .article-callout-section--info, .library-v3--article .article-callout-section--know, .library-v3--article .article-callout-section--further, .library-v3--article .article-callout--tip {
  background: linear-gradient(0deg, #27684d1a, #27684d1a), linear-gradient(0deg, #ffffff40, #ffffff40), var(--hymo-glass-strong);
}

.library-v3--article .article-callout--warning {
  background: linear-gradient(0deg, hsl(var(--warning) / .07), hsl(var(--warning) / .07)), linear-gradient(0deg, #ffffff40, #ffffff40), var(--hymo-glass-strong);
}

.library-v3--article .article-callout--danger {
  background: linear-gradient(0deg, hsl(var(--danger) / .07), hsl(var(--danger) / .07)), linear-gradient(0deg, #ffffff40, #ffffff40), var(--hymo-glass-strong);
}

.library-v3--article .article-callout--info {
  background: linear-gradient(0deg, hsl(var(--info) / .07), hsl(var(--info) / .07)), linear-gradient(0deg, #ffffff40, #ffffff40), var(--hymo-glass-strong);
}

.library-v3--article .article-resources-section {
  border: none;
  border-top: 1px solid var(--hymo-border);
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
}

@media (width >= 1024px) {
  .library-v3--article .back-to-top {
    left: calc(var(--sidebar-width, 0px)  + 24px);
  }
}

.library-v3--article .back-to-top {
  border: 1px solid var(--hymo-red-line);
  background: var(--hymo-glass-strong);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--hymo-shadow-glass);
  color: var(--hymo-red);
}

.library-v3--article .back-to-top:hover {
  box-shadow: var(--hymo-shadow-glass-hover);
}

@media (width <= 1023px) {
  .library-v3--article .back-to-top {
    left: 16px;
    bottom: calc(var(--mobile-nav-h, 74px)  + env(safe-area-inset-bottom, 0px)  + 12px);
  }
}

.library-v3 .acad-hub__args {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.library-v3 .acad-hub__arg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--hymo-fg-2);
  background: var(--hymo-glass-soft);
  border: 1px solid var(--hymo-glass-border-light);
}

.library-v3 .acad-hub__arg svg {
  width: 13px;
  height: 13px;
  color: var(--hymo-red);
  flex-shrink: 0;
}

.library-v3 .acad-showcase__grid {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.library-v3 .acad-showcase__group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.library-v3 .acad-showcase__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.012em;
  color: var(--hymo-fg);
  transition: gap var(--hymo-t) var(--hymo-ease), color var(--hymo-t) var(--hymo-ease);
}

.library-v3 .acad-showcase__title svg {
  width: 15px;
  height: 15px;
  color: var(--hymo-red);
  flex-shrink: 0;
}

.library-v3 .acad-showcase__title:hover {
  gap: 12px;
  color: var(--hymo-red);
}

@media (width <= 1023px) {
  .library-v3 .acad-showcase__grid {
    gap: 26px;
  }
}

@media (width <= 600px) {
  .library-v3 .acad-showcase__grid {
    gap: 22px;
  }

  .library-v3 .acad-hub__args {
    gap: 6px;
  }
}


/*# sourceMappingURL=src_styles_pages_7236ea._.css.map*/
