:root{color-scheme:light;--ink:#172e30;--teal:#075e59;--line:#d1dcd8;--paper:#f7f9f6;--sans:"Inter","Segoe UI","Hiragino Sans",Meiryo,sans-serif;font:100%/1.6 var(--sans);color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0}a{color:var(--teal);text-underline-offset:.2em}a:focus-visible,summary:focus-visible,video:focus-visible{outline:3px solid #af5905;outline-offset:3px}
.bar{background:#103c3b;color:white}.bar-inner,.layout{max-width:86rem;margin:auto;padding-inline:clamp(1rem,4vw,4rem)}.bar-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:4rem}.brand{display:flex;align-items:center;gap:.7rem;font-weight:700;letter-spacing:-.02em}.brand::before{content:"✓";border:1px solid #a4cbbd;color:#c0f2dd;border-radius:5px;width:1.6rem;text-align:center}.bar a{color:white;display:inline-flex;align-items:center;min-height:44px}.layout{display:grid;grid-template-columns:clamp(13rem,20vw,17rem) minmax(0,1fr);gap:clamp(1.5rem,4vw,4rem);padding-block:2.5rem}
aside{align-self:start}h2{font-weight:650;letter-spacing:-.03em}.group{font-weight:700;margin:1rem 0 .3rem}.menu a{display:grid;grid-template-columns:2.7rem 1fr;gap:.3rem;text-decoration:none;padding:.52rem .55rem;color:var(--ink);border-radius:6px;line-height:1.4;align-items:baseline;min-height:44px}.menu a:hover{background:#e9efea}.menu a[aria-current]{background:#d8eae1;color:#124e48;font-weight:700;box-shadow:inset 3px 0 #176a5a}.menu small,.meta{font-family:ui-monospace,monospace;font-size:.875rem}.menu small{color:#526863}.mobile{display:none}.meta{display:flex;align-items:center;gap:.8rem;color:#45605a}.status{background:#e0efe6;color:#225b45;padding:.1rem .55rem;border-radius:4px}h1{font-size:clamp(2rem,3.6vw,3.4rem);line-height:1.09;letter-spacing:-.045em;max-width:24ch;margin:.65rem 0 1rem;text-wrap:balance}p{max-width:72ch;margin:.5rem 0 1rem}.lead{font-size:1.06rem;color:#344c49}h2{font-size:1.35rem;margin:0 0 1rem}.block{border-top:1px solid var(--line);padding-top:1.3rem;margin-top:1.75rem}.pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}figure{margin:0}img,video{display:block;width:100%;height:auto;background:#e8eee9;border-radius:5px}.pair figure{background:white;border:1px solid var(--line);border-radius:8px;padding:.5rem}.pair a{display:block}.pair figcaption{font-weight:600;margin:.45rem .25rem}.record figure+figure{margin-top:1rem}.record figcaption{font-weight:600;margin-bottom:.5rem}summary{cursor:pointer;font-weight:650;min-height:44px}.skip{position:absolute;left:-9999px}.skip:focus{left:1rem;top:.5rem;background:white;padding:.4rem}
@media(max-width:54rem){.layout{display:block;padding-block:1.1rem}.desktop{display:none}.mobile{display:block;margin-bottom:1.4rem;border-bottom:1px solid var(--line)}.mobile summary{padding:.4rem 0}.mobile .menu{padding-bottom:.75rem}.pair{gap:.7rem}}
@media(max-width:40rem){.pair{grid-template-columns:minmax(0,1fr)}.brand{font-size:.95rem}.bar-inner{gap:.5rem}.block{margin-top:1.25rem}.lead{font-size:1rem}h1{letter-spacing:-.035em}.layout{padding-inline:1rem}}

/* The overview pairs the tested behavior with its observed outcome. */
:root{--paper:#faf9f5;--ink:#182f36;--line:#cbd4cf}
.bar{background:#162f36}.bar .brand{text-decoration:none}
main{min-width:0}
main h1{font-family:Georgia,"Yu Mincho","Hiragino Mincho ProN",serif;font-weight:500}
.menu .overview-link{display:block}
.language{font-weight:600}


.verdict{max-width:72ch;margin:1rem 0 0;padding:.65rem 1rem;border-inline-start:3px solid var(--teal);background:#eaf2ec}
.verdict strong{display:block}
.source{color:#435b55;font-size:.94rem}

.shopify-log { white-space: pre-wrap; overflow-wrap: anywhere; padding: 1rem; background: #f0f4f2; color: #223a34; line-height: 1.6; }

/* Case navigation and evidence share the same reading column. */
:root { --paper: #fbfcfa; --line: #d1ddd6; }
body { line-height: 1.7; }
.layout { gap: clamp(2rem, 4vw, 4rem); }
main h1 { line-height: 1.22; }
main .lead { margin-bottom: 1.5rem; }
.desktop { border-inline-end: 1px solid var(--line); padding-inline-end: 1rem; }
.app-menu { border-bottom: 1px solid var(--line); }
.app-menu summary { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .55rem; list-style: none; }
.app-menu summary::-webkit-details-marker { display: none; }
.app-menu summary::after { content: ''; width: .45em; height: .45em; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); margin-inline-end: .3rem; }
.app-menu[open] summary::after { transform: rotate(225deg); }
.app-menu summary:hover, .case-list a:hover { background: #edf4ef; }
.app-menu[open] { padding-bottom: .4rem; }
.app-menu[open] summary { color: var(--teal); }
.app-section { border-top: 1px solid var(--line); padding: 1.6rem 0 1.9rem; scroll-margin-top: 1rem; }
.app-section h2 { margin-bottom: .6rem; }
.case-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(13rem,100%),1fr)); gap: .5rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.case-list a { display: flex; flex-direction: column; justify-content: center; height: 100%; padding: .6rem .85rem; background: white; border: 1px solid var(--line); border-radius: .4rem; text-decoration: none; font-weight: 600; }
.case-list small { font-family: ui-monospace,monospace; color: #526863; font-size: .81rem; }
.return { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: .65rem; }
.return a, main p a[href$=".json"] { display: inline-flex; align-items: center; min-height: 44px; }
.mobile > summary { display: list-item; padding-block: .6rem; }
@media (min-width: 54.01rem) and (min-height: 32rem) {
  aside { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow: auto; padding: 4px; }
}
@media (max-width: 40rem) {
  .case-list { grid-template-columns: 1fr; }
  .case-list a { flex-direction: row; justify-content: flex-start; align-items: baseline; gap: .7rem; }
  .case-list small { flex: 0 0 3.4em; }
}
html[lang="ja"] main h1 { max-width: 100%; text-wrap: pretty; }

.shopify-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
  gap: .75rem;
  list-style: none;
  margin: .75rem 0 1rem;
  padding: 0;
}
.shopify-highlights a {
  display: grid;
  align-content: start;
  gap: .35rem;
  height: 100%;
  background: #edf4ef;
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: .4rem;
  padding: .9rem 1rem;
  text-decoration: none;
}
.shopify-highlights a:hover strong, .shopify-highlights a:focus-visible strong { text-decoration: underline; }
.shopify-highlights small { color: #435b55; font-family: ui-monospace, monospace; }
.shopify-highlights span { color: var(--ink); font-size: .95rem; }
.shopify-catalog h3 { margin: 1.2rem 0 .4rem; }
.shopify-catalog .case-list { margin-top: 0; }

.app-jump { margin: 0 0 1.6rem; }
.app-jump h2 { margin-bottom: .45rem; font-size: 1.05rem; }
.app-jump ul { display: flex; flex-wrap: wrap; gap: .35rem .65rem; list-style: none; padding: 0; margin: 0; }
.app-jump a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .6rem; border-bottom: 1px solid var(--line); }
.app-jump a:hover { background: #edf4ef; }
.shopify-catalog h3 { scroll-margin-top: 1rem; }
.shopify-catalog .case-list a { border-color: #e1e9e3; padding: .55rem .75rem; }
.evidence-table { border-collapse: collapse; table-layout: fixed; width: min(100%, 46rem); margin: 1.1rem 0 1.6rem; font-size: .94rem; }
.evidence-table caption { text-align: start; font-weight: 700; font-size: 1.05rem; margin-bottom: .4rem; }
.evidence-table th, .evidence-table td { border-bottom: 1px solid var(--line); padding: .5rem; text-align: start; vertical-align: top; overflow-wrap: anywhere; }
.evidence-table thead th { background: #edf4ef; }
.case-breadcrumb { margin: -.2rem 0 .45rem; }
.case-back { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-size: .9rem; text-decoration: none; }
.case-back:hover, .case-back:focus-visible { text-decoration: underline; }
.case-nav { margin-top: 2rem; border-top: 1px solid var(--line); }
.case-neighbors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem 1.5rem; }
.case-neighbors a { display: flex; align-items: baseline; gap: .65rem; min-height: 44px; padding: .8rem .4rem; text-decoration: none; border-radius: 4px; }
.case-neighbors [rel="next"] { grid-column: 2; flex-direction: row-reverse; text-align: end; }
.case-neighbors a:hover { background: #edf4ef; }
.case-neighbors a:hover .case-nav-copy > span, .case-neighbors a:focus-visible .case-nav-copy > span { text-decoration: underline; }
.case-nav-copy { display: grid; gap: .1rem; overflow-wrap: anywhere; }
.case-nav-copy small { color: #435b55; font-size: .8rem; }
.case-nav-arrow { flex: none; }
@media (max-width: 40rem) {
  .case-neighbors { grid-template-columns: minmax(0, 1fr); }
  .case-neighbors [rel="next"] { grid-column: 1; }
  .case-neighbors a + a { border-top: 1px solid var(--line); }
}
@media (max-width: 54rem) {
  .mobile[open] .menu { max-height: min(46vh, 22rem); overflow-y: auto; padding: .25rem; }
}
