/* Shared only by interactive Writing activities. */
.hw-support { margin: 14px 0 18px; }
.hw-support-intro { font-size: 16px; line-height: 1.5; }
.hw-talk-panel { margin-top: 18px; padding: 16px; border-radius: 14px; background: #eef4e8; color: #233d35; }
.hw-talk-panel p { font-size: 16px; line-height: 1.6; }
.hw-support button:focus-visible { outline: 3px solid #3269bd; outline-offset: 3px; }
.hw-support button:disabled { opacity: .65; }
.hw-readiness { font-size: 15px; line-height: 1.65; color: #344f42; padding: 14px 16px; background: #f0f4e9; border-radius: 14px; }
.hw-picture-description { margin: 12px 0; font-size: 16px; line-height: 1.6; }
.hw-picture-description summary { padding: 12px 4px; min-height: 44px; cursor: pointer; }
.hw-support[hidden], .hw-support [hidden], .hw-letter-workspace [hidden] { display: none !important; }
.hw-support-actions, .hw-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.hw-support-actions button, .hw-choices button { min-height: 62px; padding: 15px 12px; white-space: normal; overflow-wrap: anywhere; }
.hw-support-actions button { background: #fffefb; font-size: 17px; }
.hw-choice-panel { margin-top: 20px; }
.hw-choice-panel p { font-size: 19px; }
.hw-choices button { min-height: 70px; font-size: clamp(19px,4vw,26px); letter-spacing: .02em; background: #fff; }
.hw-letter-workspace { margin-top: 12px; }
.hw-writing-modes { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.hw-writing-modes button { flex: 1 1 150px; }
.hw-writing-modes button[aria-pressed='true'] { background: #e7f0e1; border-color: #44764d; box-shadow: inset 0 0 0 1px #44764d; }
.hw-letter-help { margin: 0 0 12px; color: #536b4d; font-size: 16px; }
.hw-letter-spaces { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(160px,100%),1fr)); gap: 16px; }
.hw-letter-cell { min-width: 0; }
.hw-letter-position { display: block; margin: 0 0 7px; font-size: 13px; color: #536b4d; font-weight: 800; }
.hw-letter-cell canvas { display: block; position: static; width: 100%; height: 320px; border: 2px solid #a6b9a0; border-radius: 18px; background: #fff; touch-action: none; user-select: none; -webkit-user-select: none; }
.hw-space-count { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.hw-space-count button { min-height: 48px; font-size: 14px; }
@media (max-width:520px) {
  .hw-support-actions { grid-template-columns: 1fr; }
  .hw-support[data-kind='word'] .hw-choices { grid-template-columns: 1fr; }
  .hw-letter-cell canvas { height: 310px; }
}
