.cv-section { display: grid; gap: 12px; padding: 14px 12px 24px; color: var(--text-primary); }
.cv-section h2, .cv-section h3, .cv-section p { margin: 0; }
.cv-section h2, .cv-dialog h3 { color: var(--text-strong); }
.cv-section h2 { font-size: 1.25rem; }
.cv-section p { line-height: 1.55; overflow-wrap: anywhere; }
.cv-actions {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
}
.cv-section--feed { padding: 0 0 24px; gap: 0; }
.cv-section--feed > :is(.cv-back, .cv-message, .cv-actions):not(:empty) { margin: 12px; }
.cv-form :is(input:not([type="checkbox"]), select, textarea) {
  color-scheme: light;
  color: #181a16;
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  min-height: 44px;
  width: 100%;
  padding: 8px 10px;
  font: inherit;
}
.cv-form input::placeholder { color: #555; }
.cv-form textarea { resize: vertical; }
.cv-section :is(input, select, textarea, button, a):focus-visible { outline: 2px solid var(--text-strong); outline-offset: 2px; }
.cv-section button:not(.action-btn, .pro-btn-publish, .suivis-signout) { min-height: 44px; width: fit-content; margin: 0; }
.cv-section :is(.cv-back, .cv-form a) { color: var(--text-strong); text-decoration: underline; text-underline-offset: 3px; }
.cv-preview, .cv-form, .cv-field { display: grid; gap: 10px; }
.cv-list:empty, .cv-actions:empty, .cv-message:empty, .cv-form[hidden] { display: none; }
.cv-card { cursor: auto; }
.cv-card .article-title { overflow-wrap: anywhere; }
.cv-card .article-title a { color: inherit; text-decoration: none; }
.cv-card .article-title a:hover { text-decoration: underline; }
.cv-card .article-title a:focus-visible { outline-offset: -2px; }
.cv-card .article-sector-tag { overflow-wrap: anywhere; }
.cv-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 45%;
}
.cv-badges:empty { display: none; }
.cv-card .cv-badge {
  --tag-color: var(--cv-badge-dark, var(--text-strong));
  color: var(--tag-color);
  cursor: default;
}
:root[data-theme="light"] .cv-card .cv-badge { --tag-color: var(--cv-badge-light, var(--text-strong)); }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .cv-card .cv-badge { --tag-color: var(--cv-badge-light, var(--text-strong)); }
}
.cv-card .cv-badge:hover { background: var(--bg-hover); }
.cv-badge[data-cv-type="Emploi"] { --cv-badge-dark: #4ade80; --cv-badge-light: #166534; }
.cv-badge[data-cv-type="Mission"] { --cv-badge-dark: #60a5fa; --cv-badge-light: #1d4ed8; }
.cv-badge[data-cv-type="Stage"] { --cv-badge-dark: #fb923c; --cv-badge-light: #9a3412; }
.cv-badge[data-cv-type="Alternance"] { --cv-badge-dark: #a78bfa; --cv-badge-light: #6d28d9; }
.cv-login { display: grid; gap: 12px; }
.cv-profile-head { margin: 0; }
.cv-profile-actions .action-btn { min-height: 36px; }
.cv-field { gap: 4px; }
.cv-field > label, .cv-types legend { font-weight: 650; }
.cv-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 8px; min-width: 0; border: 1px solid var(--border-default); border-radius: var(--radius-sm); padding: 4px 10px 8px; }
.cv-check { display: flex; gap: 8px; align-items: flex-start; min-height: 44px; padding: 9px 0; }
.cv-check input { margin: 3px 0 0; flex: 0 0 auto; width: 18px; height: 18px; accent-color: var(--text-strong); }
.cv-help { color: var(--text-secondary); font-size: .875rem; }
.cv-section [role="alert"] { font-weight: 650; }
.cv-dialog { width: min(92vw, 480px); margin: auto; padding: 20px; border: 1px solid var(--border-default); border-radius: var(--radius-lg); background: var(--bg-elevated); color: var(--text-primary); }
.cv-dialog > * + * { margin-top: 12px; }
.cv-dialog::backdrop { background: rgb(0 0 0 / 65%); }
dialog.cv-editor { width: calc(100% - 32px); max-width: 480px; max-height: min(85dvh, calc(100dvh - 32px)); padding: 0; transform: none; }
.cv-editor:not([open]) { display: none; }
.cv-editor::backdrop { background: rgb(0 0 0 / 88%); backdrop-filter: blur(18px); }
.cv-editor > .cv-section { margin: 0; padding: 16px; overflow-y: auto; }
.cv-editor > .cv-editor-intro { margin: 12px 16px 0; }
@media (max-width: 600px) {
  .cv-editor .cv-form :is(input:not([type="checkbox"]), select, textarea) { font-size: 16px; }
}
