@charset "UTF-8";
@font-face{font-family:"TRES Tools Sans JP";font-style:normal;font-weight:100 900;font-display:swap;src:url("/assets/fonts/tres-tools-sans-jp-site-v7-checkrawselect.woff") format("woff")}

/* ==========================================================================
   TRES TOOLS Design System (Proposed v2) - Part 1/2
   Tokens, Base, Accessibility, Global Header, Buttons, Top Page
   ========================================================================== */

:root {
  /* Colors */
  --tres-surface: #ffffff;
  --tres-surface-sub: #f7f7f8;
  --tres-border: #e2e2e6;
  --tres-border-strong: #c8c8ce;
  --tres-ink: #111114;
  --tres-body: #333338;
  --tres-muted: #5e5e66;
  --tres-gold: #c9a333;
  --tres-gold-hover: #b38f28;
  --tres-gold-tint: #fbf8f1;

  /* Typography */
  --tres-font: "TRES Tools Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  --tres-brand-font: "Arial Black", Arial, sans-serif;
  --tres-mono-font: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Layout & Spacing */
  --tres-max-width: 1120px;
  --tres-gutter: 24px;
  --tres-header-min: 68px;
  --tres-header-height: 68px;
  --tres-sidebar-width: 280px;
  --tres-article-max: 760px;
  --tres-touch-min: 48px;
  --tres-radius-sm: 6px;
  --tres-radius-md: 8px;
  --tres-radius-lg: 12px;
  --tres-mobile-bar-height: 76px;
}

@media (max-width: 767px) {
  :root {
    --tres-gutter: 16px;
  }
}

/* Base & Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--tres-header-height) + 24px);
  background: var(--tres-surface);
  color: var(--tres-body);
  font-family: var(--tres-font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--tres-surface);
  color: var(--tres-body);
  font-size: 1rem;
  line-height: 1.75;
}

@media (max-width: 767px) {
  body {
    font-size: 0.9375rem; /* 15px at default 16px root; scales proportionally at 200% zoom */
  }
  body.has-mobile-cta {
    padding-bottom: calc(var(--tres-mobile-bar-height) + 24px);
  }
}

img,
svg {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
  object-fit: contain;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--tres-ink);
  font-weight: 700;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

p,
li,
td,
th,
dt,
dd {
  overflow-wrap: anywhere;
}

a {
  color: var(--tres-ink);
  text-underline-offset: 4px;
}

code,
pre {
  font-family: var(--tres-mono-font);
  color: var(--tres-ink);
}

code {
  padding: 2px 6px;
  background: var(--tres-surface-sub);
  border: 1px solid var(--tres-border);
  border-radius: 4px;
  font-size: 0.875rem;
}

pre {
  margin: 16px 0;
  padding: 16px;
  background: var(--tres-surface-sub);
  border: 1px solid var(--tres-border);
  border-radius: var(--tres-radius-md);
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.6;
}

pre code {
  padding: 0;
  border: 0;
  background: transparent;
}

/* Focus & Accessibility */
:is(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--tres-ink);
  outline-offset: 3px;
}

.tres-skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  min-height: var(--tres-touch-min);
  padding: 12px 20px;
  background: var(--tres-surface);
  color: var(--tres-ink);
  border: 2px solid var(--tres-ink);
  border-radius: var(--tres-radius-md);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.tres-skip-link:focus {
  top: 12px;
}

.tres-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Container */
.tres-shell {
  width: min(var(--tres-max-width), calc(100% - (var(--tres-gutter) * 2)));
  margin-inline: auto;
}

/* ==========================================================================
   Global Header (68px normal; wraps cleanly at 320px / 200% zoom)
   ========================================================================== */
.tres-header {
  position: sticky;
  top: 0;
  z-index: 200;
  width: 100%;
  min-height: var(--tres-header-min);
  height: auto;
  background: var(--tres-surface);
  border-bottom: 1px solid var(--tres-border);
}

.tres-header__inner {
  width: min(var(--tres-max-width), calc(100% - (var(--tres-gutter) * 2)));
  min-height: var(--tres-header-min);
  margin-inline: auto;
  padding-block: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
}

.tres-header__left,
.tres-header__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.tres-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: var(--tres-touch-min);
  min-width: var(--tres-touch-min);
  padding: 6px 8px 6px 0;
  color: var(--tres-ink);
  font-family: var(--tres-brand-font);
  font-size: 0.9375rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

.tres-header__mark {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--tres-gold);
  color: var(--tres-ink);
  border-radius: var(--tres-radius-sm);
  font-family: var(--tres-brand-font);
  font-size: 1.375rem;
  font-weight: 900;
  line-height: 1;
}

.tres-header__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--tres-touch-min);
  min-width: var(--tres-touch-min);
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: var(--tres-radius-md);
  color: var(--tres-ink);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

.tres-header__link:hover {
  background: var(--tres-surface-sub);
  border-color: var(--tres-border);
}

.tres-header__link--lang {
  border-color: var(--tres-border-strong);
}

@media (max-width: 360px) {
  .tres-header__brand {
    font-size: 0.8125rem;
    gap: 8px;
  }
  .tres-header__link {
    padding: 8px 10px;
    font-size: 0.8125rem;
  }
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.tres-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--tres-touch-min);
  min-width: var(--tres-touch-min);
  padding: 12px 20px;
  border-radius: var(--tres-radius-md);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.tres-btn--primary {
  background: var(--tres-gold);
  border-color: var(--tres-gold);
  color: var(--tres-ink);
}

.tres-btn--primary:hover {
  background: var(--tres-gold-hover);
  border-color: var(--tres-gold-hover);
}

.tres-btn--secondary {
  background: var(--tres-surface);
  border-color: var(--tres-border-strong);
  color: var(--tres-ink);
}

.tres-btn--secondary:hover {
  background: var(--tres-surface-sub);
}

.tres-btn--block {
  width: 100%;
}

.tres-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--tres-border);
  border-radius: 999px;
  background: var(--tres-surface-sub);
  color: var(--tres-muted);
  font-size: 0.8125rem; /* 13px */
  font-weight: 500;
  line-height: 1.4;
}

/* ==========================================================================
   Top Page: Compact Hero, OS Filter, 2-Col Tool Grid, About
   ========================================================================== */
.tres-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
  padding-block: 48px 56px;
  border-bottom: 1px solid var(--tres-border);
}

.tres-home-hero__title {
  font-size: clamp(1.5rem, 2.6vw, 2rem); /* 24px - 32px */
  line-height: 1.5;
  margin-bottom: 16px;
}

.tres-home-hero__lead {
  margin: 0 0 24px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--tres-body);
}

.tres-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.tres-home-hero__os-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tres-home-hero__os-link {
  display: inline-flex;
  align-items: center;
  min-height: var(--tres-touch-min);
  padding: 8px 14px;
  border: 1px solid var(--tres-border);
  border-radius: var(--tres-radius-md);
  background: var(--tres-surface-sub);
  color: var(--tres-ink);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.tres-home-hero__os-link:hover {
  border-color: var(--tres-ink);
}

/* Screen Mount Frame */
.tres-screen-frame {
  margin: 0;
  padding: 16px;
  background: var(--tres-surface-sub);
  border: 1px solid #dcdce0;
  border-radius: var(--tres-radius-md);
}

.tres-screen-frame__label {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--tres-muted);
}

.tres-screen-frame img {
  width: 100%;
  max-height: 420px;
  margin-inline: auto;
  border: 1px solid var(--tres-border);
  background: var(--tres-surface);
}

.tres-screen-frame__caption {
  margin-top: 12px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--tres-muted);
}

/* Tools Section */
.tres-tools-section {
  padding-block: 48px;
}

.tres-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.tres-section-head h2 {
  font-size: 1.375rem; /* 22px */
  line-height: 1.4;
}

.tres-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tres-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tres-touch-min);
  min-width: var(--tres-touch-min);
  padding: 10px 18px;
  border: 1px solid var(--tres-border-strong);
  border-radius: var(--tres-radius-md);
  background: var(--tres-surface);
  color: var(--tres-body);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.tres-filter-btn:hover {
  border-color: var(--tres-ink);
  color: var(--tres-ink);
}

.tres-filter-btn[aria-pressed="true"] {
  background: var(--tres-gold);
  border-color: var(--tres-gold);
  color: var(--tres-ink);
  font-weight: 700;
}

.tres-filter-status {
  margin: 0 0 16px;
  font-size: 0.875rem;
  color: var(--tres-muted);
}

.tres-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.tres-tool-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  background: var(--tres-surface);
  border: 1px solid var(--tres-border);
  border-radius: var(--tres-radius-lg);
}

.tres-tool-card[hidden] {
  display: none;
}

.tres-tool-card:hover {
  border-color: var(--tres-muted);
}

.tres-tool-card__main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: var(--tres-body);
}

.tres-tool-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tres-tool-card__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 10px;
}

.tres-tool-card__icon--web {
  display: grid;
  place-items: center;
  padding: 10px;
  background: var(--tres-surface-sub);
  border: 1px solid var(--tres-border);
  color: var(--tres-ink);
}

.tres-tool-card__title {
  font-size: 1.125rem; /* 18px */
  line-height: 1.45;
  color: var(--tres-ink);
}

.tres-tool-card__os {
  display: block;
  margin-top: 2px;
  font-size: 0.8125rem; /* 13px */
  color: var(--tres-muted);
}

.tres-tool-card__tagline {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--tres-ink);
}

.tres-tool-card__desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--tres-body);
}

.tres-tool-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tres-tool-card__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--tres-border);
}

.tres-tool-card__foot .tres-btn {
  flex: 1 1 140px;
  font-size: 0.875rem;
  padding: 10px 14px;
}

/* About Section */
.tres-about {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  padding-block: 48px 64px;
  border-top: 1px solid var(--tres-border);
}

.tres-about h2 {
  font-size: 1.5rem; /* 24px */
  line-height: 1.45;
}

.tres-about__body p {
  margin: 0 0 20px;
}

@media (max-width: 767px) {
  .tres-home-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 32px 40px;
  }
  .tres-tools-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .tres-tool-card {
    padding: 20px;
  }
  .tres-about {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 32px 48px;
  }
}
/* ==========================================================================
   TRES TOOLS Design System (Proposed v2) - Part 2/2
   Product Detail Layout, Sidebar, Features, Notices, Tables, Accordions,
   Dialogs, Mobile Fixed CTA Bar, Footer, Reduced Motion
   ========================================================================== */

.tres-breadcrumb {
  width: min(var(--tres-max-width), calc(100% - (var(--tres-gutter) * 2)));
  margin: 16px auto 0;
}

.tres-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--tres-muted);
}

.tres-breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--tres-muted);
}

.tres-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tres-touch-min);
  padding-inline: 4px;
  color: var(--tres-muted);
  text-decoration: none;
}

.tres-breadcrumb a:hover {
  color: var(--tres-ink);
  text-decoration: underline;
}

.tres-product-layout {
  display: grid;
  grid-template-columns: var(--tres-sidebar-width) minmax(0, var(--tres-article-max));
  gap: 48px;
  align-items: start;
  width: min(var(--tres-max-width), calc(100% - (var(--tres-gutter) * 2)));
  margin: 24px auto 64px;
}

.tres-product-main {
  min-width: 0;
}

/* Sticky Left Sidebar (PC) */
.tres-sidebar {
  position: sticky;
  top: calc(var(--tres-header-height) + 24px);
  max-height: calc(100dvh - var(--tres-header-height) - 48px);
  overflow-y: auto;
  padding-right: 8px;
}

.tres-sidebar__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--tres-border);
}

.tres-sidebar__title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tres-sidebar__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 10px;
}

.tres-sidebar__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--tres-ink);
  line-height: 1.35;
}

.tres-sidebar__os {
  font-size: 0.8125rem;
  color: var(--tres-muted);
}

.tres-sidebar__ctas {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.tres-sidebar__note {
  margin: 4px 0 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--tres-muted);
}

.tres-sidebar__sublinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  font-size: 0.8125rem;
}

.tres-sidebar__sublinks a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tres-touch-min);
  padding: 6px 10px;
  border: 1px solid var(--tres-border);
  border-radius: var(--tres-radius-sm);
  text-decoration: none;
}

/* Table of Contents */
.tres-toc__label {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--tres-muted);
}

.tres-toc__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tres-toc__link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--tres-touch-min);
  padding: 10px 12px;
  border-left: 3px solid transparent;
  color: var(--tres-body);
  font-size: 0.875rem;
  text-decoration: none;
}

.tres-toc__link:hover {
  background: var(--tres-surface-sub);
  color: var(--tres-ink);
}

.tres-toc__link.is-active {
  border-left-color: var(--tres-gold);
  background: var(--tres-surface-sub);
  color: var(--tres-ink);
  font-weight: 700;
}

.tres-toc__num {
  font-family: var(--tres-mono-font);
  font-size: 0.8125rem;
  color: var(--tres-muted);
}

/* Product Hero Block (inside Main Column) */
.tres-product-hero {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--tres-border);
}

.tres-product-hero__platform {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--tres-muted);
}

.tres-product-hero__icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
}

.tres-product-hero__title {
  font-size: 1.75rem; /* 28px */
  line-height: 1.35;
  margin-bottom: 12px;
}

.tres-product-hero__subname {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--tres-muted);
}

.tres-product-hero__headline {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tres-ink);
  line-height: 1.5;
}

.tres-product-hero__subtitle {
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--tres-body);
}

.tres-product-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

/* Inline Action Box (visible on SP where sidebar CTA is hidden) */
.tres-inline-actions {
  display: none;
}

@media (max-width: 767px) {
  .tres-inline-actions {
    display: grid;
    gap: 12px;
    padding: 20px;
    margin-top: 20px;
    background: var(--tres-surface-sub);
    border: 1px solid var(--tres-border);
    border-radius: var(--tres-radius-lg);
  }
}

/* Sections */
.tres-section {
  padding-block: 40px;
  border-bottom: 1px solid var(--tres-border);
  scroll-margin-top: calc(var(--tres-header-height) + 24px);
}

.tres-section:last-child {
  border-bottom: 0;
}

.tres-section__title {
  font-size: 1.375rem; /* 22px */
  line-height: 1.4;
  margin-bottom: 20px;
}

.tres-section__h3 {
  font-size: 1.125rem; /* 18px */
  line-height: 1.5;
  margin: 28px 0 12px;
}

.tres-section p {
  margin: 0 0 16px;
}

.tres-section ul,
.tres-section ol:not(.tres-features-list):not(.tres-steps) {
  margin: 0 0 16px;
  padding-left: 1.5em;
}

.tres-section li + li {
  margin-top: 6px;
}

/* Screen Grid for multi-screenshot blocks */
.tres-screen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
  margin: 20px 0;
}

/* Features: White Background + Gold Sequential Numbers */
.tres-features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: tres-feature-num;
}

.tres-feature-item {
  position: relative;
  counter-increment: tres-feature-num;
  padding: 24px 0 24px 56px;
  background: var(--tres-surface);
  border-bottom: 1px solid var(--tres-border);
}

.tres-feature-item:last-child {
  border-bottom: 0;
}

.tres-feature-item::before {
  content: counter(tres-feature-num, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 22px;
  color: var(--tres-gold);
  font-size: 1.625rem; /* 26px */
  font-weight: 700;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}

.tres-feature-item__title {
  font-size: 1.125rem;
  line-height: 1.45;
  margin-bottom: 8px;
}

.tres-feature-item__desc {
  margin: 0;
  color: var(--tres-body);
}

/* Notices / License / Constraints: Gray Background + 4px Left Accent Border */
.tres-notice-box {
  margin: 20px 0;
  padding: 20px 24px;
  background: var(--tres-surface-sub);
  border-left: 4px solid var(--tres-muted);
  color: var(--tres-body);
}

.tres-notice-box > :first-child {
  margin-top: 0;
}

.tres-notice-box > :last-child {
  margin-bottom: 0;
}

/* Steps */
.tres-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.tres-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--tres-surface-sub);
  border: 1px solid var(--tres-border);
  border-radius: var(--tres-radius-lg);
}

.tres-step__num {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--tres-gold);
  color: var(--tres-ink);
  font-size: 0.875rem;
  font-weight: 700;
}

.tres-step__body {
  min-width: 0;
  flex: 1;
}

.tres-step__title {
  font-size: 1rem;
  margin-bottom: 6px;
}

.tres-step__desc {
  margin: 0;
}

/* Tables: 2-Column Stacked on SP vs Multi-Column / Merged Scrollable Region */
.tres-table-scroll {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--tres-border);
  border-radius: var(--tres-radius-md);
}

.tres-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.65;
  text-align: left;
}

.tres-table caption {
  padding: 12px 16px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--tres-muted);
  text-align: left;
  background: var(--tres-surface-sub);
  border-bottom: 1px solid var(--tres-border);
}

.tres-table th,
.tres-table td {
  padding: 14px 16px;
  vertical-align: top;
  border-bottom: 1px solid var(--tres-border);
}

.tres-table thead th {
  background: var(--tres-surface-sub);
  color: var(--tres-ink);
  font-weight: 700;
}

.tres-table tbody th,
.tres-table--kv tbody td:first-child {
  background: var(--tres-surface-sub);
  color: var(--tres-ink);
  font-weight: 600;
  width: 32%;
}

.tres-table tbody tr:last-child th,
.tres-table tbody tr:last-child td {
  border-bottom: 0;
}

/* Only pure 2-column key-value tables without merged cells stack into vertical pairs on SP */
@media (max-width: 767px) {
  .tres-table--kv,
  .tres-table--kv thead,
  .tres-table--kv tbody,
  .tres-table--kv tr,
  .tres-table--kv th,
  .tres-table--kv td {
    display: block;
    width: 100%;
  }

  .tres-table--kv thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .tres-table--kv tr {
    border-bottom: 1px solid var(--tres-border);
  }

  .tres-table--kv tbody th,
  .tres-table--kv tbody td:first-child {
    width: 100%;
    padding-bottom: 6px;
    border-bottom: 0;
    font-size: 0.875rem;
    color: var(--tres-muted);
  }

  .tres-table--kv tbody td:last-child {
    padding-top: 6px;
  }

  /* Multi-column (3+) or merged-cell tables preserve exact grid structure */
  .tres-table--matrix {
    min-width: 480px;
  }
}

/* Accordions (FAQ & Release Notes) */
.tres-accordion {
  margin: 12px 0;
  border: 1px solid var(--tres-border);
  border-radius: var(--tres-radius-md);
  background: var(--tres-surface);
}

.tres-accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--tres-touch-min);
  padding: 12px 16px;
  color: var(--tres-ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}

.tres-accordion__summary::-webkit-details-marker {
  display: none;
}

.tres-accordion__summary::after {
  content: "＋";
  flex-shrink: 0;
  font-size: 1.125rem;
  color: var(--tres-muted);
}

.tres-accordion[open] > .tres-accordion__summary::after {
  content: "−";
}

.tres-accordion__body {
  padding: 0 16px 16px;
  color: var(--tres-body);
}

.tres-accordion__body > :first-child {
  margin-top: 0;
}

.tres-accordion__body > :last-child {
  margin-bottom: 0;
}

/* Release Notes Card */
.tres-release-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.tres-release-badge {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--tres-gold);
  color: var(--tres-ink);
  font-size: 0.8125rem;
  font-weight: 700;
}

.tres-release-date {
  display: block;
  margin: 6px 0 12px;
  font-size: 0.875rem;
  color: var(--tres-muted);
}

.tres-release-cat {
  margin: 16px 0 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--tres-ink);
}

/* Screenshot Zoom Trigger & Lightbox Dialog */
.tres-zoom-btn {
  display: block;
  width: 100%;
  min-height: var(--tres-touch-min);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
}

.tres-zoom-hint {
  display: block;
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--tres-muted);
}

.tres-dialog {
  position: fixed;
  inset: 0;
  z-index: 1000;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 72px 16px 24px;
  border: 0;
  background: transparent;
}

.tres-dialog[open] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tres-dialog::backdrop {
  background: rgba(17, 17, 20, 0.88);
}

.tres-dialog__close {
  position: fixed;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--tres-touch-min);
  min-height: var(--tres-touch-min);
  padding: 10px 16px;
  border: 1px solid var(--tres-border);
  border-radius: var(--tres-radius-md);
  background: var(--tres-surface);
  color: var(--tres-ink);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
}

.tres-dialog__img {
  max-width: 100%;
  max-height: calc(100dvh - 120px);
  width: auto;
  height: auto;
}

/* Privacy Policy Modal (Top Page) */
.tres-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(17, 17, 20, 0.65);
}

.tres-modal-overlay[hidden] {
  display: none;
}

.tres-modal {
  display: flex;
  flex-direction: column;
  width: min(640px, 100%);
  max-height: 85dvh;
  background: var(--tres-surface);
  border: 1px solid var(--tres-border);
  border-radius: var(--tres-radius-lg);
  overflow: hidden;
}

.tres-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--tres-border);
}

.tres-modal__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--tres-ink);
}

.tres-modal__close {
  display: inline-grid;
  place-items: center;
  min-width: var(--tres-touch-min);
  min-height: var(--tres-touch-min);
  border: 1px solid var(--tres-border-strong);
  border-radius: var(--tres-radius-md);
  background: var(--tres-surface);
  color: var(--tres-ink);
  font-size: 1.125rem;
  cursor: pointer;
}

.tres-modal__body {
  padding: 20px 24px;
  overflow-y: auto;
}

.tres-modal__body h2 {
  font-size: 1rem;
  margin: 20px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--tres-border);
}

.tres-modal__body h2:first-child {
  margin-top: 0;
}

/* Mobile Bottom Fixed Action Bar */
.tres-mobile-bar {
  display: none;
}

@media (max-width: 1000px) and (min-width: 768px) {
  .tres-product-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .tres-product-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-block: 16px 40px;
  }

  .tres-sidebar {
    position: static;
    max-height: none;
    padding-right: 0;
  }

  .tres-sidebar__head,
  .tres-sidebar__ctas {
    display: none;
  }

  .tres-toc__list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .tres-toc__link {
    border-left: 0;
    border: 1px solid var(--tres-border);
    border-radius: var(--tres-radius-md);
    background: var(--tres-surface-sub);
    padding: 8px 12px;
  }

  .tres-product-hero__title {
    font-size: 1.375rem; /* 22px */
  }

  .tres-section__title {
    font-size: 1.1875rem; /* 19px */
  }

  .tres-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 210;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--tres-surface);
    border-top: 1px solid var(--tres-border);
  }

  .tres-mobile-bar__name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--tres-ink);
    max-width: 42%;
    overflow-wrap: anywhere;
  }

  .tres-mobile-bar__cta {
    flex: 1;
    max-width: 60%;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.tres-footer {
  border-top: 1px solid var(--tres-border);
  padding-block: 32px 48px;
}

.tres-footer__inner {
  width: min(var(--tres-max-width), calc(100% - (var(--tres-gutter) * 2)));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 0.875rem;
  color: var(--tres-muted);
}

.tres-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.tres-footer__links a,
.tres-footer__links button {
  display: inline-flex;
  align-items: center;
  min-height: var(--tres-touch-min);
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--tres-ink);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.tres-footer__disclaimer {
  width: min(var(--tres-max-width), calc(100% - (var(--tres-gutter) * 2)));
  margin: 16px auto 0;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--tres-muted);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
/* Original-content adapters: preserve source markup, replace its presentation. */
.review-site {font-family:var(--tres-font);font-size:16px;line-height:1.8}
.review-site a,.review-site button,.review-site summary{touch-action:manipulation}
.review-site button{font:inherit;color:inherit}
.review-site svg{flex-shrink:0}
.tres-header__nav a{display:inline-flex;align-items:center;min-height:48px;padding:8px 12px;text-decoration:none;font-size:14px;gap:8px}
.tres-header__nav svg{width:18px;height:18px}
.tres-header__back,.tres-header__language{font-size:14px}
.tres-header__mark{color:var(--tres-gold);background:none;font-size:32px}
.sidebar-product{padding-bottom:20px;border-bottom:1px solid var(--tres-border);margin-bottom:20px}
.sidebar-product strong{display:block;font-size:20px;margin-top:12px;overflow-wrap:anywhere}
.sidebar-product .hero-platform{font-size:13px}
.sidebar-product img{width:48px;height:48px}
.sidebar-actions{display:grid;gap:10px;margin-bottom:24px}
.sidebar-actions a{font-size:14px;padding:12px}
.toc-bar,.toc-bar-inner{position:static;display:block;background:none;border:0;overflow:visible}
.toc-arrow{display:none}
.toc-btn{display:flex;align-items:center;gap:10px;min-height:48px;padding:10px 12px;text-decoration:none;font-size:14px;color:var(--tres-muted);border-left:2px solid transparent;width:100%;text-align:left;border-top:0;border-right:0;border-bottom:0;background:none;cursor:pointer}
.toc-btn-num{font-size:12px;color:var(--tres-muted)}
.toc-btn.active{border-left-color:var(--tres-gold);background:var(--tres-surface-sub);color:var(--tres-ink)}
.tres-product-main{width:100%;overflow-wrap:anywhere}
.tres-product-main .hero{padding:8px 0 36px;border-bottom:1px solid var(--tres-border);margin:0}
.hero-platform{display:flex;gap:16px;align-items:center;font-size:14px;margin-bottom:16px;color:var(--tres-muted)}
.tres-product-icon{width:64px;height:64px;object-fit:contain}
.hero-title{font-size:clamp(28px,3vw,42px);line-height:1.35;letter-spacing:-.03em}
.hero-sub-name{display:block;font-size:18px;font-weight:500;letter-spacing:0;margin-top:8px;color:var(--tres-muted)}
.simple-headline{font-size:28px;line-height:1.4;font-weight:700;color:var(--tres-ink)}
.hero-subtitle{font-size:17px;margin:20px 0;line-height:1.85}
.hero-tags{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}
.hero-tag,.download-badge,.preset-tag,.mode-badge,.b-ok,.b-no,.b-warn{display:inline-flex;padding:4px 10px;border:1px solid var(--tres-border);border-radius:6px;font-size:13px;color:var(--tres-muted)}
.product-hero-layout{display:block}
.product-action-card{padding:24px;background:var(--tres-surface-sub);border:1px solid var(--tres-border);border-radius:12px;margin:28px 0 0}
.download-title{font-size:20px;margin:12px 0}
.download-description{font-size:15px;margin:8px 0 16px}
.hero-cta{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.hero-cta>span,.hero-cta>.hero-note{flex-basis:100%;font-size:14px}
.btn-dl,.btn-primary,.btn-secondary,.rd-corporate,.rn-hero-secondary{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 20px;border-radius:8px;background:var(--tres-gold);color:var(--tres-ink);font-size:15px;font-weight:700;text-decoration:none;border:1px solid var(--tres-gold)}
.btn-dl svg{width:18px;height:18px}
.btn-dl-secondary,.btn-secondary{background:var(--tres-surface);border-color:var(--tres-border-strong)}
.section{padding:40px 0;margin:0;border-bottom:1px solid var(--tres-border);width:100%;max-width:none;scroll-margin-top:calc(var(--tres-header-height) + 24px)}
.section-title{font-size:24px;line-height:1.5;margin-bottom:24px}
.section-h3{font-size:19px;margin:28px 0 14px}
.section p{margin:12px 0 18px}
.section ul,.section ol{padding-left:24px}
.section li+li{margin-top:8px}
.feat-grid{display:grid;grid-template-columns:1fr;counter-reset:features;gap:0}
.feat-card{position:relative;padding:24px 0 24px 52px;border-bottom:1px solid var(--tres-border);counter-increment:features;background:white}
.feat-card::before{content:counter(features,decimal-leading-zero);position:absolute;left:0;top:22px;font-size:26px;font-weight:700;color:var(--tres-gold)}
.feat-icon{display:none}
.feat-title{font-size:18px;font-weight:700;color:var(--tres-ink);margin-bottom:8px}
.feat-desc{font-size:16px;line-height:1.8}
.steps{display:grid;gap:20px}
.steps>div,.step,.flow-step,.flow-item{padding:20px;border:1px solid var(--tres-border);border-radius:8px;min-width:0}
.snum,.step-num,.flow-index{display:inline-flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;background:var(--tres-gold);font-weight:700;color:var(--tres-ink);border-radius:50%;margin-bottom:12px}
.stitle,.step-title,.ui-card-title,.pin-name,.mode-title,.fmt-maker{font-size:18px;font-weight:700;color:var(--tres-ink);margin-bottom:8px}
.sdesc,.step-desc,.ui-card p{font-size:16px;line-height:1.8}
.note,.note-box,.alert,.warn,.tip,.info,.safety-card{background:var(--tres-surface-sub);padding:20px 24px;border-left:4px solid var(--tres-muted);margin:20px 0;max-width:100%}
.alert svg,.note svg{width:20px;height:20px}
.ui-grid,.fmt-grid,.pin-grid,.mode-grid,.mode-intro,.price-grid,.pricing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}
.ui-card,.fmt-card,.pin-item,.mode-card,.price-card{padding:20px;border:1px solid var(--tres-border);border-radius:8px;min-width:0}
.mode-label{font-size:13px;color:var(--tres-muted)}
.mode-intro h2{font-size:18px}
.review-table-scroll{overflow-x:auto;max-width:100%;margin:20px 0;border:1px solid var(--tres-border);border-radius:8px}
.review-table-scroll table{border-collapse:collapse;width:100%;font-size:15px;line-height:1.7;text-align:left}
.review-table-scroll th,.review-table-scroll td{padding:14px 16px;border-bottom:1px solid var(--tres-border);vertical-align:top}
.review-table-scroll th{background:var(--tres-surface-sub);font-weight:700}
.review-table-scroll caption{padding:12px 16px;text-align:left}
.review-table-scroll table:not([data-review-kv]){min-width:500px}
.tres-faq-item,.faq-item,.review-history{border:1px solid var(--tres-border);border-radius:8px;padding:0;margin:12px 0}
.faq-item:not(details){padding:20px}
summary{min-height:48px;padding:14px 18px;cursor:pointer;color:var(--tres-ink);font-weight:700}
.faq-a,.tres-faq-answer{padding:0 20px 20px}
.review-history>.tres-update-card{margin:0;border:0}
.tres-update-card{border:1px solid var(--tres-border);padding:24px;margin:16px 0;border-radius:8px}
.cl-head{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:12px}
.cl-ver{font-size:22px}.cl-now{background:var(--tres-gold);color:var(--tres-ink);padding:4px 10px;border-radius:6px;font-size:13px}
.cl-date{font-size:14px;color:var(--tres-muted)}.cl-cat{font-size:16px;font-weight:700;margin:20px 0 8px}
.cl-notes{background:var(--tres-surface-sub);margin-top:16px;padding:0 12px 12px}
.cl-summary{min-height:48px;padding:14px}
.tres-product-main img{max-width:100%;height:auto;object-fit:contain}
.tres-product-main figure{margin:24px 0}.tres-product-main figcaption{font-size:14px;color:var(--tres-muted);margin-top:12px}
.screenshot-link{display:block;cursor:zoom-in}.sc-img-tablet,.sc-img{width:100%;height:auto}
.review-screen-label{font-size:13px;font-weight:700;color:var(--tres-muted)}
.tres-product-main a:not(.btn-dl):not(.screenshot-link){text-underline-offset:4px}
.tres-product-main a:not(.btn-dl):not(.screenshot-link){display:inline-flex;align-items:center;min-height:48px;max-width:100%}
.tres-product-main pre{white-space:pre-wrap;overflow-wrap:anywhere}
.review-site>footer{max-width:1120px;margin:0 auto;padding:32px 24px 48px;border-top:1px solid var(--tres-border);display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;font-size:14px;color:var(--tres-muted)}
.review-site>footer a,.review-site>footer button{display:inline-flex;min-height:48px;align-items:center;padding:8px}
.footer-disclaimer{flex-basis:100%;font-size:13px;line-height:1.8}
/* Home uses original text and media; shared cards replace the former featured/list split. */
.home-page main{width:min(1120px,calc(100% - 48px));margin:auto}
.rd-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:48px;align-items:center;padding:56px 0;border-bottom:1px solid var(--tres-border)}
.rd-hero h1{font-size:clamp(28px,3.2vw,42px);line-height:1.6;letter-spacing:-.03em}
.review-home-lead{font-size:17px;margin:20px 0 28px;line-height:1.9}
.rd-screen{margin:0;padding:20px;background:var(--tres-surface-sub);border:1px solid var(--tres-border);border-radius:12px}
.rd-screen img{width:auto;max-width:100%;height:auto;max-height:400px;margin:auto}.rd-screen figcaption{font-size:15px;margin:0 0 16px;font-weight:700}
.rd-facts{display:flex;flex-wrap:wrap;gap:12px;font-size:13px;color:var(--tres-muted);margin-top:20px}
.rd-hero .mt-7{display:flex;flex-wrap:wrap;gap:12px}
.rd-hero .mt-7 a{min-height:48px;display:inline-flex;align-items:center;padding:12px 18px;border:1px solid var(--tres-border);border-radius:8px;text-decoration:none;font-weight:700;font-size:14px}
.rd-hero .mt-7 a[href="/transferviewer/"]{background:white;border-color:var(--tres-border-strong)}
.rd-hero .mt-7 a[href="#redesign-tools"]{background:var(--tres-gold);border-color:var(--tres-gold)}
#redesign-tools{padding:48px 0}#redesign-tools h2{font-size:26px;margin-bottom:24px}
.tres-tool-card{position:relative;padding:0;gap:0;overflow:hidden}
.review-card-link{padding:24px;display:flex;flex-direction:column;height:100%;gap:16px;text-decoration:none;color:var(--tres-body)}
.review-card-link:hover{background:#fbfaf7}
.tres-tool-heading{display:flex;gap:16px;align-items:center;padding-right:22px}
.tres-card-icon{width:56px;height:56px;flex-shrink:0;object-fit:contain}
.tres-tool-title{min-width:0}.tres-tool-title h3{font-size:22px;line-height:1.4}.tres-tool-platform{font-size:13px;color:var(--tres-muted);display:block;margin-top:6px}
.tres-tool-subtitle{font-weight:700;margin:4px 0 0}.rd-copy,.rd-desc{font-size:16px;line-height:1.8;margin:0}.rd-copy strong{display:block;font-weight:400}
.rd-feature-foot{margin-top:auto;font-size:13px;color:var(--tres-muted)}
.review-card-arrow{position:absolute;right:24px;top:24px;pointer-events:none;font-size:20px}
.review-filter-status{font-size:14px;color:var(--tres-muted);margin-bottom:20px}
.rd-about{padding:48px 0;border-top:1px solid var(--tres-border)}.rd-about h2{font-size:28px;margin-bottom:20px}.rd-about p{max-width:760px;line-height:1.9}
#review-zoom{padding:64px 20px 24px;border:0;background:transparent;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;text-align:center}
#review-zoom::backdrop{background:rgba(0,0,0,.88)}#review-zoom[open]{display:flex;align-items:center;justify-content:center;flex-direction:column}
#review-zoom img{max-height:calc(100dvh - 130px);max-width:100%;object-fit:contain;width:auto;height:auto}
.zoom-close{position:absolute;right:16px;top:12px;background:white;border:0;border-radius:50%;min-width:90px;height:48px;font-size:16px!important}
.zoom-caption{color:white;font-size:14px}
#pp-overlay{display:none}#pp-overlay.is-open{display:flex;position:fixed;inset:0;z-index:400;background:rgba(0,0,0,.65);padding:24px;align-items:center;justify-content:center}
.pp-dialog{background:white;border-radius:12px;padding:24px;max-width:760px;max-height:85dvh;overflow:auto}
.pp-close{min-width:48px;min-height:48px}#pp-overlay h2,#pp-overlay h3{margin:20px 0 12px}#pp-overlay a{min-height:48px;display:inline-flex;align-items:center}
.review-status{position:fixed;bottom:12px;left:12px;z-index:100;background:#111114;color:white;border-radius:6px;padding:6px 12px;font-size:12px;pointer-events:none}
@media(max-width:767px){
 .tres-product-layout{width:calc(100% - 32px);margin-top:24px}.tres-sidebar{width:100%}.sidebar-product,.sidebar-actions{display:none}
 .toc-bar-inner{display:flex;gap:8px;overflow-x:auto;padding-bottom:8px}.toc-btn{width:auto;flex-shrink:0;border:1px solid var(--tres-border);border-radius:6px;white-space:nowrap}.toc-btn-num{display:none}
 .hero-title{font-size:28px}.hero-subtitle{font-size:16px}.section-title{font-size:22px}.section{padding:32px 0}
 .ui-grid,.pin-grid,.fmt-grid,.mode-grid,.mode-intro,.price-grid,.pricing-grid{grid-template-columns:1fr}
 .review-table-scroll table[data-review-kv],.review-table-scroll table[data-review-kv] tbody,.review-table-scroll table[data-review-kv] tr,.review-table-scroll table[data-review-kv] td,.review-table-scroll table[data-review-kv] th{display:block;width:100%}
 .review-table-scroll table[data-review-kv] thead{display:none}.review-table-scroll table[data-review-kv] tr> :first-child{background:var(--tres-surface-sub);font-weight:700}
 .home-page main{width:calc(100% - 32px)}.rd-hero{grid-template-columns:1fr;gap:28px;padding:32px 0}.rd-hero h1{font-size:28px}.rd-screen{padding:16px}
 .tres-tool-title h3{font-size:20px}.review-card-link{padding:20px}.tres-card-icon{width:48px;height:48px}
 .tres-mobile-bar{flex-wrap:wrap}.tres-mobile-bar .tres-btn{flex:1;min-width:160px}.tres-mobile-bar__name{max-width:none;flex:1}
}
@media(max-width:767px){
 .tres-header__inner{width:100%;padding:0 12px;gap:8px;flex-wrap:nowrap;min-height:68px}
 .tres-header__brand{font-size:12px;gap:6px;white-space:nowrap;flex-shrink:0}
 .tres-header__mark{font-size:26px;width:22px}
 .tres-header__nav{gap:2px;flex-wrap:nowrap}
 .tres-header__nav a{padding:8px 4px;font-size:11px;gap:2px;white-space:nowrap}
 .tres-header__nav svg{display:none}
 .tres-mobile-bar .tres-btn{font-size:13px;padding:10px;white-space:nowrap;min-width:184px}
 .tres-mobile-bar__name{font-size:12px}
}
.review-secondary-nav{display:flex;justify-content:flex-end;gap:16px;max-width:1120px;margin:auto;padding:0 16px}
.review-secondary-nav a{display:inline-flex;align-items:center;min-height:48px;font-size:13px}
@media(max-width:767px){.tres-header__nav{margin-left:auto}.tres-header__nav a{font-size:12px}.tres-header__inner{gap:4px}}
.review-image-button{display:block;width:100%;min-height:48px;background:transparent;border:0;padding:0;cursor:zoom-in}.review-image-button img{margin:auto}
.review-secondary-nav{width:100%;box-sizing:border-box;flex-wrap:wrap;min-width:0}
.review-secondary-nav a{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.tres-header{height:68px;min-height:68px;box-sizing:border-box}.tres-header__inner{min-height:0;height:100%}
.review-secondary-nav a{width:auto;flex:0 0 auto;gap:6px;white-space:nowrap;overflow-wrap:normal}
.review-secondary-nav svg{width:18px;height:18px;flex:0 0 18px}
.review-secondary-nav span{white-space:nowrap;flex-shrink:0}
/* TransferViewer reference pages: one shared presentation, original content retained. */
.guide-content{overflow-wrap:anywhere}
.guide-content h1{font-size:clamp(28px,3vw,40px);line-height:1.5;margin:0 0 24px;color:var(--tres-ink)}
.guide-content h2{font-size:24px;line-height:1.6;margin:36px 0 20px;scroll-margin-top:92px}
.guide-content h3{font-size:19px;margin:24px 0 12px;color:var(--tres-ink)}
.guide-content p{margin:12px 0 20px;line-height:1.85}
.guide-content ul,.guide-content ol{padding-left:24px;margin:16px 0}
.guide-content li+li{margin-top:8px}
.guide-content section{padding:24px 0;border-bottom:1px solid var(--tres-border);max-width:100%}
.guide-content .section{padding:32px 0}
.guide-content .page-header{padding:0 0 24px}
.guide-content .sections-wrap,.guide-content .tres-reference-layout,.guide-content .container,.guide-content .privacy-body{width:100%;max-width:none;margin:0;padding:0}
.guide-content .img-row,.guide-content .sc-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}
.guide-content .img-col,.guide-content .sc-wrap{min-width:0;margin:0}
.guide-content .review-image-button img{max-height:560px;object-fit:contain;width:auto;max-width:100%}
.guide-content .caption,.guide-content .sc-caption{font-size:14px;line-height:1.7;color:var(--tres-muted);margin:12px 0 20px}
.guide-content .tres-camera-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:16px}
.guide-content .tres-camera-card{min-width:0;padding:20px;border:1px solid var(--tres-border);border-radius:8px;background:white}
.guide-content .tres-camera-card h3{margin:0 0 12px}
.guide-content .tres-camera-status{display:block;font-size:14px;color:var(--tres-body);font-weight:700;margin-bottom:12px}
.guide-content details{border:1px solid var(--tres-border);border-radius:8px;margin:16px 0}
.guide-content details>p,.guide-content details>ul{margin-left:20px;margin-right:20px}
.guide-content details>summary{min-height:48px;line-height:1.6}
.guide-content .faq-a{padding:0 20px 20px}
.guide-content button:not(.review-image-button),.review-secondary-nav button{min-height:48px;max-width:100%;padding:10px 16px;border:1px solid var(--tres-border-strong);border-radius:8px;background:white;color:var(--tres-ink);font:inherit;cursor:pointer}
.guide-content button[aria-selected=true]{background:var(--tres-gold);font-weight:700}
.guide-content .tres-reference-nav,.guide-content .privacy-toc{display:flex;flex-wrap:wrap;gap:8px 16px;margin:20px 0}
.guide-content .method-block{border:1px solid var(--tres-border);border-radius:8px;margin:24px 0;padding:20px}
.guide-content .method-title,.guide-content .art-title{font-size:19px;font-weight:700;margin:12px 0}
.guide-content .method-badge,.guide-content .badge-once{color:var(--tres-muted);font-size:14px}
.guide-content .art-num{font-size:24px;font-weight:700;color:var(--tres-ink)}
.guide-content .art-body{padding:12px 0 24px;border-bottom:1px solid var(--tres-border)}
.guide-content .lang-bar{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}
.guide-content .doc-section:not(.active){display:none}
.guide-content #lb-overlay{display:none}
.guide-content .skip-link,.guide-content .privacy-skip{position:absolute;left:-10000px}
.guide-content .skip-link:focus,.guide-content .privacy-skip:focus{position:static}
.review-guide .tres-sidebar strong{font-size:20px;line-height:1.6}
.review-guide .tres-mobile-bar{justify-content:center}
.review-guide .tres-mobile-bar .tres-btn{width:100%;max-width:440px}
@media(max-width:767px){
 .guide-content h2{font-size:22px}.guide-content .tres-camera-grid,.guide-content .img-row,.guide-content .sc-row{grid-template-columns:1fr}
 .guide-content .tres-camera-grid{padding:12px}.guide-content .tres-camera-card{padding:16px}
 .review-guide .tres-sidebar{max-width:100%;overflow:hidden}
 .review-guide .toc-bar-inner{width:100%;max-width:100%}
}
.guide-content .tres-camera-grid{list-style:none}
.guide-content .tres-camera-card dt{font-weight:700;font-size:14px;margin-top:12px}
.guide-content .tres-camera-card dd{margin:4px 0 12px;line-height:1.7}
.guide-content .steps{list-style:none;padding-left:0}
.guide-content .page-header .quick-links{display:flex;gap:12px;flex-wrap:wrap}
.guide-content .guide-start{display:flex;gap:8px 20px;flex-wrap:wrap;margin-bottom:20px}
/* License and policy documents share the product/reference typography. */
.guide-content .oss-page{width:100%;max-width:none;margin:0;padding:0}
.guide-content .oss-app{font-size:16px;font-weight:700;color:var(--tres-muted);margin-bottom:12px}
.guide-content .oss-intro,.guide-content .oss-footnote{line-height:1.85;margin:16px 0 24px}
.guide-content .oss-meta{display:flex;flex-wrap:wrap;gap:8px 20px;padding:16px 20px;background:var(--tres-surface-sub)}
.guide-content .oss-detail{padding:4px 20px 20px;min-width:0}
.guide-content .oss-detail pre{font-family:ui-monospace,Consolas,monospace;font-size:14px;line-height:1.75;padding:20px;background:var(--tres-surface-sub);white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;border-radius:6px}
.guide-content .oss-component-version{color:var(--tres-muted);font-size:14px;margin-left:10px}
.guide-content .oss-search{margin:24px 0}
.guide-content input[type=search]{display:block;width:100%;min-height:48px;padding:12px 16px;border:1px solid var(--tres-border-strong);border-radius:8px;background:white;font:inherit;color:var(--tres-ink);margin:8px 0}
.guide-content #oss-search-result{font-size:14px;color:var(--tres-muted)}
@media(max-width:767px){.guide-content .oss-detail{padding:4px 12px 16px}.guide-content .oss-detail pre{padding:12px}}

/* Five-direction exposure diagram: stable 3 by 3 grid at every viewport. */
.review-site .exposure-diagram{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;max-width:400px;margin:28px auto;padding:12px;box-sizing:border-box}
.review-site .exposure-diagram .exp-cell{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:80px;padding:10px 4px;border:1px solid var(--tres-border);border-radius:8px;background:var(--tres-surface-sub)}
.review-site .exposure-diagram .exp-cell:empty{visibility:hidden}
.review-site .exposure-diagram .exp-center{border:2px solid #C9A333;background:#faf7eb}
.review-site .exposure-diagram .exp-f{font-size:24px;font-weight:700;line-height:1.2;color:var(--tres-ink);white-space:nowrap}
.review-site .exposure-diagram .exp-dir{font-size:14px;line-height:1.4;color:var(--tres-ink)}

/* Pricing plan names are distinct from Japanese price and feature copy. */
.review-site .price-card .price-plan{font-family:Arial,Helvetica,sans-serif;font-size:22px;font-weight:800;line-height:1.3;letter-spacing:.08em;color:var(--tres-ink);margin-bottom:16px}

/* APP_PREVIEW_CONTRAST_V6 */
.preview-area .preview-toolbar h2, .preview-area .empty-state h2 { color: #f4f4f5; }
