/* Delete windows (CVDeleteModal in cv-xtrash.php) and Settings > Restore (cv-settings-restore.php), 2026-11-18.
   Theme-aware: --cvf-btn-bg (menu color), --accent, --paper-2, --line come from CVThemeTintCSS(); fallbacks for old pages. */
.cvf-delmodal .modal-dialog { max-width: 36rem; }
.cvf-delmodal .modal-content { border: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px -20px rgba(15, 18, 24, .45);
  border-top: 5px solid var(--cvf-btn-bg, #b75a36); }
.cvf-delmodal .modal-header { align-items: flex-start; gap: .9rem; padding: 1.35rem 1.5rem .9rem; border-bottom: 0; }
.cvf-del-ic { flex: none; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%;
  background: #fdecea; color: #b42318; font-size: 1.2rem; }
.cvf-del-head { flex: 1; min-width: 0; }
.cvf-del-kicker { margin: .1rem 0 .2rem; font: 600 .72rem/1.2 "Geist Mono", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: #b42318; }
.cvf-delmodal .modal-title { margin: 0; font-family: var(--cvf-head-font, Georgia, serif); font-size: 1.55rem; font-weight: 400; line-height: 1.2; color: var(--ink, #15171b); overflow-wrap: anywhere; }
.cvf-del-ctx { margin: .3rem 0 0; font-size: .88rem; color: var(--muted, #5c626c); }
.cvf-delmodal .btn-close { margin: 0 0 0 auto; flex: none; }
.cvf-delmodal .modal-body { padding: 0 1.5rem 1.1rem; font-size: .95rem; color: var(--ink, #15171b); }
.cvf-del-sub { margin: .25rem 0 .45rem; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted, #5c626c); }
.cvf-del-list { list-style: none; margin: 0 0 .9rem; padding: 0; display: grid; gap: .4rem; }
.cvf-del-list li { display: flex; align-items: center; gap: .6rem; }
.cvf-del-list li > svg, .cvf-del-list li > i { flex: none; width: 1.9rem !important; height: 1.9rem; padding: .45rem; border-radius: 9px;
  background: var(--paper-2, #f1f1ee); color: var(--accent, #b75a36); }
.cvf-del-files { list-style: none; margin: 0 0 1rem; padding: .35rem .85rem; border: 1px solid var(--line, #e5e1d8); border-radius: 12px; background: #fff; }
.cvf-del-files li { display: flex; align-items: center; gap: .55rem; padding: .35rem 0; font-size: .88rem; }
.cvf-del-files li + li { border-top: 1px solid var(--line, #eee9df); }
.cvf-del-files svg, .cvf-del-files i { flex: none; color: var(--muted, #5c626c); }
.cvf-del-fn { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cvf-del-fs { flex: none; color: var(--muted, #5c626c); font-variant-numeric: tabular-nums; }
.cvf-del-more { color: var(--muted, #5c626c); font-style: italic; }
.cvf-del-note { display: flex; gap: .75rem; align-items: flex-start; padding: .85rem 1rem; border-radius: 12px; font-size: .9rem; line-height: 1.5; }
.cvf-del-note > svg, .cvf-del-note > i { flex: none; margin-top: .2rem; }
.cvf-del-note.is-restore { background: var(--paper-2, #f1f5f3); border: 1px solid var(--line, #dfe7e2); }
.cvf-del-note.is-restore > svg, .cvf-del-note.is-restore > i { color: var(--accent, #b75a36); }
.cvf-del-note.is-permanent { background: #fdf1ef; border: 1px solid #f2c7bf; color: #7a1f12; }
.cvf-delmodal .modal-footer { justify-content: space-between; gap: .75rem; padding: .95rem 1.5rem 1.15rem; border-top: 1px solid var(--line, #ebe7de); background: #fcfcfb; }
.cvf-delmodal .modal-footer > * { margin: 0; }
.cvf-del-go { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; }
.cvf-delmodal .btn { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.6rem; padding: .5rem 1.1rem; border-radius: 10px; font-weight: 500; }
.cvf-delmodal .btn-danger { background: #c62828; border-color: #c62828; color: #fff; }
.cvf-delmodal .btn-danger:hover, .cvf-delmodal .btn-danger:focus-visible { background: #a61f1f; border-color: #a61f1f; color: #fff; }
.cvf-delmodal .btn-outline-danger { color: #b42318; border-color: #e3a59b; background: #fff; }
.cvf-delmodal .btn-outline-danger:hover { background: #fdecea; color: #8a1c12; border-color: #b42318; }
.cvf-delmodal .cvf-del-close { color: var(--ink, #15171b); border-color: #c9c4b8; background: #fff; }
.cvf-delmodal .cvf-del-close:hover { background: var(--paper-2, #f1f1ee); color: var(--ink, #15171b); border-color: var(--ink, #15171b); }
@media (max-width: 575.98px) {
  .cvf-delmodal .modal-dialog { margin: .75rem; }
  .cvf-delmodal .modal-footer { flex-wrap: wrap; }
  .cvf-del-go { flex: 1 1 100%; flex-direction: column-reverse; }
  .cvf-del-go .btn, .cvf-delmodal .cvf-del-close { width: 100%; justify-content: center; }
  .cvf-delmodal .modal-footer { flex-direction: column-reverse; }
}
/* link inside the dark message pill */
.cvf-notice-link { color: inherit !important; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; margin-left: .25rem; white-space: nowrap; }

/* ---- Settings > Restore ---- */
.cvf-rst-intro { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.25rem; margin-bottom: 1.25rem; border-radius: 14px;
  background: #fff; border: 1px solid var(--line, #e5e1d8); border-left: 4px solid var(--cvf-btn-bg, #b75a36); }
.cvf-rst-intro-ic { flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: var(--paper-2, #f1f1ee); color: var(--accent, #b75a36); font-size: 1.1rem; }
.cvf-rst-intro-t { margin: 0 0 .2rem; font-weight: 600; }
.cvf-rst-intro-s { margin: 0; color: var(--muted, #5c626c); font-size: .92rem; line-height: 1.55; }
.cvf-rst-bar { display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: space-between; align-items: center; margin: 0 0 .75rem; font-size: .92rem; }
.cvf-rst-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.cvf-rst-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.25rem; background: #fff; border: 1px solid var(--line, #e5e1d8); border-radius: 14px; }
.cvf-rst-ic { flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 12px; background: var(--paper-2, #f1f1ee); color: var(--accent, #b75a36); font-size: 1.1rem; }
.cvf-rst-main { flex: 1; min-width: 0; }
.cvf-rst-kind { margin: 0 0 .1rem; font: 600 .72rem/1.3 "Geist Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--accent, #b75a36); }
.cvf-rst-kind span { color: var(--muted, #5c626c); text-transform: none; letter-spacing: 0; font-family: inherit; font-weight: 500; }
.cvf-rst-title { margin: 0 0 .45rem; font-family: var(--cvf-head-font, Georgia, serif); font-size: 1.3rem; font-weight: 400; line-height: 1.25; color: var(--ink, #15171b); overflow-wrap: anywhere; }
.cvf-rst-chips { list-style: none; margin: 0 0 .5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.cvf-rst-chips li { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .6rem; border-radius: 999px; background: var(--paper-2, #f1f1ee); font-size: .82rem; color: var(--ink, #15171b); }
.cvf-rst-chips svg, .cvf-rst-chips i { color: var(--accent, #b75a36); font-size: .8em; }
.cvf-rst-when { margin: 0 0 .4rem; font-size: .84rem; color: var(--muted, #5c626c); }
.cvf-rst-when .is-soon { color: #a8321c; font-weight: 600; }
.cvf-rst-meter { height: 4px; border-radius: 999px; background: var(--paper-2, #eceae4); overflow: hidden; max-width: 18rem; }
.cvf-rst-meter span { display: block; height: 100%; background: var(--cvf-btn-bg, #b75a36); border-radius: inherit; }
.cvf-rst-acts { flex: none; display: flex; flex-direction: column; gap: .45rem; align-items: stretch; min-width: 10.5rem; }
.cvf-rst-acts form { margin: 0; }
.cvf-rst-acts .btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 2.5rem; border-radius: 10px; font-weight: 500; }
.cvf-rst-acts .btn-outline-danger { color: #b42318; border-color: #e3a59b; background: #fff; }
.cvf-rst-acts .btn-outline-danger:hover { background: #fdecea; color: #8a1c12; border-color: #b42318; }
.cvf-rst-empty { text-align: center; padding: 2.5rem 1.25rem; background: #fff; border: 1px dashed var(--line, #d9d4c9); border-radius: 16px; color: var(--ink, #15171b); }
.cvf-rst-empty svg { display: block; margin: 0 auto .75rem; color: var(--ink, #15171b); }
.cvf-rst-empty-t { margin: 0 0 .3rem; font-family: var(--cvf-head-font, Georgia, serif); font-size: 1.5rem; }
.cvf-rst-empty-s { margin: 0 auto; max-width: 30rem; color: var(--muted, #5c626c); }
@media (max-width: 767.98px) {
  .cvf-rst-item { flex-wrap: wrap; }
  .cvf-rst-acts { flex: 1 1 100%; flex-direction: row; min-width: 0; }
  .cvf-rst-acts > * { flex: 1; }
}
.cvf-del-choice { margin: 0 0 .9rem; padding: .7rem .9rem; border-radius: 10px; background: #fff; border: 1px dashed var(--line, #d9d4c9); font-size: .9rem; }
/* settings pages (edit.css) style h3/p broadly: keep the Restore list's own type */
body.cvf-edit .cvf-rst-title, body .cvf-rst-title { font-family: var(--cvf-head-font, Georgia, serif) !important; font-size: 1.35rem !important; font-weight: 400 !important; text-transform: none; letter-spacing: 0; margin: 0 0 .45rem; color: var(--ink, #15171b); }
body.cvf-edit .cvf-rst-kind { font: 600 .72rem/1.3 "Geist Mono", ui-monospace, monospace !important; letter-spacing: .08em; text-transform: uppercase; color: var(--accent, #b75a36) !important; margin: 0 0 .15rem; }
body.cvf-edit .cvf-rst-kind span { font-family: "Geist", system-ui, sans-serif; text-transform: none; letter-spacing: 0; color: var(--muted, #5c626c); font-weight: 500; }
body.cvf-edit .cvf-rst-intro-t { font-weight: 600; margin: 0 0 .2rem; }
body.cvf-edit .cvf-rst-empty-t { font-family: var(--cvf-head-font, Georgia, serif) !important; font-size: 1.5rem !important; }
body.cvf-edit .resume-section h3.cvf-rst-title { font-family: var(--cvf-head-font, Georgia, serif) !important; font-size: 1.35rem !important; font-weight: 400 !important; line-height: 1.25; }
body.cvf-edit .cvf-delmodal .modal-title, body .cvf-delmodal h5.modal-title { font-family: var(--cvf-head-font, Georgia, serif) !important; font-size: 1.55rem !important; font-weight: 400 !important; line-height: 1.2; }
body.cvf-edit .resume-section .cvf-del-note b, body.cvf-edit .resume-section .cvf-rst-intro b { font-size: inherit !important; }
@media (max-width: 575.98px) { .cvf-del-go { width: 100%; } }
