/* Slim public handbook stylesheet. Scoped Vue CSS is stripped on these routes. */
:root {
  --bg: #e7eeea;
  --surface: #f4f7f5;
  --ink: #12241c;
  --muted: #3c5348;
  --link: #0c6848;
  --line: rgba(18, 36, 28, 0.12);
  --accent: #9ef01a;
  --accent-ink: #12241c;
  --inverse: #12241c;
  --inverse-ink: #e7f6ee;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-z: 20;
  --skip-z: 40;
  color-scheme: light;
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101916;
    --surface: #182420;
    --ink: #e7f2ec;
    --muted: #a9c3b6;
    --link: #8fd9a8;
    --line: rgba(231, 242, 236, 0.14);
    --accent: #c6f04a;
    --accent-ink: #12241c;
    --inverse: #0b1612;
    --inverse-ink: #e7f6ee;
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  font-feature-settings: "palt";
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  cursor: pointer;
}

button,
label,
summary {
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
}

code {
  font-family: var(--mono);
  font-size: 0.92em;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.jev-skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: var(--skip-z);
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}

.jev-skip:focus {
  transform: none;
}

/* —— Shell —— */
.jev-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
}

.jev-shell__header {
  position: sticky;
  top: 0;
  z-index: var(--header-z);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

@media (prefers-reduced-transparency: reduce) {
  .jev-shell__header {
    background: var(--bg);
    backdrop-filter: none;
  }
}

.jev-shell__header-inner,
.jev-shell__footer-inner,
.jev-shell__main {
  width: min(100% - 2rem, 76rem);
  margin-inline: auto;
}

.jev-shell__header-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-template-areas:
    "brand lang menu"
    "nav nav nav";
  align-items: center;
  gap: 0.35rem 0.75rem;
  min-height: 64px;
  padding: 0.45rem 0;
}

.jev-shell__brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.02rem;
}

.jev-shell__logo {
  border-radius: 8px;
}

.jev-lang {
  grid-area: lang;
  position: relative;
}

.jev-lang__btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.jev-lang__btn::-webkit-details-marker {
  display: none;
}

.jev-lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  z-index: 30;
  display: grid;
  min-width: 9.5rem;
  padding: 0.35rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(18, 36, 28, 0.12);
}

.jev-lang__menu button {
  min-height: 44px;
  padding: 0 0.75rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-align: start;
  cursor: pointer;
}

.jev-lang__menu button[aria-current="true"] {
  background: var(--accent);
  color: var(--accent-ink);
}

.jev-nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.jev-nav-toggle:focus-visible + .jev-nav-toggle__label {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.jev-nav-toggle__label {
  grid-area: menu;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.82rem;
  font-weight: 700;
}

.jev-shell__nav {
  grid-area: nav;
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  padding-bottom: 0.45rem;
}

.jev-shell__header:has(.jev-nav-toggle:checked) .jev-shell__nav {
  display: flex;
}

.jev-shell__nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.75rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  touch-action: manipulation;
}

.jev-shell__nav-link:hover {
  background: color-mix(in srgb, var(--ink) 6%, transparent);
}

.jev-shell__nav-link.router-link-active {
  color: var(--accent-ink);
  background: var(--accent);
}

.jev-shell__main {
  flex: 1;
  padding: 1.25rem 0 4rem;
}

.jev-shell__footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  padding: 2rem 0 2.4rem;
}

.jev-shell__disclaimer {
  margin: 0 0 1rem;
  max-width: 65ch;
  font-weight: 600;
  color: var(--ink);
}

.jev-shell__footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  margin-bottom: 1rem;
}

.jev-shell__footer-nav a {
  color: var(--link);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.jev-shell__footer-nav a:hover {
  text-decoration: underline;
}

.jev-shell__copy {
  margin: 0;
  max-width: 65ch;
  font-size: 0.88rem;
  color: var(--muted);
}

.jev-shell__copy a {
  color: var(--link);
}

@media (min-width: 1180px) {
  .jev-shell__header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand nav lang";
    gap: 1rem;
    min-height: 64px;
    max-height: 72px;
    padding: 0;
  }

  .jev-nav-toggle,
  .jev-nav-toggle__label {
    display: none;
  }

  .jev-shell__nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0.1rem;
    padding: 0;
  }

  .jev-shell__nav-link {
    min-height: 40px;
    padding: 0 0.55rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }
}

/* —— Doc —— */
.jev-doc__hero {
  margin-bottom: 2.4rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(20, 36, 31, 0.1);
}

.jev-doc__eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

.jev-doc__h1 {
  margin: 0 0 0.7rem;
  max-width: min(22em, 100%);
  overflow-wrap: anywhere;
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.jev-doc__lead {
  margin: 0;
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
}

.jev-doc__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.jev-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  touch-action: manipulation;
}

.jev-btn--quiet {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--ink) 40%, transparent);
}

.jev-markets {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.jev-markets p {
  margin: 0;
}

.jev-markets p[lang="ja"]::before,
.jev-markets p[lang="ko"]::before {
  display: inline-block;
  margin-right: 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  vertical-align: 0.1em;
}

.jev-markets p[lang="ja"]::before {
  content: "日本語";
}

.jev-markets p[lang="ko"]::before {
  content: "한국어";
}

.jev-doc__body {
  display: grid;
  gap: 1.35rem;
  max-width: 68ch;
  font-size: 1.02rem;
  line-height: 1.7;
}

.jev-doc__body h2 {
  margin: 1.8rem 0 0.45rem;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.jev-doc__body h3 {
  margin: 1.2rem 0 0.4rem;
  font-size: 1.08rem;
}

.jev-doc__body p,
.jev-doc__body ul,
.jev-doc__body ol {
  margin: 0;
}

.jev-doc__body ul,
.jev-doc__body ol {
  padding-left: 1.2rem;
}

.jev-doc__body:has(.jev-catalog),
.jev-doc__body:has(.jev-wall),
.jev-doc__body:has(.builder),
.jev-doc__body:has(.calc) {
  max-width: none;
}

.jev-doc__body a {
  color: var(--link);
  font-weight: 600;
}

.jev-doc__body pre,
.jev-doc__body .jev-code {
  overflow-x: auto;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: var(--inverse);
  color: var(--inverse-ink);
  font-family: var(--mono);
  font-size: 0.84rem;
  line-height: 1.55;
}

.jev-doc__body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.jev-doc__body th,
.jev-doc__body td {
  border: 1px solid var(--line);
  padding: 0.55rem 0.65rem;
  text-align: left;
  vertical-align: top;
}

.jev-doc__body th {
  background: color-mix(in srgb, var(--accent) 28%, var(--surface));
}

.jev-doc__body .jev-callout {
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 16%, var(--surface));
  border-radius: 0 12px 12px 0;
}

.jev-doc__related {
  margin-top: 2.75rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.jev-doc__related-title {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}

.jev-doc__related ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.jev-doc__related a {
  color: var(--link);
  font-weight: 600;
  text-decoration: none;
}

.jev-doc__related a:hover {
  text-decoration: underline;
}

/* —— Legal —— */
.legal-page {
  width: min(100% - 2rem, 54rem);
  margin: 0 auto;
}

.legal-page__header {
  margin-bottom: 1.2rem;
}

.legal-page__meta {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

.legal-page__title {
  margin: 0.35rem 0 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.legal-page__card {
  padding: clamp(1rem, 2.5vw, 1.45rem);
  border-radius: 1rem;
  background: var(--surface);
  border: 1px solid rgba(11, 31, 26, 0.1);
}

.legal-page__content {
  display: grid;
  gap: 0.9rem;
  line-height: 1.7;
}

.legal-page__content h2 {
  margin: 0.6rem 0 0;
  font-size: 1.15rem;
}

.legal-page__content p {
  margin: 0;
}

/* —— Tools —— */
.builder {
  display: grid;
  gap: 1rem;
}

.builder__controls {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.builder__wide {
  grid-column: 1 / -1;
}

.builder label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.builder input,
.builder select,
.builder textarea {
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(11, 31, 26, 0.18);
  font: inherit;
}

.builder__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.builder__toolbar button {
  border: 0;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  background: var(--inverse);
  color: var(--accent);
  font-weight: 700;
  cursor: pointer;
}

.builder .jev-code {
  margin: 0;
}

@media (max-width: 700px) {
  .builder__controls {
    grid-template-columns: 1fr;
  }
}

.calc {
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
  border-radius: 1rem;
  background: var(--surface);
  border: 1px solid rgba(11, 31, 26, 0.1);
}

.calc__grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}

.calc label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.calc input {
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(11, 31, 26, 0.18);
  font: inherit;
}

.calc__results {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  margin: 0;
}

.calc__results div {
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: rgba(158, 240, 26, 0.14);
}

.calc__results dt {
  font-size: 0.78rem;
  color: var(--muted);
}

.calc__results dd {
  margin: 0.2rem 0 0;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: var(--mono);
}

.jev-shell:has(.jev-catalog) .jev-shell__main,
.jev-shell:has(.jev-wall) .jev-shell__main {
  width: min(100% - 2rem, 88rem);
}


.jev-doc__body .jev-catalog__jumps a,
.jev-doc__body a.jev-card {
  color: var(--ink);
  font-weight: 600;
}

.jev-catalog__jumps {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1.35rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.jev-catalog__jumps a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.2;
}

.jev-catalog__jumps a span:last-child {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.jev-catalog {
  display: grid;
  gap: 2.25rem;
}

.jev-catalog section {
  scroll-margin-top: 5.5rem;
}

.jev-doc__body .jev-catalog h2 {
  margin: 0 0 0.35rem;
  padding: 0;
  border: 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.jev-catalog__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.jev-card {
  display: grid;
  grid-template-columns: 2.25rem 13rem 17rem minmax(0, 1fr);
  grid-template-areas: "mark name repo summary";
  align-items: center;
  column-gap: 1rem;
  min-height: 52px;
  padding: 0.55rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  text-decoration: none;
  color: var(--ink);
}

.jev-card:hover .jev-card__name {
  color: var(--link);
}

.jev-card__mark {
  grid-area: mark;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--inverse);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  font-family: var(--mono);
}

.jev-card__name {
  grid-area: name;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.jev-card__repo {
  grid-area: repo;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.78rem;
  color: var(--muted);
  font-family: var(--mono);
}

.jev-card__summary {
  grid-area: summary;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--muted);
  font-weight: 500;
}

.jev-wall__bar {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 11rem minmax(0, auto) auto;
  gap: 0.75rem 1rem;
  align-items: end;
  margin: 0 0 0.35rem;
  padding: 0 0 0.85rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.jev-wall__search,
.jev-wall__sort {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}

.jev-wall__search input,
.jev-wall__sort select {
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}

.jev-wall__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  min-height: 44px;
}

.jev-wall__filters legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.jev-wall__filters label {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  min-height: 36px;
  padding: 0 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}

.jev-wall__count {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 44px;
  margin: 0;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.jev-wall__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2rem;
  row-gap: 0;
  align-items: stretch;
}

.jev-case {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 0.9rem;
  min-width: 0;
  height: 100%;
  padding: 1rem 0;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}

.jev-case[hidden] {
  display: none;
}

.jev-case__media {
  display: block;
  width: 9.5rem;
  height: 9.5rem;
  border-radius: 8px;
  background: var(--inverse);
  overflow: hidden;
}

.jev-case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jev-case__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
  min-height: 9.5rem;
  padding: 0;
}

.jev-case__body header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem;
  align-items: baseline;
}

.jev-case__author,
.jev-case__meta {
  margin: 0;
  min-width: 0;
}

.jev-case__author {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
  color: var(--ink);
}

.jev-case__meta {
  display: flex;
  gap: 0.45rem;
  align-items: baseline;
  white-space: nowrap;
}

.jev-case__author span,
.jev-case__meta time {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.jev-case__lang {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.jev-case__text,
.jev-case__zh,
.jev-case__quote {
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.jev-case__text {
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.45;
  height: calc(0.92rem * 1.45 * 3);
  -webkit-line-clamp: 3;
}

.jev-case__zh,
.jev-case__quote {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
  font-weight: 500;
  height: calc(0.82rem * 1.4 * 2);
  -webkit-line-clamp: 2;
}

.jev-case__zh span {
  display: inline;
  margin: 0 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.jev-case__links {
  display: flex;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  white-space: nowrap;
}

.jev-case__links a,
.jev-case__body footer a {
  color: var(--link);
  font-weight: 700;
  white-space: nowrap;
}

.jev-case__body footer {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: baseline;
  margin-top: auto;
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.jev-case__body footer a {
  justify-self: end;
}

@media (max-width: 1080px) {
  .jev-catalog__jumps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.15rem 1rem;
  }

  .jev-catalog__jumps a {
    min-width: 0;
    min-height: 40px;
  }

  .jev-card {
    grid-template-columns: 2.25rem minmax(0, 1fr);
    grid-template-areas:
      "mark name"
      "mark repo"
      "summary summary";
    align-items: start;
    row-gap: 0.1rem;
    padding: 0.75rem 0;
  }

  .jev-card__summary {
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin-top: 0.25rem;
  }

  .jev-wall__grid {
    grid-template-columns: 1fr;
  }

  .jev-wall__bar {
    grid-template-columns: minmax(0, 1fr);
  }

  .jev-wall__search,
  .jev-wall__sort,
  .jev-wall__filters {
    grid-column: auto;
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .jev-case {
    grid-template-columns: 4.75rem minmax(0, 1fr);
    gap: 0.7rem;
  }

  .jev-case__media {
    width: 4.75rem;
    height: 4.75rem;
    aspect-ratio: auto;
  }

  .jev-wall__count {
    justify-content: flex-start;
  }
}

.builder input,
.builder select,
.builder textarea,
.calc input {
  min-height: 44px;
  border-radius: 8px;
  border-color: var(--line);
  background: var(--bg);
  color: var(--ink);
}

.builder__toolbar button {
  min-height: 44px;
  touch-action: manipulation;
}

::placeholder {
  color: var(--muted);
  opacity: 1;
}

.jev-btn:active,
.jev-shell__nav-link:active,
.builder__toolbar button:active {
  transform: scale(0.98);
}

@media (prefers-reduced-motion: no-preference) {
  .jev-shell__nav-link,
  .jev-btn,
  .jev-card,
  .builder__toolbar button {
    transition: background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
  }
}

@media (prefers-reduced-motion: reduce) {
  .jev-btn:active,
  .jev-shell__nav-link:active,
  .builder__toolbar button:active {
    transform: none;
  }
}

