/* CV Mojo app (v2 preview): AI tools. Cover letter, interview prep and the ATS checker (tl-).
   Builds on the .tool toolkit in app.css. */

.tl a:focus-visible, .tl select:focus-visible, .tl-pick:focus-visible, .tl-item-main:focus-visible, .tl .ap-seg button:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; }
.tl [tabindex="-1"]:focus { outline: none; }

/* Header ------------------------------------------------------------------- */
.tl .ap-kicker .tool-ic { margin-bottom: 8px; }
.tl-cost { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.tl-cost-out { color: #b42318; background: #fdecea; }
.tl-cost-out svg { color: #b42318; }
.tl-upgrade { font-size: 14px; font-weight: 700; }

/* Layout: form on the left, output on the right; results take the full width. */
.tl-col { display: grid; gap: 20px; align-content: start; min-width: 0; }
.tl-extra { display: grid; gap: 20px; }
.tl-tool.is-full { grid-template-columns: minmax(0, 1fr); }
.tl-tool.is-full > .tool-input, .tl-tool.is-full .tl-extra { display: none; }
.tl-tool.is-full .tool-out { min-height: 0; }
.tl-form { display: grid; gap: 16px; }
.tl-form .ap-field + .ap-field { margin-top: 0; }
.tl-row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tl-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.tl-fieldset legend { margin: 0 0 8px; padding: 0; }
.tl-small { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.tl-hint { display: inline-flex; align-items: center; gap: 6px; }
.tl-hint svg { flex: none; color: var(--indigo); }

/* The CV in use */
.tl-change { flex: none; }
.tl-change-select { max-width: 132px; min-height: 34px; padding: 5px 30px 5px 12px; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--indigo); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2327349f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 11px center; border: 1.5px solid #cfd2e6; border-radius: 999px; cursor: pointer; -webkit-appearance: none; appearance: none; }
.tl-change-select:hover { border-color: var(--indigo); }
.tl-change-select:disabled { opacity: .55; cursor: default; }

/* Notes and the job description counter */
.tl-note { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 12px 14px; font-size: 14px; line-height: 1.5; color: var(--navy); background: var(--channel-soft); border-radius: 12px; }
.tl-note svg { flex: none; margin-top: 2px; color: var(--indigo); }
.tl-note--yellow { background: var(--yellow-soft); }
.tl-count { white-space: nowrap; }
.tl-count.is-short { font-weight: 700; color: var(--amber); }

/* Saved jobs */
.tl-jobs { display: grid; gap: 8px; }
.tl-jobs[hidden] { display: none; }
.tl-job { max-width: 100%; padding: 7px 12px; line-height: 1.35; text-align: left; white-space: normal; }
.tl-job > svg { flex: none; color: var(--indigo); }
.tl-job b { font-weight: 700; }
.tl-job span span { font-weight: 500; color: var(--muted); }
.tl-job[aria-pressed="true"] > svg, .tl-job[aria-pressed="true"] span span { color: #d7dbf5; }
.tl-job[aria-busy="true"] { opacity: .6; cursor: progress; }

/* Writing style cards */
.tl-styles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tl-style { position: relative; display: block; cursor: pointer; }
.tl-style input { position: absolute; opacity: 0; pointer-events: none; }
.tl-style-body { position: relative; display: grid; gap: 2px; height: 100%; padding: 10px 12px; background: #fff; border: 2px solid var(--line); border-radius: 14px; transition: border-color .15s ease, background-color .15s ease; }
.tl-style-body b { font-size: 14.5px; color: var(--navy); }
.tl-style-body span { font-size: 13px; color: var(--muted); }
.tl-style:hover .tl-style-body { border-color: var(--navy); }
.tl-style input:checked + .tl-style-body { background: var(--yellow-soft); border-color: var(--navy); }
.tl-style input:checked + .tl-style-body::after { content: ''; position: absolute; top: 10px; right: 10px; width: 10px; height: 10px; background: var(--navy); border-radius: 50%; box-shadow: 0 0 0 3px var(--yellow); }
.tl-style input:focus-visible + .tl-style-body { outline: 3px solid var(--indigo); outline-offset: 2px; }

.tl-seg { justify-self: start; }

/* Output states */
.tl .tool-idle .tl-ic--cyan { background: var(--cyan); }
.tl .tool-idle .tl-ic--channel { background: var(--channel); }
.tl .tool-idle .tl-ic--err { color: #fff; background: #e5484d; }
.tl-failed { border-style: solid; border-color: #f6c4c4; }
.tl-res-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-width: 0; }
.tl-res-head h2 { margin: 0; font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.tl-res-head p { flex-basis: 100%; margin: 0; font-size: 14px; color: var(--muted); }
.tl-panel { padding: 22px; }
.tl-panel .db-card-h { margin-bottom: 12px; }
.tl-acc--yellow { --accent: var(--yellow); }
.tl-acc--cyan { --accent: var(--cyan); }
.tl-acc--channel { --accent: var(--channel); }
.tl-acc--ok { --accent: var(--ok); }
.tl-acc--warn { --accent: #e0a800; }
.tl-acc--low { --accent: #e5484d; }
.tl-sub { margin: 16px 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tl-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tl-tag { padding: 4px 10px; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--navy); background: var(--mist); border-radius: 999px; }
.tl-tag--ok { color: #1d6b45; background: var(--ok-soft); }
.tl-tag--need { color: var(--amber); background: var(--amber-soft); }
.tl-ticks { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tl-ticks li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.5; }
.tl-ticks svg { flex: none; margin-top: 2px; color: var(--ok); }
.tl-ticks--warn svg { color: #b42318; }

/* Saved letters and sessions */
.tl-list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.tl-item { display: flex; align-items: center; gap: 4px; min-height: 58px; }
.tl-item-main { flex: 1; min-width: 0; font: inherit; text-align: left; background: none; border: 0; }
.tl-item-main > svg { flex: none; color: var(--muted); }
.tl-item-ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; color: var(--navy); background: var(--yellow-soft); border-radius: 12px; }
.tl-item-ic--cyan { background: var(--cyan-soft); }
.tl-del:hover { color: #b42318; background: #fdecea; }
.tl-del:disabled { opacity: .45; cursor: default; }
.tl-confirm { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; width: 100%; padding: 10px 12px; font-size: 14px; font-weight: 600; color: var(--navy); background: #fdecea; border-radius: 14px; }
.tl-confirm-btns { display: flex; gap: 8px; }
.tl-confirm .btn { min-height: 36px; padding: 6px 14px; font-size: 13.5px; }
.btn.tl-btn-danger { color: #fff; background: #b42318; border-color: #b42318; box-shadow: none; }
.btn.tl-btn-danger:hover { color: #fff; background: #8f1c13; }

/* Cover letter result */
.tl-letter-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.tl-letter-grid.is-solo { grid-template-columns: minmax(0, 1fr); }
.tl-letter { display: grid; gap: 14px; min-width: 0; }
.tl-aside { display: grid; gap: 16px; }
.tl-pane { display: grid; gap: 10px; }
.tl-pane[hidden] { display: none; }
textarea.tl-editor { display: block; width: 100%; min-height: 560px; font: inherit; font-size: 15.5px; line-height: 1.75; color: var(--text); border: 0; resize: vertical; }
textarea.tl-editor:focus { outline: 3px solid rgba(39, 52, 159, .2); }
.tl-draft { overflow-wrap: anywhere; }
.tl-ph { padding: 1px 8px; font-size: .92em; font-weight: 600; color: var(--amber); background: var(--amber-soft); border-radius: 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.tl-ph svg { margin-right: 4px; vertical-align: -2px; }
.tl-doc-bar { padding-top: 4px; }
.tl-save-state { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.tl-save-state.is-ok { color: #1d6b45; }
.tl-save-state.is-err { color: #b42318; }
.tl-tips { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.tl-tips li { display: grid; gap: 2px; font-size: 14px; line-height: 1.55; }
.tl-tips b { color: var(--navy); }
.tl-check-n { font-size: 13px; color: var(--navy); white-space: nowrap; }
.tl-checks { display: grid; gap: 2px; margin: 12px 0 0; padding: 0; list-style: none; }
.tl-check { display: flex; align-items: flex-start; gap: 10px; padding: 6px 4px; font-size: 14px; line-height: 1.5; border-radius: 8px; cursor: pointer; }
.tl-check:hover { background: var(--mist); }
.tl-check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--indigo); cursor: pointer; }
.tl-check input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(93, 97, 128, .5); }
.tl-ready { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 14px; font-weight: 700; color: #1d6b45; }
.tl-ready svg { color: var(--ok); }
.tl-ready[hidden] { display: none; }
/* The help beside the letter: one card, a tab per part (Checklist, Tips, Job match). On wide screens it
   stays in view while the letter scrolls and scrolls inside itself if it's taller than the window. */
.tl-side { display: flex; flex-direction: column; gap: 14px; }
.tl-side .ap-tabs { width: 100%; }
.tl-side .ap-tab { flex: 1 1 auto; justify-content: center; padding: 8px 10px; }
.tl-side-pane[hidden] { display: none; }
.tl-side-pane > .tl-sub:first-child { margin-top: 0; }
.tl-side-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.tl-side-h h3 { margin: 0; font-size: 15px; font-weight: 800; color: var(--navy); }
@media (min-width: 1181px) {
  /* The app's <main class="ambient-wrap"> hides overflow, which stops anything inside it sticking (as app-resign.css). */
  body:has(.tl-letter-grid) .ambient-wrap { overflow: clip; }
  .tl-aside { position: sticky; top: 88px; }
  .tl-side { max-height: calc(100vh - 112px); }
  .tl-side-body { min-height: 0; margin-right: -10px; padding-right: 10px; overflow-y: auto; overscroll-behavior: contain; }
}

/* Interview practice */
.tl-qbar { margin-top: -6px; }
.tl-qbar i { background: var(--cyan); box-shadow: inset 0 0 0 1px rgba(25, 29, 59, .12); }
.tl-q { padding: 32px; }
.tl-q-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.tl-q-text { margin: 0 0 18px; font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.32; color: var(--navy); }
/* CVC.speak highlights the current word with inline styles; recolour it to the brand. */
.tl-q-text .tts-word[style*="color: white"] { color: var(--navy) !important; background: var(--yellow) !important; }
.btn.tl-read { min-height: 38px; padding: 7px 14px; font-size: 14px; }
.btn.tl-read.is-on { color: #fff; background: var(--navy); border-color: var(--navy); }
.tl-why { margin-top: 22px; padding: 14px 16px; background: var(--mist); border-radius: 14px; }
.tl-why h3, .tl-coach-block h3 { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tl-why p, .tl-coach-block p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.6; }
.tl-why p:last-child, .tl-coach-block p:last-child { margin-bottom: 0; }
.tl-reveal { display: grid; justify-items: center; gap: 8px; margin-top: 22px; padding-top: 20px; text-align: center; border-top: 1px dashed var(--line); }
.tl-reveal[hidden], .tl-coach[hidden] { display: none; }
.tl-reveal .ap-hint { margin: 0; }
.tl-coach { display: grid; gap: 12px; margin-top: 22px; animation: db-in .35s ease both; }
.tl-coach-block { padding: 14px 16px; background: var(--cyan-soft); border-left: 4px solid var(--cyan); border-radius: 0 14px 14px 0; }
.tl-coach-block h3 { color: var(--navy); }
.tl-coach-block h3 svg { color: var(--indigo); }
.tl-coach-block--plain { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--ok); }
.tl-coach-block--sample { background: var(--paper); border-left-color: var(--yellow); }
.tl-q-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.tl-finish { display: grid; justify-items: center; gap: 14px; padding: 44px 28px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 30px 60px rgba(25, 29, 59, .1); animation: db-in .45s ease both; }
.tl-finish-ic { display: grid; place-items: center; width: 72px; height: 72px; color: #fff; background: var(--ok); border-radius: 50%; box-shadow: 0 0 0 10px var(--ok-soft); }
.tl-finish h2 { margin: 8px 0 0; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
.tl-finish .ap-sub { margin: 0; }
.tl-finish-actions { justify-content: center; }

/* ATS results */
.tl-cached { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 16px; color: var(--navy); background: var(--channel-soft); border-radius: 14px; }
.tl-cached > svg { flex: none; color: var(--indigo); }
.tl-cached p { flex: 1; min-width: 220px; margin: 0; font-size: 14px; line-height: 1.5; }
.tl-cached .btn { min-height: 38px; padding: 7px 14px; font-size: 14px; }
.tl-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.tl-hero .cvm-ring--md { width: 124px; height: 124px; }
.tl-hero .cvm-ring--md b { font-size: 36px; }
.tl-hero-text { flex: 1; min-width: 220px; }
.tl-hero-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tl-hero-kicker .cvm-status { letter-spacing: 0; text-transform: none; }
.tl-hero h3 { margin: 0 0 8px; font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.tl-sum { max-width: 70ch; margin: 0; font-size: 15px; line-height: 1.6; }
.tl-fixes { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: tlfix; }
.tl-fixes li { position: relative; padding: 12px 14px 12px 52px; font-size: 14.5px; line-height: 1.55; background: var(--yellow-soft); border-radius: 14px; counter-increment: tlfix; }
.tl-fixes li::before { content: counter(tlfix); position: absolute; left: 13px; top: 10px; display: grid; place-items: center; width: 28px; height: 28px; font-size: 13px; font-weight: 800; color: var(--navy); background: var(--yellow); border-radius: 9px; transform: rotate(-4deg); }
.tl-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.tl-cat { padding: 22px; }
.tl-cat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.tl-cat-head h3 { flex: 1; margin: 0; font-size: 1.05rem; font-weight: 800; color: var(--navy); }
.tl-cat-ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; color: var(--navy); background: var(--channel-soft); border-radius: 12px; }
.tl-cat-score { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; color: var(--navy); white-space: nowrap; }
.tl-cat-score small { font-size: 12px; font-weight: 600; color: var(--muted); }
.tl-bar--ok i { background: var(--ok); }
.tl-bar--warn i { background: #e0a800; }
.tl-bar--low i { background: #e5484d; }
.tl-cat h4.tl-sub { margin-top: 18px; }
.tl-tip { display: flex; align-items: flex-start; gap: 8px; margin: 16px 0 0; padding: 10px 12px; font-size: 14px; line-height: 1.5; background: var(--yellow-soft); border-radius: 12px; }
.tl-tip svg { flex: none; margin-top: 2px; color: var(--indigo); }
.tl-cat > .tl-small { margin-top: 14px; }
.tl-areas { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.tl-areas li { display: flex; align-items: flex-start; gap: 12px; }
.tl-areas b { display: block; font-size: 14.5px; color: var(--navy); }
.tl-areas li > span:last-child > span { display: block; font-size: 13.5px; color: var(--muted); }

/* No CV chosen yet */
.tl-pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.tl-pick { display: flex; align-items: center; gap: 18px; padding: 18px 20px; font: inherit; text-align: left; color: var(--text); background: #fff; border: 2px solid var(--line); border-radius: 20px; cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; animation: db-in .45s ease both; }
.tl-pick:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: 0 16px 34px rgba(25, 29, 59, .1); }
.tl-pick:hover .cvm-sheet { transform: rotate(0deg); }
.tl-pick .cvm-sheet { flex: none; width: 58px; gap: 4px; padding: 8px 7px; }
.tl-pick .cvm-sheet i { height: 3px; }
.tl-pick-text { display: grid; justify-items: start; gap: 5px; min-width: 0; }
.tl-pick-text b { font-size: 15.5px; color: var(--navy); overflow-wrap: anywhere; }
.tl-pick-text > span:not(.cvm-status) { font-size: 13px; color: var(--muted); }
.tl-pick-text .tl-pick-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 13.5px; font-weight: 700; color: var(--indigo); }

@media (prefers-reduced-motion: reduce) {
  .tl-pick, .tl-finish, .tl-coach { animation: none; }
  .tl-pick, .tl-style-body { transition: none; }
  .tl-pick:hover { transform: none; }
}
/* A sticky form taller than the window would hide its own button, so only stick on tall screens. */
@media (max-height: 1000px) { .tl .tool-input { position: static; } }
@media (max-width: 1180px) {
  .tl-letter-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .tl-cats { grid-template-columns: minmax(0, 1fr); }
  .tl-q { padding: 22px 20px; }
  textarea.tl-editor { min-height: 420px; }
  .tl-finish { padding: 36px 20px; }
}
@media (max-width: 520px) {
  .tl-row2 { grid-template-columns: minmax(0, 1fr); }
  .tl .tool-cv { flex-wrap: wrap; }
  .tl-change { flex-basis: 100%; }
  .tl-change-select { width: 100%; max-width: none; }
  .tl-q-nav .btn { flex: 1; }
  .tl-hero { flex-direction: column; align-items: flex-start; }
  .tl .ap-toolbar .ap-actions { width: 100%; }
  .tl .ap-toolbar .ap-actions .btn { flex: 1 1 auto; }
  .tl-confirm-btns { width: 100%; }
  .tl-confirm-btns .btn { flex: 1; }
}

/* Tools for everyone (2026-10-26) ------------------------------------------------------------------ */
/* Writing without a CV: the CV box says so, with a way to use a CV instead. */
.tool-cv--none { background: var(--yellow-soft); }
.tl-nocv-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; color: var(--navy); background: var(--paper, #fff); border-radius: 12px; transform: rotate(-4deg); }
.tool-cv--none .tool-cv-text span { display: block; line-height: 1.4; }
.tl-addcv { flex: none; }
/* Design picker beside the downloads (letters written without a CV). */
.tl-design { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--navy); }
.tl-design-select { width: auto; min-height: 38px; padding-top: 6px; padding-bottom: 6px; font-size: 14px; }
/* A CV picker for the tools that run on the CV page. */
.ho-pick { display: grid; gap: 12px; }
.ho-pick .ap-section-title, .ho-pick .ap-muted { margin: 0; }
.tl-pick.is-first { border-color: var(--navy); }
.ho-cost { margin: 4px 0 0; }

/* Salary insights */
.sal { display: grid; gap: 20px; }
.sal-hero { padding: 26px; }
.sal-kicker { margin: 0 0 4px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sal-median { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 0 0 18px; }
.sal-median b { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 900; line-height: 1; color: var(--navy); }
.sal-median span { font-size: 14px; color: var(--muted); }
.sal-bar { position: relative; height: 12px; margin: 0 2px; background: linear-gradient(90deg, var(--cyan-soft), var(--yellow-soft)); border-radius: 999px; }
.sal-bar i { position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; background: var(--navy); border: 4px solid var(--paper, #fff); border-radius: 50%; box-shadow: 0 2px 6px rgba(25, 29, 59, .25); }
.sal-ends { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.sal-ends span:last-child { text-align: right; }
.sal-ends b { display: block; font-size: 16px; color: var(--navy); }
.sal-day { display: flex; align-items: flex-start; gap: 8px; margin: 18px 0 0; padding-top: 14px; font-size: 14.5px; line-height: 1.5; color: var(--text); border-top: 2px dashed var(--line); }
.sal-day svg { flex: none; margin-top: 3px; color: var(--navy); }
.sal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.sal-comps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.sal-comps li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.sal-comps li:last-child { border-bottom: 0; }
.sal-comps b { color: var(--navy); white-space: nowrap; }
.sal-note { margin: 0; }

/* Bullet rewriter */
.br { display: grid; gap: 18px; }
.br-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.br-opt { padding: 20px 22px; }
.br-opt-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.br-opt-top b { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.br-copy { min-height: 36px; padding: 6px 14px; font-size: 13.5px; }
.br-text { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.5; color: var(--navy); }
.br-why { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.br-why svg { flex: none; margin-top: 3px; color: var(--ok, #1f9e89); }
.tl-res-head p { overflow-wrap: anywhere; }

/* My signature (page and Settings card) */
.sgm { display: flex; align-items: center; gap: 26px; padding: 26px; }
.sgm[aria-busy="true"] { min-height: 150px; }
.sgm-prev { flex: none; display: grid; place-items: center; width: 260px; max-width: 100%; height: 120px; padding: 12px; background: #fff; border-radius: 16px; box-shadow: inset 0 0 0 2px var(--line); }
.sgm-prev img { display: block; max-width: 100%; max-height: 96px; object-fit: contain; }
.sgm-prev.is-empty { gap: 6px; align-content: center; color: var(--muted); background: var(--mist); box-shadow: inset 0 0 0 2px var(--line); }
.sgm-none { display: grid; place-items: center; color: var(--navy); }
.sgm-none-t { font-size: 14px; font-weight: 700; }
.sgm-text { display: grid; flex: 1; gap: 10px; min-width: 0; }
.sgm-h { margin: 0; font-size: 1.3rem; font-weight: 800; color: var(--navy); }
.sgm-line { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.sgm-line svg { flex: none; margin-top: 3px; color: var(--navy); }
.sgm-btns[hidden], .sgm-confirm[hidden] { display: none; }
.sgp-uses { margin-top: 22px; }
.sgp-uses-h { margin: 0 0 10px; font-size: 14px; font-weight: 800; color: var(--navy); }
.sgs { margin: 10px 0; }
.sgs .sgm { gap: 20px; padding: 16px 20px; }
.sgs .sgm-prev { width: 180px; height: 80px; }
.sgs .sgm-prev img { max-height: 60px; }
.sgs .sgm-text { gap: 6px; }
.sgs .sgm-h { font-size: .95rem; }
.sgs .sgm-line { font-size: 13.5px; }
.sgs .btn { min-height: 36px; padding: 6px 14px; font-size: 13.5px; }

@media (max-width: 640px) {
  .tool-cv--none { flex-wrap: wrap; }
  .tl-design { width: 100%; }
  .tl-design-select { flex: 1; }
  .sgm, .sgs .sgm { flex-direction: column; align-items: stretch; gap: 18px; padding: 20px; }
  .sgm-prev, .sgs .sgm-prev { width: 100%; }
  .br-opt { padding: 18px; }
  .br-opt-top { flex-wrap: wrap; }
}
.ho-pick .use-line { justify-self: start; text-align: left; }
