/* Webhook Signature Verifier: the fields above the button and the verdict below it. Loaded only on /tools/webhook-verify/. */
.matrix-ui .wh-headers { min-height: 132px; }
.wh-field { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--matrix-space-8); justify-items: start; } /* the column never grows past the panel, so a long list of schemes is cut to fit */
.wh-field > label { font-weight: 600; }
.wh-field .option-row, .wh-export .option-row { margin: 0; }
.wh-field .text-note { margin: 0; }
.wh-generic { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--matrix-space-16); }
.wh-wide { width: min(100%, 32em); box-sizing: border-box; }
.wh-narrow { width: 9em; box-sizing: border-box; }
/* The scheme and the time window, folded under a summary that says what they are set to (Jack's register T49-02); the
   summary is a 44 px target, and the box is no taller than it while folded. */
.wh-advanced:not([open]) { padding-block: 0; }
.wh-advanced > summary { cursor: pointer; font-weight: 600; min-height: 44px; box-sizing: border-box; padding-block: 10px; overflow-wrap: anywhere; }
.wh-state { font-weight: 400; }
.wh-show[aria-pressed="true"] { background: var(--matrix-brand); color: var(--matrix-on-brand); border-color: transparent; }
/* The shell's result panel is the green of a finished job; a request that is refused must not look like one. */
.result.wh-refused { background: var(--matrix-danger-background); }
.result.wh-refused h2 { color: var(--matrix-danger); }
.wh-summary { margin-top: 0; }
.wh-reasons, .wh-findings, .wh-notes, .wh-list { margin: 0 0 var(--matrix-space-12); padding-left: 1.25em; display: grid; gap: 6px; overflow-wrap: anywhere; }
.wh-list { margin: 0; }
.wh-facts { display: grid; grid-template-columns: minmax(9em, max-content) 1fr; gap: 6px var(--matrix-space-12); margin: 0 0 var(--matrix-space-12); }
.wh-facts dt { font-weight: 600; }
.wh-facts dd { margin: 0; overflow-wrap: anywhere; min-width: 0; }
.wh-mono, .wh-pre { font-family: var(--matrix-font-mono); font-size: 0.875rem; }
.wh-mono { overflow-wrap: anywhere; }
.wh-reading { margin: var(--matrix-space-12) 0; }
.wh-reading summary { font-weight: 600; cursor: pointer; }
.wh-pre { margin: var(--matrix-space-8) 0 0; padding: var(--matrix-space-12); max-height: 24em; overflow: auto; white-space: pre; border: 1px solid var(--matrix-border); border-radius: var(--matrix-radius-control); background: var(--matrix-surface); }
.wh-export { border-top: 1px solid var(--matrix-border); margin-top: var(--matrix-space-16); padding-top: var(--matrix-space-12); }
.wh-export h3 { margin-top: 0; }
@media (max-width: 600px) { .wh-facts { grid-template-columns: 1fr; } .wh-facts dd { margin-bottom: 6px; } }
