/* Membership sign-up: the waiver the applicant must agree to. Shown inline without JavaScript, and as a pop-up (dialog) with it. */
.waiver-panel { display: grid; gap: .9rem; padding: 1.2rem 1.3rem; background: var(--ink-2); border: 1px solid var(--line); border-left: 4px solid var(--accent); }
.waiver-panel h4 { margin: 0; font-size: 1.3rem; }
.waiver-title { margin: .4rem 0 0; font-size: 1rem; letter-spacing: .08em; }
.waiver-text { max-height: 22rem; overflow: auto; padding: 1rem 1.2rem; background: #0a0e13; border: 1px solid var(--line); font: 400 .95rem/1.55 var(--body); letter-spacing: 0; text-transform: none; color: var(--paper); }
.waiver-text:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.waiver-text p, .waiver-text li, .waiver-text td { margin-top: .6rem; line-height: 1.55; }
.waiver-text ul, .waiver-text ol { margin: .6rem 0 0 1.4rem; }
.waiver-text table { border-collapse: collapse; margin-top: .8rem; }
.waiver-text td, .waiver-text th { border: 1px solid var(--line); padding: .4rem .6rem; }
.waiver-check { display: flex; align-items: flex-start; gap: .7rem; font: 400 1rem/1.4 var(--body); letter-spacing: 0; text-transform: none; color: var(--paper); }
.waiver-check input { margin-top: .3rem; flex: none; }
.waiver-check input[aria-invalid="true"] { outline: 2px solid var(--accent-text); }
.waiver-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

dialog.waiver-dialog { width: min(46rem, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); margin: auto; padding: 0; overflow: auto; color: var(--paper); background: var(--ink-2); border: 1px solid var(--line); }
dialog.waiver-dialog::backdrop { background: rgba(0, 0, 0, .78); }
dialog.waiver-dialog .waiver-panel { border: 0; border-left: 4px solid var(--accent); }
dialog.waiver-dialog .waiver-text { max-height: 40vh; }
dialog.waiver-dialog .waiver-actions { display: flex; }
