/* JOBY unified theme — Raven DESIGN.md v1.0.0, 2026-11-09.
   The original JNS controller owns positioning/open state. This file owns
   presentation; archive/legacy content is deliberately not normalised. */

/* 1. Shared tokens and stable canvas. */
body.jut-site {
  --jut-paper: #fffdf5;
  --jut-forest: #153f2e;
  --jut-blue: #123f70;
  --jut-yellow: #f5d94f;
  --jut-ink: #26382f;
  --jut-muted: #4a5d50;
  --jut-separator: #d9e1d8;
  --jut-control-line: #4a5d50;
  --jut-radius: 4px;
  --jut-float-radius: 8px;
  --jut-gutter: 80px;
  --jut-safe-inline: max(144px, calc(120px * 768 / 683 + 12px));
  --jut-anchor-clearance: 140px;
  --jut-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial,
    "Noto Sans Arabic", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --jc-green: var(--jut-forest);
  --jc-ink: var(--jut-ink);
  --jc-muted: var(--jut-muted);
  --jc-line: var(--jut-separator);
  --jc-soft: var(--jut-paper);
  --jh-cream: var(--jut-paper);
  --jh-forest: var(--jut-forest);
  --jh-blue: var(--jut-blue);
  --jh-yellow: var(--jut-yellow);
  --jh-ink: var(--jut-ink);
  --jh-line: var(--jut-separator);
  --jns-ink: var(--jut-forest);
  --jns-blue: var(--jut-blue);
  --jns-paper: var(--jut-paper);
  margin: 0;
  background: var(--jut-paper);
  color: var(--jut-ink);
  font: 400 16px/1.65 var(--jut-font);
  scroll-padding-top: var(--jut-anchor-clearance);
  overflow-wrap: anywhere;
}
/* Anchor margin, rather than additive root padding, supplies the clearance. */
html:has(> body.jut-site) {
  background: #fffdf5;
  scroll-padding-top: 0;
  scroll-behavior: auto;
}
body.jut-site :is(main[id], main [id], main a[name], .page [id], .page a[name],
  section[id], section.section > .container.prose [id], #juf-footer [id],
  #juf-footer a[name], :focus-visible) {
  scroll-margin-top: var(--jut-anchor-clearance);
}
body.jut-site :is(.jc-main, .jh-main, #jns-results-main, #juf-footer),
body.jut-site :is(.jc-main, .jh-main, #jns-results-main, #juf-footer) *,
body.jut-site :is(.jc-main, .jh-main, #juf-footer) *::before,
body.jut-site :is(.jc-main, .jh-main, #juf-footer) *::after { box-sizing: border-box; }
body.jut-site :is(.jc-wrap, .jh-wrap, .juf-wrap) {
  width: min(1280px, calc(100% - var(--jut-gutter) * 2));
  max-width: 1280px;
  margin-inline: auto;
}
body.jut-site :is(.jc-main, #juf-footer) [hidden] { display: none; }

/* 2. Shared header adapters. No new panel placement or controller logic. */
body.jut-site #jns-header {
  height: 72px;
  background: var(--jut-paper);
  color: var(--jut-forest);
  border-bottom: 1px solid var(--jut-separator);
  box-shadow: none;
  backdrop-filter: none;
  font-family: var(--jut-font);
}
body.jut-site #jns-bar {
  width: min(1280px, calc(100% - var(--jut-gutter) * 2));
  height: 72px;
  padding-inline-start: var(--jut-safe-inline);
}
body.jut-site #jns-spacer {
  display: none;
  width: 0;
  height: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
body.jut-site #jns-header #jns-logo,
body.jut-site #jns-header #jns-logo::before,
body.jut-site #jns-header #jns-logo::after {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: none;
  backdrop-filter: none;
}
body.jut-site #jns-header #jns-logo { top: 8px; min-width: 44px; min-height: 44px; }
body.jut-site #jns-header #jns-logo img {
  display: block;
  /* Narrow exceptions: retained, immutable JNS sets these dimensions important. */
  height: 120px !important;
  width: auto !important;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: none;
  backdrop-filter: none;
  transition: height 160ms ease-out;
}
body.jut-site #jns-header[data-scrolled] #jns-logo img { height: 64px !important; }
body.jut-site #jns-header :is(#jns-primary a, #jns-cta, #jns-wide-form,
  #jns-search-toggle, #jns-menu-toggle, #jns-wide-form button) { border-radius: var(--jut-radius); }
body.jut-site #jns-header[data-open="search"] #jns-wide-form { border-radius: var(--jut-radius); }
body.jut-site #jns-header #jns-wide-form { border-color: var(--jut-control-line); background: var(--jut-paper); }
body.jut-site #jns-header #jns-wide-query { font-family: var(--jut-font); font-size: 16px; }
body.jut-site #jns-header #jns-wide-query::placeholder { color: var(--jut-muted); opacity: 1; }
body.jut-site #jns-header #jns-primary a:hover,
body.jut-site #jns-header #jns-primary a[aria-current="page"],
body.jut-site #jns-header :is(#jns-search-toggle, #jns-menu-toggle):hover,
body.jut-site #jns-header :is(#jns-search-toggle, #jns-menu-toggle)[aria-expanded="true"] {
  background: var(--jut-paper);
  color: var(--jut-blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}
body.jut-site #jns-panels { background: var(--jut-paper); font-family: var(--jut-font); }
body.jut-site #jns-panels :is(#jns-menu, #jns-search-panel) {
  border-color: var(--jut-separator);
  border-radius: var(--jut-float-radius);
  background: var(--jut-paper);
  box-shadow: 0 8px 24px rgb(21 63 46 / 12%);
}
body.jut-site[data-jns-ready] #jns-panels :is(#jns-menu, #jns-search-panel) {
  border-radius: var(--jut-float-radius);
  background: var(--jut-paper);
  box-shadow: 0 8px 24px rgb(21 63 46 / 12%);
}
body.jut-site #jns-panels :is(#jns-search-form, #jns-search-form button,
  #jns-search-form #jns-query, #jns-suggestions a, #jns-all-results, .jns-cta) {
  border-radius: var(--jut-radius);
}
body.jut-site #jns-panels #jns-search-form { border-color: var(--jut-control-line); background: var(--jut-paper); }
body.jut-site #jns-panels #jns-search-form:focus-within,
body.jut-site #jns-header #jns-wide-form:focus-within {
  border-color: var(--jut-blue);
  outline: 2px solid var(--jut-blue);
  outline-offset: 2px;
  box-shadow: none;
}
body.jut-site #jns-panels #jns-search-form #jns-query { border-radius: var(--jut-radius); font: 400 16px/1.5 var(--jut-font); }
body.jut-site #jns-panels #jns-search-form button { border-radius: var(--jut-radius); }
body.jut-site #jns-panels #jns-query::placeholder { color: var(--jut-muted); opacity: 1; }
body.jut-site #jns-panels :is(#jns-suggestion-status, #jns-suggestions small,
  #jns-search-panel > nav > a, #jns-menu p) { color: var(--jut-muted); font-family: var(--jut-font); }
body.jut-site #jns-panels #jns-suggestions strong { color: var(--jut-forest); font-family: var(--jut-font); }
body.jut-site #jns-panels #jns-suggestions a:hover,
body.jut-site #jns-panels #jns-suggestions a[aria-selected="true"] {
  background: var(--jut-paper);
  outline: 1px solid var(--jut-blue);
  outline-offset: -1px;
}
body.jut-site #jns-panels #jns-all-results {
  background: var(--jut-paper);
  border-color: var(--jut-control-line);
  color: var(--jut-blue);
}
body.jut-site #jns-panels #jns-suggestions :is(strong, small) {
  display: block;
  overflow: visible;
  white-space: normal;
  -webkit-line-clamp: unset;
}
body.jut-site:not([data-jns-ready]) #jns-header { position: static; }
body.jut-site:not([data-jns-ready]) #jns-menu {
  width: min(1280px, calc(100% - var(--jut-gutter) * 2));
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.jut-site:not([data-jns-ready]) #jns-menu .jha-group:first-child > h2:first-child {
  padding-inline-start: var(--jut-safe-inline);
  margin-bottom: 24px;
}

/* 3. Current content: complete port of jc layout primitives, with one theme. */
body.jut-site[data-jut-kind="current"] .jc-main {
  background: var(--jut-paper);
  color: var(--jut-ink);
  font: 400 16px/1.65 var(--jut-font);
}
body.jut-site[data-jut-kind="current"] .jc-main :is(h1, h2, h3, h4) {
  color: var(--jut-forest);
  font-family: var(--jut-font);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.2;
}
body.jut-site[data-jut-kind="current"] .jc-main h1 { font-size: clamp(32px, 4.5vw, 64px); margin: 0 0 24px; }
body.jut-site[data-jut-kind="current"] .jc-main h2 { font-size: clamp(26px, 3vw, 44px); margin: 0 0 24px; }
body.jut-site[data-jut-kind="current"] .jc-main h3 { font-size: 21px; margin: 12px 0 14px; }
body.jut-site[data-jut-kind="current"] .jc-main p { margin: 0 0 20px; }
body.jut-site[data-jut-kind="current"] .jc-main a { color: var(--jut-blue); text-underline-offset: 4px; }
body.jut-site[data-jut-kind="current"] .jc-main a:hover { text-decoration: underline; }
body.jut-site[data-jut-kind="current"] .jc-main ul { list-style: disc; padding-inline-start: 22px; margin-block: 18px; }
body.jut-site[data-jut-kind="current"] .jc-main :is(button, input, textarea, select) { font: inherit; }
body.jut-site[data-jut-kind="current"] .jc-main img { max-width: 100%; }
body.jut-site[data-jut-kind="current"] .jc-main :is(.jc-eyebrow, .jh-kicker) {
  color: var(--jut-forest);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 24px;
}
body.jut-site[data-jut-kind="current"] .jc-main .jc-lede { max-width: 730px; font-size: 18px; line-height: 1.7; color: var(--jut-muted); }
body.jut-site[data-jut-kind="current"] .jc-main .jc-small { color: var(--jut-muted); font-size: 14px; line-height: 1.5; }
body.jut-site[data-jut-kind="current"] .jc-section { padding-block: 72px; }
body.jut-site[data-jut-kind="current"] .jc-section-lede { max-width: 720px; color: var(--jut-muted); margin-bottom: 32px; }
body.jut-site[data-jut-kind="current"] .jc-soft { background: var(--jut-paper); border-block: 1px solid var(--jut-separator); }
body.jut-site[data-jut-kind="current"] .jc-grid { display: grid; gap: 24px; }
body.jut-site[data-jut-kind="current"] .jc-grid > * { min-width: 0; }
body.jut-site[data-jut-kind="current"] .jc-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.jut-site[data-jut-kind="current"] .jc-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.jut-site[data-jut-kind="current"] :is(.jc-products, .jc-range-grid) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.jut-site[data-jut-kind="current"] .jc-page-head {
  padding: 24px 0 48px;
  background: var(--jut-paper);
  border-bottom: 1px solid var(--jut-separator);
}
/* Text-only safe lane is fixed, used by existing kicker/breadcrumb, not grids. */
body.jut-site[data-jut-kind="current"] .jc-page-head > .jc-wrap > .jc-eyebrow {
  padding-inline-start: var(--jut-safe-inline);
}
body.jut-site[data-jut-kind="current"] .jc-main > .jc-section:first-child { padding-top: 24px; }
body.jut-site[data-jut-kind="current"] .jc-page-head .jc-lede { margin-bottom: 0; }
body.jut-site[data-jut-kind="current"] .jc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 28px 0 18px; }
body.jut-site[data-jut-kind="current"] .jc-main .jc-button,
body.jut-site[data-jut-kind="current"] .jc-main .jc-show-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 12px 22px;
  border: 1px solid var(--jut-blue);
  border-radius: var(--jut-radius);
  background: var(--jut-blue);
  color: var(--jut-paper);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  white-space: normal;
  box-shadow: none;
}
body.jut-site[data-jut-kind="current"] .jc-main .jc-button:hover { background: var(--jut-forest); border-color: var(--jut-forest); color: var(--jut-paper); text-decoration: none; }
body.jut-site[data-jut-kind="current"] .jc-main :is(.jc-outline, .jc-show-more) { background: transparent; color: var(--jut-blue); }
body.jut-site[data-jut-kind="current"] .jc-main :is(.jc-outline, .jc-show-more):hover { background: var(--jut-blue); color: var(--jut-paper); }
body.jut-site[data-jut-kind="current"] .jc-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--jut-paper);
  border: 1px solid var(--jut-separator);
  border-radius: var(--jut-radius);
  overflow: hidden;
  box-shadow: none;
}
body.jut-site[data-jut-kind="current"] .jc-card:hover { border-color: var(--jut-forest); }
body.jut-site[data-jut-kind="current"] .jc-card-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  background: var(--jut-paper);
  border-bottom: 1px solid var(--jut-separator);
}
body.jut-site[data-jut-kind="current"] .jc-card-image img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
body.jut-site[data-jut-kind="current"] .jc-badge {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  padding: 5px 8px;
  color: var(--jut-forest);
  background: var(--jut-paper);
  border: 1px solid var(--jut-forest);
  border-radius: var(--jut-radius);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .04em;
}
body.jut-site[data-jut-kind="current"] .jc-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
body.jut-site[data-jut-kind="current"] .jc-card-body .jc-eyebrow { font-size: 12px; letter-spacing: .08em; margin-bottom: 12px; }
body.jut-site[data-jut-kind="current"] .jc-card h3 { font-size: 18px; line-height: 1.4; margin: 0 0 12px; }
body.jut-site[data-jut-kind="current"] .jc-card h3 a { display: inline-flex; align-items: center; min-height: 44px; color: var(--jut-forest); text-decoration: none; }
body.jut-site[data-jut-kind="current"] .jc-spec { color: var(--jut-muted); font-size: 14px; line-height: 1.5; }
body.jut-site[data-jut-kind="current"] .jc-card-actions { margin-top: auto; padding-top: 12px; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--jut-separator); font-size: 14px; font-weight: 650; }
body.jut-site[data-jut-kind="current"] .jc-card-actions a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 8px; }
body.jut-site[data-jut-kind="current"] .jc-photo-pending { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 170px; background: var(--jut-paper); color: var(--jut-muted); }
body.jut-site[data-jut-kind="current"] .jc-photo-pending > span { font-size: 34px; font-weight: 700; letter-spacing: .04em; }
body.jut-site[data-jut-kind="current"] .jc-photo-pending > small { font-size: 12px; }
body.jut-site[data-jut-kind="current"] .jc-centered { text-align: center; margin-top: 28px; }
body.jut-site[data-jut-kind="current"] .jc-text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; text-decoration: underline; }
body.jut-site[data-jut-kind="current"] .jc-range {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 28px;
  background: var(--jut-paper);
  border: 1px solid var(--jut-separator);
  border-radius: var(--jut-radius);
  text-decoration: none;
}
body.jut-site[data-jut-kind="current"] .jc-range:hover { border-color: var(--jut-forest); text-decoration: none; }
body.jut-site[data-jut-kind="current"] .jc-range-num { font-size: 14px; color: var(--jut-muted); font-weight: 650; }
body.jut-site[data-jut-kind="current"] .jc-range h3 { margin: 24px 0 12px; font-size: 25px; }
body.jut-site[data-jut-kind="current"] .jc-range p { color: var(--jut-muted); font-size: 14px; }
body.jut-site[data-jut-kind="current"] .jc-range > span:last-child { margin-top: auto; font-size: 14px; font-weight: 650; }
body.jut-site[data-jut-kind="current"] .jc-feature-image { display: block; width: 100%; height: 390px; object-fit: cover; border-radius: var(--jut-radius); }
body.jut-site[data-jut-kind="current"] .jc-info { padding: 28px; background: var(--jut-paper); border: 1px solid var(--jut-separator); border-radius: var(--jut-radius); }
body.jut-site[data-jut-kind="current"] .jc-info h2 { font-size: 26px; }
body.jut-site[data-jut-kind="current"] .jc-info h2 a { display: inline-flex; align-items: center; min-height: 44px; }
body.jut-site[data-jut-kind="current"] .jc-info h3 { font-size: 21px; }
body.jut-site[data-jut-kind="current"] .jc-info p:last-child { margin-bottom: 0; }
body.jut-site[data-jut-kind="current"] .jc-gallery figure { margin: 0; }
body.jut-site[data-jut-kind="current"] .jc-gallery img { display: block; width: 100%; height: 215px; object-fit: cover; border-radius: var(--jut-radius); }
body.jut-site[data-jut-kind="current"] .jc-gallery figcaption { padding: 12px 0; font-size: 14px; color: var(--jut-muted); }
body.jut-site[data-jut-kind="current"] .jc-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; counter-reset: jc-step; padding: 0; margin-block: 24px; }
body.jut-site[data-jut-kind="current"] .jc-steps li { counter-increment: jc-step; border-top: 1px solid var(--jut-separator); padding-top: 20px; }
body.jut-site[data-jut-kind="current"] .jc-steps li::before { content: '0' counter(jc-step); display: inline-block; margin-bottom: 14px; color: var(--jut-forest); font-size: 18px; font-weight: 650; }
body.jut-site[data-jut-kind="current"] .jc-steps h3 { font-size: 21px; }
body.jut-site[data-jut-kind="current"] .jc-note { padding: 20px 24px; background: var(--jut-paper); border: 1px solid var(--jut-separator); border-inline-start: 4px solid var(--jut-forest); border-radius: var(--jut-radius); margin-block: 24px; color: var(--jut-muted); font-size: 14px; }
body.jut-site[data-jut-kind="current"] .jc-note p { margin: 6px 0 0; }
body.jut-site[data-jut-kind="current"] .jc-breadcrumb { min-height: 44px; margin: 0 0 24px; padding: 0; padding-inline-start: var(--jut-safe-inline); color: var(--jut-muted); font-size: 14px; line-height: 1.5; }
body.jut-site[data-jut-kind="current"] .jc-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
body.jut-site[data-jut-kind="current"] .jc-detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 60px; align-items: start; }
body.jut-site[data-jut-kind="current"] .jc-detail-image { position: sticky; top: var(--jut-anchor-clearance); overflow: hidden; background: var(--jut-paper); border: 1px solid var(--jut-separator); border-radius: var(--jut-radius); }
body.jut-site[data-jut-kind="current"] .jc-detail-image img { display: block; width: 100%; height: 500px; padding: 24px; object-fit: contain; }
body.jut-site[data-jut-kind="current"] .jc-spec-table { margin: 26px 0; border-top: 1px solid var(--jut-separator); font-size: 14px; }
body.jut-site[data-jut-kind="current"] .jc-spec-table > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--jut-separator); }
body.jut-site[data-jut-kind="current"] .jc-spec-table dt { color: var(--jut-muted); }
body.jut-site[data-jut-kind="current"] .jc-spec-table dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
body.jut-site[data-jut-kind="current"] .jc-catalog-controls { padding: 22px; margin: 0 0 30px; border: 1px solid var(--jut-separator); background: var(--jut-paper); border-radius: var(--jut-radius); }
body.jut-site[data-jut-kind="current"] .jc-catalog-controls label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 650; }
body.jut-site[data-jut-kind="current"] .jc-catalog-controls input { width: 100%; max-width: 600px; min-height: 44px; padding: 12px 14px; background: var(--jut-paper); color: var(--jut-ink); border: 1px solid var(--jut-control-line); border-radius: var(--jut-radius); font-size: 16px; }
body.jut-site[data-jut-kind="current"] .jc-catalog-controls p { margin: 10px 0 0; color: var(--jut-muted); font-size: 14px; }
body.jut-site[data-jut-kind="current"] .jc-search-wrap { position: relative; flex: 1; min-width: 0; }
body.jut-site[data-jut-kind="current"] #jc-search { padding-inline-end: 64px; }
body.jut-site[data-jut-kind="current"] .jc-search-clear { position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 1px solid var(--jut-control-line); border-radius: var(--jut-radius); background: var(--jut-paper); color: var(--jut-blue); font-size: 22px; cursor: pointer; }
body.jut-site[data-jut-kind="current"] #jc-result-count { font-size: 14px; color: var(--jut-muted); }
body.jut-site[data-jut-kind="current"] .jc-show-more { margin-top: 30px; }
body.jut-site[data-jut-kind="current"] .jc-inquiry { min-width: 0; padding: 30px; background: var(--jut-paper); border: 1px solid var(--jut-separator); border-radius: var(--jut-radius); }
body.jut-site[data-jut-kind="current"] .jc-inquiry h2 { font-size: 28px; }
body.jut-site[data-jut-kind="current"] .jc-inquiry p { font-size: 14px; }
body.jut-site[data-jut-kind="current"] .jc-inquiry label { display: block; margin: 18px 0 6px; color: var(--jut-forest); font-size: 14px; font-weight: 650; }
body.jut-site[data-jut-kind="current"] .jc-inquiry :is(input, textarea) { display: block; width: 100%; min-height: 44px; padding: 12px; border: 1px solid var(--jut-control-line); border-radius: var(--jut-radius); background: var(--jut-paper); color: var(--jut-ink); font-size: 16px; }
body.jut-site[data-jut-kind="current"] .jc-inquiry textarea { resize: vertical; }
body.jut-site[data-jut-kind="current"] .jc-inquiry button { margin-top: 20px; }
body.jut-site[data-jut-kind="current"] .jc-inquiry [role="status"] { padding-top: 12px; color: var(--jut-forest); font-size: 14px; }
body.jut-site[data-jut-kind="current"] .jc-article { max-width: 76ch; line-height: 1.65; }
body.jut-site[data-jut-kind="current"] .jc-article h2 { margin-top: 36px; }
body.jut-site[data-jut-kind="current"] .jc-article h2:first-child { margin-top: 0; }
body.jut-site[data-jut-kind="current"] .jc-cta { padding-block: 48px; background: var(--jut-paper); border-block: 1px solid var(--jut-separator); }
body.jut-site[data-jut-kind="current"] .jc-cta > .jc-wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
body.jut-site[data-jut-kind="current"] .jc-cta p { max-width: 700px; }
body.jut-site[data-jut-kind="current"] .jc-cta .jc-button { flex-shrink: 0; }
body.jut-site[data-jut-kind="current"] .jc-main button:disabled { opacity: .65; cursor: not-allowed; }
body.jut-site[data-jut-kind="current"] .jc-skip { position: absolute; inset-block-start: -120px; inset-inline-start: 16px; z-index: 120; min-height: 44px; padding: 12px; color: var(--jut-blue); background: var(--jut-paper); }
body.jut-site[data-jut-kind="current"] .jc-skip:focus { inset-block-start: 12px; outline: 3px solid var(--jut-blue); outline-offset: 4px; }

/* Privacy and Terms intentionally have no main. Scope the unchanged prose. */
body.jut-site[data-jut-kind="current"] > section.section:has(> .container.prose) { padding: 24px 0 72px; background: var(--jut-paper); }
body.jut-site[data-jut-kind="current"] > section.section > .container.prose {
  width: min(76ch, calc(100% - var(--jut-gutter) * 2));
  max-width: 76ch;
  margin-inline: auto;
  padding: 0;
  color: var(--jut-ink);
  font: 400 16px/1.65 var(--jut-font);
}
body.jut-site[data-jut-kind="current"] > section.section > .container.prose h1 { margin: 0 0 24px; padding-inline-start: var(--jut-safe-inline); font: 650 clamp(32px, 4.5vw, 64px)/1.2 var(--jut-font); color: var(--jut-forest); letter-spacing: -.035em; }
body.jut-site[data-jut-kind="current"] > section.section > .container.prose h2 { margin: 32px 0 16px; font: 650 clamp(26px, 3vw, 44px)/1.2 var(--jut-font); color: var(--jut-forest); }
body.jut-site[data-jut-kind="current"] > section.section > .container.prose p { margin: 0 0 20px; }
body.jut-site[data-jut-kind="current"] > section.section > .container.prose a { color: var(--jut-blue); text-decoration: underline; text-underline-offset: 4px; }

/* 4. Home: native layout port, no old content/redesign/home style dependency. */
body.jut-site[data-jut-kind="current"] .jh-main .jh-hero { padding-top: 24px; background: var(--jut-paper); }
body.jut-site[data-jut-kind="current"] .jh-hero > .jh-wrap > .jh-kicker { padding-inline-start: var(--jut-safe-inline); }
body.jut-site[data-jut-kind="current"] .jh-hero-top { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 64px; align-items: end; }
body.jut-site[data-jut-kind="current"] .jh-main .jh-heading { font: 650 clamp(44px, 6.1vw, 88px)/1.15 var(--jut-font); letter-spacing: -.055em; color: var(--jut-forest); margin: 0; max-width: 900px; }
body.jut-site[data-jut-kind="current"] .jh-heading span { display: block; color: var(--jut-blue); }
body.jut-site[data-jut-kind="current"] .jh-hero-copy { max-width: 420px; padding-bottom: 7px; }
body.jut-site[data-jut-kind="current"] .jh-main .jh-lede { font-size: 18px; line-height: 1.7; margin: 0 0 24px; color: var(--jut-ink); }
body.jut-site[data-jut-kind="current"] .jh-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
body.jut-site[data-jut-kind="current"] .jh-main .jh-button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 44px; padding: 12px 22px; border: 1px solid var(--jut-blue); border-radius: var(--jut-radius); background: var(--jut-blue); color: var(--jut-paper); font-size: 14px; font-weight: 650; line-height: 1.5; text-align: center; text-decoration: none; }
body.jut-site[data-jut-kind="current"] .jh-main .jh-button:hover { background: var(--jut-forest); border-color: var(--jut-forest); color: var(--jut-paper); text-decoration: none; }
body.jut-site[data-jut-kind="current"] .jh-main .jh-button-outline { background: transparent; color: var(--jut-blue); }
body.jut-site[data-jut-kind="current"] .jh-arrow { position: relative; display: inline-block; flex-shrink: 0; width: 16px; height: 16px; font-size: 0; line-height: 1; }
body.jut-site[data-jut-kind="current"] .jh-arrow::before { content: ''; position: absolute; width: 10px; height: 10px; inset-inline-end: 1px; top: 1px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; }
body.jut-site[data-jut-kind="current"] .jh-arrow::after { content: ''; position: absolute; width: 16px; height: 1.5px; background: currentColor; inset-inline-end: 0; top: 7px; transform: rotate(-45deg); }
body.jut-site[data-jut-kind="current"] .jh-stage { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: clamp(18px, 5vw, 78px); width: min(1100px, 100%); height: 400px; margin: 34px auto 0; padding: 0 24px 22px; isolation: isolate; }
body.jut-site[data-jut-kind="current"] .jh-stage::before { content: ''; position: absolute; z-index: -1; inset-inline: 0; bottom: 0; height: 145px; border-bottom: 1px solid var(--jut-separator); background: var(--jut-paper); }
body.jut-site[data-jut-kind="current"] .jh-stage-item { display: flex; align-items: flex-end; justify-content: center; position: relative; width: 200px; height: 310px; text-decoration: none; }
body.jut-site[data-jut-kind="current"] .jh-stage-item img { display: block; width: 100%; height: 100%; object-fit: contain; }
body.jut-site[data-jut-kind="current"] .jh-stage-center { width: 250px; height: 380px; }
body.jut-site[data-jut-kind="current"] .jh-main .jh-stage-caption { margin: 0; padding: 18px 20px; color: var(--jut-forest); font-size: 14px; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; text-align: center; }
body.jut-site[data-jut-kind="current"] .jh-section { padding-block: 88px; }
body.jut-site[data-jut-kind="current"] .jh-section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
body.jut-site[data-jut-kind="current"] .jh-section-head > * { min-width: 0; }
body.jut-site[data-jut-kind="current"] .jh-main .jh-title { font: 650 clamp(26px, 3vw, 44px)/1.2 var(--jut-font); letter-spacing: -.035em; color: var(--jut-forest); margin: 0 0 16px; max-width: 750px; }
body.jut-site[data-jut-kind="current"] .jh-main .jh-description { font-size: 16px; line-height: 1.65; color: var(--jut-muted); max-width: 600px; margin: 0; }
body.jut-site[data-jut-kind="current"] .jh-main .jh-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; padding-block: 8px; color: var(--jut-blue); font-size: 14px; font-weight: 650; line-height: 1.5; border-bottom: 1px solid var(--jut-blue); text-decoration: none; }
body.jut-site[data-jut-kind="current"] .jh-main .jh-link:hover { text-decoration: underline; }
body.jut-site[data-jut-kind="current"] .jh-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--jut-separator); }
body.jut-site[data-jut-kind="current"] .jh-main .jh-category { display: flex; flex-direction: column; justify-content: space-between; gap: 30px; min-height: 168px; padding: 26px 28px; border-inline-start: 1px solid var(--jut-separator); text-decoration: none; color: var(--jut-forest); }
body.jut-site[data-jut-kind="current"] .jh-category:first-child { padding-inline-start: 0; border-inline-start: 0; }
body.jut-site[data-jut-kind="current"] .jh-category-number { color: var(--jut-muted); font-size: 14px; letter-spacing: .08em; }
body.jut-site[data-jut-kind="current"] .jh-category-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 650 21px/1.35 var(--jut-font); letter-spacing: -.025em; }
body.jut-site[data-jut-kind="current"] .jh-category:hover .jh-category-title { text-decoration: underline; text-underline-offset: 4px; }
body.jut-site[data-jut-kind="current"] .jh-new { background: var(--jut-paper); border-block: 1px solid var(--jut-separator); }
body.jut-site[data-jut-kind="current"] .jh-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
body.jut-site[data-jut-kind="current"] .jh-product { display: flex; flex-direction: column; min-width: 0; border-radius: var(--jut-radius); }
body.jut-site[data-jut-kind="current"] .jh-product-photo { display: flex; align-items: center; justify-content: center; height: 300px; background: var(--jut-paper); border: 1px solid var(--jut-separator); border-radius: var(--jut-radius); text-decoration: none; overflow: hidden; }
body.jut-site[data-jut-kind="current"] .jh-product-photo img { height: 85%; width: 90%; object-fit: contain; }
body.jut-site[data-jut-kind="current"] .jh-main .jh-product-category { margin: 22px 0 10px; font-size: 14px; font-weight: 650; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; color: var(--jut-muted); }
body.jut-site[data-jut-kind="current"] .jh-main .jh-product-name { font: 650 18px/1.5 var(--jut-font); color: var(--jut-forest); margin: 0 0 10px; }
body.jut-site[data-jut-kind="current"] .jh-main .jh-product-name a { display: inline-flex; min-height: 44px; align-items: center; color: inherit; text-decoration: none; }
body.jut-site[data-jut-kind="current"] .jh-main .jh-product-name a:hover { text-decoration: underline; }
body.jut-site[data-jut-kind="current"] .jh-main .jh-product-spec { font-size: 14px; line-height: 1.5; margin: 0 0 20px; color: var(--jut-muted); }
body.jut-site[data-jut-kind="current"] .jh-product-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: auto; border-top: 1px solid var(--jut-separator); }
body.jut-site[data-jut-kind="current"] .jh-main .jh-product-action { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; border-radius: var(--jut-radius); font-size: 14px; font-weight: 650; color: var(--jut-blue); text-decoration: none; }
body.jut-site[data-jut-kind="current"] .jh-main .jh-product-action:hover { text-decoration: underline; }
body.jut-site[data-jut-kind="current"] .jh-more { margin-top: 40px; border-block: 1px solid var(--jut-separator); }
body.jut-site[data-jut-kind="current"] .jh-more-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; padding-block: 12px; cursor: pointer; font: 650 18px/1.5 var(--jut-font); color: var(--jut-forest); list-style: none; }
body.jut-site[data-jut-kind="current"] .jh-more-summary::-webkit-details-marker { display: none; }
body.jut-site[data-jut-kind="current"] .jh-more-summary::after { content: '+'; flex-shrink: 0; font-size: 30px; font-weight: 400; line-height: 1; }
body.jut-site[data-jut-kind="current"] .jh-more[open] > .jh-more-summary::after { content: '−'; }
body.jut-site[data-jut-kind="current"] .jh-more .jh-product-grid { padding-block: 12px 32px; }
body.jut-site[data-jut-kind="current"] .jh-story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: center; }
body.jut-site[data-jut-kind="current"] .jh-story-image { display: block; width: 100%; height: auto; aspect-ratio: 568 / 409; object-fit: cover; border-radius: var(--jut-radius); }
body.jut-site[data-jut-kind="current"] .jh-main .jh-story .jh-description { margin: 24px 0; }
body.jut-site[data-jut-kind="current"] .jh-story-links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
body.jut-site[data-jut-kind="current"] .jh-steps { border-top: 1px solid var(--jut-separator); }
body.jut-site[data-jut-kind="current"] .jh-steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 40px 0 0; list-style: none; padding: 0; }
body.jut-site[data-jut-kind="current"] .jh-step { border-top: 1px solid var(--jut-separator); padding-top: 22px; }
body.jut-site[data-jut-kind="current"] .jh-step-number { display: block; margin-bottom: 24px; color: var(--jut-muted); font: 400 40px/1 var(--jut-font); letter-spacing: -.05em; }
body.jut-site[data-jut-kind="current"] .jh-main .jh-step-title { font: 650 21px/1.4 var(--jut-font); color: var(--jut-forest); margin: 0 0 14px; }
body.jut-site[data-jut-kind="current"] .jh-main .jh-step-copy { font-size: 16px; line-height: 1.65; color: var(--jut-muted); margin: 0; max-width: 330px; }
body.jut-site[data-jut-kind="current"] .jh-contact { background: var(--jut-yellow); padding-block: 80px; }
body.jut-site[data-jut-kind="current"] .jh-contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 80px; align-items: center; }
body.jut-site[data-jut-kind="current"] .jh-main .jh-contact .jh-title { margin: 0; }
body.jut-site[data-jut-kind="current"] .jh-main .jh-contact .jh-description { color: var(--jut-forest); margin-bottom: 24px; }

/* 5. Four frozen home additions: all content present without JavaScript. */
body.jut-site[data-jut-kind="current"] .jut-home-addition { border-top: 1px solid var(--jut-separator); }
body.jut-site[data-jut-kind="current"] .jut-routine-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
body.jut-site[data-jut-kind="current"] .jut-routine { display: flex; flex-direction: column; min-width: 0; border-top: 1px solid var(--jut-separator); padding-top: 24px; }
body.jut-site[data-jut-kind="current"] .jut-routine .jh-link { margin-top: auto; align-self: flex-start; }
body.jut-site[data-jut-kind="current"] .jut-brief-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; list-style: decimal; padding-inline-start: 24px; margin: 0 0 32px; }
body.jut-site[data-jut-kind="current"] .jut-brief-item { padding: 20px 0 0 8px; border-top: 1px solid var(--jut-separator); }
body.jut-site[data-jut-kind="current"] .jut-brief-item::marker { color: var(--jut-forest); font-weight: 700; }
body.jut-site[data-jut-kind="current"] .jut-document-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
body.jut-site[data-jut-kind="current"] .jut-document { padding-top: 24px; border-top: 1px solid var(--jut-separator); }
body.jut-site[data-jut-kind="current"] .jh-main .jut-home-note { max-width: 76ch; margin: 24px 0; color: var(--jut-muted); font-size: 14px; line-height: 1.5; }
body.jut-site[data-jut-kind="current"] .jut-faq-item { border-top: 1px solid var(--jut-separator); }
body.jut-site[data-jut-kind="current"] .jut-faq-item:last-child { border-bottom: 1px solid var(--jut-separator); }
body.jut-site[data-jut-kind="current"] .jut-faq-item > summary { min-height: 44px; padding: 16px 0; color: var(--jut-forest); font-size: 18px; font-weight: 650; line-height: 1.5; cursor: pointer; }
body.jut-site[data-jut-kind="current"] .jut-faq-answer { max-width: 76ch; padding: 0 0 24px; }

/* 6. Search results: current typography, unchanged forms and interactions. */
body.jut-site[data-jut-kind="search"] #jns-results-main { width: min(1280px, calc(100% - var(--jut-gutter) * 2)); padding-top: 24px; color: var(--jut-ink); font: 400 16px/1.65 var(--jut-font); }
body.jut-site[data-jut-kind="search"] #jns-results-main > h1 { padding-inline-start: var(--jut-safe-inline); margin-bottom: 24px; color: var(--jut-forest); font: 650 clamp(32px, 4.5vw, 64px)/1.2 var(--jut-font); }
body.jut-site[data-jut-kind="search"] #jns-results-main :is(input, select, button) { font: 400 16px/1.5 var(--jut-font); border-radius: var(--jut-radius); }
body.jut-site[data-jut-kind="search"] #jns-results-main :is(#jns-result-query, #jns-filters select) { background: var(--jut-paper); border-color: var(--jut-control-line); }
body.jut-site[data-jut-kind="search"] #jns-results-main :is(.jns-summary, .jns-meta) { color: var(--jut-muted); }
body.jut-site[data-jut-kind="search"] #jns-results h2 { font-family: var(--jut-font); }
body.jut-site[data-jut-kind="search"] #jns-results .jns-history { background: var(--jut-paper); color: var(--jut-forest); border: 1px solid var(--jut-forest); }

/* 7. Explicit immutable-page chrome only. Keep archive/legacy rules linked.
   These selectors adjust the existing first historical notice, not main bytes
   or source-content presentation. Its safe text lane cannot change on scroll. */
body.jut-site[data-jut-kind="archive"] > main > .archive-notice:first-child {
  padding-inline-start: calc(var(--jut-safe-inline) + 20px);
}
body.jut-site[data-jut-kind="legacy"] > aside {
  margin-inline-start: calc(var(--jut-gutter) + var(--jut-safe-inline));
  margin-inline-end: var(--jut-gutter);
}

/* 8. New footer. Every presentation selector is juf-/jut- namespaced.
   The preserved historical block remains readable, expanded and untruncated. */
body.jut-site #juf-footer {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--jut-separator);
  background: var(--jut-paper);
  color: var(--jut-ink);
  font: 400 14px/1.5 var(--jut-font);
  text-align: start;
  letter-spacing: normal;
  overflow-wrap: anywhere;
}
body.jut-site #juf-footer .juf-wrap { padding: 0; }
body.jut-site #juf-footer :is(.juf-title, .juf-heading, .juf-subheading) { color: var(--jut-forest); font-family: var(--jut-font); font-weight: 650; letter-spacing: -.02em; text-transform: none; }
body.jut-site #juf-footer .juf-title { margin: 0 0 20px; font-size: clamp(26px, 3vw, 44px); line-height: 1.2; }
body.jut-site #juf-footer .juf-heading { margin: 0 0 16px; font-size: 18px; line-height: 1.5; }
body.jut-site #juf-footer .juf-subheading { margin: 24px 0 8px; font-size: 14px; line-height: 1.5; }
body.jut-site #juf-footer .juf-kicker { margin: 0 0 16px; color: var(--jut-forest); font-size: 14px; font-weight: 700; line-height: 1.5; letter-spacing: .12em; }
body.jut-site #juf-footer .juf-copy { max-width: 65ch; margin: 0 0 20px; color: var(--jut-ink); font-size: 14px; line-height: 1.65; }
body.jut-site #juf-footer .juf-note { margin: 12px 0 0; color: var(--jut-muted); font-size: 12px; line-height: 1.5; }
body.jut-site #juf-footer a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; padding-block: 8px; color: var(--jut-blue); text-decoration: underline; text-underline-offset: 4px; font-family: var(--jut-font); line-height: 1.5; white-space: normal; }
body.jut-site #juf-footer a:hover { color: var(--jut-forest); text-decoration-thickness: 2px; }
body.jut-site #juf-footer :is(.juf-connection, .juf-navigation, .juf-network, .juf-legal) { padding-block: 48px; }
body.jut-site #juf-footer :is(.juf-navigation, .juf-network, .juf-legal) { border-top: 1px solid var(--jut-separator); }
body.jut-site #juf-footer .juf-connection { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
body.jut-site #juf-footer .juf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
body.jut-site #juf-footer .juf-button,
body.jut-site #juf-footer button[data-jut-chat] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid var(--jut-blue);
  border-radius: var(--jut-radius);
  background: var(--jut-blue);
  color: var(--jut-paper);
  font: 650 14px/1.5 var(--jut-font);
  text-align: center;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
  box-shadow: none;
}
body.jut-site #juf-footer .juf-button:hover,
body.jut-site #juf-footer button[data-jut-chat]:hover { background: var(--jut-forest); border-color: var(--jut-forest); color: var(--jut-paper); }
body.jut-site:not([data-jns-ready]) #juf-footer button[data-jut-chat] { display: none; }
body.jut-site #juf-footer :is(.juf-social-list, .juf-list, .juf-archive-links) { list-style: none; padding: 0; margin: 0; }
body.jut-site #juf-footer :is(.juf-social-list, .juf-list, .juf-archive-links) > li { margin: 0; padding: 0; }
body.jut-site #juf-footer .juf-social-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
body.jut-site #juf-footer .juf-social-list a { width: 100%; }
body.jut-site #juf-footer .juf-navigation { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; align-items: start; }
body.jut-site #juf-footer :is(.juf-brand, .juf-nav, .juf-newsletter, .juf-social) { min-width: 0; }
body.jut-site #juf-footer .juf-logo,
body.jut-site #juf-footer .juf-logo::before,
body.jut-site #juf-footer .juf-logo::after,
body.jut-site #juf-footer .juf-logo img {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: none;
  backdrop-filter: none;
}
body.jut-site #juf-footer .juf-logo { display: inline-block; min-width: 44px; min-height: 44px; margin: 0 0 20px; line-height: 0; }
body.jut-site #juf-footer .juf-logo img { display: block; width: auto; height: 112px; max-width: none; object-fit: contain; }
body.jut-site #juf-footer .juf-tagline { margin: 0 0 16px; color: var(--jut-forest); font-size: 16px; font-weight: 650; line-height: 1.5; }
body.jut-site #juf-footer .juf-list { display: grid; gap: 0; }
body.jut-site #juf-footer .juf-archive-links { display: flex; flex-wrap: wrap; gap: 0 8px; }
body.jut-site #juf-footer .juf-archive-links a { justify-content: center; min-width: 44px; }
body.jut-site #juf-footer .juf-chat-status:empty { margin: 0; }
body.jut-site #juf-footer .juf-network { display: flex; flex-wrap: wrap; gap: 24px 64px; }
body.jut-site #juf-footer .juf-network-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
body.jut-site #juf-footer .juf-network-group > .juf-heading { flex-basis: 100%; margin: 0; font-size: 14px; }
body.jut-site #juf-footer .juf-legal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 24px 40px; }
body.jut-site #juf-footer .juf-copyright { margin: 8px 0 0; color: var(--jut-ink); font-size: 14px; line-height: 1.5; }
body.jut-site #juf-footer .juf-current-website .juf-note { margin: 0; }
body.jut-site #juf-footer .juf-market-note { margin: 0; color: var(--jut-muted); font-size: 14px; line-height: 1.5; }
body.jut-site #juf-footer .juf-legal-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0 24px; }
body.jut-site #juf-footer .juf-preserved { grid-column: 1 / -1; color: var(--jut-ink); font-size: 14px; line-height: 1.65; }
body.jut-site #juf-footer .juf-preserved > :is(.archive-footer, .jut-preserved-footer) { max-width: none; margin: 0; padding: 16px 0; color: var(--jut-ink); background: transparent; }
body.jut-site #juf-footer .juf-preserved :is(div, p, span, li, h1, h2, h3, h4, small, strong) { color: var(--jut-ink); background: transparent; }
body.jut-site #juf-footer .juf-preserved a { color: var(--jut-blue); }

/* 9. Focus, responsive gutters and accessible preferences. */
body.jut-site :is(.jc-main, #juf-footer, #jns-header, #jns-panels,
  #jns-results-main, section.section > .container.prose) :focus-visible {
  outline: 3px solid var(--jut-blue);
  outline-offset: 4px;
}
@media (min-width: 1024px) and (max-width: 1439px) {
  body.jut-site { --jut-gutter: 40px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  body.jut-site { --jut-gutter: 24px; }
}
@media (max-width: 1023px) {
  body.jut-site[data-jut-kind="current"] .jut-routine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  body.jut-site[data-jut-kind="current"] .jc-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.jut-site[data-jut-kind="current"] .jc-detail { gap: 32px; }
  body.jut-site[data-jut-kind="current"] :is(.jh-story-grid, .jh-contact-grid) { gap: 40px; }
  body.jut-site[data-jut-kind="current"] .jh-hero-top { gap: 32px; }
}
@media (max-width: 1000px) {
  body.jut-site #juf-footer .juf-navigation { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  body.jut-site #juf-footer .juf-brand { grid-column: 1 / -1; max-width: 76ch; }
  body.jut-site #juf-footer .juf-connection { gap: 32px; }
  body.jut-site #juf-footer .juf-social-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 800px) {
  body.jut-site[data-jut-kind="current"] :is(.jc-two, .jc-detail) { grid-template-columns: minmax(0, 1fr); }
  body.jut-site[data-jut-kind="current"] :is(.jc-products, .jc-range-grid, .jc-three, .jc-steps) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.jut-site[data-jut-kind="current"] .jc-detail-image { position: static; }
  body.jut-site[data-jut-kind="current"] .jc-detail-image img { height: 400px; }
  body.jut-site[data-jut-kind="current"] .jc-cta > .jc-wrap { flex-direction: column; align-items: start; gap: 24px; }
  body.jut-site[data-jut-kind="current"] .jh-hero-top { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body.jut-site[data-jut-kind="current"] .jh-hero-copy { max-width: 600px; padding: 0; }
  body.jut-site[data-jut-kind="current"] .jh-stage { height: 340px; gap: 20px; margin-top: 30px; }
  body.jut-site[data-jut-kind="current"] .jh-stage-item { width: 170px; height: 250px; }
  body.jut-site[data-jut-kind="current"] .jh-stage-center { width: 215px; height: 320px; }
  body.jut-site[data-jut-kind="current"] .jh-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.jut-site[data-jut-kind="current"] .jh-category { min-height: 144px; }
  body.jut-site[data-jut-kind="current"] .jh-category:nth-child(2n + 1) { padding-inline-start: 0; border-inline-start: 0; }
  body.jut-site[data-jut-kind="current"] .jh-category:nth-child(n + 3) { border-top: 1px solid var(--jut-separator); }
  body.jut-site[data-jut-kind="current"] .jh-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  body.jut-site[data-jut-kind="current"] .jh-product-photo { height: 310px; }
  body.jut-site[data-jut-kind="current"] :is(.jh-story-grid, .jh-contact-grid) { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  body.jut-site[data-jut-kind="current"] .jh-steps-grid { gap: 24px; }
  body.jut-site[data-jut-kind="current"] .jh-section-head { flex-direction: column; align-items: start; gap: 20px; margin-bottom: 32px; }
  body.jut-site[data-jut-kind="current"] .jut-routine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  body.jut-site { --jut-gutter: 20px; --jut-safe-inline: max(112px, calc(96px * 768 / 683 + 12px)); --jut-anchor-clearance: 116px; }
  body.jut-site :is(#jns-header, #jns-bar) { height: 64px; }
  body.jut-site #jns-header #jns-logo img { height: 96px !important; }
  body.jut-site #jns-header[data-scrolled] #jns-logo img { height: 52px !important; }
  body.jut-site[data-jut-kind="current"] .jc-section { padding-block: 48px; }
  body.jut-site[data-jut-kind="current"] .jc-main > .jc-section:first-child { padding-top: 24px; }
  body.jut-site[data-jut-kind="current"] .jc-page-head { padding-top: 24px; padding-bottom: 36px; }
  body.jut-site[data-jut-kind="current"] .jh-section { padding-block: 56px; }
  body.jut-site[data-jut-kind="current"] .jh-contact { padding-block: 56px; }
  body.jut-site[data-jut-kind="current"] .jut-routine-grid,
  body.jut-site[data-jut-kind="current"] .jut-brief-grid,
  body.jut-site[data-jut-kind="current"] .jut-document-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body.jut-site #juf-footer :is(.juf-connection, .juf-navigation, .juf-legal) { grid-template-columns: minmax(0, 1fr); }
  body.jut-site #juf-footer :is(.juf-connection, .juf-navigation, .juf-network, .juf-legal) { padding-block: 32px; }
  body.jut-site #juf-footer .juf-logo img { width: auto; height: 96px; }
  body.jut-site #juf-footer .juf-navigation { gap: 32px; }
  body.jut-site #juf-footer .juf-network { flex-direction: column; gap: 24px; }
}
@media (max-width: 480px) {
  body.jut-site[data-jut-kind="current"] .jc-products,
  body.jut-site[data-jut-kind="current"] .jc-range-grid,
  body.jut-site[data-jut-kind="current"] .jc-three,
  body.jut-site[data-jut-kind="current"] .jc-steps,
  body.jut-site[data-jut-kind="current"] .jh-product-grid,
  body.jut-site[data-jut-kind="current"] .jut-routine-grid { grid-template-columns: minmax(0, 1fr); }
  body.jut-site[data-jut-kind="current"] .jc-card-body { padding: 20px; }
  body.jut-site[data-jut-kind="current"] :is(.jc-range, .jc-info) { padding: 24px; }
  body.jut-site[data-jut-kind="current"] .jc-inquiry { padding: 24px 20px; }
  body.jut-site[data-jut-kind="current"] .jc-detail-image img { height: 320px; }
  body.jut-site[data-jut-kind="current"] .jc-spec-table > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  body.jut-site[data-jut-kind="current"] .jc-gallery img { height: 190px; }
  body.jut-site[data-jut-kind="current"] .jc-feature-image { height: 260px; }
  body.jut-site[data-jut-kind="current"] .jc-actions { flex-direction: column; align-items: stretch; }
  body.jut-site[data-jut-kind="current"] .jh-main .jh-heading { font-size: clamp(44px, 11.3vw, 54px); letter-spacing: -.05em; }
  body.jut-site[data-jut-kind="current"] .jh-stage { height: 265px; margin-top: 22px; gap: 2px; padding: 0 12px 15px; }
  body.jut-site[data-jut-kind="current"] .jh-stage-item { width: 26%; height: 170px; flex-shrink: 0; }
  body.jut-site[data-jut-kind="current"] .jh-stage-center { width: 37%; height: 240px; }
  body.jut-site[data-jut-kind="current"] .jh-stage::before { height: 105px; }
  body.jut-site[data-jut-kind="current"] .jh-stage-caption { font-size: 14px; letter-spacing: .08em; padding-inline: 16px; }
  body.jut-site[data-jut-kind="current"] .jh-category { min-height: 134px; gap: 24px; padding: 22px 16px; }
  body.jut-site[data-jut-kind="current"] .jh-category-title { font-size: 18px; gap: 6px; }
  body.jut-site[data-jut-kind="current"] .jh-product-photo { height: 300px; }
  body.jut-site[data-jut-kind="current"] .jh-product-photo img { height: 88%; }
  body.jut-site[data-jut-kind="current"] .jh-steps-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 28px; }
  body.jut-site[data-jut-kind="current"] .jh-step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; padding-top: 20px; }
  body.jut-site[data-jut-kind="current"] .jh-step-number { grid-row: 1 / 3; margin: 0; font-size: 28px; line-height: 1.4; }
  body.jut-site[data-jut-kind="current"] .jh-step-copy { grid-column: 2; max-width: none; }
  body.jut-site[data-jut-kind="search"] #jns-result-form { flex-wrap: wrap; }
  body.jut-site[data-jut-kind="search"] #jns-result-form > label { flex-basis: 100%; }
}
@media (max-width: 350px) {
  body.jut-site { --jut-gutter: 16px; }
  body.jut-site[data-jut-kind="current"] .jh-actions { gap: 12px; }
  body.jut-site[data-jut-kind="current"] .jh-main .jh-button { padding-inline: 12px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  body.jut-site :is(#jns-header #jns-logo img, #jns-panels #jns-search-form,
    .jc-main, .jc-main *, #juf-footer, #juf-footer *) {
    transition: none;
    animation: none;
    scroll-behavior: auto;
  }
}
@media (forced-colors: active) {
  body.jut-site #juf-footer,
  body.jut-site :is(#jns-header, #jns-panels, #jns-results-main, .jc-main) {
    background: Canvas;
    color: CanvasText;
  }
  body.jut-site #juf-footer :is(.juf-title, .juf-heading, .juf-subheading,
    .juf-copy, .juf-tagline, .juf-note, .juf-market-note, .juf-copyright),
  body.jut-site .jc-main :is(h1, h2, h3, p, summary) { color: CanvasText; }
  body.jut-site #juf-footer a,
  body.jut-site .jc-main a { color: LinkText; }
  body.jut-site #juf-footer .juf-button,
  body.jut-site #juf-footer button[data-jut-chat],
  body.jut-site .jc-main :is(.jc-button, .jh-button) {
    border-color: ButtonText;
    background: ButtonFace;
    color: ButtonText;
  }
  body.jut-site :focus-visible { outline-color: Highlight; }
}

/* Raven APPROVED_SUPPLEMENT 2026-11-09: noninteractive provider status
   stays visible in document flow without changing adapter/SDK behaviour. */
body.jut-site #miaChatStatus {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  box-sizing: border-box;
  max-width: min(1280px, calc(100% - 2 * var(--jut-gutter, 20px))) !important;
  margin: 16px auto;
  padding: 12px !important;
  background: #fffdf5 !important;
  color: #123f70 !important;
  border: 1px solid #123f70 !important;
  border-radius: 4px !important;
  font: 14px/1.65 system-ui, sans-serif !important;
  overflow-wrap: anywhere;
}
