.llm-page .hero-stages,
.llm-page .process-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.llm-page .ax-hero { display: grid; grid-template-columns: 1fr auto; gap: 28px 40px; width: min(1440px, 92%); height: auto; min-height: 0; overflow: visible; padding-top: 8px; }
.llm-page .breadcrumb { position: static; grid-column: 1 / -1; }
.llm-page .ax-heading { position: static; padding-top: 24px; }
.llm-page .ax-intro { position: static; align-self: end; padding-bottom: 4px; }
.llm-page .hero-stages { position: static; grid-column: 1 / -1; }
.llm-visual { grid-column: 1 / -1; min-width: 0; margin: 0; }
.communication-stage { position: relative; width: 100%; aspect-ratio: 3 / 1; }
.llm-visual img, .communication-stage img { display: block; width: 100%; height: auto; }
.communication-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.llm-visual figcaption { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 12px; font-size: 10px; color: var(--ax-muted); line-height: 1.8; }
.diagram-controls { display: flex; gap: 8px; flex-shrink: 0; }
.diagram-controls .icon-button, .diagram-dialog .icon-button { display: inline-flex; border: 1px solid var(--ax-line); }
.diagram-controls .icon-button:hover, .diagram-dialog .icon-button:hover { color: var(--cyan); border-color: var(--cyan); }
.diagram-dialog { width: min(1700px, 96vw); max-width: 96vw; max-height: 94svh; padding: 18px; border: 1px solid #38555c; border-radius: 8px; background: #050809; color: #edf4f4; overflow: auto; }
.diagram-dialog::backdrop { background: rgb(0 0 0 / .88); }
.diagram-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.diagram-dialog h2 { font-size: 18px; font-weight: 500; margin: 0; min-width: 0; }
.diagram-dialog-header .diagram-controls { flex-shrink: 0; }
.diagram-dialog > p { font-size: 11px; color: #a9b9bd; margin: 14px 0 0; }
.diagram-viewport { max-height: 72svh; overflow: auto; overscroll-behavior: contain; }
.diagram-viewport:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.diagram-viewport .communication-stage { width: max(100%, 1100px); }
.sample-disclaimer { display: flex; align-items: center; gap: 8px; font-size: 11px; margin: 24px 0 0; line-height: 1.7; }
.sample-disclaimer svg { width: 15px; flex-shrink: 0; color: var(--cyan); }
.llm-example { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; min-height: 440px; padding-top: 32px; }
.llm-page .example-label { display: flex; align-items: center; gap: 8px; font: 11px Arial, "Noto Sans JP", sans-serif; color: var(--cyan); margin: 0 0 16px; }
.example-label svg { width: 16px; height: 16px; }
.example-answer h3 { font-size: 27px; margin-bottom: 26px; }
.answer-text { border-top: 1px solid var(--ax-line); padding-top: 24px; }
.answer-text p:not(.example-label), .answer-text li { font-size: 14px; line-height: 2; }
.answer-text ul, .answer-text ol { padding-left: 20px; margin: 0; color: var(--ax-muted); }
.answer-text li + li { margin-top: 8px; }
.answer-text strong { color: var(--text); font-weight: 500; margin-right: 12px; }
.answer-text .answer-caution { border-left: 2px solid #bfaa74; padding-left: 14px; font-size: 12px !important; color: #c4c4b3; margin-top: 20px; }
.example-sources h4 { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; margin: 0 0 24px; }
.example-sources h4 svg { color: var(--cyan); width: 18px; }
.example-sources details { border-block: 1px solid var(--ax-line); }
.example-sources summary { display: flex; align-items: center; gap: 14px; padding: 22px 0; font-size: 14px; }
.example-sources summary > svg { width: 18px; flex-shrink: 0; }
.example-sources summary > svg:first-child { color: var(--cyan); }
.example-sources small { display: block; color: var(--ax-muted); font-size: 10px; margin-top: 8px; }
.example-sources details > p { font-size: 13px; line-height: 2; margin: 0 0 22px; }
.example-purpose { padding-top: 30px; }
.example-purpose p:not(.example-label) { font-size: 13px; line-height: 2; }
.llm-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; list-style: none; padding: 0; margin: 42px 0; }
.llm-flow li { border-top: 1px solid var(--ax-line); padding-top: 26px; }
.llm-flow li > svg { width: 30px; height: 30px; color: var(--cyan); margin-bottom: 26px; }
.llm-flow li > span { display: block; font: 10px Arial, sans-serif; color: var(--ax-muted); margin-bottom: 14px; }
.llm-flow h3 { font-size: 19px; }
.llm-flow p { font-size: 13px; line-height: 2; }
.boundary-note { display: flex; gap: 22px; border-block: 1px solid var(--ax-line); padding: 28px 0; }
.boundary-note > svg { width: 24px; height: 24px; color: var(--cyan); flex-shrink: 0; }
.boundary-note h3 { font-size: 16px; }
.boundary-note p { font-size: 13px; line-height: 2; margin: 0; max-width: 900px; }
.llm-plan { border-top: 1px solid var(--ax-line); }
.llm-plan .text-link { font-size: 13px; }
.llm-plan-list article { display: grid; grid-template-columns: 32px 1fr 1.3fr; gap: 16px 28px; padding: 28px 0; border-top: 1px solid var(--ax-line); }
.llm-plan-list article > span { color: var(--cyan); font: 11px Arial, sans-serif; padding-top: 8px; }
.llm-plan-list h3 { font-size: 19px; margin: 0; }
.llm-plan-list p { font-size: 13px; line-height: 2; margin: 0; }
.llm-plan-list small { grid-column: 3; font-size: 11px; color: #d6e5e5; }
@media (max-width: 1100px) {
  .llm-example { gap: 40px; }
  .llm-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .llm-plan-list article { grid-template-columns: 24px 1fr 1.2fr; gap: 16px 20px; }
}
@media (max-width: 800px) {
  .llm-page .ax-hero { grid-template-columns: 1fr; gap: 24px; }
  .llm-page .ax-intro { padding: 0; }
  .llm-example { grid-template-columns: 1fr; min-height: 720px; gap: 32px; }
  .example-answer h3 br { display: none; }
  .llm-plan-list article { grid-template-columns: 24px 1fr; }
  .llm-plan-list p, .llm-plan-list small { grid-column: 2; }
}
@media (max-width: 700px) {
  .llm-visual figcaption { font-size: 9px; }
  .llm-page .ax-section h2 { font-size: 27px; }
  .llm-page .process-tabs button { font-size: 12px; }
  .llm-page .hero-stages a { font-size: 11px; }
  .llm-example { min-height: 820px; }
  .example-answer h3 { font-size: 23px; }
  .llm-flow { gap: 25px; }
  .llm-flow h3 { font-size: 17px; }
  .boundary-note { gap: 14px; }
  .llm-plan .text-link { margin-top: 20px; }
}
@media (max-width: 380px) {
  .llm-page .hero-stages a { font-size: 10px; }
  .llm-page .process-tabs { gap: 6px; }
  .llm-page .process-tabs button { font-size: 11px; }
  .llm-flow { grid-template-columns: 1fr; }
  .llm-example { min-height: 900px; }
}
