
.ci-card{background:#f1f3ec;border:1px solid #dce3d8;border-radius:22px;padding:28px;margin:22px 0}.ci-heading,.ci-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.ci-heading>span:last-child{font-size:14px;color:#5d6c61}.ci-card h2{font-size:26px;line-height:1.3;margin:12px 0 24px}.ci-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:12px}.ci-choices button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:18px 10px;min-height:118px;background:#fffefa;border:1px solid #d8dfd4;border-radius:18px;color:#3f6554;white-space:normal}.ci-choices button>span{color:#2d3932;font-size:15px;line-height:1.3}.emotion-icon{width:48px;height:48px;flex-shrink:0}.ci-choices button:hover{border-color:#50705e;background:#e3ecdf;transform:translateY(-2px)}.ci-choices button:focus-visible{outline:3px solid #52705e;outline-offset:3px}.ci-choices button:disabled{opacity:.65;transform:none}.ci-footer{margin-top:18px;font-size:13px;color:#626d64}.ci-footer button{background:transparent;border:0;padding:10px 12px;text-decoration:underline;color:inherit}.ci-error{color:#a32341}.ci-notice:empty{display:none}.ci-notice{color:#476348;margin-bottom:12px}.ci-warning{padding:16px;margin-bottom:18px;border:1px solid #b63a50;border-radius:12px;background:#fff1f1;color:#95203d;line-height:1.55}.ci-thanks{display:flex;align-items:center;gap:18px}.ci-thanks h2{font-size:22px;margin:0 0 8px}.ci-thanks p{margin:0}.ci-curve{margin:20px 0}.ci-curve svg{display:block;width:100%;height:auto;margin:14px 0}.ci-curve p{font-size:14px;color:#667369}.ci-history{list-style:none;margin:0;padding:0}.ci-history li{display:grid;grid-template-columns:minmax(120px,190px) 1fr;gap:18px;padding:18px 0;border-top:1px solid #e1e5dd}.ci-history time{font-size:14px;color:#647066}.ci-history p{margin:6px 0 0}.qf-mood-icon .emotion-icon,.qf-symbol .emotion-icon{width:38px;height:38px}body.n8 .ci-card{margin:0 0 24px}body.n8 .ci-card h2{font-family:var(--n8-serif,Georgia,serif)}
@media(max-width:600px){.ci-card{padding:20px 16px}.ci-card h2{font-size:25px}.ci-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ci-choices button{padding:13px 5px;min-height:103px;gap:9px}.ci-choices .emotion-icon{width:40px;height:40px}.ci-choices button>span{font-size:14px}.ci-history li{grid-template-columns:1fr;gap:6px}.ci-footer{align-items:flex-start}.ci-footer>span{max-width:72%}.ci-thanks h2{font-size:23px}}@media(prefers-reduced-motion:reduce){.ci-choices button:hover{transform:none}}

.movement-demo{display:grid;grid-template-columns:1.1fr 1fr;gap:28px;align-items:center}.md-copy h2{font-size:28px;line-height:1.2;margin:12px 0}.md-scene{border-radius:20px;background:#f0f1e8;display:flex;flex-direction:column;align-items:center;padding:20px}.md-scene svg{width:100%;max-width:310px;height:auto}.md-scene>span{font-size:14px;color:#526551;padding:8px}.md-controls{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}.md-controls label{display:flex;gap:8px;align-items:center}.md-copy details{font-size:15px;line-height:1.65}.md-arm{animation-duration:var(--md-duration,6s);animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-play-state:paused;transform-origin:0 0}.md-left{animation-name:md-left}.md-right{animation-name:md-right}.md-playing .md-arm{animation-play-state:running}@keyframes md-left{0%,100%{transform:rotate(0)}50%{transform:rotate(-150deg)}}@keyframes md-right{0%,100%{transform:rotate(0)}50%{transform:rotate(150deg)}}@media(max-width:650px){.movement-demo{grid-template-columns:1fr}.md-scene{grid-row:1}.md-scene svg{max-width:215px}.md-copy h2{font-size:26px}}@media(prefers-reduced-motion:reduce){.md-arm{animation:none}.md-raised .md-left{transform:rotate(-150deg)}.md-raised .md-right{transform:rotate(150deg)}}

.dr-body :is(button,.btn){max-width:100%;white-space:normal;overflow-wrap:anywhere}.dr-body .actions{display:flex;flex-wrap:wrap;gap:10px}
