/* The sign-in pop-up and the zero data retention panel. */
html.modal-on { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 24px; background: rgba(0, 0, 0, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s; }
.modal.open { opacity: 1; }
/* the chat app has a .modal of its own, which goes edge to edge on a narrow window; this one always sits in the middle */
.modal.kn-pop { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 24px; }
.modal-box { position: relative; width: min(420px, 100%); border-radius: 12px; background: #080c10; border: 1px solid rgba(255, 255, 255, .11); box-shadow: 0 50px 100px -40px #000; transform: translateY(10px) scale(.985); transition: transform .25s cubic-bezier(.2, .7, .2, 1); overflow: hidden; }
.modal.open .modal-box { transform: none; }
.modal iframe { display: block; width: 100%; height: 440px; border: 0; background: transparent; opacity: 0; transition: opacity .2s, height .2s; color-scheme: dark; }
.modal.ready iframe { opacity: 1; }
.modal-x { all: unset; position: absolute; right: 12px; top: 10px; z-index: 2; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 6px; cursor: pointer; color: #8b96a1; font-size: 20px; line-height: 1; }
.modal-x:hover { color: #fff; background: rgba(255, 255, 255, .07); }

/* what is kept and what is not */
.keep { padding: 6px 20px 10px; }
.keeprow { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 14.5px; }
.keeprow:last-child { border-bottom: 0; }
.keeprow span { color: #c3ccd6; }
.keeprow b { font: 400 13px var(--mono); white-space: nowrap; padding: 4px 10px; border-radius: 5px; }
.keeprow.no b { color: #8fdcae; background: rgba(111, 214, 160, .09); }
.keeprow.yes b { color: #c3ccd6; background: rgba(255, 255, 255, .06); }
