/* TaiwanBuying - award-company pages (2026/11/17 makeup)
   Used by ShowCCTerminateNew.ASP, ShowCCTerminateNew1.ASP, ShowCCTerminateNewMore.ASP, ShowCompanyHistory.ASP
   Same look as ShowCompProfile.ASP. Text sizes 18 / 15 / 13 only. */
table.tbn-cp { width:555px; max-width:100%; }
table.tbn-cp table[style*="width:555px"] { width:100% !important; }
.cpd { background:#fff; border:1px solid #F2D58A; border-radius:10px; overflow:hidden; text-align:left; margin:4px 0 12px; font-family:"Microsoft JhengHei","PingFang TC",sans-serif; }
.cpd * { box-sizing:border-box; }
.cpd-head { background:#FFF8E6; border-bottom:1px solid #F2D58A; padding:12px 16px; }
.cpd-head:last-child { border-bottom:0; }
.cpd-acts { float:right; display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px; margin:0 0 6px 10px; }
.cpd-acts a, a.cct-pill { display:inline-flex; align-items:center; gap:4px; padding:3px 10px; border:1px solid #e08a00; border-radius:14px; background:#fff; color:#e08a00 !important; font-size:13px; line-height:1.4; text-decoration:none !important; white-space:nowrap; font-style:normal !important; }
.cpd-acts a:hover, a.cct-pill:hover { background:#ff9900; color:#fff !important; }
.cpd-acts svg { width:14px; height:14px; }
.cpd-name { font-size:18px !important; line-height:1.4 !important; font-weight:bold; color:#4a3f22; margin:0; }
.cpd-sub { font-size:13px !important; line-height:1.6 !important; color:#8a7a50; margin-top:2px; }
.cpd-sec { padding:12px 16px; border-top:1px solid #f3e6c4; }
.cpd-head + .cpd-sec, .cpd-sec:first-child { border-top:0; }
.cpd-lab { font-size:13px !important; font-weight:bold; color:#e08a00; margin-bottom:6px; letter-spacing:1px; }
.cpd dl { margin:0; display:grid; grid-template-columns:5.5em 1fr; gap:6px 10px; font-size:15px; line-height:1.6; }
.cpd dt { color:#6b5a2e; font-weight:bold; white-space:nowrap; }
.cpd dd { margin:0; color:#333; word-break:break-word; min-width:0; }
.cpd a.cpd-map { display:inline-block; margin-left:4px; padding:0 8px; border:1px solid #e08a00; border-radius:10px; font-size:13px; color:#e08a00 !important; text-decoration:none !important; white-space:nowrap; font-style:normal !important; }
.cct-none { color:#999; }
.cct-more { text-align:right; margin-top:10px; }
table.cct-tbl { width:100%; border-collapse:collapse; }
table.cct-tbl th { background:#FFF8E6; color:#6b5a2e; font-size:13px; line-height:1.6; font-weight:bold; padding:6px 10px; border-bottom:1px solid #F2D58A; text-align:right; white-space:nowrap; }
table.cct-tbl td { font-size:15px !important; line-height:1.6 !important; padding:7px 10px; border-bottom:1px solid #f3e6c4; text-align:right; color:#333; font-variant-numeric:tabular-nums; white-space:nowrap; }
table.cct-tbl th:first-child, table.cct-tbl td:first-child { text-align:left; }
table.cct-tbl td a { color:#1a5fb4 !important; font-weight:bold; text-decoration:underline !important; }
table.cct-tbl td.cct-empty { text-align:center; color:#999; white-space:normal; }
#chart_div { width:100%; height:280px; }
.cpd-note { background:#FFF8E6; border:1px solid #F2D58A; border-radius:10px; padding:10px 14px; font-size:13px; line-height:1.7; color:#5a4a20; text-align:left; margin:0 0 10px; }
.cpd-note b { color:#6b5a2e; }
.cpd-note ul { margin:4px 0 0; padding-left:18px; }
.cpd-note li { margin:2px 0; }
.cct-msg { font-size:15px; margin-top:8px; }
.cct-msg b { font-size:18px; color:#4a3f22; }
.cpd-foot { text-align:center; font-size:13px; margin:6px 0 16px; }
.cpd-foot a { color:#8a7a50 !important; }
@media (max-width: 767px) {
  .cpd dl { grid-template-columns:4.8em 1fr; }
  .cpd-head { display:flex; flex-direction:column; }
  .cpd-acts { float:none; order:3; justify-content:flex-start; margin:8px 0 0; }
  .cpd-sec, .cpd-head { padding:10px 12px; }
  table.cct-tbl th, table.cct-tbl td { padding-left:6px; padding-right:6px; }
  #chart_div { height:240px; }
}
@media print { .cpd-acts, .cct-more { display:none !important; } }

/* year page: numbered case list */
.cct-list { list-style:none; margin:0; padding:0; counter-reset:cct; }
.cct-list li { display:flex; gap:10px; padding:8px 0; border-bottom:1px solid #f3e6c4; font-size:15px; line-height:1.6; counter-increment:cct; }
.cct-list li::before { content:counter(cct); flex:0 0 2em; text-align:right; color:#8a7a50; font-variant-numeric:tabular-nums; }
.cct-list li a { color:#1a5fb4 !important; text-decoration:none !important; word-break:break-word; min-width:0; font-style:normal !important; }
.cct-list li a:hover { text-decoration:underline !important; }
.cct-list li.cct-empty { display:block; text-align:center; color:#999; }
.cct-list li.cct-empty::before { content:none; }
.cct-count { font-size:13px; color:#8a7a50; font-weight:normal; letter-spacing:0; margin-left:6px; }
.cpd-name a { color:inherit !important; text-decoration:none !important; font-style:normal !important; }
/* contact history: one block per record */
.cct-rec { padding:10px 0; border-bottom:1px solid #f3e6c4; }
.cct-rec:last-child { border-bottom:0; padding-bottom:0; }
.cct-rec:first-of-type { padding-top:2px; }
.cct-date { display:inline-block; padding:1px 10px; border-radius:12px; background:#FFF8E6; border:1px solid #F2D58A; color:#6b5a2e; font-size:13px; line-height:1.6; margin-bottom:6px; font-variant-numeric:tabular-nums; }
