/* Partner Search Brief and Readiness Scorecard */
.tl-hero { padding-bottom:40px; }
.tl-hero .pk-lead { margin-bottom:0; }
.tl-narrow { max-width:860px; }
.tl-narrow [hidden] { display:none !important; }
#briefForm, #scoreForm, #scoreOut, #briefDone { scroll-margin-top:96px; }
.tl-narrow h2:focus { outline:none; }
.pk .tl-narrow h2 { font-size:24px; margin:0; }
.tl-bar { height:6px; border-radius:6px; background:var(--pk-line); overflow:hidden; }
.tl-bar i { display:block; height:100%; background:var(--pk-teal); transition:width .25s ease; }
.pk-sec .tl-progress p { margin:8px 0 28px; font-size:14px; }
.tl-step { margin-bottom:28px; }
.tl-head { display:flex; justify-content:space-between; align-items:center; gap:12px 24px; flex-wrap:wrap; margin-bottom:22px; }
.tl-na, .tl-tick { display:inline-flex; gap:9px; align-items:center; font-size:14.5px; color:var(--pk-muted); cursor:pointer; }
.tl-tick { align-items:flex-start; background:var(--pk-soft); border-radius:12px; padding:16px 18px; margin-bottom:22px; color:var(--pk-ink); line-height:1.5; }
.tl-narrow input[type=checkbox] { width:18px; height:18px; accent-color:var(--pk-teal); flex:0 0 auto; margin:1px 0 0; }
.tl-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px 24px; margin-bottom:20px; }
.tl-wide, .tl-checks { grid-column:1 / -1; }
.tl-f label, .tl-checks legend { display:block; font-weight:700; font-size:14.5px; margin-bottom:7px; color:var(--pk-ink); }
.tl-f input, .tl-f select, .tl-f textarea { width:100%; font:inherit; font-size:16px; color:var(--pk-ink); padding:12px 14px; border:1px solid #b9c7d6; border-radius:10px; background:#fff; }
.tl-f textarea { resize:vertical; }
.tl-narrow :is(input,select,textarea,button,a):focus-visible { outline:3px solid rgba(0,168,138,.45); outline-offset:1px; }
.tl-f [aria-invalid=true] { border-color:#c0392b; }
.tl-f :disabled { background:#eef2f6; color:#8a99a8; }
.tl-checks { border:0; padding:0; margin:0; min-width:0; display:flex; flex-wrap:wrap; gap:10px; }
.tl-checks legend { float:left; width:100%; }
.tl-checks label { display:inline-flex; gap:9px; align-items:center; border:1px solid #b9c7d6; border-radius:10px; padding:11px 15px; font-size:15px; cursor:pointer; }
.tl-checks label:has(:checked) { border-color:var(--pk-teal); background:#f0fdfa; }
.tl-nav { display:flex; flex-wrap:wrap; gap:12px 20px; align-items:center; margin:8px 0 18px; }
.tl-narrow .pk-btn { border:0; font-family:inherit; cursor:pointer; margin:0; }
.tl-narrow .pk-btn:disabled { opacity:.6; cursor:default; }
.tl-back, .tl-again, .tl-note button { background:none; border:0; font:inherit; font-weight:700; color:var(--pk-teal); cursor:pointer; padding:10px 4px; }
.tl-back:hover, .tl-again:hover, .tl-note button:hover { text-decoration:underline; }
.pk-sec p.tl-note { font-size:14px; }
.tl-note button { padding:0; }
.pk-sec p.tl-error { color:#a93226; font-weight:600; }
.tl-group { margin-bottom:40px; }
.tl-group h2 { padding-bottom:14px; border-bottom:2px solid var(--pk-teal); }
.tl-q { border:0; border-bottom:1px solid var(--pk-line); margin:0; padding:20px 0; min-width:0; }
.tl-q legend { float:left; width:100%; font-weight:600; font-size:16.5px; line-height:1.5; margin-bottom:12px; }
.tl-miss legend { color:#a93226; }
.tl-opts { clear:both; display:flex; gap:10px; }
.tl-opts label { position:relative; cursor:pointer; }
.tl-opts input { position:absolute; opacity:0; inset:0; width:100%; height:100%; cursor:pointer; }
.tl-opts span { display:block; min-width:96px; text-align:center; padding:11px 16px; border:1px solid #b9c7d6; border-radius:10px; font-weight:600; font-size:15px; }
.tl-opts input:checked + span { background:var(--pk-teal); border-color:var(--pk-teal); color:#fff; }
.tl-opts input:focus-visible + span { outline:3px solid rgba(0,168,138,.45); outline-offset:1px; }
.pk .tl-result h2 { font-size:clamp(26px,4vw,36px); margin-bottom:20px; }
.tl-result h3, .tl-copy h3 { font-size:19px; font-weight:800; margin:26px 0 12px; }
.tl-bars { display:grid; grid-template-columns:auto 1fr; gap:14px 20px; align-items:center; margin:0; }
.tl-bars dt { font-weight:700; font-size:15px; }
.tl-bars dd { margin:0; display:flex; align-items:center; gap:14px; }
.tl-bars span { flex:1; height:14px; border-radius:8px; background:var(--pk-line); overflow:hidden; }
.tl-bars i { display:block; height:100%; background:var(--pk-teal); border-radius:8px; }
.tl-bars b { font-size:14px; white-space:nowrap; }
.pk .tl-done h2 { margin-bottom:14px; }
.tl-copy { border-top:1px solid var(--pk-line); margin-top:20px; }
.tl-copy dl { margin:0; }
.tl-copy dt { font-weight:700; font-size:14.5px; margin-top:10px; }
.tl-copy dd { margin:2px 0 0; color:var(--pk-muted); white-space:pre-wrap; overflow-wrap:anywhere; }
@media (max-width:640px) {
  .tl-grid { grid-template-columns:1fr; }
  .tl-opts span { min-width:0; padding:11px 8px; }
  .tl-opts label { flex:1; }
  .tl-bars { grid-template-columns:1fr; gap:6px; }
  .tl-bars dd { margin-bottom:10px; }
}
.pk-sec p.tl-tally { position:sticky; top:72px; z-index:5; background:#fff; border-bottom:1px solid var(--pk-line); padding:14px 0; margin:0 0 24px; max-width:none; }
.tl-tally b { color:var(--pk-teal); }
.tl-opts input[value=concern]:checked + span { background:#a93226; border-color:#a93226; }
.tl-opts input[value=""]:checked + span { background:#e8eef4; border-color:#b9c7d6; color:var(--pk-ink); }
.tl-gate { margin-top:40px; padding-top:32px; border-top:2px solid var(--pk-line); }
.pk .tl-gate h2 { margin-bottom:12px; }
.pk-sec p.tl-legal { background:var(--pk-soft); border-radius:12px; padding:16px 18px; margin-bottom:32px; max-width:none; }
.pk .tl-term h2 { font-size:20px; margin:0 0 4px; }
.pk-sec .tl-term p { font-size:15px; margin-bottom:10px; }
.tl-term { margin-bottom:28px; scroll-margin-top:96px; }
.tl-print { display:none; }
@page { margin:18mm; }
@media print {
  body > *:not(main), main > *:not(#docCopy):not(.pk-sec), .tl-nav { display:none !important; }
  body:has(#docCopy) main > *:not(#docCopy) { display:none !important; }
  .pk-sec { padding:0; }
  .tl-print { display:block; border:0; margin:0; color:#000; font-size:12pt; }
  .tl-print h1 { font-size:20pt; margin:0 0 6pt; }
  .pk .tl-print h2 { font-size:13pt; margin:14pt 0 4pt; break-after:avoid; }
  .tl-print p, .tl-print ul { margin:0 0 6pt; line-height:1.45; }
  .tl-print li { break-inside:avoid; }
  .tl-pre { white-space:pre-wrap; overflow-wrap:anywhere; }
  .tl-blank { color:#555; border-bottom:1px solid #999; padding-bottom:18pt; }
}

/* Export Market Selector */
#selForm .tl-f, #selForm .tl-checks { margin-bottom:22px; }
#selOut { scroll-margin-top:96px; margin-top:36px; }
.sel-list { list-style:none; padding:0; margin:0 0 20px; counter-reset:sel; }
.sel-list > li { counter-increment:sel; border:1px solid var(--pk-line); border-radius:14px; padding:18px 20px; margin-bottom:14px; }
.sel-list h3 { margin:0 0 10px; font-size:19px; font-weight:800; }
.sel-list h3::before { content:counter(sel) ". "; color:var(--pk-teal); }
.sel-list ul { margin:12px 0; padding-left:20px; font-size:15px; line-height:1.55; }
.sel-bar { height:8px; border-radius:8px; background:var(--pk-line); overflow:hidden; }
.sel-bar i { display:block; height:100%; background:var(--pk-teal); }
.sel-table { overflow-x:auto; margin:18px 0; }
.sel-table table { border-collapse:collapse; width:100%; min-width:760px; font-size:14.5px; }
.sel-table th, .sel-table td { text-align:left; vertical-align:top; padding:10px 12px; border-bottom:1px solid var(--pk-line); }
.sel-table thead th { font-weight:800; }
