.law-definition-term{display:inline;padding:0;border:0;background:transparent;color:#164675;font:inherit;font-weight:700;text-align:inherit;line-height:inherit;text-decoration:underline dotted;text-underline-offset:4px;text-decoration-thickness:1px;cursor:help}
.law-definition-help{font-size:12px;line-height:1.6;color:var(--muted);margin:8px 0 16px}
.law-definition-term:hover,.law-definition-term:focus-visible{color:#10365c;background:#dcecf855;border-radius:2px;text-decoration-thickness:2px}
.law-definition-term:focus-visible{outline:2px solid #60a5fa;outline-offset:-2px}
.law-definition-popover{position:fixed;z-index:100010;width:min(380px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;box-sizing:border-box;padding:16px;border:1px solid #cfdae5;border-top:3px solid #234a70;border-radius:12px;background:#fff;color:#173a5e;box-shadow:0 12px 40px #102a4326;font-family:var(--site-font-family),sans-serif}
.law-definition-popover header{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:16px}
.law-definition-popover header button{width:44px;height:44px;flex:none;border:1px solid #cfdae5;border-radius:8px;background:transparent;color:inherit;font-size:22px;cursor:pointer}
.law-definition-popover p{font-size:14px;line-height:1.8;margin:12px 0;white-space:pre-wrap}
.law-definition-popover small{display:block;font-size:12px;line-height:1.6;color:#5f728a}
.law-definition-popover a{display:inline-flex;align-items:center;min-height:44px;color:inherit;font-size:12px}
html[data-law-theme=dark] .law-definition-term{color:#a9d4ff}
html[data-law-theme=dark] .law-definition-term:hover,html[data-law-theme=dark] .law-definition-term:focus-visible{color:#c4e1fa;background:#9ac5ea20}
html[data-law-theme=dark] .law-definition-popover{background:#192b3b;color:#e6eff8;border-color:#49677e}
html[data-law-theme=dark] .law-definition-popover small{color:#b4c6d4}
