.ch-work{color:#283b42;overflow-wrap:anywhere}
.ch-intro{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:16px;background:#f1f3f6;border-radius:12px}
.ch-section-head{margin:25px 0 0}.ch-section-head h2{margin:0;font-size:1.3rem}
.ch-hint,.ch-rule{color:#4f596a;font-size:.94rem;margin:4px 0 14px}
.ch-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:12px;align-items:stretch}
.ch-card{display:flex;flex-direction:column;background:#fff;border:1px solid #c2c8d2;border-top:4px solid #879da9;border-radius:11px;padding:15px;min-width:0}
.ch-card[data-selected]{border-color:#c87949;background:#fff7ee}
.ch-card-head,.ch-card-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:space-between}
.ch-number,.ch-check,.ch-kicker{font-weight:700;letter-spacing:.03em;font-size:.85rem;color:#445f6b}
.ch-check{color:#824522}.ch-card h3,.ch-result h3{font-size:1.18rem;line-height:1.45;margin:10px 0 0}
.ch-card :is(dl,dd),.ch-result :is(dl,dd){margin:0}
.ch-card dt,.ch-result dt{font-size:.86rem;font-weight:700;color:#4d5768;margin-top:12px}
.ch-card dd,.ch-result dd,.ch-pick-action,.ch-criterion{white-space:pre-wrap}
.ch-card-actions{margin-top:auto;padding-top:16px}.ch-work button{font:inherit;line-height:1.45}
.ch-card-actions button,.ch-add{min-height:40px;padding:8px 13px;border:1px solid #b8bfca;border-radius:8px;background:#fff;color:#313947}
.ch-work .ch-pick{background:#24445a;border-color:#24445a;color:white;font-weight:650}
.ch-empty{border-style:dashed!important;width:100%;padding:20px 8px!important}
.ch-add{margin-top:12px}.ch-help{margin:14px 0;color:#47505f}.ch-help summary{cursor:pointer}.ch-help p,.ch-rule{margin:7px 0}
.ch-result{margin-top:20px;padding:17px 20px;border-left:4px solid #df8753;background:#fff3e6;border-radius:0 10px 10px 0}
.ch-kicker{margin:0;color:#824522}.ch-criterion{margin:0;background:#f2f4f6;padding:10px 12px;border-radius:6px}.ch-pick-title{font-size:1.15rem}.ch-pick-action{margin:0}
@media(max-width:650px){.ch-intro{grid-template-columns:1fr;gap:12px}.ch-grid{grid-template-columns:1fr}}
@media print{.ch-card-actions,.ch-help,.ch-rule,.ch-add{display:none}.ch-card,.ch-result{break-inside:avoid}}

.ch-steps{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0 0 1rem;padding:0}.ch-steps li{border-bottom:3px solid #d6dce4;padding:.4rem .15rem;font-size:.86rem;color:#546174}.ch-steps [aria-current]{border-color:#b94e17;color:#213454;font-weight:700}.ch-heading{font-size:1.35rem}.ch-heading:focus{outline:none}.ch-nav{display:flex;gap:.6rem;margin-top:1rem}.ch-nav button{padding:.6rem 1rem;border:1px solid #bac4d0;border-radius:8px;color:#213454;background:white}.ch-nav .ch-next{background:var(--series-action);border-color:var(--series-action);color:white;font-weight:700}.ch-work .ch-grid+.fw-field{margin-top:1rem}.fw-action[hidden]{display:none}

form:has(.ch-pick-title) > button[type="submit"] {
  min-height:44px;
  padding:.65rem 1rem;
  border:1px solid #213454;
  border-radius:8px;
  background:#213454;
  color:#fff;
  font:inherit;
  font-weight:650;
  cursor:pointer;
}
form:has(.ch-pick-title) > button[type="submit"]:hover {background:#162640}

.ch-finish{padding:clamp(16px,4vw,40px);text-align:center;background:#fff8ef;border-radius:16px;color:#213454}
.ch-finish img{display:block;width:min(100%,360px);max-height:220px;object-fit:contain;margin:0 auto 14px;filter:contrast(1.18) brightness(1.02);mix-blend-mode:multiply}
.ch-finish .ch-heading{font-size:clamp(1.25rem,3vw,1.85rem);margin:0 auto 16px}
.ch-first-action{width:fit-content;max-width:100%;box-sizing:border-box;margin:0 auto;padding:.65em 1em;border-radius:10px;background:white;border-bottom:3px solid #b94e17;font-weight:700;font-size:clamp(1.25rem,3.2vw,2rem);white-space:pre-wrap;overflow-wrap:anywhere}
