/* TCRCM Glossary - all rules scoped under .tcrcm-glossary */
.tcrcm-glossary{--tc-accent:#1f5fa8;--tc-bg:#fff;--tc-fg:#1d2327;--tc-muted:#5f6b76;--tc-line:#dfe3e8;--tc-warn:#9a5b00;--tc-warnbg:#fff4e0;
 font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--tc-fg);background:var(--tc-bg);line-height:1.5;max-width:960px;margin:0 auto;font-size:16px;box-sizing:border-box}
.tcrcm-glossary *,.tcrcm-glossary *::before,.tcrcm-glossary *::after{box-sizing:border-box}
.tcrcm-glossary .tcrcm-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tcrcm-glossary .tcrcm-header{position:sticky;top:0;z-index:5;background:var(--tc-bg);padding:.5rem 0 .25rem;border-bottom:1px solid var(--tc-line)}
.tcrcm-glossary .tcrcm-title{font-size:1.6rem;margin:0 0 .5rem;line-height:1.2}
.tcrcm-glossary .tcrcm-search{width:100%;font-size:1.05rem;padding:.6rem .8rem;border:2px solid var(--tc-line);border-radius:8px;margin:0}
.tcrcm-glossary .tcrcm-search:focus,.tcrcm-glossary select:focus,.tcrcm-glossary button:focus-visible,.tcrcm-glossary a:focus-visible,.tcrcm-glossary .tcrcm-entry:focus{outline:3px solid var(--tc-accent);outline-offset:2px}
.tcrcm-glossary .tcrcm-options{display:flex;flex-wrap:wrap;gap:.4rem 1rem;margin:.5rem 0 0}
.tcrcm-glossary .tcrcm-opt{display:flex;flex-wrap:wrap;align-items:center;gap:0;border:0;margin:0;padding:0;min-width:0}
.tcrcm-glossary .tcrcm-opt-legend{float:left;font-size:.85rem;color:var(--tc-muted);margin-right:.4rem;padding:0}
.tcrcm-glossary .tcrcm-seg{position:relative;display:inline-block;font-size:.85rem;cursor:pointer}
.tcrcm-glossary .tcrcm-seg input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.tcrcm-glossary .tcrcm-seg span{display:inline-block;padding:.25rem .65rem;border:1px solid var(--tc-line);background:#fff;color:var(--tc-fg);margin-left:-1px}
.tcrcm-glossary .tcrcm-seg:first-of-type span{border-radius:6px 0 0 6px;margin-left:0}
.tcrcm-glossary .tcrcm-seg:last-of-type span{border-radius:0 6px 6px 0}
.tcrcm-glossary .tcrcm-seg input:checked+span{background:var(--tc-accent);border-color:var(--tc-accent);color:#fff}
.tcrcm-glossary .tcrcm-seg input:focus-visible+span{outline:3px solid var(--tc-accent);outline-offset:2px}
.tcrcm-glossary .tcrcm-controls{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin:.5rem 0}
.tcrcm-glossary .tcrcm-cat-select{padding:.35rem;border:1px solid var(--tc-line);border-radius:6px;font-size:.95rem;max-width:100%}
.tcrcm-glossary .tcrcm-flagtoggle{font-size:.9rem;color:var(--tc-muted)}
.tcrcm-glossary button{font:inherit;cursor:pointer}
.tcrcm-glossary .tcrcm-clear{padding:.3rem .8rem;border:1px solid var(--tc-line);border-radius:6px;background:#f6f7f7;color:var(--tc-fg)}
.tcrcm-glossary .tcrcm-chips{display:flex;flex-wrap:wrap;gap:.3rem;margin:.25rem 0}
.tcrcm-glossary .tcrcm-chip{font-size:.8rem;padding:.2rem .6rem;border:1px solid var(--tc-line);border-radius:999px;background:#fff;color:var(--tc-fg);line-height:1.4}
.tcrcm-glossary .tcrcm-chip[aria-pressed="true"]{background:var(--tc-accent);border-color:var(--tc-accent);color:#fff}
.tcrcm-glossary .tcrcm-az{display:flex;flex-wrap:wrap;gap:2px;margin:.4rem 0}
.tcrcm-glossary .tcrcm-az-link{display:inline-block;min-width:1.7em;text-align:center;padding:.15rem .2rem;border-radius:4px;text-decoration:none;color:var(--tc-accent);font-weight:600;font-size:.9rem}
.tcrcm-glossary .tcrcm-az-link:hover{background:#eaf1fa}
.tcrcm-glossary .tcrcm-az-link.tcrcm-disabled{color:#b9c0c7;pointer-events:none}
.tcrcm-glossary .tcrcm-count{font-size:.85rem;color:var(--tc-muted);margin:.2rem 0}
.tcrcm-glossary .tcrcm-letter{font-size:1.3rem;margin:1.2rem 0 .3rem;padding-bottom:.2rem;border-bottom:2px solid var(--tc-accent);color:var(--tc-accent);scroll-margin-top:220px}
.tcrcm-glossary .tcrcm-entry{padding:.7rem 0;border-bottom:1px solid var(--tc-line);scroll-margin-top:220px}
.tcrcm-glossary .tcrcm-entry.tcrcm-target{background:#fffbe6;box-shadow:-6px 0 0 #f0c419}
.tcrcm-glossary .tcrcm-term{font-size:1.1rem;margin:0;line-height:1.3}
.tcrcm-glossary .tcrcm-abbr{color:var(--tc-muted);font-weight:500}
.tcrcm-glossary .tcrcm-anchor{color:#b9c0c7;text-decoration:none;font-weight:400;font-size:.9rem}
.tcrcm-glossary .tcrcm-anchor:hover{color:var(--tc-accent)}
.tcrcm-glossary .tcrcm-meta{margin:.2rem 0;display:flex;gap:.4rem;flex-wrap:wrap}
.tcrcm-glossary .tcrcm-badge{font-size:.72rem;background:#eef2f6;color:#33414e;border-radius:4px;padding:.05rem .45rem}
.tcrcm-glossary .tcrcm-flag{font-size:.72rem;background:var(--tc-warnbg);color:var(--tc-warn);border-radius:4px;padding:.05rem .45rem;font-weight:600}
.tcrcm-glossary .tcrcm-exp{margin:.2rem 0;font-style:italic;color:#33414e}
.tcrcm-glossary .tcrcm-def{margin:.2rem 0}
.tcrcm-glossary .tcrcm-flagnote{margin:.2rem 0;font-size:.85rem;color:var(--tc-warn)}
.tcrcm-glossary .tcrcm-see,.tcrcm-glossary .tcrcm-src{margin:.2rem 0;font-size:.85rem;color:var(--tc-muted)}
.tcrcm-glossary a{color:var(--tc-accent)}
.tcrcm-glossary .tcrcm-empty{padding:1rem 0;color:var(--tc-muted)}
.tcrcm-glossary .tcrcm-qwrap{position:relative}
.tcrcm-glossary .tcrcm-sugg{position:absolute;left:0;right:0;top:100%;z-index:20;list-style:none;margin:2px 0 0;padding:.2rem 0;background:#fff;border:1px solid var(--tc-line);border-radius:8px;box-shadow:0 6px 18px rgba(0,0,0,.12);max-height:18rem;overflow:auto}
.tcrcm-glossary .tcrcm-sugg[hidden]{display:none}
.tcrcm-glossary .tcrcm-opt-item{padding:.4rem .8rem;cursor:pointer}
.tcrcm-glossary .tcrcm-opt-item:hover,.tcrcm-glossary .tcrcm-opt-item.tcrcm-active{background:#eaf1fa}
.tcrcm-glossary mark.tcrcm-hl{background:#fff1a8;color:inherit;padding:0 1px;border-radius:2px}
.tcrcm-glossary .tcrcm-copy{font-size:.72rem;padding:.05rem .45rem;border:1px solid var(--tc-line);border-radius:4px;background:#fff;color:var(--tc-muted);vertical-align:middle}
.tcrcm-glossary .tcrcm-copy:hover{color:var(--tc-accent);border-color:var(--tc-accent)}
.tcrcm-glossary .tcrcm-footer{margin-top:2rem;padding:1rem 0;border-top:1px solid #ddd;font-size:.9rem;text-align:center}
.tcrcm-glossary .tcrcm-dym{color:var(--tc-muted);font-size:.95rem}
.tcrcm-glossary .tcrcm-dym-p{margin:.6rem 0}
.tcrcm-glossary .tcrcm-only{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;margin:.8rem 0;padding:.6rem .8rem;border:2px solid #1f5fa8;border-radius:8px;background:#eef4fb;font-weight:600}
.tcrcm-glossary .tcrcm-only[hidden]{display:none}
.tcrcm-glossary .tcrcm-showall{font:inherit;font-weight:700;padding:.45rem 1rem;border:0;border-radius:6px;background:#1f5fa8;color:#fff;cursor:pointer}
.tcrcm-glossary .tcrcm-showall:hover,.tcrcm-glossary .tcrcm-showall:focus-visible{background:#164a85;outline:2px solid #0b2e57;outline-offset:2px}
.tcrcm-glossary .tcrcm-totw{border:1px solid #f0c419;background:#fffbe6;border-radius:8px;padding:.4rem .8rem;margin:.5rem 0}
.tcrcm-glossary .tcrcm-totw-sum{cursor:pointer;font-weight:600}
.tcrcm-glossary .tcrcm-totw-body .tcrcm-def{margin:.3rem 0}
@media (max-width:600px){.tcrcm-glossary{font-size:15px}.tcrcm-glossary .tcrcm-header{position:static}.tcrcm-glossary .tcrcm-chips{max-height:5.5em;overflow:auto}.tcrcm-glossary .tcrcm-az-link{min-width:2.1em;padding:.3rem .2rem}}
@media print{.tcrcm-glossary .tcrcm-header{position:static;border:0}.tcrcm-glossary .tcrcm-search,.tcrcm-glossary .tcrcm-controls,.tcrcm-glossary .tcrcm-options,.tcrcm-glossary .tcrcm-chips,.tcrcm-glossary .tcrcm-az,.tcrcm-glossary .tcrcm-anchor,.tcrcm-glossary .tcrcm-copy,.tcrcm-glossary .tcrcm-totw,.tcrcm-glossary .tcrcm-sugg,.tcrcm-glossary label{display:none!important}
 .tcrcm-glossary{max-width:none;font-size:10.5pt;color:#000}.tcrcm-glossary .tcrcm-entry{break-inside:avoid;padding:.3rem 0}.tcrcm-glossary .tcrcm-src a::after{content:" (" attr(href) ")";font-size:8pt}.tcrcm-glossary a{color:#000}}
.tcrcm-glossary .tcrcm-badge-sec{background:transparent;border:1px solid #c9d3dd}
/* v2 (2026-11-03): logo header, jump buttons, recent/print, version line */
.tcrcm-glossary .tcrcm-brand{display:flex;align-items:center;gap:.9rem;margin:0 0 .5rem}
.tcrcm-glossary .tcrcm-logo-link{flex:0 0 auto;line-height:0}
.tcrcm-glossary .tcrcm-logo{width:120px;height:auto;display:block}
.tcrcm-glossary .tcrcm-brand-text{min-width:0}
.tcrcm-glossary .tcrcm-brand .tcrcm-title{margin:0 0 .35rem}
.tcrcm-glossary .tcrcm-brand-links{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .9rem}
.tcrcm-glossary .tcrcm-brand-links{gap:.5rem}
.tcrcm-glossary .tcrcm-logo-link{cursor:pointer}
.tcrcm-glossary a.tcrcm-linkbtn{display:inline-block;text-decoration:none;line-height:1.2;background:var(--tc-accent);box-shadow:none}
.tcrcm-glossary a.tcrcm-linkbtn:hover,.tcrcm-glossary a.tcrcm-linkbtn:focus{background:#174a85;color:#fff;text-decoration:none}
.tcrcm-glossary a.tcrcm-fb{background:#1877f2}
.tcrcm-glossary a.tcrcm-fb:hover,.tcrcm-glossary a.tcrcm-fb:focus{background:#0f5fc7}
.tcrcm-glossary .tcrcm-jump{border:0;border-radius:999px;padding:.4rem 1rem;font-weight:700;font-size:.92rem;background:#f26a1b;color:#fff;box-shadow:0 2px 6px rgba(242,106,27,.35)}
.tcrcm-glossary .tcrcm-jump:hover{background:#d9560c}
.tcrcm-glossary .tcrcm-jump-up{background:var(--tc-accent);box-shadow:none;margin-top:.6rem}
.tcrcm-glossary .tcrcm-jump-up:hover{background:#174a85}
.tcrcm-glossary .tcrcm-recent,.tcrcm-glossary .tcrcm-print{padding:.3rem .8rem;border:1px solid var(--tc-line);border-radius:6px;background:#fff;color:var(--tc-fg)}
.tcrcm-glossary .tcrcm-recent{border-color:#2e8b57;color:#1f6b41}
.tcrcm-glossary .tcrcm-recent[aria-pressed="true"]{background:#2e8b57;color:#fff}
.tcrcm-glossary .tcrcm-badge-new{background:#e3f6ea;color:#1f6b41;font-weight:600}
.tcrcm-glossary .tcrcm-badge-updated{background:#e6effa;color:#1f5fa8;font-weight:600}
.tcrcm-glossary .tcrcm-footer p{margin:.3rem 0}
.tcrcm-glossary .tcrcm-version{color:var(--tc-muted);font-size:.82rem}
.tcrcm-glossary .tcrcm-printinfo{display:none}
@media (max-width:600px){.tcrcm-glossary .tcrcm-brand{gap:.6rem;align-items:flex-start}.tcrcm-glossary .tcrcm-logo{width:84px}.tcrcm-glossary .tcrcm-brand .tcrcm-title{font-size:1.25rem}.tcrcm-glossary .tcrcm-jump{padding:.4rem .75rem;font-size:.84rem}.tcrcm-glossary .tcrcm-brand-links{gap:.4rem}}
@media print{.tcrcm-glossary .tcrcm-jump,.tcrcm-glossary .tcrcm-club,.tcrcm-glossary .tcrcm-recent,.tcrcm-glossary .tcrcm-print,.tcrcm-glossary .tcrcm-clear,.tcrcm-glossary .tcrcm-count,.tcrcm-glossary .tcrcm-dym,.tcrcm-glossary .tcrcm-only,.tcrcm-glossary .tcrcm-footer{display:none!important}
 .tcrcm-glossary .tcrcm-printinfo{display:block;font-size:9.5pt;margin:.2rem 0 .4rem;color:#000}.tcrcm-glossary .tcrcm-logo{width:80px}.tcrcm-glossary .tcrcm-entry.tcrcm-target{background:none;box-shadow:none}.tcrcm-glossary .tcrcm-letter{break-after:avoid}}
.tcrcm-glossary .tcrcm-entry,.tcrcm-glossary .tcrcm-title{overflow-wrap:anywhere;word-break:break-word}

/* v2c (2026-11-03): AMA logo on right of header */
.tcrcm-glossary .tcrcm-header{background:#fff}
.tcrcm-glossary .tcrcm-brand-text{flex:1 1 auto}
.tcrcm-glossary .tcrcm-ama-link{flex:0 0 auto;margin-left:auto;line-height:0;cursor:pointer}
.tcrcm-glossary .tcrcm-ama-logo{height:64px;width:auto;max-width:100%;display:block}
@media (max-width:600px){.tcrcm-glossary .tcrcm-brand{flex-wrap:wrap;align-items:center}.tcrcm-glossary .tcrcm-ama-link{order:2}.tcrcm-glossary .tcrcm-brand-text{order:3;flex:1 1 100%}.tcrcm-glossary .tcrcm-ama-logo{height:54px;max-width:calc(100vw - 130px)}}
@media print{.tcrcm-glossary .tcrcm-ama-logo{height:40px}}

/* v2d (2026-11-03): balanced header - logo | centered title+buttons | AMA logo */
.tcrcm-glossary .tcrcm-brand{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;column-gap:.9rem}
.tcrcm-glossary .tcrcm-logo-link{grid-column:1;grid-row:1;justify-self:start}
.tcrcm-glossary .tcrcm-brand-text{grid-column:2;grid-row:1;text-align:center;min-width:0}
.tcrcm-glossary .tcrcm-brand-links{justify-content:center}
.tcrcm-glossary .tcrcm-ama-link{grid-column:3;grid-row:1;justify-self:end;margin-left:0}
@media (max-width:600px){.tcrcm-glossary .tcrcm-brand{grid-template-columns:auto auto;justify-content:space-between;row-gap:.5rem}.tcrcm-glossary .tcrcm-logo-link{grid-column:1;grid-row:1}.tcrcm-glossary .tcrcm-ama-link{grid-column:2;grid-row:1}.tcrcm-glossary .tcrcm-brand-text{grid-column:1 / -1;grid-row:2;flex:none}}
