/* Column article pages. Loaded after home.css, which supplies tokens, fonts, header bar, button and footer. */
.column-top { background: var(--forest); color: var(--on-forest); }
.column-main { padding-block: clamp(28px, 5vw, 64px) clamp(48px, 7vw, 96px); }
.column-main .wrap { width: min(100%, 760px); }
.crumbs { font-size: .8125rem; color: #4f6a5e; margin-bottom: clamp(18px, 3vw, 30px); }
.crumbs a { color: inherit; }
.column-article h1 {
  font-family: var(--display); font-weight: 900; color: var(--forest);
  font-size: clamp(1.6rem, 4.2vw, 2.5rem); line-height: 1.45; text-wrap: balance;
}
.column-meta { margin-top: 14px; font-size: .875rem; color: #4f6a5e; font-weight: 700; }
.column-body { margin-top: clamp(24px, 4vw, 40px); display: grid; gap: 1.35em; font-size: clamp(1rem, 1.6vw, 1.0938rem); line-height: 2; }
.column-body > * { min-width: 0; }
.column-body h2 {
  font-family: var(--display); font-weight: 900; color: var(--forest);
  font-size: clamp(1.3rem, 2.9vw, 1.75rem); line-height: 1.5; text-wrap: balance;
  margin-top: clamp(22px, 3.5vw, 40px); padding-bottom: 10px; border-bottom: 4px solid var(--gold);
}
.column-body figure { margin: .4em 0; }
.column-body figure img, .column-body figure svg { display: block; width: 100%; height: auto; border-radius: 16px; }
.column-body figure.shadow img { box-shadow: 0 12px 30px #163f3926; }
.column-body figure svg text { font-family: var(--display); }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pair figcaption, .column-body figcaption { margin-top: 8px; font-size: .8125rem; line-height: 1.6; color: #4f6a5e; text-align: center; }
.trial { background: var(--sage); border-radius: 20px; padding: clamp(20px, 3.5vw, 32px); display: grid; gap: 14px; }
.trial ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.trial li { line-height: 1.8; }
.trial strong { display: block; color: var(--forest); font-weight: 800; }
.column-cta { text-align: center; }
.column-cta .cta { margin-top: 6px; }
.column-cta .cta:focus-visible { outline-color: var(--forest); }
.column-next { margin-top: clamp(32px, 5vw, 56px); padding-top: 22px; border-top: 2px solid var(--sage); display: flex; flex-wrap: wrap; gap: 10px 24px; font-weight: 700; font-size: .9375rem; }
.column-next a { color: var(--forest); }
.column-main a:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; }

/* Column index */
.column-list h1 { font-family: var(--display); font-weight: 900; color: var(--forest); font-size: clamp(1.9rem, 4.6vw, 2.75rem); line-height: 1.35; }
.column-empty { margin-top: 18px; color: #4f6a5e; font-weight: 700; }
.column-list .articles { grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
.column-list .articles li { background: var(--sage); padding: 0; font-size: clamp(1.05rem, 1.8vw, 1.25rem); }
.column-list .articles a { display: block; padding: 20px 22px; color: var(--forest); text-decoration: none; font-family: var(--display); font-weight: 900; }
.column-list .articles a::after { content: " ›"; color: var(--gold-deep); }
.column-list .articles a:hover { text-decoration: underline; }

@media (max-width: 560px) {
  .pair { grid-template-columns: minmax(0, 1fr); }
}

/* Selection guide: summary, contents, chart, app lists, FAQ */
.summary, .toc { background: var(--sage); border-radius: 20px; padding: clamp(18px, 3vw, 28px); }
.summary-title { font-family: var(--display); font-weight: 900; color: var(--forest); font-size: 1.0625rem; margin-bottom: 8px; }
.summary ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: .9375rem; line-height: 1.85; }
.toc ol { margin: 0; padding-left: 1.6em; display: grid; gap: 4px 28px; font-size: .9375rem; line-height: 1.85; font-weight: 700; }
@media (min-width: 640px) { .toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.toc a { color: var(--forest); }
.tag { display: inline-block; margin-left: 6px; padding: 0 9px; border-radius: 999px; font-size: .75rem; font-weight: 800; line-height: 1.7; vertical-align: .1em; white-space: nowrap; }
.tag-used { background: var(--forest); color: var(--on-forest); }
.tag-read { background: #fff; color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--forest); }
.column-body h2[id] { scroll-margin-top: 24px; }
.chart-wrap { margin: .2em 0; }
.chart { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.75; }
.chart th, .chart td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid #cfd9c9; }
.chart thead th { background: var(--forest); color: var(--on-forest); font-weight: 800; border: 0; }
.chart tbody th { font-weight: 800; }
.chart tbody th a { color: var(--forest); }
@media (max-width: 640px) {
  .chart thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .chart, .chart tbody, .chart tr, .chart th, .chart td { display: block; }
  .chart tr { background: var(--sage); border-radius: 14px; padding: 6px 4px; margin-bottom: 10px; }
  .chart th, .chart td { border: 0; padding: 4px 14px; }
  .chart td::before { content: attr(data-label) "　"; font-size: .75rem; font-weight: 800; color: #4f6a5e; }
}
.apps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.apps li { background: var(--sage); border-radius: 16px; padding: 16px 18px; line-height: 1.9; font-size: .9688rem; }
.apps li strong { display: block; color: var(--forest); font-weight: 800; margin-bottom: 2px; line-height: 1.7; }
.apps li strong a { color: var(--forest); }
.qa { display: block; }
.qa h3 { font-family: var(--display); font-weight: 900; color: var(--forest); font-size: 1.125rem; line-height: 1.6; margin: 1.4em 0 .3em; }
.qa h3:first-child { margin-top: 0; }
.qa p { margin: 0; }
.qa h3::before { content: "Q. "; color: var(--gold-deep); }
.column-updated { font-size: .8125rem; color: #4f6a5e; text-align: center; }

/* Selection guide v2 */
.note { font-size: .8438rem; line-height: 1.9; color: #4f6a5e; }
.jump { font-size: .875rem; line-height: 1.9; color: #4f6a5e; }
.jump a { color: var(--forest); font-weight: 700; }
.app-pick { background: var(--sage); border-radius: 14px; padding: 12px 16px; font-size: .9375rem; line-height: 1.85; }
.app-pick strong { display: block; font-size: .8125rem; color: #4f6a5e; font-weight: 800; }
.app-pick a { color: var(--forest); font-weight: 700; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; background: var(--sage); border-radius: 16px; padding: 16px 18px 16px 58px; line-height: 1.85; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--forest); color: var(--on-forest); font-family: var(--display); font-weight: 900; display: grid; place-items: center; }
.steps strong { display: block; color: var(--forest); font-weight: 800; }
.points { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; line-height: 1.9; }
.points strong { color: var(--forest); font-weight: 800; margin-right: .5em; }
.fit-title { font-family: var(--display); font-weight: 900; color: var(--forest); font-size: 1.1875rem; line-height: 1.6; margin-top: .6em; }
.column-body p a, .column-body .note a { color: var(--forest); text-underline-offset: 3px; }

/* Finder */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.finder { background: var(--sage); border-radius: 22px; padding: clamp(18px, 3.2vw, 30px); display: grid; gap: 14px; }
.finder h2 { margin: 0; padding: 0; border: 0; font-size: clamp(1.15rem, 2.6vw, 1.45rem); }
.worries { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 640px) { .worries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.worries label { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 14px; padding: 12px 14px; font-weight: 700; font-size: .9375rem; line-height: 1.6; cursor: pointer; box-shadow: inset 0 0 0 2px transparent; }
.worries label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--forest); background: #fffbe8; }
.worries input { width: 20px; height: 20px; accent-color: var(--forest); flex: none; }
.worries label:has(input:focus-visible) { outline: 3px solid var(--gold-deep); outline-offset: 2px; }
.finder-state { font-size: .875rem; font-weight: 700; color: var(--forest); min-height: 1.6em; }
.appcards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.app { background: #fff; border-radius: 16px; padding: 14px 16px; display: grid; gap: 6px; transition: opacity .2s; }
.app.is-top { box-shadow: 0 0 0 3px var(--gold); }
.app.is-dim { opacity: .68; }
.app-name { margin: 0; font-weight: 800; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: 1.0625rem; line-height: 1.6; }
.app-name strong a { color: var(--forest); }
.app-name .tag { margin-left: 0; }
.tag-own { background: var(--gold); color: var(--forest-deep); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { background: var(--sage); color: #4f6a5e; border-radius: 999px; padding: 1px 10px; font-size: .8125rem; font-weight: 700; line-height: 1.7; }
.chips span.is-hit { background: var(--forest); color: var(--on-forest); }
.app-note { font-size: .875rem; line-height: 1.85; }
.points a { color: var(--forest); font-weight: 700; }

/* Finder v2 */
.app-name a { color: var(--forest); }
.finder-bar { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; }
.finder-reset { border: 0; background: none; color: var(--forest); font: inherit; font-size: .8125rem; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 6px 0; }
.finder .note { margin: 0; }
.app-link a { color: var(--forest); font-weight: 800; font-size: .875rem; }
.matches { margin: 0; display: grid; gap: 10px; }
.matches div { background: var(--sage); border-radius: 14px; padding: 12px 16px; }
.matches dt { font-weight: 800; color: var(--forest); line-height: 1.7; }
.matches dd { margin: 0; font-size: .9375rem; line-height: 1.8; }

.app-head { display: flex; gap: 8px 12px; align-items: flex-start; justify-content: space-between; }
.app-head .app-name { flex: 1 1 auto; min-width: 0; }
.store { flex: none; font-size: .75rem; font-weight: 800; line-height: 1.6; color: var(--forest); text-decoration: none; border-radius: 999px; padding: 4px 11px; box-shadow: inset 0 0 0 1.5px var(--forest); white-space: nowrap; margin-top: 2px; }
.store:hover { background: var(--forest); color: var(--on-forest); }

.stores { flex: none; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.store { text-align: center; }

.app-facts { font-size: .8125rem; line-height: 1.7; color: #4f6a5e; font-weight: 700; }

/* Answer-first article: green answer under each heading, media comparison, references */
.column-body .answer { color: #0b7a4b; font-weight: 800; font-size: 1.0625em; line-height: 1.8; margin-top: -.55em; }
.column-body h3.worry { font-family: var(--display); font-weight: 900; color: var(--forest); font-size: clamp(1.1rem, 2.3vw, 1.3125rem); line-height: 1.6; margin-top: .8em; }
.column-body h3.worry + .answer { margin-top: -.9em; }
.media-map { background: var(--sage); border-radius: 20px; padding: clamp(18px, 3vw, 28px); }
.media-map-title { font-family: var(--display); font-weight: 900; color: var(--forest); font-size: clamp(1.1rem, 2.4vw, 1.3125rem); line-height: 1.5; }
.media-map-sub { font-size: .875rem; color: #4f6a5e; line-height: 1.7; margin-top: 2px; }
.media-map ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .media-map ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.media-map li { background: #fff; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.media-name { background: var(--forest); color: var(--on-forest); font-family: var(--display); font-weight: 900; font-size: 1.375rem; line-height: 1.3; padding: 12px 16px; }
.media-name span { display: block; font-size: .8125rem; color: var(--gold); margin-top: 2px; }
.media-map dl { margin: 0; padding: 12px 16px 14px; font-size: .9063rem; line-height: 1.7; }
.media-map dt { display: inline-block; background: var(--gold); color: var(--forest-deep); font-weight: 800; font-size: .75rem; border-radius: 6px; padding: 0 8px; margin-top: 8px; }
.media-map dt:first-child { margin-top: 0; }
.media-map dd { margin: 2px 0 0; }
.ref { font-size: .75em; font-weight: 700; color: var(--forest); text-decoration: none; vertical-align: .3em; }
.refs { display: grid; gap: 10px; }
.refs h2 { font-size: 1.0625rem; border-bottom-width: 2px; margin-top: 12px; }
.refs ol { margin: 0; padding-left: 1.4em; font-size: .8438rem; line-height: 1.9; color: #4f6a5e; display: grid; gap: 4px; }
.refs a { color: var(--forest); }
