.modal{border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:var(--radius);background:var(--panel);width:min(34rem,100vw - 2rem);max-height:min(85vh,40rem);color:var(--ink);flex-direction:column;padding:0;display:flex;box-shadow:0 12px 40px #1d2b282e}.modal::backdrop{background:#1d2b2861}.modal-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:12px;padding:14px 16px 10px;display:flex}.modal-heading{min-width:0}.modal-eyebrow{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin:0 0 2px;font-size:.72rem;font-weight:700}.modal-title{margin:0;font-size:1.12rem;line-height:1.25}.modal-close{border-radius:var(--m3-shape-full);width:40px;height:40px;color:var(--muted);cursor:pointer;background:0 0;border:0;flex:none;justify-content:center;align-items:center;font-size:1.1rem;line-height:1;transition:background-color .14s;display:inline-flex}.modal-close:hover{background:color-mix(in srgb, var(--ink) 8%, transparent);color:var(--ink)}.modal-body{flex:1;min-height:0;padding:12px 16px 16px;font-size:.92rem;line-height:1.5;position:relative;overflow-y:auto}.modal-body p{margin:0 0 .45rem}.modal-body p:last-child{margin-bottom:0}@media (prefers-reduced-motion:no-preference){.modal[open]{animation:.16s ease-out modal-rise}.modal[open]::backdrop{animation:.16s ease-out modal-fade}}@keyframes modal-rise{0%{opacity:0;transform:translateY(10px)scale(.985)}}@keyframes modal-fade{0%{opacity:0}}.modal.modal-wide{width:calc(100vw - 2rem);max-width:88rem;height:calc(100dvh - 2rem);max-height:none;overflow:hidden}@media (width<=600px){.modal.modal-wide{border-radius:0;width:100vw;max-width:100vw;height:100dvh}}
