/*! tailwindcss v4.1.13 | MIT License | https://tailwindcss.com */
@layer properties;
.visible {
  visibility: visible;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border-width: 0;
}
.absolute {
  position: absolute;
}
.fixed {
  position: fixed;
}
.relative {
  position: relative;
}
.static {
  position: static;
}
.sticky {
  position: sticky;
}
.top-1\/2 {
  top: calc(1/2 * 100%);
}
.top-full {
  top: 100%;
}
.z-10 {
  z-index: 10;
}
.z-50 {
  z-index: 50;
}
.container {
  width: 100%;
}
.mx-auto {
  margin-inline: auto;
}
.mt-\[0px\] {
  margin-top: 0px;
}
.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.line-clamp-3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.line-clamp-4 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
.block {
  display: block;
}
.contents {
  display: contents;
}
.flex {
  display: flex;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.inline {
  display: inline;
}
.inline-block {
  display: inline-block;
}
.inline-flex {
  display: inline-flex;
}
.table {
  display: table;
}
.h-full {
  height: 100%;
}
.min-h-screen {
  min-height: 100vh;
}
.w-full {
  width: 100%;
}
.max-w-none {
  max-width: none;
}
.min-w-\[140px\] {
  min-width: 140px;
}
.min-w-\[180px\] {
  min-width: 180px;
}
.flex-1 {
  flex: 1;
}
.flex-shrink-0 {
  flex-shrink: 0;
}
.shrink {
  flex-shrink: 1;
}
.flex-grow {
  flex-grow: 1;
}
.grow {
  flex-grow: 1;
}
.border-separate {
  border-collapse: separate;
}
.-translate-y-1\/2 {
  --tw-translate-y: calc(calc(1/2 * 100%) * -1);
  translate: var(--tw-translate-x) var(--tw-translate-y);
}
.transform {
  transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
}
.cursor-not-allowed {
  cursor: not-allowed;
}
.cursor-pointer {
  cursor: pointer;
}
.resize {
  resize: both;
}
.list-none {
  list-style-type: none;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.flex-col {
  flex-direction: column;
}
.flex-row {
  flex-direction: row;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-center {
  align-items: center;
}
.items-start {
  align-items: flex-start;
}
.justify-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}
.justify-end {
  justify-content: flex-end;
}
.divide-y {
  :where(& > :not(:last-child)) {
    --tw-divide-y-reverse: 0;
    border-bottom-style: var(--tw-border-style);
    border-top-style: var(--tw-border-style);
    border-top-width: calc(1px * var(--tw-divide-y-reverse));
    border-bottom-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  }
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-y-auto {
  overflow-y: auto;
}
.rounded-full {
  border-radius: calc(infinity * 1px);
}
.rounded-xl {
  border-radius: var(--radius-xl);
}
.border {
  border-style: var(--tw-border-style);
  border-width: 1px;
}
.border-2 {
  border-style: var(--tw-border-style);
  border-width: 2px;
}
.border-t {
  border-top-style: var(--tw-border-style);
  border-top-width: 1px;
}
.border-b {
  border-bottom-style: var(--tw-border-style);
  border-bottom-width: 1px;
}
.border-dashed {
  --tw-border-style: dashed;
  border-style: dashed;
}
.border-t-transparent {
  border-top-color: transparent;
}
.bg-primary-600 {
  background-color: var(--color-primary-600);
}
.bg-gradient-to-r {
  --tw-gradient-position: to right in oklab;
  background-image: linear-gradient(var(--tw-gradient-stops));
}
.object-cover {
  object-fit: cover;
}
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.break-words {
  overflow-wrap: break-word;
}
.text-\(--accent-color\) {
  color: var(--accent-color);
}
.text-primary-600 {
  color: var(--color-primary-600);
}
.uppercase {
  text-transform: uppercase;
}
.italic {
  font-style: italic;
}
.ordinal {
  --tw-ordinal: ordinal;
  font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
}
.no-underline {
  text-decoration-line: none;
}
.underline {
  text-decoration-line: underline;
}
.opacity-75 {
  opacity: 75%;
}
.filter {
  filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
}
.transition {
  transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
  transition-timing-function: var(--tw-ease, ease);
  transition-duration: var(--tw-duration, 0s);
}
.transition-all {
  transition-property: all;
  transition-timing-function: var(--tw-ease, ease);
  transition-duration: var(--tw-duration, 0s);
}
.transition-colors {
  transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
  transition-timing-function: var(--tw-ease, ease);
  transition-duration: var(--tw-duration, 0s);
}
.transition-shadow {
  transition-property: box-shadow;
  transition-timing-function: var(--tw-ease, ease);
  transition-duration: var(--tw-duration, 0s);
}
.transition-transform {
  transition-property: transform, translate, scale, rotate;
  transition-timing-function: var(--tw-ease, ease);
  transition-duration: var(--tw-duration, 0s);
}
.duration-200 {
  --tw-duration: 200ms;
  transition-duration: 200ms;
}
.duration-300 {
  --tw-duration: 300ms;
  transition-duration: 300ms;
}
.last\:border-b-0 {
  &:last-child {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 0px;
  }
}
.hover\:text-primary-600 {
  &:hover {
    @media (hover: hover) {
      color: var(--color-primary-600);
    }
  }
}
.hover\:underline {
  &:hover {
    @media (hover: hover) {
      text-decoration-line: underline;
    }
  }
}
.hover\:brightness-110 {
  &:hover {
    @media (hover: hover) {
      --tw-brightness: brightness(110%);
      filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
    }
  }
}
.focus\:border-transparent {
  &:focus {
    border-color: transparent;
  }
}
.focus\:ring-2 {
  &:focus {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
}
.focus\:ring-4 {
  &:focus {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
}
.focus\:ring-primary-500 {
  &:focus {
    --tw-ring-color: var(--color-primary-500);
  }
}
.focus\:ring-offset-2 {
  &:focus {
    --tw-ring-offset-width: 2px;
    --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  }
}
.focus\:outline-none {
  &:focus {
    --tw-outline-style: none;
    outline-style: none;
  }
}
.rtl\:rotate-180 {
  &:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
    rotate: 180deg;
  }
}
.rtl\:text-right {
  &:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
    text-align: right;
  }
}
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--color-ink-500);
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}
.breadcrumbs li {
  display: flex;
  align-items: center;
}
.breadcrumbs li a {
  color: var(--link-color);
  text-decoration: none;
}
.breadcrumbs li a:hover {
  color: var(--link-color-hover);
}
.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin: 0 0.5rem;
  color: var(--color-ink-400);
}
.breadcrumbs li:last-child, .breadcrumbs li:last-child a {
  color: var(--color-ink-900);
  font-weight: 500;
  pointer-events: none;
  cursor: default;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0;
}
.pagination-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pagination-list li {
  display: inline-flex;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.pagination-first-link, .pagination-prev-link, .pagination-next-link, .pagination-last-link {
  color: inherit;
  background-color: inherit;
  border: inherit;
  border-radius: inherit;
  text-decoration: none;
}
.pagination a:hover {
  background-color: #f9fafb;
  border-color: #9ca3af;
  color: #111827;
}
.pagination .current {
  background-color: var(--brand-color, #1e1e1e);
  color: #ffffff;
  border-color: var(--brand-color, #1e1e1e);
}
.pagination .current:hover {
  background-color: #0f766e;
  border-color: #0f766e;
}
.pagination .gap {
  color: #9ca3af;
  background: none;
  border: none;
  cursor: default;
}
.pagination .gap:hover {
  background: none;
  border: none;
  color: #9ca3af;
}
.pagination .prev, .pagination .next {
  padding: 0.5rem;
}
.pagination .prev svg, .pagination .next svg {
  width: 1rem;
  height: 1rem;
}
@media (max-width: 640px) {
  .pagination {
    gap: 0.25rem;
  }
  .pagination a, .pagination span {
    min-width: 2rem;
    height: 2rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }
}
.hbs-form {
  margin: 0;
}
.hbs-form .form-field {
  margin-bottom: 1.5rem;
}
.hbs-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}
.hbs-form input[type="text"], .hbs-form input[type="email"], .hbs-form input[type="search"], .hbs-form textarea, .hbs-form select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  background-color: #ffffff;
  transition: all 0.2s ease;
}
.hbs-form input:focus, .hbs-form textarea:focus, .hbs-form select:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}
.hbs-form .error {
  color: #dc2626;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}
.upload-field {
  border: 2px dashed #d1d5db;
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  background-color: #fafafa;
  transition: all 0.2s ease;
}
.upload-field:hover {
  border-color: #9ca3af;
  background-color: #f3f4f6;
}
.upload-field.drag-over {
  border-color: #14b8a6;
  background-color: #f0fdfa;
}
.upload-field input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.wysiwyg-editor {
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  min-height: 8rem;
}
.wysiwyg-editor:focus-within {
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}
.request-item {
  transition: all 0.2s ease;
}
.request-item:hover {
  transform: translateY(-1px);
}
.status-indicator {
  position: relative;
}
.status-indicator::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 100%;
  border-radius: 2px;
}
.status-new::before {
  background-color: #3b82f6;
}
.status-open::before {
  background-color: #10b981;
}
.status-pending::before {
  background-color: #f59e0b;
}
.status-hold::before {
  background-color: #8b5cf6;
}
.status-solved::before {
  background-color: #6b7280;
}
.status-closed::before {
  background-color: #9ca3af;
}
.drop-zone {
  transition: all 0.2s ease;
}
.drop-zone.drag-over {
  border-color: #14b8a6;
  background-color: #f0fdfa;
  transform: scale(1.02);
}
.toast-enter {
  transform: translateX(100%);
  opacity: 0;
}
.toast-enter-active {
  transform: translateX(0);
  opacity: 1;
  transition: all 0.3s ease;
}
.comment-highlighted {
  animation: highlight-comment 2s ease-in-out;
}
@keyframes highlight-comment {
  0%, 100% {
    background-color: transparent;
  }
  50% {
    background-color: #f0f9ff;
  }
}
.skeleton {
  background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}
@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.search-highlight {
  background-color: #fef3c7;
  padding: 1px 2px;
  border-radius: 2px;
}
.file-preview {
  animation: slideIn 0.3s ease;
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.dynamic-field {
  transition: all 0.3s ease;
}
.dynamic-field.field-error {
  animation: shake 0.5s ease-in-out;
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}
@layer utilities {
  .px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
  .py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  .py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .pt-8 {
    padding-top: 2rem;
  }
  .p-4 {
    padding: 1rem;
  }
  .p-6 {
    padding: 1.5rem;
  }
  .mb-2 {
    margin-bottom: 0.5rem;
  }
  .mb-3 {
    margin-bottom: 0.75rem;
  }
  .mb-4 {
    margin-bottom: 1rem;
  }
  .mb-6 {
    margin-bottom: 1.5rem;
  }
  .mb-8 {
    margin-bottom: 2rem;
  }
  .mb-12 {
    margin-bottom: 3rem;
  }
  .mt-4 {
    margin-top: 1rem;
  }
  .mt-6 {
    margin-top: 1.5rem;
  }
  .mt-8 {
    margin-top: 2rem;
  }
  .mt-12 {
    margin-top: 3rem;
  }
  .pt-4 {
    padding-top: 1rem;
  }
  .pt-8 {
    padding-top: 2rem;
  }
  .mr-2 {
    margin-right: 0.5rem;
  }
  .ml-2 {
    margin-left: 0.5rem;
  }
  .ml-4 {
    margin-left: 1rem;
  }
  .ml-10 {
    margin-left: 2.5rem;
  }
  .mx-2 {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
  .mx-auto {
    margin-left: auto;
    margin-right: auto;
  }
  .gap-2 {
    gap: 0.5rem;
  }
  .gap-3 {
    gap: 0.75rem;
  }
  .gap-4 {
    gap: 1rem;
  }
  .gap-6 {
    gap: 1.5rem;
  }
  .space-x-2 > * + * {
    margin-left: 0.5rem;
  }
  .space-x-4 > * + * {
    margin-left: 1rem;
  }
  .space-x-6 > * + * {
    margin-left: 1.5rem;
  }
  .space-x-8 > * + * {
    margin-left: 2rem;
  }
  .space-y-2 > * + * {
    margin-top: 0.5rem;
  }
  .space-y-4 > * + * {
    margin-top: 1rem;
  }
  .space-y-6 > * + * {
    margin-top: 1.5rem;
  }
  .space-y-8 > * + * {
    margin-top: 2rem;
  }
  .sticky {
    position: sticky;
    position: -webkit-sticky;
  }
  .top-8 {
    top: 2rem;
  }
  .top-6 {
    top: 1.5rem;
  }
  .top-10 {
    top: 2.5rem;
  }
  .-top-1 {
    top: -0.25rem;
  }
  .-right-1 {
    right: -0.25rem;
  }
  .p-1 {
    padding: 0.25rem;
  }
  .p-1.5 {
    padding: 0.375rem;
  }
  .mt-0 {
    margin-top: 0;
  }
  .w-3 {
    width: 0.75rem;
  }
  .w-4 {
    width: 1rem;
  }
  .w-5 {
    width: 1.25rem;
  }
  .w-6 {
    width: 1.5rem;
  }
  .w-8 {
    width: 2rem;
  }
  .w-10 {
    width: 2.5rem;
  }
  .w-12 {
    width: 3rem;
  }
  .w-16 {
    width: 4rem;
  }
  .w-20 {
    width: 5rem;
  }
  .w-24 {
    width: 6rem;
  }
  .w-64 {
    width: 16rem;
  }
  .w-full {
    width: 100%;
  }
  .w-auto {
    width: auto;
  }
  .h-3 {
    height: 0.75rem;
  }
  .h-4 {
    height: 1rem;
  }
  .h-5 {
    height: 1.25rem;
  }
  .h-6 {
    height: 1.5rem;
  }
  .h-8 {
    height: 2rem;
  }
  .h-10 {
    height: 2.5rem;
  }
  .h-12 {
    height: 3rem;
  }
  .h-16 {
    height: 4rem;
  }
  .h-20 {
    height: 5rem;
  }
  .h-24 {
    height: 6rem;
  }
  .h-auto {
    height: auto;
  }
  .max-w-2xl {
    max-width: 42rem;
  }
  .max-w-4xl {
    max-width: 56rem;
  }
  .max-w-6xl {
    max-width: 72rem;
  }
  .max-w-7xl {
    max-width: 80rem;
  }
  .max-w-none {
    max-width: none;
  }
  .flex-1 {
    flex: 1 1 0%;
  }
  .flex-shrink-0 {
    flex-shrink: 0;
  }
  .block {
    display: block;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline-flex {
    display: inline-flex;
  }
  .flex-col {
    flex-direction: column;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .items-center {
    align-items: center;
  }
  .items-start {
    align-items: flex-start;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-center {
    justify-content: center;
  }
  .justify-start {
    justify-content: flex-start;
  }
  .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .col-span-1 {
    grid-column: span 1 / span 1;
  }
  .col-span-2 {
    grid-column: span 2 / span 2;
  }
  .relative {
    position: relative;
  }
  .absolute {
    position: absolute;
  }
  .top-1\/2 {
    top: 50%;
  }
  .right-2 {
    right: 0.5rem;
  }
  .transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  }
  .-translate-y-1\/2 {
    --tw-translate-y: -50%;
  }
  .border {
    border-width: 1px;
  }
  .border-t {
    border-top-width: 1px;
  }
  .border-b {
    border-bottom-width: 1px;
  }
  .border-gray-200 {
    border-color: var(--color-ink-200);
  }
  .border-gray-300 {
    border-color: var(--color-ink-300);
  }
  .rounded {
    border-radius: 0.25rem;
  }
  .rounded-md {
    border-radius: 0.375rem;
  }
  .rounded-lg {
    border-radius: 0.5rem;
  }
  .rounded-xl {
    border-radius: 0.75rem;
  }
  .rounded-full {
    border-radius: 9999px;
  }
  .bg-white {
    background-color: white;
  }
  .bg-gray-50 {
    background-color: var(--color-ink-50);
  }
  .bg-gray-100 {
    background-color: var(--color-ink-100);
  }
  .bg-gray-200 {
    background-color: var(--color-ink-200);
  }
  .bg-teal-100 {
    background-color: var(--color-primary-100);
  }
  .bg-teal-600 {
    background-color: var(--color-primary-600);
  }
  .bg-teal-700 {
    background-color: var(--color-primary-700);
  }
  .bg-orange-100 {
    background-color: #fed7aa;
  }
  .bg-orange-800 {
    background-color: #9a3412;
  }
  .text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
  }
  .text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
  .text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
  .text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  .text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  .text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
  .text-8xl {
    font-size: 6rem;
    line-height: 1;
  }
  .font-medium {
    font-weight: 500;
  }
  .font-semibold {
    font-weight: 600;
  }
  .font-bold {
    font-weight: 700;
  }
  .text-center {
    text-align: center;
  }
  .text-left {
    text-align: left;
  }
  .text-gray-500 {
    color: var(--color-ink-500);
  }
  .text-gray-600 {
    color: var(--color-ink-600);
  }
  .text-gray-700 {
    color: var(--color-ink-700);
  }
  .text-gray-900 {
    color: var(--color-ink-900);
  }
  .text-teal-600 {
    color: var(--color-primary-600);
  }
  .text-teal-700 {
    color: var(--color-primary-700);
  }
  .text-teal-800 {
    color: var(--color-primary-800);
  }
  .text-red-600 {
    color: #dc2626;
  }
  .text-red-700 {
    color: #b91c1c;
  }
  .text-white {
    color: white;
  }
  .uppercase {
    text-transform: uppercase;
  }
  .tracking-wider {
    letter-spacing: 0.05em;
  }
  .leading-relaxed {
    line-height: 1.625;
  }
  .line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
  }
  .hover\:text-gray-700:hover {
    color: var(--color-ink-700);
  }
  .hover\:text-gray-900:hover {
    color: var(--color-ink-900);
  }
  .hover\:bg-gray-50:hover {
    background-color: var(--color-ink-50);
  }
  .hover\:bg-gray-200:hover {
    background-color: var(--color-ink-200);
  }
  .hover\:bg-teal-700:hover {
    background-color: var(--color-primary-700);
  }
  .hover\:border-gray-300:hover {
    border-color: var(--color-ink-300);
  }
  .hover\:shadow-sm:hover {
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  }
  .hover\:shadow-md:hover {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  }
  .focus\:outline-none:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
  }
  .focus\:ring-2:focus {
    box-shadow: 0 0 0 2px var(--color-primary-500);
  }
  .focus\:border-transparent:focus {
    border-color: transparent;
  }
  .transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
  }
  .transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
  }
  .bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
  }
  .from-purple-500 {
    --tw-gradient-from: #8b5cf6;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(139, 92, 246, 0));
  }
  .to-blue-500 {
    --tw-gradient-to: #3b82f6;
  }
  .ai-search-container {
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 100%);
    border: 1px solid #a7f3d0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  .ai-search-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
  .ai-search-icon {
    width: 2rem;
    height: 2rem;
    background-color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
  }
  .ai-search-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
  }
  .ai-search-content {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  .ai-search-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #6b7280;
  }
  .ai-feedback-buttons {
    display: flex;
    gap: 0.5rem;
  }
  .ai-feedback-button {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    border: none;
    background: none;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
  }
  .ai-feedback-button:hover {
    background-color: #f3f4f6;
  }
  .ai-feedback-button.positive {
    color: #059669;
  }
  .ai-feedback-button.positive:hover {
    background-color: #ecfdf5;
    color: #047857;
  }
  .ai-feedback-button.negative {
    color: #6b7280;
  }
  .ai-feedback-button.negative:hover {
    background-color: #fef2f2;
    color: #dc2626;
  }
  .ai-feedback-button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
  }
  @media (min-width: 640px) {
    .sm\:px-6 {
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }
    .sm\:flex-row {
      flex-direction: row;
    }
  }
  @media (min-width: 768px) {
    .md\:block {
      display: block;
    }
    .md\:flex {
      display: flex;
    }
    .md\:grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .md\:grid-cols-3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .md\:flex-row {
      flex-direction: row;
    }
    .md\:mt-0 {
      margin-top: 0;
    }
    .md\:ml-10 {
      margin-left: 2.5rem;
    }
    .md\:space-x-8 > * + * {
      margin-left: 2rem;
    }
  }
  @media (min-width: 1024px) {
    .lg\:px-8 {
      padding-left: 2rem;
      padding-right: 2rem;
    }
    .lg\:grid-cols-3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .lg\:col-span-2 {
      grid-column: span 2 / span 2;
    }
  }
}
:root, :host {
  --color-primary-50: #869bb1;
  --color-primary-100: #6c8197;
  --color-primary-200: #53687d;
  --color-primary-300: #3b5064;
  --color-primary-400: #24394c;
  --color-primary-500: #0c2435;
  --color-primary-600: #000f20;
  --color-primary-700: #000009;
  --color-primary-800: #000000;
  --color-primary-900: #000000;
  --color-ink-50: #F8FAFC;
  --color-ink-100: #F1F5F9;
  --color-ink-200: #E2E8F0;
  --color-ink-300: #CBD5E1;
  --color-ink-400: #94A3B8;
  --color-ink-500: #64748B;
  --color-ink-600: #475569;
  --color-ink-700: #334155;
  --color-ink-800: #1F2937;
  --color-ink-900: #0F172A;
  --default-font-family: Saans, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  --radius-xl: 0.75rem;
}
@layer base {
  :root {
    color-scheme: light;
    --brand-color: var(--v-primary-base, #1e1e1e);
    --brand-secondary: var(--v-accent-base, #8c9eff);
    --text-color: var(--v-ink-darken3, #1F2937);
    --background-color: var(--v-light-base, #f5f6f7);
    --link-color: var(--v-primary-lighten1, #24394c);
    --link-color-hover: var(--v-primary-base, #0c2435);
    --link-color-visited: var(--brand-secondary, #8c9eff);
  }
  html {
    scroll-behavior: smooth;
  }
  body {
    font-family: var(--default-font-family);
    color: var(--text-color);
    background-color: var(--background-color);
  }
  a {
    color: var(--link-color);
    text-decoration: none;
  }
  a:hover {
    color: var(--link-color-hover);
    text-decoration: none;
  }
  a:visited {
    color: var(--link-color-visited);
    text-decoration: none;
  }
  h1, h2, h3, h4, h5, h6 {
    color: var(--color-ink-900);
  }
}
@layer base {
  table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background-color: #ffffff;
    border: 1px solid var(--color-ink-200);
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
    overflow: hidden;
  }
  thead th {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-ink-200);
    color: var(--color-ink-700);
    font-weight: 600;
  }
  tbody td, tfoot td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-ink-200);
  }
  tbody tr:nth-child(even) {
    background-color: var(--brand-color);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in srgb, var(--brand-color), transparent 90%);
    }
  }
  tbody tr:nth-child(odd) {
    background-color: transparent;
  }
  tbody tr:hover {
    background-color: var(--brand-secondary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in srgb, var(--brand-secondary), transparent 90%);
    }
  }
}
@media (prefers-color-scheme: dark) {
  @layer base {
    table {
      background-color: color-mix(in srgb, #0F172A, transparent 80%);
      @supports (color: color-mix(in lab, red, red)) {
        background-color: color-mix(in srgb, var(--color-ink-900), transparent 80%);
      }
      border-color: var(--color-ink-700);
      box-shadow: 0 1px 2px rgb(0 0 0 / 0.3);
    }
    thead th {
      color: var(--color-ink-300);
      border-bottom-color: var(--color-ink-700);
    }
    tbody td, tfoot td {
      border-bottom-color: var(--color-ink-700);
    }
  }
}
@layer components {
  .cta-primary-btn {
    background-color: var(--brand-color);
    color: #ffffff;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    transition: background-color 0.2s, box-shadow 0.2s;
  }
  .cta-primary-btn:hover {
    background-color: var(--brand-color);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in srgb, var(--brand-color), black 10%);
    }
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  }
  .cta-primary-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  }
  .main {
    width: 100%;
  }
  .hc-layout {
    display: grid;
    grid-template-columns: 280px auto;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }
  .hc-sidebar {
    position: sticky;
    top: 4rem;
    height: calc(100vh - 6rem);
    overflow-x: hidden;
    padding-top: 1.75rem;
    padding-left: 0.75rem;
    border-right: 1px solid var(--color-ink-200);
    padding-right: 0;
    width: 100%;
    box-sizing: border-box;
  }
  button {
    cursor: pointer;
  }
  .sb-category {
    cursor: pointer;
    margin: 0;
  }
  .sb-cat-title {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--color-ink-800);
    cursor: pointer;
  }
  .sb-section-list {
    list-style: none;
    padding-left: 0.75rem;
    padding-top: 0.5rem;
    margin: 0;
  }
  .sb-section {
    margin-bottom: 0.25rem;
  }
  .sb-section-toggle {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--color-ink-700);
    padding: 0.25rem 0;
    cursor: pointer;
  }
  .sb-section-toggle:hover {
    color: var(--color-ink-900);
  }
  .sb-article-list {
    list-style: none;
    padding-left: 0.75rem;
    margin: 0.25rem 0 0.5rem;
  }
  .sb-article-link {
    display: block;
    padding: 0.25rem 0;
    color: var(--color-ink-700);
    text-decoration: none;
    border-left: 2px solid transparent;
    padding-left: 0.5rem;
  }
  .sb-article-link:hover {
    color: var(--color-ink-900);
  }
  .sb-article-link.is-active {
    color: var(--color-primary-700);
    border-left-color: var(--color-primary-600);
    background: var(--color-ink-50);
  }
  .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background-color: var(--color-primary-600);
    padding: 0.5rem 1rem;
    color: white;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
  }
  .btn-primary:hover {
    background-color: var(--color-primary-700);
  }
  .btn-primary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-primary-500), 0 0 0 4px white;
  }
  .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    border: 1px solid var(--color-ink-300);
    background-color: white;
    padding: 0.5rem 1rem;
    color: var(--color-ink-800);
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
  }
  .btn-secondary:hover {
    background-color: var(--color-ink-50);
  }
  .container {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
  }
  .brand {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
  }
  .logo {
    height: 2rem;
    width: auto;
  }
  .brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-ink-900);
    margin: 0;
  }
  .user-nav {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
  }
  .user-info {
    display: flex;
    align-items: center;
  }
  .user-name {
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    color: var(--header-link-color, #FFFFFF);
  }
  .auth-links {
    display: flex;
    gap: 1rem;
    align-items: center;
  }
  .sign-in-link {
    color: var(--color-ink-700);
    text-decoration: none;
    font-weight: 500;
  }
  .sign-in-link:hover {
    color: var(--color-ink-900);
  }
  .sign-up-link {
    background-color: var(--color-primary-600);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
  }
  .sign-up-link:hover {
    background-color: var(--color-primary-700);
  }
  .main-content {
    min-height: 60vh;
  }
  .footer {
    border-top: 1px solid var(--color-ink-200);
    margin-top: 4rem;
    padding: 2rem 0;
  }
  .footer-content {
    text-align: center;
    color: var(--color-ink-500);
    font-size: 0.875rem;
  }
  .hero-section {
    background-color: var(--color-ink-50);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    padding-bottom: 6rem;
  }
  .hero-background-clip {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
  }
  .search-form {
    position: relative;
    z-index: 100;
  }
  .search-input-wrapper-enhanced {
    position: relative;
    z-index: 100;
  }
  .search-preview-container {
    z-index: 150 !important;
    position: absolute !important;
  }
  .hero-gradient-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    --gradient-color-1: var(--header-background-color, #ffffff);
    --gradient-color-2: var(--brand-color, #00BFA6);
    --gradient-color-3: var(--brand-secondary, #7038ff);
    --gradient-color-4: var(--background-color, #ccc);
    pointer-events: none;
    will-change: transform;
    opacity: 0.3;
  }
  @media (prefers-reduced-motion: reduce) {
    .hero-gradient-canvas {
      display: none;
    }
    .hero-section {
      background: linear-gradient(135deg, var(--brand-color, #00BFA6) 0%, var(--brand-secondary, #7038ff) 100%);
    }
    .hero-wave-svg {
      display: none;
    }
  }
  .hero-wave-svg {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3rem;
    z-index: 1;
    pointer-events: none;
  }
  #startWave {
    fill: var(--background-color, #ffffff);
  }
  #endWave {
    fill: var(--background-color, #ffffff);
    visibility: hidden;
  }
  @media (max-width: 768px) {
    .hero-gradient-canvas {
      opacity: 0.8;
    }
    .hero-section {
      padding: 2rem 0;
      padding-bottom: 6rem;
    }
  }
  .hero-container {
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
  }
  .hero-title {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 700;
    color: var(--color-ink-900);
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
    mix-blend-mode: difference;
  }
  .hero-description {
    color: var(--color-ink-600);
    margin-bottom: 2rem;
    font-size: 1.125rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
  }
  .search-form {
    display: flex;
    gap: 0.75rem;
    max-width: 42rem;
    margin: 0 auto;
  }
  .search-input-wrapper {
    width: 100%;
    position: relative;
  }
  .search-input {
    flex: 1;
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid var(--color-ink-300);
    padding: 0.875rem 1.25rem 0.875rem 2.5rem;
    outline: none;
    font-size: 1rem;
    transition: all 0.2s;
    background-color: white;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
  }
  .search-input-large {
    font-size: 1.0625rem;
  }
  .search-input:focus {
    border-color: var(--color-primary-500);
    box-shadow: 0 0 0 3px rgba(0, 191, 166, 0.1);
    transform: translateY(-1px);
  }
  .search-trailing-button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    color: var(--color-ink-400);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color .2s, background .2s;
  }
  .search-trailing-button:hover {
    color: var(--color-ink-600);
    background: var(--color-ink-50);
  }
  .search-input::placeholder {
    color: var(--color-ink-400);
  }
  .search-input-wrapper-enhanced {
    position: relative;
    max-width: 100%;
  }
  .search-gradient-border {
    position: relative;
    padding: 2px;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--brand-color), var(--brand-secondary));
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  }
  .search-input-enhanced {
    width: 100%;
    border: none;
    border-radius: calc(0.75rem - 2px);
    padding: 0.875rem 3.5rem 0.875rem 1.25rem;
    font-size: 1rem;
    background: white;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  }
  .search-input-enhanced:focus {
    transform: translateY(-1px);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  .search-input-enhanced::placeholder {
    color: var(--color-ink-400);
    font-weight: 400;
  }
  .search-trailing-button-enhanced {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-color), var(--brand-secondary));
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  }
  .search-trailing-button-enhanced:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  .search-button {
    background-color: var(--color-primary-600);
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
  }
  .search-button:hover {
    background-color: var(--color-primary-700);
  }
  .categories-section {
    padding: 2rem 0;
    margin-top: -1px;
    position: relative;
    z-index: 5;
  }
  .categories-container {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1rem;
  }
  .section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--color-ink-900);
    text-align: center;
    margin-bottom: 3rem;
  }
  .categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }
  .category-card {
    background: white;
    border: 1px solid var(--color-ink-200);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.2s;
    position: relative;
  }
  .category-card:hover {
    border-color: var(--color-ink-300);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }
  .category-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  .category-link {
    color: var(--color-ink-900);
    text-decoration: none;
  }
  .category-card .stretched-link {
    position: absolute;
    inset: 0;
    z-index: 1;
  }
  .category-card .category-link {
    position: relative;
    z-index: 2;
  }
  .category-link:hover {
    color: var(--color-primary-600);
  }
  .category-description {
    color: var(--color-ink-600);
    line-height: 1.6;
  }
  .brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary-600);
  }
  .main-header {
    background-color: var(--header-background-color, #1e1e1e);
    border-bottom: 1px solid var(--color-ink-200);
    position: sticky;
    top: 0;
    z-index: 50;
  }
  .dropdown {
    position: relative;
    display: inline-block;
  }
  .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s;
  }
  .dropdown-toggle:hover {
    background-color: var(--color-ink-50);
  }
  .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid var(--color-ink-200);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    min-width: 12rem;
    z-index: 50;
    display: none;
  }
  .dropdown:hover .dropdown-menu {
    display: block;
  }
  .dropdown-menu a, .dropdown-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--color-ink-700);
    text-decoration: none;
    transition: background-color 0.2s;
  }
  .dropdown-menu a:hover, .dropdown-link:hover {
    background-color: var(--color-ink-50);
  }
  .separator {
    height: 1px;
    background-color: var(--color-ink-200);
    margin: 0.5rem 0;
  }
  .header-container {
    margin: 0 auto;
    padding: 0 1rem;
  }
  svg.search-leading-icon {
    display: none;
  }
  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
  }
  .header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  .logo-container {
    flex-shrink: 0;
  }
  .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
  }
  .header-logo {
    height: 2rem;
    width: auto;
  }
  .main-nav {
    display: flex;
    gap: 2rem;
  }
  .nav-link {
    color: var(--header-link-color, #FFFFFF);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: color 0.2s;
  }
  .nav-link:hover {
    color: var(--header-link-color, #FFFFFF);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in srgb, var(--header-link-color, #FFFFFF), transparent 40%);
    }
  }
  .nav-link.submit-a-request {
    background: none;
    color: var(--header-link-color, #FFFFFF);
    border: none;
    padding: 0.5rem 0.75rem;
  }
  .nav-link.submit-a-request:hover {
    background: none;
    color: var(--header-link-color, #FFFFFF);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in srgb, var(--header-link-color, #FFFFFF), transparent 40%);
    }
    box-shadow: none;
  }
  .nav-link.submit-a-request:active {
    box-shadow: none;
    transform: none;
  }
  .my-requests, .sign-in-link {
    background-color: var(--brand-secondary);
    color: #ffffff !important;
    border-radius: 0.5rem;
    padding: 0.5rem 0.875rem;
    border: 1px solid transparent;
    transition: background-color 0.2s, box-shadow 0.2s;
  }
  .my-requests:hover, .sign-in-link:hover {
    background-color: var(--brand-secondary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in srgb, var(--brand-secondary), black 10%);
    }
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  }
  .dropdown-link.my-requests {
    background-color: var(--brand-secondary);
    color: #ffffff !important;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
  }
  .dropdown-link.my-requests:hover {
    background-color: var(--brand-secondary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in srgb, var(--brand-secondary), black 10%);
    }
    color: #ffffff !important;
  }
  .dropdown-link.submit-a-request {
    background: none;
    color: var(--header-link-color, #FFFFFF);
  }
  .dropdown-link.submit-a-request:hover {
    background: none;
    color: var(--header-link-color, #FFFFFF);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in srgb, var(--header-link-color, #FFFFFF), transparent 40%);
    }
  }
  .header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .search-container {
    position: relative;
  }
  .search-form {
    position: relative;
    display: flex;
    align-items: center;
  }
  .search-input {
    width: 100%;
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    border: 1px solid var(--color-ink-300);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    outline: none;
  }
  .search-input:focus {
    border-color: var(--color-primary-500);
    box-shadow: 0 0 0 3px rgba(0, 191, 166, 0.1);
  }
  .search-button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-ink-400);
    cursor: pointer;
    padding: 0.25rem;
  }
  .search-button:hover {
    color: var(--color-ink-600);
  }
  .search-icon {
    width: 1rem;
    height: 1rem;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .main-footer {
    background-color: var(--brand-secondary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in srgb, var(--brand-secondary), transparent 90%);
    }
    border-top: 1px solid var(--color-ink-200);
    margin-top: 0;
  }
  .footer-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 3rem 1rem;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  @media (max-width: 640px) {
    .footer-grid {
      grid-template-columns: 1fr;
      gap: 1.25rem;
    }
    .footer-brand {
      max-width: none;
    }
  }
  .footer-brand {
    max-width: 28rem;
  }
  .footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
  }
  .footer-logo-img {
    height: 2rem;
    width: auto;
  }
  .footer-brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary-600);
  }
  .footer-description {
    color: var(--color-ink-600);
    font-size: 0.875rem;
    line-height: 1.6;
  }
  .footer-section-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
  }
  .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .footer-links li {
    margin-bottom: 0.5rem;
  }
  .footer-link {
    color: var(--brand-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
  }
  .footer-link:hover {
    color: var(--brand-primary);
  }
  .footer-bottom {
    border-top: 1px solid var(--color-ink-200);
    padding-top: 2rem;
  }
  .footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  .footer-copyright {
    color: var(--color-ink-500);
    font-size: 0.875rem;
    margin: 0;
  }
  .footer-legal-links {
    display: flex;
    gap: 1.5rem;
  }
  .footer-legal-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
  }
  .footer-legal-link:hover {
    color: color-mix(in srgb, #ffffff, transparent 30%);
  }
  @media (min-width: 768px) {
    .footer-bottom-content {
      flex-direction: row;
      justify-content: space-between;
    }
  }
  .skip-navigation {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--color-primary-600);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
  }
  .skip-navigation:focus {
    top: 6px;
  }
  .header {
    background: white;
    border-bottom: 1px solid var(--color-ink-200);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 50;
  }
  .logo {
    display: flex;
    align-items: center;
  }
  .logo img {
    height: 2rem;
    width: auto;
  }
  .nav-wrapper-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  .user-nav {
    display: flex;
    gap: 2rem;
  }
  .user-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
  }
  .user-info {
    display: flex;
    align-items: center;
  }
  .dropdown {
    position: relative;
  }
  .dropdown-toggle {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
  }
  .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid var(--color-ink-200);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    z-index: 1000;
    display: none;
  }
  .dropdown:hover .dropdown-menu {
    display: block;
  }
  .language-selector {
    margin-left: 1rem;
  }
  .language-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--header-link-color, #FFFFFF);
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
  }
  .language-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  .language-toggle svg {
    width: 1rem;
    height: 1rem;
    stroke-width: 2;
  }
  .current-lang {
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
  }
  .language-menu {
    min-width: 10rem;
    right: 0;
  }
  .language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--color-ink-700);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
  }
  .language-option:hover {
    background-color: var(--color-ink-50);
    color: var(--color-ink-900);
  }
  .language-option.active {
    background-color: var(--brand-color, #1e1e1e);
    color: #ffffff;
  }
  .language-option.active:hover {
    background-color: var(--brand-color, #1e1e1e);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in srgb, var(--brand-color, #1e1e1e), black 10%);
    }
  }
  .flag-icon {
    font-size: 1.125rem;
    width: 1.5rem;
    height: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  @media (max-width: 768px) {
    .language-selector {
      margin-left: 0.5rem;
    }
    .language-toggle {
      padding: 0.375rem 0.5rem;
    }
    .current-lang {
      display: none;
    }
    .language-menu {
      right: -1rem;
      min-width: 9rem;
    }
  }
  .nav-wrapper-mobile {
    display: none;
  }
  .menu-button-mobile {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--header-link-color, #FFFFFF);
  }
  .menu-list-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--color-ink-200);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  .menu-list-mobile.is-open {
    display: block;
  }
  .menu-list-mobile-items {
    list-style: none;
    margin: 0;
    padding: 1rem;
  }
  .menu-list-mobile-items .item {
    padding: 0.5rem 0;
  }
  .menu-list-mobile-items .my-requests, .menu-list-mobile-items .sign-in-link, .menu-list-mobile-items .submit-new-request {
    text-align: center;
    display: block;
    border-radius: 0.5rem;
  }
  .menu-list-mobile-items .submit-new-request {
    background-color: var(--brand-color);
    color: #ffffff !important;
    padding: 0.5rem 0.875rem;
    margin-top: 0.25rem;
  }
  .nav-divider {
    height: 1px;
    background: var(--color-ink-200);
    margin: 0.5rem 0;
  }
  @media (max-width: 768px) {
    .nav-wrapper-desktop {
      display: none;
    }
    .nav-wrapper-mobile {
      display: block;
    }
    .hero-title {
      font-size: 1.875rem;
      line-height: 2.25rem;
    }
    .search-form {
      flex-direction: column;
    }
    .categories-grid {
      grid-template-columns: 1fr;
    }
  }
}
.ai-answers-container [data-testid="generative-answer"] {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(59, 130, 246, 0.05));
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.ai-answers-container [data-testid="generative-answer"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #8b5cf6, #3b82f6, #06b6d4);
}
.ai-answers-container [data-testid="generative-answer"] h2, .ai-answers-container [data-testid="generative-answer"] .generative-answer-title {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 16px;
}
.ai-answers-container [data-testid="generative-answer"] h2::before, .ai-answers-container [data-testid="generative-answer"] .generative-answer-title::before {
  content: '';
  width: 24px;
  height: 24px;
  margin-right: 12px;
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M11.3 1.046A1 1 0 0112 2v5h4a1 1 0 01.82 1.573l-7 10A1 1 0 018 18v-5H4a1 1 0 01-.82-1.573l7-10a1 1 0 011.12-.38z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center;
  mask-size: contain;
}
.ai-answers-container [data-testid="generative-answer"] .generative-answer-content {
  font-size: 1rem;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 16px;
}
.ai-answers-container [data-testid="generative-answer"] .generative-answer-sources {
  border-top: 1px solid rgba(139, 92, 246, 0.1);
  padding-top: 16px;
  margin-top: 16px;
}
.ai-answers-container [data-testid="generative-answer"] .generative-answer-sources h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ai-answers-container [data-testid="generative-answer"] .generative-answer-sources a {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: rgba(139, 92, 246, 0.1);
  color: #7c3aed;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.875rem;
  margin-right: 8px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}
.ai-answers-container [data-testid="generative-answer"] .generative-answer-sources a:hover {
  background: rgba(139, 92, 246, 0.2);
  transform: translateY(-1px);
}
.ai-answers-container [data-testid="generative-answer"] .feedback-container, .ai-answers-container [data-testid="generative-answer"] .ai-feedback-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(139, 92, 246, 0.1);
}
.ai-answers-container [data-testid="generative-answer"] .feedback-container button, .ai-answers-container [data-testid="generative-answer"] .ai-feedback-buttons button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #7c3aed;
  border-radius: 6px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ai-answers-container [data-testid="generative-answer"] .feedback-container button:hover, .ai-answers-container [data-testid="generative-answer"] .ai-feedback-buttons button:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.5);
}
.ai-enhanced-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.1));
  color: #7c3aed;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-left: 8px;
}
.ai-enhanced-badge svg {
  width: 12px;
  height: 12px;
  margin-right: 4px;
}
.search-preview-container {
  backdrop-filter: blur(8px);
  border: 1px solid rgba(229, 231, 235, 0.8);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  z-index: 1000;
}
.search-preview-item {
  transition: all 0.15s ease-in-out;
}
.search-preview-item:hover {
  background-color: rgba(249, 250, 251, 0.8);
  transform: translateY(-1px);
}
.search-preview-item.selected {
  background-color: rgba(20, 184, 166, 0.1);
  border-left: 3px solid #14b8a6;
}
.search-preview-container::-webkit-scrollbar {
  width: 6px;
}
.search-preview-container::-webkit-scrollbar-track {
  background: transparent;
}
.search-preview-container::-webkit-scrollbar-thumb {
  background: rgba(156, 163, 175, 0.5);
  border-radius: 3px;
}
.search-preview-container::-webkit-scrollbar-thumb:hover {
  background: rgba(156, 163, 175, 0.8);
}
.search-preview-loading {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.ai-summary-preview {
  animation: slideIn 0.3s ease-out;
}
.ai-generated-summary {
  animation: fadeIn 0.5s ease-out;
}
.animate-spin {
  animation: spin 1s linear infinite;
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}
.from-purple-50 {
  --tw-gradient-from: #faf5ff;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(250, 245, 255, 0));
}
.to-blue-50 {
  --tw-gradient-to: #eff6ff;
}
.from-purple-100 {
  --tw-gradient-from: #f3e8ff;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(243, 232, 255, 0));
}
.to-blue-100 {
  --tw-gradient-to: #dbeafe;
}
.from-purple-500 {
  --tw-gradient-from: #8b5cf6;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(139, 92, 246, 0));
}
.to-blue-500 {
  --tw-gradient-to: #3b82f6;
}
.ai-response-content {
  line-height: 1.6;
}
.ai-response-content p {
  margin-bottom: 1rem;
}
.ai-response-content p:last-child {
  margin-bottom: 0;
}
.ai-response-content strong {
  font-weight: 600;
  color: #374151;
}
.ai-response-content em {
  font-style: italic;
  color: #6b7280;
}
.ai-response-content .ai-response-list {
  list-style: none;
  margin: 1rem 0;
  padding-left: 0;
}
.ai-response-content .ai-response-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #4b5563;
}
.ai-response-content .ai-response-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #8b5cf6;
  font-weight: bold;
}
.ai-response-content .ai-response-list li:last-child {
  margin-bottom: 0;
}
.ai-response-content ol {
  counter-reset: ai-counter;
  list-style: none;
  margin: 1rem 0;
  padding-left: 0;
}
.ai-response-content ol li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.5rem;
  counter-increment: ai-counter;
}
.ai-response-content ol li::before {
  content: counter(ai-counter) '.';
  position: absolute;
  left: 0;
  color: #8b5cf6;
  font-weight: bold;
}
.ai-source-link {
  color: #2563eb;
  text-decoration: none;
  border-bottom: 1px solid rgba(37, 99, 235, 0.3);
  transition: all 0.2s ease;
  font-weight: 500;
}
.ai-source-link:hover {
  color: #1d4ed8;
  border-bottom-color: #1d4ed8;
  background-color: rgba(37, 99, 235, 0.05);
}
.ai-source-link:visited {
  color: #7c3aed;
}
.ai-source-link:visited:hover {
  color: #6d28d9;
}
article img {
  max-width: 100%;
  height: auto;
}
#article-toc {
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  animation: fadeInUp 0.3s ease-out;
}
#article-toc::-webkit-scrollbar {
  width: 4px;
}
#article-toc::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 2px;
}
#article-toc::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 2px;
}
#article-toc::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
#toc-nav a {
  position: relative;
  transition: all 0.2s ease-in-out;
}
#toc-nav a:hover {
  transform: translateX(2px);
}
#toc-nav a.border-blue-500::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: linear-gradient(to bottom, #3b82f6, #1d4ed8);
  border-radius: 0 2px 2px 0;
}
@media (max-width: 1024px) {
  #article-toc {
    position: relative !important;
    top: auto !important;
    margin-bottom: 2rem;
    max-height: 300px;
  }
  #article-toc.mobile-toc-overlay {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex !important;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
    max-height: 100vh;
    overflow-y: auto;
    animation: fadeIn 0.2s ease-out;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@layer components {
  .toc-nav {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
  }
  .toc-nav::-webkit-scrollbar {
    width: 4px;
  }
  .toc-nav::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 2px;
  }
  .toc-nav::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
  }
  .toc-nav::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
  }
  .toc-link {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: #4b5563;
    border-radius: 0.375rem;
    transition: all 0.2s;
    border-left: 2px solid transparent;
    text-decoration: none;
  }
  .toc-link:hover {
    color: var(--brand-secondary);
    background-color: var(--brand-secondary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in srgb, var(--brand-secondary), transparent 90%);
    }
    border-left-color: var(--brand-secondary);
  }
  .toc-link.active {
    color: var(--brand-secondary);
    background-color: var(--brand-secondary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in srgb, var(--brand-secondary), transparent 90%);
    }
    border-left-color: var(--brand-secondary);
    font-weight: 500;
  }
  .toc-link.toc-h1:hover {
    color: var(--brand-color);
    background-color: var(--brand-color);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in srgb, var(--brand-color), transparent 90%);
    }
    border-left-color: var(--brand-color);
  }
  .toc-link.toc-h1.active {
    color: var(--brand-color);
    background-color: var(--brand-color);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in srgb, var(--brand-color), transparent 90%);
    }
    border-left-color: var(--brand-color);
  }
  .toc-link.toc-h1 {
    padding-left: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
  }
  .toc-link.toc-h2 {
    padding-left: 1.5rem;
    font-size: 0.875rem;
  }
  .toc-link.toc-h3 {
    padding-left: 2.25rem;
    font-size: 0.875rem;
    color: #6b7280;
  }
  .toc-link.toc-h4 {
    padding-left: 3rem;
    font-size: 0.75rem;
    color: #6b7280;
  }
  .toc-link.toc-h1::before {
    content: "■";
    color: var(--brand-color);
    margin-right: 0.5rem;
  }
  .toc-link.toc-h2::before {
    content: "▪";
    color: var(--brand-secondary);
    margin-right: 0.5rem;
  }
  .toc-link.toc-h3::before {
    content: "▫";
    color: #9ca3af;
    margin-right: 0.5rem;
  }
  .toc-link.toc-h4::before {
    content: "·";
    color: #9ca3af;
    margin-right: 0.5rem;
  }
  @media (max-width: 1023px) {
    .toc-sidebar {
      display: none;
    }
  }
  .toc-mobile-toggle {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background-color: #2563eb;
    color: white;
    padding: 0.75rem;
    border-radius: 50%;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s;
    z-index: 50;
    border: none;
    cursor: pointer;
  }
  .toc-mobile-toggle:hover {
    background-color: #1d4ed8;
  }
  @media (min-width: 1024px) {
    .toc-mobile-toggle {
      display: none;
    }
  }
  .toc-mobile-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 40;
  }
  @media (min-width: 1024px) {
    .toc-mobile-overlay {
      display: none;
    }
  }
  .toc-mobile-panel {
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    width: 20rem;
    background-color: white;
    box-shadow: -25px 0 25px -12px rgba(0, 0, 0, 0.25);
    transform: translateX(0);
    transition: transform 0.3s;
    z-index: 50;
  }
  @media (min-width: 1024px) {
    .toc-mobile-panel {
      display: none;
    }
  }
  .toc-mobile-panel.closed {
    transform: translateX(100%);
  }
}
@layer components {
  .hc-layout[data-page-type="article"] {
    grid-template-columns: minmax(200px, 280px) minmax(600px, auto) minmax(300px, 480px);
    gap: 2rem;
  }
  .toc-sidebar {
    padding: 2.5rem 1rem 2rem 0;
    display: block;
  }
  .toc-sticky-container {
    position: sticky;
    top: 2rem;
    height: calc(100vh - 4rem);
    overflow-y: auto;
  }
  @media (max-width: 1023px) {
    .hc-layout[data-page-type="article"] {
      grid-template-columns: 280px 1fr;
    }
    .toc-sidebar {
      display: none;
    }
  }
  @media (max-width: 767px) {
    .hc-layout {
      grid-template-columns: 1fr;
    }
    .hc-layout[data-page-type="article"] {
      grid-template-columns: 1fr;
    }
    .hc-sidebar {
      display: none;
    }
  }
}
@layer components {
  .hc-sidebar {
    padding: 2.5rem 1rem 2rem 1rem;
  }
  .hc-sidebar nav {
    background: transparent;
    padding: 0;
  }
  .sb-cat-title {
    font-weight: 500;
    font-size: 1rem;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .sb-cat-title .category-icon {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    color: var(--brand-color);
  }
  .sb-cat-title-button {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: #374151;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.6rem 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    border-radius: 0.375rem;
    border-left: 2px solid transparent;
  }
  .sb-cat-title-button:hover {
    color: var(--brand-color);
    background-color: var(--brand-color);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in srgb, var(--brand-color), transparent 90%);
    }
    border-left-color: var(--brand-color);
  }
  .sb-cat-title-button[aria-expanded="true"] {
    color: var(--brand-color);
    background-color: var(--brand-color);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in srgb, var(--brand-color), transparent 90%);
    }
    border-left-color: var(--brand-color);
  }
  .sb-section {
    margin-bottom: 0.25rem;
  }
  .sb-section-toggle {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: #4b5563;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    border-radius: 0.375rem;
    transition: all 0.2s;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 2px solid transparent;
  }
  .sb-section-toggle:hover {
    background-color: var(--brand-secondary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in srgb, var(--brand-secondary), transparent 90%);
    }
    color: var(--brand-secondary);
    border-left-color: var(--brand-secondary);
    border-radius: 0.5rem;
  }
  .sb-section-toggle svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.2s;
    color: #9ca3af;
  }
  .sb-section-toggle:hover svg {
    color: var(--brand-secondary);
  }
  .sb-section-toggle[aria-expanded="true"] {
    color: var(--brand-secondary);
    background-color: var(--brand-secondary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in srgb, var(--brand-secondary), transparent 90%);
    }
    border-left-color: var(--brand-secondary);
    border-radius: 0.5rem;
    font-weight: 500;
  }
  .sb-section-toggle[aria-expanded="true"] svg {
    transform: rotate(90deg);
    color: var(--brand-secondary);
  }
  .sb-article-list {
    list-style: none;
    padding-left: 1rem;
    margin: 0.5rem 0 1rem 0;
    max-height: 300px;
    overflow-y: auto;
  }
  .sb-article-list::-webkit-scrollbar {
    width: 4px;
  }
  .sb-article-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 2px;
  }
  .sb-article-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
  }
  .sb-article-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
  }
  .sb-article-link {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #6b7280;
    text-decoration: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    transition: all 0.2s;
    border-left: 2px solid transparent;
    margin-bottom: 0.125rem;
  }
  .sb-article-link:hover {
    color: var(--brand-secondary);
    background-color: var(--brand-secondary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in srgb, var(--brand-secondary), transparent 90%);
    }
    border-left-color: var(--brand-secondary);
    border-radius: 0.5rem;
  }
  .sb-article-link.is-active {
    color: var(--brand-secondary);
    background-color: var(--brand-secondary);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in srgb, var(--brand-secondary), transparent 90%);
    }
    border-left-color: var(--brand-secondary);
    border-radius: 0.5rem;
    font-weight: 500;
  }
  .sb-article-link::before {
    content: "▫";
    color: #9ca3af;
    margin-right: 0.5rem;
  }
  .sb-article-link:hover::before {
    color: var(--brand-secondary);
  }
  .sb-article-link.is-active::before {
    content: "▪";
    color: var(--brand-secondary);
  }
}
@layer components {
  .ai-summary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: white;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  .ai-summary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #7c3aed, #2563eb);
  }
  .ai-summary-btn:active {
    transform: translateY(0);
  }
  .ai-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(4px);
  }
  .ai-dialog {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    animation: dialogSlideIn 0.3s ease-out;
  }
  @keyframes dialogSlideIn {
    from {
      opacity: 0;
      transform: translateY(-20px) scale(0.95);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  .ai-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(59, 130, 246, 0.05));
  }
  .ai-dialog-title {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin: 0;
  }
  .ai-dialog-title svg {
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 38px;
  }
  .ai-dialog-close {
    padding: 0.5rem;
    border: none;
    background: none;
    color: #6b7280;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: all 0.2s;
  }
  .ai-dialog-close:hover {
    background-color: #f3f4f6;
    color: #374151;
  }
  .ai-dialog-content {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
  }
  .ai-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
  }
  .ai-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e7eb;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    background: conic-gradient(from 0deg, #8b5cf6, #3b82f6, #8b5cf6);
    margin-bottom: 1rem;
  }
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  .ai-loading p {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
  }
  .ai-summary-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
  }
  .ai-summary-text p {
    margin-bottom: 1rem;
  }
  .ai-summary-text p:last-child {
    margin-bottom: 0;
  }
  .ai-summary-text h1, .ai-summary-text h2, .ai-summary-text h3, .ai-summary-text h4 {
    color: #1f2937;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
  }
  .ai-summary-text h1:first-child, .ai-summary-text h2:first-child, .ai-summary-text h3:first-child, .ai-summary-text h4:first-child {
    margin-top: 0;
  }
  .ai-summary-text h1 {
    font-size: 1.25rem;
  }
  .ai-summary-text h2 {
    font-size: 1.125rem;
  }
  .ai-summary-text h3 {
    font-size: 1rem;
  }
  .ai-summary-text h4 {
    font-size: 0.875rem;
  }
  .ai-summary-text ul, .ai-summary-text ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    padding-left: 0;
  }
  .ai-summary-text li {
    margin-bottom: 0.5rem;
  }
  .ai-summary-text strong {
    font-weight: 600;
    color: #1f2937;
  }
  .ai-summary-text em {
    font-style: italic;
    color: #4b5563;
  }
  .ai-summary-text code {
    background-color: #f3f4f6;
    color: #1f2937;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  }
  .ai-summary-text blockquote {
    border-left: 4px solid #e5e7eb;
    padding-left: 1rem;
    margin: 1rem 0;
    color: #6b7280;
    font-style: italic;
  }
  .ai-summary-text .ai-source-link {
    color: #3b82f6;
    text-decoration: underline;
    font-weight: 500;
  }
  .ai-summary-text .ai-source-link:hover {
    color: #1d4ed8;
  }
  .ai-summary-text .ai-response-list, .ai-summary-text .ai-response-list-ordered {
    margin: 1rem 0;
    padding-left: 1.5rem;
  }
  .ai-summary-text .ai-response-list {
    list-style-type: disc;
  }
  .ai-summary-text .ai-response-list-ordered {
    list-style-type: decimal;
  }
  .ai-error-message {
    text-align: center;
    padding: 2rem;
    color: #dc2626;
    background-color: #fef2f2;
    border-radius: 0.5rem;
    border: 1px solid #fecaca;
  }
  .ai-error-message p {
    margin: 0;
    font-size: 0.875rem;
  }
  @media (max-width: 640px) {
    .ai-dialog {
      margin: 1rem;
      max-height: 90vh;
    }
    .ai-dialog-header {
      padding: 1rem;
    }
    .ai-dialog-content {
      padding: 1rem;
    }
    .ai-dialog-title {
      font-size: 1.125rem;
    }
  }
}
.request-main ul.comment-list {
  padding-left: 0;
  list-style: none;
}
.request-sidebar .request-details {
  margin: 0 0 1rem 0;
  padding: 0 0 1rem 0;
  border-bottom: 1px solid var(--color-ink-200);
}
.request-sidebar .request-details:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}
.request-sidebar .request-details dt {
  display: block;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-ink-500);
  margin-bottom: 0.25rem;
  margin-top: 0.75rem;
}
.request-sidebar .request-details dd {
  display: block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--color-ink-900);
  margin: 0 0 0.5rem 0;
}
.prop-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 0.375rem;
  background-color: var(--color-ink-100);
  color: var(--color-ink-700);
  padding: 0.125rem 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
}
.status-label {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
}
.status-label-open {
  background-color: var(--brand-secondary);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in srgb, var(--brand-secondary), transparent 88%);
  }
  color: var(--brand-secondary);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--brand-secondary), black 10%);
  }
}
.status-label-new {
  background-color: color-mix(in srgb, #CBD5E1, transparent 75%);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in srgb, var(--color-ink-300), transparent 75%);
  }
  color: var(--color-ink-800);
}
.status-label-pending {
  background-color: color-mix(in srgb, #f59e0b, transparent 88%);
  color: #92400e;
}
.status-label-hold {
  background-color: color-mix(in srgb, #8b5cf6, transparent 88%);
  color: #5b21b6;
}
.status-label-answered {
  background-color: var(--brand-secondary);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in srgb, var(--brand-secondary), transparent 85%);
  }
  color: var(--brand-secondary);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--brand-secondary), black 15%);
  }
}
.status-label-solved {
  background-color: var(--zd-color-green-400);
  color: var(--zd-color-green-100);
}
.status-label-closed {
  background-color: var(--color-ink-50);
  color: var(--color-ink-600);
}
.priority-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
}
.priority-low {
  background-color: var(--color-ink-50);
  color: var(--color-ink-600);
}
.priority-normal {
  background-color: var(--brand-color);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in srgb, var(--brand-color), transparent 88%);
  }
  color: var(--brand-color);
}
.priority-high {
  background-color: color-mix(in srgb, #f59e0b, transparent 88%);
  color: #92400e;
}
.priority-urgent {
  background-color: color-mix(in srgb, #ef4444, transparent 88%);
  color: #991b1b;
}
.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  background-color: var(--color-ink-100);
  color: var(--color-ink-700);
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
}
.user-profile-actions {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.user-profile-actions .btn, .user-profile-actions button, .user-profile-actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background-color: var(--brand-color);
  color: white;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.user-profile-actions .btn:hover, .user-profile-actions button:hover, .user-profile-actions a:hover {
  background-color: var(--brand-color);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in srgb, var(--brand-color), black 10%);
  }
  color: white;
  text-decoration: none;
}
.user-profile-actions .btn:focus, .user-profile-actions button:focus, .user-profile-actions a:focus {
  outline: 2px solid var(--brand-color);
  outline-offset: 2px;
}
.user-profile-actions .edit-profile-btn::before {
  content: '';
  width: 1rem;
  height: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
.section-articles-container .bg-white {
  background-color: white;
}
.section-articles-container .border-gray-200 {
  border-color: var(--color-ink-200);
}
.section-articles-container .text-gray-900 {
  color: var(--color-ink-900);
}
.section-articles-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.section-articles-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--color-ink-700);
  text-decoration: none;
  border-radius: 0.375rem;
  transition: all 0.2s ease-in-out;
  border-left: 2px solid transparent;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.section-articles-nav a:hover {
  background-color: var(--color-ink-100);
  color: var(--color-ink-900);
  border-left-color: var(--color-primary-600);
}
.section-articles-nav a.current-article {
  background-color: var(--color-ink-50);
  color: var(--color-primary-700);
  border-left-color: var(--color-primary-600);
  font-weight: 500;
}
.section-summary-btn {
  background: var(--color-primary-600);
  color: white;
  border: none;
  border-radius: 0.375rem;
  padding: 0.375rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  display: flex;
  align-items: center;
  gap: 0.125rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}
.section-summary-btn:hover {
  background: var(--color-primary-700);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}
.section-summary-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}
.article-attachments ul {
  padding: 0;
  list-style-type: none;
}
.community-layout {
  display: grid;
  grid-template-columns: 320px auto;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  gap: 2rem;
}
.community-sidebar {
  position: sticky;
  top: 4rem;
  height: calc(100vh - 6rem);
  overflow-y: auto;
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--color-ink-200);
  background: var(--color-ink-50);
  border-radius: 0 0.75rem 0.75rem 0;
}
.community-sidebar-section {
  margin-bottom: 2rem;
  padding: 1rem;
  background: white;
  border-radius: 0.5rem;
  border: 1px solid var(--color-ink-200);
}
.community-sidebar-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-ink-900);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.community-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.community-sidebar-item {
  margin-bottom: 0.5rem;
}
.community-sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  color: var(--color-ink-700);
  text-decoration: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: all 0.2s;
}
.community-sidebar-link:hover {
  background: var(--color-ink-100);
  color: var(--color-ink-900);
}
.community-sidebar-link.active {
  background: var(--color-primary-50);
  color: var(--color-primary-700);
  font-weight: 500;
}
.community-sidebar-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.75rem;
  color: var(--color-ink-600);
}
.community-sidebar-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.community-sidebar-stat-number {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-ink-900);
}
.community-sidebar-stat-label {
  font-size: 0.75rem;
  color: var(--color-ink-500);
}
.community-main {
  padding: 2rem 1rem;
  max-width: 72rem;
}
.community-card {
  background: white;
  border: 1px solid var(--color-ink-200);
  border-left: 3px solid var(--color-ink-200);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.2s;
  position: relative;
}
.community-card:hover {
  border-color: var(--color-ink-300);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.community-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-ink-900);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0;
}
.community-card-link {
  color: var(--color-ink-900);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.community-card-link:hover {
  color: var(--color-primary-600);
}
.community-card-description {
  color: var(--color-ink-600);
  line-height: 1.6;
}
.community-topic-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.community-post-card {
  background: white;
  border: 1px solid var(--color-ink-200);
  border-left: 3px solid var(--color-ink-200);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.2s;
}
.community-post-card:hover {
  border-color: var(--color-ink-300);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}
.community-post-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-ink-900);
  margin-bottom: 0.5rem;
}
.community-post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--color-ink-500);
  margin-bottom: 0.75rem;
}
.community-post-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-ink-600);
}
.community-post-stat {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.community-comment-card {
  background: white;
  border: 1px solid var(--color-ink-200);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: all 0.2s;
}
.community-comment-card:hover {
  border-color: var(--color-ink-300);
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}
.community-comment-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.community-comment-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
}
.community-comment-author {
  font-weight: 500;
  color: var(--color-ink-900);
}
.community-comment-meta {
  font-size: 0.75rem;
  color: var(--color-ink-500);
}
.community-comment-content {
  color: var(--color-ink-700);
  line-height: 1.6;
}
.community-filters {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: var(--color-ink-50);
  border-radius: 0.5rem;
  border: 1px solid var(--color-ink-200);
}
.community-filter-dropdown {
  position: relative;
  display: inline-block;
}
.community-filter-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  border: 1px solid var(--color-ink-300);
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--color-ink-700);
  cursor: pointer;
  transition: all 0.2s;
}
.community-filter-button:hover {
  border-color: var(--color-ink-400);
  background: var(--color-ink-50);
}
.community-filter-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid var(--color-ink-200);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  min-width: 12rem;
  z-index: 50;
  display: none;
}
.community-filter-dropdown:hover .community-filter-menu {
  display: block;
}
.community-filter-item {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--color-ink-700);
  text-decoration: none;
  transition: background-color 0.2s;
}
.community-filter-item:hover {
  background-color: var(--color-ink-50);
}
.community-status-label {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
}
.community-status-pinned {
  background-color: color-mix(in srgb, #f59e0b, transparent 88%);
  color: #92400e;
}
.community-status-featured {
  background-color: var(--brand-secondary);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in srgb, var(--brand-secondary), transparent 88%);
  }
  color: var(--brand-secondary);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--brand-secondary), black 10%);
  }
}
.community-status-open {
  background-color: var(--brand-secondary);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in srgb, var(--brand-secondary), transparent 88%);
  }
  color: var(--brand-secondary);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--brand-secondary), black 10%);
  }
}
.community-status-solved {
  background-color: color-mix(in srgb, #10b981, transparent 88%);
  color: #047857;
}
.community-status-closed {
  background-color: var(--color-ink-50);
  color: var(--color-ink-600);
}
.community-vote-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}
.community-vote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid var(--color-ink-300);
  border-radius: 0.5rem;
  background: white;
  color: var(--color-ink-600);
  cursor: pointer;
  transition: all 0.2s ease;
}
.community-vote-button svg {
  width: 1.25rem;
  height: 1.25rem;
}
.community-vote-button.community-vote-up:hover {
  border-color: #10b981;
  color: #10b981;
  background: #f0fdf4;
  transform: scale(1.05);
}
.community-vote-button.community-vote-up.voted {
  background: #10b981;
  color: white;
  border-color: #10b981;
}
.community-vote-button.community-vote-down:hover {
  border-color: #ef4444;
  color: #ef4444;
  background: #fef2f2;
  transform: scale(1.05);
}
.community-vote-button.community-vote-down.voted {
  background: #ef4444;
  color: white;
  border-color: #ef4444;
}
.community-vote-count {
  min-width: 2rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-ink-700);
}
.community-form {
  background: white;
  border: 1px solid var(--color-ink-200);
  border-radius: 0.75rem;
  padding: 2rem;
  margin-bottom: 2rem;
}
.community-form-field {
  margin-bottom: 1.5rem;
}
.community-form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-ink-700);
  margin-bottom: 0.5rem;
}
.community-form-input, .community-form-textarea, .community-form-select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-ink-300);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  background-color: white;
  transition: all 0.2s;
}
.community-form-input:focus, .community-form-textarea:focus, .community-form-select:focus {
  outline: none;
  border-color: var(--color-primary-500);
  box-shadow: 0 0 0 3px rgba(12, 36, 53, 0.1);
}
.community-form-error {
  color: #dc2626;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}
.community-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  background-color: var(--brand-secondary);
  padding: 0.5rem 1rem;
  color: white;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}
.community-btn-primary:hover {
  background-color: var(--brand-secondary);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in srgb, var(--brand-secondary), black 10%);
  }
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.community-btn-primary::before {
  content: '';
  width: 1rem;
  height: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m3.75 9v6m3-3H9m1.5-12H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  color: white;
}
.community-btn-secondary, .post-actions button, .comment-actions button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  border-radius: 0.5rem !important;
  border: 1px solid var(--color-ink-300) !important;
  background-color: white !important;
  padding: 0.5rem 0.75rem !important;
  color: var(--color-ink-700) !important;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05) !important;
  text-decoration: none !important;
  cursor: pointer !important;
  font-weight: 500 !important;
  font-size: 0.875rem !important;
  transition: all 0.2s ease !important;
}
.community-btn-secondary:hover, .post-actions button:hover, .comment-actions button:hover {
  background-color: var(--color-ink-50) !important;
  border-color: var(--color-ink-400) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.1) !important;
}
.community-btn-secondary svg, .post-actions button svg, .comment-actions button svg {
  width: 1rem !important;
  height: 1rem !important;
  flex-shrink: 0 !important;
}
.post-share ul.share {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.post-share ul.share li {
  margin: 0;
  padding: 0;
}
.post-share ul.share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
}
.post-share ul.share a svg {
  width: 1rem;
  height: 1rem;
}
.post-share .share-facebook {
  background-color: #1877f2;
  color: white;
}
.post-share .share-facebook:hover {
  background-color: #0c63d4;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(24, 119, 242, 0.3);
}
.post-share .share-twitter {
  background-color: #000000;
  color: white;
}
.post-share .share-twitter:hover {
  background-color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.post-share .share-linkedin {
  background-color: #0a66c2;
  color: white;
}
.post-share .share-linkedin:hover {
  background-color: #004182;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(10, 102, 194, 0.3);
}
.community-ai-assistant {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(59, 130, 246, 0.05));
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}
.community-ai-assistant::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #8b5cf6, #3b82f6, #06b6d4);
}
.community-ai-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.community-ai-icon {
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.community-ai-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-ink-900);
  margin: 0;
}
.community-ai-content {
  color: var(--color-ink-700);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.community-ai-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.community-ai-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(139, 92, 246, 0.3);
}
.community-ai-suggestions {
  background: white;
  border: 1px solid var(--color-ink-200);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-top: 1rem;
}
.community-ai-suggestions-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-ink-900);
  margin-bottom: 0.75rem;
}
.community-ai-suggestion {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--color-ink-700);
  text-decoration: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: all 0.2s;
  margin-bottom: 0.25rem;
}
.community-ai-suggestion:hover {
  background: var(--color-ink-50);
  color: var(--color-ink-900);
}
.community-ai-suggestion:last-child {
  margin-bottom: 0;
}
.community-ai-topic-summary {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(5, 150, 105, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.community-ai-topic-summary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #10b981, #059669);
}
.community-ai-topic-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.community-ai-topic-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-ink-900);
  margin: 0;
}
.community-ai-topic-icon {
  width: 1.5rem;
  height: 1.5rem;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.community-ai-topic-content {
  color: var(--color-ink-700);
  line-height: 1.6;
}
.community-ai-topic-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(16, 185, 129, 0.1);
}
.community-ai-topic-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.community-ai-topic-stat-number {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--color-ink-900);
}
.community-ai-topic-stat-label {
  font-size: 0.75rem;
  color: var(--color-ink-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
@media (max-width: 1024px) {
  .community-layout {
    grid-template-columns: 1fr;
  }
  .community-sidebar {
    display: none;
  }
  .community-main {
    padding: 1rem;
  }
}
@media (max-width: 768px) {
  .community-filters {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .community-post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .community-post-stats {
    gap: 1rem;
  }
}
@layer components {
  .prose pre {
    background-color: color-mix(in srgb, #0F172A, transparent 92%);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in srgb, var(--color-ink-900), transparent 92%);
    }
    color: var(--color-ink-800);
    border: 1px solid var(--color-ink-200);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    overflow: auto;
    line-height: 1.6;
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
  }
  .prose pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    border: 0;
    display: block;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.875rem;
    white-space: pre;
    word-wrap: normal;
  }
  .prose :not(pre) > code {
    background-color: var(--color-ink-100);
    color: var(--color-ink-800);
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    border: 1px solid var(--color-ink-200);
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.875rem;
  }
  .prose pre::-webkit-scrollbar {
    height: 8px;
    width: 8px;
  }
  .prose pre::-webkit-scrollbar-track {
    background: color-mix(in srgb, #E2E8F0, transparent 60%);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--color-ink-200), transparent 60%);
    }
  }
  .prose pre::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, #94A3B8, transparent 30%);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--color-ink-400), transparent 30%);
    }
    border-radius: 9999px;
  }
  @media (prefers-color-scheme: dark) {
    .prose pre {
      background-color: color-mix(in srgb, #0F172A, transparent 70%);
      @supports (color: color-mix(in lab, red, red)) {
        background-color: color-mix(in srgb, var(--color-ink-900), transparent 70%);
      }
      color: var(--color-ink-100);
      border-color: var(--color-ink-700);
    }
    .prose :not(pre) > code {
      background-color: color-mix(in srgb, #0F172A, transparent 70%);
      @supports (color: color-mix(in lab, red, red)) {
        background-color: color-mix(in srgb, var(--color-ink-900), transparent 70%);
      }
      color: var(--color-ink-100);
      border-color: var(--color-ink-700);
    }
    .prose pre::-webkit-scrollbar-track {
      background: color-mix(in srgb, #1F2937, transparent 40%);
      @supports (color: color-mix(in lab, red, red)) {
        background: color-mix(in srgb, var(--color-ink-800), transparent 40%);
      }
    }
    .prose pre::-webkit-scrollbar-thumb {
      background: color-mix(in srgb, #475569, transparent 10%);
      @supports (color: color-mix(in lab, red, red)) {
        background: color-mix(in srgb, var(--color-ink-600), transparent 10%);
      }
    }
  }
}
.community-sidebar-item svg {
  min-width: 16px;
}
.recent-activity-wrapper .recent-activity-header {
  display: none;
}
.recent-activity {
  background: transparent;
  border: none;
  padding: 0;
}
.recent-activity-list {
  display: grid;
  gap: 1rem;
}
.recent-activity-item {
  background: white;
  border: 1px solid rgb(229, 231, 235);
  border-left: 3px solid var(--color-primary-500);
  border-radius: 0.75rem;
  padding: 1.25rem;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.recent-activity-item:hover {
  border-color: var(--color-primary-400);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}
.recent-activity-item h3 {
  margin: 0 0 0.5rem 0;
  font-size: 0.875rem;
  font-weight: 500;
}
.recent-activity-item-parent {
  color: var(--color-primary-600);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.recent-activity-item-parent:hover {
  color: var(--color-primary-700);
}
.recent-activity-item-parent::before {
  content: "📌";
  font-size: 0.875rem;
}
.recent-activity-item-link {
  color: rgb(17, 24, 39);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: block;
  margin-bottom: 0.75rem;
  line-height: 1.5;
  transition: color 0.2s ease;
}
.recent-activity-item-link:hover {
  color: var(--color-primary-600);
}
.recent-activity-item-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.recent-activity-item-time {
  color: rgb(107, 114, 128);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.recent-activity-item-time::before {
  content: "🕒";
  font-size: 0.875rem;
}
.recent-activity-item-comment {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: rgb(107, 114, 128);
  font-size: 0.875rem;
}
.recent-activity-comment-icon {
  display: inline-flex;
  align-items: center;
  color: var(--color-primary-500);
}
.recent-activity-comment-icon svg {
  width: 16px;
  height: 16px;
}
.recent-activity-accessibility-label {
  font-size: 0.875rem;
}
.recent-activity-item[data-recent-activity-action="post_created"] {
  border-left-color: var(--color-primary-500);
}
.recent-activity-item[data-recent-activity-action="post_comment_added"] {
  border-left-color: rgb(16, 185, 129);
}
.recent-activity-item[data-recent-activity-action="post_comment_added"] .recent-activity-item-time::before {
  content: "💬";
}
.recent-activity-no-activities {
  text-align: center;
  padding: 3rem 1.5rem;
  color: rgb(107, 114, 128);
  font-size: 0.875rem;
}
.recent-activity-loader {
  text-align: center;
  padding: 2rem;
  color: var(--color-primary-500);
  font-size: 1rem;
}
.recent-activity-controls {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(229, 231, 235);
}
.recent-activity-controls a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: white;
  border: 1px solid var(--color-primary-500);
  color: var(--color-primary-600);
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}
.recent-activity-controls a:hover {
  background: var(--color-primary-50);
  border-color: var(--color-primary-600);
  color: var(--color-primary-700);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.recent-activity-controls a::after {
  content: "→";
  font-size: 1.125rem;
}
@media (max-width: 640px) {
  .recent-activity-item {
    padding: 1rem;
  }
  .recent-activity-item-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
.featured-post-card {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}
.featured-post-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #8b5cf6, #3b82f6, #06b6d4);
}
.featured-post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -2px rgba(0, 0, 0, 0.15);
  border-color: var(--color-primary-400);
}
.featured-post-card .community-card-title {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.4;
}
.featured-post-card:hover .community-card-title {
  color: var(--color-primary-600);
}
.featured-post-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  max-height: calc(1.4em * 4);
  position: relative;
}
.featured-post-excerpt::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 1.4em;
  background: linear-gradient(to right, transparent, white);
  pointer-events: none;
}
@media (max-width: 768px) {
  .featured-post-card {
    padding: 1rem;
  }
}
.community-follow {
  display: inline-block;
}
.community-follow > div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.community-follow button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--brand-color);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  position: relative;
}
.community-follow button::before {
  content: '';
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-right: 0.375rem;
  vertical-align: middle;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12.75 19.5v-.75a7.5 7.5 0 0 0-7.5-7.5H4.5m0-6.75h.75c7.87 0 14.25 6.38 14.25 14.25v.75M6 18.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  flex-shrink: 0;
}
.community-follow button:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.community-follow button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}
.community-follow button[data-selected="true"] {
  background-color: transparent;
  border-color: var(--color-ink-300);
  color: var(--color-ink-600);
}
.community-follow button[data-selected="true"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%2364748B'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12.75 19.5v-.75a7.5 7.5 0 0 0-7.5-7.5H4.5m0-6.75h.75c7.87 0 14.25 6.38 14.25 14.25v.75M6 18.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z'/%3E%3C/svg%3E");
}
.community-follow button[data-selected="true"]:hover {
  background-color: var(--color-ink-50);
  border-color: var(--color-ink-400);
  color: var(--color-ink-700);
}
.community-follow button[data-selected="true"]:hover::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23334155'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12.75 19.5v-.75a7.5 7.5 0 0 0-7.5-7.5H4.5m0-6.75h.75c7.87 0 14.25 6.38 14.25 14.25v.75M6 18.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z'/%3E%3C/svg%3E");
}
.community-follow button[data-selected="false"] {
  background-color: var(--brand-color);
  border-color: var(--brand-color);
  color: white;
}
.community-follow button[data-selected="false"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12.75 19.5v-.75a7.5 7.5 0 0 0-7.5-7.5H4.5m0-6.75h.75c7.87 0 14.25 6.38 14.25 14.25v.75M6 18.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z'/%3E%3C/svg%3E");
}
.community-follow button[data-selected="false"]:hover {
  background-color: var(--brand-color);
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in srgb, var(--brand-color), black 10%);
  }
  border-color: var(--brand-color);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--brand-color), black 10%);
  }
  color: white;
}
.community-follow span, .community-follow .IJDXXdfgVXcY6MRd9u66HghwrbdhBtJv {
  font-size: 0.75rem;
  color: var(--color-ink-500);
  display: block;
  margin-top: 0.25rem;
  font-weight: 400;
}
.post-actions-wrapper .community-follow {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}
.post-actions-wrapper .community-follow button {
  white-space: nowrap;
}
@media (max-width: 640px) {
  .community-follow > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .community-follow button {
    padding: 0.375rem 0.625rem;
    font-size: 0.8125rem;
  }
}
.post-meta .flex.items-center.gap-4.text-sm.text-gray-500.mb-3 > span.flex.items-center.gap-1.text-xs.text-gray-500 {
  display: none !important;
}
.post-container #main-content .community-vote-count, .comment-wrapper .community-vote-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  border: 2px solid;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}
.post-container #main-content .community-vote-count, .comment-wrapper .community-vote-count {
  border-color: var(--color-ink-300);
  background-color: var(--color-ink-50);
  color: var(--color-ink-700);
}
.post-container #main-content .community-vote-count.vote-positive, .comment-wrapper .community-vote-count.vote-positive {
  border-color: #10b981;
  background-color: #d1fae5;
  color: #065f46;
}
.post-container #main-content .community-vote-count.vote-negative, .comment-wrapper .community-vote-count.vote-negative {
  border-color: #ef4444;
  background-color: #fee2e2;
  color: #991b1b;
}
.post-container #main-content .community-vote-count.vote-neutral, .comment-wrapper .community-vote-count.vote-neutral {
  border-color: var(--color-ink-300);
  background-color: var(--color-ink-50);
  color: var(--color-ink-500);
}
.comment-body figure, .post-body figure {
  margin: 0;
}
@media (max-width: 640px) {
  .community-post-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.75rem;
  }
  .community-post-stat {
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
  }
}
.comment-body blockquote, .post-body blockquote {
  border-left: solid 2px;
  padding-left: 1rem;
  font-style: italic;
  background: var(--zd-color-blue-100);
}
.comment-body a, .post-body a {
  color: var(--brand-secondary) !important;
}
.comment-body a:hover, .post-body a:hover {
  color: var(--brand-primary) !important;
}
.author-badges img {
  margin-right: 5px;
}
.comment-votes > span > span {
  padding: 0px 5px;
}
.category-card svg {
  width: 100%;
  height: auto;
  padding: 0.25rem;
  box-sizing: border-box;
}
@property --tw-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-z {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-divide-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-ordinal {
  syntax: "*";
  inherits: false;
}
@property --tw-slashed-zero {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-figure {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-spacing {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-fraction {
  syntax: "*";
  inherits: false;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@property --tw-duration {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-translate-x: 0;
      --tw-translate-y: 0;
      --tw-translate-z: 0;
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-divide-y-reverse: 0;
      --tw-border-style: solid;
      --tw-ordinal: initial;
      --tw-slashed-zero: initial;
      --tw-numeric-figure: initial;
      --tw-numeric-spacing: initial;
      --tw-numeric-fraction: initial;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-duration: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
    }
  }
}
