:root {
  --primary: #111418;
  --primary-soft: #1a2027;
  --brand-navy: #212d7a;
  --brand-blue: #3db5e6;
  --brand-green: #0bab31;
  --brand-green-dark: #078326;
  --brand-green-soft: #eaf9ef;
  --brand-green-border: #9bd9aa;
  --secondary: #3db5e6;
  --tertiary: #ffdd77;
  --neutral: #f5fbfd;
  --surface: #ffffff;
  --surface-soft: #eef6f8;
  --text: #222222;
  --muted: #444444;
  --border: #d9e5e8;
  --warning: #ffdd77;
  --error: #ffb4c8;
  --success: #dff7e7;
  --shadow: 0 18px 60px rgba(17, 20, 24, 0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--neutral);
  color: var(--text);
  font-family: "Yu Gothic UI", "Meiryo", "Segoe UI", sans-serif;
  font-size: clamp(18px, 0.95vw, 21px);
  line-height: 1.65;
  letter-spacing: 0;
}

body::selection {
  background: rgba(61, 181, 230, 0.28);
}

a {
  color: inherit;
}

code {
  max-width: 100%;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.92em;
  line-height: 1.32;
  color: var(--text);
  background: #f4f6f7;
  border: 1px solid #ccd6da;
  border-radius: var(--radius-sm);
  padding: 0.06rem 0.18rem;
  overflow-x: auto;
  overflow-wrap: normal;
  word-break: normal;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.notranslate {
  color: #075fc7 !important;
  font-weight: 800 !important;
}

p code,
td code,
h3 code,
.info-strip code,
.warning-line code,
.instruction-node code {
  display: inline-block;
  vertical-align: middle;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 100;
  background: var(--primary);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 12px;
}

.site-header {
  position: relative;
  top: auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 12px clamp(16px, 4vw, 44px);
  background: rgba(247, 250, 249, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  flex: 0 0 auto;
}

.brand h1,
.hero h2,
.manual-section h2,
.step-card h3,
.workflow-list h3,
.trouble-list h3 {
  margin: 0;
  line-height: 1.25;
  letter-spacing: 0;
}

.brand h1 {
  font-size: clamp(1.28rem, 2vw, 1.72rem);
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.language-nav {
  position: relative;
  flex: 0 0 auto;
  margin-left: auto;
}

.language-switcher {
  position: relative;
}

.language-switcher summary {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  user-select: none;
}

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

.language-switcher summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  color: var(--muted);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.15s ease;
}

.language-switcher[open] summary {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(61, 181, 230, 0.16);
}

.language-switcher[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 6px;
  width: min(420px, calc(100vw - 32px));
  max-height: min(70vh, 520px);
  overflow: auto;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.language-menu a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  background: var(--surface);
  text-align: center;
  text-decoration: none;
  font-size: 1rem;
}

.language-menu .is-current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.manual-shell {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 36px);
  width: min(2400px, 100%);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 48px);
}

.manual-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  align-self: start;
  max-height: calc(100vh - var(--header-height) - 40px);
  overflow: auto;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.section-nav {
  display: grid;
  gap: 4px;
  margin-top: 16px;
}

.section-nav a {
  display: block;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
}

.section-nav a:hover,
.section-nav a.is-active {
  color: var(--primary);
  background: var(--surface-soft);
}

.manual-content {
  min-width: 0;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: stretch;
  min-height: calc(100svh - var(--header-height) - 72px);
  padding: clamp(28px, 5vw, 68px);
  background:
    radial-gradient(ellipse 76% 59% at 4% 4%, rgba(255, 126, 196, 0.12), rgba(255, 176, 214, 0.05) 34%, rgba(255, 176, 214, 0) 72%),
    radial-gradient(ellipse 76% 59% at 96% 96%, rgba(124, 92, 230, 0.12), rgba(158, 132, 240, 0.05) 36%, rgba(158, 132, 240, 0) 74%),
    linear-gradient(112deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.68) 46%, rgba(255, 255, 255, 0.9) 100%),
    conic-gradient(from 215deg at 78% 22%, rgba(61, 181, 230, 0.23), rgba(11, 171, 49, 0.11), rgba(255, 221, 119, 0.24), rgba(255, 145, 181, 0.09), rgba(61, 181, 230, 0.2)),
    linear-gradient(34deg, rgba(13, 96, 201, 0.15) 0%, rgba(13, 96, 201, 0) 44%),
    linear-gradient(148deg, rgba(255, 255, 255, 0) 12%, rgba(11, 171, 49, 0.15) 48%, rgba(255, 255, 255, 0) 76%),
    linear-gradient(222deg, rgba(255, 221, 119, 0.24) 0%, rgba(255, 221, 119, 0) 48%),
    linear-gradient(315deg, rgba(255, 180, 200, 0.11) 4%, rgba(255, 180, 200, 0) 48%),
    linear-gradient(135deg, #ffffff 0%, #f0faff 36%, #f3fbf4 64%, #fff9e8 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h2 {
  max-width: 1560px;
  font-size: clamp(2.4rem, 5.4vw, 5.4rem);
}

.hero p:not(.eyebrow) {
  max-width: 1260px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.35vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button-primary,
.button-secondary,
.image-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
}

.button-secondary,
.image-button {
  background: var(--surface);
  color: var(--primary);
  border: 1px solid var(--border);
}

.manual-section {
  margin-top: 28px;
  padding: clamp(22px, 3.8vw, 44px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.notice-section {
  border-color: rgba(255, 221, 119, 0.9);
  background: linear-gradient(180deg, #fffaf0, #ffffff);
}

.section-heading {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.section-heading h2 {
  font-size: clamp(1.42rem, 3vw, 2.2rem);
}

.manual-section > p {
  max-width: 900px;
  color: var(--muted);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.step-card {
  min-width: 0;
  padding: 18px;
  background: var(--neutral);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.step-card h3 {
  margin-top: 10px;
  font-size: 1.05rem;
}

.step-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.step-card .image-button {
  margin-top: 14px;
}

.timeline {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  counter-reset: steps;
  list-style: none;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  padding: 15px;
  background: var(--neutral);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.timeline li::before {
  counter-increment: steps;
  content: counter(steps);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  grid-row: 1 / span 2;
}

.timeline strong,
.timeline span {
  grid-column: 2;
}

.timeline strong {
  grid-row: 1;
}

.timeline span {
  grid-row: 2;
  color: var(--muted);
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.workflow-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  padding: 16px;
  background: var(--neutral);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.workflow-list p,
.trouble-list p,
.faq-list p {
  margin: 8px 0 0;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: var(--surface);
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.trouble-list {
  display: grid;
  gap: 12px;
}

.trouble-list article {
  padding: 16px;
  border-left: 4px solid var(--secondary);
  background: var(--neutral);
  border-radius: var(--radius-sm);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: var(--neutral);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.faq-list summary {
  cursor: pointer;
  padding: 15px 18px;
  font-weight: 800;
}

.faq-list details[open] {
  background: #fff;
}

.faq-list p {
  padding: 0 18px 18px;
}

.image-dialog {
  width: min(920px, calc(100vw - 32px));
  padding: 14px;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.image-dialog::backdrop {
  background: rgba(17, 20, 24, 0.64);
}

.image-dialog img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.dialog-close {
  position: absolute;
  right: 10px;
  top: 8px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.is-hidden {
  display: none !important;
}

.flow-layout {
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 0;
  align-items: start;
  max-width: 2400px;
  padding-top: 0;
}

.flow-sidebar {
  top: var(--header-height);
  max-height: calc(100vh - var(--header-height));
  min-height: calc(100vh - var(--header-height));
  border-radius: 0;
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
  background: #f3f8fb;
}

.flow-content {
  min-width: 0;
  overflow-x: clip;
  padding: 32px;
}

.sidebar-brand {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
}

.sidebar-brand span {
  display: block;
  color: var(--muted);
  font-size: 1rem;
}

.numbered-nav a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.numbered-nav {
  padding: 14px;
  border: 1px solid #d4e3f2;
  border-radius: var(--radius-md);
  background: #fff;
}

.numbered-nav a > span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  min-width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  color: #fff;
  background: #1f6fda;
  font-size: 1rem;
  font-weight: 900;
}

.sidebar-note {
  margin-top: 40px;
  padding: 14px;
  background: #fffdf0;
  border: 1px solid #d8ca80;
  border-radius: var(--radius-sm);
}

.sidebar-note p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.flow-hero {
  min-height: 560px;
  margin-bottom: 22px;
}

.manual-board {
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
  margin-top: 18px;
  padding: clamp(18px, 3vw, 28px);
  background: linear-gradient(180deg, #fff, #fbfdff);
  border: 1px solid #cbdcf2;
  border-radius: var(--radius-md);
}

.app-overview-board {
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.app-overview-board .compact-title {
  margin-bottom: 18px;
}

.app-overview-board .compact-title h2 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.overview-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 14px;
}

.overview-list article {
  min-width: 0;
  padding: 16px;
  border: 1px solid #b8d3f0;
  border-radius: var(--radius-md);
  background: #ffffff;
}

.overview-list article:nth-child(2),
.overview-list article:nth-child(4) {
  border-color: var(--brand-green-border);
  background: var(--brand-green-soft);
}

.overview-list article:nth-child(3),
.overview-list article:nth-child(5) {
  border-color: #ead79a;
  background: #fffaf0;
}

.overview-list h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.35;
}

.overview-list p,
.overview-list ul {
  margin: 0;
  color: var(--text);
}

.overview-list ul {
  padding-left: 1.25em;
}

.overview-list li + li {
  margin-top: 6px;
}

.board-title {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.board-title.center-title {
  text-align: center;
  justify-content: center;
}

.board-title h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  line-height: 1.15;
}

.board-title p {
  margin: 8px 0 0;
  color: var(--text);
}

.case-label {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 54px;
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
}

.case-label.blue,
.step-badge.blue {
  background: linear-gradient(135deg, #0b6bdc, #245fd4);
}

.case-label.purple,
.step-badge.purple {
  background: linear-gradient(135deg, #6e4bc6, #8d6be2);
}

.case-label.red,
.step-badge.red {
  background: linear-gradient(135deg, #dc3434, #ef5850);
}

.case-label.green,
.step-badge.green {
  background: linear-gradient(135deg, var(--brand-green-dark), var(--brand-green), var(--brand-blue));
}

.case-label.yellow {
  background: linear-gradient(135deg, #f0ac00, #ffc43b);
}

.step-badge.orange {
  background: linear-gradient(135deg, #e77713, #f39a22);
}

.step-badge.teal {
  background: linear-gradient(135deg, #008b91, #0aa3a4);
}

.start-visual-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 22px;
}

.visual-placeholder,
.tip-panel {
  display: grid;
  align-items: center;
  min-height: 180px;
  padding: 22px;
  border: 1px solid #c7d9f0;
  border-radius: var(--radius-md);
  background: #f8fbff;
}

.visual-placeholder img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.tip-panel {
  grid-template-columns: 56px 1fr;
  gap: 14px;
}

.tip-panel h3,
.case-card-grid h3,
.flow-step h3,
.guide-panels h3,
.trouble-choice-row h3,
.faq-open-grid h3 {
  margin: 0;
  line-height: 1.3;
}

.case-card-grid {
  display: grid;
  gap: 16px;
}

.case-card-grid.four {
  grid-template-columns: 1fr;
}

.case-card-grid article {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 260px;
  padding: 30px 18px 18px;
  text-align: center;
  border: 1px solid #c7d9f0;
  border-radius: var(--radius-md);
  background: #fff;
}

.case-card-grid.four article {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px 18px;
  align-items: start;
  min-height: 0;
  padding: 18px;
  text-align: left;
}

.case-card-grid.four article > img {
  grid-column: 1;
  grid-row: 2 / span 3;
  width: 64px;
  height: 64px;
}

.case-card-grid.four h3,
.case-card-grid.four p,
.case-card-grid.four a {
  grid-column: 2;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 1.45rem;
  font-weight: 900;
}

.case-card-grid .step-badge {
  position: absolute;
  left: 14px;
  top: 14px;
}

.case-card-grid.four .step-badge {
  position: static;
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  width: 52px;
  min-width: 52px;
  height: 52px;
}

.case-card-grid.four a {
  justify-self: start;
  margin-top: 6px;
}

.case-card-grid a,
.success-strip a,
.quick-links a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 13px;
  color: #1254b0;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid #c7d9f0;
  border-radius: var(--radius-sm);
  background: #f8fbff;
}

.success-strip,
.danger-strip,
.info-strip,
.warning-line {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
}

.success-strip {
  margin-top: 18px;
  background: var(--brand-green-soft);
  border: 1px solid var(--brand-green-border);
}

.success-strip.inline,
.info-strip,
.warning-line {
  margin: 14px 0 0;
}

.danger-strip {
  margin-top: 18px;
  background: #fff2f2;
  border: 1px solid #f0b4b4;
}

.info-strip {
  background: #f3f7ff;
  border: 1px solid #c7d9f0;
}

.language-code-note {
  display: grid;
  align-items: start;
}

.language-code-note p {
  margin: 0;
}

.language-template-list {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.language-template-entry {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 14px 0 0 16px;
  border-top: 1px solid #c7d9f0;
  border-left: 4px solid #1f6bd6;
}

.language-template-entry:first-child {
  padding-top: 0;
  border-top: 0;
}

.language-template-path code {
  max-width: 100%;
}

.language-template-purpose {
  color: #22303d;
  font-weight: 800;
}

.language-template-empty-note {
  color: #8a3f00;
  font-weight: 800;
}

.language-template-json {
  margin: 2px 0 0;
  padding: 12px 14px;
  color: #f5f8ff;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border-radius: var(--radius-sm);
  background: #101820;
}

.language-template-json code {
  display: block;
  padding: 0;
  color: inherit;
  white-space: inherit;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.standard-language-note {
  margin-top: 14px;
  background: #f8fbff;
}

.note-box.setting-values-note {
  grid-template-columns: 1fr;
  align-content: start;
}

.setting-values-note h4,
.setting-values-note p {
  margin: 0;
}

.setting-values-note p + p {
  margin-top: 10px;
}

.default-language-recommendation {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
  padding: 22px;
  color: var(--text);
  border: 3px solid #1f6bd6;
  border-left-width: 10px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #eef7ff, #ffffff);
  box-shadow: 0 14px 34px rgba(31, 107, 214, 0.12);
}

.default-language-recommendation img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.default-language-recommendation strong {
  display: block;
  margin-bottom: 12px;
  color: #0f3f91;
  font-size: clamp(1.18rem, 2.2vw, 1.58rem);
  line-height: 1.35;
}

.default-language-recommendation p {
  margin: 0;
  color: var(--text);
  font-weight: 650;
  line-height: 1.8;
}

.default-language-recommendation p + p {
  margin-top: 10px;
}

.channel-name-recommendation {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 14px;
  padding: 22px;
  color: var(--text);
  border: 2px solid var(--brand-green);
  border-left-width: 10px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--brand-green-soft), #ffffff);
  box-shadow: 0 12px 28px rgba(11, 171, 49, 0.1);
}

.channel-name-recommendation img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.channel-name-recommendation > div > strong {
  display: block;
  margin-bottom: 12px;
  color: var(--brand-green-dark);
  font-size: clamp(1.08rem, 2vw, 1.42rem);
  line-height: 1.38;
}

.channel-name-recommendation p {
  margin: 0;
  color: var(--text);
  font-weight: 650;
  line-height: 1.75;
}

.channel-name-recommendation p + p {
  margin-top: 8px;
}

.channel-name-choice {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
}

.channel-name-choice h4 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.5;
}

.channel-name-choice ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.4em;
  list-style-position: outside;
}

.channel-name-choice li {
  color: var(--text);
  font-weight: 700;
  line-height: 1.65;
}

.channel-name-choice li::marker {
  font-weight: 900;
  color: inherit;
}

.recommended-choice {
  border: 1px solid var(--brand-green-border);
  background: var(--brand-green-soft);
}

.avoid-choice {
  border: 1px solid #f0b4b4;
  background: #fff6f6;
}

.warning-line {
  background: #fff8ed;
  border: 1px solid #f4c998;
  color: var(--text);
  font-weight: 800;
}

.flow-step {
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #c7d9f0;
  border-radius: var(--radius-md);
  background: #fff;
}

.flow-step.large {
  padding: 22px;
}

.flow-step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.flow-step-head h3 {
  color: var(--text);
  font-size: clamp(1.3rem, 2.6vw, 2rem);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 20px;
  align-items: center;
}

.image-preview-card {
  display: grid;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.image-preview-card img {
  width: 100%;
  height: auto;
  border: 1px solid #c7d9f0;
  border-radius: var(--radius-md);
  background: #fff;
}

.image-preview-card span {
  color: #1254b0;
  font-weight: 800;
}

.side-notes {
  display: grid;
  gap: 16px;
}

.note-box {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
  padding: 18px;
  border-radius: var(--radius-md);
}

.blue-note {
  background: #f4f8ff;
  border: 1px solid #c7d9f0;
}

.green-note {
  background: var(--brand-green-soft);
  border: 1px solid var(--brand-green-border);
}

.rename-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 64px minmax(180px, 0.7fr) minmax(220px, 0.8fr);
  gap: 14px;
  align-items: center;
}

.rename-card,
.folder-dest,
.app-screen,
.file-folder,
.file-items,
.three-flow > div,
.output-grid > div {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid #c7d9f0;
  background: #fff;
}

.rename-card.bad {
  border-color: #f0b4b4;
  background: #fff6f6;
}

.rename-card.good,
.folder-dest {
  border-color: var(--brand-green-border);
  background: var(--brand-green-soft);
}

.folder-dest {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 10px;
  align-items: center;
}

.code-layout,
.deepl-layout,
.file-table,
.output-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.vertical-instruction {
  display: grid;
  gap: 10px;
  margin: 16px 0 20px;
}

.vertical-instruction.compact-flow {
  max-width: 1180px;
}

.instruction-node {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid #c7d9f0;
  border-radius: var(--radius-md);
  background: #ffffff;
}

.instruction-node strong,
.instruction-node p {
  color: var(--text);
}

.instruction-node p {
  margin: 6px 0 0;
}

.instruction-node code,
.path-token {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow-x: auto;
  vertical-align: middle;
}

.bad-node {
  border-color: #f0b4b4;
  background: #fff6f6;
}

.good-node {
  border-color: var(--brand-green-border);
  background: var(--brand-green-soft);
}

.down-arrow {
  justify-self: center;
  transform: rotate(90deg);
}

pre {
  box-sizing: border-box;
  max-width: 100%;
  margin: 0;
  padding: 18px;
  overflow: auto;
  background: #10151c;
  color: #f5fbff;
  border-radius: var(--radius-md);
}

pre code {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}

.success-text {
  color: #088a3a;
  font-weight: 800;
}

.detailed-api-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}

.api-source h4,
.api-register-screen strong {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 1.25rem;
}

.number-list {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding-left: 1.5rem;
}

.number-list li::marker {
  color: #4f37b7;
  font-weight: 900;
}

.copy-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35em;
  height: 1.35em;
  border: 2px solid #d62020;
  color: #222222;
  background: #ffffff;
  font-weight: 900;
  line-height: 1;
}

.api-key-card {
  max-width: 320px;
  padding: 18px;
  border: 1px solid #cfd7e5;
  border-radius: var(--radius-md);
  background: #ffffff;
}

.masked-key {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.api-register-screen {
  display: grid;
  gap: 12px;
}

.api-register-screen p {
  margin: 0;
}

.input-line {
  padding: 10px;
  border: 1px solid #d7d7d7;
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.auto-judge {
  justify-self: start;
  padding: 8px 12px;
  border: 1px solid #f3cf74;
  border-radius: var(--radius-sm);
  background: #fff9e9;
  font-weight: 900;
}

.period-input {
  padding: 12px;
  border: 1px solid #c7d9f0;
  border-radius: var(--radius-sm);
  background: #f6faff;
}

.auth-step-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.auth-step-grid article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px 18px;
  align-items: start;
  align-content: start;
  padding: 18px;
  border: 1px solid #c7d9f0;
  border-radius: var(--radius-md);
  background: #ffffff;
}

.auth-step-grid article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-row: 1 / span 2;
  width: 50px;
  height: 50px;
  color: #ffffff;
  background: #1254b0;
  border-radius: 50%;
  font-weight: 900;
}

.auth-step-grid h4 {
  margin: 0;
  line-height: 1.45;
}

.auth-caution-note {
  display: grid;
  grid-column: 2;
  gap: 8px;
  width: 100%;
  max-width: 1120px;
  padding: 12px 14px;
  color: var(--text);
  border: 1px solid #f0c36a;
  border-radius: var(--radius-sm);
  background: #fffaf0;
}

.auth-caution-note p {
  margin: 0;
  line-height: 1.65;
}

.google-card {
  display: grid;
  grid-column: 2;
  gap: 8px;
  width: 100%;
  max-width: 1120px;
  padding: 12px;
  border: 1px solid #e0e5ee;
  border-radius: var(--radius-sm);
  background: #fbfcff;
}

.google-card p,
.google-card small {
  margin: 0;
}

.mini-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.mini-steps.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-steps.vertical-steps {
  grid-template-columns: 1fr;
  max-width: 1120px;
}

.mini-steps.vertical-steps div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  text-align: left;
}

.mini-steps.vertical-steps div > span:first-child {
  margin-bottom: 0;
}

.translation-choice-steps {
  max-width: 1280px;
  gap: 16px;
}

.mini-steps.translation-choice-steps div {
  padding: 18px;
  border-color: #f0b45c;
  background: #fff8ed;
}

.translation-choice-steps p {
  margin: 0;
  font-size: clamp(1.08rem, 1.45vw, 1.25rem);
  line-height: 1.75;
}

.translation-choice-steps code.choice-token,
.translation-choice-steps div:first-child p code:nth-of-type(4),
.translation-choice-steps div:first-child p code:nth-of-type(5),
.translation-choice-steps div:nth-child(2) p code:nth-of-type(2),
.translation-choice-steps div:nth-child(2) p code:nth-of-type(3) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.55em;
  margin: 0 0.06em;
  padding: 0.08em 0.26em;
  color: #0f4fb3;
  background: #eaf2ff;
  border: 2px solid #9fc2ee;
  border-radius: 6px;
  font-size: 1.45em;
  font-weight: 900;
  line-height: 1;
  vertical-align: middle;
  box-shadow: none;
}

.mini-steps div,
.diagnosis-flow div {
  padding: 14px;
  text-align: center;
  border: 1px solid #c7d9f0;
  border-radius: var(--radius-md);
  background: #fff;
}

.mini-steps div > span:first-child,
.diagnosis-flow strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
  color: #fff;
  background: #1254b0;
  border-radius: 50%;
}

.security-box {
  margin-top: 28px;
  padding: clamp(22px, 3vw, 36px);
  border: 4px solid #d82323;
  border-left-width: 12px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #fff1f1 0%, #fff7e6 100%);
  color: var(--text);
  box-shadow: 0 18px 42px rgba(216, 35, 35, 0.16);
}

.security-box-head {
  display: grid;
  grid-template-columns: clamp(68px, 8vw, 96px) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 26px);
  align-items: center;
}

.security-box-head img {
  width: 100%;
  height: auto;
}

.security-box h3 {
  margin: 0 0 8px;
  color: #a60000;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.15;
}

.security-box p {
  margin: 0;
  font-size: clamp(1.02rem, 1.65vw, 1.22rem);
  font-weight: 800;
}

.security-inner-box {
  margin-top: 22px;
  padding: 18px 20px;
  border: 2px solid #d82323;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.82);
}

.security-file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.security-file-list code,
.security-token {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  min-height: 32px;
  padding: 0.08rem 0.45rem;
  border-color: #f0a0a0;
  border: 1px solid #f0a0a0;
  border-radius: var(--radius-sm);
  background: #fff;
  color: #7c100c;
  font-weight: 900;
  overflow-x: auto;
  white-space: nowrap;
}

.security-file-list code {
  font-size: 0.95em;
}

.security-box .paid-api-warning,
.security-box .folder-share-warning {
  margin-top: 18px;
  padding: 18px 20px;
  border: 2px solid #d82323;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  font-size: clamp(1.04rem, 1.7vw, 1.24rem);
  font-weight: 900;
}

.simple-flow {
  display: grid;
  min-width: 0;
  gap: 18px;
}

.simple-flow > article {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 22px 22px 22px 72px;
  border: 1px solid #c7d9f0;
  border-radius: var(--radius-md);
  background: #fff;
}

.simple-flow img,
.folder-flow img,
.task-guide-list img {
  max-width: 100%;
  height: auto;
}

.simple-flow > article > .step-badge {
  position: absolute;
  left: 18px;
  top: 18px;
}

.simple-flow h3 {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 2.6vw, 2rem);
}

.file-table {
  grid-template-columns: minmax(220px, 0.8fr) 1.4fr;
}

.file-folder {
  display: grid;
  place-items: center;
  text-align: center;
}

.file-folder strong {
  color: var(--text);
  font-size: 1.45rem;
}

.file-folder span {
  color: var(--muted);
}

.file-items {
  display: grid;
  gap: 10px;
}

.file-items p {
  display: grid;
  grid-template-columns: 42px minmax(0, max-content) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin: 0;
}

.file-items span {
  color: var(--muted);
}

.subtitle-default-tag {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-top: 18px;
  padding: 16px;
  color: var(--text);
  border: 1px solid var(--brand-green-border);
  border-left: 6px solid var(--brand-green);
  border-radius: var(--radius-md);
  background: var(--brand-green-soft);
}

.subtitle-default-tag > img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.subtitle-default-tag strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-green-dark);
  font-size: 1.08rem;
}

.subtitle-default-tag p {
  margin: 0;
}

.subtitle-default-tag .settings-path {
  display: grid;
  gap: 4px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.subtitle-default-tag .settings-path li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.subtitle-default-tag .settings-path li:not(:last-child)::after {
  content: ">";
  color: var(--muted);
  font-weight: 800;
}

.subtitle-default-tag .tag-settings-screenshot {
  display: block;
  width: min(100%, 720px);
  height: auto;
  margin-top: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.subtitle-default-tag .tag-settings-preview {
  width: min(100%, 720px);
  margin-top: 14px;
}

.subtitle-default-tag .tag-settings-preview .tag-settings-screenshot {
  width: 100%;
  margin-top: 0;
}

.subtitle-default-tag ol:not(.settings-path) {
  margin: 10px 0 0;
  padding-left: 1.35rem;
}

.subtitle-default-tag ol:not(.settings-path) li + li {
  margin-top: 4px;
}

.three-flow {
  display: grid;
  grid-template-columns: 1fr 48px 1fr 48px 1fr;
  gap: 14px;
  align-items: center;
}

.three-flow.vertical-flow,
.diagnosis-flow.vertical-flow,
.output-grid.vertical-output {
  grid-template-columns: 1fr;
  max-width: 1180px;
}

.three-flow.vertical-flow > img,
.diagnosis-flow.vertical-flow > img {
  justify-self: center;
  transform: rotate(90deg);
}

.three-flow.vertical-flow > div,
.output-grid.vertical-output > div {
  text-align: left;
}

.three-flow > div {
  display: grid;
  gap: 6px;
  text-align: center;
}

.three-flow span,
.output-grid span {
  color: var(--muted);
}

.protected-example {
  padding: 18px;
  text-align: center;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  border: 1px solid #c7d9f0;
  border-radius: var(--radius-md);
  background: #fbf8ff;
}

.protected-example span {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow-x: auto;
  color: #0d63c9;
  font-weight: 900;
}

.output-grid > div {
  display: grid;
  gap: 8px;
}

.upload-line {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  max-width: 1180px;
}

.upload-line > img:nth-of-type(2) {
  justify-self: center;
  transform: rotate(90deg);
}

.topic-tabs,
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.folder-flow,
.task-guide-list {
  display: grid;
  gap: 14px;
}

.folder-flow {
  margin: 18px 0;
}

.folder-flow article,
.task-guide-list article {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--brand-green-border);
  border-radius: var(--radius-md);
  background: var(--brand-green-soft);
}

.folder-flow article strong,
.task-guide-list article h3 {
  display: block;
  margin: 0 0 6px;
  color: var(--text);
  font-size: 1.2rem;
}

.folder-flow article p,
.task-guide-list article p {
  margin: 8px 0 0;
}

.task-guide-list ul {
  margin: 8px 0 0;
  padding-left: 1.2em;
}

.task-guide-list li {
  margin: 5px 0;
  line-height: 1.75;
}

.guide-category {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  color: var(--text);
  font-size: 1.35rem;
}

.guide-category.upload-category {
  color: var(--text);
}

.guide-category.research-category {
  color: var(--text);
}

.task-guide-list article {
  grid-template-columns: 52px 76px minmax(0, 1fr);
}

.task-guide-list article > div {
  min-width: 0;
}

.task-guide-list article > span,
.faq-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: #137238;
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  font-weight: 900;
}

.topic-tabs span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid #c7d9f0;
  border-radius: var(--radius-md);
  background: #fff;
  font-weight: 800;
}

.guide-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.guide-panels.single {
  grid-template-columns: 1fr;
}

.guide-panels article {
  padding: 18px;
  border: 1px solid #c7d9f0;
  border-radius: var(--radius-md);
  background: #fff;
}

.guide-panels table {
  display: grid;
  gap: 14px;
  min-width: 0;
  border-collapse: separate;
  background: transparent;
}

.guide-panels thead {
  display: grid;
}

.guide-panels thead tr {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  grid-template-areas:
    "head-name head-role"
    "head-scene head-role";
  gap: 16px;
  padding: 10px;
  border: 2px solid #8fb7e8;
  border-radius: var(--radius-md);
  background: #f6faff;
}

.guide-panels th {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #9fbfe6;
  border-radius: var(--radius-sm);
  color: #182129;
  background: #dbeafc;
  font-size: 1rem;
  font-weight: 900;
}

.guide-panels th:nth-child(1) {
  grid-area: head-name;
}

.guide-panels th:nth-child(2) {
  grid-area: head-role;
  border-color: #85c293;
  background: #d8efdd;
}

.guide-panels th:nth-child(3) {
  grid-area: head-scene;
  border-color: #dcae3e;
  background: #ffe7ad;
}

.guide-panels tbody {
  display: grid;
  gap: 16px;
}

.guide-panels tbody tr {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  grid-template-areas:
    "name role"
    "scene role";
  gap: 16px;
  padding: 12px;
  border: 2px solid #8fb7e8;
  border-radius: var(--radius-md);
  background: #f6faff;
  box-shadow: 0 1px 0 rgba(31, 93, 157, 0.08);
}

.guide-panels td {
  display: block;
  min-width: 0;
  padding: 12px;
  border: 1px solid #accbed;
  border-bottom: 1px solid #accbed;
  border-radius: var(--radius-sm);
  color: var(--text);
  background: #f0f7ff;
}

.guide-panels td:nth-child(1) {
  grid-area: name;
}

.guide-panels td:nth-child(2) {
  grid-area: role;
  border-left-width: 4px;
  border-color: #91cfa0;
  background: #eef9f0;
}

.guide-panels td:nth-child(3) {
  grid-area: scene;
  border-left-width: 4px;
  border-color: #e2bc62;
  background: #fff5dc;
}

.guide-panels td::before {
  content: none;
  display: none;
}

.guide-panels td code {
  display: inline;
  white-space: normal;
  overflow-wrap: anywhere;
}

.trouble-board {
  border-color: #efcaca;
}

.trouble-choice-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.trouble-choice-row article {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid #efcaca;
  border-radius: var(--radius-md);
  background: #fffafa;
  text-align: left;
}

.trouble-choice-row article img {
  grid-column: 1;
  grid-row: 1 / -1;
}

.trouble-choice-row article > :not(img) {
  grid-column: 2;
  min-width: 0;
}

.diagnosis-flow {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}

.diagnosis-flow span,
.diagnosis-flow small {
  display: block;
}

.trouble-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

.trouble-detail-grid article {
  min-width: 0;
  overflow: hidden;
  padding: 18px;
  border: 1px solid #c7d9f0;
  border-radius: var(--radius-md);
  background: #fff;
}

.trouble-detail-grid article > * {
  min-width: 0;
  max-width: 100%;
}

.trouble-detail-grid p {
  overflow-wrap: break-word;
}

.status {
  display: inline-block;
  min-width: 52px;
  margin-right: 8px;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  color: #fff;
  font-weight: 800;
}

.status.ok {
  background: var(--brand-green);
}

.status.warn {
  background: #d79c00;
}

.status.error {
  background: #d73333;
}

.faq-open-grid {
  display: grid;
  gap: 12px;
}

.faq-open-grid article {
  padding: 18px;
  border: 1px solid #c7d9f0;
  border-radius: var(--radius-md);
  background: #fff;
}

.faq-card {
  display: grid;
  grid-template-columns: 52px 92px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.faq-card img {
  max-width: 76px;
}

.qa-pair {
  display: grid;
  gap: 12px;
}

.qa-pair h3,
.qa-pair p {
  margin: 0;
}

.qa-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.qa-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #fff;
  border-radius: 50%;
  font-weight: 900;
}

.qa-label.q {
  background: #1254b0;
}

.qa-label.a {
  background: var(--brand-green);
}

mark {
  background: rgba(255, 221, 119, 0.75);
  padding: 0 2px;
  border-radius: 2px;
}

@media (max-width: 1040px) {
  .manual-shell {
    grid-template-columns: 1fr;
  }

  .manual-sidebar {
    position: relative;
    top: auto;
    max-height: none;
  }

  .section-nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .section-nav a {
    white-space: nowrap;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .flow-layout {
    display: block;
    padding: 0;
  }

  .flow-sidebar {
    position: relative;
    top: auto;
    min-height: 0;
    max-height: none;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .flow-content {
    padding: 18px;
  }

  .start-visual-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mini-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .diagnosis-flow > img {
    display: none;
  }

  .diagnosis-flow.vertical-flow > img {
    display: block;
  }

  .rename-row,
  .code-layout,
  .deepl-layout,
  .auth-step-grid,
  .file-table,
  .output-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .three-flow,
  .upload-line {
    grid-template-columns: 1fr;
  }

  .three-flow > img,
  .upload-line > img:nth-of-type(2) {
    justify-self: center;
    transform: rotate(90deg);
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    position: relative;
    top: auto;
    align-items: center;
    flex-direction: row;
    gap: 12px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand h1 {
    font-size: 1.28rem;
  }

  .manual-shell {
    padding: 12px;
  }

  .hero,
  .manual-section,
  .manual-sidebar {
    border-radius: var(--radius-sm);
  }

  .hero {
    padding: 24px 18px;
  }

  .hero h2 {
    font-size: clamp(2rem, 12vw, 3.15rem);
  }

  .hero-actions {
    width: 100%;
  }

  .language-nav {
    width: auto;
    margin-left: auto;
  }

  .language-switcher summary {
    min-height: 38px;
    padding: 6px 12px;
  }

  .language-menu {
    position: fixed;
    top: 72px;
    right: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(420px, calc(100vw - 24px));
  }

  .button-primary,
  .button-secondary {
    flex: 1 1 auto;
  }

  .step-grid,
  .workflow-list {
    grid-template-columns: 1fr;
  }

  .workflow-list article {
    grid-template-columns: 48px 1fr;
  }

  .flow-content {
    padding: 12px;
  }

  .manual-board {
    padding: 16px;
  }

  .instruction-node {
    grid-template-columns: 1fr;
  }

  .instruction-node > img {
    justify-self: start;
  }

  .board-title {
    gap: 10px;
  }

  .board-title h2 {
    font-size: clamp(1.55rem, 8vw, 2.2rem);
  }

  .case-label {
    min-width: 54px;
    height: 44px;
    font-size: 1.12rem;
  }

  .case-card-grid.four,
  .start-visual-row,
  .auth-step-grid,
  .folder-flow article,
  .task-guide-list article,
  .faq-card,
  .guide-panels,
  .trouble-choice-row,
  .trouble-detail-grid,
  .mini-steps,
  .mini-steps.compact,
  .diagnosis-flow {
    grid-template-columns: 1fr;
  }

  .case-card-grid article {
    min-height: 0;
  }

  .case-card-grid.four article {
    grid-template-columns: 1fr;
  }

  .case-card-grid.four article > img,
  .case-card-grid.four h3,
  .case-card-grid.four p,
  .case-card-grid.four a,
  .case-card-grid.four .step-badge {
    grid-column: auto;
    grid-row: auto;
  }

  .auth-step-grid article {
    grid-template-columns: 1fr;
  }

  .auth-step-grid article > span {
    grid-row: auto;
  }

  .google-card {
    grid-column: auto;
    max-width: none;
  }

  .auth-caution-note {
    grid-column: auto;
    max-width: none;
  }

  .trouble-choice-row article {
    grid-template-columns: 1fr;
  }

  .trouble-choice-row article img {
    grid-column: auto;
    grid-row: auto;
  }

  .trouble-choice-row article > :not(img) {
    grid-column: auto;
  }

  .flow-step,
  .flow-step.large,
  .simple-flow > article {
    padding: 16px;
  }

  .simple-flow > article {
    padding-top: 70px;
  }

  .rename-row > img {
    justify-self: center;
    transform: rotate(90deg);
  }

  .file-items p {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .file-items p code,
  .file-items p strong {
    grid-column: 2;
  }

  .file-items p code {
    display: inline;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .default-language-recommendation {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .channel-name-recommendation {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .subtitle-default-tag {
    grid-template-columns: 1fr;
  }

  .file-items p span {
    grid-column: 2;
  }

  .topic-tabs span,
  .quick-links a {
    width: 100%;
  }

  .section-nav {
    display: grid;
    overflow: visible;
  }

  .section-nav a {
    white-space: normal;
  }

  .folder-flow article,
  .task-guide-list article,
  .faq-card {
    grid-template-columns: 1fr;
  }

  .task-guide-list li code,
  .guide-panels td code {
    display: inline;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .protected-example {
    text-align: left;
    font-size: 1rem;
  }

  .table-wrap {
    overflow: visible;
    border: 0;
  }

  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  thead {
    display: none;
  }

  tr {
    margin-bottom: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--neutral);
    overflow: hidden;
  }

  td {
    display: grid;
    grid-template-columns: 9.5em 1fr;
    gap: 10px;
    border-bottom: 1px solid var(--border);
  }

  td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 1rem;
    font-weight: 800;
  }

  td:last-child {
    border-bottom: 0;
  }

  .guide-panels table,
  .guide-panels thead,
  .guide-panels tbody {
    display: grid;
    width: 100%;
    gap: 16px;
  }

  .guide-panels thead tr {
    display: grid;
    grid-template-columns: minmax(136px, 0.43fr) minmax(0, 1fr);
    grid-template-areas:
      "head-name head-role"
      "head-scene head-role";
    gap: 12px;
    margin-bottom: 0;
    padding: 10px;
    border: 2px solid #8fb7e8;
    border-radius: var(--radius-md);
    background: #f6faff;
    overflow: visible;
  }

  .guide-panels th {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #9fbfe6;
    border-radius: var(--radius-sm);
    color: #182129;
    background: #dbeafc;
    font-size: 1rem;
    font-weight: 900;
  }

  .guide-panels th:nth-child(1) {
    grid-area: head-name;
  }

  .guide-panels th:nth-child(2) {
    grid-area: head-role;
    border-color: #85c293;
    background: #d8efdd;
  }

  .guide-panels th:nth-child(3) {
    grid-area: head-scene;
    border-color: #dcae3e;
    background: #ffe7ad;
  }

  .guide-panels tbody tr {
    display: grid;
    grid-template-columns: minmax(136px, 0.43fr) minmax(0, 1fr);
    grid-template-areas:
      "name role"
      "scene role";
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px;
    border: 2px solid #8fb7e8;
    border-radius: var(--radius-md);
    background: #f6faff;
    box-shadow: 0 1px 0 rgba(31, 93, 157, 0.08);
    overflow: visible;
  }

  .guide-panels td {
    display: block;
    width: auto;
    padding: 12px;
    border: 1px solid #accbed;
    border-bottom: 1px solid #accbed;
    border-radius: var(--radius-sm);
    background: #f0f7ff;
  }

  .guide-panels td:nth-child(1) {
    grid-area: name;
  }

  .guide-panels td:nth-child(2) {
    grid-area: role;
    border-color: #91cfa0;
    background: #eef9f0;
  }

  .guide-panels td:nth-child(3) {
    grid-area: scene;
    border-color: #e2bc62;
    background: #fff5dc;
  }

  .guide-panels td::before {
    content: none;
    display: none;
  }

  .section-heading {
    align-items: flex-start;
  }

  .timeline li {
    grid-template-columns: 40px 1fr;
  }

  .timeline li::before {
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
