:root {
    --cnv-red: #7a1f2b;
    --cnv-red-dark: #57151f;
    --cnv-red-soft: #f4e8eb;
    --cnv-green: #145640;
    --cnv-green-soft: #eaf3ef;
    --cnv-ink: #17231e;
    --cnv-muted: #66726c;
    --cnv-rice: #f5f6f2;
    --cnv-paper: #ffffff;
    --cnv-line: #d7ddd8;
    --cnv-gold: #e3a51b;
    --cnv-gold-soft: #fff7de;
    /* Nền tin trả phí — một màu cho mọi gói (Cần gấp, Nổi bật, gói sau này). */
    --cnv-paid-bg: #fbc896;
    --cnv-paid-line: #e3995a;
    /* Chữ thường: cùng bộ font hệ thống như Báo Nail (Bootstrap 3) — máy nào cũng có sẵn, đủ dấu tiếng Việt,
       không phải tải font. Mac/iPhone: Helvetica Neue; Windows: Arial; Android: Arial → Roboto. */
    --cnv-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --cnv-display: "Barlow Condensed", "Arial Narrow", sans-serif;
    --cnv-radius: 8px;
    --cnv-max: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--cnv-ink); background: var(--cnv-rice); font-family: var(--cnv-body); font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid rgba(201, 54, 40, .3); outline-offset: 3px; }
.cnv-shell { width: min(var(--cnv-max), calc(100% - 48px)); margin-inline: auto; }
.cnv-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.cnv-location-bar { position: relative; z-index: 65; background: var(--cnv-red-dark); color: white; }
.cnv-location-bar__inner { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; }
.cnv-location-current { display: flex; align-items: center; gap: 14px; min-height: 42px; list-style: none; cursor: pointer; }
.cnv-location-current svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.cnv-location-current span { color: #f2dbe0; text-decoration: underline; text-underline-offset: 3px; }
.cnv-language-switch { display: flex; align-items: center; gap: 11px; color: #d9aeb8; }
.cnv-language-switch a { padding: 4px 0; }
.cnv-language-switch a:hover, .cnv-language-switch a.is-active { color: white; }
.cnv-language-switch a.is-active { font-weight: 800; }
.cnv-language-switch span { opacity: .45; }

.cnv-header { background: white; border-bottom: 1px solid var(--cnv-line); }
.cnv-header__inner { min-height: 94px; display: grid; grid-template-columns: 235px minmax(380px, 1fr) auto; align-items: center; gap: 26px; }
.cnv-brand { display: flex; align-items: center; gap: 11px; width: max-content; }
.cnv-brand__mark { width: 45px; height: 45px; display: grid; place-items: center; position: relative; background: var(--cnv-red); color: white; border-radius: 50%; font-family: var(--cnv-display); font-size: 26px; font-weight: 800; }
.cnv-brand__mark::after { content: ""; position: absolute; right: 0; bottom: 1px; width: 10px; height: 10px; border: 3px solid white; border-radius: 50%; background: var(--cnv-gold); }
.cnv-brand strong { display: block; font-family: var(--cnv-display); font-size: 27px; line-height: .92; letter-spacing: -.01em; text-transform: uppercase; }
.cnv-brand small { display: block; margin-top: 6px; color: var(--cnv-muted); font-size: 11px; white-space: nowrap; }
.cnv-search { height: 50px; display: grid; grid-template-columns: 1fr minmax(180px, .45fr) 88px; border: 2px solid var(--cnv-red); border-radius: var(--cnv-radius); overflow: hidden; background: white; }
.cnv-search input { min-width: 0; border: 0; padding: 0 18px; color: var(--cnv-ink); outline: 0; }
.cnv-search input + input { border-left: 1px solid var(--cnv-line); }
.cnv-search button { border: 0; background: var(--cnv-red); color: white; font-weight: 800; }
.cnv-search button:hover { background: var(--cnv-red-dark); }
/* Nút chính ở header: khối đỏ phẳng + icon bút (phương án A, 24/09). Không dùng bóng đổ lệch. */
.cnv-post-button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border: 1px solid var(--cnv-red-dark); border-radius: 6px; background: var(--cnv-red); color: white; font-weight: 700; letter-spacing: .005em; white-space: nowrap; transition: background-color .15s ease; }
.cnv-post-button:has(svg) { padding-left: 17px; }
.cnv-post-button svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cnv-post-button:hover { background: var(--cnv-red-dark); }
.cnv-post-button:active { box-shadow: inset 0 2px 3px rgba(0, 0, 0, .25); }
.cnv-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 11px; }
.cnv-login-button { min-height: 48px; display: grid; place-items: center; border: 1px solid var(--cnv-red); border-radius: var(--cnv-radius); padding: 0 17px; color: var(--cnv-red); font-size: 11px; font-weight: 800; }
.cnv-login-button:hover { background: var(--cnv-red-soft); }
/* "Sign in" ngắn: giữ một dòng (bản tiếng Việt "Đăng nhập" vẫn xuống dòng như cũ trên mobile). */
:lang(en) .cnv-login-button { white-space: nowrap; }
.cnv-account-menu { position: relative; }
.cnv-account-trigger { min-height: 50px; min-width: 145px; display: grid; grid-template-columns: 35px minmax(0, 1fr) 14px; gap: 9px; align-items: center; border: 1px solid #cbb7bc; border-radius: var(--cnv-radius); background: #fffafb; padding: 6px 9px; color: var(--cnv-ink); list-style: none; cursor: pointer; }
.cnv-account-trigger::-webkit-details-marker { display: none; }
.cnv-account-trigger:hover, .cnv-account-menu[open] .cnv-account-trigger { border-color: var(--cnv-red); background: var(--cnv-red-soft); }
.cnv-account-trigger__avatar { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; background: var(--cnv-red-dark); color: white; font-family: var(--cnv-display); font-size: 18px; font-weight: 800; }
.cnv-account-trigger__copy { min-width: 0; }
.cnv-account-trigger__copy small, .cnv-account-trigger__copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cnv-account-trigger__copy small { color: var(--cnv-red); font-size: 7px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cnv-account-trigger__copy strong { margin-top: 2px; font-size: 9px; }
.cnv-account-trigger > svg { width: 14px; height: 14px; fill: none; stroke: var(--cnv-red); stroke-width: 2; transition: transform .15s ease; }
.cnv-account-menu[open] .cnv-account-trigger > svg { transform: rotate(180deg); }
.cnv-account-popover { position: absolute; z-index: 80; top: calc(100% + 10px); right: 0; width: 285px; overflow: hidden; border: 1px solid #cbb7bc; border-radius: 8px; background: white; box-shadow: 0 20px 55px rgba(53, 23, 29, .2); }
.cnv-account-popover::before { content: ""; position: absolute; top: -6px; right: 50px; width: 11px; height: 11px; border-top: 1px solid #cbb7bc; border-left: 1px solid #cbb7bc; background: white; transform: rotate(45deg); }
.cnv-account-popover header { padding: 16px; border-bottom: 1px solid var(--cnv-line); background: #fffafb; }
.cnv-account-popover header span, .cnv-account-popover header strong, .cnv-account-popover header small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cnv-account-popover header span { color: var(--cnv-red); font-size: 7px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.cnv-account-popover header strong { margin-top: 5px; font-size: 12px; }
.cnv-account-popover header small { margin-top: 3px; color: var(--cnv-muted); font-size: 8px; }
.cnv-account-popover nav { display: grid; gap: 3px; padding: 8px; }
.cnv-account-popover nav a { min-height: 40px; display: flex; align-items: center; gap: 10px; border-radius: 5px; padding: 7px 9px; color: #405048; font-size: 9px; font-weight: 700; }
.cnv-account-popover nav a:hover { background: var(--cnv-rice); color: var(--cnv-red); }
.cnv-account-popover nav a.is-primary { min-height: 52px; background: var(--cnv-red-soft); color: var(--cnv-red-dark); }
.cnv-account-popover nav a svg { flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cnv-account-popover nav a span { min-width: 0; }
.cnv-account-popover nav a span strong, .cnv-account-popover nav a span small { display: block; }
.cnv-account-popover nav a span small { margin-top: 2px; color: #7c8881; font-size: 7px; font-weight: 500; }
.cnv-account-popover form { margin: 0; padding: 8px; border-top: 1px solid var(--cnv-line); }
.cnv-account-popover form button { width: 100%; min-height: 38px; border: 0; border-radius: 5px; background: transparent; color: #9e261e; font-size: 9px; font-weight: 800; text-align: left; }
.cnv-account-popover form button:hover { background: #fff1ef; }

.cnv-category-bar { background: white; border-bottom: 1px solid var(--cnv-line); }
.cnv-category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; padding-block: 12px; }
.cnv-category-grid a { min-width: 0; padding: 11px 13px; border: 1px solid var(--cnv-line); border-radius: 6px; color: var(--cnv-green); }
.cnv-category-grid a:hover, .cnv-category-grid a.is-active { color: var(--cnv-red-dark); border-color: var(--cnv-red); background: var(--cnv-red-soft); }
.cnv-category-grid strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.cnv-category-grid span { display: block; margin-top: 3px; color: var(--cnv-muted); font-size: 11px; }

.cnv-hero { background: var(--cnv-red); color: white; }
.cnv-hero__inner { min-height: 264px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; padding-block: 40px; }
.cnv-kicker { color: inherit; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cnv-hero .cnv-kicker { color: #eecbd3; }
.cnv-hero h1 { margin: 8px 0 11px; font-family: var(--cnv-display); font-size: clamp(46px, 5vw, 70px); line-height: .9; letter-spacing: -.02em; text-transform: uppercase; }
.cnv-hero p { max-width: 560px; margin: 0; color: #f7e8eb; font-size: 13px; line-height: 1.7; }
.cnv-today-board { position: relative; background: white; color: var(--cnv-ink); border: 2px solid var(--cnv-red-dark); padding: 17px 20px; box-shadow: 8px 8px 0 var(--cnv-red-dark); transform: rotate(.5deg); }
.cnv-today-board__label { position: absolute; top: -12px; left: 18px; padding: 5px 9px; background: var(--cnv-gold); color: var(--cnv-ink); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cnv-today-board a { display: grid; grid-template-columns: minmax(72px, .25fr) 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--cnv-line); font-size: 11px; }
.cnv-today-board a:last-child { border: 0; }
.cnv-today-board a:hover strong { color: var(--cnv-red); }
.cnv-today-board b { color: var(--cnv-red); font-size: 9px; text-transform: uppercase; }
.cnv-today-board strong { line-height: 1.35; }
.cnv-today-board a > span { color: var(--cnv-muted); font-size: 9px; text-align: right; }
.cnv-today-board__empty { padding: 24px 0; color: var(--cnv-muted); font-size: 12px; }

.cnv-scope { background: white; border-bottom: 1px solid var(--cnv-line); }
.cnv-scope__inner { min-height: 80px; display: grid; grid-template-columns: auto 1fr minmax(180px, 270px); gap: 22px; align-items: center; }
.cnv-scope__title { color: var(--cnv-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.cnv-scope__path { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; }
.cnv-scope__path span { padding: 9px 12px; border: 1px solid var(--cnv-line); background: var(--cnv-rice); font-size: 11px; }
.cnv-scope__path span.is-current { border-color: var(--cnv-red); background: var(--cnv-red-soft); }
.cnv-scope__path strong { margin-left: 5px; color: var(--cnv-red); }
.cnv-scope__path i { position: relative; height: 2px; width: 22px; background: var(--cnv-red); }
.cnv-scope__path i::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 2px solid var(--cnv-red); border-right: 2px solid var(--cnv-red); transform: rotate(45deg); }
.cnv-scope p { margin: 0; color: var(--cnv-muted); font-size: 10px; line-height: 1.5; text-align: right; }

.cnv-categories-home { padding: 34px 0 0; }
.cnv-section-heading, .cnv-list-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.cnv-section-heading span { color: var(--cnv-red); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cnv-section-heading h2, .cnv-list-heading h1, .cnv-list-heading h2 { margin: 4px 0 0; font-family: var(--cnv-body); font-size: 29px; line-height: 1.2; letter-spacing: -.025em; }
.cnv-section-heading > a, .cnv-list-heading > a { color: var(--cnv-red); font-size: 13px; font-weight: 800; }
.cnv-category-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; margin-top: 15px; }
.cnv-category-cards a { padding: 16px; border: 1px solid var(--cnv-line); border-top: 4px solid var(--cnv-red); border-radius: var(--cnv-radius); background: white; }
.cnv-category-cards a:hover { background: var(--cnv-red-soft); }
.cnv-category-cards strong { display: block; font-size: 12px; line-height: 1.4; }
.cnv-category-cards span { display: block; margin-top: 5px; color: var(--cnv-muted); font-size: 10px; }

.cnv-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 26px; padding-block: 32px 54px; }
.cnv-main-column { min-width: 0; }
.cnv-panel { margin-bottom: 18px; border: 1px solid var(--cnv-line); border-radius: var(--cnv-radius); background: white; overflow: hidden; }
.cnv-panel h2 { margin: 0; padding: 13px 15px; border-bottom: 1px solid var(--cnv-line); font-size: 13px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.cnv-panel > div:not(.cnv-filter__fields) { padding: 5px 15px; }
.cnv-panel > div > a { display: flex; justify-content: space-between; gap: 15px; padding: 10px 0; color: var(--cnv-green); font-size: 13px; }
.cnv-panel > div > a strong { color: var(--cnv-red); }
.cnv-panel > p { margin: 0; padding: 12px 15px; border-top: 1px solid var(--cnv-line); color: var(--cnv-muted); font-size: 11px; line-height: 1.55; }
.cnv-side-cta { padding: 19px; border-radius: var(--cnv-radius); background: var(--cnv-red); color: white; }
.cnv-side-cta h2 { margin: 0; font-size: 20px; line-height: 1.25; }
.cnv-side-cta p { margin: 10px 0 15px; color: #f2dbe0; font-size: 12px; line-height: 1.6; }
.cnv-side-cta a { font-size: 13px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.cnv-list-heading { margin-bottom: 14px; }
.cnv-list-heading p { margin: 5px 0 0; color: var(--cnv-muted); font-size: 13px; }
.cnv-notice { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 14px 15px; border: 1px solid var(--cnv-gold); border-radius: var(--cnv-radius); background: var(--cnv-gold-soft); font-size: 13px; line-height: 1.55; }
.cnv-notice > span { flex: 0 0 24px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--cnv-gold); font-weight: 800; }
.cnv-notice p { margin: 0; }

.cnv-listing { display: grid; grid-template-columns: minmax(0, 1fr) 188px; gap: 18px; margin-bottom: 12px; padding: 17px 18px; border: 1px solid var(--cnv-line); border-radius: var(--cnv-radius); background: white; }
.cnv-listing--featured { border-color: var(--cnv-gold); box-shadow: inset 5px 0 0 var(--cnv-gold); }
.cnv-listing--stale { padding-top: 0; border-color: #d6d2c5; background: #fbfaf5; overflow: hidden; }
.cnv-stale-banner { grid-column: 1 / -1; margin: 0 -18px; padding: 11px 18px; display: flex; align-items: center; justify-content: space-between; gap: 15px; background: #eeeae0; color: #695d37; font-size: 12px; }
.cnv-stale-banner strong { color: var(--cnv-ink); }
.cnv-stale-banner button { min-height: 34px; border: 1px solid var(--cnv-ink); border-radius: 4px; background: white; padding: 0 10px; font-size: 11px; font-weight: 800; }
.cnv-listing__eyebrow { color: var(--cnv-muted); font-size: 12px; }
.cnv-listing__eyebrow > span { margin-right: 6px; padding: 3px 6px; background: var(--cnv-gold); color: var(--cnv-ink); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.cnv-listing h3 { margin: 5px 0 8px; font-size: 18px; line-height: 1.4; }
.cnv-listing h3 a:hover { color: var(--cnv-red); }
.cnv-listing__meta { display: flex; gap: 11px; align-items: baseline; flex-wrap: wrap; color: var(--cnv-muted); font-size: 12px; }
.cnv-listing__meta strong { color: var(--cnv-red); font-size: 16px; }
.cnv-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.cnv-tags span { padding: 4px 7px; border: 1px solid var(--cnv-line); border-radius: 4px; background: var(--cnv-rice); color: #46524c; font-size: 11px; }
.cnv-listing__actions { display: grid; align-content: center; gap: 8px; }
.cnv-call, .cnv-action-secondary, .cnv-save { min-height: 43px; display: grid; place-items: center; border-radius: 5px; font-size: 12px; font-weight: 800; text-align: center; }
.cnv-call { border: 1px solid var(--cnv-red); background: var(--cnv-red); color: white; }
.cnv-call:hover { background: var(--cnv-red-dark); }
.cnv-action-secondary, .cnv-save { border: 1px solid var(--cnv-line); background: white; color: var(--cnv-ink); }
.cnv-save.is-saved { color: var(--cnv-red); border-color: var(--cnv-red); }
.cnv-more { min-height: 52px; display: grid; place-items: center; margin-top: 15px; border: 2px solid var(--cnv-red); border-radius: 6px; background: white; color: var(--cnv-red); font-size: 14px; font-weight: 800; }
.cnv-empty-inline { display: flex; justify-content: space-between; gap: 20px; padding: 30px; border: 1px solid var(--cnv-line); background: white; }
.cnv-empty-inline a { color: var(--cnv-red); font-weight: 800; }

.cnv-breadcrumbs { min-height: 50px; display: flex; align-items: center; border-bottom: 1px solid var(--cnv-line); background: white; }
.cnv-breadcrumbs .cnv-shell { display: flex; align-items: center; gap: 9px; overflow: hidden; color: var(--cnv-green); font-size: 11px; white-space: nowrap; }
.cnv-breadcrumbs strong { overflow: hidden; color: var(--cnv-ink); text-overflow: ellipsis; }
.cnv-layout--list { padding-top: 30px; }
.cnv-active-filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; padding: 12px 14px; border: 1px solid var(--cnv-line); border-radius: var(--cnv-radius); background: white; font-size: 9px; }
.cnv-active-filters > span { padding: 6px 9px; border: 1px solid var(--cnv-green); border-radius: 999px; background: var(--cnv-green-soft); color: var(--cnv-green); font-weight: 700; }
.cnv-active-filters > a { margin-left: auto; color: var(--cnv-red); font-weight: 800; text-decoration: underline; }
.cnv-empty-state { padding: 38px 42px; border: 1px solid var(--cnv-line); border-radius: 10px; background: white; }
.cnv-empty-state .cnv-kicker { color: var(--cnv-red); }
.cnv-empty-state h2 { margin: 8px 0 12px; font-family: var(--cnv-display); font-size: 48px; line-height: 1; text-transform: uppercase; }
.cnv-empty-state > p { color: var(--cnv-muted); font-size: 12px; line-height: 1.65; }
.cnv-empty-state__scope { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; margin: 22px 0; padding: 18px; border-left: 5px solid var(--cnv-red); background: var(--cnv-rice); font-size: 11px; }
.cnv-empty-state__scope strong { width: 100%; text-transform: uppercase; }
.cnv-empty-state__scope i { color: var(--cnv-red); }
.cnv-empty-state__actions { display: grid; gap: 9px; }
.cnv-empty-state__actions a { min-height: 50px; display: flex; align-items: center; padding: 0 18px; border: 1px solid var(--cnv-green); border-radius: 6px; color: var(--cnv-green); font-size: 11px; font-weight: 800; }
.cnv-empty-state__actions a.is-red { border-color: var(--cnv-red); background: var(--cnv-red); color: white; }
.cnv-pagination { margin-top: 20px; }
.cnv-pagination nav { display: flex; justify-content: center; }
.cnv-pagination .pagination { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.cnv-pagination .pagination li { margin: 0; }
.cnv-pagination .pagination a, .cnv-pagination .pagination li > span { min-width: 38px; min-height: 38px; display: grid; place-items: center; border: 1px solid var(--cnv-line); border-radius: 5px; background: white; padding: 0 10px; color: var(--cnv-ink); font-size: 12px; font-weight: 700; }
.cnv-pagination .pagination a:hover { border-color: var(--cnv-red); color: var(--cnv-red); }
.cnv-pagination .pagination .active > span { border-color: var(--cnv-red); background: var(--cnv-red); color: white; }
.cnv-pagination .pagination .disabled > span { color: #9aa39e; background: #eef0ed; }
.cnv-pagination nav > div:first-child { display: none; }
.cnv-pagination nav > div:last-child { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cnv-pagination nav p { color: var(--cnv-muted); font-size: 10px; }
.cnv-pagination nav span[aria-current="page"] > span, .cnv-pagination nav a { min-width: 37px; min-height: 37px; display: inline-grid; place-items: center; border: 1px solid var(--cnv-line); background: white; font-size: 10px; }
.cnv-pagination nav span[aria-current="page"] > span { border-color: var(--cnv-red); background: var(--cnv-red); color: white; }
.cnv-pagination svg { width: 15px; }

.cnv-owner-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding: 12px 16px; border: 1px solid #e4bb5b; border-left: 5px solid var(--cnv-gold); border-radius: 6px; background: var(--cnv-gold-soft); font-size: 11px; }
.cnv-owner-bar strong { display: block; font-size: 12px; }
.cnv-owner-bar span { color: #5f5230; }
.cnv-owner-bar__actions { display: flex; gap: 8px; }
.cnv-owner-bar__actions a { min-height: 36px; display: inline-grid; place-items: center; border: 1px solid var(--cnv-red); border-radius: 5px; padding: 0 14px; color: var(--cnv-red); font-size: 10px; font-weight: 800; }
.cnv-owner-bar__actions a:first-child { background: var(--cnv-red); color: white; }
.cnv-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 30px; padding-block: 31px 60px; }
.cnv-detail-kicker { color: var(--cnv-muted); font-size: 12px; }
.cnv-detail-layout article > h1 { max-width: 920px; margin: 8px 0 12px; font-size: clamp(31px, 3.5vw, 49px); line-height: 1.18; letter-spacing: -.035em; }
.cnv-detail-meta { display: flex; gap: 15px; flex-wrap: wrap; color: var(--cnv-muted); font-size: 10px; }
.cnv-stale-detail { margin-top: 18px; padding: 13px 15px; border: 1px solid #d6d2c5; border-left: 5px solid var(--cnv-gold); background: #eeeae0; color: #695d37; font-size: 10px; }
.cnv-stale-detail strong { color: var(--cnv-ink); }
.cnv-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 22px 0 16px; }
.cnv-facts > div { min-width: 0; padding: 15px; border: 1px solid var(--cnv-line); border-radius: var(--cnv-radius); background: white; }
.cnv-facts span { color: var(--cnv-muted); font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.cnv-facts strong { display: block; margin-top: 8px; overflow-wrap: anywhere; font-size: 14px; line-height: 1.35; }
.cnv-facts strong.is-red { color: var(--cnv-red); }
.cnv-facts small { display: block; margin-top: 4px; color: var(--cnv-muted); font-size: 9px; line-height: 1.5; }
.cnv-detail-photo { margin: 0; border: 1px solid var(--cnv-line); border-radius: var(--cnv-radius); overflow: hidden; background: white; }
.cnv-detail-photo img { width: 100%; max-height: 560px; object-fit: contain; }
.cnv-detail-photo__missing { display: none; padding: 18px; color: var(--cnv-muted); font-size: 11px; }
.cnv-detail-photo.is-missing .cnv-detail-photo__missing { display: block; }
.cnv-detail-photo__thumbs { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px; border-top: 1px solid var(--cnv-line); background: var(--cnv-rice); }
.cnv-detail-photo__thumbs button { width: 72px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 5px; overflow: hidden; background: white; cursor: pointer; }
.cnv-detail-photo__thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cnv-detail-photo__thumbs button.is-active, .cnv-detail-photo__thumbs button:hover { border-color: var(--cnv-red); }
.cnv-detail-copy { margin-top: 17px; padding: 25px 27px; border: 1px solid var(--cnv-line); border-radius: var(--cnv-radius); background: white; font-size: 13px; line-height: 1.85; }
.cnv-detail-copy h2 { margin: 0 0 14px; font-family: var(--cnv-display); font-size: 29px; text-transform: uppercase; }
.cnv-detail-copy ul { padding-left: 23px; }
.cnv-detail-actions { display: flex; gap: 10px; margin-top: 17px; }
.cnv-detail-actions button, .cnv-detail-actions a { min-height: 44px; display: grid; place-items: center; border: 1px solid var(--cnv-line); border-radius: 5px; background: white; padding: 0 16px; color: var(--cnv-ink); font-size: 10px; font-weight: 800; }
.cnv-contact-card { position: sticky; top: 18px; border: 2px solid var(--cnv-red); border-radius: var(--cnv-radius); background: white; overflow: hidden; }
.cnv-contact-card h2 { margin: 0; padding: 14px 18px; background: var(--cnv-red); color: white; font-size: 14px; }
.cnv-contact-card > div { padding: 18px; }
.cnv-contact-card small { color: var(--cnv-muted); }
.cnv-phone { display: block; margin: 5px 0 14px; font-size: 25px; }
.cnv-reveal-phone { width: 100%; min-height: 49px; border: 0; border-radius: 5px; background: var(--cnv-red); color: white; font-weight: 800; }
.cnv-contact-card p { color: var(--cnv-muted); font-size: 9px; line-height: 1.55; }
.cnv-contact-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 10px 0; }
.cnv-contact-actions a { min-height: 42px; display: grid; place-items: center; border: 1px solid var(--cnv-line); border-radius: 5px; font-size: 10px; font-weight: 800; }
.cnv-contact-card .cnv-save { width: 100%; }
.cnv-related { margin-top: 15px; border: 1px solid var(--cnv-line); border-radius: var(--cnv-radius); background: white; overflow: hidden; }
.cnv-related h2 { margin: 0; padding: 13px 15px; border-bottom: 1px solid var(--cnv-line); font-size: 12px; }
.cnv-related a { display: grid; gap: 5px; padding: 13px 15px; border-bottom: 1px solid var(--cnv-line); }
.cnv-related a:last-child { border: 0; }
.cnv-related a strong { font-size: 11px; line-height: 1.45; }
.cnv-related a span { color: var(--cnv-muted); font-size: 9px; }

.cnv-footer { border-top: 1px solid var(--cnv-line); background: white; }
.cnv-footer__inner { min-height: 110px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: center; color: var(--cnv-muted); font-size: 10px; }
.cnv-footer__inner > div { display: grid; gap: 5px; }
.cnv-footer__inner strong { color: var(--cnv-ink); font-size: 11px; }
.cnv-mobile-nav, .cnv-mobile-contact { display: none; }
/* Ẩn hẳn khi không hiển thị (visibility/opacity), không chỉ dịch xuống: trên mobile toast đặt ở bottom 82px
   nên translateY(150%) không đủ đẩy khuất → khối đen rỗng đè lên thanh menu dưới (lỗi go-live 28/09). */
.cnv-toast { position: fixed; z-index: 60; right: 20px; bottom: 20px; max-width: 350px; padding: 14px 16px; border-left: 5px solid var(--cnv-gold); background: #241a18; color: white; font-size: 11px; line-height: 1.55; box-shadow: 0 14px 40px rgba(23,35,30,.25); transform: translateY(150%); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .24s ease, opacity .24s ease, visibility 0s linear .24s; }
.cnv-toast.is-visible { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; transition: transform .24s ease, opacity .24s ease, visibility 0s; }

/* Authentication uses the V2 visual language while keeping the existing Livewire flow. */
.cnv-auth-page .cnv-category-bar { display: none; }
.cnv-auth { padding: 48px 0 64px; background: #eef0ec; }
.cnv-auth__layout { min-height: 620px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); border: 1px solid #ccb7bc; border-radius: 10px; overflow: hidden; background: white; box-shadow: 0 20px 55px rgba(53, 23, 29, .12); }
.cnv-auth__intro { position: relative; overflow: hidden; padding: 52px 58px; background: var(--cnv-red-dark); color: white; }
.cnv-auth__intro::after { content: "CALL NGƯỜI VIỆT"; position: absolute; right: -25px; bottom: 24px; color: rgba(255,255,255,.055); font-family: var(--cnv-display); font-size: 92px; font-weight: 800; line-height: .75; text-align: right; transform: rotate(-90deg) translateX(100%); transform-origin: right bottom; white-space: nowrap; pointer-events: none; }
.cnv-auth__back { position: relative; z-index: 1; display: inline-flex; margin-bottom: 62px; color: #f3dbe0; font-size: 11px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.cnv-auth__kicker { position: relative; z-index: 1; color: #efbd45; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.cnv-auth__intro h1 { position: relative; z-index: 1; max-width: 610px; margin: 12px 0 18px; font-family: var(--cnv-display); font-size: clamp(48px, 5vw, 70px); line-height: .92; letter-spacing: -.02em; text-transform: uppercase; }
.cnv-auth__intro > p:not(.cnv-auth__note) { position: relative; z-index: 1; max-width: 560px; margin: 0; color: #f3dfe3; font-size: 13px; line-height: 1.7; }
.cnv-auth__steps { position: relative; z-index: 1; display: grid; gap: 0; margin: 38px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.22); }
.cnv-auth__steps li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.cnv-auth__steps li > span { color: #efbd45; font-family: var(--cnv-display); font-size: 22px; font-weight: 800; }
.cnv-auth__steps strong, .cnv-auth__steps small { display: block; }
.cnv-auth__steps strong { font-size: 12px; }
.cnv-auth__steps small { margin-top: 4px; color: #d9bac1; font-size: 10px; }
.cnv-auth__note { position: relative; z-index: 1; margin: 24px 0 0; padding-left: 13px; border-left: 3px solid #efbd45; color: #f3dfe3; font-size: 10px; line-height: 1.6; }
.cnv-auth__form-column { display: grid; place-items: center; padding: 48px 54px; background: #fff; }
.cnv-login-card { width: min(100%, 470px); }
.cnv-login-card__head > span { color: var(--cnv-red); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cnv-login-card__head h2 { margin: 8px 0 7px; color: var(--cnv-ink); font-size: 31px; line-height: 1.2; letter-spacing: -.03em; }
.cnv-login-card__head p { margin: 0; color: var(--cnv-muted); font-size: 12px; }
.cnv-login-form { display: grid; gap: 20px; margin-top: 30px; }
.cnv-auth-field { display: grid; gap: 8px; }
.cnv-auth-field > label, .cnv-auth-field__label label { color: var(--cnv-ink); font-size: 11px; font-weight: 800; }
.cnv-auth-field__label { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cnv-auth-field__label a { color: var(--cnv-red); font-size: 10px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.cnv-auth-field > input, .cnv-password-input input { width: 100%; min-height: 51px; border: 1px solid #bcc4bf; border-radius: 6px; background: white; padding: 0 14px; color: var(--cnv-ink); outline: 0; }
.cnv-auth-field > input:focus, .cnv-password-input input:focus { border-color: var(--cnv-red); box-shadow: 0 0 0 3px var(--cnv-red-soft); }
.cnv-auth-field input.has-error { border-color: #b42318; }
.cnv-auth-field > small { color: var(--cnv-muted); font-size: 9px; }
.cnv-auth-error { margin: 0; color: #b42318; font-size: 10px; line-height: 1.45; }
.cnv-password-input { position: relative; }
.cnv-password-input input { padding-right: 54px; }
.cnv-password-input button { position: absolute; top: 5px; right: 5px; width: 41px; height: 41px; display: grid; place-items: center; border: 0; border-radius: 5px; background: transparent; color: var(--cnv-muted); }
.cnv-password-input button:hover { background: var(--cnv-red-soft); color: var(--cnv-red); }
.cnv-password-input button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cnv-login-submit { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 13px; border: 1px solid var(--cnv-red); border-radius: 6px; background: var(--cnv-red); color: white; font-size: 12px; font-weight: 800; }
.cnv-login-submit:hover { background: var(--cnv-red-dark); }
.cnv-login-submit:disabled { cursor: wait; opacity: .72; }
.cnv-login-submit svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; }
.cnv-social-login { margin-top: 25px; text-align: center; }
.cnv-social-login > span { display: flex; align-items: center; gap: 12px; color: var(--cnv-muted); font-size: 9px; }
.cnv-social-login > span::before, .cnv-social-login > span::after { content: ""; flex: 1; height: 1px; background: var(--cnv-line); }
.cnv-social-login > div { display: flex; gap: 8px; margin-top: 13px; }
.cnv-social-login a { flex: 1; min-height: 42px; display: grid; place-items: center; border: 1px solid var(--cnv-line); border-radius: 5px; color: var(--cnv-ink); font-size: 10px; font-weight: 700; }
.cnv-login-card__footer { display: flex; justify-content: center; gap: 6px; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--cnv-line); color: var(--cnv-muted); font-size: 11px; }
.cnv-login-card__footer a { color: var(--cnv-red); font-weight: 800; }
.cnv-auth-captcha { overflow: hidden; }
.cnv-signup-page .cnv-auth__layout { min-height: 720px; }
.cnv-signup-page .cnv-auth__back { margin-bottom: 48px; }
.cnv-signup-card { max-width: 500px; }
.cnv-signup-form { gap: 16px; margin-top: 24px; }

@media (max-width: 980px) {
    .cnv-header__inner { grid-template-columns: 1fr auto; padding-block: 15px; }
    .cnv-search { grid-column: 1 / -1; grid-row: 2; }
    .cnv-category-grid, .cnv-category-cards { grid-template-columns: repeat(3, 1fr); }
    .cnv-hero__inner { gap: 30px; }
    .cnv-scope__inner { grid-template-columns: 1fr; gap: 9px; padding-block: 14px; }
    .cnv-scope p { text-align: left; }
    .cnv-detail-layout { grid-template-columns: 1fr; }
    .cnv-contact-card { position: static; }
    .cnv-auth__layout { grid-template-columns: minmax(0, .9fr) minmax(390px, 1.1fr); }
    .cnv-auth__intro { padding: 42px 36px; }
    .cnv-auth__form-column { padding: 44px 36px; }
}

@media (max-width: 700px) {
    body { padding-bottom: 70px; }
    .cnv-shell { width: min(100% - 28px, var(--cnv-max)); }
    .cnv-location-bar__inner { min-height: 38px; }
    .cnv-location-current { gap: 8px; }
    .cnv-location-current strong { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
    .cnv-location-current span, .cnv-language-switch { font-size: 9px; }
    .cnv-language-switch { gap: 7px; }
    .cnv-header__inner { min-height: 70px; padding-block: 10px; gap: 10px; }
    .cnv-brand__mark, .cnv-brand small { display: none; }
    .cnv-brand strong { font-family: var(--cnv-body); font-size: 19px; line-height: 1; }
    .cnv-header-actions { gap: 7px; }
    .cnv-account-trigger { min-width: 45px; grid-template-columns: 35px; padding: 5px; }
    .cnv-account-trigger__copy, .cnv-account-trigger > svg { display: none; }
    .cnv-account-popover { position: fixed; top: 116px; right: 14px; width: min(330px, calc(100vw - 28px)); max-height: calc(100vh - 190px); overflow-y: auto; }
    .cnv-account-popover::before { display: none; }
    .cnv-login-button { min-height: 45px; padding-inline: 12px; font-size: 10px; }
    .cnv-post-button { min-height: 45px; gap: 7px; padding: 0 14px; font-size: 11px; }
    .cnv-post-button:has(svg) { padding-left: 12px; }
    .cnv-post-button svg { width: 16px; height: 16px; }
    .cnv-search { height: auto; grid-template-columns: 1fr 88px; border-width: 1.5px; }
    .cnv-search input { height: 47px; }
    .cnv-search input + input { grid-column: 1; grid-row: 2; border-left: 0; border-top: 1px solid var(--cnv-line); }
    .cnv-search button { grid-column: 2; grid-row: 1 / 3; }
    .cnv-category-grid, .cnv-category-cards { grid-template-columns: repeat(2, 1fr); }
    .cnv-hero__inner { grid-template-columns: 1fr; min-height: auto; padding-block: 35px 40px; }
    .cnv-hero h1 { font-size: 49px; }
    .cnv-today-board { transform: none; box-shadow: 6px 6px 0 var(--cnv-red-dark); }
    .cnv-today-board a { grid-template-columns: 65px 1fr; }
    .cnv-today-board a > span { display: none; }
    .cnv-scope__path { grid-template-columns: 1fr; gap: 6px; }
    .cnv-scope__path i { width: 2px; height: 11px; margin-left: 14px; }
    .cnv-scope__path i::after { right: -3px; top: 5px; transform: rotate(135deg); }
    .cnv-categories-home { padding-top: 25px; }
    .cnv-section-heading { align-items: flex-start; }
    .cnv-section-heading h2, .cnv-list-heading h1, .cnv-list-heading h2 { font-size: 31px; }
    .cnv-section-heading > a { display: none; }
    .cnv-layout { display: block; padding-top: 23px; }
    .cnv-sidebar { display: none; }
    .cnv-compact-mobile .cnv-breadcrumbs { display: none; }
    .cnv-layout--list { padding-top: 14px; }
    .cnv-layout--list .cnv-list-heading { justify-content: flex-end; margin-bottom: 12px; }
    .cnv-layout--list .cnv-list-heading > div { display: none; }
    .cnv-list-heading { align-items: flex-start; }
    .cnv-list-heading > a { display: none; }
    .cnv-notice { align-items: flex-start; font-size: 12px; }
    .cnv-listing { grid-template-columns: 1fr; padding: 17px 16px; }
    .cnv-stale-banner { margin-inline: -16px; align-items: flex-start; flex-direction: column; }
    .cnv-listing h3 { font-size: 18px; }
    .cnv-listing__meta { font-size: 12px; }
    .cnv-listing__actions { grid-template-columns: 1fr 51px; }
    .cnv-call { font-size: 14px; }
    .cnv-listing__actions .cnv-action-secondary { display: none; }
    .cnv-listing__actions .cnv-save span { display: none; }
    .cnv-breadcrumbs { min-height: 52px; }
    .cnv-active-filters > a { width: 100%; margin: 3px 0 0; }
    .cnv-empty-state { padding: 25px 20px; }
    .cnv-empty-state h2 { font-size: 38px; }
    .cnv-pagination nav > div:last-child { display: block; }
    .cnv-pagination nav p { margin-bottom: 10px; }
    .cnv-pagination .pagination { gap: 5px; }
    .cnv-pagination .pagination a, .cnv-pagination .pagination li > span { min-width: 36px; min-height: 36px; padding-inline: 8px; }
    .cnv-facts { grid-template-columns: 1fr 1fr; }
    .cnv-detail-layout article > h1 { font-size: 31px; line-height: 1.28; }
    .cnv-detail-copy { padding: 20px; }
    .cnv-detail-actions { display: grid; }
    .cnv-detail-sidebar { display: none; }
    .cnv-footer__inner { grid-template-columns: 1fr; min-height: auto; padding-block: 28px; }
    /* Giữ khối link Giới thiệu/Thể lệ/Hoàn tiền/Bảo mật trên điện thoại; chỉ ẩn khối SMS. */
    .cnv-footer__inner > div:nth-child(2) { display: none; }
    .cnv-mobile-nav { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; height: 70px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--cnv-line); background: white; }
    .cnv-mobile-nav a { display: grid; place-items: center; align-content: center; gap: 3px; color: #59665f; font-size: 9px; font-weight: 700; }
    .cnv-mobile-nav a.is-active, .cnv-mobile-nav__post { color: var(--cnv-red); }
    .cnv-mobile-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    .cnv-compact-mobile .cnv-header, .cnv-compact-mobile .cnv-category-bar { display: none; }
    .cnv-detail-page { padding-bottom: 92px; }
    .cnv-detail-page .cnv-mobile-nav { display: none; }
    .cnv-mobile-contact { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; min-height: 86px; display: grid; grid-template-columns: 1fr auto 58px; gap: 8px; padding: 11px 14px; border-top: 1px solid var(--cnv-line); background: white; }
    .cnv-mobile-contact a, .cnv-mobile-contact button { min-width: 58px; display: grid; place-items: center; border: 1px solid var(--cnv-green); border-radius: 6px; background: white; color: var(--cnv-green); font-size: 10px; font-weight: 800; }
    .cnv-mobile-contact a:first-child { border-color: var(--cnv-red); background: var(--cnv-red); color: white; }
    .cnv-mobile-contact a:first-child strong { display: block; font-size: 15px; }
    .cnv-toast { left: 14px; right: 14px; bottom: 82px; }
    .cnv-auth-page { padding-bottom: 0; }
    .cnv-auth-page .cnv-search, .cnv-auth-page .cnv-mobile-nav { display: none; }
    .cnv-auth-page .cnv-header__inner { grid-template-columns: 1fr auto; }
    .cnv-auth { padding: 14px 0 28px; }
    .cnv-auth__layout { min-height: 0; display: flex; flex-direction: column; border-radius: 8px; }
    .cnv-auth__form-column { order: 1; padding: 30px 20px; }
    .cnv-auth__intro { order: 2; padding: 29px 24px; }
    .cnv-auth__back { margin-bottom: 28px; }
    .cnv-auth__intro h1 { font-size: 39px; }
    .cnv-auth__intro > p:not(.cnv-auth__note), .cnv-auth__steps { display: none; }
    .cnv-auth__note { margin-top: 20px; }
    .cnv-login-card__head h2 { font-size: 27px; }
    .cnv-login-form { margin-top: 24px; }
    .cnv-login-card__footer { flex-wrap: wrap; }
    .cnv-signup-page .cnv-auth__layout { min-height: 0; }
    .cnv-signup-page .cnv-auth__form-column { padding-block: 26px; }
}

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; transition: none !important; }
}


/* --- Added with the six-bug fix: markers for data we do not vouch for --- */
.cnv-price-note {
    font-weight: 600;
    color: #5a6c7e;
}

.cnv-eyebrow-note {
    font-style: normal;
    color: #8a6a1e;
}

.cnv-provenance {
    margin: 14px 0 0;
    padding: 10px 14px;
    background: #fdf3e0;
    border: 1px solid #e3c27a;
    font-size: 13px;
    line-height: 1.55;
    color: #6b520f;
}

.cnv-provenance code {
    font-size: 12px;
    background: rgba(16, 42, 67, 0.08);
    padding: 1px 5px;
}

/* Posting form: a clear community notice form, not a software wizard. */
.cnv-post-page .cnv-category-bar { display: none; }
.cnv-post { padding: 34px 0 70px; background: #eef0ec; }
.cnv-post-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 24px; }
.cnv-post-hero > div > span { color: var(--cnv-red); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.cnv-post-hero h1 { margin: 4px 0 5px; font-family: var(--cnv-display); font-size: clamp(46px, 5vw, 66px); line-height: .9; letter-spacing: -.02em; text-transform: uppercase; }
.cnv-post-hero p { max-width: 650px; margin: 0; color: var(--cnv-muted); font-size: 12px; line-height: 1.65; }
.cnv-post-hero > a { flex: 0 0 auto; padding-bottom: 4px; color: var(--cnv-red); font-size: 11px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.cnv-form-alert { margin-bottom: 18px; padding: 16px 18px; border: 1px solid #ca675f; border-left: 5px solid #a52218; border-radius: 6px; background: #fff4f2; color: #7a271a; font-size: 11px; line-height: 1.55; }
.cnv-form-alert strong { display: block; font-size: 12px; }
.cnv-form-alert ul { margin: 7px 0 0; padding-left: 18px; }
.cnv-form-success { display: flex; gap: 9px; align-items: center; margin-bottom: 18px; padding: 14px 17px; border: 1px solid #6f927e; border-left: 5px solid var(--cnv-green); border-radius: 6px; background: #f4faf6; color: #1f5b3d; font-size: 10px; }
.cnv-form-success strong { font-size: 11px; }
.cnv-post-form { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; align-items: start; }
.cnv-post-form__main { min-width: 0; display: grid; gap: 16px; }
.cnv-post-card { padding: 24px; border: 1px solid #cdd4cf; border-radius: 9px; background: white; box-shadow: 0 5px 16px rgba(37, 53, 45, .045); }
.cnv-post-card--taxonomy { border-top: 4px solid var(--cnv-red); }
.cnv-post-card__head { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 13px; align-items: start; margin-bottom: 22px; }
.cnv-post-card__number { width: 42px; height: 30px; display: grid; place-items: center; border: 1px solid var(--cnv-red); border-radius: 3px; color: var(--cnv-red); font-family: var(--cnv-display); font-size: 18px; font-weight: 800; line-height: 1; }
.cnv-post-card__head h2 { margin: 0; font-size: 19px; line-height: 1.3; letter-spacing: -.015em; }
.cnv-post-card__head p { margin: 4px 0 0; color: var(--cnv-muted); font-size: 10px; line-height: 1.55; }
.cnv-category-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 0; padding: 0; border: 0; }
.cnv-category-option { position: relative; min-height: 78px; display: grid; grid-template-columns: 43px minmax(0, 1fr) 18px; gap: 11px; align-items: center; padding: 12px 13px; border: 1px solid var(--cnv-line); border-radius: 6px; background: #fbfcfa; cursor: pointer; transition: border-color .16s ease, background-color .16s ease, transform .16s ease; }
.cnv-category-option:hover { border-color: #b9808b; background: #fff; transform: translateY(-1px); }
.cnv-category-option.is-selected { border-color: var(--cnv-red); background: var(--cnv-red-soft); box-shadow: inset 4px 0 0 var(--cnv-red); }
.cnv-category-option > input, .cnv-direction-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cnv-category-option__stamp { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid #bac4be; border-radius: 50%; background: white; color: var(--cnv-green); font-family: var(--cnv-display); font-size: 16px; font-weight: 800; letter-spacing: .04em; }
.cnv-category-option.is-selected .cnv-category-option__stamp { border-color: var(--cnv-red); background: var(--cnv-red); color: white; }
.cnv-category-option__copy { min-width: 0; }
.cnv-category-option__copy strong, .cnv-category-option__copy small { display: block; }
.cnv-category-option__copy strong { font-size: 12px; line-height: 1.35; }
.cnv-category-option__copy small { margin-top: 3px; color: var(--cnv-muted); font-size: 9px; line-height: 1.4; }
.cnv-category-option__check { width: 18px; height: 18px; display: grid; place-items: center; border: 1px solid var(--cnv-line); border-radius: 50%; background: white; color: transparent; font-size: 10px; font-weight: 800; }
.cnv-category-option.is-selected .cnv-category-option__check { border-color: var(--cnv-red); background: var(--cnv-red); color: white; }
.cnv-direction-choice { margin: 18px 0 0; padding: 16px; border: 1px solid #dfc6cb; border-radius: 6px; background: #fffafb; }
.cnv-direction-choice legend { padding: 0 6px; color: var(--cnv-red-dark); font-size: 11px; font-weight: 800; }
.cnv-direction-choice > div { display: flex; gap: 8px; flex-wrap: wrap; }
.cnv-direction-choice label { position: relative; min-height: 40px; display: grid; place-items: center; border: 1px solid var(--cnv-line); border-radius: 5px; background: white; padding: 0 14px; color: var(--cnv-ink); cursor: pointer; font-size: 10px; font-weight: 700; }
.cnv-direction-choice label:hover, .cnv-direction-choice label.is-selected { border-color: var(--cnv-red); color: var(--cnv-red); }
.cnv-direction-choice label.is-selected { background: var(--cnv-red); color: white; }
.cnv-direction-choice p { margin: 9px 0 0; color: var(--cnv-muted); font-size: 9px; }
.cnv-form-field { display: grid; gap: 7px; }
.cnv-form-field + .cnv-form-field { margin-top: 18px; }
.cnv-form-field label, .cnv-location-fields label > span { color: var(--cnv-ink); font-size: 10px; font-weight: 800; }
.cnv-form-field label b, .cnv-location-fields label > span b { color: var(--cnv-red); }
.cnv-form-field label span { color: var(--cnv-muted); font-size: 9px; font-weight: 500; }
.cnv-form-field input, .cnv-form-field textarea, .cnv-location-fields select { width: 100%; border: 1px solid #b9c3bd; border-radius: 6px; background: white; padding: 0 13px; color: var(--cnv-ink); font-family: var(--cnv-body); font-size: 12px; outline: 0; }
.cnv-form-field input, .cnv-location-fields select { min-height: 47px; }
.cnv-form-field textarea { min-height: 150px; padding-block: 12px; line-height: 1.65; resize: vertical; }
.cnv-form-field input:focus, .cnv-form-field textarea:focus, .cnv-location-fields select:focus { border-color: var(--cnv-red); box-shadow: 0 0 0 3px var(--cnv-red-soft); }
.cnv-form-field small { color: var(--cnv-muted); font-size: 9px; line-height: 1.5; }
.cnv-field-error { margin: 5px 0 0; color: #a52218; font-size: 9px; line-height: 1.45; }
.cnv-location-fields { display: grid; grid-template-columns: .9fr 1fr 1fr; gap: 10px; }
.cnv-location-fields label { min-width: 0; display: grid; gap: 7px; }
.cnv-location-fields select:disabled { color: #69756e; background: #edf0ed; cursor: not-allowed; }
.cnv-photo-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cnv-file-field { position: relative; min-height: 96px; display: flex; align-items: center; gap: 12px; border: 1px dashed #aebbb3; border-radius: 6px; background: #fbfcfa; padding: 15px; cursor: pointer; }
.cnv-file-field:hover { border-color: var(--cnv-red); background: var(--cnv-red-soft); }
.cnv-file-field__mark { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--cnv-red); border-radius: 50%; background: white; color: var(--cnv-red); font-size: 23px; line-height: 1; }
.cnv-file-field strong, .cnv-file-field small { display: block; }
.cnv-file-field strong { font-size: 11px; }
.cnv-file-field small { margin-top: 4px; color: var(--cnv-muted); font-size: 8px; line-height: 1.45; }
.cnv-file-field input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.cnv-current-media { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; align-items: center; margin-bottom: 14px; padding: 12px; border: 1px solid var(--cnv-line); border-radius: 6px; background: var(--cnv-rice); }
.cnv-current-media__lead { position: relative; overflow: hidden; height: 90px; border: 1px solid #cad2cd; border-radius: 5px; background: white; }
.cnv-current-media__lead img { width: 100%; height: 100%; object-fit: cover; }
.cnv-current-media__lead span { position: absolute; left: 6px; bottom: 6px; border-radius: 3px; background: rgba(84, 23, 34, .9); padding: 4px 6px; color: white; font-size: 7px; font-weight: 800; }
.cnv-current-media > div:last-child strong, .cnv-current-media > div:last-child small { display: block; }
.cnv-current-media > div:last-child strong { font-size: 11px; }
.cnv-current-media > div:last-child small { margin-top: 5px; color: var(--cnv-muted); font-size: 9px; line-height: 1.55; }
.cnv-contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cnv-contact-fields .cnv-form-field + .cnv-form-field { margin-top: 0; }
.cnv-post-receipt { position: sticky; top: 18px; display: grid; gap: 12px; }
.cnv-post-receipt__paper { position: relative; overflow: hidden; border: 1px solid #bfa5ab; border-top: 7px solid var(--cnv-red); border-radius: 7px; background: white; padding: 22px 20px 20px; box-shadow: 7px 7px 0 #dccdd1; }
.cnv-post-receipt__paper::after { content: "14"; position: absolute; right: -6px; top: 36px; color: rgba(122,31,43,.055); font-family: var(--cnv-display); font-size: 120px; font-weight: 800; line-height: 1; pointer-events: none; }
.cnv-post-receipt__eyebrow { position: relative; z-index: 1; color: var(--cnv-red); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cnv-post-receipt h2 { position: relative; z-index: 1; margin: 6px 0 18px; font-family: var(--cnv-display); font-size: 30px; line-height: 1; text-transform: uppercase; }
.cnv-post-receipt dl { position: relative; z-index: 1; margin: 0; border-top: 1px solid var(--cnv-line); }
.cnv-post-receipt dl div { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--cnv-line); font-size: 10px; }
.cnv-post-receipt dt { color: var(--cnv-muted); }
.cnv-post-receipt dd { margin: 0; color: var(--cnv-ink); font-weight: 800; }
.cnv-post-receipt__paper > p { position: relative; z-index: 1; margin: 16px 0; color: var(--cnv-muted); font-size: 9px; line-height: 1.65; }
.cnv-post-receipt button { position: relative; z-index: 1; width: 100%; min-height: 49px; border: 0; border-radius: 5px; background: var(--cnv-red); color: white; font-size: 11px; font-weight: 800; }
.cnv-post-receipt button:hover { background: var(--cnv-red-dark); }
.cnv-post-receipt__paper > small { position: relative; z-index: 1; display: block; margin-top: 12px; color: var(--cnv-muted); font-size: 8px; line-height: 1.55; text-align: center; }
.cnv-post-safety { display: grid; gap: 5px; padding: 15px; border: 1px solid var(--cnv-gold); border-radius: 6px; background: var(--cnv-gold-soft); font-size: 9px; line-height: 1.55; }
.cnv-post-safety strong { font-size: 10px; }
.cnv-edit-receipt .cnv-post-receipt__paper::after { content: "SỬA"; top: 48px; right: -9px; font-size: 64px; letter-spacing: -.04em; }
.cnv-edit-receipt h2 { max-width: 210px; font-size: 25px; line-height: 1.05; }
.cnv-edit-receipt__cancel { position: relative; z-index: 1; min-height: 42px; display: grid; place-items: center; margin-top: 9px; border: 1px solid #b9c3bd; border-radius: 5px; color: var(--cnv-ink); font-size: 10px; font-weight: 800; }
.cnv-edit-receipt__cancel:hover { border-color: var(--cnv-red); color: var(--cnv-red); }
.cnv-edit-preview-link { min-height: 42px; display: grid; place-items: center; border: 1px solid #b9c3bd; border-radius: 6px; background: white; color: var(--cnv-green); font-size: 10px; font-weight: 800; }
.cnv-edit-preview-link:hover { border-color: var(--cnv-green); }

@media (max-width: 980px) {
    .cnv-post-form { grid-template-columns: minmax(0, 1fr) 270px; gap: 17px; }
    .cnv-category-choice { grid-template-columns: 1fr; }
    .cnv-location-fields { grid-template-columns: 1fr; }
    .cnv-photo-fields, .cnv-contact-fields { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
    .cnv-post-page .cnv-search { display: none; }
    .cnv-post { padding: 18px 0 32px; }
    .cnv-post-hero { display: block; margin-bottom: 17px; }
    .cnv-post-hero h1 { font-size: 45px; }
    .cnv-post-hero > a { display: inline-block; margin-top: 12px; }
    .cnv-post-form { display: flex; flex-direction: column; gap: 14px; }
    .cnv-post-form__main { gap: 12px; }
    .cnv-post-card { padding: 18px 15px; border-radius: 7px; }
    .cnv-post-card__head { grid-template-columns: 36px minmax(0, 1fr); gap: 10px; margin-bottom: 18px; }
    .cnv-post-card__number { width: 36px; height: 28px; font-size: 16px; }
    .cnv-post-card__head h2 { font-size: 17px; }
    .cnv-category-option { min-height: 72px; grid-template-columns: 39px minmax(0, 1fr) 18px; padding: 10px; }
    .cnv-category-option__stamp { width: 39px; height: 39px; font-size: 14px; }
    .cnv-direction-choice > div { display: grid; grid-template-columns: 1fr 1fr; }
    .cnv-direction-choice label { padding-inline: 8px; text-align: center; }
    .cnv-post-receipt { position: static; width: 100%; }
    .cnv-post-receipt__paper { box-shadow: 5px 5px 0 #dccdd1; }
    .cnv-current-media { grid-template-columns: 112px minmax(0, 1fr); }
    .cnv-current-media__lead { height: 76px; }
    .cnv-form-success { align-items: flex-start; flex-direction: column; gap: 3px; }
}

/* Customer dashboard: a compact classifieds ledger, not a generic SaaS console. */
.cnv-dashboard-page {
    --primary-50: var(--cnv-red-soft);
    --primary-100: #ead1d7;
    --primary-300: #b9808b;
    --primary-500: var(--cnv-red);
    --primary-600: var(--cnv-red-dark);
    --primary-700: var(--cnv-red-dark);
    background: #eef0ec;
}
.cnv-dashboard-page .cnv-category-bar { display: none; }
.cnv-dashboard { min-height: 680px; padding: 34px 0 66px; background: #eef0ec; }
.cnv-dashboard-grid { display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: 24px; align-items: start; }
.cnv-dashboard-content { min-width: 0; }
.cnv-dashboard-content > .container,
.cnv-dashboard-content .container { width: 100%; max-width: none; margin-inline: 0; padding-inline: 0; }
.cnv-dashboard-alert { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; padding: 13px 15px; border: 1px solid #c66370; border-left: 5px solid var(--cnv-red); border-radius: 6px; background: #fff7f8; color: var(--cnv-red-dark); font-size: 11px; }
.cnv-dashboard-alert strong { font-size: 12px; }

.cnv-account-rail { position: sticky; top: 18px; overflow: hidden; border: 1px solid #cbd2cd; border-radius: 9px; background: white; box-shadow: 0 6px 18px rgba(37, 53, 45, .05); }
.cnv-account-identity { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: center; padding: 18px 16px; border-top: 6px solid var(--cnv-red); border-bottom: 1px solid var(--cnv-line); }
.cnv-account-identity img { width: 48px; height: 48px; border: 1px solid #d4dbd6; border-radius: 50%; object-fit: cover; background: var(--cnv-rice); }
.cnv-account-identity div { min-width: 0; }
.cnv-account-identity span,
.cnv-account-identity strong,
.cnv-account-identity small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cnv-account-identity span { color: var(--cnv-red); font-size: 8px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.cnv-account-identity strong { margin-top: 4px; font-size: 12px; }
.cnv-account-identity small { margin-top: 3px; color: var(--cnv-muted); font-size: 8px; }
.cnv-account-nav { padding: 12px 9px; }
.cnv-account-nav p { margin: 13px 10px 5px; color: #8a958f; font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.cnv-account-nav p:first-child { margin-top: 2px; }
.cnv-account-nav a { min-height: 42px; display: flex; align-items: center; gap: 11px; margin: 2px 0; padding: 0 11px; border-left: 3px solid transparent; border-radius: 4px; color: #435049; font-size: 10px; font-weight: 700; }
.cnv-account-nav a:hover { background: var(--cnv-rice); color: var(--cnv-red); }
.cnv-account-nav a.is-active { border-left-color: var(--cnv-red); background: var(--cnv-red-soft); color: var(--cnv-red-dark); }
.cnv-account-nav svg,
.cnv-account-logout svg { flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cnv-account-logout { margin: 0; padding: 0 9px 12px; border-top: 1px solid var(--cnv-line); }
.cnv-account-logout button { width: 100%; min-height: 42px; display: flex; align-items: center; gap: 11px; margin-top: 12px; border: 0; border-radius: 4px; background: transparent; padding: 0 14px; color: var(--cnv-muted); font-size: 10px; font-weight: 700; }
.cnv-account-logout button:hover { background: #fff3f3; color: #a52218; }
.cnv-dashboard-mobile-menu { display: none; }

.cnv-dashboard-hero { min-height: 150px; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 15px; padding: 28px 30px; border-radius: 9px; background: var(--cnv-red-dark); color: white; }
.cnv-dashboard-hero > div:first-child > span { color: #efbd45; font-size: 8px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.cnv-dashboard-hero h1 { margin: 6px 0 7px; font-family: var(--cnv-display); font-size: clamp(36px, 4vw, 51px); line-height: .95; letter-spacing: -.02em; text-transform: uppercase; }
.cnv-dashboard-hero p { margin: 0; color: #efdce0; font-size: 10px; line-height: 1.55; }
.cnv-dashboard-hero__actions { flex: 0 0 auto; display: flex; gap: 8px; }
.cnv-dashboard-hero__actions a { min-height: 43px; display: grid; place-items: center; border: 1px solid #c58b97; border-radius: 5px; padding: 0 15px; color: white; font-size: 9px; font-weight: 800; }
.cnv-dashboard-hero__actions a:hover { border-color: white; }
.cnv-dashboard-hero__actions a.is-primary { border-color: white; background: white; color: var(--cnv-red-dark); }

.cnv-dashboard-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 15px; border: 1px solid #cbd2cd; border-radius: 8px; background: white; overflow: hidden; }
.cnv-dashboard-stats article { min-height: 96px; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px 20px; border-right: 1px solid var(--cnv-line); }
.cnv-dashboard-stats article:last-child { border-right: 0; }
.cnv-dashboard-stats article > span { color: #9ba49f; font-family: var(--cnv-display); font-size: 16px; font-weight: 800; }
.cnv-dashboard-stats strong,
.cnv-dashboard-stats small { display: block; }
.cnv-dashboard-stats strong { font-family: var(--cnv-display); font-size: 32px; line-height: 1; }
.cnv-dashboard-stats small { margin-top: 5px; color: var(--cnv-muted); font-size: 9px; font-weight: 700; }
.cnv-dashboard-stats article.has-attention { box-shadow: inset 0 -4px 0 var(--cnv-gold); background: #fffdf7; }
.cnv-dashboard-stats article.has-attention strong { color: #9a6500; }

.cnv-dashboard-notice { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; margin-bottom: 15px; padding: 13px 15px; border: 1px solid var(--cnv-gold); border-radius: 7px; background: var(--cnv-gold-soft); font-size: 9px; line-height: 1.55; }
.cnv-dashboard-notice > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--cnv-gold); font-weight: 800; }
.cnv-dashboard-notice p { margin: 0; color: #5f5230; }
.cnv-dashboard-notice p strong { color: var(--cnv-ink); }
.cnv-dashboard-notice a { color: var(--cnv-red); font-size: 9px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

.cnv-dashboard-ledger { border: 1px solid #cbd2cd; border-radius: 9px; background: white; }
.cnv-dashboard-ledger__head { border-radius: 9px 9px 0 0; }
.cnv-dashboard-ledger > :last-child { border-radius: 0 0 9px 9px; }
.cnv-dashboard-ledger__head { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 20px; border-top: 5px solid var(--cnv-red); border-bottom: 1px solid var(--cnv-line); }
.cnv-dashboard-ledger__head span { color: var(--cnv-red); font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.cnv-dashboard-ledger__head h2 { margin: 3px 0 0; font-size: 20px; line-height: 1.2; }
.cnv-dashboard-ledger__head > a { color: var(--cnv-red); font-size: 9px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.cnv-dashboard-ledger__columns,
.cnv-dashboard-ledger__row { display: grid; grid-template-columns: minmax(280px, 1fr) 125px 115px 170px; gap: 14px; align-items: center; }
.cnv-dashboard-ledger__columns { min-height: 34px; padding: 0 20px; border-bottom: 1px solid var(--cnv-line); background: var(--cnv-rice); color: #7a867f; font-size: 7px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cnv-dashboard-ledger__row { min-height: 104px; margin-left: 0; padding: 15px 20px 15px 16px; border-bottom: 1px solid var(--cnv-line); border-left: 4px solid transparent; }
.cnv-dashboard-ledger__row:last-child { border-bottom: 0; }
.cnv-dashboard-ledger__row:hover { border-left-color: var(--cnv-red); background: #fffdfd; }
.cnv-dashboard-ledger__listing { min-width: 0; }
.cnv-dashboard-ledger__listing span,
.cnv-dashboard-ledger__listing strong,
.cnv-dashboard-ledger__listing small { display: block; }
.cnv-dashboard-ledger__listing span { color: var(--cnv-red); font-size: 8px; font-weight: 700; }
.cnv-dashboard-ledger__listing strong { overflow: hidden; margin-top: 5px; font-size: 11px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.cnv-dashboard-ledger__listing small { overflow: hidden; margin-top: 4px; color: var(--cnv-muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.cnv-dashboard-status { display: inline-flex; min-height: 27px; align-items: center; border: 1px solid var(--cnv-line); border-radius: 999px; padding: 0 9px; font-size: 7px; font-weight: 800; white-space: nowrap; }
.cnv-dashboard-status.is-live { border-color: #8ab5a5; background: var(--cnv-green-soft); color: var(--cnv-green); }
.cnv-dashboard-status.is-review { border-color: #e4bb5b; background: var(--cnv-gold-soft); color: #795607; }
.cnv-dashboard-status.is-attention { border-color: #c66370; background: var(--cnv-red-soft); color: var(--cnv-red-dark); }
.cnv-dashboard-status.is-expired { background: var(--cnv-rice); color: #68736d; }
.cnv-dashboard-expiry strong,
.cnv-dashboard-expiry small { display: block; }
.cnv-dashboard-expiry strong { font-size: 9px; }
.cnv-dashboard-expiry small { margin-top: 4px; color: var(--cnv-muted); font-size: 7px; }
.cnv-dashboard-row-actions { display: flex; justify-content: flex-end; gap: 6px; }
.cnv-dashboard-row-actions a { min-height: 34px; display: grid; place-items: center; border: 1px solid var(--cnv-line); border-radius: 4px; padding: 0 10px; color: var(--cnv-ink); font-size: 8px; font-weight: 800; }
.cnv-dashboard-row-actions a:hover { border-color: var(--cnv-red); color: var(--cnv-red); }
.cnv-dashboard-row-actions a:first-child:last-child,
.cnv-dashboard-row-actions a:first-child:not(:last-child) { border-color: var(--cnv-red); color: var(--cnv-red); }
.cnv-dashboard-empty { padding: 42px 24px; text-align: center; }
.cnv-dashboard-empty > span { color: var(--cnv-red); font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.cnv-dashboard-empty h2 { margin: 7px 0 6px; font-family: var(--cnv-display); font-size: 36px; text-transform: uppercase; }
.cnv-dashboard-empty p { margin: 0; color: var(--cnv-muted); font-size: 10px; }
.cnv-dashboard-empty a { min-height: 42px; display: inline-grid; place-items: center; margin-top: 17px; border-radius: 5px; background: var(--cnv-red); padding: 0 16px; color: white; font-size: 9px; font-weight: 800; }

/* My Listings (Tin của tôi) */
.cnv-dashboard-notice.is-success { border-color: #8ab5a5; background: var(--cnv-green-soft); }
.cnv-dashboard-notice.is-success span { background: var(--cnv-green); }
.cnv-dashboard-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.cnv-dashboard-tabs a { min-height: 34px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--cnv-line); border-radius: 999px; padding: 0 12px; background: white; color: var(--cnv-ink); font-size: 9px; font-weight: 800; }
.cnv-dashboard-tabs a b { min-width: 18px; border-radius: 999px; padding: 1px 6px; background: var(--cnv-rice); color: #68736d; font-size: 8px; text-align: center; }
.cnv-dashboard-tabs a:hover { border-color: var(--cnv-red); color: var(--cnv-red); }
.cnv-dashboard-tabs a.is-active { border-color: var(--cnv-red); background: var(--cnv-red); color: white; }
.cnv-dashboard-tabs a.is-active b { background: rgba(255,255,255,.2); color: white; }
.cnv-dashboard-search { display: flex; gap: 6px; }
.cnv-dashboard-search input { min-height: 36px; width: 210px; max-width: 100%; border: 1px solid var(--cnv-line); border-radius: 5px; padding: 0 10px; font-size: 9px; }
.cnv-dashboard-search button { min-height: 36px; border: 1px solid var(--cnv-red); border-radius: 5px; padding: 0 12px; background: var(--cnv-red); color: white; font-size: 9px; font-weight: 800; cursor: pointer; }
.cnv-dashboard-row-actions { position: relative; }
.cnv-row-menu { position: relative; }
.cnv-row-menu > summary { min-height: 34px; display: grid; place-items: center; border: 1px solid var(--cnv-line); border-radius: 4px; padding: 0 10px; font-size: 11px; font-weight: 800; letter-spacing: .1em; list-style: none; cursor: pointer; }
.cnv-row-menu > summary::-webkit-details-marker { display: none; }
.cnv-row-menu > summary:hover, .cnv-row-menu[open] > summary { border-color: var(--cnv-red); color: var(--cnv-red); }
.cnv-row-menu__panel { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; min-width: 220px; display: grid; border: 1px solid var(--cnv-line); border-radius: 7px; background: white; padding: 6px; box-shadow: 0 12px 28px rgba(37,53,45,.14); }
.cnv-row-menu__panel a, .cnv-row-menu__panel button { display: block; width: 100%; min-height: 36px; border: 0; border-radius: 5px; padding: 8px 10px; background: none; color: var(--cnv-ink); font: inherit; font-size: 9px; font-weight: 700; text-align: left; cursor: pointer; }
.cnv-row-menu__panel a:hover, .cnv-row-menu__panel button:hover { background: var(--cnv-rice); color: var(--cnv-red); }
.cnv-row-menu__panel button.is-danger { color: var(--cnv-red-dark); }
.cnv-row-menu__panel form { margin: 0; }
.cnv-dashboard-ledger__row:has(.cnv-row-menu[open]) { position: relative; z-index: 30; }
.cnv-upgrade__offer { max-width: 720px; }
.cnv-upgrade__price { display: flex; align-items: baseline; gap: 10px; margin: 0 0 18px; }
.cnv-upgrade__price strong { font-family: var(--cnv-display); font-size: 44px; line-height: 1; color: var(--cnv-red); }
.cnv-upgrade__price small { color: var(--cnv-muted); font-size: 10px; }
.cnv-upgrade__agree { margin: 0 0 12px; color: var(--cnv-muted); font-size: 12px; line-height: 1.5; }
.cnv-upgrade__agree a { color: var(--cnv-red); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cnv-settings { display: grid; gap: 16px; }
.cnv-settings .cnv-post-card { padding: 22px; }
.cnv-settings__form { margin-top: 16px; }
.cnv-settings__avatar { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; margin-bottom: 18px; }
.cnv-settings__avatar img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 1px solid var(--cnv-line); background: var(--cnv-rice); }
.cnv-settings__avatar .cnv-file-field { min-height: 72px; }
.cnv-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cnv-field-grid .cnv-form-field + .cnv-form-field { margin-top: 0; }
.cnv-form-field--full { grid-column: 1 / -1; }
.cnv-form-field input:disabled { background: var(--cnv-rice); color: #68736d; }
.cnv-form-field select { width: 100%; min-height: 47px; border: 1px solid #b9c3bd; border-radius: 6px; background: white; padding: 0 13px; color: var(--cnv-ink); font: inherit; font-size: 11px; }
.cnv-settings__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.cnv-social-rows { display: grid; gap: 10px; }
.cnv-social-row { display: grid; grid-template-columns: 160px minmax(0, 1fr) 42px; gap: 8px; }
.cnv-social-row select, .cnv-social-row input { min-height: 44px; border: 1px solid #b9c3bd; border-radius: 6px; padding: 0 12px; font: inherit; font-size: 11px; background: white; }
.cnv-social-row__remove { border: 1px solid var(--cnv-line); border-radius: 6px; background: white; font-size: 18px; cursor: pointer; }
.cnv-social-row__remove:hover { border-color: var(--cnv-red); color: var(--cnv-red); }
.cnv-post-card--danger { border-color: #ca675f; }
.cnv-danger > summary { margin-top: 12px; color: var(--cnv-red-dark); font-size: 10px; font-weight: 800; cursor: pointer; }
.cnv-upgrade__pay.is-danger { background: #a52218; border-color: #a52218; }
@media (max-width: 700px) {
    .cnv-field-grid, .cnv-social-row { grid-template-columns: 1fr; }
    .cnv-settings__avatar { grid-template-columns: 1fr; justify-items: start; }
}
.cnv-seller-card { padding: 20px !important; text-align: center; }
.cnv-seller-card__avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 1px solid var(--cnv-line); }
.cnv-seller-card h1 { margin: 12px 0 4px; font-size: 20px; line-height: 1.2; }
.cnv-seller-card__meta { margin: 0; color: var(--cnv-muted); font-size: 11px; }
.cnv-seller-card__bio { margin: 12px 0 0; color: var(--cnv-ink); font-size: 12px; line-height: 1.6; text-align: left; }
.cnv-seller-card__stats { display: grid; gap: 8px; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--cnv-line); }
.cnv-seller-card__stats div { display: flex; justify-content: space-between; font-size: 11px; }
.cnv-seller-card__stats dt { color: var(--cnv-muted); }
.cnv-seller-card__stats dd { margin: 0; font-weight: 800; color: var(--cnv-red); }
.cnv-seller-card__links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 12px; }
.cnv-seller-card__links a { border: 1px solid var(--cnv-line); border-radius: 999px; padding: 5px 10px; font-size: 10px; font-weight: 700; color: var(--cnv-green); }
.cnv-seller-card__edit { display: inline-grid; place-items: center; min-height: 36px; margin-top: 14px; border: 1px solid var(--cnv-red); border-radius: 5px; padding: 0 14px; color: var(--cnv-red); font-size: 10px; font-weight: 800; }
.cnv-upgrade__pay { min-height: 50px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--cnv-red); border-radius: 6px; padding: 0 18px; background: var(--cnv-red); color: white; font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.cnv-upgrade__pay:hover { background: var(--cnv-red-dark); }
.cnv-upgrade__pay.is-secondary { background: white; color: var(--cnv-red); }
@media (max-width: 700px) {
    .cnv-dashboard-ledger__head { flex-direction: column; align-items: flex-start; }
    .cnv-dashboard-search { width: 100%; }
    .cnv-dashboard-search input { flex: 1; width: auto; }
}

/* Keep the retained legacy dashboard screens usable inside the V2 shell. */
.cnv-dashboard-content .bg-primary-500,
.cnv-dashboard-content .btn-primary { background-color: var(--cnv-red) !important; }
.cnv-dashboard-content .text-primary-500 { color: var(--cnv-red) !important; }
.cnv-dashboard-content .border-primary-50 { border-color: #e4d3d7 !important; }
.cnv-dashboard-content .heading-03,
.cnv-dashboard-content .heading-05 { letter-spacing: -.02em; }

@media (max-width: 1050px) {
    .cnv-dashboard-grid { grid-template-columns: 226px minmax(0, 1fr); gap: 18px; }
    .cnv-dashboard-ledger__columns,
    .cnv-dashboard-ledger__row { grid-template-columns: minmax(230px, 1fr) 112px 105px 84px; gap: 10px; }
    .cnv-dashboard-row-actions { flex-direction: column; align-items: stretch; }
}

@media (max-width: 820px) {
    .cnv-dashboard { padding-top: 18px; }
    .cnv-dashboard-grid { display: block; }
    .cnv-account-rail { display: none; }
    .cnv-dashboard-mobile-menu { display: block; margin-bottom: 14px; border: 1px solid #cbd2cd; border-radius: 8px; background: white; }
    .cnv-dashboard-mobile-menu summary { min-height: 61px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 14px; list-style: none; cursor: pointer; }
    .cnv-dashboard-mobile-menu summary::-webkit-details-marker { display: none; }
    .cnv-dashboard-mobile-menu summary small,
    .cnv-dashboard-mobile-menu summary strong { display: block; }
    .cnv-dashboard-mobile-menu summary small { color: var(--cnv-red); font-size: 8px; font-weight: 800; text-transform: uppercase; }
    .cnv-dashboard-mobile-menu summary strong { margin-top: 3px; font-size: 11px; }
    .cnv-dashboard-mobile-menu summary b { border: 1px solid var(--cnv-red); border-radius: 4px; padding: 8px 11px; color: var(--cnv-red); font-size: 9px; }
    .cnv-account-mobile-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; padding: 0 12px 12px; border-top: 1px solid var(--cnv-line); }
    .cnv-account-mobile-nav a,
    .cnv-account-mobile-nav form button { min-height: 42px; display: flex; align-items: center; border: 1px solid var(--cnv-line); border-radius: 5px; background: white; padding: 0 10px; color: #44514a; font-size: 9px; font-weight: 700; }
    .cnv-account-mobile-nav a { margin-top: 8px; }
    .cnv-account-mobile-nav a.is-active { border-color: var(--cnv-red); background: var(--cnv-red-soft); color: var(--cnv-red); }
    .cnv-account-mobile-nav form { grid-column: 1 / -1; }
    .cnv-account-mobile-nav form button { width: 100%; color: #a52218; }
}

@media (max-width: 700px) {
    .cnv-dashboard-page { padding-bottom: 70px; }
    .cnv-dashboard-page .cnv-search { display: none; }
    .cnv-dashboard { min-height: 0; padding: 13px 0 30px; }
    .cnv-dashboard-hero { min-height: 0; display: block; padding: 23px 18px; }
    .cnv-dashboard-hero h1 { font-size: 39px; }
    .cnv-dashboard-hero__actions { margin-top: 18px; }
    .cnv-dashboard-hero__actions a { flex: 1; }
    .cnv-dashboard-stats { grid-template-columns: 1fr; }
    .cnv-dashboard-stats article { min-height: 74px; grid-template-columns: 30px minmax(0, 1fr); padding: 12px 16px; border-right: 0; border-bottom: 1px solid var(--cnv-line); }
    .cnv-dashboard-stats article:last-child { border-bottom: 0; }
    .cnv-dashboard-stats div { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; }
    .cnv-dashboard-stats small { margin-top: 0; }
    .cnv-dashboard-notice { grid-template-columns: 28px minmax(0, 1fr); }
    .cnv-dashboard-notice > a { grid-column: 2; }
    .cnv-dashboard-ledger__head { align-items: flex-end; padding: 14px 15px; }
    .cnv-dashboard-ledger__head h2 { font-size: 18px; }
    .cnv-dashboard-ledger__head > a { max-width: 120px; text-align: right; }
    .cnv-dashboard-ledger__columns { display: none; }
    .cnv-dashboard-ledger__row { display: grid; grid-template-columns: 1fr auto; gap: 11px; min-height: 0; padding: 16px 14px 16px 11px; }
    .cnv-dashboard-ledger__listing { grid-column: 1 / -1; }
    .cnv-dashboard-ledger__listing strong { white-space: normal; font-size: 12px; }
    .cnv-dashboard-expiry { text-align: right; }
    .cnv-dashboard-row-actions { grid-column: 1 / -1; flex-direction: row; }
    .cnv-dashboard-row-actions a { flex: 1; }
}

/* ── A6: trang Liên hệ (dùng lại khung .cnv-auth, chữ ≥ 12px) ───────────── */
.cnv-cf .cnv-auth__intro h1 { font-size: clamp(44px, 4.4vw, 64px); }
.cnv-cf .cnv-auth__intro > p:not(.cnv-auth__note) { font-size: 14px; }
.cnv-cf .cnv-auth__note { font-size: 12px; }
.cnv-cf .cnv-auth__back, .cnv-cf .cnv-auth__kicker { font-size: 12px; }
.cnv-cf-info { position: relative; z-index: 1; display: grid; gap: 0; margin: 34px 0 0; border-top: 1px solid rgba(255,255,255,.22); }
.cnv-cf-info > div { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.cnv-cf-info dt { color: #efbd45; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.cnv-cf-info dd { margin: 0; color: #fff; font-size: 14px; overflow-wrap: anywhere; }
.cnv-cf .cnv-login-card { width: min(100%, 520px); }
.cnv-cf .cnv-login-card__head > span { font-size: 12px; }
.cnv-cf .cnv-login-card__head h2 { font-size: 28px; }
.cnv-cf .cnv-login-card__head p { font-size: 13px; }
.cnv-cf .cnv-login-form { gap: 18px; margin-top: 26px; }
.cnv-cf .cnv-auth-field > label { font-size: 13px; }
.cnv-cf .cnv-auth-field > small { font-size: 12px; }
.cnv-cf .cnv-auth-error { font-size: 12px; }
.cnv-cf .cnv-login-submit { font-size: 14px; }
.cnv-cf-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; }
.cnv-cf .cnv-auth-field > input { min-height: 48px; font-size: 15px; }
.cnv-cf .cnv-auth-field > textarea { width: 100%; min-height: 150px; resize: vertical; border: 1px solid #bcc4bf; border-radius: 6px; background: white; padding: 12px 14px; color: var(--cnv-ink); font: inherit; font-size: 15px; line-height: 1.55; outline: 0; }
.cnv-cf .cnv-auth-field > textarea:focus { border-color: var(--cnv-red); box-shadow: 0 0 0 3px var(--cnv-red-soft); }
.cnv-cf .cnv-auth-field textarea.has-error { border-color: #b42318; }
.cnv-cf-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cnv-cf-done { text-align: left; }
.cnv-cf-done__mark { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 50%; background: var(--cnv-green-soft); color: var(--cnv-green); }
.cnv-cf-done__mark svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cnv-cf-done__actions { display: flex; align-items: center; gap: 18px; margin-top: 26px; }
.cnv-cf-done__actions .cnv-login-submit { padding: 0 24px; }
.cnv-cf-link { color: var(--cnv-red); font-size: 13px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) {
    .cnv-cf-row { grid-template-columns: 1fr; }
    .cnv-cf .cnv-auth__intro h1 { font-size: 36px; }
    .cnv-cf-info { margin-top: 22px; }
    .cnv-cf-info > div { grid-template-columns: 84px 1fr; }
}

/* ------------------------------------------------------------------
   Chọn tiểu bang: popup (partials/state-picker) + trang /area
   ------------------------------------------------------------------ */
a.cnv-location-current { color: inherit; }
.cnv-state-dialog { width: min(1000px, calc(100vw - 32px)); max-height: min(780px, calc(100vh - 32px)); padding: 0; border: 0; border-radius: 12px; background: var(--cnv-paper); color: var(--cnv-ink); box-shadow: 0 28px 80px rgba(46, 15, 22, .35); overflow: auto; overscroll-behavior: contain; }
.cnv-state-dialog::backdrop { background: rgba(35, 12, 18, .58); }
.cnv-state-dialog__head { position: sticky; top: 0; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 22px 24px 16px; border-bottom: 1px solid var(--cnv-line); background: var(--cnv-paper); }
.cnv-state-dialog__head h2:focus { outline: none; }
.cnv-state-dialog__head h2, .cnv-state-page h1 { margin: 4px 0; font-size: 27px; line-height: 1.15; letter-spacing: -.02em; }
.cnv-state-dialog__head p, .cnv-state-page > p { margin: 0; color: var(--cnv-muted); font-size: 13px; line-height: 1.5; }
.cnv-state-dialog__close { flex: 0 0 42px; width: 42px; height: 42px; border: 1px solid var(--cnv-line); border-radius: 6px; background: white; color: var(--cnv-ink); font-size: 24px; line-height: 1; }
.cnv-state-dialog__body { padding: 18px 24px 24px; }
.cnv-state-kicker { display: block; color: var(--cnv-red); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.cnv-state-suggest { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; padding: 12px 14px; border: 1px solid var(--cnv-red); border-radius: var(--cnv-radius); background: var(--cnv-red-soft); color: var(--cnv-red-dark); font-weight: 700; }
.cnv-state-suggest > span { display: flex; align-items: center; gap: 9px; }
.cnv-state-suggest svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.cnv-state-suggest strong { flex: none; padding: 9px 14px; border-radius: 6px; background: var(--cnv-red); color: white; font-size: 12px; }
.cnv-state-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--cnv-line); border-left: 1px solid var(--cnv-line); background: white; }
.cnv-state-grid li { min-width: 0; border-right: 1px solid var(--cnv-line); border-bottom: 1px solid var(--cnv-line); }
.cnv-state-grid a { min-height: 46px; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 8px 12px; color: var(--cnv-green); font-size: 14px; font-weight: 600; }
.cnv-state-grid a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cnv-state-grid a.has-listings { font-weight: 800; }
.cnv-state-grid small { color: var(--cnv-red); font-size: 11px; font-weight: 700; }
.cnv-state-grid a:hover, .cnv-state-grid a:focus-visible { background: var(--cnv-red-soft); color: var(--cnv-red-dark); }
.cnv-state-grid a.is-active { background: var(--cnv-red); color: white; }
.cnv-state-grid a.is-active small { color: white; }
.cnv-state-all { margin-top: 16px; text-align: center; }
.cnv-state-all a { min-height: 46px; display: inline-flex; align-items: center; padding: 0 20px; border: 1px solid var(--cnv-line); border-radius: 6px; background: white; color: var(--cnv-ink); font-weight: 700; }
.cnv-state-all a:hover, .cnv-state-all a.is-active { border-color: var(--cnv-red); color: var(--cnv-red-dark); }
.cnv-state-page { padding-block: 30px 64px; }
.cnv-state-page > p { margin-bottom: 18px; }
.cnv-list-heading--others { margin-top: 34px; }
.cnv-list-heading--others h2 { font-size: 22px; }
.cnv-notice p a { color: var(--cnv-red); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1000px) {
    .cnv-state-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .cnv-state-dialog { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
    .cnv-state-dialog__head { padding: 16px 16px 12px; }
    .cnv-state-dialog__head h2, .cnv-state-page h1 { font-size: 23px; }
    .cnv-state-dialog__body { padding: 14px 16px 28px; }
    .cnv-state-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cnv-state-grid a { min-height: 50px; font-size: 14px; }
    .cnv-state-suggest { align-items: stretch; flex-direction: column; }
    .cnv-state-suggest strong { text-align: center; padding: 12px; }
    .cnv-state-all a { width: 100%; justify-content: center; }
}

/* Xác minh số điện thoại ngay sau khi tạo tài khoản (route verify.view): một thẻ gọn, cùng ngôn ngữ với trang đăng nhập. */
.cnv-verify { padding: 64px 0 88px; background: #eef0ec; }
.cnv-verify__card { width: min(100%, 480px); margin-inline: auto; padding: 40px 40px 34px; border: 1px solid #ccb7bc; border-top: 4px solid var(--cnv-red); border-radius: 10px; background: white; box-shadow: 0 20px 55px rgba(53, 23, 29, .12); text-align: center; }
.cnv-verify__icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%; background: var(--cnv-red-soft); color: var(--cnv-red); }
.cnv-verify__icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cnv-verify h1 { margin: 0 0 12px; color: var(--cnv-ink); font-size: 24px; line-height: 1.3; letter-spacing: -.02em; text-wrap: balance; }
.cnv-verify__phone { margin: 0; color: var(--cnv-muted); font-size: 15px; }
.cnv-verify__phone strong { color: var(--cnv-ink); font-weight: 700; white-space: nowrap; }
.cnv-verify__alert { margin: 20px 0 0; padding: 12px 14px; border: 1px solid; border-left-width: 4px; border-radius: 6px; font-size: 13px; line-height: 1.55; text-align: left; }
.cnv-verify__alert.is-error { border-color: #ca675f; border-left-color: #a52218; background: #fff4f2; color: #7a271a; }
.cnv-verify__alert.is-success { border-color: #8ab5a5; border-left-color: var(--cnv-green); background: var(--cnv-green-soft); color: var(--cnv-green); }
.cnv-verify__form { display: grid; gap: 12px; margin-top: 26px; }
.cnv-verify__form input { width: 100%; min-height: 56px; border: 1px solid #bcc4bf; border-radius: 6px; background: white; padding: 0 14px; color: var(--cnv-ink); font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .3em; text-indent: .3em; text-align: center; outline: 0; }
.cnv-verify__form input::placeholder { color: #8d9691; font-size: 16px; font-weight: 500; letter-spacing: normal; }
.cnv-verify__form input:placeholder-shown { text-indent: 0; }
.cnv-verify__form input:focus { border-color: var(--cnv-red); box-shadow: 0 0 0 3px var(--cnv-red-soft); }
.cnv-verify__form input.has-error { border-color: #b42318; }
.cnv-verify__form .cnv-auth-error { font-size: 13px; }
.cnv-verify__form .cnv-login-submit { width: 100%; margin-top: 4px; font-size: 15px; }
.cnv-verify__resend { margin-top: 12px; }
.cnv-verify__resend button { width: 100%; min-height: 52px; border: 1px solid var(--cnv-line); border-radius: 6px; background: white; color: var(--cnv-red); font-size: 15px; font-weight: 700; }
.cnv-verify__resend button:hover { border-color: var(--cnv-red); background: var(--cnv-red-soft); }

@media (max-width: 700px) {
    .cnv-verify { padding: 20px 0 36px; }
    .cnv-verify__card { padding: 30px 20px 24px; }
    .cnv-verify h1 { font-size: 21px; }
}

/* Khung chọn thành phố (partials/city-picker): ngay dưới thanh danh mục, ~10 dòng rồi cuộn trong khung.
   Bóng mờ trên/dưới (background-attachment: local) báo "còn nữa, cuộn tiếp" — macOS ẩn thanh cuộn. */
.cnv-city-picker { --cnv-city-row: 31px; --cnv-city-rows: 10; padding-block: 0 14px; border-bottom: 1px solid var(--cnv-line); background: white; }
.cnv-city-picker__box { overflow: hidden; border: 1px solid var(--cnv-line); border-radius: 8px; }
.cnv-city-picker__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 10px 14px; border-bottom: 1px solid var(--cnv-line); background: var(--cnv-rice); }
.cnv-city-picker__head h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; color: var(--cnv-ink); font-size: 16px; line-height: 1.3; }
.cnv-city-picker__head h2 svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: var(--cnv-red); stroke-width: 2; }
.cnv-city-picker__head h2 small { color: var(--cnv-muted); font-size: 12px; font-weight: 400; }
.cnv-city-picker__search { position: relative; flex: 1 1 220px; max-width: 320px; margin-left: auto; }
.cnv-city-picker__search svg { position: absolute; top: 50%; left: 11px; width: 16px; height: 16px; transform: translateY(-50%); fill: none; stroke: var(--cnv-muted); stroke-width: 2; pointer-events: none; }
.cnv-city-picker__search input { width: 100%; min-height: 38px; padding: 0 12px 0 34px; border: 1px solid #bcc4bf; border-radius: 6px; background: white; color: var(--cnv-ink); font-size: 14px; outline: 0; }
.cnv-city-picker__search input:focus { border-color: var(--cnv-red); box-shadow: 0 0 0 3px var(--cnv-red-soft); }
.cnv-city-picker__change { color: var(--cnv-red); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.cnv-city-picker__list {
    position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: var(--cnv-city-row); column-gap: 16px;
    max-height: calc(var(--cnv-city-row) * var(--cnv-city-rows) + 16px); overflow-y: auto; overscroll-behavior: contain; padding: 8px 14px;
    background:
        linear-gradient(white 30%, rgba(255, 255, 255, 0)) center top / 100% 26px no-repeat local,
        linear-gradient(rgba(255, 255, 255, 0), white 70%) center bottom / 100% 26px no-repeat local,
        radial-gradient(farthest-side at 50% 0, rgba(23, 35, 30, .16), transparent) center top / 100% 9px no-repeat scroll,
        radial-gradient(farthest-side at 50% 100%, rgba(23, 35, 30, .16), transparent) center bottom / 100% 9px no-repeat scroll;
}
.cnv-city-picker__list a { min-width: 0; display: block; overflow: hidden; border-bottom: 1px dotted #d3d9d5; color: var(--cnv-green); font-size: 14px; line-height: calc(var(--cnv-city-row) - 1px); text-overflow: ellipsis; white-space: nowrap; }
.cnv-city-picker__list a[hidden] { display: none; }
.cnv-city-picker__list a:hover, .cnv-city-picker__list a:focus-visible { color: var(--cnv-red-dark); text-decoration: underline; }
.cnv-city-picker__list a.has-listings { color: var(--cnv-ink); font-weight: 700; }
.cnv-city-picker__list a small { margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: var(--cnv-red-soft); color: var(--cnv-red); font-size: 11px; font-weight: 700; }
.cnv-city-picker__list a.cnv-city-picker__all { color: var(--cnv-red); font-weight: 700; }
.cnv-city-picker__list a.is-active { margin-inline: -6px; padding-inline: 6px; border-bottom-color: transparent; border-radius: 4px; background: var(--cnv-red); color: white; text-decoration: none; }
.cnv-city-picker__list a.is-active small { background: rgba(255, 255, 255, .22); color: white; }
.cnv-city-picker__none { margin: 0; padding: 4px 14px 16px; color: var(--cnv-muted); font-size: 13px; text-align: center; }
/* Khung nối liền thanh danh mục: bỏ đường kẻ dưới thanh danh mục để khung không bị một vạch cắt ngang. */
.cnv-has-city-picker .cnv-category-bar { border-bottom: 0; }
/* Trang /ads: khung thấp hơn để kết quả không bị đẩy xuống quá xa. */
.cnv-city-picker--list-page { --cnv-city-rows: 5; }

@media (max-width: 980px) {
    .cnv-city-picker__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .cnv-city-picker { --cnv-city-row: 36px; --cnv-city-rows: 8; padding-bottom: 10px; }
    .cnv-city-picker__head { padding: 10px 12px; }
    .cnv-city-picker__search { order: 3; flex-basis: 100%; max-width: none; margin-left: 0; }
    .cnv-city-picker__search input { font-size: 16px; } /* < 16px thì iOS tự zoom khi gõ */
    .cnv-city-picker__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; padding-inline: 12px; }
    .cnv-city-picker__list a { font-size: 15px; }
    /* /ads trên điện thoại: 4 dòng để kết quả không bị đẩy quá xa. */
    .cnv-city-picker--list-page { --cnv-city-rows: 4; }
}

/* Bảng tin dạng lưới 3 cột (components/ad-tile) — kiểu Báo Nail, toàn chiều ngang (cnv-board) ở trang chủ và /ads. */
.cnv-board { padding-block: 28px 54px; }
.cnv-tile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.cnv-tile { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 12px; border: 1px solid var(--cnv-line); border-radius: var(--cnv-radius); background: white; transition: border-color .15s ease, box-shadow .15s ease; }
.cnv-tile:hover, .cnv-tile:focus-within { border-color: var(--cnv-red); box-shadow: 0 8px 22px rgba(53, 23, 29, .09); }
/* Tin trả phí: MỘT màu nền cho mọi gói (Bảo chốt 30/09 — nhiều màu khó nhìn); gói phân biệt bằng nhãn trước tiêu đề. */
.cnv-tile.is-paid { border-color: var(--cnv-paid-line); background: var(--cnv-paid-bg); }
/* "Mới": ruy băng chéo góc trái trên. */
.cnv-tile.is-new { overflow: hidden; }
.cnv-tile.is-new .cnv-tile__top { padding-left: 38px; }
.cnv-tile__ribbon { position: absolute; z-index: 2; top: 13px; left: -34px; width: 118px; padding: 3px 0; background: linear-gradient(90deg, #ef6c00, #c62828); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); color: white; text-shadow: 0 1px 1px rgba(0, 0, 0, .25); font-size: 11px; font-weight: 800; letter-spacing: .08em; line-height: 1.3; text-align: center; text-transform: uppercase; transform: rotate(-45deg); pointer-events: none; }
.cnv-tile__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; min-height: 20px; color: var(--cnv-muted); font-size: 13px; line-height: 1.45; }
.cnv-tile__kind { max-width: 100%; overflow: hidden; color: var(--cnv-green); font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
/* Thành phố quan trọng hơn nhóm tin: không cắt, thiếu chỗ thì xuống dòng. */
.cnv-tile__place { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cnv-tile__thumb { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 6px; object-fit: cover; }
.cnv-tile.has-thumb .cnv-tile__top, .cnv-tile.has-thumb .cnv-tile__title { padding-right: 52px; }
.cnv-tile__title { display: -webkit-box; overflow: hidden; margin: 0; color: var(--cnv-ink); font-size: 16px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.cnv-tile__title a { color: inherit; }
/* Cả thẻ bấm được: link tiêu đề trải phủ thẻ, vẫn là một link duy nhất cho trình đọc màn hình. */
.cnv-tile__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.cnv-tile:hover .cnv-tile__title a { color: var(--cnv-red-dark); }
.cnv-tile__badge { display: inline-block; margin-right: 5px; padding: 2px 6px; border-radius: 3px; font-size: 11px; font-weight: 800; line-height: 1.3; text-transform: uppercase; vertical-align: 2px; }
.cnv-tile__badge.is-urgent { background: #c62828; color: white; }
.cnv-tile__badge.is-featured { background: var(--cnv-gold); color: var(--cnv-ink); }
.cnv-tile__excerpt { display: -webkit-box; overflow: hidden; margin: 0; color: #3b4541; font-size: 14px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.cnv-tile__foot { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--cnv-line); color: var(--cnv-muted); font-size: 12px; }
.cnv-tile.is-paid .cnv-tile__foot { border-top-color: rgba(23, 35, 30, .2); }
.cnv-tile__foot strong { min-width: 0; overflow: hidden; color: var(--cnv-red); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.cnv-tile__foot strong.is-note { font-size: 12px; font-weight: 600; }
.cnv-tile__foot time { white-space: nowrap; }
.cnv-tile__foot time.is-stale { color: #9a6b00; }
.cnv-tile__more { margin-left: auto; color: var(--cnv-red); font-weight: 700; white-space: nowrap; }

/* Dải "Đăng tin miễn phí" cuối bảng tin (thay khối ở cột trái cũ của trang chủ). */
.cnv-post-strip { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 28px; padding: 20px 24px; border-radius: var(--cnv-radius); background: var(--cnv-red); color: white; }
.cnv-post-strip h2 { margin: 0 0 4px; font-size: 20px; }
.cnv-post-strip p { margin: 0; color: #f3dfe3; font-size: 14px; }
.cnv-post-strip p + p { margin-top: 4px; color: #ffd98a; font-weight: 700; }
.cnv-post-strip a { flex: 0 0 auto; padding: 11px 18px; border-radius: 6px; background: white; color: var(--cnv-red-dark); font-weight: 800; white-space: nowrap; }
.cnv-post-strip a:hover { background: var(--cnv-red-soft); }

@media (max-width: 980px) {
    .cnv-tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .cnv-board { padding-top: 18px; }
    .cnv-tile-grid { grid-template-columns: 1fr; gap: 10px; }
    .cnv-post-strip { flex-direction: column; align-items: stretch; padding: 18px; }
    .cnv-post-strip a { text-align: center; }
}

/* Trang thông tin: Giới thiệu, Thể lệ, Hoàn tiền, Bảo mật (frontend/hybrid/legal, about, partials/legal-aside).
   Lưới 2 cột: menu + đơn vị vận hành bên trái, bài bên phải. Điện thoại: menu (cuộn ngang) → bài → đơn vị vận hành. */
.cnv-legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "nav doc" "operator doc"; gap: 18px 36px; align-items: start; padding-block: 32px 64px; }
.cnv-legal__nav { grid-area: nav; display: grid; overflow: hidden; border: 1px solid var(--cnv-line); border-radius: var(--cnv-radius); background: white; }
.cnv-legal__nav a { padding: 12px 16px; border-bottom: 1px solid var(--cnv-line); color: var(--cnv-ink); font-size: 13px; font-weight: 700; }
.cnv-legal__nav a:last-child { border-bottom: 0; }
.cnv-legal__nav a:hover { background: var(--cnv-rice); color: var(--cnv-red); }
.cnv-legal__nav a[aria-current="page"] { background: var(--cnv-red-soft); color: var(--cnv-red-dark); box-shadow: inset 4px 0 0 var(--cnv-red); }
.cnv-legal__operator { grid-area: operator; display: grid; gap: 6px; padding: 18px 16px; border-radius: var(--cnv-radius); background: var(--cnv-red-dark); color: #f3dfe3; font-size: 13px; line-height: 1.5; }
.cnv-legal__operator h2 { margin: 0 0 2px; color: #efbd45; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cnv-legal__operator strong { color: white; font-size: 15px; }
.cnv-legal__operator address { font-style: normal; }
.cnv-legal__operator a { color: white; overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 3px; }
.cnv-legal__operator .cnv-legal__cta { margin-top: 8px; color: #efbd45; font-weight: 800; text-decoration: none; }
.cnv-legal__doc { grid-area: doc; min-width: 0; padding: 40px 48px 44px; border: 1px solid var(--cnv-line); border-radius: 10px; background: white; font-size: 15px; line-height: 1.7; }
.cnv-legal__doc > * { max-width: 72ch; }
.cnv-legal__doc a { color: var(--cnv-red); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.cnv-legal__doc a[href^="tel:"], .cnv-legal__operator a[href^="tel:"] { white-space: nowrap; }
.cnv-legal__head { margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--cnv-line); }
.cnv-legal__head .cnv-kicker { color: var(--cnv-red); font-size: 11px; }
.cnv-legal__head h1 { margin: 8px 0 8px; font-family: var(--cnv-display); font-size: clamp(38px, 4vw, 54px); line-height: .95; text-transform: uppercase; }
.cnv-legal__date { margin: 0; color: var(--cnv-muted); font-size: 13px; }
.cnv-legal__intro { margin: 0 0 8px; font-size: 16px; }
.cnv-legal__section { margin-top: 26px; scroll-margin-top: 16px; }
.cnv-legal__section h2 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 6px; font-size: 17px; line-height: 1.35; }
.cnv-legal__section h2 span { flex: 0 0 26px; color: var(--cnv-red); font-family: var(--cnv-display); font-size: 21px; }
.cnv-legal__section > :not(h2) { margin: 0 0 10px 36px; }
.cnv-legal__section ul { padding-left: 20px; }
.cnv-legal__section li + li { margin-top: 4px; }
.cnv-legal__controls { margin: 32px 0 0; padding: 12px 14px; border-left: 4px solid var(--cnv-gold); background: var(--cnv-gold-soft); font-size: 13px; }

.cnv-about__features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 24px 0; }
.cnv-about__feature { padding: 18px; border: 1px solid var(--cnv-line); border-top: 4px solid var(--cnv-red); border-radius: var(--cnv-radius); background: var(--cnv-rice); }
.cnv-about__feature h2 { margin: 0 0 8px; font-family: var(--cnv-display); font-size: 24px; line-height: 1; text-transform: uppercase; }
.cnv-about__feature p { margin: 0; font-size: 14px; line-height: 1.6; }
.cnv-about__feature ul { margin: 8px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.6; }
.cnv-about__feature p + p, .cnv-about__feature ul + p { margin-top: 8px; }
.cnv-about__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 26px; }
.cnv-legal__doc .cnv-about__actions a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 1px solid var(--cnv-red); border-radius: 6px; color: var(--cnv-red); font-weight: 800; text-decoration: none; }
.cnv-legal__doc .cnv-about__actions a.is-primary { background: var(--cnv-red); color: white; }
.cnv-legal__doc .cnv-about__actions a:hover { background: var(--cnv-red-soft); }
.cnv-legal__doc .cnv-about__actions a.is-primary:hover { background: var(--cnv-red-dark); }

@media (max-width: 980px) {
    .cnv-legal { grid-template-columns: 200px minmax(0, 1fr); gap: 16px 24px; }
    .cnv-legal__doc { padding: 32px 30px 36px; }
    .cnv-about__features { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
    .cnv-legal { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "nav" "doc" "operator"; gap: 14px; padding-block: 14px 28px; }
    .cnv-legal__nav { display: flex; gap: 8px; overflow-x: auto; border: 0; border-radius: 0; background: none; scrollbar-width: none; }
    .cnv-legal__nav::-webkit-scrollbar { display: none; }
    .cnv-legal__nav a, .cnv-legal__nav a:last-child { flex: 0 0 auto; padding: 9px 14px; border: 1px solid var(--cnv-line); border-radius: 999px; background: white; font-size: 13px; white-space: nowrap; }
    .cnv-legal__nav a[aria-current="page"] { border-color: var(--cnv-red); background: var(--cnv-red); color: white; box-shadow: none; }
    .cnv-legal__doc { padding: 24px 18px 28px; }
    .cnv-legal__head h1 { font-size: 38px; }
    .cnv-legal__section > :not(h2) { margin-left: 0; }
}
