/*! supertwentyplus licence: (c) 2026 Supertwentyplus Pte. Ltd. All rights reserved. Proprietary, not open source.
   Use only as provided on supertwentyplus.com (free or by subscription, under its Terms). Copying, reuse or hosting elsewhere,
   in whole or in part, needs a written licence: supertwentyplus@gmail.com. See LICENSE.txt at the site root. */
/* Resume Writer: app interface */
.rw-app { gap: 14px; }
.rw-app [hidden] { display: none !important; }
.rw-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.rw-docs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.rw-docs select { min-height: 38px; max-width: 220px; padding: 0 10px; border: var(--input-border); border-radius: var(--btn-radius); background: var(--surface); color: var(--ink); font-weight: 700; font-size: 14px; }
.rw-mini { display: inline-flex; align-items: center; min-height: 36px; padding: 0 10px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.rw-mini:hover { border-color: var(--ink); }
.rw-danger { color: #B3261E; border-color: #F3C3BA; }
.rw-saved { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.rw-start { padding: 26px 22px; text-align: center; border: 2px dashed var(--ink-3); border-radius: var(--card-radius); background: var(--bg); }
.rw-start p { color: var(--ink-2); max-width: 34em; margin: 6px auto 16px; }
.rw-startbtns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.rw-startbtns .btn { min-height: 48px; }
.rw-h { font-size: 22px; font-weight: 800; margin: 0; }
.rw-tabs { display: none; gap: 4px; padding: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; }
.rw-tab { flex: 1; min-height: 40px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; }
.rw-tab[aria-selected="true"] { background: var(--ink); color: var(--surface); }
.rw-tabscore { display: inline-block; min-width: 26px; padding: 1px 6px; margin-left: 4px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; }
.rw-work { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr); gap: 16px; align-items: start; }
.rw-side { position: sticky; top: calc(var(--stp-head, 0px) + 12px); display: flex; flex-direction: column; gap: 12px; max-height: calc(100vh - 24px - var(--stp-head, 0px)); overflow: auto; padding-bottom: 2px; }
@media (max-width: 979px) {
  .rw-tabs { display: flex; }
  .rw-work { grid-template-columns: minmax(0, 1fr); }
  .rw-side { position: static; max-height: none; overflow: visible; }
  .rw-work[data-view="edit"] .rw-side, .rw-work[data-view="preview"] .rw-editor, .rw-work[data-view="check"] .rw-editor,
  .rw-work[data-view="preview"] .rw-check, .rw-work[data-view="check"] .rw-previewbox { display: none; }
}
/* Editor cards */
.rw-editor { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.rw-card { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.rw-card > summary { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; cursor: pointer; list-style: none; }
.rw-card > summary::-webkit-details-marker { display: none; }
.rw-card > summary::before { content: ''; width: 9px; height: 9px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg); transition: transform .15s; flex-shrink: 0; }
.rw-card[open] > summary::before { transform: rotate(45deg); }
.rw-ct { font-weight: 800; font-size: 16px; flex: 1; }
.rw-show { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.rw-show input, .rw-inline input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }
.rw-cb { padding: 2px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.rw-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.rw-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 12px; }
.rw-f { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.rw-f label, .rw-lbl { font-weight: 700; font-size: 13.5px; }
.rw-f input, .rw-f textarea, .rw-f select { width: 100%; min-height: 44px; padding: 9px 11px; border: var(--input-border); border-radius: var(--btn-radius); background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; box-sizing: border-box; }
.rw-f textarea { resize: vertical; line-height: 1.45; }
.rw-f input:disabled { background: var(--bg); color: var(--ink-2); }
.rw-hint { font-size: 12.5px; color: var(--ink-2); line-height: 1.4; }
.rw-inline { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14px; cursor: pointer; }
.rw-cur { align-self: end; min-height: 44px; }
.rw-item { display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px dashed var(--line); border-radius: 10px; background: var(--bg); }
.rw-item-row { flex-direction: row; align-items: end; }
.rw-item-row .rw-grid2 { flex: 1; }
.rw-itemhead { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rw-itemhead strong { font-size: 14.5px; overflow-wrap: anywhere; }
.rw-itembtns { display: flex; gap: 4px; flex-shrink: 0; }
.rw-ico { width: 34px; height: 34px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 800; cursor: pointer; }
.rw-ico:disabled { opacity: .3; cursor: default; }
.rw-del:hover { background: #FDE4DE; color: #B3261E; border-color: #F3C3BA; }
.rw-add { align-self: flex-start; min-height: 44px; }
.rw-helper { display: flex; flex-direction: column; gap: 6px; }
.rw-count { font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.rw-count.warn { color: #B45309; }
.rw-ideas summary { cursor: pointer; font-weight: 700; font-size: 13.5px; color: var(--accent); min-height: 32px; display: flex; align-items: center; }
.rw-ideas ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rw-starter { width: 100%; text-align: left; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; font-size: 13.5px; cursor: pointer; }
.rw-starter:hover { border-color: var(--ink); }
.rw-verbgroup { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 6px; }
.rw-verbgroup > span { width: 100%; font-size: 12px; font-weight: 800; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; }
.rw-chip { min-height: 32px; padding: 0 10px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.rw-chip:hover { border-color: var(--accent); color: var(--accent); }
.rw-bulletcheck { font-size: 13px; }
.rw-bulletcheck ul { margin: 4px 0 0; padding-left: 18px; color: var(--ink-2); }
.rw-bulletcheck li { margin: 2px 0; }
.rw-q { font-weight: 700; color: var(--ink); }
.rw-bcscore { display: inline-block; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: #FFF1D6; color: #8A5300; }
.rw-bcscore.ok { background: #DDF3E6; color: #1E7B4F; }
/* Design picker */
.rw-tpls { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.rw-tpl { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.rw-tpl input { position: absolute; opacity: 0; pointer-events: none; }
.rw-tplpic { position: relative; width: 100%; aspect-ratio: 3 / 4; border: 2px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.rw-tpl input:checked + .rw-tplpic { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 18%, transparent); }
.rw-tpl input:focus-visible + .rw-tplpic { outline: 3px solid var(--focus, #1E5AA8); outline-offset: 2px; }
.rw-tplpic i { position: absolute; display: block; background: #CBD3E1; border-radius: 2px; }
.rw-tplpic i:nth-child(1) { left: 14%; top: 10%; width: 50%; height: 7%; background: #16233F; }
.rw-tplpic i:nth-child(2) { left: 14%; top: 22%; width: 36%; height: 4%; background: var(--rw-acc, #1E5AA8); }
.rw-tplpic i:nth-child(3) { left: 14%; top: 34%; width: 72%; height: 26%; background: repeating-linear-gradient(#CBD3E1 0 3px, transparent 3px 7px); }
.rw-tplpic i:nth-child(4) { left: 14%; top: 66%; width: 72%; height: 22%; background: repeating-linear-gradient(#CBD3E1 0 3px, transparent 3px 7px); }
.tp-classic i:nth-child(1) { left: 25%; } .tp-classic i:nth-child(2) { left: 32%; background: #8B97B0; }
.tp-sidebar::before { content: ''; position: absolute; inset: 0 66% 0 0; background: var(--rw-acc, #1E5AA8); }
.tp-sidebar i:nth-child(n) { left: 40%; width: 50%; }
.tp-minimal i:nth-child(1) { width: 40%; height: 5%; } .tp-minimal i:nth-child(3), .tp-minimal i:nth-child(4) { left: 38%; width: 50%; }
.tp-bold::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 30%; background: var(--rw-acc, #1E5AA8); }
.tp-bold i:nth-child(1) { background: #fff; } .tp-bold i:nth-child(2) { background: rgba(255,255,255,.7); }
.rw-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rw-swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.rw-sw { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.rw-sw input[type="radio"] { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rw-sw:has(input:checked) { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--ink); }
.rw-sw:has(input:focus-visible) { outline: 3px solid var(--focus, #1E5AA8); outline-offset: 3px; }
.rw-swcustom { background: conic-gradient(#E53935, #FDD835, #43A047, #1E88E5, #8E24AA, #E53935); overflow: hidden; }
.rw-swcustom input { position: absolute; inset: -8px; width: 48px; height: 48px; opacity: 0; cursor: pointer; }
.rw-photo { display: flex; gap: 12px; align-items: center; }
.rw-photo > div:last-child { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.rw-photoprev { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--bg); border: 1px dashed var(--ink-3); display: grid; place-items: center; font-size: 12px; color: var(--ink-2); flex-shrink: 0; }
.rw-photoprev img { width: 100%; height: 100%; object-fit: cover; }
.rw-photobtn { min-height: 40px; }
.rw-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rw-skill { display: inline-flex; align-items: center; gap: 2px; padding: 4px 4px 4px 11px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); font-weight: 700; font-size: 13.5px; }
.rw-skill button { width: 26px; height: 26px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-2); font-size: 16px; cursor: pointer; }
.rw-skill button:hover { background: rgba(0,0,0,.08); color: #B3261E; }
.rw-skilladd { display: flex; gap: 8px; }
.rw-skilladd input { flex: 1; min-width: 0; min-height: 44px; padding: 0 11px; border: var(--input-border); border-radius: var(--btn-radius); font: inherit; font-size: 15px; background: var(--surface); color: var(--ink); }
.rw-skilladd .btn { min-height: 44px; }
.rw-ideas-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
/* Preview */
.rw-previewbox { border: 1px solid var(--line); border-radius: 12px; background: var(--bg); padding: 10px; }
.rw-prevhead { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 14px; }
.rw-prevhead strong { flex: 1; }
.rw-pages { font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.rw-pages.warn { color: #B45309; }
.rw-stage { position: relative; overflow: hidden; width: 100%; min-width: 0; }
.rw-side, .rw-previewbox { min-width: 0; }
.rw-scale { transform-origin: 0 0; }
.rw-scale .rv { box-shadow: 0 4px 18px rgba(22, 35, 63, .16); }
/* Check */
.rw-check { display: grid; grid-template-columns: 64px 1fr; gap: 6px 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); --ring: #E2B41B; }
.rw-check[data-level="great"] { --ring: #2E9B62; } .rw-check[data-level="good"] { --ring: #7BBF4A; } .rw-check[data-level="low"] { --ring: #E8833A; }
.rw-score { position: relative; width: 64px; height: 64px; }
.rw-score svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.rw-ring-bg { fill: none; stroke: var(--line); stroke-width: 3.4; }
.rw-ring { fill: none; stroke: var(--ring); stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray .5s; }
.rw-score span { position: absolute; inset: 0; display: grid; place-items: center; font: 800 20px var(--font-display, inherit); }
.rw-scoretext { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--ink-2); }
.rw-scoretext strong { font-size: 15px; color: var(--ink); }
.rw-tips { grid-column: 1 / -1; list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rw-tips li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; font-size: 13.5px; line-height: 1.4; }
.rw-tips li > span { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.rw-tips li.ok > span { background: #DDF3E6; color: #1E7B4F; }
.rw-tips li.todo > span { background: #FFF1D6; color: #8A5300; }
.rw-tips li.info > span { background: #E3ECFA; color: #1E5AA8; }
.rw-tips li.ok { color: var(--ink-2); }
/* Export */
.rw-export { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 4px; }
.rw-export .btn { min-height: 50px; }
.rw-pro { display: inline-block; font-size: 12px; font-weight: 800; padding: 2px 5px; border-radius: 5px; background: var(--ink); color: var(--surface); margin-left: 4px; vertical-align: 2px; }
.rw-more { position: relative; }
.rw-more > summary { list-style: none; display: inline-flex; align-items: center; min-height: 50px; cursor: pointer; }
.rw-more > summary::-webkit-details-marker { display: none; }
.rw-morebox { position: absolute; bottom: calc(100% + 6px); left: 0; z-index: 5; display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(22,35,63,.18); min-width: 210px; }
.rw-msg { flex-basis: 100%; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.rw-msg:empty { display: none; }
.rw-privacy { margin: 0; }
.rw-modal { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; background: rgba(22, 35, 63, .82); }
.rw-modalbar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--surface); color: var(--ink); }
.rw-modalbar strong { flex: 1; }
.rw-modalpdf { min-height: 42px; }
.rw-close { width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--bg); color: var(--ink); font-size: 26px; cursor: pointer; }
.rw-modalstage { flex: 1; overflow: auto; padding: 20px 16px; }
.rw-modalstage .rw-scale { margin: 0 auto; transform-origin: 50% 0; }
.rw-modalstage .rv { box-shadow: 0 10px 40px rgba(0,0,0,.4); }
@media (max-width: 600px) {
  .rw-grid2, .rw-grid3 { grid-template-columns: 1fr; }
  .rw-tpls { grid-template-columns: repeat(5, minmax(56px, 1fr)); overflow-x: auto; }
  .rw-export .btn { flex: 1 1 calc(50% - 10px); }
  .rw-docs select { max-width: 150px; }
}

/* ---------- The resume itself ---------- */
.rv { --acc: #1E5AA8; --ink-r: #16233F; --soft: #5B6782; --fs: 13.5px; box-sizing: border-box; position: relative; width: 794px; padding: 42px 50px; background: #fff; color: var(--ink-r); font-family: Arial, Helvetica, sans-serif; font-size: var(--fs); line-height: 1.45; text-align: left; overflow: hidden;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--pageh, 1123px) - 1px), rgba(217, 74, 43, .55) calc(var(--pageh, 1123px) - 1px), rgba(217, 74, 43, .55) var(--pageh, 1123px)); }
.rv *, .rv *::before { box-sizing: border-box; }
.rv.font-grotesk { font-family: 'Space Grotesk', Arial, sans-serif; }
.rv.font-serif { font-family: Georgia, 'Times New Roman', serif; }
.rv.font-elegant { font-family: 'EB Garamond', Garamond, 'Times New Roman', serif; --fs: 14.5px; }
.rv.size-compact { --fs: 12.5px; } .rv.size-large { --fs: 14.5px; }
.rv.font-elegant.size-compact { --fs: 13.5px; } .rv.font-elegant.size-large { --fs: 15.5px; }
.rv h2, .rv h3, .rv p, .rv ul { margin: 0; }
.rv-name { font-size: 2.35em; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.rv-title { font-size: 1.2em; color: var(--acc); font-weight: 600; margin-top: 4px; }
.rv-contacts { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; font-size: .92em; color: var(--soft); }
.rv-c { display: inline-flex; align-items: center; gap: 5px; overflow-wrap: anywhere; }
.rv-c i { display: inline-flex; width: 1.05em; height: 1.05em; color: var(--acc); }
.rv-c svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rv-dot { color: var(--acc); }
.rv-photo { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.rv-head { position: relative; }
.rv-body { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.rv-sec h3 { font-size: .86em; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--acc); margin-bottom: 8px; }
.rv-sum { color: var(--ink-r); }
.rv-entry { break-inside: avoid; page-break-inside: avoid; }
.rv-entry + .rv-entry { margin-top: 10px; }
.rv-eh { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rv-role { font-weight: 700; font-size: 1.04em; }
.rv-org { display: block; color: var(--soft); font-size: .95em; }
.rv-date { color: var(--soft); font-size: .9em; white-space: nowrap; flex-shrink: 0; }
.rv-entry ul { margin-top: 5px; padding-left: 1.15em; }
.rv-entry li { margin: 2px 0; padding-left: .15em; }
.rv-entry li::marker { color: var(--acc); }
.rv-det { color: var(--ink-r); margin-top: 3px; }
.rv-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.rv-tags span { padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--acc) 11%, #fff); color: var(--ink-r); font-size: .93em; }
.rv-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.rv-certs li span, .rv-langs li span { color: var(--soft); }
.rv-certs li span::before { content: ' · '; } .rv-langs li { display: flex; justify-content: space-between; gap: 10px; }
/* Modern */
.tpl-modern { border-top: 8px solid var(--acc); }
.tpl-modern .rv-head { display: flex; flex-wrap: wrap; align-items: center; column-gap: 20px; }
.tpl-modern .rv-head .rv-id { flex: 1; min-width: 0; }
.tpl-modern .rv-head .rv-contacts { flex-basis: 100%; padding-top: 12px; border-top: 1px solid #E3E8F2; }
.tpl-modern .rv-sec h3::after { content: ''; display: block; width: 28px; height: 3px; margin-top: 5px; border-radius: 2px; background: var(--acc); }
/* Classic */
.tpl-classic .rv-head { text-align: center; padding-bottom: 14px; border-bottom: 2px solid var(--ink-r); }
.tpl-classic .rv-name { font-size: 2.2em; letter-spacing: .02em; }
.tpl-classic .rv-title { color: var(--soft); font-weight: 500; }
.tpl-classic .rv-contacts { justify-content: center; gap: 4px 8px; }
.tpl-classic .rv-sec h3 { color: var(--ink-r); border-bottom: 1px solid color-mix(in srgb, var(--acc) 55%, #fff); padding-bottom: 4px; letter-spacing: .14em; }
.tpl-classic .rv-tags { display: block; } .tpl-classic .rv-tags span { padding: 0; background: none; }
.tpl-classic .rv-tags span + span::before { content: ' · '; color: var(--acc); }
.tpl-classic .rv-entry li::marker { color: var(--ink-r); }
/* Sidebar */
.tpl-sidebar { display: flex; padding: 0; }
.tpl-sidebar .rv-aside { width: 33%; flex-shrink: 0; padding: 40px 24px; background: var(--acc); color: #fff; display: flex; flex-direction: column; gap: 18px; }
.tpl-sidebar .rv-aside .rv-photo { width: 120px; height: 120px; align-self: center; border: 4px solid rgba(255,255,255,.35); }
.tpl-sidebar .rv-aside h3 { color: #fff; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 5px; }
.tpl-sidebar .rv-aside .rv-contacts { flex-direction: column; color: rgba(255,255,255,.92); margin: 0; gap: 7px; }
.tpl-sidebar .rv-aside .rv-c i { color: #fff; }
.tpl-sidebar .rv-aside .rv-list li span, .tpl-sidebar .rv-aside .rv-det { color: rgba(255,255,255,.85); }
.tpl-sidebar .rv-aside .rv-list li { position: relative; }
.tpl-sidebar .rv-skills .rv-list li { padding-left: 12px; } .tpl-sidebar .rv-skills .rv-list li::before { content: ''; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.75); }
.tpl-sidebar .rv-main { flex: 1; min-width: 0; padding: 44px 34px; display: flex; flex-direction: column; gap: 16px; }
.tpl-sidebar .rv-main .rv-head { padding-bottom: 14px; border-bottom: 3px solid var(--acc); }
/* Minimal */
.tpl-minimal { padding: 56px 60px; }
.tpl-minimal .rv-name { font-weight: 400; font-size: 2.3em; letter-spacing: .04em; }
.tpl-minimal .rv-title { color: var(--soft); font-weight: 400; letter-spacing: .05em; text-transform: uppercase; font-size: .95em; margin-top: 8px; }
.tpl-minimal .rv-contacts { gap: 4px 8px; margin-top: 14px; }
.tpl-minimal .rv-body { gap: 20px; margin-top: 34px; }
.tpl-minimal .rv-sec { display: grid; grid-template-columns: 128px 1fr; gap: 0 20px; }
.tpl-minimal .rv-sec h3 { color: var(--acc); font-weight: 700; font-size: .78em; letter-spacing: .16em; padding-top: 3px; }
.tpl-minimal .rv-tags span { background: none; padding: 0; } .tpl-minimal .rv-tags { gap: 4px 14px; }
/* Bold */
.tpl-bold { padding: 0 0 44px; }
.tpl-bold .rv-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding: 38px 52px 30px; background: var(--acc); color: #fff; }
.tpl-bold .rv-head .rv-id { flex: 1; min-width: 0; }
.tpl-bold .rv-photo { width: 104px; height: 104px; border: 4px solid rgba(255,255,255,.4); }
.tpl-bold .rv-title { color: rgba(255,255,255,.88); }
.tpl-bold .rv-head .rv-contacts { flex-basis: 100%; color: rgba(255,255,255,.92); margin-top: 6px; }
.tpl-bold .rv-head .rv-c i { color: #fff; }
.tpl-bold .rv-body { padding: 0 52px; margin-top: 26px; }
.tpl-bold .rv-sec h3 { display: inline-block; color: #fff; background: var(--acc); padding: 3px 10px; border-radius: 4px; letter-spacing: .1em; }

/* ---------- Printing (Download PDF) ---------- */
#rw-print { display: none; }
@media print {
  html.rw-printing body > *:not(#rw-print) { display: none !important; }
  html.rw-printing body { background: #fff !important; margin: 0; }
  html.rw-printing #rw-print { display: block; }
  #rw-print .rv { width: 100% !important; min-height: 0 !important; box-shadow: none; background-image: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; overflow: visible; }
  #rw-print .tpl-sidebar { min-height: 100vh !important; }
}

/* Step guide and example banner */
.rw-card > summary .stp-n { width: 24px; height: 24px; font-size: 12.5px; }
.rw-card .stp-opt { font-weight: 500; font-size: 13px; color: var(--ink-2); }
.rw-card.stp-step { border-radius: 12px; }
.rw-card.stp-step[data-step="next"] { background: var(--surface); }
.rw-exbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; padding: 12px 14px; border-radius: 12px; background: #FFE9A3; color: #16233F; font-size: 14.5px; }
.rw-exbtns { display: flex; flex-wrap: wrap; gap: 8px; }
.rw-exbtns .btn { min-height: 44px; }
.rw-exbar .btn-ghost { color: #16233F; }
.rw-msg a { font-weight: 700; color: var(--ink); }
