/* A little polish, not a redesign: normal HTML elements, serif type,
       blue links, subtle paper-white background, and a simple two-column layout. */
    body {
      margin: 0;
      background: #fcfbf8;
      color: #272522;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 16px;
      line-height: 1.55;
    }
    a { color: #2054ac; text-underline-offset: 2px; }
    a:visited { color: #624895; }
    a:hover { text-decoration-thickness: 2px; }
    .page { max-width: 1060px; margin: auto; padding: 22px 26px 30px; }
    .top-line { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem; }
    .top-line h1 { font-size: 1.8rem; letter-spacing: -0.025em; margin: 0.3rem 0 0.8rem; }
    .top-line nav { font-size: 0.95rem; }
    hr { border: 0; border-top: 1px solid #c9c5bd; }
    header hr { margin: 0; }
    .intro { max-width: 680px; padding: 1.2rem 0 0.1rem; }
    .intro h2 { font-size: 1.65rem; letter-spacing: -0.015em; margin-bottom: 0.45rem; }
    .intro p { margin: 0.7rem 0; }
    .layout { display: grid; grid-template-columns: minmax(220px, 0.95fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 70px); align-items: start; margin-top: 1.8rem; }
    .index-column, .showcase { min-width: 0; }
    .index-column h3 { margin: 0; font-size: 1.16rem; }
    .index-note { margin: 0.25rem 0 0.5rem; color: #77736a; font-size: 0.9rem; }
    .showcase { background: #fffefa; border: 1px solid #ada9a1; margin: 0; padding: 1rem 1.45rem 1.65rem; min-height: 355px; }
    .showcase legend { padding: 0 0.5rem; color: #676158; font-size: 0.87rem; }
    .showcase h2:first-child { margin-top: 0.5rem; letter-spacing: -0.012em; }
    .showcase h2 { font-size: 1.55rem; }
    .showcase h3 { font-size: 1.15rem; }
    .showcase p, .showcase li { max-width: 66ch; }
    .index-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
    .index-controls button {
      min-width: 38px; min-height: 36px;
      background: #f7f6f2; border: 1px solid #b7b1a7;
      color: inherit; font: inherit; cursor: pointer;
    }
    .index-controls button:hover { background: #eae7e1; }
    .index-controls button:focus-visible { outline: 2px solid #2054ac; outline-offset: 3px; }
    #position { color: #77736a; font-size: 0.93rem; }
    footer { margin-top: 2.8rem; }
    footer > p { margin: 0.7rem 0; }
    .enhanced .wheel-view { position: relative; height: 350px; overflow: hidden; }
    .enhanced .wheel-list { margin: 0; padding: 0; list-style: decimal inside; }
    .enhanced .wheel-list li {
      position: absolute; box-sizing: border-box; top: 50%; left: 0;
      width: 100%; margin: 0; padding: 0.55rem 0.2rem;
      font-size: 1.08rem; transform-origin: 10% center;
      white-space: nowrap;
      transition: transform 300ms ease, opacity 280ms ease, filter 280ms ease, font-size 280ms ease;
    }
    .enhanced .wheel-list li.current { font-size: 1.65rem; font-weight: bold; }
    .enhanced .wheel-list li:not(.current) { opacity: 0.22; }
    .enhanced .wheel-list li.current a { text-decoration-thickness: 2px; }
    .enhanced .wheel-list li a:focus-visible { outline: 2px solid #2054ac; outline-offset: 3px; }
    .enhanced .showcase section:not([hidden]) { animation: appear 230ms ease both; }
    @keyframes appear { from { opacity: .35; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
    @media (max-width: 670px) {
      .page { padding: 15px 16px 25px; }
      .top-line h1 { font-size: 1.55rem; }
      .layout { display: block; margin-top: 1.5rem; }
      .enhanced .wheel-view { height: 255px; }
      .enhanced .wheel-list li { text-align: center; }
      .index-column h3, .index-note { text-align: center; }
      .index-controls { justify-content: center; }
      .showcase { margin-top: 1.5rem; padding: 0.75rem 1rem 1.35rem; min-height: 0; }
    }
    @media (prefers-reduced-motion: reduce) {
      .enhanced .wheel-list li { transition: none; }
      .enhanced .showcase section:not([hidden]) { animation: none; }
    }

    /* One category can contain several pages. Keep the controls quiet. */
    .showcase { min-height: 405px; }
    .showcase .entry h3 { margin: 0.75rem 0 0.6rem; font-size: 1.18rem; }
    .showcase .entry > p:first-of-type { margin-top: 0.35rem; }
    .showcase .entry[hidden], .showcase section[hidden] { display: none !important; }
    .entry-meta, .example-note, .item-counter { color: #77736a; font-size: 0.88rem; }
    .example-note { font-style: italic; }
    .card-navigation { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 1.55rem; padding-top: 0.95rem; border-top: 1px solid #d1ccc3; }
    .card-navigation button { font: inherit; color: #2054ac; text-decoration: underline; text-underline-offset: 2px; border: 0; padding: 0.35rem 0.1rem; background: transparent; cursor: pointer; }
    .card-navigation button:hover { text-decoration-thickness: 2px; }
    .card-navigation button:focus-visible { outline: 2px solid #2054ac; outline-offset: 3px; }
    .card-navigation .item-counter { margin-left: auto; }
    .video-demo { margin: 1rem 0 1.2rem; }
    .video-demo video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #eeece5; border: 1px solid #c2bcb2; box-sizing: border-box; }
    .video-demo figcaption, .work-diagram figcaption { color: #77736a; font-size: 0.88rem; margin-top: 0.5rem; }
    .work-diagram { margin: 1.4rem 0 1.1rem; }
    .work-flow { padding: 0; margin: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
    .work-flow li { position: relative; padding: 1.1rem 0.65rem 0.5rem 0; border-top: 2px solid #b8b1a5; min-width: 0; }
    .work-flow li::before { content: ''; position: absolute; top: -6px; left: 0; width: 9px; height: 9px; border: 1px solid #797267; border-radius: 50%; background: #fffefa; }
    .work-flow li:last-child::before { background: #2054ac; border-color: #2054ac; }
    .work-flow strong { display: block; font-size: 0.92rem; margin-bottom: 0.3rem; }
    .work-flow small { display: block; font-size: 0.82rem; color: #6d675e; line-height: 1.45; padding-right: 0.7rem; }
    .work-flow .flow-no { font-size: 0.79rem; display: block; color: #77736a; margin-bottom: 0.25rem; }
    .experience-facts { border-left: 2px solid #c7c0b5; padding-left: 1rem; margin: 1.1rem 0; }
    .experience-facts p { margin: 0.4rem 0; }
    .simple-table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
    .simple-table th, .simple-table td { text-align: left; vertical-align: top; border-bottom: 1px solid #d8d3cc; padding: 0.65rem 0.5rem 0.65rem 0; }
    .simple-table th { font-weight: bold; }
    .enhanced .showcase .entry:not([hidden]) { animation: appear 230ms ease both; }
    @media (max-width: 670px) {
      .showcase { min-height: 0; }
      .work-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 0.5rem; }
    }
    @media (max-width: 370px) {
      .work-flow { grid-template-columns: 1fr; }
    }
    @media (prefers-reduced-motion: reduce) { .enhanced .showcase .entry:not([hidden]) { animation: none; } }

    /* 2026 mobile-first revision: preserve the ordinary HTML character. */
    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-padding-top: 1rem; }
    img, video, svg { max-width: 100%; }
    .page { width: 100%; max-width: 1110px; }
    .top-line nav a { display: inline-block; padding: .45rem .15rem; }
    .wheel-view { isolation: isolate; }
    .enhanced .wheel-list li { white-space: normal; line-height: 1.18; }
    .enhanced .wheel-list li a { display: inline-block; max-width: 100%; overflow-wrap: anywhere; padding: .35rem .05rem; }
    .index-controls button { min-width: 46px; min-height: 46px; }
    .card-navigation button { min-height: 44px; display: inline-flex; align-items: center; }
    .showcase { overflow-wrap: anywhere; }
    .showcase table { max-width: 100%; }
    .video-demo video { height: auto; }
    @media (max-width: 900px) and (min-width: 681px) {
      .page { padding: 24px; }
      .layout { grid-template-columns: minmax(190px,.75fr) minmax(0,1.35fr); gap: 22px; }
      .showcase { padding: 1rem; }
      .enhanced .wheel-list li.current { font-size: 1.42rem; }
      .work-flow { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 9px; }
    }
    @media (max-width: 680px) {
      body { font-size: 16px; }
      .page { padding: 14px 16px 26px; }
      .top-line { gap: 0 1rem; align-items: center; }
      .top-line h1 { font-size: 1.27rem; margin: 0 0 .45rem; }
      .top-line nav { font-size: .9rem; margin-bottom: .4rem; white-space: nowrap; }
      .intro { padding: .72rem 0 .15rem; }
      .intro h2 { font-size: clamp(1.46rem, 6.3vw, 1.88rem); margin: 0 0 .2rem; }
      .intro p { margin: .38rem 0; line-height: 1.46; }
      .intro p:last-child { display: none; }
      .layout { display: block; margin-top: 1.1rem; }
      .index-column { padding: .25rem 0 .15rem; border-top: 1px solid #cec9be; border-bottom: 1px solid #cec9be; }
      .index-column h3 { font-size: .95rem; text-transform: none; font-weight: 700; text-align: left; margin-top: .55rem; }
      .index-note { text-align: left; font-size: .79rem; margin: .1rem 0 0; }
      .enhanced .wheel-view { height: 168px; margin: 0; overflow: hidden; }
      .enhanced .wheel-list li { left: 0; right: 0; text-align: center; font-size: .96rem; padding: .4rem .08rem; transform-origin: center; }
      .enhanced .wheel-list li.current { font-size: clamp(1.25rem,5.5vw,1.6rem); }
      .enhanced .wheel-list li:not(.current) { color: #6f6a64; }
      .index-controls { display: flex; align-items: center; justify-content: space-between; margin: 0 0 .55rem; gap: .6rem; }
      .index-controls button { width: 56px; height: 45px; font-size: 1.2rem; padding: 0; background: #fffefa; }
      #position { flex: 1; text-align: center; font-size: .87rem; }
      .showcase { margin-top: 1rem; padding: .65rem .93rem 1.05rem; min-width: 0; min-height: 0; }
      .showcase legend { font-size: .81rem; }
      .showcase h2 { font-size: 1.43rem; margin: .48rem 0 .65rem; }
      .showcase h3 { font-size: 1.08rem; }
      .showcase p, .showcase li { line-height: 1.52; }
      .showcase ul, .showcase ol { padding-left: 1.3rem; }
      .entry-meta { font-size: .81rem; }
      .card-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: .18rem .75rem; align-items: stretch; margin-top: 1.12rem; padding-top: .6rem; }
      .card-navigation button { min-height: 48px; padding: .35rem .2rem; }
      .card-navigation button:nth-of-type(2) { justify-content: flex-end; }
      .card-navigation .item-counter { grid-column: 1 / -1; margin-left: 0; text-align: center; font-size: .8rem; overflow-wrap: anywhere; }
      .work-flow { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: .8rem; }
      .work-flow li { padding-right: .25rem; }
      .simple-table { display: block; width: 100%; overflow-x: auto; font-size: .88rem; }
      .simple-table th, .simple-table td { min-width: 110px; }
      footer { margin-top: 1.8rem; }
    }
    @media (max-width: 360px) {
      .page { padding: 12px 12px 24px; }
      .top-line { align-items: start; }
      .top-line h1 { font-size: 1.16rem; }
      .top-line nav { font-size: .84rem; }
      .enhanced .wheel-view { height: 160px; }
      .showcase { padding: .55rem .72rem 1rem; }
      .work-flow { grid-template-columns: 1fr; }
    }
    @media (hover: none) { a:hover { text-decoration-thickness: initial; } }
