/* site parts every report shares: diagnosis form, footer. Tokens come from the report's :root. */
body{word-break:keep-all;overflow-wrap:anywhere}
.dx{border:1px solid var(--accent);border-radius:8px;padding:18px;background:var(--panel)}
.dx form{display:flex;flex-direction:column;gap:14px}
.dx label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:500}
.dx .opt{font-weight:400;color:var(--muted);font-size:12px}
.dx input:not([type=checkbox]),.dx textarea{font:inherit;font-weight:400;font-size:16px;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:6px;padding:10px 12px;width:100%;box-sizing:border-box}
.dx textarea{resize:vertical;min-height:84px}
.dx input:focus-visible,.dx textarea:focus-visible,.dx button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.dx fieldset{border:0;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}
.dx legend{font-size:14px;font-weight:500;padding:0;margin-bottom:8px}
.dx .chips{display:flex;flex-wrap:wrap;gap:8px}
.dx .chips label{flex-direction:row;align-items:center;gap:6px;border:1px solid var(--line);border-radius:999px;padding:7px 12px;font-weight:400;cursor:pointer;background:var(--paper)}
.dx .chips label:has(input:checked){border-color:var(--accent);color:var(--accent)}
.dx input[type=checkbox]{accent-color:var(--accent);width:18px;height:18px;margin:0;flex:none}
.dx .consent{display:flex;flex-direction:column;gap:8px;font-size:13px}
.dx .consent label{flex-direction:row;align-items:flex-start;gap:8px;font-size:14px}
.dx .consent p{color:var(--muted);line-height:1.55;margin:0 0 0 26px}
.dx .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.dx button{font:inherit;font-weight:700;font-size:16px;color:var(--paper);background:var(--accent);border:0;border-radius:6px;padding:13px 16px;cursor:pointer;min-height:48px}
.dx button:disabled{opacity:.6;cursor:default}
.dx-status{font-size:14px;margin:0;min-height:1.4em}
.dx-status.err{color:var(--accent)}
.dx.done form>*:not(.dx-status){display:none}
.dx.done .dx-status{font-size:16px;color:var(--ink)}
.site-foot{font-size:13px;color:var(--muted);display:flex;flex-direction:column;gap:4px;border-top:1px solid var(--line);padding-top:16px}
