/* TR Immigration - glossary tooltips. Hairline border, accent top edge, no shadow, 2px radius. */
.tr-term-wrap{position:relative;display:inline;}
.tr-term{appearance:none;-webkit-appearance:none;background:none;border:0;margin:0;padding:0;font:inherit;font-weight:inherit;font-style:inherit;letter-spacing:inherit;color:inherit;text-align:inherit;cursor:help;border-bottom:1px dotted #1E61AF;}
/* The theme styles every button:hover / :focus / :active with a solid blue fill and white text, and touch screens keep :hover after a tap, so a tapped term turned into a blue block with blue text. Keep terms looking like text in every state. */
.tr-term,.tr-term:hover,.tr-term:focus,.tr-term:active,.tr-term[aria-expanded="true"]{background:transparent !important;background-color:transparent !important;box-shadow:none !important;text-shadow:none !important;border-radius:0;border-top:0;border-left:0;border-right:0;border-bottom:1px dotted #1E61AF !important;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;}
.tr-term:focus,.tr-term:active{color:inherit !important;}
.tr-term:hover,.tr-term[aria-expanded="true"]{color:#1E61AF !important;}
.tr-term:focus-visible{outline:2px solid #1E61AF;outline-offset:2px;border-radius:2px;}

.tr-tip{position:absolute;left:0;top:100%;margin-top:6px;z-index:40;box-sizing:border-box;width:22rem;max-width:calc(100vw - 2rem);padding:.75rem .9rem .8rem;background:#FFFFFF;color:#1C2C3C;border:1px solid rgba(28,44,60,.14);border-top:3px solid #1E61AF;border-radius:2px;font-family:var(--font-body,"PT Serif",serif);font-size:.9rem;line-height:1.5;font-weight:400;font-style:normal;letter-spacing:normal;text-align:left;text-transform:none;text-decoration:none;visibility:hidden;opacity:0;}
.tr-tip::before{content:"";position:absolute;left:0;right:0;top:-10px;height:10px;}
.tr-term-wrap:hover .tr-tip,.tr-term-wrap:has(.tr-term:focus-visible) .tr-tip,.tr-term-wrap.is-open .tr-tip{visibility:visible;opacity:1;}
/* A tap or click on an open term closes it, even while the pointer is still over it or the button still has focus. */
.tr-term-wrap.tr-tip-off .tr-tip{visibility:hidden !important;opacity:0 !important;}

.tr-tip-above .tr-tip{top:auto;bottom:100%;margin:0 0 6px;}
.tr-tip-above .tr-tip::before{top:auto;bottom:-10px;}

.tr-tip-title,.tr-tip-def,.tr-tip-link{display:block;}
.tr-tip-title{margin-bottom:.3rem;font-family:var(--font-body,'PT Serif',Georgia,serif);font-size:.72rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#55637A;}
.tr-tip-link{display:inline-block;margin-top:.55rem;font-family:var(--font-meta,"Libre Franklin",sans-serif);font-size:.8rem;font-weight:600;color:#1E61AF;text-decoration:underline;}
.tr-tip-link:hover{color:#17508F;}
.tr-tip-link:focus-visible{outline:2px solid #1E61AF;outline-offset:2px;}

@media print{.tr-tip{display:none;}.tr-term{border-bottom:0;}}
