/* Rozzo: My résumés (one per kind of job, each with its cover letters) and the résumé switcher. Tokens from app.css. */
.rs-count { font-size: 13.5px; font-weight: 800; color: var(--ink-3); white-space: nowrap; }
.rs-list { display: grid; gap: 16px; }
.rs-card { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(230px, 300px); grid-template-areas: "thumb main letters"; background: #fff; border: 2px solid var(--line); border-radius: 22px; box-shadow: 0 3px 0 var(--line); overflow: hidden; min-width: 0; }
.rs-card.active { border-color: var(--lav-line); box-shadow: 0 3px 0 var(--lav-line); }
.rs-thumb { grid-area: thumb; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; width: 100%; padding: 14px 0 0 14px; margin: 0; background: var(--surface-2); border: 0; cursor: pointer; overflow: hidden; }
.rs-thumb [data-paper] { aspect-ratio: 210 / 262; border-radius: 8px 0 0 0; }
.rs-thumb:hover [data-paper] .paper { box-shadow: 0 1px 2px rgba(30,36,66,.1), 0 10px 26px rgba(30,36,66,.14); }
.rs-main { grid-area: main; display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; min-width: 0; }
.rs-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.rs-title { font-size: 19px; font-weight: 900; line-height: 1.25; overflow-wrap: anywhere; margin-right: 4px; }
.rs-top .tag .ic { width: 14px; height: 14px; }
.rs-role { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 36px; padding: 0 12px; border-radius: 999px; background: var(--lav-3); border: 2px solid var(--lav-line); color: var(--lav-ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .15s, transform .08s; }
.rs-role b { font-weight: 900; }
.rs-role span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-role .ic { width: 16px; height: 16px; flex: 0 0 auto; }
.rs-role .ic:last-child { opacity: .55; }
.rs-role:hover { background: var(--lav-2); }
.rs-role:active { transform: translateY(1px); }
.rs-role:focus-visible, .rs-lopen:focus-visible, .rs-new:focus-visible, .rs-switch:focus-visible { outline: 3px solid var(--lav-deep); outline-offset: 2px; }
.rs-score { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); }
.rs-score.empty span { font-size: 13.5px; font-weight: 700; color: var(--ink-3); }
.rs-score .rs-num { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: 0 0 auto; background: var(--green-2); color: var(--green-ink); font-size: 18px; font-weight: 900; }
.rs-score .rs-num.fair { background: var(--mustard-2); color: var(--mustard-ink); }
.rs-score .rs-num.poor { background: #fde8e6; color: #a1281f; }
.rs-score > div > b { display: block; font-size: 14px; font-weight: 900; }
.rs-score > div > span { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); line-height: 1.4; }
.rs-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rs-acts .spacer { flex: 1 1 auto; }
.rs-meta { font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.rs-letters { grid-area: letters; display: flex; flex-direction: column; gap: 8px; padding: 16px; background: var(--surface-2); border-left: 2px solid var(--line); min-width: 0; }
.rs-lh { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.rs-lh .ic { width: 18px; height: 18px; color: var(--ink-3); }
.rs-ln { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; display: inline-grid; place-items: center; background: #fff; border: 2px solid var(--line); font-size: 12px; font-weight: 900; }
.rs-letter { display: flex; align-items: center; gap: 2px; padding: 2px 2px 2px 0; background: #fff; border: 2px solid var(--line); border-radius: 12px; min-width: 0; }
.rs-lopen { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 6px 10px; border: 0; border-radius: 10px; background: none; font: inherit; text-align: left; cursor: pointer; color: var(--ink); }
.rs-lopen b { max-width: 100%; font-size: 13.5px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-lopen small { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.rs-lopen:hover b { text-decoration: underline; text-underline-offset: 3px; }
.rs-lnone { font-size: 13px; font-weight: 700; color: var(--ink-3); line-height: 1.45; }
.rs-lnew { align-self: flex-start; margin-top: auto; }
.rs-new { display: flex; align-items: center; gap: 16px; width: 100%; padding: 18px 20px; border: 2px dashed var(--line-2); border-radius: 22px; background: var(--surface-2); font: inherit; color: var(--ink); text-align: left; cursor: pointer; transition: background .15s, border-color .15s; }
.rs-new b { display: block; font-size: 16px; font-weight: 900; }
.rs-new > span:last-child > span { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 700; color: var(--ink-3); }
.rs-new:hover { background: var(--green-2); border-color: var(--green-line); }
.rs-full { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); font-size: 14px; font-weight: 700; color: var(--ink-2); line-height: 1.45; }
.rs-full .ic { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; color: var(--ink-3); }
.rs-other { display: grid; gap: 8px; max-width: 560px; margin-top: 24px; }
.rs-other h2 { font-size: 17px; font-weight: 900; }
.rs-for { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--lav-3); color: var(--lav-ink); font-size: 14px; font-weight: 700; line-height: 1.45; }
.rs-for .ic { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; }
.rs-card.skel { min-height: 200px; }
.rs-card.skel .rs-thumb { background: var(--surface-3); animation: skel 1.1s ease-in-out infinite alternate; }
.rs-card.skel i { display: block; height: 12px; border-radius: 6px; background: var(--surface-3); animation: skel 1.1s ease-in-out infinite alternate; }
.rs-card.skel i:nth-child(1) { width: 55%; height: 16px; } .rs-card.skel i:nth-child(2) { width: 35%; } .rs-card.skel i:nth-child(3) { width: 70%; }

/* the résumé you're working on (Home, the editor, Jobs) */
.rs-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; min-width: 0; }
.rs-switch { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; min-width: 0; padding: 5px 12px 5px 5px; border-radius: 16px; background: #fff; border: 2px solid var(--line); box-shadow: 0 3px 0 var(--line); font: inherit; color: var(--ink); text-align: left; cursor: pointer; transition: border-color .15s, transform .08s, box-shadow .08s; }
.rs-switch:hover { border-color: var(--line-3); }
.rs-switch:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--line); }
.rs-sw-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: 0 0 auto; background: var(--lav-2); color: var(--lav-ink); }
.rs-sw-ic .ic { width: 18px; height: 18px; }
.rs-sw-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.rs-sw-t small { font-size: 11px; font-weight: 900; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.rs-sw-t b { font-size: 14.5px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rs-sw-t em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rs-sw-chev { display: inline-flex; flex: 0 0 auto; }
.rs-sw-chev .ic { width: 18px; height: 18px; color: var(--ink-3); }
.rz-menu [role=menuitem] > span { min-width: 0; }
.rz-menu [role=menuitem] small { display: block; margin-top: 1px; font-size: 12px; font-weight: 700; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rz-menu [role=menuitem].on, .rz-menu [role=menuitem].on .ic { color: var(--green-ink); }

@media (max-width: 980px) {
  .rs-card { grid-template-columns: 132px minmax(0, 1fr); grid-template-areas: "thumb main" "letters letters"; }
  .rs-letters { border-left: 0; border-top: 2px solid var(--line); }
}
@media (max-width: 600px) {
  .rs-card { grid-template-columns: 88px minmax(0, 1fr); border-radius: 18px; }
  .rs-thumb { padding: 10px 0 0 10px; }
  .rs-main { padding: 12px 12px 14px; gap: 9px; }
  .rs-title { font-size: 16.5px; }
  .rs-role { font-size: 13px; }
  .rs-score { padding: 8px 10px; gap: 10px; }
  .rs-score .rs-num { width: 40px; height: 40px; font-size: 16px; border-radius: 12px; }
  .rs-acts .btn-primary { flex: 1 1 100%; justify-content: center; }
  .rs-letters { padding: 12px; }
  .rs-new { padding: 14px; border-radius: 18px; }
  .rs-switch { width: 100%; }
  .rs-sw-t { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { .rs-role, .rs-new, .rs-switch { transition: none; } .rs-card.skel .rs-thumb, .rs-card.skel i { animation: none; } }
.ap-copy label.off { opacity: .55; }
.jb-match { justify-content: space-between; } .jb-match .jb-note { margin: 0; }
.plan-gain.aim { background: var(--lav-2); color: var(--lav-ink); font-size: 13px; }

/* Drafts: everything started and not finished */
.df-list { display: grid; gap: 12px; max-width: 860px; }
.df-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #fff; border: 2px solid var(--line); border-radius: 18px; box-shadow: 0 3px 0 var(--line); min-width: 0; }
.df-item.warn { border-color: var(--mustard-line); box-shadow: 0 3px 0 var(--mustard-line); background: #fffaf2; }
.df-item.skel { height: 78px; background: var(--surface-2); box-shadow: none; animation: skel 1.1s ease-in-out infinite alternate; }
.df-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: 0 0 auto; background: var(--lav-2); color: var(--lav-ink); }
.df-item.warn .df-ic { background: var(--mustard-2); color: var(--mustard-ink); }
.df-ic .ic { width: 20px; height: 20px; }
.df-mid { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.df-mid b { font-size: 15.5px; font-weight: 900; overflow-wrap: anywhere; }
.df-mid > span:not(.df-bar) { font-size: 13.5px; font-weight: 700; color: var(--ink-2); line-height: 1.4; }
.df-mid small { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.df-bar { display: block; height: 6px; max-width: 260px; margin: 3px 0 1px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.df-bar i { display: block; height: 100%; border-radius: 3px; background: var(--green); }
.df-acts { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.df-acts .btn .ic { width: 16px; height: 16px; }
.df-empty { display: flex; align-items: center; gap: 20px; max-width: 640px; padding: 22px; background: #fff; border: 2px solid var(--line); border-radius: 22px; box-shadow: 0 3px 0 var(--line); }
.df-empty h2 { font-size: 20px; font-weight: 900; }
.df-empty p { margin: 6px 0 14px; font-size: 14.5px; font-weight: 700; color: var(--ink-2); line-height: 1.5; }
.df-av { width: 96px; height: 96px; border-radius: 26px; flex: 0 0 auto; background: var(--lav-2); }
@media (max-width: 600px) {
  .df-item { flex-wrap: wrap; padding: 12px; }
  .df-acts { width: 100%; justify-content: flex-end; }
  .df-acts .btn-primary, .df-acts .btn-secondary { flex: 1 1 auto; justify-content: center; }
  .df-empty { flex-direction: column; text-align: center; }
  .df-empty .row { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .df-item.skel { animation: none; } }
