/**
 * VDP2026 入稿システム 出展者側スタイル（§11-1・§8-2・§14-8）
 *
 * 【設計の理由】
 * - 既存サイトの `.fade-in` を使わない。あれは `opacity:0` を初期値にして JS で復帰させる作りで、
 *   JS が落ちた瞬間に入稿フォームが「白紙」になる。また `prefers-reduced-motion` の復帰指定が無い。
 *   入稿は締切のある業務なので、CSS/JS が壊れても内容が読めることを最優先にする（§11-1）。
 *   → 本ファイルは「初期状態が可視」で、アニメーションは装飾のみ。
 * - 色だけで意味を伝えない（§11-1）。判定は「色 + アイコン(文字) + テキスト」の 3 重で出す。
 *   アイコンは Web フォント/画像ではなく文字（✖ ⚠ ⓘ）で、サーバー（LEVEL_UI）と
 *   クライアント（public/entry.js）が DOM に直接入れている。CSS が落ちても消えない。
 * - フォーカスリングを絶対に消さない。§11-1 が「キーボードのみで全操作が完了すること」を要求しており、
 *   リングを消すとその要件が満たせない。`:focus-visible` 非対応ブラウザ向けに `:focus` も残す。
 * - 対応環境は PC 最新4ブラウザ + iOS 16 以降 + Android Chrome（§14-8）。
 *   iOS 16 に無い CSS（:has() の複雑な使い方・subgrid・container query）は使わない。
 *   レイアウトは flex と 1 次元 grid のみ。
 *
 * 【セレクタは routes が実際に出しているクラス名に合わせる】
 *   以前のこのファイルは `.entry-scope` / `.e-*` という **どのルートも出していない**
 *   クラス名だけを持っていたため、変数（--e-*）の定義ごと未適用になり、
 *   入稿フォームもログイン画面も素の HTML で表示されていた。
 *     routes/entry.js … body.entry / .wrap / .bbar / .item / .slot / .findings / .errsum …
 *     routes/auth.js  … body.entry-auth / .entry-head / .entry-brand / .entry-foot / .err …
 *     public/entry.js … .dropnote / .uprog-wrap / .grip / .slotstate（JS が足す部品）
 */

/* ============================================================
   0. トークン
   ============================================================ */
:root {
  /* 色。本文/補助文/リンク/主要ボタンはいずれも白系背景で WCAG 2.1 AA(4.5:1) 以上になる値 */
  --e-fg:        #16181d;   /* 本文        白背景で約 16:1 */
  --e-fg-muted:  #4a4f57;   /* 補助文      白背景で約 8.6:1 */
  --e-fg-faint:  #5c626b;   /* 最小の補助文 白背景で約 6.6:1（AA は満たす） */
  --e-bg:        #ffffff;
  --e-bg-sub:    #f5f6f8;
  --e-bg-inset:  #eceef1;
  --e-line:      #c9ced6;
  --e-line-soft: #dfe3e8;

  --e-accent:      #0b57c2;  /* 白背景で約 5.1:1 */
  --e-accent-dark: #08429a;
  --e-accent-bg:   #eaf1fd;

  /* 判定の 3 色。文字色は必ず淡い背景の上で 4.5:1 以上 */
  --e-ok-fg:   #0b6b34;
  --e-ok-bg:   #e9f6ee;
  --e-ok-line: #7fbd97;
  --e-warn-fg:   #6d4200;
  --e-warn-bg:   #fff5e0;
  --e-warn-line: #d9a640;
  --e-err-fg:   #9a0f28;
  --e-err-bg:   #fdecef;
  --e-err-line: #d78090;

  --e-focus: #0b57c2;
  --e-radius: 8px;

  /* iOS の Safari は 16px 未満の input で自動ズームする。入力欄の下限を 16px にするための基準 */
  --e-font: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
            "Noto Sans JP", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
}

body.entry,
body.entry-auth {
  margin: 0;
  color-scheme: light;
  color: var(--e-fg);
  background: var(--e-bg);
  font-family: var(--e-font);
  font-size: 16px;
  line-height: 1.7;
  /* 日本語の途中改行。長いサークル名・URL で横スクロールを出さない */
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}
body.entry *, body.entry *::before, body.entry *::after,
body.entry-auth *, body.entry-auth *::before, body.entry-auth *::after { box-sizing: border-box; }

/* ============================================================
   1. フォーカス（消さない・必ず見える）
   ============================================================ */
body.entry :focus,
body.entry-auth :focus { outline: 3px solid var(--e-focus); outline-offset: 2px; }
/* :focus-visible に対応するブラウザではマウス操作時だけリングを控える。
   非対応ブラウザでは上の :focus がそのまま残る（＝消えない） */
@supports selector(:focus-visible) {
  body.entry :focus:not(:focus-visible),
  body.entry-auth :focus:not(:focus-visible) { outline: none; }
  body.entry :focus-visible,
  body.entry-auth :focus-visible { outline: 3px solid var(--e-focus); outline-offset: 2px; }
}

/* スキップリンクは focus で必ず可視化する */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 60;
  background: var(--e-bg); color: var(--e-accent-dark);
  padding: 10px 14px; border: 2px solid var(--e-accent); border-radius: 0 0 var(--e-radius) 0;
}
.skip:focus { left: 0; }

/* ============================================================
   2. 骨格
   ============================================================ */
.wrap { max-width: 940px; margin: 0 auto; padding: 8px 16px 96px; }

body.entry h1, body.entry-auth h1 { font-size: 1.5rem; line-height: 1.4; margin: 12px 0 8px; }
body.entry h2 { font-size: 1.2rem; line-height: 1.45; margin: 28px 0 8px; }
body.entry h3 { font-size: 1.02rem; margin: 0; }
body.entry h4 { font-size: .98rem; margin: 0 0 2px; }
body.entry p, body.entry-auth p { margin: 0 0 10px; }
body.entry a, body.entry-auth a { color: var(--e-accent); text-underline-offset: 2px; }
body.entry a:hover, body.entry-auth a:hover { color: var(--e-accent-dark); }
body.entry code { font-size: .9em; background: var(--e-bg-inset); padding: 1px 4px; border-radius: 3px; }

/* 上部の常時表示帯。団体名・進捗（§11-1・§7-1） */
.bbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--e-bg); border-bottom: 1px solid var(--e-line);
  padding: 8px 16px;
  /* sticky が効かない環境でも「先頭に情報がある」だけで要件は満たせる */
}
.bbar .bname, .bbar .prog { max-width: 908px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.bbar .lbl { color: var(--e-fg-muted); font-size: .8rem; }
.bbar .bid, .bbar .bno { color: var(--e-fg-muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.bbar .prog { font-size: .9rem; }
.bbar .prog progress { width: 120px; height: 10px; }
.bbar .prog .note { color: var(--e-warn-fg); }
.bbar .prog .ok { color: var(--e-ok-fg); }
.bbar .switch { margin-left: auto; font-size: .9rem; }

/* 「◯分前に保存しました」。文字だけで状態が分かるようにし、色は補助にとどめる */
.saved {
  font-size: .875rem; color: var(--e-fg-muted);
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 1.6em;   /* 文言が変わっても行が揺れない */
}
.saved::before { content: "●"; font-size: .7em; color: var(--e-ok-line); }
.saved[data-state="saving"]::before { content: "◐"; color: var(--e-accent); }
.saved[data-state="dirty"]::before  { content: "○"; color: var(--e-warn-line); }
.saved[data-state="failed"] { color: var(--e-err-fg); font-weight: 700; }
.saved[data-state="failed"]::before { content: "✖"; color: var(--e-err-fg); }

.deadline { font-variant-numeric: tabular-nums; font-weight: 700; }
.deadline .note, .note { font-weight: 400; color: var(--e-fg-muted); font-size: .9rem; }
.hint { color: var(--e-fg-muted); font-size: .875rem; margin: 0 0 8px; }
.links { font-size: .95rem; }

/* ============================================================
   3. 判定（色 + アイコン + テキストの 3 重。§11-1）
   ============================================================ */
.lv-error, .lv-warn, .lv-info {
  border: 1px solid var(--e-line-soft); border-left-width: 5px; border-radius: 6px;
  padding: 8px 10px; margin: 8px 0;
}
.lv-error { background: var(--e-err-bg);  border-color: var(--e-err-line);  color: var(--e-err-fg); font-weight: 700; }
.lv-warn  { background: var(--e-warn-bg); border-color: var(--e-warn-line); color: var(--e-warn-fg); }
.lv-info  { background: var(--e-accent-bg); border-color: var(--e-accent);  color: var(--e-accent-dark); }
.ficon { font-weight: 700; margin-right: 4px; }
.flvl  { font-weight: 700; margin-right: 4px; }

/* 項目ごとの判定一覧（サーバー: findingList / クライアント: paintFindings） */
ul.findings, ol.findings { list-style: none; margin: 8px 0 0; padding: 0; }
ul.findings li, ol.findings li { margin: 0 0 6px; font-size: .9rem; }

/* エラーサマリ（role="alert" / aria-live="polite"） */
.errsum { margin: 16px 0; }
.errsum p { margin: 0; }
.errsum ol.findings { margin-top: 8px; padding-left: 1.4em; list-style: decimal; }
.errsum ol.findings li { border: 0; background: none; padding: 0; font-weight: 400; }
.errsum a { color: inherit; font-weight: 700; }

.noscript { font-weight: 700; }

/* ============================================================
   4. セクションと入力欄
   ============================================================ */
.item {
  border: 1px solid var(--e-line); border-radius: var(--e-radius);
  background: var(--e-bg); padding: 16px; margin: 16px 0;
}
.ihead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-bottom: 6px; }
.ino {
  display: inline-block; min-width: 1.8em; text-align: center;
  background: var(--e-bg-inset); border-radius: 4px; margin-right: 4px;
  font-size: .85em; font-variant-numeric: tabular-nums;
}
.imeta { margin: 0; font-size: .85rem; color: var(--e-fg-muted); display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
/* 必須/任意。文字で書く。色や記号だけにしない */
.req, .opt { font-size: .78rem; font-weight: 700; padding: 2px 7px; border-radius: 4px; white-space: nowrap; }
.req { color: var(--e-err-fg); background: var(--e-err-bg); border: 1px solid var(--e-err-line); }
.opt { color: var(--e-fg-muted); background: var(--e-bg-sub); border: 1px solid var(--e-line); }
.sep { color: var(--e-line); }
/* 「会場での目立ちやすさ」の★（§8-4）。★の数と読み上げ用 aria-label を併記している */
.stars { color: #8a5a00; letter-spacing: .08em; white-space: nowrap; }
.stars.none { color: var(--e-fg-faint); letter-spacing: 0; }

.lab { display: block; font-weight: 700; margin: 6px 0 4px; }
.tx {
  width: 100%; font: inherit;
  font-size: 16px;           /* iOS の自動ズーム抑止。16px 未満にしないこと */
  color: var(--e-fg); background: var(--e-bg);
  border: 1px solid var(--e-line); border-radius: 6px;
  padding: 10px 12px; min-height: 44px;   /* タップ目標 44px（§11-1 の AA 相当） */
}
textarea.tx { min-height: 8.5em; resize: vertical; line-height: 1.75; }
body.entry select, body.entry-auth input {
  font: inherit; font-size: 16px; color: var(--e-fg); background: var(--e-bg);
  border: 1px solid var(--e-line); border-radius: 6px; padding: 10px 12px; min-height: 44px;
}
body.entry input:read-only, body.entry textarea:read-only { background: var(--e-bg-inset); color: var(--e-fg-muted); }
body.entry select:disabled { background: var(--e-bg-inset); color: var(--e-fg-muted); }
/* 入力欄自体の異常。枠線の色だけに頼らず、下の判定テキストと必ず対で出す */
body.entry [data-invalid="1"] { border-color: var(--e-err-fg); border-width: 2px; }
body.entry [data-invalid="warn"] { border-color: var(--e-warn-line); border-width: 2px; }

/* 文字数カウンタ（§9-8）。数え方はサーバー（lib/valid.js）と同値 */
.count { font-size: .85rem; color: var(--e-fg-muted); font-variant-numeric: tabular-nums; margin: 4px 0 0; }
.count.is-near { color: var(--e-warn-fg); font-weight: 700; }
.count.is-over { color: var(--e-err-fg); font-weight: 700; }
/* 超過は数字の色だけで伝えない。JS が文言も差し替えるが、記号もここで足す */
.count.is-over::before { content: "✖ "; }
.count.is-near::before { content: "⚠ "; }
.countmode { display: block; color: var(--e-fg-faint); font-size: .8rem; }

/* ============================================================
   5. 画像スロット（ドロップ領域 + サムネイル + その場の判定。§11-1）
   ============================================================ */
.slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.slot {
  border: 1px solid var(--e-line); border-radius: var(--e-radius);
  background: var(--e-bg); padding: 12px; min-width: 0;
}
.slot .dim { color: var(--e-fg-muted); font-size: .85rem; font-variant-numeric: tabular-nums; margin: 0 0 6px; }
.slot .pos { font-weight: 400; color: var(--e-accent-dark); font-size: .9rem; }
/* ドラッグ中の受け入れ先・元。色だけでなく線種でも示す */
.slot.is-over { border-color: var(--e-accent); border-width: 2px; background: var(--e-accent-bg); }
.slot.is-dragging { opacity: .55; border-style: dashed; }

/* サムネイル。市松模様の下地で透過を可視化する（ポスターの透過は error なので見えることが重要。§9-4） */
.thumb {
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--e-line-soft); border-radius: 6px;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, #e3e6ea 25%, transparent 25%, transparent 75%, #e3e6ea 75%),
    linear-gradient(45deg, #e3e6ea 25%, transparent 25%, transparent 75%, #e3e6ea 75%);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
  padding: 6px; min-height: 96px;
}
.thumb img { display: block; max-width: 100%; max-height: 220px; height: auto; }
/* 送信前の先出し表示。CSP（default-src 'self'）が blob:/data: の画像を禁じるので
   public/entry.js は createImageBitmap で <canvas> に描く（img では表示できない） */
.thumb canvas { display: block; max-width: 100%; max-height: 220px; height: auto; }
.thumb .ph { display: block; width: 100%; min-height: 84px; }

.fstate { font-size: .85rem; margin: 6px 0; font-variant-numeric: tabular-nums; }
.fstate.ok { color: var(--e-ok-fg); }
.fstate.none { color: var(--e-fg-muted); }

/* スロットごとのアップロード用フォーム（JS 無しでもこれだけで入稿できる） */
.upform { border-top: 1px dashed var(--e-line-soft); padding-top: 8px; margin: 0; }
.upform .file { font: inherit; font-size: .9rem; max-width: 100%; }
/* JS が足すドラッグ＆ドロップの案内（§11-1 のドロップ領域） */
.dropnote { margin: 0 0 6px; }
/* JS が足す進捗。<progress> なので幅指定（style 属性）が不要＝CSP に触れない */
.uprog-wrap { display: flex; align-items: center; gap: 8px; font-size: .85rem; margin-top: 6px; }
.uprog-wrap[hidden] { display: none; }
.uprog { flex: 1 1 auto; height: 10px; }
.uptext { flex: 0 0 auto; color: var(--e-fg-muted); font-variant-numeric: tabular-nums; }

/* ブースの図（§8-2「ブースの模式図と一緒に提示」・§11-1 の 3 番・§3-1 Q9）。
   2026-09-04 に実際のブース図へ差し替え、自前の SVG 模式図（.dg）は削除した。
   ラベル入りの図なので、文字が読める幅を確保する（幅の上限を 720 → 900 に上げた）。 */
.boothimg { margin: 12px 0 16px; }
.boothimg img { display: block; width: 100%; height: auto; max-width: 900px; margin: 0 auto;
  border: 1px solid var(--e-line); border-radius: var(--e-radius); background: var(--e-bg-sub); }
.boothimg figcaption { color: var(--e-fg-muted); font-size: .85rem; margin-top: 6px; text-align: center; }

/* ============================================================
   6. ポスターの掲出位置（§8-2。DnD + ◀▶ + セレクトの 3 手段）
   ============================================================ */
.slotform { border: 1px solid var(--e-line); border-radius: var(--e-radius); padding: 12px; margin: 14px 0; }
.slotform fieldset { border: 0; margin: 0; padding: 0; }
.slotform legend { font-weight: 700; padding: 0; }
/* 1 枠ぶん。セレクトと ◀▶ を横に並べる（キーボードのみで完結する経路） */
.assign { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 8px 0; }
.assign .lab { flex: 1 1 14em; margin: 0; font-size: .9rem; }
.assign select { flex: 0 1 12em; }
/* JS が足す掴んで動かす取っ手。マウス専用手段なので単独で機能を担わせない */
.grip {
  cursor: grab; user-select: none; text-align: center;
  border: 1px solid var(--e-line); border-radius: 6px;
  background: var(--e-bg-sub); color: var(--e-fg-muted);
  font-size: .8rem; padding: 4px 8px; margin: 0 0 8px;
}
.grip:active { cursor: grabbing; }
/* 掲出位置の保存結果（role="status"） */
.slotstate { font-size: .9rem; color: var(--e-fg-muted); margin: 8px 0 0; min-height: 1.6em; }
.slotstate.lv-error, .slotstate.lv-info { margin: 8px 0 0; }

/* ============================================================
   7. ボタン
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; text-decoration: none;
  min-height: 44px; padding: 8px 18px;
  border-radius: 6px; cursor: pointer;
  color: var(--e-accent-dark); background: var(--e-bg);
  border: 2px solid var(--e-accent);
}
.btn:hover { background: var(--e-accent-bg); }
.btn.primary { color: #fff; background: var(--e-accent); border-color: var(--e-accent); }
.btn.primary:hover { background: var(--e-accent-dark); border-color: var(--e-accent-dark); }
.btn.sub { font-weight: 400; min-height: 44px; min-width: 44px; padding: 6px 12px; }
.btn:disabled, .btn[aria-disabled="true"] {
  color: var(--e-fg-faint); background: var(--e-bg-inset);
  border-color: var(--e-line); cursor: not-allowed;
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 16px 0 0; }
.nameonly { border: 1px solid var(--e-line); border-radius: var(--e-radius); padding: 12px; margin: 16px 0; }
.nameonly fieldset { border: 0; margin: 0; padding: 0; }
.nameonly legend { font-weight: 700; }

/* ============================================================
   8. 提出前確認（§11-1 の判定表・サムネイル一覧・同意）
   ============================================================ */
.tblwrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }  /* 本文側は横スクロールさせない */
table.judge, table.vals, table.guide { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.judge th, table.judge td,
table.vals th, table.vals td,
table.guide th, table.guide td {
  border: 1px solid var(--e-line-soft); padding: 6px 8px; text-align: left; vertical-align: top;
}
table.judge thead th, table.vals th[scope="row"], table.guide thead th { background: var(--e-bg-sub); }
table.judge caption, table.guide caption { text-align: left; color: var(--e-fg-muted); font-size: .85rem; padding-bottom: 6px; }
table.judge tr.lv-error th, table.judge tr.lv-error td { background: var(--e-err-bg); color: var(--e-err-fg); }
table.judge tr.lv-warn th, table.judge tr.lv-warn td { background: var(--e-warn-bg); color: var(--e-warn-fg); }
table.judge .lvl { white-space: nowrap; }
table.judge .code { font-size: .82rem; color: var(--e-fg-muted); }

.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tcell { margin: 0; border: 1px solid var(--e-line-soft); border-radius: 6px; padding: 8px; text-align: center; }
.tcell img { max-width: 100%; height: auto; }
.tcell figcaption { font-size: .8rem; color: var(--e-fg-muted); }
.tcell .ph { display: block; min-height: 80px; background: var(--e-bg-inset); border-radius: 4px; }
.none { color: var(--e-fg-faint); }

.fsubmit fieldset { border: 1px solid var(--e-line); border-radius: var(--e-radius); padding: 12px 14px; margin: 0; }
.fsubmit legend { font-weight: 700; }
.chk { display: flex; align-items: flex-start; gap: 8px; }
.chk input[type="checkbox"] { width: 22px; height: 22px; margin: 4px 0 0; flex: 0 0 auto; }

/* ============================================================
   9. ログイン系（routes/auth.js。同じ CSS を共有している）
   ============================================================ */
body.entry-auth { display: flex; flex-direction: column; min-height: 100vh; }
.entry-head { border-bottom: 1px solid var(--e-line); padding: 10px 16px; }
.entry-brand { max-width: 640px; margin: 0 auto; font-weight: 700; }
body.entry-auth main { flex: 1 1 auto; width: 100%; max-width: 640px; margin: 0 auto; padding: 8px 16px 48px; }
.entry-foot { border-top: 1px solid var(--e-line-soft); padding: 12px 16px; color: var(--e-fg-muted); font-size: .85rem; }
.entry-foot p { max-width: 640px; margin: 0 auto 4px; }
body.entry-auth .err {
  border: 1px solid var(--e-err-line); border-left-width: 5px; border-radius: 6px;
  background: var(--e-err-bg); color: var(--e-err-fg); font-weight: 700; padding: 8px 10px;
}
body.entry-auth .meta { color: var(--e-fg-muted); font-size: .85rem; }
ul.booth-list { list-style: none; margin: 0; padding: 0; }
ul.booth-list li {
  border: 1px solid var(--e-line); border-radius: var(--e-radius);
  padding: 12px; margin: 0 0 10px;
}

/* ============================================================
   10. 画面幅
   ============================================================ */
@media (max-width: 720px) {
  .slots { grid-template-columns: minmax(0, 1fr); }
  .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bbar { position: static; }   /* 狭い画面で本文の高さを食わせない */
}
@media (max-width: 400px) {
  .wrap { padding: 8px 12px 96px; }
  .item { padding: 12px; }
  .thumbs { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================
   11. アニメーション（装飾のみ・reduced-motion で完全停止）
   ------------------------------------------------------------
   初期状態は常に可視。ここを消しても内容は読める（.fade-in を使わない理由）。
   ============================================================ */
.slot, .upform { transition: background-color .15s ease, border-color .15s ease; }

@media (prefers-reduced-motion: reduce) {
  body.entry *, body.entry *::before, body.entry *::after,
  body.entry-auth *, body.entry-auth *::before, body.entry-auth *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* コントラストを上げる設定の環境では枠線を太くする（色の差に依存しない） */
@media (prefers-contrast: more) {
  .tx, body.entry select, body.entry-auth input { border-width: 2px; }
  .lv-error, .lv-warn, .lv-info { border-left-width: 6px; }
}

/* 読み上げ専用テキスト（JS が足す補助説明で使う） */
.sr {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* 公式サイトへの先行掲載のチェックリスト（2026-09-04） */
.webchk { list-style: none; padding: 0; margin: 10px 0; }
.webchk li { padding: 6px 0; border-bottom: 1px solid var(--e-line); }
.webchk li:last-child { border-bottom: 0; }
.webchk li.ok { color: var(--e-fg); }
.webchk li.todo { color: var(--e-fg); font-weight: 600; }
.webchk li .note { color: var(--e-fg-muted); font-weight: 400; font-size: .9em; }
form.webc { margin-top: 10px; }
