/* CVCraft — site styles. Scoped to .cvc-* so the theme is not disturbed. */

.cvc-header {
  border-bottom: 1px solid #e3e7ee;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.cvc-header-in {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cvc-brand {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: #14213d;
  text-decoration: none;
  line-height: 1.1;
}
.cvc-brand span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5a6472;
}
.cvc-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-left: auto;
}
.cvc-nav a {
  color: #14213d;
  text-decoration: none;
  font-size: 14px;
  padding: 7px 10px;
  border-radius: 8px;
}
.cvc-nav a:hover { background: #f4efe6; }
.cvc-nav a[aria-current="page"] {
  background: #0e7c86;
  color: #fff;
}

@media (min-width: 900px) {
  .cvcraft-page .entry-content,
  .cvcraft-page .entry-content > .cvc {
    max-width: 1100px;
  }
  .cvc-gen { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.25fr); }
  .cvcraft-page .wp-block-post-title { margin-bottom: 8px; }
}

@media (max-width: 560px) {
  .cvc-header-in { gap: 8px; padding: 8px 12px; }
  .cvc-nav {
    margin-left: 0;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }
  .cvc-nav a { white-space: nowrap; font-size: 13px; padding: 6px 9px; }
  .cvc-hero p { max-width: 100%; }
  .cvc-grid { grid-template-columns: 1fr; }
}

.cvc {
  --ink: #14213d;
  --muted: #5a6472;
  --line: #e3e7ee;
  --bg: #f7f8fa;
  --accent: #0e7c86;
  --accent-dark: #0a5f67;
  --sand: #f4efe6;
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
}

.cvc-hero {
  padding: 28px 0 8px;
}
.cvc-hero h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.cvc-hero p {
  max-width: 62ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.cvc-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 22px 0 10px;
}
.cvc-toolbar input[type="search"],
.cvc-toolbar input#cvc-search {
  flex: 1 1 240px;
  min-width: 200px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  background: #fff;
  color: var(--ink);
}
.cvc-toolbar input:focus {
  outline: 2px solid rgba(14, 124, 134, 0.35);
  outline-offset: 1px;
}

.cvc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cvc-f {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 13px;
  cursor: pointer;
  transition: 0.15s ease;
}
.cvc-f:hover { border-color: var(--accent); color: var(--accent); }
.cvc-f.on {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.cvc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin: 18px 0 10px;
}

.cvc-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.cvc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(20, 33, 61, 0.1);
  border-color: #c9d2e0;
}

.cvc-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 210 / 297;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.cvc-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: top left;
  border: 0;
  pointer-events: none;
}

.cvc-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  padding: 10px 12px 12px;
}
.cvc-code {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--accent-dark);
  background: #eef7f7;
  border-radius: 4px;
  padding: 2px 6px;
  font-weight: 600;
}
.cvc-role {
  font-size: 14px;
  font-weight: 600;
  width: 100%;
  line-height: 1.3;
}
.cvc-sub {
  font-size: 12px;
  color: var(--muted);
}
.cvc-hint {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}
.cvc-err {
  color: #b42318;
  background: #fef3f2;
  border: 1px solid #fdd;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
}

/* ----- generator ----- */
.cvc-gen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 26px;
  align-items: start;
  margin-top: 18px;
}
@media (max-width: 900px) {
  .cvc-gen { grid-template-columns: 1fr; }
}

.cvc-genform {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 18px 22px;
}
.cvc-sec {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  font-weight: 700;
  margin: 18px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.cvc-sec:first-child { margin-top: 0; }

.cvc-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}
.cvc-genform label {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 4px;
}
.cvc-genform input,
.cvc-genform textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
}
.cvc-genform input:focus,
.cvc-genform textarea:focus {
  outline: 2px solid rgba(14, 124, 134, 0.35);
  outline-offset: 1px;
  border-color: var(--accent);
}
.cvc-genform textarea { resize: vertical; }

.cvc-field { margin-bottom: 12px; }
.cvc-entry {
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
  background: #fbfcfd;
}
.cvc-entry .cvc-row { margin-bottom: 10px; }
.cvc-del {
  border: 0;
  background: none;
  color: #b42318;
  font-size: 12.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 24px;
  padding: 6px 10px;
}
.cvc-add {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--accent-dark);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  cursor: pointer;
}
.cvc-add:hover { border-color: var(--accent); }
.cvc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.btn-docx,
.cvc-upload button {
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.btn-docx:hover,
.cvc-upload button:hover { background: var(--accent-dark); }
.btn-html {
  background: #fff;
  color: var(--accent-dark);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 15px;
  cursor: pointer;
}
.btn-html:hover { border-color: var(--accent); }
.cvc-clear {
  background: transparent;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  cursor: pointer;
}
.cvc-clear:hover { border-color: var(--accent); color: var(--accent-dark); }

/* sticky A4 preview */
.cvc-prevwrap {
  position: sticky;
  top: 16px;
}
.cvc-prevbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.cvc-tplname {
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 0.04em;
}
.cvc-prevbox {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(20, 33, 61, 0.08);
}
.cvc-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 794px;
  height: 1123px;
  border: 0;
  transform-origin: top left;
  background: #fff;
}
.cvc-status { font-size: 12px; color: var(--muted); }

/* ----- upload ----- */
.cvc-upload {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  max-width: 720px;
}
.cvc-upload p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.cvc-upload input[type="file"] {
  display: block;
  width: 100%;
  padding: 16px;
  border: 2px dashed var(--line);
  border-radius: 12px;
  background: #fbfcfd;
  margin: 14px 0;
  font-size: 14px;
  cursor: pointer;
}
.cvc-upload input[type="file"]:hover { border-color: var(--accent); }
.cvc-report { margin-top: 18px; }
.cvc-report h3 { margin: 0 0 6px; font-size: 18px; }
.cvc-report ul { list-style: none; margin: 12px 0; padding: 0; }
.cvc-report li {
  padding: 9px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
  background: var(--bg);
  border-left: 3px solid var(--line);
}
.cvc-report li.ok { border-left-color: #0e7c86; background: #f2fafa; }
.cvc-report li.no { border-left-color: #b42318; background: #fdf4f3; }
.cvc-dl { font-size: 14px; }
.cvc-dl a { color: var(--accent-dark); font-weight: 600; }

/* dialog-free note block */
.cvc-note {
  background: var(--sand);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13.5px;
  color: #4b4a44;
  line-height: 1.55;
  margin-top: 14px;
}

/* ============================== landing page ============================== */
.cvc-landing { --lp-teal: #0e7c86; --lp-ink: #10243b; --lp-muted: #5b6675; --lp-line: #e4e9f0; }

.lp-hero {
  position: relative;
  text-align: center;
  padding: 70px 24px 46px;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(900px 380px at 50% -120px, rgba(14, 124, 134, 0.13), rgba(14, 124, 134, 0) 70%),
    linear-gradient(180deg, #f3f9f9 0%, #ffffff 92%);
  border: 1px solid #e6f0f0;
}
.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--lp-teal);
  background: #eaf6f6;
  border: 1px solid #d3eaea;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.lp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lp-teal); }
.lp-hero h1 {
  margin: 0 auto;
  max-width: 15ch;
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--lp-ink);
}
.lp-sub {
  margin: 18px auto 0;
  max-width: 60ch;
  font-size: clamp(16px, 1.6vw, 18.5px);
  line-height: 1.6;
  color: var(--lp-muted);
}
.lp-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.lp-primary {
  background: var(--lp-teal);
  color: #fff;
  box-shadow: 0 10px 24px rgba(14, 124, 134, 0.28);
}
.lp-primary:hover { background: #0b6a72; transform: translateY(-1px); }
.lp-ghost {
  background: #fff;
  color: var(--lp-ink);
  border: 1px solid var(--lp-line);
}
.lp-ghost:hover { border-color: var(--lp-teal); color: var(--lp-teal); }
.lp-trust {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 0;
  margin: 26px 0 0;
  font-size: 13.5px;
  color: var(--lp-muted);
}
.lp-trust li { position: relative; padding-left: 18px; }
.lp-trust li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #dff2f2 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%230e7c86' d='M6.4 11.3 3.7 8.6l1.2-1.2 1.5 1.5 4.7-4.7 1.2 1.2z'/></svg>") center/10px no-repeat;
}

.lp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 26px 0 8px;
}
.lp-stat {
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: 16px;
  padding: 22px 16px;
  text-align: center;
}
.lp-stat b { display: block; font-size: 30px; font-weight: 800; color: var(--lp-teal); letter-spacing: -0.02em; }
.lp-stat span { display: block; margin-top: 4px; font-size: 13px; color: var(--lp-muted); }

.lp-block { padding: 44px 0 6px; }
.lp-head { text-align: center; max-width: 56ch; margin: 0 auto 26px; }
.lp-head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--lp-ink);
}
.lp-head p { margin: 10px 0 0; color: var(--lp-muted); font-size: 16px; line-height: 1.55; }
.lp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.lp-features { grid-template-columns: repeat(4, 1fr); }
.lp-card {
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: 16px;
  padding: 24px 20px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.lp-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(16, 36, 59, 0.09); border-color: #cfd9e4; }
.lp-card svg { color: var(--lp-teal); margin-bottom: 12px; }
.lp-num {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: #eaf6f6;
  color: var(--lp-teal);
  font-weight: 800;
  margin-bottom: 14px;
}
.lp-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; color: var(--lp-ink); }
.lp-card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--lp-muted); }

.lp-galleryblock .cvc-toolbar { margin-top: 0; }

@media (max-width: 980px) {
  .lp-features { grid-template-columns: repeat(2, 1fr); }
  .lp-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .lp-hero { padding: 48px 18px 36px; border-radius: 20px; }
  .lp-cards { grid-template-columns: 1fr; }
  .lp-features { grid-template-columns: 1fr; }
  .lp-btn { width: 100%; max-width: 320px; }
  .lp-block { padding: 34px 0 4px; }
}

/* ============================== pricing page ============================== */
.cvc-pricing { --pc-teal: #0e7c86; --pc-ink: #10243b; --pc-muted: #5b6675; --pc-line: #e4e9f0; }
.pc-hero { text-align: center; padding: 56px 16px 34px; }
.pc-hero h1 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--pc-ink);
}
.pc-hero p { margin: 14px auto 0; max-width: 58ch; color: var(--pc-muted); font-size: 17px; line-height: 1.6; }

.pc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.pc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--pc-line);
  border-radius: 18px;
  padding: 30px 26px 26px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.pc-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(16, 36, 59, 0.1); }
.pc-featured {
  border: 2px solid var(--pc-teal);
  box-shadow: 0 18px 40px rgba(14, 124, 134, 0.18);
}
.pc-ribbon {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--pc-teal);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.pc-name { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--pc-teal); }
.pc-price { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 6px; }
.pc-price b { font-size: 42px; font-weight: 800; color: var(--pc-ink); letter-spacing: -0.03em; }
.pc-price span { font-size: 14px; color: var(--pc-muted); }
.pc-desc { margin: 0 0 16px; font-size: 14px; color: var(--pc-muted); line-height: 1.55; }
.pc-card ul { list-style: none; margin: 0 0 22px; padding: 14px 0 0; border-top: 1px solid var(--pc-line); flex: 1; }
.pc-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--pc-ink);
  padding: 7px 0;
}
.pc-card li svg { color: var(--pc-teal); flex: 0 0 auto; margin-top: 3px; }
.pc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 18px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  background: var(--pc-teal);
  color: #fff;
  border: 0;
  cursor: pointer;
}
.pc-btn:hover { background: #0b6a72; }
.pc-btn:disabled { background: #9fb4b6; cursor: default; }
.pc-btn-ghost { background: #fff; color: var(--pc-teal); border: 1px solid var(--pc-line); }
.pc-btn-ghost:hover { border-color: var(--pc-teal); background: #f4faf9; }
.pc-footnote { text-align: center; margin: 28px 0 0; font-size: 13.5px; color: var(--pc-muted); }

@media (max-width: 900px) {
  .pc-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

/* ============================== account links ============================== */
.cvc-account {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cvc-account a {
  color: #14213d;
  text-decoration: none;
  font-size: 14px;
  padding: 7px 11px;
  border-radius: 8px;
  white-space: nowrap;
}
.cvc-account a:hover { background: #f4efe6; }
.cvc-account .cvc-register {
  background: #0e7c86;
  color: #fff;
  font-weight: 600;
}
.cvc-account .cvc-register:hover { background: #0a5f67; }

/* ============================== save bar ============================== */
.cvc-savebar {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.cvc-savebar .cvc-field { flex: 1 1 220px; margin-bottom: 0; }
.btn-save {
  background: #14213d;
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.btn-save:hover { background: #1d335c; }
.btn-save:disabled { background: #7c8aa3; cursor: default; }
.cvc-savestatus {
  font-size: 13.5px;
  margin: 10px 0 0;
  min-height: 18px;
}
.cvc-savestatus.mc-ok { color: #0a5f67; }
.cvc-savestatus.mc-err { color: #b42318; }
.cvc-versions { margin-top: 10px; max-width: 360px; }
.cvc-versions label { font-size: 12.5px; color: var(--muted); }
.cvc-versions select {
  width: 100%;
  margin-top: 4px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  color: var(--ink);
}

/* ============================== My CVs dashboard ============================== */
.cvc-mycvs { margin-top: 10px; }
.mc-list { display: flex; flex-direction: column; gap: 12px; margin: 18px 0; }
.mc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}
.mc-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mc-info b { font-size: 16px; }
.mc-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.mc-btns { display: flex; align-items: center; gap: 8px; }
.mc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 9px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.mc-btn:hover { background: var(--accent-dark); }
.mc-btn-ghost {
  background: #fff;
  color: var(--accent-dark);
  border: 1px solid var(--line);
}
.mc-btn-ghost:hover { border-color: var(--accent); background: #f4faf9; }
.mc-del {
  background: none;
  border: 1px solid #f3c7c2;
  color: #b42318;
  border-radius: 9px;
  padding: 9px 14px;
  font-size: 14px;
  cursor: pointer;
}
.mc-del:hover { background: #fdf4f3; }
.mc-login {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
}
.mc-login p { margin: 0; color: var(--muted); font-size: 15px; }

@media (max-width: 560px) {
  .cvc-account { width: 100%; justify-content: flex-end; }
  .cvc-savebar { align-items: stretch; }
  .btn-save { width: 100%; }
  .mc-row { flex-direction: column; align-items: stretch; }
  .mc-btns { justify-content: flex-end; }
  .cvc-del { min-height: 36px; min-width: 64px; }
}

/* ---- AI score report ---- */
.ai-report {
  background: #fff;
  border: 1px solid #e4e9f0;
  border-radius: 16px;
  padding: 26px;
  margin: 18px 0;
}
.ai-head { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.ai-score {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(#0e7c86 var(--pct, 0%), #e9eef3 0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  position: relative;
}
.ai-score::before {
  content: "";
  position: absolute;
  inset: 9px;
  background: #fff;
  border-radius: 50%;
}
.ai-num { font-size: 30px; font-weight: 800; color: #14213d; position: relative; line-height: 1; }
.ai-max { font-size: 13px; color: #5b6675; position: relative; }
.ai-score label { font-size: 11px; color: #5b6675; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 3px; position: relative; }
.ai-bars { flex: 1 1 260px; display: flex; flex-direction: column; gap: 10px; min-width: 240px; }
.ai-bar-top { display: flex; justify-content: space-between; font-size: 13px; color: #334155; margin-bottom: 4px; }
.ai-bar-top b { color: #14213d; }
.ai-track { height: 8px; background: #edf1f5; border-radius: 99px; overflow: hidden; }
.ai-track i { display: block; height: 100%; background: #0e7c86; border-radius: 99px; }
.ai-summary { color: #334155; font-size: 15px; margin: 18px 0 0; line-height: 1.55; }
.ai-strengths h4, .ai-suggestions h4 { font-size: 15px; color: #14213d; margin: 22px 0 10px; }
.ai-strengths ul { margin: 0; padding-left: 18px; color: #334155; font-size: 14px; display: flex; flex-direction: column; gap: 6px; }
.ai-sug {
  display: flex;
  gap: 12px;
  border: 1px solid #e4e9f0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.ai-tag {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  height: fit-content;
  padding: 4px 9px;
  border-radius: 99px;
  color: #fff;
}
.ai-sug.high .ai-tag { background: #b32d2e; }
.ai-sug.medium .ai-tag { background: #b7791f; }
.ai-sug.low .ai-tag { background: #0e7c86; }
.ai-sug b { color: #14213d; font-size: 14px; display: block; margin-bottom: 5px; }
.ai-sug p { margin: 0 0 5px; color: #334155; font-size: 14px; line-height: 1.5; }
.ai-ex { color: #5b6675; font-style: italic; }
.ai-notice {
  background: #fdf6ec;
  border-left: 3px solid #b7791f;
  border-radius: 6px;
  padding: 11px 14px;
  color: #6b4e1f;
  margin: 18px 0 0;
}
.ai-remain { font-size: 13px; color: #5b6675; margin: 14px 0 0; }
.ai-login {
  background: #f2fafa;
  border: 1px solid #cfe6e4;
  border-radius: 16px;
  padding: 26px;
  text-align: center;
  margin: 18px 0;
}
.ai-login h4 { margin: 0 0 8px; color: #14213d; font-size: 17px; }
.ai-login p { margin: 0 0 16px; color: #5b6675; font-size: 14px; }
.ai-login-btn {
  display: inline-block;
  background: #0e7c86;
  color: #fff;
  font-weight: 700;
  border-radius: 9px;
  padding: 10px 22px;
  text-decoration: none;
}
.ai-login-btn:hover { background: #0a5f67; }

@media (max-width: 560px) {
  .ai-report { padding: 18px; }
  .ai-head { gap: 18px; justify-content: center; }
  .ai-sug { flex-direction: column; gap: 8px; }
}


