/* Values come from the common theme and its report controls. */
.report-fab{position:fixed;right:max(var(--space-16px),env(safe-area-inset-right));bottom:max(var(--space-16px),env(safe-area-inset-bottom));z-index:40;width:var(--report-button-size);height:var(--report-button-size);min-width:var(--report-button-size);min-height:var(--report-button-size);display:grid;place-items:center;padding:var(--zero);border:0;border-radius:var(--fixed-50pct);background:var(--report-fill);color:var(--inverse);box-shadow:0 var(--fixed-4px) var(--fixed-14px) var(--back-shadow)}
.report-fab[hidden]{display:none}
.report-fab svg{width:var(--icon-size);height:var(--icon-size);fill:none;stroke:currentColor;stroke-width:var(--icon-stroke);stroke-linecap:round;stroke-linejoin:round}
.report-resident .report-fab{width:var(--report-resident-button-size);height:var(--report-resident-button-size);min-width:var(--report-resident-button-size);min-height:var(--report-resident-button-size);opacity:calc(1 - var(--opacity-p3))}
body.report-enabled,dialog.report-host{padding-bottom:calc(var(--report-button-size) + var(--space-24px) + env(safe-area-inset-bottom))}
.report-enabled .scene-ui .fab{bottom:calc(var(--report-button-size) + var(--space-24px) + env(safe-area-inset-bottom))}
.report-dialog{width:min(var(--fixed-560px),var(--fixed-100pct));max-width:var(--fixed-100pct);max-height:var(--scene-fixed-88dvh);height:fit-content;margin:auto auto var(--zero);border:0;border-radius:var(--radius-16px) var(--radius-16px) var(--zero) var(--zero);padding:var(--space-16px) max(var(--space-16px),env(safe-area-inset-right)) max(var(--space-16px),env(safe-area-inset-bottom)) max(var(--space-16px),env(safe-area-inset-left));overflow:auto;background:var(--surface);color:var(--ink)}
.report-dialog::backdrop{background:var(--backdrop)}
.report-dialog h2{font-size:var(--text-17px);margin-bottom:var(--space-16px)}
.report-form,.report-form label{display:flex;flex-direction:column;gap:var(--space-12px)}
.report-form textarea{min-height:var(--report-preview-size);width:var(--fixed-100pct);resize:vertical;border:var(--fixed-1px) solid var(--line);border-radius:var(--r);padding:var(--space-12px);font:inherit;background:var(--surface);color:var(--ink)}
.report-form button{min-height:var(--button-height);font:inherit}
.report-form .report-choose,.report-form .report-preview button{border:var(--fixed-1px) solid var(--line);border-radius:var(--r);padding:var(--space-10px) var(--space-14px);background:var(--surface);color:var(--ink);font-weight:var(--font-weight-600)}
.report-previews{display:flex;flex-wrap:wrap;gap:var(--space-12px)}
.report-preview{margin:var(--zero);width:var(--report-preview-size);display:flex;flex-direction:column;gap:var(--space-4px)}
.report-preview img{width:var(--report-preview-size);height:var(--report-preview-size);object-fit:contain;border:var(--fixed-1px) solid var(--line);border-radius:var(--r)}
.report-actions{display:flex;gap:var(--space-12px)}
.report-actions button{flex:1;min-width:var(--zero)}
.report-actions .report-send{background:var(--report-fill);color:var(--inverse);border:0}
.report-notice{position:fixed;bottom:calc(var(--report-button-size) + var(--space-24px) + env(safe-area-inset-bottom));left:var(--space-16px);right:var(--space-16px);max-width:var(--fixed-560px);margin:auto;padding:var(--space-12px);z-index:40;background:var(--header);color:var(--header-text);border-radius:var(--r)}
.report-notice[hidden]{display:none}

html:has(.report-dialog[open]){overflow:hidden}
.report-form .error:empty{display:none}
