/* Local term hints: the question-mark button works with pointer, touch and keyboard. */
.portfolio-term{white-space:nowrap}
/* Small superscript mark, with a transparent hit area that does not widen the text. */
.term-help{position:relative;top:-.45em;display:inline-flex;align-items:center;justify-content:center;width:12px;height:14px;min-width:0;padding:0;margin:0 0 0 1px;border:0;border-radius:0;background:none;color:var(--muted,#62685e);opacity:.65;font:500 10px/1 "Segoe UI",Arial,sans-serif;letter-spacing:0;text-transform:none;vertical-align:baseline;cursor:pointer;touch-action:manipulation}
.term-help::before{content:"";position:absolute;inset:-5px -6px}
.term-help:hover,.term-help[aria-expanded=true]{color:var(--ink,#252a24);opacity:1;background:none;text-decoration:underline;text-underline-offset:2px}
.term-help:focus-visible{outline:1px solid currentColor;outline-offset:2px;opacity:1}
/* Existing technology-chip rules target every descendant span. Keep the inline wrapper neutral. */
.tags span.portfolio-term{display:inline;padding:0;border:0;border-radius:0;background:none;font:inherit;line-height:inherit;letter-spacing:inherit}
.tags .term-help{font-size:9px}
.term-tip{position:fixed;z-index:120;width:max-content;max-width:min(352px,calc(100vw - 24px));max-height:calc(100vh - 24px);box-sizing:border-box;overflow:auto;padding:15px 17px;border:1px solid var(--rule,#d3d5ca);border-radius:7px;background:var(--white,#fffefa);color:var(--ink,#252a24);box-shadow:0 12px 35px #0003;font:13px/1.7 "Segoe UI",Arial,sans-serif;text-align:left;letter-spacing:normal;overflow-wrap:anywhere}
.term-tip[hidden]{display:none}
.term-tip strong{display:block;margin-bottom:5px;font-size:13px;font-weight:650;line-height:1.5}
.term-tip p{margin:0;font:inherit;color:inherit}
:root[data-theme=dark] .term-tip{box-shadow:0 12px 35px #0008}
@media(prefers-reduced-motion:no-preference){.term-help{transition:color .15s ease,opacity .15s ease}}
@media(prefers-reduced-motion:reduce){.term-help,.term-tip{transition:none;animation:none}}
@media print{.term-help,.term-tip{display:none!important}.portfolio-term{white-space:normal}}
