/* SPDX-License-Identifier: LicenseRef-XRBC-Watchdog-1.0 */
.tc-catalog{max-width:100%;color:var(--ink,#eef6ff)}
.tc-catalog *{box-sizing:border-box}
.tc-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}
.tc-heading h2{margin:.15rem 0 .35rem;font-size:clamp(1.3rem,2.8vw,1.8rem);line-height:1.2}
.tc-heading p:not(.tc-eyebrow){margin:.2rem 0;color:var(--muted,#aac0cf);max-width:54rem}
.tc-eyebrow{font-size:.75rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:var(--blue,#38bdf8)}
.tc-date{flex:none;color:var(--muted,#aac0cf);font-size:.79rem}
.tc-coverage,.tc-foot{margin:1rem 0;padding:.75rem .9rem;border-left:3px solid var(--blue,#38bdf8);border-radius:.45rem;background:rgba(56,189,248,.075);line-height:1.45}
.tc-foot{border-left-color:var(--yellow,#facc15);font-size:.86rem;color:var(--muted,#aac0cf)}
.tc-directories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem;margin:1rem 0}
.tc-directory{display:flex;flex-direction:column;align-items:flex-start;gap:.25rem;min-width:0;padding:.7rem .75rem;border:1px solid var(--line,var(--border,#527187));border-radius:10px;background:var(--panel2,rgba(255,255,255,.04))}
.tc-directory strong{font-size:.9rem}.tc-directory small{color:var(--muted,#aac0cf);line-height:1.3}
.tc-directory a{margin-top:auto;font-size:.83rem}
.tc-controls{display:grid;grid-template-columns:minmax(14rem,2fr) repeat(3,minmax(8rem,1fr));gap:.7rem;margin:1.1rem 0}
.tc-filter{display:flex;flex-direction:column;gap:.3rem;min-width:0;font-size:.85rem;font-weight:750}
.tc-filter input,.tc-filter select{width:100%;min-width:0;min-height:44px;padding:.55rem .65rem;border:1px solid var(--line,var(--border,#527187));border-radius:8px;background:var(--panel2,#102030);color:var(--ink,#eef6ff);font:inherit}
.tc-filter input::placeholder{color:var(--muted,#aac0cf)}
.tc-filter :is(input,select):focus-visible,.tc-plan:focus-visible,.tc-pager button:focus-visible{outline:3px solid var(--blue,#38bdf8);outline-offset:2px}
.tc-tally{margin:.6rem 0;font-size:.85rem;color:var(--muted,#aac0cf)}
.tc-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.tc-card{min-width:0;padding:1rem;border:1px solid var(--line,var(--border,#527187));border-radius:12px;background:var(--panel2,rgba(255,255,255,.04))}
.tc-card-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.35rem}
.tc-pill{max-width:100%;padding:.22rem .48rem;border:1px solid var(--blue,#38bdf8);border-radius:8px;font-size:.74rem;line-height:1.3;color:var(--ink,#eef6ff);overflow-wrap:anywhere}
.tc-pill.tc-xrpl{border-color:var(--green,#34d399)}
.tc-type{font-size:.77rem;color:var(--muted,#aac0cf)}
.tc-card h3{margin:.65rem 0 .2rem;font-size:1.05rem;overflow-wrap:anywhere}
.tc-card p{margin:.4rem 0;line-height:1.45;overflow-wrap:anywhere}
.tc-underlying,.tc-note{font-size:.86rem;color:var(--muted,#aac0cf)}
.tc-evidence{font-size:.82rem;font-weight:800;color:var(--green,#34d399)}
.tc-rights{font-size:.86rem}
.tc-detail{margin:.7rem 0!important;padding:.65rem!important}
.tc-detail summary{cursor:pointer;font-size:.87rem!important}
.tc-detail dl{display:grid;grid-template-columns:minmax(8rem,1fr) minmax(0,2fr);gap:.45rem .75rem;margin:.75rem 0 0;font-size:.82rem}
.tc-detail dt{color:var(--muted,#aac0cf)}.tc-detail dd{margin:0;overflow-wrap:anywhere}
.tc-card-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.7rem;margin-top:.8rem}
.tc-card-actions a{font-size:.84rem}
.tc-plan-note{display:block;margin-top:.45rem;color:var(--muted,#aac0cf);line-height:1.35}
.tc-plan,.tc-pager button{min-height:40px;padding:.45rem .7rem;border:1px solid var(--line,var(--border,#527187));border-radius:8px;background:var(--panel3,#14283a);color:var(--ink,#eef6ff);font:inherit;font-size:.81rem;cursor:pointer}
.tc-plan:hover,.tc-pager button:hover:not(:disabled){border-color:var(--blue,#38bdf8)}
.tc-pager{display:flex;justify-content:center;align-items:center;gap:.7rem;margin:1rem 0}
.tc-pager span{font-size:.85rem}.tc-pager button:disabled{opacity:.45;cursor:not-allowed}
html[data-theme="light"] .tc-directory,html[data-theme="light"] .tc-card{background:var(--panel2,#f4f8fc)}
html[data-theme="light"] .tc-filter input,html[data-theme="light"] .tc-filter select{background:var(--panel2,#f4f8fc);color:var(--ink,#142638)}
html[data-theme="light"] .tc-plan,html[data-theme="light"] .tc-pager button{background:var(--panel3,#eaf1f8);color:var(--ink,#142638)}
@media(max-width:960px){.tc-directories,.tc-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.tc-heading{display:block}.tc-date{display:block;margin-top:.5rem}.tc-results{grid-template-columns:1fr}}
@media(max-width:520px){.tc-directories,.tc-controls{grid-template-columns:1fr}.tc-card-actions{display:grid;grid-template-columns:1fr}.tc-card-actions a,.tc-plan{text-align:center}.tc-detail dl{grid-template-columns:1fr}.tc-detail dt{font-weight:700}.tc-detail dd{margin-bottom:.35rem}}
