:root {
  --paper: #f5f5f2;
  --ink: #111111;
  --muted: #626262;
  --line: #cfcfca;
  --blue: #459cec;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, system-ui, sans-serif;
  line-height: 1.6;
}

button,
input {
  font: inherit;
}

.wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  --hero-x: 50%;
  --hero-y: 50%;
  position: relative;
  display: grid;
  min-height: 68vh;
  overflow: hidden;
  padding: 52px 36px 42px;
  background: var(--paper);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    circle at var(--hero-x) var(--hero-y),
    rgba(69, 156, 236, 0.36),
    rgba(96, 211, 232, 0.24) 30%,
    rgba(245, 245, 242, 0) 64%
  );
  content: "";
  pointer-events: none;
}

.hero::after {
  position: absolute;
  inset: -18%;
  z-index: 0;
  background:
    radial-gradient(
      ellipse at 18% 32%,
      rgba(72, 166, 238, 0.3),
      rgba(72, 166, 238, 0) 48%
    ),
    radial-gradient(
      ellipse at 78% 26%,
      rgba(104, 215, 234, 0.26),
      rgba(104, 215, 234, 0) 50%
    ),
    radial-gradient(
      ellipse at 48% 82%,
      rgba(136, 158, 240, 0.2),
      rgba(136, 158, 240, 0) 54%
    ),
    linear-gradient(135deg, #f5f5f2, #d9ecff, #d6f7ff, #e3e8ff, #f5f5f2);
  background-size:
    135% 135%,
    145% 145%,
    150% 150%,
    220% 220%;
  content: "";
  pointer-events: none;
  transform: scale(1.08);
  animation: heroWaveGradient 16s ease-in-out infinite alternate;
  filter: blur(18px);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.eyebrow,
.section-label,
.number,
.hero-count,
.result-count,
.component-term,
.card-link {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0;
}

h1 {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  margin: auto 0;
  font-size: clamp(3.4rem, 10vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.82;
}

h1 span:last-child {
  margin-left: 0;
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--ink);
  padding-top: 16px;
}

.hero-bottom p {
  font-size: 0.88rem;
  line-height: 1.6;
}

.hero-count {
  white-space: nowrap;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: rgba(245, 245, 242, 0.96);
}

.nav-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1120px, 100%);
  margin: 0 auto;
  border-left: 1px solid var(--ink);
}

.nav a {
  min-width: 0;
  border-right: 1px solid var(--ink);
  padding: 17px 18px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  background: var(--ink);
  color: #fff;
}

section {
  scroll-margin-top: 72px;
}

.js .fade-section {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.js .fade-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.catalog-intro {
  border-top: 1px solid var(--line);
  padding: 78px 36px 70px;
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(320px, 1.2fr);
  gap: 48px;
}

.section-label {
  margin: 0 0 18px;
}

h2 {
  margin: 0 0 24px;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.lead {
  max-width: 720px;
  margin: 0;
  color: #444;
  font-size: 1rem;
  line-height: 1.8;
}

.lead + .lead {
  margin-top: 14px;
}

.catalog-tools {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 26px 36px 22px;
  background: #fff;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.search-box {
  display: flex;
  flex: 1;
  align-items: center;
  max-width: 560px;
  border-bottom: 1px solid var(--ink);
}

.search-mark {
  margin-right: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  transform: rotate(-20deg);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 12px 0;
  background: transparent;
  color: var(--ink);
}

.search-box input::placeholder {
  color: #777;
}

kbd {
  border: 1px solid var(--line);
  padding: 2px 7px;
  color: #555;
  font-size: 0.7rem;
  white-space: nowrap;
}

.result-count {
  margin: 0;
  white-space: nowrap;
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.filter-button {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 7px 15px;
  background: transparent;
  color: var(--ink);
  font-size: 0.84rem;
  cursor: pointer;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  background: var(--ink);
  color: #fff;
}

.catalog {
  background: var(--paper);
}

.category {
  border-bottom: 1px solid var(--line);
  padding: 70px 36px 76px;
}

.category:nth-child(even) {
  background: #fff;
}

.category-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.category-heading h2 {
  margin: 0;
}

.category-heading p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.component-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.component-card {
  display: flex;
  min-height: 286px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: transparent;
  color: inherit;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.component-card:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-3px);
}

.visual-preview {
  position: relative;
  min-height: 102px;
  overflow: hidden;
  border-bottom: 1px solid currentColor;
  background: #e8f5ff;
  color: var(--ink);
}

.visual-preview::after {
  position: absolute;
  right: 12px;
  bottom: 10px;
  color: currentColor;
  content: "UI";
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.45;
}

.visual-preview span {
  position: absolute;
  display: block;
  border: 1px solid currentColor;
  background: rgba(255, 255, 255, 0.5);
}

.visual-preview span:nth-child(1) {
  top: 16px;
  left: 16px;
  width: 58%;
  height: 12px;
}

.visual-preview span:nth-child(2) {
  top: 40px;
  left: 16px;
  width: 36%;
  height: 10px;
}

.visual-preview span:nth-child(3) {
  right: 16px;
  bottom: 16px;
  width: 30%;
  height: 24px;
}

.visual-preview span:nth-child(4) {
  bottom: 20px;
  left: 16px;
  width: 22%;
  height: 8px;
}

.visual-navigation span:nth-child(1),
.visual-footer span:nth-child(1) {
  top: 18px;
  width: calc(100% - 32px);
  height: 10px;
}

.visual-navigation span:nth-child(2),
.visual-navigation span:nth-child(3),
.visual-navigation span:nth-child(4) {
  top: 48px;
  width: 17%;
  height: 24px;
}

.visual-navigation span:nth-child(2) {
  left: 16px;
}
.visual-navigation span:nth-child(3) {
  left: 39%;
}
.visual-navigation span:nth-child(4) {
  right: 16px;
}

.visual-hamburger span:nth-child(1),
.visual-hamburger span:nth-child(2),
.visual-hamburger span:nth-child(3) {
  left: 16px;
  width: 32px;
  height: 2px;
}

.visual-hamburger span:nth-child(1) {
  top: 31px;
}
.visual-hamburger span:nth-child(2) {
  top: 48px;
}
.visual-hamburger span:nth-child(3) {
  top: 65px;
}

.visual-hamburger span:nth-child(4) {
  top: 29px;
  right: 18px;
  width: 45%;
  height: 42px;
}

.visual-carousel span:nth-child(1),
.visual-carousel span:nth-child(2),
.visual-carousel span:nth-child(3) {
  top: 23px;
  width: 27%;
  height: 54px;
}

.visual-carousel span:nth-child(1) {
  left: 16px;
}
.visual-carousel span:nth-child(2) {
  left: 36.5%;
  background: rgba(69, 156, 236, 0.25);
}
.visual-carousel span:nth-child(3) {
  right: 16px;
}

.visual-accordion span:nth-child(1),
.visual-accordion span:nth-child(2),
.visual-accordion span:nth-child(3) {
  left: 16px;
  width: calc(100% - 32px);
  height: 14px;
}

.visual-accordion span:nth-child(1) {
  top: 16px;
}
.visual-accordion span:nth-child(2) {
  top: 40px;
  height: 28px;
}
.visual-accordion span:nth-child(3) {
  top: 78px;
}
.visual-accordion span:nth-child(4) {
  display: none;
}

.visual-overlay span:nth-child(1) {
  inset: 14px;
  background: rgba(255, 255, 255, 0.35);
}

.visual-overlay span:nth-child(2) {
  top: 28px;
  left: 25%;
  width: 50%;
  height: 48px;
  background: #e8f5ff;
}

.visual-overlay span:nth-child(3) {
  top: 42px;
  left: 30%;
  width: 30%;
  height: 7px;
}

.visual-overlay span:nth-child(4) {
  top: 61px;
  left: 30%;
  width: 20%;
  height: 7px;
}

.visual-control span:nth-child(1) {
  top: 31px;
  left: 16px;
  width: 64%;
  height: 12px;
  border-radius: 99px;
}

.visual-control span:nth-child(2) {
  top: 27px;
  left: 58%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #459cec;
}

.visual-control span:nth-child(3) {
  top: 62px;
  left: 16px;
  width: 32%;
  height: 22px;
  border-radius: 99px;
}

.visual-control span:nth-child(4) {
  top: 62px;
  right: 16px;
  width: 24%;
  height: 22px;
  border-radius: 99px;
}

.visual-field span:nth-child(1),
.visual-field span:nth-child(2) {
  left: 16px;
  width: calc(100% - 32px);
  height: 14px;
}

.visual-field span:nth-child(1) {
  top: 19px;
  border: 0;
  background: transparent;
}
.visual-field span:nth-child(2) {
  top: 42px;
  height: 35px;
  background: rgba(255, 255, 255, 0.7);
}
.visual-field span:nth-child(3) {
  top: 55px;
  right: 26px;
  width: 18px;
  height: 8px;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}
.visual-field span:nth-child(4) {
  display: none;
}

.visual-progress span:nth-child(1) {
  top: 44px;
  left: 16px;
  width: calc(100% - 32px);
  height: 10px;
  border-radius: 99px;
}
.visual-progress span:nth-child(2) {
  top: 44px;
  left: 16px;
  width: 48%;
  height: 10px;
  border-radius: 99px;
  background: #459cec;
}
.visual-progress span:nth-child(3) {
  top: 28px;
  left: 16px;
  width: 28%;
  height: 8px;
  border: 0;
  background: transparent;
}
.visual-progress span:nth-child(4) {
  display: none;
}

.visual-notice span:nth-child(1) {
  top: 24px;
  left: 16px;
  width: 8px;
  height: 54px;
  background: #459cec;
}
.visual-notice span:nth-child(2) {
  top: 31px;
  left: 38px;
  width: 48%;
  height: 10px;
}
.visual-notice span:nth-child(3) {
  top: 52px;
  left: 38px;
  width: 30%;
  height: 8px;
}
.visual-notice span:nth-child(4) {
  display: none;
}

.visual-list span:nth-child(1),
.visual-list span:nth-child(2),
.visual-list span:nth-child(3) {
  left: 16px;
  width: calc(100% - 32px);
  height: 15px;
}

.visual-list span:nth-child(1) {
  top: 15px;
}
.visual-list span:nth-child(2) {
  top: 42px;
}
.visual-list span:nth-child(3) {
  top: 69px;
}
.visual-list span:nth-child(4) {
  display: none;
}

.visual-avatar span:nth-child(1),
.visual-avatar span:nth-child(2),
.visual-avatar span:nth-child(3) {
  top: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.visual-avatar span:nth-child(1) {
  left: 16px;
  background: #459cec;
}
.visual-avatar span:nth-child(2) {
  left: 46px;
}
.visual-avatar span:nth-child(3) {
  left: 76px;
}
.visual-avatar span:nth-child(4) {
  top: 44px;
  right: 18px;
  width: 25%;
  height: 8px;
}

.visual-timeline span:nth-child(1) {
  top: 17px;
  left: 30px;
  width: 2px;
  height: 68px;
}
.visual-timeline span:nth-child(2),
.visual-timeline span:nth-child(3),
.visual-timeline span:nth-child(4) {
  left: 20px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e8f5ff;
}
.visual-timeline span:nth-child(2) {
  top: 18px;
}
.visual-timeline span:nth-child(3) {
  top: 42px;
}
.visual-timeline span:nth-child(4) {
  top: 66px;
}

.visual-generic span:nth-child(1) {
  width: 64%;
}
.visual-generic span:nth-child(2) {
  width: 40%;
}

.component-card:hover .visual-preview {
  background: #d9ecff;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 16px 16px;
}

.component-term {
  opacity: 0.62;
}

.component-card h3 {
  margin: 10px 0 0;
  font-size: 1.18rem;
  line-height: 1.2;
}

.card-details {
  margin-top: auto;
  border-top: 1px solid currentColor;
}

.card-details summary {
  padding: 12px 0 0;
  color: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.card-details summary::-webkit-details-marker {
  display: none;
}

.card-details summary::after {
  float: right;
  content: "+";
  font-size: 1.1rem;
  line-height: 1;
}

.card-details[open] summary::after {
  content: "−";
}

.detail-content {
  padding: 14px 0 2px;
}

.detail-label {
  margin: 0 0 5px;
  color: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.component-card .use {
  margin: 0;
  color: #555;
  font-size: 0.86rem;
  line-height: 1.55;
}

.component-card:hover .use {
  color: #ddd;
}

.sample-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 16px;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.empty-state {
  padding: 90px 36px;
  text-align: center;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.catalog-note {
  border-bottom: 1px solid var(--ink);
  padding: 76px 36px;
  background: #fff;
}

.note-box {
  max-width: 760px;
}

.note-box p:last-child {
  max-width: 660px;
  margin: 0;
  color: #444;
  line-height: 1.8;
}

footer {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  border-top: 1px solid var(--ink);
  padding: 24px 96px;
  background: var(--paper);
  text-align: center;
}

footer p {
  margin: 0;
  color: #555;
  font-size: 0.8rem;
}

footer a {
  color: inherit;
  font-weight: 800;
}

.top-link {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 12;
  display: inline-grid;
  min-width: 68px;
  min-height: 52px;
  place-items: center;
  border: 1px solid var(--ink);
  background:
    radial-gradient(
      ellipse at 22% 32%,
      rgba(69, 156, 236, 0.58),
      rgba(69, 156, 236, 0) 56%
    ),
    radial-gradient(
      ellipse at 78% 70%,
      rgba(96, 211, 232, 0.48),
      rgba(96, 211, 232, 0) 60%
    ),
    #f5f5f2;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  animation: topLinkWaveGradient 9s ease-in-out infinite alternate;
}

.top-link:hover,
.top-link:focus-visible {
  background: var(--ink);
  color: #fff;
}

.hero-random-texts {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.hero-random-text {
  position: absolute;
  color: rgba(17, 17, 17, 0.5);
  font-size: clamp(0.8rem, 2vw, 1.2rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  transform: translate(-50%, -50%) rotate(var(--random-rotate));
  animation: randomTextFloat 1s ease forwards;
}

.site-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 28px;
  height: 28px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--cursor-x, -40px), var(--cursor-y, -40px), 0)
    translate(-50%, -50%);
  transition:
    width 0.16s ease,
    height 0.16s ease,
    opacity 0.16s ease,
    background 0.16s ease;
}

.site-cursor.is-visible {
  opacity: 1;
}

.site-cursor.is-link {
  width: 44px;
  height: 44px;
  background: rgba(17, 17, 17, 0.1);
}

.site-cursor.is-pressed {
  width: 22px;
  height: 22px;
  background: rgba(17, 17, 17, 0.2);
}

@keyframes randomTextFloat {
  0% {
    opacity: 0;
    transform: translate(-50%, -20%) rotate(var(--random-rotate));
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -96%) rotate(var(--random-rotate));
  }
}

@keyframes topLinkWaveGradient {
  0% {
    background-position:
      0% 50%,
      100% 40%,
      35% 100%;
  }
  50% {
    background-position:
      100% 35%,
      12% 70%,
      72% 28%;
  }
  100% {
    background-position:
      25% 100%,
      80% 18%,
      10% 42%;
  }
}

@keyframes heroWaveGradient {
  0% {
    background-position:
      0% 50%,
      100% 35%,
      35% 100%,
      0% 50%;
    transform: translate3d(-2%, 0, 0) scale(1.08);
  }
  50% {
    background-position:
      100% 35%,
      12% 68%,
      72% 28%,
      100% 45%;
    transform: translate3d(2%, -2%, 0) scale(1.1);
  }
  100% {
    background-position:
      20% 100%,
      80% 18%,
      10% 42%,
      25% 100%;
    transform: translate3d(0, 2%, 0) scale(1.08);
  }
}

@media (hover: hover) and (pointer: fine) {
  body,
  a,
  button {
    cursor: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::after,
  .top-link,
  .site-cursor,
  .hero-random-text,
  .component-card {
    animation: none;
    transition: none;
  }
  .js .fade-section {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .component-card:hover,
  .component-card:focus-visible {
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 840px) {
  .component-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 58vh;
    padding: 34px 24px 28px;
  }
  h1 {
    font-size: clamp(2.3rem, 12vw, 5rem);
  }
  h1 span:last-child {
    margin-left: 0;
  }
  .hero-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .nav-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav a {
    padding: 14px 10px;
    font-size: 0.84rem;
  }
  .nav a:nth-child(-n + 2) {
    border-bottom: 1px solid var(--ink);
  }
  .catalog-intro,
  .catalog-tools,
  .category,
  .catalog-note {
    padding-right: 24px;
    padding-left: 24px;
  }
  .intro-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .search-box {
    width: 100%;
  }
  .component-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .component-card {
    min-height: 208px;
  }
  footer {
    align-items: center;
    flex-direction: column;
    padding-right: 24px;
    padding-left: 24px;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .hero {
    padding-right: 18px;
    padding-left: 18px;
  }
  .nav a {
    padding-right: 6px;
    padding-left: 6px;
    font-size: 0.78rem;
  }
  .search-box kbd {
    display: none;
  }
  .top-link {
    right: 12px;
    bottom: 12px;
    min-width: 56px;
    min-height: 44px;
  }
}

/* Static component previews: these are visual references, not interactive demos. */
.visual-preview {
  display: block;
  padding: 12px;
  background: #e8f5ff;
}

.visual-preview::after {
  content: "";
}

.preview-surface {
  position: relative;
  min-height: 76px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.68);
  background: rgba(255, 255, 255, 0.66);
}

.preview-surface i,
.preview-surface b,
.preview-surface small {
  display: block;
}

.preview-header-row,
.preview-mobile-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(17, 17, 17, 0.68);
  padding: 9px 11px;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
}

.preview-mini-links {
  display: flex;
  gap: 6px;
}

.preview-mini-links i {
  width: 24px;
  height: 3px;
  background: currentColor;
}

.preview-hero-line {
  width: 52%;
  height: 9px;
  margin: 12px 11px 7px;
  background: currentColor;
}

.preview-hero-line.short {
  width: 31%;
  height: 5px;
  margin-top: 0;
  opacity: 0.45;
}

.preview-side-nav {
  display: flex;
  width: 34%;
  min-height: 76px;
  flex-direction: column;
  gap: 7px;
  border-right: 1px solid rgba(17, 17, 17, 0.68);
  padding: 10px;
  font-size: 0.52rem;
}

.preview-side-nav i {
  width: 80%;
  height: 5px;
  background: currentColor;
  opacity: 0.42;
}

.preview-side-nav i.active {
  width: 100%;
  height: 12px;
  background: rgba(69, 156, 236, 0.72);
  opacity: 1;
}

.preview-content-lines {
  position: absolute;
  top: 17px;
  right: 12px;
  width: 55%;
}

.preview-content-lines i {
  height: 8px;
  margin-bottom: 9px;
  background: currentColor;
  opacity: 0.42;
}

.preview-content-lines i:nth-child(2) {
  width: 72%;
}
.preview-content-lines i:nth-child(3) {
  width: 87%;
}

.preview-mobile-bar {
  min-height: 40px;
}

.preview-hamburger {
  display: grid;
  gap: 4px;
}

.preview-hamburger i {
  width: 20px;
  height: 2px;
  background: currentColor;
}

.preview-menu-panel {
  width: 57%;
  margin: 7px 10px 0 auto;
  border: 1px solid rgba(17, 17, 17, 0.68);
  padding: 8px;
}

.preview-menu-panel i {
  width: 78%;
  height: 5px;
  margin: 5px 0;
  background: currentColor;
  opacity: 0.5;
}

.preview-footer-lines {
  display: flex;
  gap: 6px;
  padding: 14px 11px 11px;
}

.preview-footer-lines i {
  width: 22%;
  height: 6px;
  background: currentColor;
  opacity: 0.55;
}

.preview-footer-links {
  display: flex;
  gap: 6px;
  border-top: 1px solid rgba(17, 17, 17, 0.32);
  padding: 10px 11px;
}

.preview-footer-links i {
  width: 13%;
  height: 4px;
  background: currentColor;
  opacity: 0.38;
}

.preview-cards {
  display: flex;
  gap: 7px;
  padding: 10px 12px 6px;
}

.preview-card {
  flex: 0 0 27%;
  height: 46px;
  border: 1px solid rgba(17, 17, 17, 0.56);
  background: rgba(255, 255, 255, 0.5);
}

.preview-card.current {
  flex-basis: 39%;
  background: rgba(69, 156, 236, 0.32);
}

.preview-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.preview-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
}

.preview-dots i.active {
  width: 15px;
  border-radius: 99px;
  background: #459cec;
  opacity: 1;
}

.preview-accordion {
  padding: 7px 11px;
}

.preview-accordion-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 18px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.34);
}

.preview-accordion-row i {
  width: 65%;
  height: 5px;
  background: currentColor;
  opacity: 0.5;
}

.preview-accordion-row b {
  font-size: 0.72rem;
}

.preview-accordion-row.open {
  min-height: 34px;
  flex-wrap: wrap;
}

.preview-accordion-row.open small {
  width: 70%;
  height: 5px;
  margin-bottom: 5px;
  background: rgba(69, 156, 236, 0.58);
}

.preview-dim::before {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.14);
  content: "";
}

.preview-dialog {
  position: absolute;
  top: 13px;
  left: 24%;
  width: 52%;
  min-height: 50px;
  border: 1px solid var(--ink);
  background: #f5f5f2;
  padding: 8px;
}

.preview-dialog b {
  width: 62%;
  height: 6px;
  margin-bottom: 6px;
  background: currentColor;
}

.preview-dialog i {
  width: 84%;
  height: 4px;
  margin: 4px 0;
  background: currentColor;
  opacity: 0.4;
}

.preview-dialog-button {
  width: 30%;
  height: 9px;
  margin: 7px 0 0 auto;
  background: #459cec;
}

.preview-control-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 15px 12px 9px;
}

.preview-primary,
.preview-icon {
  border: 1px solid var(--ink);
  background: #459cec;
  padding: 7px 13px;
  font-size: 0.52rem;
}

.preview-icon {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  font-size: 0.85rem;
}

.preview-toggle {
  width: 35px;
  height: 16px;
  margin-left: 12px;
  border-radius: 99px;
  background: rgba(17, 17, 17, 0.22);
}

.preview-toggle i {
  width: 16px;
  height: 16px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: #459cec;
}

.preview-field {
  padding: 9px 11px 0;
  font-size: 0.52rem;
}

.preview-field b {
  width: auto;
  height: auto;
  margin-bottom: 4px;
  background: transparent;
  font-size: 0.52rem;
  line-height: 1;
}

.preview-field div {
  height: 19px;
  border: 1px solid rgba(17, 17, 17, 0.68);
  background: rgba(255, 255, 255, 0.55);
}

.preview-field small {
  margin-top: 3px;
  color: #555;
  font-size: 0.42rem;
}

.preview-field.compact {
  position: absolute;
  top: 9px;
  right: 11px;
  width: 27%;
  padding: 0;
}

.preview-field.compact b {
  width: 52%;
}

.preview-progress-meta {
  display: flex;
  justify-content: space-between;
  padding: 16px 12px 6px;
  font-size: 0.52rem;
}

.preview-progress-bar {
  height: 8px;
  margin: 0 12px;
  border-radius: 99px;
  background: rgba(17, 17, 17, 0.16);
}

.preview-progress-bar i {
  width: 68%;
  height: 100%;
  border-radius: 99px;
  background: #459cec;
}

.preview-progress-line {
  width: 34%;
  height: 4px;
  margin: 10px 12px;
  background: currentColor;
  opacity: 0.38;
}

.preview-notice {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 13px 11px 8px;
  border: 1px solid rgba(17, 17, 17, 0.5);
  padding: 8px;
}

.preview-notice b {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: #459cec;
  font-size: 0.65rem;
}

.preview-notice i {
  width: 62px;
  height: 4px;
  margin: 4px 0;
  background: currentColor;
  opacity: 0.45;
}

.preview-notice i:nth-child(2) {
  width: 42px;
}
.preview-notice-line {
  width: 36%;
  height: 4px;
  margin-left: 11px;
  background: currentColor;
  opacity: 0.35;
}

.preview-list {
  padding: 9px 11px;
}

.preview-list > div {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 19px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.28);
}

.preview-list b {
  width: 14px;
  height: 10px;
  background: #459cec;
}
.preview-list i {
  width: 62%;
  height: 5px;
  background: currentColor;
  opacity: 0.45;
}

.preview-avatar-row {
  display: flex;
  align-items: center;
  padding: 17px 12px;
}

.preview-avatar-row b {
  display: grid;
  width: 31px;
  height: 31px;
  margin-left: -6px;
  place-items: center;
  border: 2px solid #e8f5ff;
  border-radius: 50%;
  background: #459cec;
  font-size: 0.6rem;
}

.preview-avatar-row b:first-child {
  margin-left: 0;
}
.preview-avatar-row b:nth-child(2) {
  background: #b5d8f4;
}
.preview-avatar-row b:nth-child(3) {
  background: #d2e8f8;
}
.preview-avatar-row div {
  margin-left: 12px;
}
.preview-avatar-row i {
  width: 64px;
  height: 5px;
  margin: 5px;
  background: currentColor;
  opacity: 0.45;
}

.preview-timeline {
  position: relative;
  padding: 10px 11px;
}

.preview-timeline::before {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 21px;
  width: 1px;
  background: currentColor;
  content: "";
  opacity: 0.5;
}

.preview-timeline b {
  position: relative;
  width: 12px;
  height: 12px;
  margin: 4px 0 8px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: #459cec;
}

.preview-timeline i {
  position: absolute;
  left: 39px;
  width: 34%;
  height: 5px;
  background: currentColor;
  opacity: 0.42;
}

.preview-timeline i:nth-of-type(1) {
  top: 16px;
}
.preview-timeline i:nth-of-type(2) {
  top: 45px;
}

.preview-generic-card {
  width: 49%;
  height: 58px;
  margin: 9px 0 0 10px;
  border: 1px solid rgba(17, 17, 17, 0.56);
  background: rgba(255, 255, 255, 0.5);
  padding: 9px;
}

.preview-generic-card.small {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 28%;
  margin: 0;
  background: rgba(69, 156, 236, 0.22);
}

.preview-generic-card i {
  width: 72%;
  height: 5px;
  margin: 4px 0;
  background: currentColor;
  opacity: 0.46;
}

.preview-generic-card i:nth-child(2) {
  width: 52%;
}
.preview-generic-card i:nth-child(3) {
  width: 82%;
}
