.wh-word-report{width:min(880px,calc(100vw - 2rem));max-height:90dvh;box-sizing:border-box;border:1px solid var(--border);border-radius:22px;background:var(--card,#101a28);color:var(--text,#fff);padding:clamp(1rem,3vw,2rem)}
.wh-word-report::backdrop{background:rgba(0,0,0,.75)}
.wh-word-report p{line-height:1.6}
.wh-word-report-heading{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}
.wh-word-report h2{margin:.3rem 0 1rem}
.wh-word-report .wh-btn{min-height:48px}
.wh-word-report .wh-page-actions{display:flex;flex-wrap:wrap;gap:.65rem}
.wh-word-report .wh-btn:disabled{opacity:.5;cursor:not-allowed}
.wh-word-report [data-report-preview-actions]{margin-top:1.5rem}
.wh-word-report [hidden]{display:none!important}
.wh-word-report fieldset{border:1px solid var(--border);border-radius:14px;padding:.75rem;margin:1rem 0}
.wh-word-report legend{font-weight:700;padding:0 .4rem}
.wh-word-report-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));max-height:240px;overflow:auto;gap:.25rem}
.wh-word-report-choices label{display:flex;align-items:center;gap:.65rem;min-height:48px;overflow-wrap:anywhere}
.wh-word-report-choices input{width:20px;height:20px;flex:none;accent-color:var(--brand)}
.wh-word-report-dates{display:flex;flex-wrap:wrap;gap:1rem;margin-top:1rem}
.wh-word-report-dates label{display:grid;gap:.4rem;flex:1;min-width:0}
.wh-word-report-dates input{width:100%;box-sizing:border-box;min-height:48px;min-width:0;padding:.65rem;border:1px solid var(--border);border-radius:10px;background:var(--bg);color:var(--text);font:inherit;color-scheme:dark}
.wh-word-report-output:empty{display:none}
.wh-word-report-output{margin-top:2rem;padding-top:1.5rem;border-top:2px solid var(--brand)}
.wh-word-report-output header{margin-bottom:1.5rem}
.wh-word-report-word{border:1px solid var(--border);border-radius:16px;padding:1rem;margin-top:1rem;break-inside:avoid;overflow-wrap:anywhere}
.wh-word-report-word h3{font-size:1.35rem;margin:0;color:var(--gold,#f8d76e)}
.wh-word-report-current{color:var(--muted);font-size:.9rem}
.wh-word-report-word dl{display:grid;grid-template-columns:1fr 1fr;gap:.6rem 1.5rem}
.wh-word-report-word dl>div{display:flex;justify-content:space-between;gap:.5rem}
.wh-word-report-word dd{margin:0;font-weight:700}
.wh-word-report-result{border-left:3px solid var(--brand);padding:.65rem;background:rgba(95,178,139,.1);border-radius:6px}
@media(max-width:480px){.wh-word-report-word dl{grid-template-columns:1fr}.wh-word-report-dates{display:grid}.wh-word-report-heading{flex-wrap:wrap}}
@media print{
  @page{margin:16mm}
  body.wh-word-report-open>*:not(.wh-word-report){display:none!important}
  body.wh-word-report-open{display:block!important;margin:0!important;padding:0!important;background:#fff!important;color:#111!important}
  .wh-word-report[open]{display:block!important;position:static!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;overflow:visible!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#fff!important;color:#111!important;box-shadow:none!important}
  .wh-word-report::backdrop,.wh-word-report-controls{display:none!important}
  .wh-word-report-output{margin:0;border:0;padding:0;outline:none;font:11pt/1.45 Arial,sans-serif}
  .wh-word-report-output *{color:#111!important;text-shadow:none!important;box-shadow:none!important}
  .wh-word-report-word{border:1px solid #999;break-inside:avoid;page-break-inside:avoid}
  .wh-word-report-result{background:#f5f5f5;border-color:#555}
  .wh-word-report-output h2{font-size:22pt}.wh-word-report-output h3{font-size:15pt}
}
