.overlay{background:var(--overlay);padding:var(--s5);z-index:10;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal{width:100%;max-width:var(--narrow);border:1px solid var(--subtle-line);border-radius:var(--r3);background:var(--surface);box-shadow:var(--shadow);max-height:90vh;outline:none;max-height:90dvh;overflow:auto}.modal-header{justify-content:space-between;align-items:center;gap:var(--s4);padding:var(--s4) var(--s5);border-bottom:1px solid var(--subtle-line);display:flex}.modal-header h2{font-size:var(--lg)}.modal-body{padding:var(--s5)}.modal-body p{font-size:var(--sm);margin-top:0}.sheet-overlay{padding:var(--s3);align-items:flex-end}.sheet-modal{flex-direction:column;display:flex;overflow:hidden}.sheet-modal .modal-header{flex-shrink:0}.sheet-modal .modal-body{flex-direction:column;min-height:0;display:flex;overflow:auto}.sheet-modal .choice-results{height:50dvh;max-height:50dvh}
