/* Light-surface page, per DESIGN.md: ink focus rings, no dark-surface styles, small text at or above the contrast minimum. */
.cl-picker { margin: 1.4rem 0 .7rem; }
.cl-picker p { margin: 0 0 .5rem; color: #1d3347; font-weight: 600; }
.cl-picker-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.cl-picker button, .cl-all {
  min-height: 44px; padding: .45rem .85rem; border: 1px solid #b9c7d3; border-radius: 999px; background: #f4f7f9;
  color: #1d3347; font: 600 .92rem/1.2 var(--sans); cursor: pointer;
}
.cl-picker button[aria-pressed="true"] { border-color: #07111f; background: #07111f; color: #fff; }
.cl-picker button:focus-visible, .cl-all:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.cl-figure { margin: .4rem 0 1rem; border: 1px solid #d5dde4; border-radius: 10px; background: #fff; overflow: hidden; }
.cl-frame { position: relative; }
.cl-frame img { display: block; width: 100%; height: auto; }
.cl-frame svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cl-tag {
  position: absolute; transform: translate(-50%, -50%); padding: .12rem .5rem; border: 1px solid #9fb0bf; border-radius: 999px;
  background: rgba(255, 255, 255, .95); color: #1d3347; font: 600 .82rem/1.35 var(--sans); white-space: nowrap;
}
.cl-tag b { font-weight: 800; color: #07111f; }
.cl-tag-word { }
.cl-figure figcaption { padding: .7rem 1rem .8rem; border-top: 1px solid #e3e9ee; color: #41566b; font-size: .9rem; line-height: 1.45; }
.cl-key { display: inline-flex; align-items: center; gap: .35rem; margin-right: .9rem; color: #1d3347; font-weight: 600; white-space: nowrap; }
.cl-key i { display: inline-block; width: 1.4rem; height: .32rem; border-radius: 2px; }
.cl-legend { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; margin: .1rem 0 .55rem; color: #1d3347; font-size: .95rem; }
.article .cl-now { margin: 0 0 .55rem; padding: .55rem .8rem; border-left: 3px solid #07111f; background: #fff; color: #1d3347; font-weight: 600; font-size: .95rem; }
.cl-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.cl-legend i { display: inline-block; width: 1.4rem; height: .95rem; border: 2px solid #07111f; border-radius: 2px; }
.cl-legend i.dashed { border-style: dashed; }
.cl-legend i.faded { border: 1px solid #b9c7d3; background: #eef2f5; }
.article .cl-card { margin: 0 0 1rem; padding: 1rem 1.1rem 1.05rem; border: 1px solid #d5dde4; border-radius: 10px; background: #fff; }
.article .cl-card[hidden] { display: none; }
.article .cl-card h3 { margin: 0 0 .15rem; }
.article .cl-card .cl-meta { margin: 0 0 .55rem; color: #41566b; font-size: .9rem; }
.article .cl-card .cl-claim { margin: 0 0 .65rem; font-weight: 600; color: #1d3347; }
.cl-rows { margin: 0; }
.cl-rows > div { display: grid; grid-template-columns: 8.2rem 1fr; gap: .5rem; padding: .45rem 0; border-top: 1px solid #e9eef2; }
.cl-rows dt { margin: 0; color: #1d3347; font-weight: 700; font-size: .92rem; }
.cl-rows dd { margin: 0; color: #24384b; font-size: .95rem; line-height: 1.45; }
.article .cl-card .cl-more { margin: .6rem 0 0; font-size: .92rem; }
.cl-all { margin: 0 0 1.4rem; }
.article .cl-parts, .article .cl-questions { padding-left: 0; list-style: none; }
.article .cl-parts li { margin: 0 0 .6rem; padding-left: 2.2rem; position: relative; }
.cl-letter {
  position: absolute; left: 0; top: .05rem; width: 1.65rem; height: 1.65rem; border-radius: 50%; background: #07111f; color: #fff;
  font: 700 .85rem/1.65rem var(--sans); text-align: center;
}
.article .cl-questions { counter-reset: q; }
.article .cl-questions li { counter-increment: q; margin: 0 0 .55rem; padding-left: 2.2rem; position: relative; }
.article .cl-questions li::before {
  content: counter(q); position: absolute; left: 0; top: .05rem; width: 1.65rem; height: 1.65rem; border: 2px solid #07111f; border-radius: 50%;
  color: #07111f; font: 700 .82rem/1.45rem var(--sans); text-align: center; box-sizing: border-box;
}
.article .cl-note { color: #41566b; font-size: .92rem; }
@media (max-width: 560px) {
  .cl-tag { min-width: 1.4rem; height: 1.4rem; padding: 0 .15rem; box-sizing: border-box; border-radius: 999px; border-color: #07111f; background: #07111f; color: #fff; font-size: .74rem; line-height: 1.3rem; text-align: center; }
  .cl-tag b { color: #fff; }
  .cl-tag-word { display: none; }
  .cl-rows > div { grid-template-columns: 1fr; gap: .1rem; }
  .cl-figure figcaption { padding: .6rem .75rem .7rem; }
}
@media print {
  .cl-picker, .cl-legend, .cl-all, .cl-frame svg { display: none !important; }
  .article .cl-card[hidden] { display: block; }
  .article .cl-card { break-inside: avoid; }
}
