/* A4 resume sheet (794x1123 px @96dpi). Add a new template by writing a block named .rt-<slug> */
.sheet{width:794px;min-height:1123px;background:#fff;color:#1f2937;padding:46px 52px;font-size:14px;line-height:1.75;box-sizing:border-box;direction:rtl;text-align:right;box-shadow:0 6px 24px rgba(15,23,42,.15)}
.sheet h1{margin:0;font-size:30px;line-height:1.35;color:#0f172a}.sheet h2{margin:0 0 8px;font-size:16px}
.sheet .role{font-size:16px;color:#475569}.sheet .ct{margin-top:6px;font-size:13px;color:#475569}.sheet .ct em{font-style:normal;margin:0 8px;opacity:.5}
.sheet .sec2{margin-top:20px;break-inside:auto}.sheet .item{margin-bottom:10px;break-inside:avoid}.sheet .item .row{display:flex;justify-content:space-between;gap:12px;align-items:baseline}
.sheet .when{font-size:12px;color:#64748b;white-space:nowrap}.sheet .sub2{color:#475569}.sheet .desc{color:#475569;margin:2px 0 0}.sheet .para{margin:0;color:#334155}.sheet .ltr{unicode-bidi:embed}
.sheet .skg{display:grid;grid-template-columns:1fr 1fr;gap:6px 28px}.sheet .sk{display:flex;justify-content:space-between;align-items:center;gap:10px}.sheet .bar{width:90px;height:6px;border-radius:3px;background:#e5e7eb;overflow:hidden;display:inline-block}.sheet .bar b{display:block;height:100%;background:var(--c)}
.sheet .chips{display:flex;flex-wrap:wrap;gap:6px}.sheet .chips span{border:1px solid var(--c);color:var(--c);border-radius:99px;padding:0 12px;font-size:13px}
/* classic */
.rt-classic .hd{text-align:center;padding-bottom:12px;border-bottom:3px solid var(--c)}.rt-classic h2{color:var(--c);border-bottom:1px solid #e5e7eb;padding-bottom:3px}
/* modern */
.rt-modern{padding-top:0}.rt-modern .hd{background:var(--c);margin:0 -52px 8px;padding:34px 52px 26px}.rt-modern .hd h1,.rt-modern .hd .role,.rt-modern .hd .ct{color:#fff}.rt-modern .hd .role{opacity:.92}.rt-modern .hd .ct{opacity:.9}
.rt-modern h2{border-inline-start:4px solid var(--c);padding-inline-start:10px;color:#0f172a}
/* minimal */
.rt-minimal .hd{border-inline-start:6px solid var(--c);padding-inline-start:16px}.rt-minimal h2{font-size:14px;letter-spacing:.5px;color:var(--c);font-weight:700}.rt-minimal .sec2{margin-top:24px}
/* ATS-friendly: single column, black text, no graphics */
.rt-ats{box-shadow:0 6px 24px rgba(15,23,42,.15);font-size:14px;color:#000}.rt-ats h1{font-size:26px;color:#000}.rt-ats .role,.rt-ats .ct,.rt-ats .sub2,.rt-ats .desc,.rt-ats .para{color:#111}.rt-ats h2{color:#000;border-bottom:1px solid #000;padding-bottom:2px;font-size:15px}
/* ---- v2: English/LTR, photo, two-column and executive templates ---- */
.sheet.en{direction:ltr;text-align:left}
.sheet .ph{width:108px;height:108px;object-fit:cover;flex:none;display:block}
.ph-circle{border-radius:50%}.ph-rounded{border-radius:18px}.ph-square{border-radius:3px}
.sheet .hd.withph{display:flex;align-items:center;gap:22px}.sheet .hd .hdtxt{flex:1;min-width:0}
.rt-classic .hd.withph{flex-direction:column;text-align:center}
.rt-modern .hd .ph{border:3px solid #fff}
.rt-sidebar,.rt-creative{padding:0}
.rt-sidebar .cols,.rt-creative .cols{display:grid;grid-template-columns:250px 1fr;min-height:1123px}
.sheet .side{padding:34px 24px}.sheet .main{padding:40px 38px}
.sheet .side .ph{margin:0 auto 18px;width:130px;height:130px}
.sheet .side .ci{font-size:13px;word-break:break-word;margin-bottom:4px}
.sheet .side .skg{grid-template-columns:1fr}.sheet .side .sk{flex-direction:column;align-items:stretch;gap:2px}.sheet .side .sk .bar{width:100%}
.sheet .side h2{font-size:15px;padding-bottom:3px}
.rt-sidebar .side{background:var(--c);color:#fff}
.rt-sidebar .side h2{color:#fff;border-bottom:1px solid rgba(255,255,255,.4)}
.rt-sidebar .side .bar{background:rgba(255,255,255,.3)}.rt-sidebar .side .bar b{background:#fff}.rt-sidebar .side .when,.rt-sidebar .side .sub2,.rt-sidebar .side .para{color:rgba(255,255,255,.9)}
.rt-sidebar .main h2{color:var(--c);border-bottom:1px solid #e5e7eb;padding-bottom:3px}
.rt-creative .side{background:color-mix(in srgb,var(--c) 10%,#fff)}
.rt-creative .side h2,.rt-creative .main h2{color:var(--c);border-bottom:2px solid var(--c)}
.rt-creative .main h1{color:var(--c)}.rt-creative .side .ph{border:4px solid var(--c)}
.rt-executive .hd{text-align:center;border-block:4px double var(--c);padding:16px 0}.rt-executive .hd.withph{flex-direction:column;gap:10px}
.rt-executive h1{letter-spacing:1px}.rt-executive h2{text-align:center;color:var(--c);border-bottom:1px solid #e5e7eb;padding-bottom:3px}
