/* Lebenslauf Runde 7 (lino/lebenslauf-v3, 06.11.2026): Hochladen, Prüfen, Wahl, Fragen | Bearbeiten, Studio-Teile */

/* Runder Zurück-Pfeil (gleich wie überall: oben links, dezent) */
.cvq-back { position: absolute; left: 16px; top: 16px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-soft, #DED2C5); background: var(--card-bg, #fff); color: var(--text); display: grid; place-items: center; cursor: pointer; transition: background .15s, transform .15s; }
.cvq-back:hover { background: var(--tone-inset, #f3efe9); transform: translateX(-1px); }

/* Hochladen */
.cvq-up { position: relative; max-width: 720px; margin: 0 auto; padding: 22px 26px 22px 70px; border-radius: 22px; background: var(--card-bg, #fff); border: 1px solid var(--line-soft, #DED2C5); box-shadow: 0 10px 30px -18px rgb(30 41 59 / .35); }
.cvq-up-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.cvq-up-head h3 { margin: 2px 0 4px; font-size: 21px; letter-spacing: -.01em; }
.cvq-up-head p { margin: 0; color: var(--text-muted); font-size: 14.5px; line-height: 1.5; }
.cvq-up-ill { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: var(--gold); background: linear-gradient(160deg, #eef4ff, #dbe8ff); box-shadow: inset 0 1px 0 #fff; }
.cvq-up-ill.is-warm { color: #c2410c; background: linear-gradient(160deg, #fff4ec, #ffe3d1); }
.cvq-drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px 18px; border: 2px dashed color-mix(in srgb, var(--gold) 45%, transparent); border-radius: 18px; background: color-mix(in srgb, var(--gold) 5%, var(--card-bg, #fff)); cursor: pointer; text-align: center; transition: background .15s, border-color .15s, transform .15s; }
.cvq-drop:hover, .cvq-drop:focus-visible, .cvq-drop.is-over { background: color-mix(in srgb, var(--gold) 11%, var(--card-bg, #fff)); border-color: var(--gold); outline: none; }
.cvq-drop.is-over { transform: scale(1.01); }
.cvq-drop-ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #fff; box-shadow: 0 8px 18px -8px var(--gold); margin-bottom: 4px; }
.cvq-drop b { font-size: 16px; }
.cvq-drop small { color: var(--text-muted); font-size: 13.5px; }
.cvq-msg { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: #fff4ec; color: #9a3412; font-size: 14px; }
.cvq-lib:not(:empty) { margin-top: 14px; }
.cvq-steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; flex-wrap: wrap; }
.cvq-steps li { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--tone-inset, #f3efe9); font-size: 13px; font-weight: 600; color: var(--text-muted); }
.cvq-steps i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--card-bg, #fff); color: var(--gold); font-style: normal; font-size: 12px; font-weight: 800; }
.cvq-privacy { margin: 12px 0 0; font-size: 12.5px; color: var(--text-muted); }
.cvq-fail-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Ist das dein Lebenslauf? */
.cvq-modal.is-wide .cvf-modal-card { width: min(1040px, 96vw); display: flex; flex-direction: column; overflow: hidden; }
.cvq-modal.is-wide .cvf-mhead, .cvq-modal.is-wide .cvf-mfoot { flex: none; }
.cvq-modal.is-wide .cvf-mfoot { position: static; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-soft, #e5e7eb); display: flex; }
.cvq-confirm { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 20px; margin: 0; flex: 1; min-height: 0; max-height: 640px; }
.cvq-orig { border-radius: 14px; background: #f3f4f6; padding: 10px; overflow: auto; border: 1px solid var(--line-soft, #e5e7eb); }
.cvq-orig img { width: 100%; display: block; border-radius: 6px; box-shadow: 0 6px 20px -10px rgb(0 0 0 / .4); background: #fff; }
.cvq-orig-none { min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; color: var(--text-muted); padding: 20px; }
.cvq-orig-none svg { width: 46px; height: 46px; color: var(--gold); }
.cvq-orig-none b { color: var(--text); }
.cvq-read { overflow: auto; padding-right: 4px; }
.cvq-read h4 { margin: 4px 0 8px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); }
.cvq-read h4 + .cvq-secs { margin-bottom: 4px; }
.cvq-note { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: #fff8e6; color: #854d0e; font-size: 13.5px; }
.cvq-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; margin-bottom: 16px; }
.cvq-f { display: flex; flex-direction: column; gap: 3px; }
.cvq-f.is-wide { grid-column: 1 / -1; }
.cvq-f > span { display: flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--text-muted); }
.cvq-f > span svg { color: #16a34a; }
.cvq-f input { width: 100%; box-sizing: border-box; padding: 9px 11px; border-radius: 10px; border: 1px solid var(--line-soft, #DED2C5); background: var(--card-bg, #fff); font: inherit; font-size: 14.5px; color: var(--text); }
.cvq-f input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 18%, transparent); }
.cvq-f:not(.is-ok) input { background: #fffaf3; border-style: dashed; }
.cvq-secs { display: flex; flex-direction: column; gap: 10px; }
.cvq-sec b { display: flex; align-items: center; gap: 6px; font-size: 14px; margin-bottom: 5px; }
.cvq-sec b em { font-style: normal; font-size: 11.5px; padding: 1px 7px; border-radius: 999px; background: color-mix(in srgb, var(--gold) 12%, transparent); color: var(--gold); }
.cvq-sec div { display: flex; flex-wrap: wrap; gap: 5px; }
.cvq-sec span { padding: 4px 9px; border-radius: 8px; background: var(--tone-inset, #f3efe9); font-size: 12.5px; }
.cvq-sec span.is-more { color: var(--text-muted); }
.cvq-none { color: var(--text-muted); font-size: 13.5px; margin: 0; }
.cvq-foot { justify-content: flex-end; gap: 8px; }

/* Was möchtest du? */
.cvq-modal.is-choose .cvf-modal-card { width: min(760px, 96vw); }
.cvq-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 8px 0 12px; }
.cvq-opt { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 16px; border-radius: 18px; border: 1.5px solid var(--line-soft, #DED2C5); background: var(--card-bg, #fff); text-align: left; cursor: pointer; font: inherit; color: var(--text); transition: border-color .15s, transform .15s, box-shadow .15s; }
.cvq-opt:hover, .cvq-opt:focus-visible { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 12px 26px -16px var(--gold); outline: none; }
.cvq-opt-ill { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: var(--gold); background: linear-gradient(160deg, #eef4ff, #dbe8ff); }
.cvq-opt-t b { display: block; font-size: 15.5px; margin-bottom: 4px; }
.cvq-opt-t b em { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: #dcfce7; color: #166534; vertical-align: 2px; }
.cvq-opt-t small { color: var(--text-muted); font-size: 13px; line-height: 1.45; }
.cvq-job { border: 0; background: none; color: var(--gold); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; padding: 4px 0; }
.cvq-job:hover { text-decoration: underline; }
.cvq-tpls { max-height: 64vh; overflow: auto; padding: 4px; }

/* Fragen | Bearbeiten (gleich wie Berufe | Lehrstellen) */
.cvq-modes { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--bg-second, #EDE2D5); flex: none; }
.cvq-modes button { padding: 8px 16px; border: none; border-radius: 10px; background: transparent; color: var(--text-muted); font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; }
.cvq-modes button.is-on { background: var(--card-bg, #FBF8F2); color: var(--text); box-shadow: 0 1px 3px rgba(112, 94, 78, .18); cursor: default; }
.cvq-modes button:not(.is-on):hover { color: var(--text); }
.cvq-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 16px; }
.cvq-bar-hint { color: var(--text-muted); font-size: 13.5px; }

.cvq-upwrap { position: relative; }
.cvq-upmenu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; width: 270px; padding: 6px; border-radius: 14px; background: var(--card-bg, #fff); border: 1px solid var(--line-soft, #DED2C5); box-shadow: 0 16px 34px -14px rgb(30 41 59 / .35); }
.cvq-upmenu.hidden { display: none; }
.cvq-upmenu button { display: block; width: 100%; text-align: left; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; font: inherit; color: var(--text); cursor: pointer; }
.cvq-upmenu button:hover { background: var(--tone-inset, #f3efe9); }
.cvq-upmenu b { display: block; font-size: 14px; }
.cvq-upmenu small { color: var(--text-muted); font-size: 12.5px; }
.cvw-right-head { display: flex; align-items: center; gap: 8px; }
.cvw-right-head > b { margin-right: auto; }

/* Studio: eigene Teile, Grösse ziehen, live tauschen */
.cvr-selbox .cvr-handle { position: absolute; right: -8px; bottom: -8px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2.5px solid var(--gold); pointer-events: auto; cursor: nwse-resize; box-shadow: 0 2px 6px rgb(0 0 0 / .2); }
.cvr-paper .cvr-x { cursor: grab; }
.cvr-paper .cvr-x:hover { outline: 1.5px dashed color-mix(in srgb, var(--gold) 60%, transparent); outline-offset: 2px; }
.cvr-paper .cvr-x-t.cvr-editing { cursor: text; outline: 2px solid var(--gold); background: rgb(255 255 255 / .7); }
.cvr-paper section.cvd-sec.cvr-swapping { opacity: .55; outline: 2px dashed var(--gold); outline-offset: 4px; border-radius: 6px; background: color-mix(in srgb, var(--gold) 6%, transparent); }
.cvr-adds { display: grid; grid-template-columns: 1fr; gap: 8px; }
.cvr-add { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; border: 1px solid var(--line-soft, #DED2C5); background: var(--card-bg, #fff); text-align: left; cursor: pointer; font: inherit; color: var(--text); transition: border-color .15s, transform .15s; }
.cvr-add:hover { border-color: var(--gold); transform: translateX(2px); }
.cvr-add b { display: block; font-size: 14px; }
.cvr-add small { color: var(--text-muted); font-size: 12.5px; }
.cvr-add-ill { flex: none; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(160deg, #eef4ff, #dbe8ff); display: grid; place-items: center; }
.cvr-add-ill i { display: block; font-style: normal; }
.cvr-ill-h { font: 800 20px/1 'Plus Jakarta Sans', Inter, sans-serif; color: var(--gold); }
.cvr-ill-t { width: 26px; display: flex !important; flex-direction: column; gap: 4px; }
.cvr-ill-t em { display: block; height: 3px; border-radius: 3px; background: var(--gold); opacity: .75; }
.cvr-ill-t em:nth-child(2) { width: 80%; } .cvr-ill-t em:nth-child(3) { width: 55%; }
.cvr-ill-img { width: 28px; height: 22px; border-radius: 5px; border: 2.5px solid var(--gold); position: relative; }
.cvr-ill-img em { position: absolute; left: 3px; right: 3px; bottom: 3px; height: 8px; background: var(--gold); opacity: .55; clip-path: polygon(0 100%, 35% 20%, 60% 70%, 80% 40%, 100% 100%); }
.cvr-ill-line { width: 28px; height: 3px; border-radius: 3px; background: var(--gold); }
.cvr-ill-box { width: 28px; height: 22px; border-radius: 6px; background: var(--gold); opacity: .35; }
.cvr-ill-photo { width: 24px; height: 24px; border-radius: 50%; background: radial-gradient(circle at 50% 38%, var(--gold) 0 26%, transparent 27%), radial-gradient(circle at 50% 110%, var(--gold) 0 45%, transparent 46%); opacity: .8; border: 2px solid var(--gold); }
.cvr-top .cvr-dl { border: 1px solid var(--line-soft, #DED2C5); }

@media (max-width: 860px) {
  .cvq-up { padding: 64px 16px 18px; }
  .cvq-back { left: 12px; top: 12px; }
  .cvq-confirm { grid-template-columns: 1fr; max-height: none; }
  .cvq-orig { max-height: 260px; }
  .cvq-opts { grid-template-columns: 1fr; }
  .cvq-opt { flex-direction: row; align-items: center; }
  .cvq-fields { grid-template-columns: 1fr; }
  .cvq-bar-hint { display: none; }
  .cvr-top .cvq-modes { order: 0; width: 100%; }
  .cvr-top .cvq-modes button { flex: 1; }
}
