/* OR title research 01: order wizard, My Title Research Orders, admin console, report/county CTA. Uses the records theme tokens. */
.tr-wrap { max-width: 1080px; margin: 0 auto; padding: 32px 16px 64px; }
.tr-kicker { font: 600 13px/1.3 var(--wide, sans-serif); text-transform: uppercase; letter-spacing: .06em; color: var(--muted, #4D5A66); margin: 0 0 8px; }
.tr-wrap h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 0 0 12px; }
.tr-lede { font-size: 19px; color: var(--body, #34404B); max-width: 760px; margin: 0 0 20px; }
.tr-boundary { border-left: 4px solid var(--ink, #1C2B39); background: var(--panel, #fff); padding: 12px 16px; font-size: 15px; max-width: 860px; }
.tr-card { background: var(--panel, #fff); border: 1px solid var(--rule-soft, #C9CDD2); border-top: 4px solid var(--ink, #1C2B39); padding: 20px; margin: 0 0 20px; }
.tr-card h2 { font-size: 24px; margin: 0 0 12px; }
.tr-card h3 { font-size: 17px; margin: 18px 0 8px; }
.tr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tr-steps { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; counter-reset: s; font: 500 14px/1.3 var(--wide, sans-serif); }
.tr-steps li { counter-increment: s; padding: 8px 12px; border: 1px solid var(--rule-soft, #C9CDD2); background: var(--plat, #F3F2EC); color: var(--muted, #4D5A66); }
.tr-steps li::before { content: counter(s) ". "; }
.tr-steps li[aria-current="step"] { background: var(--ink, #1C2B39); color: #fff; border-color: var(--ink, #1C2B39); }
.tr-steps li.done { color: var(--ink, #1C2B39); background: #fff; }
.tr-field { margin: 0 0 14px; }
.tr-field label, .tr-label { display: block; font: 600 14px/1.3 var(--wide, sans-serif); margin: 0 0 4px; }
.tr-field .hint { font-size: 13px; color: var(--muted, #4D5A66); margin: 4px 0 0; }
.tr-field input[type=text], .tr-field input[type=email], .tr-field input[type=tel], .tr-field input[type=number], .tr-field input[type=date], .tr-field select, .tr-field textarea { width: 100%; box-sizing: border-box; min-height: 44px; padding: 8px 10px; font-size: 16px; }
.tr-field textarea { min-height: 90px; }
.tr-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0 14px; }
.tr-check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; font-size: 15px; }
.tr-check input { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.tr-pkg { display: block; border: 1px solid var(--rule-soft, #C9CDD2); padding: 14px 16px; margin: 0 0 10px; cursor: pointer; background: #fff; }
.tr-pkg:has(input:checked) { border: 2px solid var(--ink, #1C2B39); padding: 13px 15px; }
.tr-pkg .top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.tr-pkg b { font: 700 17px/1.3 var(--wide, sans-serif); }
.tr-pkg .price { font: 600 16px/1.3 var(--mono, monospace); white-space: nowrap; }
.tr-pkg ul { margin: 8px 0 0 18px; padding: 0; font-size: 14px; }
.tr-pkg .limits { font-size: 13px; color: var(--muted, #4D5A66); margin: 8px 0 0; }
.tr-pkg input { margin-right: 8px; width: 18px; height: 18px; vertical-align: -3px; }
.tr-lines { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0; }
.tr-lines td { padding: 8px 0; border-bottom: 1px solid var(--grid, #DDE0E3); vertical-align: top; }
.tr-lines td.amt { text-align: right; font-family: var(--mono, monospace); white-space: nowrap; padding-left: 16px; }
.tr-lines tr.total td { font-weight: 700; border-bottom: 2px solid var(--ink, #1C2B39); }
.tr-lines .kind { display: block; font-size: 12px; color: var(--muted, #4D5A66); }
.tr-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 16px 0 0; }
.tr-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; background: var(--ink, #1C2B39); color: #fff; border: 1px solid var(--ink, #1C2B39); font: 600 15px/1.2 var(--wide, sans-serif); cursor: pointer; text-decoration: none; border-radius: 0; }
.tr-btn:hover { background: #0F1C28; color: #fff; }
.tr-btn[disabled] { opacity: .5; cursor: not-allowed; }
.tr-btn.ghost { background: #fff; color: var(--ink, #1C2B39); }
.tr-btn.small { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.tr-btn.danger { background: #8A1F17; border-color: #8A1F17; }
.tr-link { background: none; border: 0; padding: 8px 0; color: var(--link, #1E4E79); text-decoration: underline; cursor: pointer; font: inherit; }
.tr-msg { padding: 12px 14px; margin: 0 0 14px; border: 1px solid var(--rule-soft, #C9CDD2); background: #fff; font-size: 15px; }
.tr-msg.err { border-color: #8A1F17; border-left: 4px solid #8A1F17; }
.tr-msg.ok { border-left: 4px solid #2E6B3A; }
.tr-msg.warn { border-left: 4px solid #B5832F; }
.tr-muted { color: var(--muted, #4D5A66); font-size: 14px; }
.tr-badge { display: inline-block; padding: 2px 8px; font: 600 12px/1.5 var(--wide, sans-serif); border: 1px solid var(--ink, #1C2B39); background: #fff; white-space: nowrap; }
.tr-badge.b-ok { background: #E7F0E8; border-color: #2E6B3A; color: #1E4A27; }
.tr-badge.b-q { background: #F6EEDC; border-color: #B5832F; color: #5B4114; }
.tr-badge.b-bad { background: #F6E3E1; border-color: #8A1F17; color: #6A160F; }
.tr-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tr-table th, .tr-table td { text-align: left; padding: 8px 8px; border-bottom: 1px solid var(--grid, #DDE0E3); vertical-align: top; }
.tr-table th { font: 600 13px/1.3 var(--wide, sans-serif); color: var(--muted, #4D5A66); }
.tr-table td.num { text-align: right; font-family: var(--mono, monospace); }
.tr-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tr-timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--rule-soft, #C9CDD2); }
.tr-timeline li { padding: 4px 0 12px 14px; position: relative; font-size: 15px; }
.tr-timeline li::before { content: ""; position: absolute; left: -6px; top: 10px; width: 10px; height: 10px; background: var(--ink, #1C2B39); }
.tr-timeline time { display: block; font-size: 12px; color: var(--muted, #4D5A66); }
.tr-hidden { display: none !important; }
.tr-faq details { border-bottom: 1px solid var(--grid, #DDE0E3); padding: 10px 0; }
.tr-faq summary { cursor: pointer; font-weight: 600; min-height: 32px; }

/* report / county CTA (tr-cta.js) */
.tr-cta { background: #fff; border: 1px solid var(--rule-soft, #C9CDD2); border-left: 4px solid var(--ink, #1C2B39); padding: 16px 18px; margin: 20px 0; }
.tr-cta h3 { margin: 0 0 6px; font: 700 18px/1.3 var(--display, Georgia, serif); }
.tr-cta p { margin: 0 0 10px; font-size: 15px; }
.tr-cta .tr-cta-prices { font-size: 14px; margin: 0 0 10px; }
.tr-cta .tr-cta-prices li { margin: 2px 0; }
.tr-cta small { display: block; color: var(--muted, #4D5A66); font-size: 12px; margin-top: 8px; }

/* admin console */
.tra-shell { max-width: 1400px; margin: 0 auto; padding: 16px; }
.tra-top { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--rule-soft, #C9CDD2); padding: 0 0 12px; margin: 0 0 16px; }
.tra-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.tra-tabs button { min-height: 40px; padding: 8px 14px; background: #fff; border: 1px solid var(--rule-soft, #C9CDD2); font: 600 14px var(--wide, sans-serif); cursor: pointer; color: var(--ink, #1C2B39); }
.tra-tabs button[aria-selected="true"] { background: var(--ink, #1C2B39); color: #fff; border-color: var(--ink, #1C2B39); }
.tra-queues { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.tra-queues button { min-height: 36px; padding: 6px 10px; border: 1px solid var(--rule-soft, #C9CDD2); background: #fff; cursor: pointer; font: 500 13px var(--wide, sans-serif); }
.tra-queues button[aria-pressed="true"] { border: 2px solid var(--ink, #1C2B39); font-weight: 700; }
.tra-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px; align-items: start; }
.tra-drawer { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow: auto; }
.tra-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0 0 16px; }
.tra-tile { background: #fff; border: 1px solid var(--rule-soft, #C9CDD2); padding: 12px; }
.tra-tile b { display: block; font: 700 22px/1.2 var(--mono, monospace); }
.tra-tile span { font-size: 12px; color: var(--muted, #4D5A66); }
.tra-kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; font-size: 14px; margin: 0 0 12px; }
.tra-kv dt { color: var(--muted, #4D5A66); }
.tra-kv dd { margin: 0; overflow-wrap: anywhere; }
tr.tra-row { cursor: pointer; }
tr.tra-row:hover, tr.tra-row[aria-selected="true"] { background: var(--plat, #F3F2EC); }
.tra-toast { position: fixed; right: 16px; bottom: 16px; background: var(--ink, #1C2B39); color: #fff; padding: 12px 16px; font-size: 14px; max-width: 360px; z-index: 50; }
@media (max-width: 900px) { .tra-split { grid-template-columns: 1fr; } .tra-drawer { position: static; max-height: none; } }
@media (max-width: 600px) { .tr-wrap { padding: 20px 16px 48px; } .tr-card { padding: 16px; } .tr-lede { font-size: 17px; } }
