/* Resume maker: editor + A4 preview + three original designs. */
.ashu-resume .rv-app { display: grid; gap: clamp(20px, 3vw, 34px); grid-template-columns: minmax(0, 1fr) }
@media (min-width: 1020px) { .ashu-resume .rv-app { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr) } .ashu-resume .rv-preview { position: sticky; top: 96px; align-self: start } }
.ashu-resume .rv-form { display: grid; gap: 16px; min-width: 0 }
.ashu-resume .rv-designs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px }
.ashu-resume .rv-dbtn { font: inherit; text-align: left; cursor: pointer; background: #fff; border: 1.5px solid var(--ashu-line); border-radius: 16px; padding: 10px; display: grid; gap: 2px; box-shadow: var(--ashu-sh-1); transition: border-color .15s, box-shadow .15s, transform .15s; color: var(--ashu-fg) }
.ashu-resume .rv-dbtn:hover { transform: translateY(-2px); box-shadow: var(--ashu-sh-2) }
.ashu-resume .rv-dbtn[aria-pressed="true"] { border-color: var(--ashu-accent); box-shadow: 0 0 0 3px rgba(99, 102, 241, .18), var(--ashu-sh-2) }
.ashu-resume .rv-dbtn b { font-size: 15px }
.ashu-resume .rv-dbtn small { font-size: 12px; color: var(--ashu-muted); line-height: 1.3 }
.ashu-resume .rv-dbtn em { font-style: normal; font-size: 12px; font-weight: 800; color: #b45309 }
.ashu-resume .rv-dthumb { display: grid; gap: 4px; height: 64px; border-radius: 8px; background: #f4f5fa; padding: 7px; margin-bottom: 6px; overflow: hidden }
.ashu-resume .rv-dthumb i { display: block; border-radius: 3px; background: #d7dbea }
.ashu-resume .rv-dthumb--saral { grid-template-rows: 10px 4px 1fr } .ashu-resume .rv-dthumb--saral i:first-child { width: 60%; background: #1e293b }
.ashu-resume .rv-dthumb--pro { grid-template-columns: 32% 1fr; grid-template-rows: 1fr } .ashu-resume .rv-dthumb--pro i:first-child { background: var(--ashu-accent) } .ashu-resume .rv-dthumb--pro i:last-child { display: none }
.ashu-resume .rv-dthumb--adhunik { grid-template-rows: 18px 1fr; padding: 0 } .ashu-resume .rv-dthumb--adhunik i:first-child { background: var(--ashu-accent); border-radius: 0 } .ashu-resume .rv-dthumb--adhunik i:nth-child(2) { margin: 0 8px 8px } .ashu-resume .rv-dthumb--adhunik i:last-child { display: none }
.ashu-resume .rv-opts { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 14px }
.ashu-resume .rv-accents { display: flex; gap: 8px }
.ashu-resume .rv-accents button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--c); cursor: pointer; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #d5d9e6 }
.ashu-resume .rv-accents button[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--c) }
.ashu-resume .rv-lang { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700 }
.ashu-resume .rv-lang select { width: auto !important; padding: 6px 10px !important }
.ashu-resume .rv-chk { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; cursor: pointer }
.ashu-resume .rv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
@media (max-width: 560px) { .ashu-resume .rv-grid, .ashu-resume .rv-designs { grid-template-columns: 1fr } }
.ashu-resume .rv-stage { position: relative; overflow: hidden; border-radius: 18px; background: radial-gradient(120% 70% at 50% 0%, #eef0ff, #eef1f7 60%); border: 1px solid var(--ashu-line); padding: 0 }
.ashu-resume .rv-scale { width: 794px; transform-origin: 0 0 }
.ashu-resume .cd-jump { display: none }
@media (max-width: 1019px) { .ashu-resume .cd-jump { display: inline-flex } }

/* ---------- the document (A4 at 96dpi = 794px wide) ---------- */
.rv-doc { --acc: #4338ca; position: relative; width: 794px; min-height: 1123px; background: #fff; color: #1f2937; font-family: "Mukta", "Noto Sans Devanagari", system-ui, sans-serif; font-size: 14px; line-height: 1.55; box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .35); overflow: hidden }
.rv-doc[lang="en"] { font-family: "Mukta", "Segoe UI", Roboto, system-ui, sans-serif }
.rv-doc h1 { margin: 0; font-size: 32px; line-height: 1.15; letter-spacing: -.01em; color: #0f172a; font-weight: 800 }
.rv-doc h2 { margin: 0 0 8px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--acc); font-weight: 800; display: flex; align-items: center; gap: 10px }
.rv-doc[lang="mr"] h2 { letter-spacing: .02em; font-size: 16px }
.rv-doc h2::after { content: ""; flex: 1; height: 1px; background: var(--acc-line) }
.rv-doc p { margin: 0 0 4px }
.rv-doc ul { margin: 4px 0 0; padding-left: 18px }
.rv-doc li { margin: 0 0 3px }
.rv-role { margin: 4px 0 0 !important; font-size: 16px; font-weight: 700; color: var(--acc) }
.rv-contact { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; font-size: 13px; color: #475569 }
.rv-contact span { display: inline-flex; gap: 6px; align-items: center }
.rv-contact i { font-style: normal; color: var(--acc); font-weight: 800 }
.rv-contact--stack { flex-direction: column; gap: 6px; margin: 0 }
.rv-sec { margin: 0 0 18px; break-inside: avoid }
.rv-entry { margin: 0 0 12px }
.rv-entry__top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline }
.rv-entry__top b { font-size: 15px; color: #0f172a }
.rv-entry__top span { font-size: 12.5px; color: #64748b; white-space: nowrap; font-weight: 600 }
.rv-entry__sub { font-size: 13.5px; color: #475569; font-weight: 600 }
.rv-chips { display: flex; flex-wrap: wrap; gap: 6px }
.rv-chip { font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--acc-soft); color: var(--acc-ink); border: 1px solid var(--acc-line) }
.rv-mono { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--acc); color: #fff; font-size: 30px; font-weight: 800; flex-shrink: 0 }
.rv-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--acc); flex-shrink: 0 }
.rv-decl p { font-size: 13px; color: #334155 }
.rv-sign { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 26px; font-size: 13px; color: #334155 }
.rv-sign span:last-child { text-align: right }
.rv-credit { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-size: 10.5px; color: #94a3b8 }
.rv-doc.is-clean .rv-credit, .rv-doc.is-clean .ashu-wmgrid { display: none !important }

/* सरळ */
.rv-saral { padding: 54px 58px 40px }
.rv-saral .rv-head { padding-bottom: 18px; margin-bottom: 22px; border-bottom: 3px solid var(--acc) }
.rv-saral .rv-flow { display: block }

/* प्रोफेशनल */
.rv-pro .rv-cols { display: grid; grid-template-columns: 262px 1fr; min-height: 1123px }
.rv-pro .rv-side { background: var(--acc-side); color: #e8eaf6; padding: 44px 24px 40px }
.rv-pro .rv-side h1 { color: #fff; font-size: 26px; margin-top: 16px }
.rv-pro .rv-side .rv-role { color: #c7d2fe }
.rv-pro .rv-side h2 { color: #fff; margin-top: 4px }
.rv-pro .rv-side h2::after { background: rgba(255, 255, 255, .25) }
.rv-pro .rv-side .rv-contact { color: #e0e7ff }
.rv-pro .rv-side .rv-contact i { color: #fff }
.rv-pro .rv-side .rv-sec { margin-top: 22px }
.rv-pro .rv-side .rv-chip { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .25) }
.rv-pro .rv-side .rv-mono, .rv-pro .rv-side .rv-photo { width: 120px; height: 120px; margin: 0 auto; display: grid; background: rgba(255, 255, 255, .16); box-shadow: 0 0 0 3px rgba(255, 255, 255, .5) }
.rv-pro .rv-side .rv-photo { display: block }
.rv-pro .rv-main { padding: 48px 40px 40px }

/* आधुनिक */
.rv-adhunik .rv-head { display: flex; gap: 22px; align-items: center; padding: 40px 48px 30px; background: linear-gradient(120deg, var(--acc), var(--acc-deep)); color: #fff }
.rv-adhunik .rv-head h1 { color: #fff }
.rv-adhunik .rv-head .rv-role { color: rgba(255, 255, 255, .85) }
.rv-adhunik .rv-head .rv-contact { color: rgba(255, 255, 255, .9) }
.rv-adhunik .rv-head .rv-contact i { color: #fff }
.rv-adhunik .rv-head .rv-mono { background: rgba(255, 255, 255, .18); box-shadow: 0 0 0 3px rgba(255, 255, 255, .5) }
.rv-adhunik .rv-head .rv-photo { box-shadow: 0 0 0 3px rgba(255, 255, 255, .6) }
.rv-adhunik .rv-cols--r { display: grid; grid-template-columns: 1fr 230px; gap: 32px; padding: 32px 48px 10px }
.rv-adhunik .rv-decl { padding: 0 48px 40px }
.rv-saral .rv-head { display: block }

.rv-export-stage { position: fixed; left: -10000px; top: 0; width: 794px; background: #fff }
.rv-export-stage .rv-doc { box-shadow: none }
