/* Dialog styles from the Upgrade landing. */
.module-dialog{width:min(900px,94vw);max-width:94vw;max-height:90dvh;border:1px solid var(--line);border-radius:24px;background:#fff;color:var(--ink);padding:0;box-shadow:0 25px 100px #14293444;overflow:auto;overscroll-behavior:contain}.module-dialog::backdrop{background:#172738b8;backdrop-filter:blur(5px)}.module-dialog__close{position:sticky;top:14px;float:right;margin:14px 16px -58px 0;width:42px;height:42px;display:grid;place-items:center;z-index:2;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--teal-deep);cursor:pointer}.module-dialog__close:hover{background:var(--bg-soft)}.module-dialog__hero{padding:38px 72px 32px 38px;background:linear-gradient(130deg,#e8f3f5,#f6faf9);border-bottom:1px solid var(--line)}.module-dialog__kind{font-size:13px;font-weight:800;color:var(--teal-deep);margin:0 0 14px}.module-dialog__hero h2{font:600 clamp(1.7rem,4vw,2.5rem)/1.25 var(--display);margin:0 0 16px}.module-dialog__hero>p:last-child{font-size:1.05rem;line-height:1.6;margin:0;color:var(--muted)}.module-dialog__section{padding:24px 38px;border-bottom:1px solid var(--line)}.module-dialog__section h3{font-size:1.1rem;line-height:1.4;margin:0 0 12px}.module-dialog__section p{font-size:1rem;line-height:1.7;margin:0;color:var(--muted)}.module-dialog__bottom{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:28px 38px;background:#f6fafb}.module-dialog__bottom p{font-size:1rem;font-weight:700;margin:0}.dialog-open{overflow:hidden}.module-dialog button:focus-visible,.module-dialog a:focus-visible{outline:3px solid var(--teal);outline-offset:3px}@media(max-width:600px){.module-dialog{width:96vw;max-width:96vw;border-radius:18px}.module-dialog__hero{padding:30px 64px 24px 24px}.module-dialog__section{padding:22px 24px}.module-dialog__bottom{padding:24px;align-items:stretch;flex-direction:column}}
.module-dialog__hero h2,.module-dialog__section h3{display:flex;align-items:flex-start;gap:12px}
.module-dialog__hero h2>i{font-size:.85em;line-height:1.45;color:var(--teal);flex:0 0 1.1em}
.module-dialog__section h3>i{color:var(--teal);font-size:1.15em;line-height:1.3;flex:0 0 1.1em}
.module-dialog{overflow:hidden;padding:0;max-height:90dvh}
.module-dialog__body{overflow-y:auto;overflow-x:hidden;max-height:calc(90dvh - 20px);margin:10px 8px 10px 0;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#94c4cb transparent;scrollbar-gutter:stable}
.module-dialog__body::-webkit-scrollbar{width:7px}
.module-dialog__body::-webkit-scrollbar-track{background:transparent}
.module-dialog__body::-webkit-scrollbar-thumb{background:#94c4cb;border-radius:99px}
.module-dialog__body::-webkit-scrollbar-thumb:hover{background:var(--teal)}
.module-dialog__close{position:absolute;right:16px;top:14px;float:none;margin:0}
.module-dialog{background:#f6fafb}
.module-dialog__body{margin:0 8px 0 0;max-height:90dvh;border-radius:22px;background:#f6fafb;clip-path:inset(0 round 22px);scrollbar-gutter:stable}
.module-dialog__body::-webkit-scrollbar-track{margin-block:18px}
.module-dialog__hero{background:#e8f3f5}
.module-dialog__section{background:#fff}
@media(max-width:600px){.module-dialog__body{border-radius:16px;clip-path:inset(0 round 16px)}}
.module-dialog__hero h2{align-items:flex-start}
.module-dialog__hero h2>i{display:inline-flex;align-items:center;justify-content:center;font-size:.85em;height:1.4706em;line-height:1!important;flex:0 0 1.1em;margin:0;padding:0}
.module-dialog__section h3{align-items:flex-start}
.module-dialog__section h3>i{display:inline-flex;align-items:center;justify-content:center;font-size:1.15em;height:1.2174em;line-height:1!important;flex:0 0 1.1em;margin:0;padding:0}
.module-dialog__hero h2>i::before,.module-dialog__section h3>i::before{display:block;line-height:1}
.module-dialog__hero h2>i,.module-dialog__section h3>i{transform:translateY(.12em)}
.module-dialog__body{margin:0;scrollbar-gutter:auto;border-radius:0;clip-path:none;background:transparent;scrollbar-color:#94c4cb #f6fafb}
.module-dialog__body::-webkit-scrollbar{width:6px}
.module-dialog__body::-webkit-scrollbar-track{background:#f6fafb;margin-block:20px;border-radius:99px}
.module-dialog__body::-webkit-scrollbar-thumb{background:#94c4cb;border-radius:99px}
.module-dialog__body::-webkit-scrollbar-thumb:hover{background:var(--teal)}
