.dlg{max-height:calc(100dvh - 2 * var(--s4));overflow-y:auto}.dlg__head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--s3)}.dlg__title{font-size:var(--text-section);font-weight:700;overflow-wrap:anywhere}.dlg__x{flex:none;width:40px;height:40px;border-radius:var(--r-control);border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;font-size:1.4rem;line-height:1;cursor:pointer}.dlg__x:hover{background:color-mix(in oklab,var(--navy) 6%,var(--surface))}.dlg__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:var(--s2)}