/* Demo-only presentation. Paid Core controls and licence rules are unchanged. */
.cv-demo-output-card > .cv-demo-legacy-output { display: none !important; }
.cv-demo-documents { color: #203846; scroll-margin-top: 7rem; }
.cv-demo-documents-heading h2 { color: #0c3f63; font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.25; letter-spacing: -.025em; margin: .65rem 0; }
.cv-demo-documents-heading p { max-width: 60ch; color: #536671; font-size: .94rem; line-height: 1.6; margin: 0 0 1.1rem; }
.cv-demo-fictional-label { color: #526672; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.cv-demo-style-selector { display: flex; gap: 5px; padding: 5px; border-radius: 11px; background: #edf2f3; }
.cv-demo-style-button { flex: 1; min-height: 44px; border: 1px solid transparent; background: transparent; border-radius: 8px; font: inherit; font-size: .85rem; font-weight: 600; color: #3e5664; padding: .6rem .45rem; cursor: pointer; }
.cv-demo-style-button:hover { background: #e1e9ec; }
.cv-demo-style-button[aria-pressed="true"] { color: #0c3f63; background: #fff; border-color: #c5d5dd; box-shadow: 0 1px 3px #0c3f6310; }
.cv-demo-style-description { min-height: 2.8em; margin: .65rem 0 1rem; color: #536671; font-size: .83rem; line-height: 1.5; }
.cv-demo-preview { overflow: hidden; border: 1px solid #d6e0e5; border-radius: 10px; background: #eef2f4; }
.cv-demo-preview-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 50px; padding: 7px 15px; background: #f6f9fa; border-bottom: 1px solid #d6e0e5; font-size: .8rem; }
.cv-demo-preview-toolbar > span { font-weight: 700; }
.cv-demo-documents a { color: #0c5279; text-underline-offset: .18em; }
.cv-demo-preview-toolbar a { display: inline-flex; align-items: center; min-height: 36px; font-weight: 600; white-space: nowrap; }
.cv-demo-preview-frame { display: block; width: 100%; height: 560px; border: 0; background: #fff; }
.cv-demo-document-status { font-size: .78rem; color: #536671; line-height: 1.5; margin: .85rem 0; }
.cv-demo-downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cv-demo-documents .cv-demo-download { display: flex; justify-content: center; align-items: center; min-height: 46px; padding: 10px 12px; border: 1px solid #bfd0d8; border-radius: 8px; background: #fff; text-decoration: none; text-align: center; font-size: .86rem; font-weight: 650; }
.cv-demo-documents .cv-demo-download:hover { background: #f1f6f8; border-color: #8caab9; }
.cv-demo-documents .cv-demo-download-primary { background: #0c3f63; border-color: #0c3f63; color: #fff; }
.cv-demo-documents .cv-demo-download-primary:hover { background: #082f4a; color: #fff; }
.cv-demo-evidence { display: flex; flex-direction: column; gap: 3px; margin: 1rem 0; padding: 0 0 1rem; border-bottom: 1px solid #e0e7eb; }
.cv-demo-evidence a { display: inline-flex; align-items: center; min-height: 38px; align-self: flex-start; font-size: .87rem; font-weight: 650; }
.cv-demo-evidence span { max-width: 65ch; color: #536671; font-size: .8rem; line-height: 1.5; }
.cv-demo-document-explainer { font-size: .84rem; margin-bottom: 1.5rem; }
.cv-demo-document-explainer summary { padding: .45rem 0; cursor: pointer; color: #0c3f63; font-weight: 650; min-height: 40px; }
.cv-demo-document-explainer p { color: #536671; line-height: 1.6; margin: .5rem 0; }
.cv-demo-output-card > .cv-readiness { border-top: 1px solid #d6e0e5; padding-top: 1.2rem; }
.cv-demo-documents :is(a, button, summary):focus-visible { outline: 3px solid #0a769e; outline-offset: 3px; }
.cv-demo-documents h2:focus { outline: none; }
@media (max-width: 520px) {
    .cv-demo-style-selector { gap: 3px; padding: 4px; }
    .cv-demo-style-button { padding: .55rem .25rem; font-size: .76rem; line-height: 1.35; }
    .cv-demo-preview-toolbar { padding: 6px 10px; font-size: .73rem; gap: 7px; }
    .cv-demo-preview-frame { height: 420px; }
    .cv-demo-documents .cv-demo-download { font-size: .8rem; padding: 9px 6px; }
}
