.cldh-page,
.cldh-form {
    color: #18212f;
    font-family: inherit;
}

.cldh-wrap {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.cldh-hero {
    padding: 48px 0 36px;
    background: linear-gradient(135deg, #f7fbf9 0%, #f3f7ff 56%, #fff8ef 100%);
    border-bottom: 1px solid #e7edf0;
}

.cldh-kicker {
    margin: 0 0 8px;
    color: #607086;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.cldh-hero h1 {
    max-width: 820px;
    margin: 0;
    color: #142033;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.08;
    letter-spacing: 0;
}

.cldh-lead {
    max-width: 760px;
    margin: 18px 0 0;
    color: #405066;
    font-size: 18px;
    line-height: 1.7;
}

.cldh-score-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    padding: 12px 16px;
    border: 1px solid #cfd9e2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(20, 32, 51, 0.08);
}

.cldh-score-badge span {
    color: #0f766e;
    font-size: 26px;
    font-weight: 800;
}

.cldh-score-badge strong {
    color: #233246;
    font-size: 15px;
}

.cldh-score-badge--can-can-nhac span {
    color: #b42318;
}

.cldh-score-badge--trung-binh span {
    color: #a15c07;
}

.cldh-score-badge--kha-hop span,
.cldh-score-badge--rat-hop span {
    color: #0f766e;
}

.cldh-content {
    display: grid;
    gap: 20px;
    padding: 28px 0 56px;
}

.cldh-panel,
.cldh-form {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(20, 32, 51, 0.05);
}

.cldh-panel {
    padding: 24px;
}

.cldh-panel h2 {
    margin: 0 0 16px;
    color: #142033;
    font-size: 26px;
    line-height: 1.25;
    letter-spacing: 0;
}

.cldh-panel h3 {
    margin: 0 0 10px;
    color: #1f2d3d;
    font-size: 19px;
    line-height: 1.35;
    letter-spacing: 0;
}

.cldh-panel p {
    color: #405066;
    line-height: 1.75;
}

.cldh-two-col,
.cldh-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.cldh-person-card,
.cldh-detail-grid article,
.cldh-note,
.cldh-conclusion {
    border: 1px solid #e7edf0;
    border-radius: 8px;
    background: #fbfdff;
    padding: 18px;
}

.cldh-mini-table,
.cldh-table {
    width: 100%;
    border-collapse: collapse;
}

.cldh-mini-table th,
.cldh-mini-table td,
.cldh-table th,
.cldh-table td {
    padding: 12px;
    border-bottom: 1px solid #e7edf0;
    text-align: left;
    vertical-align: top;
}

.cldh-mini-table th,
.cldh-table th {
    color: #526277;
    font-weight: 700;
}

.cldh-mini-table td,
.cldh-table td {
    color: #1f2d3d;
}

.cldh-table-wrap {
    overflow-x: auto;
}

.cldh-table {
    min-width: 760px;
}

.cldh-total-row td {
    background: #f6faf9;
    font-weight: 800;
}

.cldh-cao-ly {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px 20px;
}

.cldh-cao-ly p,
.cldh-cao-ly .cldh-note {
    grid-column: 1 / -1;
}

.cldh-level {
    align-self: start;
    padding: 7px 11px;
    border-radius: 999px;
    background: #edf7f5;
    color: #0f766e;
    font-weight: 800;
}

.cldh-soft-advice ul {
    margin: 0;
    padding-left: 20px;
    color: #405066;
    line-height: 1.8;
}

.cldh-faq {
    display: grid;
    gap: 10px;
}

.cldh-faq details {
    border: 1px solid #e7edf0;
    border-radius: 8px;
    background: #fbfdff;
    padding: 14px 16px;
}

.cldh-faq summary {
    cursor: pointer;
    color: #1f2d3d;
    font-weight: 800;
}

.cldh-related {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cldh-related a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #d9e2ea;
    border-radius: 8px;
    color: #0f5f8f;
    text-decoration: none;
    background: #fbfdff;
}

.cldh-form {
    padding: 18px;
}

.cldh-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 14px;
    align-items: end;
}

.cldh-field {
    display: grid;
    gap: 7px;
}

.cldh-field span {
    color: #526277;
    font-size: 14px;
    font-weight: 700;
}

.cldh-field select {
    min-height: 46px;
    width: 100%;
    border: 1px solid #cfd9e2;
    border-radius: 8px;
    background: #fff;
    color: #18212f;
    font-size: 16px;
}

.cldh-button {
    min-height: 46px;
    border: 0;
    border-radius: 8px;
    background: #0f766e;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    padding: 0 18px;
}

.cldh-button:hover,
.cldh-button:focus {
    background: #115e59;
    color: #fff;
}

.cldh-form__error {
    margin: 12px 0 0;
    color: #b42318;
    font-weight: 700;
}

.cldh-tool-page {
    display: grid;
    gap: 22px;
    color: #18212f;
}

.cldh-tool-hero,
.cldh-tool-section {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(20, 32, 51, 0.05);
}

.cldh-tool-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 22px;
    align-items: center;
    padding: 26px;
    background: linear-gradient(135deg, #f7fbf9 0%, #f3f7ff 58%, #fff8ef 100%);
}

.cldh-tool-hero h2,
.cldh-tool-section h2 {
    margin: 0 0 12px;
    color: #142033;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.12;
    letter-spacing: 0;
}

.cldh-tool-hero p,
.cldh-tool-section p {
    margin: 0;
    color: #405066;
    line-height: 1.75;
}

.cldh-tool-hero__form .cldh-form {
    box-shadow: 0 14px 34px rgba(20, 32, 51, 0.09);
}

.cldh-tool-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.cldh-tool-points span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid #d9e2ea;
    border-radius: 8px;
    background: #fff;
    color: #526277;
    font-size: 13px;
    font-weight: 800;
}

.cldh-tool-section {
    padding: 24px;
}

.cldh-tool-grid,
.cldh-tool-split {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 22px;
    align-items: start;
}

.cldh-process-list {
    display: grid;
    gap: 10px;
}

.cldh-process-list div,
.cldh-factor-grid article,
.cldh-tool-note {
    border: 1px solid #e7edf0;
    border-radius: 8px;
    background: #fbfdff;
}

.cldh-process-list div {
    display: flex;
    gap: 12px;
    padding: 14px;
}

.cldh-process-list strong {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #0f766e;
    color: #fff;
}

.cldh-process-list span,
.cldh-factor-grid span,
.cldh-tool-note span {
    color: #405066;
    line-height: 1.65;
}

.cldh-tool-heading {
    max-width: 760px;
    margin-bottom: 18px;
}

.cldh-factor-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.cldh-factor-grid article {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.cldh-factor-grid strong,
.cldh-tool-note strong {
    color: #142033;
    font-size: 17px;
}

.cldh-tool-note {
    display: grid;
    gap: 10px;
    padding: 18px;
    background: #f6faf9;
}

.cldh-popular-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.cldh-popular-grid a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #d9e2ea;
    border-radius: 8px;
    background: #fbfdff;
    color: #0f5f8f;
    font-weight: 800;
    text-decoration: none;
}

.cldh-popular-grid a:hover,
.cldh-popular-grid a:focus {
    border-color: #0f766e;
    color: #0f766e;
}

/* Result page polish */
.cldh-page {
    background:
        radial-gradient(circle at 8% 0%, rgba(177, 64, 33, 0.08), transparent 28%),
        linear-gradient(180deg, #fffaf2 0%, #fff 42%, #fffaf5 100%);
}

.cldh-page .cldh-hero {
    background:
        linear-gradient(135deg, rgba(255, 246, 232, 0.96) 0%, rgba(255, 255, 255, 0.94) 48%, rgba(239, 248, 245, 0.92) 100%);
    border-bottom-color: #ecd9c3;
    padding: 54px 0 48px;
}

.cldh-page .cldh-hero h1,
.cldh-page .cldh-panel h2 {
    color: #2d160f;
}

.cldh-page .cldh-hero h1 {
    max-width: 760px;
    font-size: clamp(36px, 4.4vw, 58px);
}

.cldh-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 400px);
    gap: 42px;
    align-items: center;
}

.cldh-hero__copy {
    min-width: 0;
}

.cldh-page .cldh-lead,
.cldh-page .cldh-panel p {
    color: #4f392f;
}

.cldh-hero-card {
    position: relative;
    display: grid;
    gap: 16px;
    padding: 20px;
    border: 1px solid #ead8c2;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 238, 0.98) 100%);
    box-shadow: 0 24px 52px rgba(80, 39, 18, 0.13);
}

.cldh-hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    border-top: 4px solid #8f2e1f;
    pointer-events: none;
}

.cldh-page .cldh-hero-card .cldh-score-badge {
    width: 100%;
    justify-content: space-between;
    margin: 0;
    padding: 18px;
    border-color: #f0ddc5;
    background: #fff;
    box-shadow: none;
}

.cldh-hero-card__body {
    display: grid;
    gap: 14px;
}

.cldh-hero-card__title {
    margin: 0;
    color: #8f2e1f;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
}

.cldh-hero-stats {
    display: grid;
    gap: 10px;
}

.cldh-hero-stats div {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid #f0ddc5;
    border-radius: 8px;
    background: #fffdf9;
}

.cldh-hero-stats span {
    color: #8a6a58;
    font-size: 13px;
    font-weight: 800;
}

.cldh-hero-stats strong {
    color: #2d160f;
    font-size: 15px;
    line-height: 1.4;
}

.cldh-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.cldh-hero-actions a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid #8f2e1f;
    border-radius: 8px;
    color: #8f2e1f;
    font-size: 14px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
}

.cldh-hero-actions a:first-child {
    background: #8f2e1f;
    color: #fff;
}

.cldh-hero-actions a:hover,
.cldh-hero-actions a:focus {
    background: #6f2117;
    border-color: #6f2117;
    color: #fff;
}

.cldh-page .cldh-content {
    gap: 24px;
}

.cldh-page .cldh-panel {
    border-color: #ead8c2;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 44px rgba(80, 39, 18, 0.08);
}

.cldh-page .cldh-score-badge {
    gap: 16px;
    padding: 16px 20px;
    border-color: #ead8c2;
    background: #fff;
    box-shadow: 0 16px 34px rgba(80, 39, 18, 0.12);
}

.cldh-page .cldh-score-badge span {
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    border: 9px solid #fff4df;
    border-radius: 50%;
    background: linear-gradient(145deg, #fff7e8 0%, #e3a23d 100%);
    color: #7d1d13;
    font-size: 26px;
    line-height: 1;
}

.cldh-page .cldh-score-badge strong {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 7px 13px;
    border-radius: 999px;
    background: #fff4d8;
    color: #855500;
    font-size: 14px;
}

.cldh-page .cldh-two-col {
    gap: 20px;
}

.cldh-page .cldh-person-card,
.cldh-page .cldh-detail-grid article,
.cldh-page .cldh-note,
.cldh-page .cldh-conclusion,
.cldh-page .cldh-faq details {
    border-color: #ead8c2;
    background: linear-gradient(180deg, #fffdf9 0%, #fff8ee 100%);
}

.cldh-page .cldh-person-card {
    padding: 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.cldh-page .cldh-person-card h3 {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #8f2e1f;
    color: #fff;
    font-size: 16px;
}

.cldh-page .cldh-mini-table,
.cldh-page .cldh-table {
    border: 1px solid #ead8c2;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
}

.cldh-page .cldh-mini-table th,
.cldh-page .cldh-mini-table td,
.cldh-page .cldh-table th,
.cldh-page .cldh-table td {
    padding: 15px 16px;
    border-bottom: 1px solid #efe0cf;
    color: #2d160f;
    font-size: 16px;
    line-height: 1.55;
}

.cldh-page .cldh-mini-table tr:last-child th,
.cldh-page .cldh-mini-table tr:last-child td,
.cldh-page .cldh-table tbody tr:last-child td {
    border-bottom: 0;
}

.cldh-page .cldh-mini-table th {
    width: 42%;
    background: #fff4e4;
    color: #8f2e1f;
    font-weight: 800;
}

.cldh-page .cldh-mini-table td {
    background: #fff;
    font-weight: 700;
}

.cldh-page .cldh-mini-table tr:nth-child(even) td {
    background: #fffaf4;
}

.cldh-page .cldh-table-wrap {
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(80, 39, 18, 0.08);
}

.cldh-page .cldh-table thead th {
    border-bottom: 0;
    background: #8f2e1f;
    color: #fff;
    font-size: 15px;
}

.cldh-page .cldh-table tbody tr:nth-child(even) td {
    background: #fffaf4;
}

.cldh-page .cldh-table td:nth-child(1) {
    color: #8f2e1f;
    font-weight: 800;
}

.cldh-page .cldh-table td:nth-child(3) {
    color: #0f766e;
    font-weight: 900;
    white-space: nowrap;
}

.cldh-page .cldh-total-row td {
    background: #edf7f5;
    color: #123d39;
    font-weight: 900;
}

.cldh-page .cldh-level {
    background: #fff4d8;
    color: #855500;
}

.cldh-page .cldh-note,
.cldh-page .cldh-conclusion {
    border-left: 4px solid #0f766e;
}

.cldh-page .cldh-related a {
    border-color: #ead8c2;
    background: #fffaf4;
    color: #8f2e1f;
    font-weight: 800;
}

.cldh-page .cldh-related a:hover,
.cldh-page .cldh-related a:focus {
    border-color: #8f2e1f;
    background: #8f2e1f;
    color: #fff;
}

@media (max-width: 760px) {
    .cldh-wrap {
        width: min(100% - 24px, 1120px);
    }

    .cldh-hero {
        padding: 34px 0 28px;
    }

    .cldh-hero__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cldh-page .cldh-hero h1 {
        font-size: clamp(34px, 9vw, 44px);
    }

    .cldh-lead {
        font-size: 16px;
    }

    .cldh-panel {
        padding: 18px;
    }

    .cldh-two-col,
    .cldh-detail-grid,
    .cldh-form__grid,
    .cldh-cao-ly,
    .cldh-tool-hero,
    .cldh-tool-grid,
    .cldh-tool-split,
    .cldh-factor-grid,
    .cldh-popular-grid {
        grid-template-columns: 1fr;
    }

    .cldh-tool-hero,
    .cldh-tool-section {
        padding: 18px;
    }

    .cldh-table {
        min-width: 680px;
    }

    .cldh-page .cldh-score-badge {
        width: 100%;
        align-items: center;
        justify-content: flex-start;
    }

    .cldh-page .cldh-hero-card .cldh-score-badge {
        justify-content: space-between;
    }

    .cldh-hero-actions {
        grid-template-columns: 1fr;
    }

    .cldh-page .cldh-score-badge span {
        width: 64px;
        height: 64px;
        border-width: 7px;
        font-size: 22px;
    }

    .cldh-page .cldh-mini-table th,
    .cldh-page .cldh-mini-table td,
    .cldh-page .cldh-table th,
    .cldh-page .cldh-table td {
        padding: 12px;
        font-size: 15px;
    }

    .cldh-button {
        width: 100%;
    }
}
