@font-face { font-family: 'Encode Sans Condensed'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/encode-sans-condensed-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'Encode Sans Condensed'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/encode-sans-condensed-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Encode Sans Condensed'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/encode-sans-condensed-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Encode Sans Condensed'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/encode-sans-condensed-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Encode Sans Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/encode-sans-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Encode Sans Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/encode-sans-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Encode Sans Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/encode-sans-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Encode Sans Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/encode-sans-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Encode Sans Condensed'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/encode-sans-condensed-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: 'Noto Serif Thai'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/noto-serif-thai-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'Noto Serif Thai'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/noto-serif-thai-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Noto Serif Thai'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/noto-serif-thai-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Noto Serif Thai'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/noto-serif-thai-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Noto Serif Thai'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/noto-serif-thai-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Noto Serif Thai'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/noto-serif-thai-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Noto Serif Thai'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/noto-serif-thai-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Noto Serif Thai'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/noto-serif-thai-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Noto Serif Thai'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/noto-serif-thai-latin-900-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #eceef1;
  --fg-light-base-body: #161b26;
  --fg-light-base-heading: #161b26;
  --fg-light-base-muted: #545c6b;
  --fg-light-base-link: #b3164f;
  --fg-light-base-inverse: #161b26;
  --bg-light-card: #ffffff;
  --fg-light-card-body: #161b26;
  --fg-light-card-heading: #161b26;
  --fg-light-card-muted: #545c6b;
  --fg-light-card-link: #b3164f;
  --fg-light-card-inverse: #161b26;
  --bg-light-elevated: #dde2e9;
  --fg-light-elevated-body: #161b26;
  --fg-light-elevated-heading: #161b26;
  --fg-light-elevated-muted: #545c6b;
  --fg-light-elevated-link: #b3164f;
  --fg-light-elevated-inverse: #161b26;
  --brand-light-accent: #b3164f;
  --brand-light-accent-hover: #8c0f3c;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #b3164f;
  --focus-ring: var(--focus-light-ring);
  --border-light-default: #737b88;
  --border-light-subtle: #d3d7de;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
html:has(:focus-visible) :is(details.site-menu, details.site-nav-group)[open]:not(:focus-within) > ul { visibility: hidden; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
:where(section[data-section][style] > .bg-surface-card) { padding: clamp(1rem, 3vw, 2rem); }
:where(section[data-section][style] > .bg-surface-card > :first-child) { margin-top: 0; }
:where(section[data-section][style] > .bg-surface-card > :last-child) { margin-bottom: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-ring); }

/* Jax Esthetics School Review: a comparison desk. Ink header and scoreboard, white sheets on light gray, crimson for ranks and badges. */

:root {
  --jx-head-font: 'Encode Sans Condensed', 'Arial Narrow', sans-serif;
  --jx-body-font: 'Noto Serif Thai', Georgia, serif;
  --jx-accent: var(--brand-light-accent);
  --jx-accent-hover: var(--brand-light-accent-hover);
  --jx-on-accent: var(--brand-light-on-accent);
  --jx-line: var(--border-light-default);
  --jx-line-soft: var(--border-light-subtle);
  --jx-gray: var(--bg-light-base);
  --jx-white: var(--bg-light-card);
  --jx-wide: 80rem;
  --jx-gutter: clamp(1rem, 4vw, 2.5rem);
  --jx-measure: 44rem;
  color-scheme: light;
}

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

body.jx {
  margin: 0;
  font-family: var(--jx-body-font);
  font-size: 1.0625rem;
  line-height: 1.72;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.jx > main { flex: 1 0 auto; }

.jx-ico {
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- header: ink bar, static ---------- */

.jx-head { position: relative; z-index: 20; border-bottom: 3px solid var(--fg-heading); }


.jx-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--jx-wide);
  min-height: 4.25rem;
  margin: 0 auto;
  padding: 0.5rem var(--jx-gutter);
}

.jx-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  text-decoration: none;
}

.jx-brand .site-logo { display: block; width: 12rem; height: auto; }

.jx-toggle { flex: 0 0 auto; }

.jx-desk { display: none; }

.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.95rem;
  border: 1px solid currentColor;
  border-radius: 0.3rem;
  color: var(--fg-body);
  font: 700 0.95rem/1 var(--jx-head-font);
}

.site-menu > summary:hover { background: var(--jx-accent); border-color: var(--jx-accent); color: var(--jx-on-accent); }

.menu-icon {
  display: inline-block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

.site-menu[open] .menu-icon { box-shadow: none; }

.site-menu > ul {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - 4.25rem);
  overflow-y: auto;
  margin: 0;
  padding: 0.5rem var(--jx-gutter) 1.5rem;
  list-style: none;
  background: var(--bg-light-card);
  border-top: 3px solid var(--jx-accent);
}

.site-menu ul a {
  display: block;
  padding: 0.75rem 0;
  font: 600 1.1rem/1.3 var(--jx-head-font);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--fg-body) 18%, transparent);
}

.site-menu ul a:hover { text-decoration: underline; text-decoration-color: var(--jx-accent); text-decoration-thickness: 3px; text-underline-offset: 0.3em; }

.site-menu ul ul { list-style: none; margin: 0; padding: 0 0 0 1rem; }

.site-menu ul ul a { font-weight: 400; font-size: 1rem; }

@media (min-width: 1024px) {
  .jx-toggle { display: none; }

  .jx-brand .site-logo { width: 14.75rem; }

  .jx-desk {
    display: block;
    border-top: 1px solid color-mix(in srgb, var(--fg-body) 16%, transparent);
  }
}

/* desktop nav: a tab strip; grouped entries open as column mega-panels */

.site-nav > ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  max-width: var(--jx-wide);
  margin: 0 auto;
  padding: 0 calc(var(--jx-gutter) - 0.5rem);
  list-style: none;
}

.site-nav > ul > li { margin: 0; }

.site-nav a,
.site-nav summary {
  display: block;
  padding: 0.8rem 0.5rem 0.65rem;
  border-bottom: 3px solid transparent;
  color: var(--fg-link);
  font: 600 0.92rem/1.2 var(--jx-head-font);
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
}

.site-nav summary { cursor: pointer; list-style: none; }

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

.site-nav a:hover,
.site-nav summary:hover,
.site-nav details[open] > summary { border-bottom-color: var(--jx-accent); }

.site-nav-group > ul {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 2rem;
  margin: 0;
  padding: 1.25rem var(--jx-gutter) 1.75rem;
  list-style: none;
  background: var(--bg-light-card);
  border-top: 3px solid var(--jx-accent);
}

.site-nav-group > ul a { white-space: normal; font-weight: 500; font-size: 1rem; border-bottom: 1px solid color-mix(in srgb, var(--fg-body) 16%, transparent); }

/* ---------- breadcrumbs ---------- */

.breadcrumbs {
  max-width: var(--jx-wide);
  margin: 0 auto;
  padding: 0.85rem var(--jx-gutter) 0;
  font: 500 0.9rem/1.4 var(--jx-head-font);
}

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.2rem 0.5rem; margin: 0; padding: 0; list-style: none; }

.breadcrumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--fg-muted); }

/* ---------- shared type ---------- */

main h1 {
  margin: 0;
  font-family: var(--jx-head-font);
  font-weight: 800;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  overflow-wrap: normal;
  hyphens: manual;
}

.jx-sheet {
  min-width: 0;
  padding: clamp(1.25rem, 3.5vw, 2.5rem) clamp(1rem, 3.5vw, 2.75rem) clamp(1.75rem, 4vw, 3rem);
  border: 1px solid var(--jx-line-soft);
  border-radius: 4px;
}

.jx-sheet > * { max-width: var(--jx-measure); }

.jx-sheet > :first-child { margin-top: 0; }

.jx-sheet h2 {
  position: relative;
  margin: 2.25rem 0 0.75rem;
  padding-left: 1.1rem;
  font: 700 clamp(1.35rem, 1.1rem + 0.9vw, 1.7rem)/1.15 var(--jx-head-font);
  color: var(--fg-heading);
}

.jx-sheet h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  bottom: 0.12em;
  width: 0.32rem;
  background: var(--jx-accent);
}

.jx-sheet h3 { margin: 1.75rem 0 0.5rem; font: 700 1.2rem/1.25 var(--jx-head-font); color: var(--fg-heading); }

.jx-sheet p { margin: 0 0 1.05rem; }

.jx-sheet ul, .jx-sheet ol { margin: 0 0 1.25rem; padding-left: 1.25rem; }

.jx-sheet li { margin: 0 0 0.45rem; }

.jx-sheet ul > li::marker { color: var(--jx-accent); }

.jx-sheet a { text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

.jx-sheet a:hover { color: var(--jx-accent-hover); text-decoration-thickness: 2px; }

.jx-sheet strong { font-weight: 700; }

.jx-sheet blockquote { margin: 0 0 1.25rem; padding: 0.2rem 0 0.2rem 1rem; border-left: 3px solid var(--jx-line); }

/* tables: white, dense, gray header with a crimson rule */

.jx-sheet table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  margin: 0.5rem 0 1.75rem;
  border-collapse: collapse;
  font-size: 0.96rem;
  line-height: 1.5;
}

.jx-sheet thead th {
  background: var(--jx-gray);
  border-bottom: 3px solid var(--jx-accent);
  font: 700 0.95rem/1.25 var(--jx-head-font);
  text-align: left;
}

.jx-sheet th, .jx-sheet td {
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--jx-line-soft);
  text-align: left;
  vertical-align: top;
}

.jx-sheet tbody td:first-child { font-family: var(--jx-head-font); font-weight: 700; }

.jx-sheet tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--jx-gray) 55%, var(--jx-white)); }

/* photos frame only */

.photo-hero { margin: 0 0 1.75rem; max-width: none; }

.photo-hero img { display: block; width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 3px; }

.photo-inline { margin: 1.5rem 0; }

.photo-inline img { display: block; border-radius: 3px; border: 1px solid var(--jx-line-soft); }

.jx-sheet figcaption { margin-top: 0.4rem; font-size: 0.9rem; color: var(--fg-muted); }

section[data-section][style] { margin: 1.5rem 0; border-radius: 4px; }

/* ---------- title band (every inner page) ---------- */

.jx-band { border-bottom: 3px solid var(--jx-accent); }

.jx-band-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: var(--jx-wide);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.75rem) var(--jx-gutter);
}

.jx-band-badge {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 6px;
  background: var(--jx-accent);
  color: var(--jx-on-accent);
}

.jx-band-badge .jx-ico { width: 1.9rem; height: 1.9rem; }

.jx-band-pair {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.35rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid color-mix(in srgb, var(--fg-body) 30%, transparent);
  border-radius: 6px;
  color: var(--fg-body);
}

.jx-band-pair .jx-ico { width: 1.7rem; height: 1.7rem; }

.jx-band-split { display: block; width: 3px; height: 1.9rem; background: var(--jx-accent); transform: skewX(-18deg); }

.jx-band-title { min-width: 0; }

.jx-stack,
.jx-cmp-grid,
.jx-two {
  display: grid;
  gap: 1.25rem;
  max-width: var(--jx-wide);
  margin: 0 auto;
  padding: 1.5rem var(--jx-gutter) 3rem;
}

/* ---------- home: scoreboard + comparison grid ---------- */

.jx-board-inner {
  display: grid;
  gap: 2rem;
  max-width: var(--jx-wide);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) var(--jx-gutter) clamp(2rem, 5vw, 3.5rem);
}

.jx-board-lines .display-line { margin: 1rem 0 0; max-width: 34rem; font-size: 1.1rem; line-height: 1.6; }

.jx-board-rows {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid color-mix(in srgb, var(--fg-body) 22%, transparent);
}

.jx-board-rows li { margin: 0; border-bottom: 1px solid color-mix(in srgb, var(--fg-body) 22%, transparent); }

.jx-row {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  grid-template-areas: "ico name" "ico note";
  align-items: center;
  column-gap: 0.9rem;
  padding: 0.85rem 0.25rem;
  text-decoration: none;
}

.jx-row .jx-ico {
  grid-area: ico;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.5rem;
  border-radius: 6px;
  background: var(--jx-accent);
  color: var(--jx-on-accent);
}

.jx-row-name { grid-area: name; font: 700 1.2rem/1.2 var(--jx-head-font); }

.jx-row-note { grid-area: note; font-size: 0.95rem; line-height: 1.4; }

.jx-row:hover .jx-row-name { text-decoration: underline; text-decoration-color: var(--jx-accent); text-decoration-thickness: 3px; text-underline-offset: 0.25em; }

.jx-versus {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  max-width: var(--jx-wide);
  margin: 0 auto;
  padding: 1.75rem var(--jx-gutter) 0;
}

.jx-vs-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.1rem 1.15rem 1.25rem;
  border: 1px solid var(--jx-line-soft);
  border-top: 4px solid var(--fg-heading);
  border-radius: 4px;
  text-decoration: none;
}

.jx-vs-card:hover { border-top-color: var(--jx-accent); }

.jx-vs-card:hover .jx-vs-name { text-decoration: underline; text-underline-offset: 0.2em; }

.jx-vs-icons { display: inline-flex; gap: 0.5rem; color: var(--jx-accent); }

.jx-vs-icons .jx-ico { width: 2rem; height: 2rem; }

.jx-vs-name { font: 700 1.15rem/1.2 var(--jx-head-font); }

.jx-sheet-home {
  max-width: var(--jx-wide);
  margin: 1.5rem auto 3rem;
  width: calc(100% - 2 * var(--jx-gutter));
}

@media (min-width: 1024px) {
  .jx-board-inner { grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 1fr); align-items: end; gap: 3.5rem; }
  .jx-board-title h1 { font-size: clamp(3rem, 1.6rem + 2.6vw, 4.1rem); }
  .jx-sheet-home { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 3rem; }
  .jx-sheet-home > * { grid-column: 1 / -1; }
  .jx-sheet-home > p:first-of-type { grid-column: 1 / 2; }
}

/* ---------- topn list: numbered ranking rows ---------- */

.jx-onlist {
  padding: 0.9rem 1rem;
  border: 1px solid var(--jx-line-soft);
  border-radius: 4px;
}

.jx-onlist ul { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }

.jx-onlist a {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--jx-line);
  border-radius: 999px;
  font: 600 0.95rem/1.3 var(--jx-head-font);
  text-decoration: none;
}

.jx-onlist a:hover { border-color: var(--jx-accent); color: var(--jx-accent-hover); }

.jx-onlist ul:empty { display: none; }

.jx-onlist:has(ul:empty) { display: none; }

.jx-stack { max-width: calc(var(--jx-measure) + 6rem); }

.jx-sheet-rank ol { list-style: none; padding: 0; margin: 0 0 1.5rem; border-top: 1px solid var(--jx-line-soft); counter-reset: jx-rank; }

.jx-sheet-rank ol > li {
  position: relative;
  counter-increment: jx-rank;
  min-height: 2.4rem;
  margin: 0;
  padding: 0.7rem 0 0.7rem 3.25rem;
  border-bottom: 1px solid var(--jx-line-soft);
  line-height: 1.45;
}

.jx-sheet-rank ol > li::before {
  content: counter(jx-rank);
  position: absolute;
  left: 0;
  top: 0.7rem;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 6px;
  background: var(--jx-accent);
  color: var(--jx-on-accent);
  font: 800 1.15rem/1 var(--jx-head-font);
}

/* ---------- comparison: sheet beside a narrow list column ---------- */

.jx-side {
  align-self: start;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--jx-line-soft);
  border-radius: 4px;
}

.jx-side-label { margin: 0 0 0.5rem; font: 600 0.95rem/1.3 var(--jx-head-font); }

.jx-side-links { margin: 0; padding: 0; list-style: none; }

.jx-side-links li { margin: 0; border-bottom: 1px solid var(--jx-line-soft); }

.jx-side-links a { display: block; padding: 0.55rem 0; font: 600 1.02rem/1.3 var(--jx-head-font); text-decoration: none; }

.jx-side-links a:hover { color: var(--jx-accent-hover); text-decoration: underline; }

.jx-side-items ul { margin: 0.75rem 0 0; padding: 0; list-style: none; }

.jx-side-items ul:empty { display: none; }

.jx-sheet-cmp table { width: 100%; }

@media (min-width: 1024px) {
  .jx-cmp-grid { grid-template-columns: minmax(0, 1fr) 15rem; align-items: start; }
  .jx-sheet-cmp > table { max-width: none; display: table; }
}

/* ---------- profile and method: two columns ---------- */

.jx-facts {
  align-self: start;
  padding: 1.25rem 1.25rem 1rem;
  border: 1px solid var(--jx-line-soft);
  border-top: 4px solid var(--jx-accent);
  border-radius: 4px;
}

.jx-facts-icons { display: flex; gap: 0.6rem; margin-bottom: 0.75rem; color: var(--jx-accent); }

.jx-facts-icons .jx-ico { width: 2.1rem; height: 2.1rem; }

.jx-facts-note { margin: 0 0 0.9rem; font-size: 0.98rem; line-height: 1.6; }

.jx-sheet-verdict ul { list-style: none; padding-left: 0; }

.jx-sheet-verdict ul > li { position: relative; padding-left: 1.4rem; }

.jx-sheet-verdict ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 2px;
  background: var(--jx-accent);
}

.jx-criteria { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.45; }

.jx-criteria th, .jx-criteria td { padding: 0.55rem 0.4rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--jx-line-soft); }

.jx-criteria thead th { border-bottom: 3px solid var(--jx-accent); font: 700 0.95rem/1.25 var(--jx-head-font); }

.jx-criteria tbody td:first-child { font: 700 1rem/1.3 var(--jx-head-font); }

@media (min-width: 1024px) {
  .jx-two { grid-template-columns: 17rem minmax(0, 1fr); align-items: start; gap: 2rem; }
  .jx-two-flip { grid-template-columns: minmax(0, 1fr) 20rem; }
}

/* ---------- contact: one column ---------- */

.jx-contact {
  display: grid;
  gap: 1.25rem;
  max-width: calc(var(--jx-measure) + 6rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.75rem) var(--jx-gutter) 3rem;
}

.jx-icon-row { display: flex; gap: 0.75rem; margin-bottom: 1rem; color: var(--jx-accent); }

.jx-icon-row .jx-ico { width: 2.25rem; height: 2.25rem; }

.jx-form {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--jx-line-soft);
  border-top: 4px solid var(--fg-heading);
  border-radius: 4px;
}

.jx-field { display: grid; gap: 0.35rem; font: 700 1rem/1.3 var(--jx-head-font); }

.jx-input {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--jx-line);
  border-radius: 3px;
  background: var(--jx-white);
  color: var(--fg-body);
  font: 400 1rem/1.5 var(--jx-body-font);
}

.jx-input-tall { min-height: 10rem; resize: vertical; }

.jx-input:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 1px; border-color: var(--jx-accent); }

.jx-submit {
  justify-self: start;
  min-height: 2.85rem;
  padding: 0.6rem 1.4rem;
  border: 0;
  border-radius: 4px;
  background: var(--jx-accent);
  color: var(--jx-on-accent);
  font: 700 1.02rem/1.2 var(--jx-head-font);
  cursor: pointer;
}

.jx-submit:hover { background: var(--jx-accent-hover); color: var(--jx-on-accent); }

@media (min-width: 720px) {
  .jx-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 1.25rem; }
  .jx-field-wide, .jx-submit { grid-column: 1 / -1; }
}

/* ---------- thank you: grid of confirmation, note and list tiles ---------- */

.jx-thanks-grid {
  display: grid;
  gap: 1.25rem;
  max-width: var(--jx-wide);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.75rem) var(--jx-gutter) 3rem;
}

.jx-confirm {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 4px;
  border-bottom: 4px solid var(--jx-accent);
}

.jx-confirm-badge { width: 4rem; height: 4rem; }

.jx-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; align-content: start; }

.jx-tile {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem;
  border: 1px solid var(--jx-line-soft);
  border-top: 4px solid var(--fg-heading);
  border-radius: 4px;
  font: 700 1.05rem/1.2 var(--jx-head-font);
  text-decoration: none;
}

.jx-tile .jx-ico { width: 2rem; height: 2rem; color: var(--jx-accent); }

.jx-tile:hover { border-top-color: var(--jx-accent); text-decoration: underline; text-underline-offset: 0.2em; }

@media (min-width: 1024px) {
  .jx-thanks-grid { grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1.4fr) minmax(16rem, 0.9fr); align-items: start; }
  .jx-tiles { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- footer ---------- */

.jx-foot { border-top: 1px solid var(--jx-line-soft); }

.jx-foot-inner {
  display: grid;
  gap: 0.4rem;
  max-width: var(--jx-wide);
  margin: 0 auto;
  padding: 2rem var(--jx-gutter) 2.5rem;
}

.jx-foot-icons { display: flex; gap: 0.6rem; margin-bottom: 0.6rem; color: var(--jx-accent); }

.jx-foot-name { margin: 0; font: 800 1.2rem/1.2 var(--jx-head-font); }

.jx-foot-note { margin: 0; max-width: 40rem; font-size: 0.95rem; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
