/* 0.1.297 代客烘焙：預設標題、兩張短卡、頁上詢問表。展開後才是完整說明。 */
.wcr{
  max-width:40rem;
  margin:16px auto 32px;
  padding:8px 16px 28px;
  color:#163f35;
  font-family:system-ui,-apple-system,"PingFang TC","Noto Sans TC","WenQuanYi Micro Hei",sans-serif;
}
.wcr-title{
  margin:0 0 14px;
  font-size:1.35rem;
  line-height:1.35;
  font-weight:800;
  letter-spacing:.01em;
}
.wcr-cards{display:flex;flex-direction:column;gap:10px}
.wcr-card{
  border:1px solid #e3e6dc;
  border-radius:16px;
  background:#fff;
  overflow:hidden;
}
.wcr-face{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  min-height:72px;
  margin:0;
  padding:12px 14px;
  border:0;
  background:#f7f4ee;
  color:#163f35;
  text-align:left;
  cursor:pointer;
}
.wcr-face[aria-expanded="true"]{background:#e7f0ea}
.wcr-ico{width:40px;height:40px;flex:0 0 40px;color:#163f35}
.wcr-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
.wcr-name{font-size:1.05rem;font-weight:800;line-height:1.3}
.wcr-line{font-size:.95rem;line-height:1.45;color:#3d524a}
.wcr-chev{
  margin-left:auto;
  width:10px;height:10px;flex:0 0 10px;
  border-right:2px solid #163f35;border-bottom:2px solid #163f35;
  transform:rotate(45deg) translateY(-2px);
}
.wcr-face[aria-expanded="true"] .wcr-chev{transform:rotate(225deg) translateY(-2px)}
.wcr-more{padding:4px 16px 16px;background:#fff}
.wcr-more h3{margin:12px 0 6px;font-size:1rem;font-weight:800;color:#163f35}
.wcr-more p{margin:0;font-size:1rem;line-height:1.65;color:#1d332c}
.wcr-steps{
  margin:0;
  padding:0;
  list-style:none;
  counter-reset:wcr;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.wcr-steps li{
  display:flex;
  gap:8px;
  align-items:flex-start;
  font-size:1rem;
  line-height:1.5;
  color:#1d332c;
}
.wcr-steps li::before{
  counter-increment:wcr;
  content:counter(wcr);
  flex:0 0 1.6rem;
  width:1.6rem;
  height:1.6rem;
  border-radius:999px;
  background:#e7f0ea;
  color:#163f35;
  font-weight:800;
  font-size:.85rem;
  display:grid;
  place-items:center;
}
.wcr-figs{display:grid;gap:8px;margin:12px 0 0}
.wcr-figs div{
  margin:0;
  padding:8px 10px;
  border:1px dashed #c9d4cb;
  border-radius:12px;
  background:#f7f4ee;
}
.wcr-figs dt{font-size:.8rem;font-weight:800;color:#3d524a}
.wcr-figs dd{margin:2px 0 0;font-size:1rem;font-weight:750;color:#163f35}
.wcr-fig-pending{color:#6a7467;font-weight:650}
.wcr-form{
  margin-top:18px;
  padding:16px 14px 18px;
  border:1px solid #e3e6dc;
  border-radius:16px;
  background:#fff;
}
.wcr-form h2{margin:0 0 4px;font-size:1.15rem;font-weight:800}
.wcr-form-lead{margin:0 0 12px;color:#3d524a;line-height:1.5}
.wcr-note{margin:0 0 12px;padding:10px 12px;border-radius:12px;line-height:1.45}
.wcr-note.is-ok{background:#e7f0ea;color:#163f35}
.wcr-note.is-err{background:#fdecea;color:#8a2a22}
.wcr-types{margin:0 0 12px;padding:0;border:0;display:grid;gap:8px}
.wcr-types legend{padding:0;margin:0 0 6px;font-weight:800}
.wcr-type{
  display:flex;align-items:center;gap:8px;
  min-height:48px;margin:0;padding:8px 12px;
  border:1px solid #d5ddd6;border-radius:12px;background:#f7f4ee;
}
.wcr-type:has(input:checked){background:#e7f0ea;border-color:#163f35}
.wcr-type input{width:18px;height:18px;margin:0;flex:0 0 auto}
.wcr-field{display:flex;flex-direction:column;gap:4px;margin:0 0 12px;font-weight:750}
.wcr-field input,.wcr-field textarea{
  width:100%;box-sizing:border-box;
  min-height:48px;padding:10px 12px;
  border:1px solid #c9d4cb;border-radius:12px;
  background:#fff;color:#163f35;
  font:inherit;font-weight:550;font-size:16px;
}
.wcr-field textarea{min-height:96px;resize:vertical}
.wcr-field input:focus,.wcr-field textarea:focus,.wcr-type input:focus{
  outline:2px solid #163f35;outline-offset:2px;
}
.wcr-submit{
  display:flex;align-items:center;justify-content:center;
  width:100%;min-height:48px;margin-top:4px;
  border:0;border-radius:999px;background:#163f35;color:#fff;
  font-size:1.05rem;font-weight:800;cursor:pointer;
}
.wcr-submit:hover,.wcr-submit:focus{background:#0f2c26}
.wcr-plan{
  margin:14px 0 0;
  padding:12px 14px;
  border-radius:12px;
  background:#f7f4ee;
  color:#3d524a;
  font-size:.92rem;
  line-height:1.5;
}
.wcr-plan a{color:#163f35;font-weight:750}
@media (min-width:800px){
  .wcr{padding-top:20px}
  .wcr-title{font-size:1.7rem}
  .wcr-figs{grid-template-columns:repeat(3,minmax(0,1fr))}
  .wcr-types{grid-template-columns:1fr 1fr}
  .wcr-submit{width:auto;min-width:220px}
}
