/* ================================================================
   Resume Builder Pro — style.css  (v3.0 — 8 Themes)
   All rules scoped under .rbp-wrap to prevent theme conflicts.
   ================================================================ */

.rbp-wrap *, .rbp-wrap *::before, .rbp-wrap *::after { box-sizing: border-box; margin: 0; padding: 0; }

.rbp-wrap {
  --c-dark:    #2c3e50;
  --c-darker:  #1e2d3d;
  --c-accent:  #c8a96e;
  --c-text:    #2c3e50;
  --c-soft:    #5a6a7a;
  --c-muted:   #94a3b8;
  --c-border:  #dde3ea;
  --c-paper:   #f4f6f8;
  --c-white:   #ffffff;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.07);
  --shadow-md: 0 4px 18px rgba(0,0,0,.10);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.15);
  --r: 8px; --r-sm: 5px;
  font-family: 'Lato', sans-serif;
  font-size: 15px; line-height: 1.6;
  color: var(--c-text);
  background: var(--c-paper);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* ── TOOLBAR ── */
.rbp-wrap .rbp-toolbar { background: var(--c-darker); padding: 13px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rbp-wrap .rbp-toolbar-brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.rbp-wrap .rbp-brand-icon { font-size: 22px; color: var(--c-accent); }
.rbp-wrap .rbp-brand-name { font-size: 15px; color: rgba(255,255,255,.7); letter-spacing:.02em; }
.rbp-wrap .rbp-brand-name strong { color: #fff; font-weight: 700; }
.rbp-wrap .rbp-toolbar-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.rbp-wrap .rbp-tbtn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: none; border-radius: var(--r-sm); font-family: 'Lato',sans-serif; font-size: 13px; font-weight: 700; cursor: pointer; transition: all .18s; white-space: nowrap; }
.rbp-wrap .rbp-tbtn-primary { background: var(--c-accent); color: var(--c-darker); }
.rbp-wrap .rbp-tbtn-primary:hover { background: #d4b87a; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.rbp-wrap .rbp-tbtn-ghost { background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.2); }
.rbp-wrap .rbp-tbtn-ghost:hover { background: rgba(255,255,255,.18); color: #fff; }

/* ── THEME BAR ── */
.rbp-wrap .rbp-theme-bar { background: var(--c-white); border-bottom: 1px solid var(--c-border); padding: 9px 18px; display: flex; align-items: center; gap: 12px; overflow-x: auto; scrollbar-width: none; }
.rbp-wrap .rbp-theme-bar::-webkit-scrollbar { display: none; }
.rbp-wrap .rbp-theme-bar-label { font-size: 11px; font-weight: 700; color: var(--c-soft); white-space: nowrap; flex-shrink: 0; text-transform: uppercase; letter-spacing:.04em; }
.rbp-wrap .rbp-theme-swatches { display: flex; gap: 7px; }
.rbp-wrap .rbp-swatch { display: flex; flex-direction: column; align-items: center; gap: 3px; border: 2px solid var(--c-border); border-radius: 7px; padding: 4px; background: var(--c-white); cursor: pointer; transition: all .18s; min-width: 58px; }
.rbp-wrap .rbp-swatch:hover { border-color: var(--c-accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.rbp-wrap .rbp-swatch.active { border-color: var(--c-accent); box-shadow: 0 0 0 2px rgba(200,169,110,.25); }
.rbp-wrap .rbp-swatch-preview { width: 50px; height: 33px; border-radius: 3px; overflow: hidden; }
.rbp-wrap .rbp-swatch span { font-size: 9px; font-weight: 700; color: var(--c-soft); white-space: nowrap; }
.rbp-wrap .rbp-swatch.active span { color: #8a6d2a; }

/* ── APP GRID ── */
.rbp-wrap .rbp-app { display: grid; grid-template-columns: 400px 1fr; height: 760px; overflow: hidden; }

/* ── FORM PANEL ── */
.rbp-wrap .rbp-form-panel { background: var(--c-white); border-right: 1px solid var(--c-border); display: flex; flex-direction: column; overflow: hidden; }

/* ── TABS ── */
.rbp-wrap .rbp-tabs { display: flex; overflow-x: auto; scrollbar-width: none; border-bottom: 2px solid var(--c-border); flex-shrink: 0; }
.rbp-wrap .rbp-tabs::-webkit-scrollbar { display: none; }
.rbp-wrap .rbp-tab { flex: 1; min-width: 58px; padding: 10px 4px 8px; border: none; background: transparent; cursor: pointer; font-family: 'Lato',sans-serif; font-size: 11px; font-weight: 700; color: var(--c-muted); border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all .18s; white-space: nowrap; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.rbp-wrap .rbp-tab .rbp-tab-num { width: 20px; height: 20px; border-radius: 50%; background: var(--c-paper); border: 1.5px solid var(--c-border); display: flex; align-items: center; justify-content: center; font-size: 10px; transition: all .18s; }
.rbp-wrap .rbp-tab.active { color: var(--c-dark); border-bottom-color: var(--c-accent); }
.rbp-wrap .rbp-tab.active .rbp-tab-num { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-dark); }
.rbp-wrap .rbp-tab.done { color: #2d6a4f; border-bottom-color: #2d6a4f; }
.rbp-wrap .rbp-tab.done .rbp-tab-num { background: #2d6a4f; border-color: #2d6a4f; color: #fff; }

/* ── STEPS ── */
.rbp-wrap .rbp-step { display: none; padding: 18px 20px; overflow-y: auto; flex: 1; }
.rbp-wrap .rbp-step.active { display: flex; flex-direction: column; animation: rbpFade .22s ease; }
@keyframes rbpFade { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:translateY(0); } }
.rbp-wrap .rbp-step-head { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.rbp-wrap .rbp-step-icon { width: 36px; height: 36px; border-radius: 8px; background: #f0ede8; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.rbp-wrap .rbp-step-title { font-size: 1rem; font-weight: 700; color: var(--c-text); }
.rbp-wrap .rbp-step-sub { font-size: 11.5px; color: var(--c-muted); margin-top: 1px; }

/* ── FIELDS ── */
.rbp-wrap .rbp-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.rbp-wrap .rbp-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.rbp-wrap .rbp-field label { font-size: 11px; font-weight: 700; color: var(--c-soft); text-transform: uppercase; letter-spacing:.04em; }
.rbp-wrap .rbp-field input, .rbp-wrap .rbp-field textarea { width: 100%; padding: 8px 11px; border: 1.5px solid var(--c-border); border-radius: var(--r-sm); font-family: 'Lato',sans-serif; font-size: 13.5px; color: var(--c-text); background: var(--c-white); outline: none; transition: border-color .18s, box-shadow .18s; }
.rbp-wrap .rbp-field input:focus, .rbp-wrap .rbp-field textarea:focus { border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(200,169,110,.14); }
.rbp-wrap .rbp-field input::placeholder, .rbp-wrap .rbp-field textarea::placeholder { color: var(--c-muted); }
.rbp-wrap .rbp-field textarea { resize: vertical; min-height: 72px; }

/* ── PHOTO ── */
.rbp-wrap .rbp-photo-toggle { display: flex; align-items: center; justify-content: space-between; background: var(--c-paper); border: 1.5px solid var(--c-border); border-radius: var(--r-sm); padding: 9px 13px; margin-bottom: 12px; }
.rbp-wrap .rbp-toggle-label { font-size: 12px; font-weight: 700; color: var(--c-soft); }
.rbp-wrap .rbp-toggle-btns { display: flex; border: 1.5px solid var(--c-border); border-radius: 20px; overflow: hidden; }
.rbp-wrap .rbp-tog { padding: 4px 14px; border: none; background: transparent; cursor: pointer; font-family: 'Lato',sans-serif; font-size: 11.5px; font-weight: 700; color: var(--c-muted); transition: all .18s; }
.rbp-wrap .rbp-tog.active { background: var(--c-accent); color: var(--c-darker); }
.rbp-wrap .rbp-photo-area { margin-bottom: 12px; }
.rbp-wrap .rbp-photo-dropzone { border: 2px dashed var(--c-border); border-radius: var(--r); cursor: pointer; transition: border-color .2s, background .2s; display: flex; align-items: center; justify-content: center; min-height: 96px; }
.rbp-wrap .rbp-photo-dropzone:hover { border-color: var(--c-accent); background: #fffbf5; }
.rbp-wrap .rbp-photo-preview { display: flex; flex-direction: column; align-items: center; gap: 5px; color: var(--c-muted); font-size: 12.5px; padding: 16px; }
.rbp-wrap .rbp-photo-hint { font-size: 10.5px; color: var(--c-muted); }

/* ── CARDS ── */
.rbp-wrap .rbp-card { background: var(--c-paper); border: 1.5px solid var(--c-border); border-radius: var(--r); padding: 13px; margin-bottom: 10px; transition: border-color .18s; }
.rbp-wrap .rbp-card:hover { border-color: var(--c-accent); }
.rbp-wrap .rbp-card-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.rbp-wrap .rbp-card-lbl { font-size: 10.5px; font-weight: 700; color: var(--c-accent); text-transform: uppercase; letter-spacing:.06em; }
.rbp-wrap .rbp-rm-btn { background: none; border: none; cursor: pointer; color: var(--c-muted); font-size: 18px; line-height: 1; padding: 1px 5px; border-radius: 4px; transition: all .15s; }
.rbp-wrap .rbp-rm-btn:hover { background: #fee2e2; color: #b91c1c; }
.rbp-wrap .rbp-add-btn { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; padding: 8px; margin-top: 3px; background: #f0ede8; border: 1.5px dashed var(--c-accent); border-radius: var(--r-sm); cursor: pointer; font-family: 'Lato',sans-serif; font-size: 12.5px; font-weight: 700; color: var(--c-accent); transition: all .18s; }
.rbp-wrap .rbp-add-btn:hover { background: var(--c-accent); color: var(--c-darker); }

/* ── STEP FOOTER ── */
.rbp-wrap .rbp-step-footer { padding: 11px 20px; border-top: 1px solid var(--c-border); display: flex; align-items: center; justify-content: space-between; background: var(--c-white); flex-shrink: 0; }
.rbp-wrap .rbp-step-counter { font-size: 11.5px; color: var(--c-muted); font-weight: 700; }

/* ── PREVIEW PANEL ── */
.rbp-wrap .rbp-preview-panel { background: #dde0e4; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; align-items: center; padding: 16px 12px; gap: 10px; }
.rbp-wrap .rbp-preview-panel::-webkit-scrollbar { width: 4px; }
.rbp-wrap .rbp-preview-panel::-webkit-scrollbar-thumb { background: #b0b4b8; border-radius: 10px; }
.rbp-wrap .rbp-preview-label { background: var(--c-darker); color: rgba(255,255,255,.7); font-size: 11px; font-weight: 700; letter-spacing:.07em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; align-self: flex-start; }

/* ════════════════════════════════════
   RESUME DOCUMENT BASE
   ════════════════════════════════════ */
#rbp-doc { width: 670px; min-height: 950px; background: #fff; box-shadow: var(--shadow-lg); font-family: 'Lato',sans-serif; color: #2c3e50; transition: all .3s ease; position: relative; overflow: hidden; }
.rbp-ph { color: #ccc !important; font-style: italic; }

/* ══════════════════════════════════════════════════════════
   THEME 1 — SIDEBAR DARK (navy sidebar, original style)
   ══════════════════════════════════════════════════════════ */
#rbp-doc.rbp-theme-sidebar-dark { display: grid; grid-template-columns: 230px 1fr; }
.rbp-theme-sidebar-dark .t-sidebar { background: #2c3e50; padding: 36px 22px; display: flex; flex-direction: column; gap: 28px; }
.rbp-theme-sidebar-dark .t-photo-wrap { display: flex; justify-content: center; }
.rbp-theme-sidebar-dark .t-photo { width: 110px; height: 110px; border-radius: 50%; border: 3px solid #c8a96e; background: #1e2d3d; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.rbp-theme-sidebar-dark .t-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.rbp-theme-sidebar-dark .t-sec-title { font-family: 'Playfair Display',serif; font-size: 1rem; font-weight: 700; color: #fff; border-bottom: 1.5px solid rgba(255,255,255,.15); padding-bottom: 6px; margin-bottom: 12px; }
.rbp-theme-sidebar-dark .t-contact-item { margin-bottom: 10px; }
.rbp-theme-sidebar-dark .t-contact-lbl { font-size: 10px; font-weight: 700; color: #c8a96e; text-transform: uppercase; letter-spacing:.07em; }
.rbp-theme-sidebar-dark .t-contact-val { font-size: 12px; color: rgba(255,255,255,.85); line-height: 1.4; word-break: break-all; }
.rbp-theme-sidebar-dark .t-edu-item { margin-bottom: 12px; }
.rbp-theme-sidebar-dark .t-edu-year { font-size: 11px; color: #c8a96e; font-weight: 700; }
.rbp-theme-sidebar-dark .t-edu-degree { font-size: 12.5px; font-weight: 700; color: #fff; line-height: 1.3; }
.rbp-theme-sidebar-dark .t-edu-school { font-size: 11.5px; color: rgba(255,255,255,.55); }
.rbp-theme-sidebar-dark .t-skills-ul { list-style: disc; padding-left: 16px; display: flex; flex-direction: column; gap: 5px; }
.rbp-theme-sidebar-dark .t-skills-ul li { font-size: 12.5px; color: rgba(255,255,255,.85); }
.rbp-theme-sidebar-dark .t-lang-item { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.85); margin-bottom: 6px; }
.rbp-theme-sidebar-dark .t-main { padding: 40px 34px; display: flex; flex-direction: column; gap: 26px; }
.rbp-theme-sidebar-dark .t-name { font-family: 'Playfair Display',serif; font-size: 2.3rem; font-weight: 700; color: #1e2d3d; line-height: 1.05; }
.rbp-theme-sidebar-dark .t-jobtitle { font-size: 13px; font-weight: 300; color: #5a6a7a; letter-spacing:.22em; text-transform: uppercase; margin: 5px 0 10px; }
.rbp-theme-sidebar-dark .t-summary { font-size: 12.5px; color: #5a6a7a; line-height: 1.8; text-align: justify; }
.rbp-theme-sidebar-dark .t-block-title { font-family: 'Playfair Display',serif; font-size: 1.3rem; font-weight: 700; color: #1e2d3d; border-bottom: 2px solid #1e2d3d; padding-bottom: 6px; margin-bottom: 16px; }
.rbp-theme-sidebar-dark .t-exp-entry { display: grid; grid-template-columns: 18px 1fr; gap: 0 12px; margin-bottom: 20px; }
.rbp-theme-sidebar-dark .t-exp-dot-col { display: flex; flex-direction: column; align-items: center; padding-top: 4px; }
.rbp-theme-sidebar-dark .t-exp-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid #1e2d3d; background: #fff; flex-shrink: 0; }
.rbp-theme-sidebar-dark .t-exp-line { flex: 1; width: 1.5px; background: #dde3ea; margin-top: 4px; }
.rbp-theme-sidebar-dark .t-exp-date { font-size: 11.5px; font-weight: 700; color: #94a3b8; }
.rbp-theme-sidebar-dark .t-exp-place { font-size: 11.5px; color: #5a6a7a; }
.rbp-theme-sidebar-dark .t-exp-role { font-size: 13.5px; font-weight: 700; color: #1e2d3d; }
.rbp-theme-sidebar-dark .t-exp-desc { font-size: 12px; color: #5a6a7a; margin-top: 6px; line-height: 1.75; }
.rbp-theme-sidebar-dark .t-refs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.rbp-theme-sidebar-dark .t-ref-name { font-size: 13.5px; font-weight: 700; color: #1e2d3d; }
.rbp-theme-sidebar-dark .t-ref-role { font-size: 12px; color: #5a6a7a; margin-bottom: 4px; }
.rbp-theme-sidebar-dark .t-ref-line { font-size: 12px; color: #5a6a7a; display: flex; gap: 5px; }
.rbp-theme-sidebar-dark .t-ref-lbl { font-weight: 700; color: #1e2d3d; min-width: 45px; }

/* ══════════════════════════════════════════════════════════
   THEME 2 — EXECUTIVE CLASSIC (black header, two-col)
   ══════════════════════════════════════════════════════════ */
#rbp-doc.rbp-theme-executive { display: flex; flex-direction: column; }
.rbp-theme-executive .t-exec-header { background: #1a1a1a; padding: 32px 40px 24px; display: flex; align-items: center; gap: 24px; }
.rbp-theme-executive .t-photo { width: 90px; height: 90px; border-radius: 50%; border: 3px solid #c9a84c; background: #333; overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.rbp-theme-executive .t-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.rbp-theme-executive .t-name { font-family: 'Libre Baskerville',serif; font-size: 2rem; font-weight: 700; color: #fff; }
.rbp-theme-executive .t-jobtitle { font-size: 13px; color: #c9a84c; letter-spacing:.18em; text-transform: uppercase; margin-top: 4px; }
.rbp-theme-executive .t-exec-contact { background: #2a2a2a; padding: 10px 40px; display: flex; gap: 22px; flex-wrap: wrap; }
.rbp-theme-executive .t-ec-item { font-size: 11.5px; color: rgba(255,255,255,.7); }
.rbp-theme-executive .t-exec-body { display: grid; grid-template-columns: 1fr 210px; flex: 1; }
.rbp-theme-executive .t-main { padding: 28px 30px; border-right: 1px solid #eee; }
.rbp-theme-executive .t-sidebar { padding: 28px 22px; background: #fafafa; }
.rbp-theme-executive .t-summary { font-size: 12.5px; color: #444; line-height: 1.8; margin-bottom: 20px; font-style: italic; border-left: 3px solid #c9a84c; padding-left: 12px; }
.rbp-theme-executive .t-block { margin-bottom: 20px; }
.rbp-theme-executive .t-block-title { font-family: 'Libre Baskerville',serif; font-size: .9rem; font-weight: 700; color: #1a1a1a; text-transform: uppercase; letter-spacing:.1em; border-bottom: 1px solid #ddd; padding-bottom: 5px; margin-bottom: 12px; }
.rbp-theme-executive .t-exp-entry { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px dashed #eee; }
.rbp-theme-executive .t-exp-entry:last-child { border-bottom: none; }
.rbp-theme-executive .t-exp-date { font-size: 10.5px; font-weight: 700; color: #c9a84c; }
.rbp-theme-executive .t-exp-role { font-size: 13px; font-weight: 700; color: #1a1a1a; }
.rbp-theme-executive .t-exp-place { font-size: 11.5px; color: #666; }
.rbp-theme-executive .t-exp-desc { font-size: 11.5px; color: #555; margin-top: 5px; line-height: 1.7; }
.rbp-theme-executive .t-sec-title { font-family: 'Libre Baskerville',serif; font-size: .82rem; font-weight: 700; color: #1a1a1a; text-transform: uppercase; letter-spacing:.1em; border-bottom: 1px solid #ddd; padding-bottom: 4px; margin-bottom: 10px; }
.rbp-theme-executive .t-edu-item { margin-bottom: 10px; }
.rbp-theme-executive .t-edu-year { font-size: 10px; font-weight: 700; color: #c9a84c; }
.rbp-theme-executive .t-edu-degree { font-size: 12px; font-weight: 700; color: #1a1a1a; }
.rbp-theme-executive .t-edu-school { font-size: 11px; color: #666; }
.rbp-theme-executive .t-skills-ul { list-style: none; padding: 0; }
.rbp-theme-executive .t-skills-ul li { font-size: 12px; color: #444; padding: 4px 0; border-bottom: 1px dotted #eee; }
.rbp-theme-executive .t-skills-ul li::before { content:'▸ '; color: #c9a84c; }
.rbp-theme-executive .t-lang-item { font-size: 12px; color: #444; margin-bottom: 5px; }
.rbp-theme-executive .t-refs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rbp-theme-executive .t-ref-name { font-size: 12.5px; font-weight: 700; color: #1a1a1a; }
.rbp-theme-executive .t-ref-role { font-size: 11px; color: #666; }
.rbp-theme-executive .t-ref-line { font-size: 11px; color: #555; display: flex; gap: 4px; }
.rbp-theme-executive .t-ref-lbl { font-weight: 700; color: #1a1a1a; }

/* ══════════════════════════════════════════════════════════
   THEME 3 — MODERN TEAL (accent bar, clean geometric)
   ══════════════════════════════════════════════════════════ */
#rbp-doc.rbp-theme-modern-teal { display: grid; grid-template-columns: 10px 1fr; background: #fff; }
.rbp-theme-modern-teal .t-accent-bar { background: linear-gradient(180deg,#0d9488,#065f46); }
.rbp-theme-modern-teal .t-content { padding: 34px; }
.rbp-theme-modern-teal .t-header-row { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 3px solid #0d9488; }
.rbp-theme-modern-teal .t-photo { width: 85px; height: 85px; border-radius: 10px; border: 3px solid #0d9488; overflow: hidden; flex-shrink: 0; background: #f0fdfa; display: flex; align-items: center; justify-content: center; }
.rbp-theme-modern-teal .t-photo img { width: 100%; height: 100%; object-fit: cover; }
.rbp-theme-modern-teal .t-name { font-family: 'Raleway',sans-serif; font-size: 2.1rem; font-weight: 800; color: #0d9488; line-height: 1; letter-spacing:-.02em; }
.rbp-theme-modern-teal .t-jobtitle { font-size: 12px; font-weight: 400; color: #5a6a7a; letter-spacing:.15em; text-transform: uppercase; margin-top: 5px; }
.rbp-theme-modern-teal .t-contact-row { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 7px; }
.rbp-theme-modern-teal .t-c-item { font-size: 11.5px; color: #5a6a7a; }
.rbp-theme-modern-teal .t-body { display: grid; grid-template-columns: 1fr 185px; gap: 22px; }
.rbp-theme-modern-teal .t-summary { font-size: 12.5px; color: #4a5568; line-height: 1.8; margin-bottom: 18px; }
.rbp-theme-modern-teal .t-block { margin-bottom: 18px; }
.rbp-theme-modern-teal .t-block-title { font-family: 'Raleway',sans-serif; font-size: 11px; font-weight: 800; letter-spacing:.15em; text-transform: uppercase; color: #0d9488; margin-bottom: 10px; display: flex; align-items: center; gap: 7px; }
.rbp-theme-modern-teal .t-block-title::after { content:''; flex:1; height:2px; background:#ccfbf1; }
.rbp-theme-modern-teal .t-exp-entry { margin-bottom: 13px; padding-left: 12px; border-left: 2px solid #0d9488; }
.rbp-theme-modern-teal .t-exp-date { font-size: 10.5px; font-weight: 700; color: #0d9488; }
.rbp-theme-modern-teal .t-exp-role { font-size: 13px; font-weight: 700; color: #1e293b; }
.rbp-theme-modern-teal .t-exp-place { font-size: 11px; color: #64748b; }
.rbp-theme-modern-teal .t-exp-desc { font-size: 11.5px; color: #475569; margin-top: 4px; line-height: 1.7; }
.rbp-theme-modern-teal .t-sec-title { font-family: 'Raleway',sans-serif; font-size: 10px; font-weight: 800; letter-spacing:.15em; text-transform: uppercase; color: #0d9488; margin-bottom: 8px; }
.rbp-theme-modern-teal .t-edu-item { margin-bottom: 10px; }
.rbp-theme-modern-teal .t-edu-year { font-size: 10px; font-weight: 700; color: #94a3b8; }
.rbp-theme-modern-teal .t-edu-degree { font-size: 12px; font-weight: 700; color: #1e293b; }
.rbp-theme-modern-teal .t-edu-school { font-size: 11px; color: #64748b; }
.rbp-theme-modern-teal .t-skill-tag { display: inline-block; background: #f0fdfa; border: 1px solid #99f6e4; color: #0f766e; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; margin: 2px 2px 2px 0; }
.rbp-theme-modern-teal .t-lang-item { font-size: 12px; color: #475569; margin-bottom: 5px; padding-left: 8px; border-left: 2px solid #0d9488; }
.rbp-theme-modern-teal .t-refs-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.rbp-theme-modern-teal .t-ref-name { font-size: 12.5px; font-weight: 700; color: #1e293b; }
.rbp-theme-modern-teal .t-ref-role { font-size: 11px; color: #64748b; }
.rbp-theme-modern-teal .t-ref-line { font-size: 11px; color: #64748b; display: flex; gap: 4px; }
.rbp-theme-modern-teal .t-ref-lbl { font-weight: 700; color: #0d9488; }

/* ══════════════════════════════════════════════════════════
   THEME 4 — CREATIVE CORAL (warm bold header)
   ══════════════════════════════════════════════════════════ */
#rbp-doc.rbp-theme-creative-coral { display: flex; flex-direction: column; background: #fff5f3; }
.rbp-theme-creative-coral .t-coral-header { background: #e8735a; padding: 34px 38px 24px; position: relative; overflow: hidden; }
.rbp-theme-creative-coral .t-coral-header::after { content:''; position:absolute; right:-20px; top:-20px; width:150px; height:150px; border-radius:50%; background:rgba(255,255,255,.08); }
.rbp-theme-creative-coral .t-header-inner { display: flex; align-items: center; gap: 18px; position: relative; z-index: 1; }
.rbp-theme-creative-coral .t-photo { width: 88px; height: 88px; border-radius: 50%; border: 4px solid rgba(255,255,255,.6); overflow: hidden; flex-shrink: 0; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; }
.rbp-theme-creative-coral .t-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.rbp-theme-creative-coral .t-name { font-family: 'Playfair Display',serif; font-size: 2rem; font-weight: 700; color: #fff; line-height: 1.05; }
.rbp-theme-creative-coral .t-jobtitle { font-size: 12.5px; color: rgba(255,255,255,.8); letter-spacing:.14em; text-transform: uppercase; margin-top: 4px; }
.rbp-theme-creative-coral .t-coral-contact { background: #c0604a; padding: 9px 38px; display: flex; gap: 18px; flex-wrap: wrap; }
.rbp-theme-creative-coral .t-c-item { font-size: 11.5px; color: rgba(255,255,255,.85); }
.rbp-theme-creative-coral .t-coral-body { display: grid; grid-template-columns: 1fr 195px; flex: 1; }
.rbp-theme-creative-coral .t-main { padding: 24px 30px; }
.rbp-theme-creative-coral .t-sidebar { padding: 24px 20px; background: #fff; border-left: 1px solid #fde8e3; }
.rbp-theme-creative-coral .t-summary { font-size: 12.5px; color: #5a4040; line-height: 1.8; margin-bottom: 18px; }
.rbp-theme-creative-coral .t-block { margin-bottom: 18px; }
.rbp-theme-creative-coral .t-block-title { font-family: 'Playfair Display',serif; font-size: 1.05rem; font-weight: 700; color: #e8735a; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.rbp-theme-creative-coral .t-block-title::after { content:''; flex:1; height:1.5px; background:#fde8e3; }
.rbp-theme-creative-coral .t-exp-entry { margin-bottom: 13px; }
.rbp-theme-creative-coral .t-exp-date { font-size: 10px; font-weight: 700; color: #e8735a; background: #fff0ed; display: inline-block; padding: 1px 7px; border-radius: 3px; }
.rbp-theme-creative-coral .t-exp-role { font-size: 13px; font-weight: 700; color: #2c1a1a; margin-top: 3px; }
.rbp-theme-creative-coral .t-exp-place { font-size: 11px; color: #7a5a5a; }
.rbp-theme-creative-coral .t-exp-desc { font-size: 11.5px; color: #5a4040; margin-top: 4px; line-height: 1.7; }
.rbp-theme-creative-coral .t-sec-title { font-family: 'Playfair Display',serif; font-size: .82rem; font-weight: 700; color: #e8735a; margin-bottom: 8px; }
.rbp-theme-creative-coral .t-edu-item { margin-bottom: 10px; }
.rbp-theme-creative-coral .t-edu-year { font-size: 10px; font-weight: 700; color: #e8735a; }
.rbp-theme-creative-coral .t-edu-degree { font-size: 12px; font-weight: 700; color: #2c1a1a; }
.rbp-theme-creative-coral .t-edu-school { font-size: 11px; color: #7a5a5a; }
.rbp-theme-creative-coral .t-skills-ul { list-style: none; padding: 0; }
.rbp-theme-creative-coral .t-skills-ul li { font-size: 12px; color: #5a4040; margin-bottom: 5px; padding-left: 14px; position: relative; }
.rbp-theme-creative-coral .t-skills-ul li::before { content:'♦'; position:absolute; left:0; color:#e8735a; font-size:8px; top:4px; }
.rbp-theme-creative-coral .t-lang-item { font-size: 12px; color: #5a4040; margin-bottom: 5px; font-weight: 700; }
.rbp-theme-creative-coral .t-refs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rbp-theme-creative-coral .t-ref-name { font-size: 12.5px; font-weight: 700; color: #2c1a1a; }
.rbp-theme-creative-coral .t-ref-role { font-size: 11px; color: #7a5a5a; }
.rbp-theme-creative-coral .t-ref-line { font-size: 11px; color: #7a5a5a; display: flex; gap: 4px; }
.rbp-theme-creative-coral .t-ref-lbl { font-weight: 700; color: #e8735a; }

/* ══════════════════════════════════════════════════════════
   THEME 5 — MINIMAL SWISS (white, red accents, clean)
   ══════════════════════════════════════════════════════════ */
#rbp-doc.rbp-theme-minimal-swiss { display: flex; flex-direction: column; background: #fff; padding: 46px 50px; }
.rbp-theme-minimal-swiss .t-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 32px; gap: 20px; }
.rbp-theme-minimal-swiss .t-photo { width: 78px; height: 78px; border-radius: 50%; overflow: hidden; border: 2px solid #e63946; flex-shrink: 0; background: #fafafa; display: flex; align-items: center; justify-content: center; }
.rbp-theme-minimal-swiss .t-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.rbp-theme-minimal-swiss .t-name { font-family: 'Josefin Sans',sans-serif; font-size: 2.2rem; font-weight: 700; color: #111; letter-spacing:-.01em; line-height: 1; }
.rbp-theme-minimal-swiss .t-jobtitle { font-family: 'Josefin Sans',sans-serif; font-size: 12px; font-weight: 300; color: #e63946; letter-spacing:.25em; text-transform: uppercase; margin-top: 6px; }
.rbp-theme-minimal-swiss .t-contact-block { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; margin-top: 4px; }
.rbp-theme-minimal-swiss .t-c-item { font-size: 11px; color: #666; text-align: right; }
.rbp-theme-minimal-swiss .t-divider { height: 1px; background: #111; margin-bottom: 22px; }
.rbp-theme-minimal-swiss .t-body { display: grid; grid-template-columns: 1fr 170px; gap: 32px; }
.rbp-theme-minimal-swiss .t-summary { font-size: 12.5px; color: #444; line-height: 1.9; margin-bottom: 22px; }
.rbp-theme-minimal-swiss .t-block { margin-bottom: 22px; }
.rbp-theme-minimal-swiss .t-block-title { font-family: 'Josefin Sans',sans-serif; font-size: 10px; font-weight: 700; letter-spacing:.22em; text-transform: uppercase; color: #e63946; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.rbp-theme-minimal-swiss .t-block-title::before { content:''; width:6px; height:6px; border-radius:50%; background:#e63946; flex-shrink:0; }
.rbp-theme-minimal-swiss .t-exp-entry { display: grid; grid-template-columns: 82px 1fr; gap: 0 14px; margin-bottom: 14px; }
.rbp-theme-minimal-swiss .t-exp-date { font-size: 10px; font-weight: 700; color: #999; padding-top: 1px; }
.rbp-theme-minimal-swiss .t-exp-role { font-size: 13px; font-weight: 700; color: #111; }
.rbp-theme-minimal-swiss .t-exp-place { font-size: 11.5px; color: #666; }
.rbp-theme-minimal-swiss .t-exp-desc { font-size: 11.5px; color: #555; margin-top: 4px; line-height: 1.7; }
.rbp-theme-minimal-swiss .t-sec-title { font-family: 'Josefin Sans',sans-serif; font-size: 9px; font-weight: 700; letter-spacing:.22em; text-transform: uppercase; color: #e63946; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.rbp-theme-minimal-swiss .t-sec-title::before { content:''; width:4px; height:4px; border-radius:50%; background:#e63946; flex-shrink:0; }
.rbp-theme-minimal-swiss .t-edu-item { margin-bottom: 9px; }
.rbp-theme-minimal-swiss .t-edu-year { font-size: 10px; color: #999; font-weight: 700; }
.rbp-theme-minimal-swiss .t-edu-degree { font-size: 12px; font-weight: 700; color: #111; }
.rbp-theme-minimal-swiss .t-edu-school { font-size: 11px; color: #666; }
.rbp-theme-minimal-swiss .t-skills-ul { list-style: none; padding: 0; }
.rbp-theme-minimal-swiss .t-skills-ul li { font-size: 12px; color: #444; padding: 5px 0; border-bottom: 1px solid #f0f0f0; }
.rbp-theme-minimal-swiss .t-lang-item { font-size: 12px; color: #444; margin-bottom: 5px; font-weight: 700; }
.rbp-theme-minimal-swiss .t-refs-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.rbp-theme-minimal-swiss .t-ref-name { font-size: 12.5px; font-weight: 700; color: #111; }
.rbp-theme-minimal-swiss .t-ref-role { font-size: 11px; color: #666; }
.rbp-theme-minimal-swiss .t-ref-line { font-size: 11px; color: #666; display: flex; gap: 4px; }
.rbp-theme-minimal-swiss .t-ref-lbl { font-weight: 700; color: #e63946; }

/* ══════════════════════════════════════════════════════════
   THEME 6 — CORPORATE BLUE (finance/law professional)
   ══════════════════════════════════════════════════════════ */
#rbp-doc.rbp-theme-corporate-blue { display: grid; grid-template-columns: 215px 1fr; }
.rbp-theme-corporate-blue .t-sidebar { background: #1e3a5f; padding: 32px 20px; display: flex; flex-direction: column; gap: 22px; }
.rbp-theme-corporate-blue .t-photo-wrap { display: flex; justify-content: center; }
.rbp-theme-corporate-blue .t-photo { width: 100px; height: 100px; border-radius: 6px; border: 3px solid #4a8fcb; background: #163050; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.rbp-theme-corporate-blue .t-photo img { width: 100%; height: 100%; object-fit: cover; }
.rbp-theme-corporate-blue .t-sec-title { font-family: 'Josefin Sans',sans-serif; font-size: 10px; font-weight: 700; letter-spacing:.15em; text-transform: uppercase; color: #4a8fcb; border-bottom: 1px solid rgba(74,143,203,.3); padding-bottom: 5px; margin-bottom: 9px; }
.rbp-theme-corporate-blue .t-contact-item { margin-bottom: 8px; }
.rbp-theme-corporate-blue .t-contact-lbl { font-size: 9px; font-weight: 700; color: #4a8fcb; text-transform: uppercase; letter-spacing:.08em; }
.rbp-theme-corporate-blue .t-contact-val { font-size: 11px; color: rgba(255,255,255,.8); word-break: break-all; line-height: 1.4; }
.rbp-theme-corporate-blue .t-edu-item { margin-bottom: 10px; }
.rbp-theme-corporate-blue .t-edu-year { font-size: 10px; color: #4a8fcb; font-weight: 700; }
.rbp-theme-corporate-blue .t-edu-degree { font-size: 11.5px; font-weight: 700; color: #fff; line-height: 1.3; }
.rbp-theme-corporate-blue .t-edu-school { font-size: 11px; color: rgba(255,255,255,.55); }
.rbp-theme-corporate-blue .t-skills-ul { list-style: none; padding: 0; }
.rbp-theme-corporate-blue .t-skills-ul li { font-size: 11.5px; color: rgba(255,255,255,.8); padding: 3px 0 3px 10px; position: relative; }
.rbp-theme-corporate-blue .t-skills-ul li::before { content:'›'; position:absolute; left:0; color:#4a8fcb; font-weight:700; }
.rbp-theme-corporate-blue .t-lang-item { font-size: 12px; color: rgba(255,255,255,.8); margin-bottom: 5px; }
.rbp-theme-corporate-blue .t-main { padding: 30px 26px; background: #f7fafd; }
.rbp-theme-corporate-blue .t-name { font-family: 'Josefin Sans',sans-serif; font-size: 1.85rem; font-weight: 700; color: #1e3a5f; }
.rbp-theme-corporate-blue .t-jobtitle { font-family: 'Josefin Sans',sans-serif; font-size: 12px; color: #4a8fcb; letter-spacing:.18em; text-transform: uppercase; margin: 5px 0 12px; }
.rbp-theme-corporate-blue .t-summary { font-size: 12.5px; color: #3a4a5a; line-height: 1.8; margin-bottom: 18px; border-top: 2px solid #1e3a5f; padding-top: 14px; }
.rbp-theme-corporate-blue .t-block { margin-bottom: 18px; }
.rbp-theme-corporate-blue .t-block-title { font-family: 'Josefin Sans',sans-serif; font-size: 10.5px; font-weight: 700; letter-spacing:.15em; text-transform: uppercase; color: #1e3a5f; border-bottom: 2px solid #1e3a5f; padding-bottom: 4px; margin-bottom: 12px; }
.rbp-theme-corporate-blue .t-exp-entry { margin-bottom: 13px; padding-left: 14px; border-left: 3px solid #4a8fcb; }
.rbp-theme-corporate-blue .t-exp-date { font-size: 10px; font-weight: 700; color: #4a8fcb; }
.rbp-theme-corporate-blue .t-exp-role { font-size: 13px; font-weight: 700; color: #1e3a5f; }
.rbp-theme-corporate-blue .t-exp-place { font-size: 11px; color: #5a6a7a; }
.rbp-theme-corporate-blue .t-exp-desc { font-size: 11.5px; color: #4a5a6a; margin-top: 4px; line-height: 1.7; }
.rbp-theme-corporate-blue .t-refs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rbp-theme-corporate-blue .t-ref-name { font-size: 12.5px; font-weight: 700; color: #1e3a5f; }
.rbp-theme-corporate-blue .t-ref-role { font-size: 11px; color: #5a6a7a; }
.rbp-theme-corporate-blue .t-ref-line { font-size: 11px; color: #5a6a7a; display: flex; gap: 4px; }
.rbp-theme-corporate-blue .t-ref-lbl { font-weight: 700; color: #4a8fcb; }

/* ══════════════════════════════════════════════════════════
   THEME 7 — ELEGANT ROSE (rose sidebar, editorial)
   ══════════════════════════════════════════════════════════ */
#rbp-doc.rbp-theme-elegant-rose { display: grid; grid-template-columns: 210px 1fr; }
.rbp-theme-elegant-rose .t-sidebar { background: #c9848a; padding: 36px 20px; display: flex; flex-direction: column; gap: 24px; }
.rbp-theme-elegant-rose .t-photo-wrap { display: flex; justify-content: center; }
.rbp-theme-elegant-rose .t-photo { width: 105px; height: 105px; border-radius: 50%; border: 4px solid rgba(255,255,255,.5); background: rgba(255,255,255,.15); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.rbp-theme-elegant-rose .t-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.rbp-theme-elegant-rose .t-sec-title { font-family: 'Cormorant Garamond',serif; font-size: 14px; font-weight: 600; color: #fff; border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 5px; margin-bottom: 10px; letter-spacing:.04em; }
.rbp-theme-elegant-rose .t-contact-item { margin-bottom: 9px; }
.rbp-theme-elegant-rose .t-contact-lbl { font-size: 9px; font-weight: 700; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing:.1em; }
.rbp-theme-elegant-rose .t-contact-val { font-size: 11.5px; color: rgba(255,255,255,.9); line-height: 1.4; word-break: break-all; }
.rbp-theme-elegant-rose .t-edu-item { margin-bottom: 10px; }
.rbp-theme-elegant-rose .t-edu-year { font-size: 10px; color: rgba(255,255,255,.7); font-weight: 700; }
.rbp-theme-elegant-rose .t-edu-degree { font-size: 12px; font-weight: 700; color: #fff; line-height: 1.3; }
.rbp-theme-elegant-rose .t-edu-school { font-size: 11px; color: rgba(255,255,255,.65); }
.rbp-theme-elegant-rose .t-skills-ul { list-style: none; padding: 0; }
.rbp-theme-elegant-rose .t-skills-ul li { font-size: 12px; color: rgba(255,255,255,.88); margin-bottom: 5px; padding-bottom: 5px; border-bottom: 1px dotted rgba(255,255,255,.2); }
.rbp-theme-elegant-rose .t-lang-item { font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,.9); margin-bottom: 5px; }
.rbp-theme-elegant-rose .t-main { padding: 36px 28px; background: #fdf6f0; }
.rbp-theme-elegant-rose .t-name { font-family: 'Cormorant Garamond',serif; font-size: 2.3rem; font-weight: 700; color: #6b3040; line-height: 1.05; }
.rbp-theme-elegant-rose .t-jobtitle { font-family: 'Cormorant Garamond',serif; font-size: 14px; font-style: italic; color: #c9848a; margin: 5px 0 14px; }
.rbp-theme-elegant-rose .t-summary { font-size: 12.5px; color: #5a3a40; line-height: 1.85; margin-bottom: 20px; }
.rbp-theme-elegant-rose .t-block { margin-bottom: 20px; }
.rbp-theme-elegant-rose .t-block-title { font-family: 'Cormorant Garamond',serif; font-size: 1.15rem; font-weight: 700; color: #6b3040; margin-bottom: 10px; border-bottom: 1.5px solid #e8c4c8; padding-bottom: 4px; }
.rbp-theme-elegant-rose .t-exp-entry { margin-bottom: 13px; padding-bottom: 13px; border-bottom: 1px dashed #f0d0d4; }
.rbp-theme-elegant-rose .t-exp-entry:last-child { border-bottom: none; }
.rbp-theme-elegant-rose .t-exp-date { font-size: 10.5px; font-weight: 700; color: #c9848a; }
.rbp-theme-elegant-rose .t-exp-role { font-family: 'Cormorant Garamond',serif; font-size: 14.5px; font-weight: 700; color: #4a2030; }
.rbp-theme-elegant-rose .t-exp-place { font-size: 11.5px; color: #7a5060; }
.rbp-theme-elegant-rose .t-exp-desc { font-size: 12px; color: #5a3a40; margin-top: 5px; line-height: 1.75; }
.rbp-theme-elegant-rose .t-refs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rbp-theme-elegant-rose .t-ref-name { font-family: 'Cormorant Garamond',serif; font-size: 14px; font-weight: 700; color: #4a2030; }
.rbp-theme-elegant-rose .t-ref-role { font-size: 11px; color: #7a5060; }
.rbp-theme-elegant-rose .t-ref-line { font-size: 11px; color: #7a5060; display: flex; gap: 4px; }
.rbp-theme-elegant-rose .t-ref-lbl { font-weight: 700; color: #c9848a; }

/* ══════════════════════════════════════════════════════════
   THEME 8 — BOLD MIDNIGHT (dark luxury, gold accents)
   ══════════════════════════════════════════════════════════ */
#rbp-doc.rbp-theme-bold-midnight { display: flex; flex-direction: column; background: #0f0f1a; }
.rbp-theme-bold-midnight .t-top { padding: 34px 42px 20px; border-bottom: 1px solid rgba(255,215,0,.15); }
.rbp-theme-bold-midnight .t-header-inner { display: flex; align-items: center; gap: 20px; }
.rbp-theme-bold-midnight .t-photo { width: 90px; height: 90px; border-radius: 50%; border: 3px solid #ffd700; background: #1a1a2e; overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.rbp-theme-bold-midnight .t-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.rbp-theme-bold-midnight .t-name { font-family: 'Raleway',sans-serif; font-size: 2.2rem; font-weight: 800; color: #fff; letter-spacing:-.01em; line-height: 1; }
.rbp-theme-bold-midnight .t-jobtitle { font-family: 'Raleway',sans-serif; font-size: 12px; font-weight: 400; color: #ffd700; letter-spacing:.22em; text-transform: uppercase; margin-top: 6px; }
.rbp-theme-bold-midnight .t-contact-row { display: flex; flex-wrap: wrap; gap: 5px 18px; margin-top: 16px; padding-top: 13px; border-top: 1px solid rgba(255,215,0,.12); }
.rbp-theme-bold-midnight .t-c-item { font-size: 11.5px; color: rgba(255,255,255,.6); }
.rbp-theme-bold-midnight .t-summary { font-size: 12.5px; color: rgba(255,255,255,.65); line-height: 1.85; padding: 16px 42px; border-bottom: 1px solid rgba(255,215,0,.1); }
.rbp-theme-bold-midnight .t-body { display: grid; grid-template-columns: 1fr 205px; }
.rbp-theme-bold-midnight .t-main { padding: 22px 30px 22px 42px; }
.rbp-theme-bold-midnight .t-sidebar { padding: 22px; border-left: 1px solid rgba(255,215,0,.1); }
.rbp-theme-bold-midnight .t-block { margin-bottom: 20px; }
.rbp-theme-bold-midnight .t-block-title { font-family: 'Raleway',sans-serif; font-size: 10px; font-weight: 800; letter-spacing:.2em; text-transform: uppercase; color: #ffd700; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.rbp-theme-bold-midnight .t-block-title::after { content:''; flex:1; height:1px; background:linear-gradient(90deg,rgba(255,215,0,.4),transparent); }
.rbp-theme-bold-midnight .t-exp-entry { margin-bottom: 15px; padding-left: 14px; border-left: 2px solid rgba(255,215,0,.3); }
.rbp-theme-bold-midnight .t-exp-date { font-size: 10px; font-weight: 700; color: #ffd700; }
.rbp-theme-bold-midnight .t-exp-role { font-size: 13.5px; font-weight: 700; color: #fff; }
.rbp-theme-bold-midnight .t-exp-place { font-size: 11.5px; color: rgba(255,255,255,.5); }
.rbp-theme-bold-midnight .t-exp-desc { font-size: 11.5px; color: rgba(255,255,255,.6); margin-top: 5px; line-height: 1.75; }
.rbp-theme-bold-midnight .t-sec-title { font-family: 'Raleway',sans-serif; font-size: 9.5px; font-weight: 800; letter-spacing:.18em; text-transform: uppercase; color: #ffd700; margin-bottom: 10px; }
.rbp-theme-bold-midnight .t-edu-item { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.07); }
.rbp-theme-bold-midnight .t-edu-year { font-size: 10px; color: rgba(255,215,0,.7); font-weight: 700; }
.rbp-theme-bold-midnight .t-edu-degree { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.88); }
.rbp-theme-bold-midnight .t-edu-school { font-size: 11px; color: rgba(255,255,255,.45); }
.rbp-theme-bold-midnight .t-skill-tag { display: block; font-size: 12px; color: rgba(255,255,255,.75); margin-bottom: 5px; padding: 4px 0; border-bottom: 1px solid rgba(255,215,0,.1); }
.rbp-theme-bold-midnight .t-skill-tag::before { content:'⬡ '; color:#ffd700; font-size:8px; }
.rbp-theme-bold-midnight .t-lang-item { font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,.8); margin-bottom: 6px; }
.rbp-theme-bold-midnight .t-refs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rbp-theme-bold-midnight .t-ref-name { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.9); }
.rbp-theme-bold-midnight .t-ref-role { font-size: 11px; color: rgba(255,255,255,.45); margin-bottom: 3px; }
.rbp-theme-bold-midnight .t-ref-line { font-size: 11px; color: rgba(255,255,255,.5); display: flex; gap: 4px; }
.rbp-theme-bold-midnight .t-ref-lbl { font-weight: 700; color: #ffd700; }

/* ══════════════════════════════════════════════════════════
   THEME 9 — HARVARD CLASSIC
   Pure single-column, Times New Roman academic style.
   Name centred at top, bold section titles + full-width rule.
   ══════════════════════════════════════════════════════════ */
#rbp-doc.rbp-theme-harvard-classic { display: block; background: #fff; }

.rbp-theme-harvard-classic .t-hv-wrap { padding: 52px 56px; font-family: 'Georgia', 'Times New Roman', serif; color: #111; }
.rbp-theme-harvard-classic .t-hv-header { text-align: center; margin-bottom: 18px; }
.rbp-theme-harvard-classic .t-name { font-family: 'Georgia', 'Times New Roman', serif; font-size: 1.85rem; font-weight: 700; color: #111; letter-spacing: .02em; line-height: 1.1; }
.rbp-theme-harvard-classic .t-jobtitle { font-size: 12.5px; font-weight: 400; font-style: italic; color: #444; margin-top: 4px; letter-spacing: .06em; }
.rbp-theme-harvard-classic .t-hv-contact { font-size: 11.5px; color: #444; margin-top: 7px; letter-spacing: .03em; }
.rbp-theme-harvard-classic .t-hv-rule { border: none; border-top: 1.5px solid #111; margin-top: 12px; }

.rbp-theme-harvard-classic .t-hv-section { margin-bottom: 18px; }
.rbp-theme-harvard-classic .t-hv-section-title { font-family: 'Georgia','Times New Roman',serif; font-size: 12.5px; font-weight: 700; color: #111; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 3px; }
.rbp-theme-harvard-classic .t-hv-divider { border: none; border-top: 1px solid #111; margin-bottom: 10px; }

.rbp-theme-harvard-classic .t-hv-summary { font-size: 12px; color: #333; line-height: 1.8; }

.rbp-theme-harvard-classic .t-hv-edu-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.rbp-theme-harvard-classic .t-hv-edu-left {}
.rbp-theme-harvard-classic .t-hv-edu-school { font-size: 12.5px; font-weight: 700; color: #111; }
.rbp-theme-harvard-classic .t-hv-edu-degree { font-size: 12px; font-style: italic; color: #333; }
.rbp-theme-harvard-classic .t-hv-edu-year { font-size: 12px; color: #444; white-space: nowrap; padding-top: 1px; }

.rbp-theme-harvard-classic .t-hv-exp-block { margin-bottom: 13px; }
.rbp-theme-harvard-classic .t-hv-exp-top { display: flex; justify-content: space-between; align-items: flex-start; }
.rbp-theme-harvard-classic .t-hv-exp-left {}
.rbp-theme-harvard-classic .t-hv-exp-place { font-size: 12.5px; font-weight: 700; color: #111; }
.rbp-theme-harvard-classic .t-hv-exp-role { font-size: 12px; font-style: italic; color: #333; }
.rbp-theme-harvard-classic .t-hv-exp-year { font-size: 12px; color: #444; white-space: nowrap; }
.rbp-theme-harvard-classic .t-hv-exp-desc { font-size: 12px; color: #333; line-height: 1.75; margin-top: 4px; padding-left: 14px; border-left: 2px solid #ddd; }

.rbp-theme-harvard-classic .t-hv-skills { font-size: 12px; color: #333; line-height: 1.9; }
.rbp-theme-harvard-classic .t-hv-skill-item { font-size: 12px; }
.rbp-theme-harvard-classic .t-hv-skill-sep { color: #888; }

.rbp-theme-harvard-classic .t-hv-refs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rbp-theme-harvard-classic .t-ref-name { font-size: 12.5px; font-weight: 700; color: #111; }
.rbp-theme-harvard-classic .t-ref-role { font-size: 11.5px; font-style: italic; color: #444; }
.rbp-theme-harvard-classic .t-ref-line { font-size: 11.5px; color: #444; display: flex; gap: 4px; }
.rbp-theme-harvard-classic .t-ref-lbl { font-weight: 700; color: #111; }

/* ══════════════════════════════════════════════════════════
   THEME 10 — HARVARD CRIMSON
   Classic Harvard format with crimson (#A51C30) accents.
   Left crimson bar marks each section. Single column.
   ══════════════════════════════════════════════════════════ */
#rbp-doc.rbp-theme-harvard-crimson { display: block; background: #fff; }

.rbp-theme-harvard-crimson .t-hc-wrap { padding: 48px 52px; font-family: 'Georgia','Times New Roman',serif; color: #111; }
.rbp-theme-harvard-crimson .t-hc-header { margin-bottom: 22px; padding-bottom: 16px; border-bottom: 2px solid #A51C30; }
.rbp-theme-harvard-crimson .t-name { font-family: 'Georgia','Times New Roman',serif; font-size: 2rem; font-weight: 700; color: #111; line-height: 1.1; }
.rbp-theme-harvard-crimson .t-jobtitle { font-size: 13px; font-style: italic; color: #A51C30; margin-top: 4px; letter-spacing: .04em; }
.rbp-theme-harvard-crimson .t-hc-contact { font-size: 11.5px; color: #555; margin-top: 8px; }

.rbp-theme-harvard-crimson .t-hc-section { margin-bottom: 20px; }
.rbp-theme-harvard-crimson .t-hc-section-hd { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.rbp-theme-harvard-crimson .t-hc-bar { display: inline-block; width: 4px; height: 17px; background: #A51C30; border-radius: 2px; flex-shrink: 0; }
.rbp-theme-harvard-crimson .t-hc-section-title { font-family: 'Georgia','Times New Roman',serif; font-size: 13.5px; font-weight: 700; color: #111; text-transform: uppercase; letter-spacing: .1em; }

.rbp-theme-harvard-crimson .t-hc-summary { font-size: 12.5px; color: #333; line-height: 1.8; }

.rbp-theme-harvard-crimson .t-hc-edu-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px dotted #ddd; }
.rbp-theme-harvard-crimson .t-hc-edu-row:last-child { border-bottom: none; }
.rbp-theme-harvard-crimson .t-hc-edu-school { font-size: 13px; font-weight: 700; color: #111; }
.rbp-theme-harvard-crimson .t-hc-edu-degree { font-size: 12px; font-style: italic; color: #A51C30; margin-top: 2px; }
.rbp-theme-harvard-crimson .t-hc-edu-year { font-size: 12px; color: #666; white-space: nowrap; }

.rbp-theme-harvard-crimson .t-hc-exp-block { margin-bottom: 15px; padding-left: 14px; border-left: 2px solid #A51C30; }
.rbp-theme-harvard-crimson .t-hc-exp-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 4px; }
.rbp-theme-harvard-crimson .t-hc-exp-place { font-size: 13px; font-weight: 700; color: #111; }
.rbp-theme-harvard-crimson .t-hc-exp-role { font-size: 12px; font-style: italic; color: #A51C30; }
.rbp-theme-harvard-crimson .t-hc-exp-year { font-size: 12px; color: #666; white-space: nowrap; }
.rbp-theme-harvard-crimson .t-hc-exp-desc { font-size: 12px; color: #333; line-height: 1.75; }

.rbp-theme-harvard-crimson .t-hc-skills { display: flex; flex-wrap: wrap; gap: 6px; }
.rbp-theme-harvard-crimson .t-hc-skill-pill { font-size: 11.5px; color: #A51C30; border: 1px solid #A51C30; padding: 3px 10px; border-radius: 2px; font-family: 'Georgia','Times New Roman',serif; }

.rbp-theme-harvard-crimson .t-hc-refs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rbp-theme-harvard-crimson .t-ref-name { font-size: 12.5px; font-weight: 700; color: #111; }
.rbp-theme-harvard-crimson .t-ref-role { font-size: 11.5px; font-style: italic; color: #666; }
.rbp-theme-harvard-crimson .t-ref-line { font-size: 11.5px; color: #555; display: flex; gap: 4px; }
.rbp-theme-harvard-crimson .t-ref-lbl { font-weight: 700; color: #A51C30; }

/* ══════════════════════════════════════════════════════════
   THEME 11 — HARVARD MODERN
   Harvard structure, contemporary two-column layout.
   Narrow right sidebar for Education/Skills/Languages.
   ══════════════════════════════════════════════════════════ */
#rbp-doc.rbp-theme-harvard-modern { display: block; background: #fff; }

.rbp-theme-harvard-modern .t-hm-wrap { font-family: 'Georgia','Times New Roman',serif; color: #111; }
.rbp-theme-harvard-modern .t-hm-header { padding: 38px 48px 22px; text-align: center; border-bottom: 3px double #111; margin-bottom: 0; }
.rbp-theme-harvard-modern .t-name { font-family: 'Georgia','Times New Roman',serif; font-size: 2rem; font-weight: 700; color: #111; letter-spacing: .03em; }
.rbp-theme-harvard-modern .t-jobtitle { font-size: 12.5px; font-style: italic; color: #555; margin-top: 4px; }
.rbp-theme-harvard-modern .t-hm-contact { font-size: 11.5px; color: #555; margin-top: 8px; }
.rbp-theme-harvard-modern .t-hm-accent-line { display: none; }

.rbp-theme-harvard-modern .t-hm-body { display: grid; grid-template-columns: 1fr 210px; }
.rbp-theme-harvard-modern .t-hm-main { padding: 26px 34px 34px 48px; border-right: 1.5px solid #ddd; }
.rbp-theme-harvard-modern .t-hm-side { padding: 26px 28px 34px 26px; background: #fafafa; }

.rbp-theme-harvard-modern .t-hm-section { margin-bottom: 20px; }
.rbp-theme-harvard-modern .t-hm-section-title { font-family: 'Georgia','Times New Roman',serif; font-size: 12px; font-weight: 700; color: #111; text-transform: uppercase; letter-spacing: .14em; border-bottom: 1.5px solid #111; padding-bottom: 4px; margin-bottom: 10px; }

.rbp-theme-harvard-modern .t-hm-summary { font-size: 12.5px; color: #333; line-height: 1.8; }

.rbp-theme-harvard-modern .t-hm-exp-block { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px dotted #ccc; }
.rbp-theme-harvard-modern .t-hm-exp-block:last-child { border-bottom: none; }
.rbp-theme-harvard-modern .t-hm-exp-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 3px; }
.rbp-theme-harvard-modern .t-hm-exp-place { font-size: 13px; font-weight: 700; color: #111; }
.rbp-theme-harvard-modern .t-hm-exp-role { font-size: 12px; font-style: italic; color: #555; }
.rbp-theme-harvard-modern .t-hm-exp-year { font-size: 11.5px; color: #666; white-space: nowrap; }
.rbp-theme-harvard-modern .t-hm-exp-desc { font-size: 12px; color: #333; line-height: 1.75; margin-top: 4px; }

.rbp-theme-harvard-modern .t-hm-refs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rbp-theme-harvard-modern .t-ref-name { font-size: 12.5px; font-weight: 700; color: #111; }
.rbp-theme-harvard-modern .t-ref-role { font-size: 11.5px; font-style: italic; color: #666; }
.rbp-theme-harvard-modern .t-ref-line { font-size: 11.5px; color: #555; display: flex; gap: 4px; }
.rbp-theme-harvard-modern .t-ref-lbl { font-weight: 700; color: #111; }

.rbp-theme-harvard-modern .t-hm-side-section { margin-bottom: 18px; }
.rbp-theme-harvard-modern .t-hm-side-title { font-family: 'Georgia','Times New Roman',serif; font-size: 11px; font-weight: 700; color: #111; text-transform: uppercase; letter-spacing: .14em; border-bottom: 1px solid #aaa; padding-bottom: 4px; margin-bottom: 9px; }
.rbp-theme-harvard-modern .t-edu-item { margin-bottom: 10px; }
.rbp-theme-harvard-modern .t-edu-school { font-size: 12px; font-weight: 700; color: #111; }
.rbp-theme-harvard-modern .t-edu-degree { font-size: 11.5px; font-style: italic; color: #444; }
.rbp-theme-harvard-modern .t-edu-year { font-size: 11px; color: #777; }
.rbp-theme-harvard-modern .t-hm-skills-ul { list-style: none; padding: 0; }
.rbp-theme-harvard-modern .t-hm-skills-ul li { font-size: 12px; color: #333; padding: 4px 0; border-bottom: 1px dotted #ddd; }
.rbp-theme-harvard-modern .t-hm-skills-ul li::before { content: '— '; color: #999; }
.rbp-theme-harvard-modern .t-hm-lang-item { font-size: 12px; color: #333; padding: 3px 0; border-bottom: 1px dotted #ddd; }

/* ── TOAST ── */
.rbp-wrap .rbp-toast { position: fixed; bottom: 20px; right: 20px; background: var(--c-darker); color: #fff; padding: 10px 18px; border-radius: var(--r-sm); font-size: 13px; font-weight: 700; box-shadow: var(--shadow-lg); transform: translateY(70px); opacity: 0; transition: all .3s cubic-bezier(.34,1.56,.64,1); z-index: 99999; pointer-events: none; }
.rbp-wrap .rbp-toast.show { transform: translateY(0); opacity: 1; }
.rbp-wrap .rbp-toast.ok  { background: #2d6a4f; }
.rbp-wrap .rbp-toast.err { background: #b91c1c; }

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
  .rbp-wrap .rbp-app { grid-template-columns: 1fr; height: auto; overflow: visible; }
  .rbp-wrap .rbp-form-panel { height: auto; }
  .rbp-wrap .rbp-step { overflow: visible; }
  .rbp-wrap .rbp-preview-panel { padding: 14px 8px; }
  .rbp-wrap .rbp-grid-2 { grid-template-columns: 1fr; }
  #rbp-doc { width: 100%; min-width: 300px; }
  #rbp-doc.rbp-theme-sidebar-dark, #rbp-doc.rbp-theme-corporate-blue, #rbp-doc.rbp-theme-elegant-rose { grid-template-columns: 1fr; }
  #rbp-doc.rbp-theme-modern-teal { grid-template-columns: 8px 1fr; }
  .rbp-theme-minimal-swiss { padding: 24px 20px; }
  .rbp-theme-executive .t-exec-body, .rbp-theme-modern-teal .t-body, .rbp-theme-creative-coral .t-coral-body, .rbp-theme-minimal-swiss .t-body, .rbp-theme-bold-midnight .t-body { grid-template-columns: 1fr; }
}

@media print {
  body > *:not(#rbp-doc) { display: none !important; }
  #rbp-doc { width: 100% !important; box-shadow: none !important; }
}

/* ══════════════════════════════════════════════
   BUG FIX: Experience entry layout corrections
   ══════════════════════════════════════════════ */

/* t-exp-content: wrapper div for role/place/desc in expSimple()
   ensures 2-column grid themes (minimal-swiss, etc.) only see
   exactly 2 grid children per entry: [date col] [content col] */
.t-exp-content { display: block; min-width: 0; }

/* Sidebar-dark: t-exp-entry is the grid (18px dot-col | 1fr body).
   Each entry must span the full width — grid-column: 1 / -1 is not
   needed here because entries are no longer inside an outer grid
   (the erroneous outer wrapper div has been removed in script.js). */
.rbp-theme-sidebar-dark .t-exp-entry { display: grid; grid-template-columns: 18px 1fr; gap: 0 12px; margin-bottom: 20px; }
.rbp-theme-sidebar-dark .t-exp-body  { display: block; min-width: 0; }

/* Executive, corporate-blue, elegant-rose, bold-midnight, modern-teal,
   creative-coral: block-level entries — t-exp-content is just a block */
.rbp-theme-executive .t-exp-content,
.rbp-theme-corporate-blue .t-exp-content,
.rbp-theme-elegant-rose .t-exp-content,
.rbp-theme-bold-midnight .t-exp-content,
.rbp-theme-modern-teal .t-exp-content,
.rbp-theme-creative-coral .t-exp-content { display: block; }

/* Minimal-swiss: 2-col grid (82px date | 1fr content).
   t-exp-date goes in col 1, t-exp-content fills col 2. */
.rbp-theme-minimal-swiss .t-exp-entry   { display: grid; grid-template-columns: 82px 1fr; gap: 0 14px; margin-bottom: 14px; align-items: start; }
.rbp-theme-minimal-swiss .t-exp-date    { grid-column: 1; }
.rbp-theme-minimal-swiss .t-exp-content { grid-column: 2; display: block; min-width: 0; }
