/* Confined to the new vintage dialog; existing page/nav artwork is unchanged. */
#tc-search-open{cursor:pointer}
.tc-search-dialog{--tc-search-blue:#7291d1;width:720px;max-width:calc(100vw - 20px);max-height:calc(100dvh - 24px);padding:0;border:3px outset #b9c9df;background:#f4f6fc;color:navy;font:13px Arial,Verdana,sans-serif;box-shadow:4px 5px 0 #0005;overflow:auto}
.tc-search-dialog::backdrop{background:rgba(0,0,60,.48)}
.tc-search-titlebar{display:flex;justify-content:space-between;align-items:center;gap:10px;background:var(--tc-search-blue);color:white;padding:6px 9px}
.tc-search-titlebar h2{font:bold 17px Arial,sans-serif;margin:0}
.tc-search-dialog button{font:bold 12px Arial,sans-serif;cursor:pointer;border:2px outset #b7c6de;background:#e5ecf9;color:navy;padding:5px 9px}
.tc-search-dialog button:active,.tc-search-modes button[aria-pressed=true]{border-style:inset;background:#d2def1}
.tc-search-dialog button:hover{background:#d8e3f6}
.tc-search-dialog button:focus-visible,.tc-search-dialog input:focus-visible,.tc-search-results:focus-visible{outline:2px solid #6a258b;outline-offset:2px}
.tc-search-content{padding:8px 14px 14px}
.tc-search-content h3{text-align:center;color:green;font:bold 17px Arial,sans-serif;margin:9px 0}
.tc-search-content p{line-height:1.45}
.tc-search-modes{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}
.tc-search-form{display:flex;align-items:center;gap:8px;margin:12px 0;flex-wrap:wrap}
.tc-search-form label{font-weight:bold}
.tc-search-form input{font:14px Arial,sans-serif;flex:1;min-width:140px;max-width:100%;padding:5px;border:2px inset #b3bdd0;background:white;color:navy}
.tc-search-note{font-size:11px;color:#465571}
.tc-search-scroll-hint{display:none;font-size:11px;color:#465571}
.tc-search-status{min-height:20px;margin:7px 0;font-size:12px}
.tc-search-results{max-height:48dvh;overflow:auto;background:white;border:1px solid #a1b2ce;scrollbar-gutter:stable}
.tc-search-results table{min-width:540px;table-layout:fixed}
.tc-search-results caption{text-align:left;font-size:11px;padding:4px 7px;color:#465571}
.tc-search-results thead{position:sticky;top:0;background:var(--tc-search-blue);z-index:1}
.tc-search-results th{padding:0;background:var(--tc-search-blue)}
.tc-search-results th:nth-child(1){width:43%}.tc-search-results th:nth-child(2){width:29%}.tc-search-results th:nth-child(3),.tc-search-results th:nth-child(4){width:14%}
.tc-search-results th button{border:0;background:transparent;color:white;width:100%;text-align:left;padding:7px 6px}
.tc-search-results th button:hover{background:#5d7dbb}
.tc-search-results th:nth-child(3) button,.tc-search-results th:nth-child(4) button{text-align:center}
.tc-search-results td{padding:7px;overflow-wrap:anywhere}
.tc-search-results td:nth-child(3),.tc-search-results td:nth-child(4){text-align:center;font-variant-numeric:tabular-nums}
@media(max-width:480px){.tc-search-scroll-hint{display:block;margin:5px 0}.tc-search-content{padding:7px 9px 10px}.tc-search-titlebar h2{font-size:16px}.tc-search-modes button{flex:1;padding:8px 5px}.tc-search-results{max-height:43dvh}.tc-search-form input{width:100%}}

/* Homepage-only invitation; historical directory and existing navigation remain. */
.tc-search-announcement{display:block;width:470px;max-width:100%;margin:0 auto;padding:9px 12px;border:2px outset #b9c9df;background:#eef3ff;color:#173b86;font:12px/1.45 Arial,Verdana,sans-serif;text-align:center;cursor:pointer}
.tc-search-announcement strong{font-size:13px}
.tc-search-announcement>span{display:block;margin-top:3px}
.tc-search-new{display:inline-block;padding:0 4px;margin-right:3px;background:#fff2b8;border:1px outset #fff6d6;font-size:11px}
.tc-search-announcement:hover{background:#e1eafa}
.tc-search-announcement:active{border-style:inset}
.tc-search-announcement:focus-visible{outline:2px solid #6a258b;outline-offset:2px}
.tc-search-mobile-direction{display:none}
@media(max-width:640px){.tc-search-desktop-direction{display:none}.tc-search-mobile-direction{display:inline}}
