/* Giao diện chung cho các trang công cụ / bài tĩnh đã nâng cấp (tiền tố .ccv-). */
.ccv-intro p { font-size: 16px; line-height: 1.6; margin-bottom: 6px; }
.ccv-hero { display: flex; align-items: center; gap: 16px; border: 1px solid #d6e9dd; border-radius: 12px; padding: 14px 16px; margin: 12px 0 14px; background: linear-gradient(180deg, #f2faf5, #fff); }
.ccv-circle { flex: 0 0 auto; min-width: 88px; height: 88px; padding: 0 10px; border-radius: 44px; background: #1d7a46; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; text-align: center; }
.ccv-circle b { font-size: 30px; }
.ccv-circle span { font-size: 12.5px; margin-top: 4px; }
.ccv-hero-label { font-size: 14px; color: #555; }
.ccv-hero-value { font-size: 26px; font-weight: 700; color: #1d5f3a; line-height: 1.25; word-break: break-word; }
.ccv-hero-sub { font-size: 14px; color: #8a6d1f; font-weight: 600; margin-top: 2px; }
.ccv-summary { border: 1px solid #e6e6e6; border-radius: 12px; overflow: hidden; margin: 0 0 20px; }
.ccv-summary > div { display: grid; grid-template-columns: 180px 1fr; gap: 10px; padding: 9px 14px; font-size: 15px; border-bottom: 1px solid #f0f0f0; }
.ccv-summary > div:last-child { border-bottom: 0; }
.ccv-summary > div:nth-child(even) { background: #fafafa; }
.ccv-summary span { color: #666; }
.ccv-summary b { color: #1d5f3a; }
.ccv-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 10px 0 20px; }
.ccv-card { border: 1px solid #d6e9dd; border-radius: 12px; padding: 12px; background: #f6fbf8; text-align: center; }
.ccv-card.current { background: #1d7a46; border-color: #1d7a46; }
.ccv-card.current span, .ccv-card.current b { color: #fff; }
.ccv-card span { display: block; font-size: 13.5px; color: #555; }
.ccv-card b { display: block; font-size: 19px; color: #1d5f3a; margin-top: 2px; word-break: break-word; }
.ccv-card a { color: inherit; }
.ccv-table { border: 1px solid #eee; border-radius: 12px; overflow: hidden; margin: 10px 0 20px; }
.ccv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 14px; border-bottom: 1px solid #f0f0f0; font-size: 14.5px; align-items: center; }
.ccv-row.c3 { grid-template-columns: 1.2fr 1fr 1fr; }
.ccv-row:last-child { border-bottom: 0; }
.ccv-row:nth-child(even) { background: #fafafa; }
.ccv-row.head { background: #1d7a46 !important; color: #fff; font-weight: 700; }
.ccv-row.current { background: #e3f4e9 !important; font-weight: 700; }
.ccv-row a { color: #1d7a46; font-weight: 600; }
.ccv-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 10px 0 20px; counter-reset: ccvstep; }
.ccv-step { border: 1px solid #e8e8e8; border-radius: 12px; padding: 12px; background: #fff; }
.ccv-step h3 { margin: 0 0 6px; font-size: 15.5px; font-weight: 700; color: #1d5f3a; }
.ccv-step h3::before { counter-increment: ccvstep; content: counter(ccvstep); display: inline-block; width: 22px; height: 22px; line-height: 22px; text-align: center; border-radius: 50%; background: #1d7a46; color: #fff; font-size: 13px; margin-right: 6px; }
.ccv-step p { margin: 0; font-size: 14px; line-height: 1.55; color: #444; }
.ccv-block { border: 1px solid #e8e8e8; border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; background: #fff; }
.ccv-block h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; color: #1d5f3a; }
.ccv-block p:last-child { margin-bottom: 0; }
.ccv-tag { display: inline-block; padding: 2px 9px; border-radius: 10px; background: #eef8f1; color: #1d7a46; font-size: 12.5px; font-weight: 600; margin-left: 6px; vertical-align: middle; }
.ccv-note { border-left: 4px solid #e7a5a5; background: #fdf4f4; border-radius: 8px; padding: 10px 14px; margin: 0 0 18px; font-size: 14.5px; color: #5a3a3a; }
.ccv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 10px 0 20px; }
.ccv-grid a, .ccv-grid > div { display: block; border: 1px solid #d6e9dd; border-radius: 12px; padding: 10px; text-align: center; background: #f6fbf8; color: #1d5f3a; }
.ccv-grid b { display: block; font-size: 16px; }
.ccv-grid span { display: block; font-size: 13px; color: #666; }
.ccv-grid .current { background: #1d7a46; color: #fff; }
.ccv-grid .current span { color: #e6f3eb; }
.ccv-rank { position: relative; }
.ccv-badge { display: inline-block; width: 26px; height: 26px; line-height: 26px; text-align: center; border-radius: 50%; background: #cfd8d3; color: #fff; font-weight: 700; font-size: 13.5px; margin-right: 8px; }
.ccv-badge.r1 { background: #d4a017; }
.ccv-badge.r2 { background: #9aa4ab; }
.ccv-badge.r3 { background: #b4733c; }
.ccv-content img { max-width: 100%; height: auto; }
.ccv-content table { max-width: 100%; }
.ccv-faq-item { border: 1px solid #e8e8e8; border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
.ccv-faq-item[open] { border-color: #b9dcc6; }
.ccv-faq-item summary { list-style: none; cursor: pointer; padding: 12px 40px 12px 14px; position: relative; }
.ccv-faq-item summary::-webkit-details-marker { display: none; }
.ccv-faq-item summary::after { content: '+'; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; line-height: 20px; text-align: center; border-radius: 50%; background: #eef8f1; color: #1d7a46; font-weight: 700; }
.ccv-faq-item[open] summary { background: #f4faf6; }
.ccv-faq-item[open] summary::after { content: '\2212'; }
.ccv-faq-item summary h3 { margin: 0; font-size: 16px; font-weight: 600; color: #1d5f3a; }
.ccv-faq-item p { margin: 0; padding: 10px 14px 14px; }
.ccv-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.ccv-links a { padding: 6px 12px; border: 1px solid #d6e9dd; border-radius: 16px; background: #f6fbf8; color: #1d7a46; font-size: 13.5px; }
.ccv-links a.current { background: #1d7a46; color: #fff; border-color: #1d7a46; }
.ccv-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 16px; }
.ccv-form select, .ccv-form input { height: 38px; border: 1px solid #cfe3d6; border-radius: 10px; padding: 0 10px; max-width: 100%; }
.ccv-form button { height: 38px; border: 0; border-radius: 10px; padding: 0 16px; background: #1d7a46; color: #fff; font-weight: 600; }
@media (max-width: 767px) {
  .ccv-hero { gap: 12px; padding: 12px; }
  .ccv-circle { min-width: 68px; height: 68px; }
  .ccv-circle b { font-size: 22px; }
  .ccv-hero-value { font-size: 21px; }
  .ccv-summary > div { grid-template-columns: 1fr; gap: 2px; }
  .ccv-steps { grid-template-columns: 1fr; }
  .ccv-grid { grid-template-columns: repeat(2, 1fr); }
  .ccv-card b { font-size: 17px; }
  .ccv-row { padding: 8px 10px; font-size: 14px; }
}
