.awz-ww {
  --ww-accent: var(--accent-dark, #72352f);
  --ww-ink: var(--ink, #24313b);
  --ww-line: var(--line, #cfd7da);
  color: var(--ww-ink);
  font-size: 18px;
  line-height: 1.55;
  min-width: 0;
  width: 100%;
}
.awz-ww *, .awz-ww *::before, .awz-ww *::after { box-sizing: border-box; }
.awz-ww button, .awz-ww textarea { font: inherit; }
.awz-ww button, .awz-ww a, .awz-ww textarea { touch-action: manipulation; }
.awz-ww button { cursor: pointer; }
.awz-ww button:disabled { cursor: default; opacity: .58; }
.awz-ww :focus-visible { outline: 3px solid var(--ww-accent); outline-offset: 4px; }
.awz-ww [data-ww-heading] { scroll-margin-top: 130px; }
.awz-ww h2 { max-width: 30ch; margin: 0 0 18px; font-size: clamp(1.55rem, 3vw, 2.3rem); line-height: 1.2; letter-spacing: -.02em; }
.awz-ww h3 { max-width: none; margin: 0 0 12px; font-size: 1.12rem; line-height: 1.35; }
.ww-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.ww-role { min-width: 0; min-height: 52px; padding: 12px 16px; border: 1px solid var(--ww-line); border-radius: 4px; background: #fff; color: var(--ww-ink); font-weight: 700; overflow-wrap: anywhere; }
.ww-role[aria-pressed="true"] { border-color: var(--ww-accent); color: #fff; background: var(--ww-accent); }
.ww-role:hover:not([aria-pressed="true"]), .ww-choice:hover { border-color: var(--ww-accent); background: var(--secondary-soft, #e2ecef); }
.ww-panel { padding: clamp(20px, 4vw, 38px); border: 1px solid var(--ww-line); border-radius: 4px; background: #fff; min-width: 0; }
.ww-progress { margin: 0 0 16px; color: var(--ww-accent); font-weight: 700; }
.ww-hint { margin: 0 0 16px; color: var(--ink-soft, #55636c); }
.ww-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.ww-choice { display: flex; align-items: center; gap: 13px; min-width: 0; min-height: 65px; padding: 15px 16px; border: 1px solid var(--ww-line); border-radius: 4px; background: var(--paper, #fbfaf7); color: var(--ww-ink); text-align: left; font-size: 18px; line-height: 1.4; overflow-wrap: anywhere; }
.ww-choice::before { content: ''; display: block; flex: 0 0 22px; width: 22px; height: 22px; border: 1px solid #79858b; border-radius: 3px; background: #fff; text-align: center; line-height: 20px; font-weight: 800; }
.ww-choice[aria-pressed="true"] { border-color: var(--ww-accent); background: #f7ece9; }
.ww-choice[aria-pressed="true"]::before { content: '\2713'; border-color: var(--ww-accent); background: var(--ww-accent); color: #fff; }
.ww-status { min-height: 1.6em; margin: 16px 0; color: var(--ww-accent); font-size: 17px; overflow-wrap: anywhere; }
.ww-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin-top: 20px; }
.ww-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; min-width: 0; max-width: 100%; padding: 13px 18px; border: 1px solid var(--ww-line); border-radius: 4px; color: var(--ww-ink); background: var(--paper, #fbfaf7); font-weight: 700; line-height: 1.4; text-align: center; overflow-wrap: anywhere; }
.ww-button:hover:not(:disabled) { border-color: var(--ww-accent); background: var(--secondary-soft, #e2ecef); }
.ww-primary { color: #fff; background: var(--ww-accent); border-color: var(--ww-accent); }
.ww-primary:hover:not(:disabled) { color: #fff; background: var(--accent, #a34c42); }
.ww-navigation { justify-content: space-between; }
.ww-exports { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ww-exports .ww-primary { grid-column: 1 / -1; }
.ww-summary { margin: 0; }
.ww-summary dt { margin: 20px 0 5px; color: var(--ink-soft, #55636c); font-weight: 600; font-size: 17px; }
.ww-summary dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.ww-role-label { margin: 0 0 18px; color: var(--ink-soft, #55636c); }
.ww-followup { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--ww-line); }
.ww-link, .ww-text-button { display: inline-flex; align-items: center; min-height: 48px; color: var(--ww-accent); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.ww-text-button { padding: 8px 0; border: 0; border-radius: 0; background: transparent; text-align: left; }
.ww-field { margin: 28px 0; min-width: 0; }
.ww-field label { display: block; margin-bottom: 12px; font-size: 1.12rem; font-weight: 700; }
.ww-field textarea { display: block; width: 100%; min-width: 0; min-height: 140px; padding: 14px; border: 1px solid #929da3; border-radius: 4px; background: #fff; color: var(--ww-ink); resize: vertical; font-size: 18px; line-height: 1.55; }
.ww-count { margin: 7px 0 0; color: var(--ink-soft, #55636c); font-size: 17px; }
.ww-preview { min-width: 0; margin: 30px 0 20px; padding: 22px; border-left: 3px solid var(--ww-accent); background: var(--paper, #fbfaf7); }
.ww-preview .ww-summary dt:first-child { margin-top: 0; }
@media (max-width: 640px) {
  .ww-roles { gap: 7px; }
  .ww-role { padding: 12px 6px; font-size: 17px; }
  .ww-choices { grid-template-columns: minmax(0, 1fr); }
  .ww-panel { padding: 20px 16px; }
  .ww-choice { padding: 14px 12px; }
  .ww-exports { grid-template-columns: minmax(0, 1fr); }
  .ww-actions:not(.ww-navigation) .ww-button { width: 100%; }
  .ww-preview { padding: 18px 14px; }
  .ww-followup { align-items: flex-start; flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .awz-ww *, .awz-ww *::before, .awz-ww *::after { scroll-behavior: auto; transition: none; }
}
@media print {
  .awz-ww .ww-roles, .awz-ww .ww-exports, .awz-ww .ww-followup, .awz-ww .ww-navigation, .awz-ww .ww-status { display: none; }
  .ww-panel { padding: 0; border: 0; }
  .ww-preview { break-inside: avoid; }
}
