.rts-builder-page{background:#eef1f7;min-height:100vh}.rts-builder{max-width:1500px;margin:auto}.rts-builder-toolbar{position:sticky;top:76px;z-index:35;background:#fff;border-bottom:1px solid var(--rts-border);padding:12px 22px;display:flex;justify-content:space-between;align-items:center}.rts-builder-toolbar strong{font-size:18px}.rts-builder-toolbar span{font-size:11px;color:var(--rts-success);margin-left:10px}.rts-toolbar-actions{display:flex;gap:8px}.rts-builder-layout{display:grid;grid-template-columns:minmax(380px,520px) 1fr;min-height:calc(100vh - 130px)}.rts-builder-form{background:#fff;border-right:1px solid var(--rts-border);padding:18px 22px 60px;overflow:auto;max-height:calc(100vh - 130px);position:sticky;top:130px}.rts-builder-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f3f4f6;border-radius:12px;padding:4px;margin-bottom:16px}.rts-builder-tabs button{border:0;background:transparent;padding:10px;border-radius:9px;font-weight:800;cursor:pointer}.rts-builder-tabs button.active{background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.06);color:var(--rts-primary)}.rts-tab-panel{display:none}.rts-tab-panel.active{display:block}.rts-builder-form details{border:1px solid var(--rts-border);border-radius:14px;margin:12px 0;background:#fff}.rts-builder-form summary{padding:14px 16px;font-weight:900;cursor:pointer}.rts-builder-form details>div,.rts-builder-form details>.rts-field,.rts-builder-form details>button{margin-left:14px;margin-right:14px}.rts-builder-form details>.rts-field:last-child,.rts-builder-form details>button:last-child{margin-bottom:14px}.rts-field{margin:12px 0}.rts-field label{display:block;font-size:12px;font-weight:800;margin-bottom:5px}.rts-field input,.rts-field textarea,.rts-field select{width:100%;border:1px solid #dfe3ec;border-radius:10px;padding:10px 11px;font:inherit;background:#fff}.rts-field textarea{resize:vertical}.rts-field small{display:block;color:#7a8496;margin-top:5px;font-size:11px}.rts-fields-2{display:grid;grid-template-columns:1fr 1fr;gap:0 10px;padding:0 14px}.rts-add-btn,.rts-link-btn{border:0;background:transparent;color:var(--rts-primary);font-weight:900;cursor:pointer;padding:8px 0 14px}.rts-item{border:1px dashed #d5d9e5;border-radius:12px;padding:10px;margin:0 14px 10px}.rts-item-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.rts-item textarea{grid-column:1/-1}.rts-item-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.rts-item-head strong{font-size:12px}.rts-remove{border:0;background:#fff1f2;color:#be123c;border-radius:8px;padding:5px 8px;cursor:pointer}.rts-template-picker{display:grid;grid-template-columns:1fr 1fr;gap:8px}.rts-template-choice{border:2px solid #e5e7eb;border-radius:12px;background:#fff;padding:8px;text-align:left;cursor:pointer}.rts-template-choice.active{border-color:var(--rts-primary);box-shadow:0 0 0 3px rgba(91,92,240,.1)}.rts-template-choice span{display:block;height:72px;border-radius:7px;background:linear-gradient(135deg,var(--choice-accent),#fff);position:relative;overflow:hidden}.rts-template-choice span:before{content:"";position:absolute;width:55%;height:70%;background:#fff;left:22%;top:14%;box-shadow:0 3px 10px rgba(0,0,0,.1)}.rts-template-choice b{display:block;font-size:11px;margin-top:5px}.rts-preview-wrap{padding:28px;overflow:auto}.rts-preview-sticky{position:sticky;top:150px}.rts-preview-label{max-width:794px;margin:0 auto 8px;display:flex;justify-content:space-between;color:#6b7280;font-size:11px;font-weight:900}.rts-resume{--accent:#5b5cf0;--resume-font:10pt;width:794px;min-height:1123px;margin:auto;background:#fff;box-shadow:0 20px 60px rgba(15,23,42,.14);color:#1f2937;font-family:Arial,sans-serif;font-size:var(--resume-font);line-height:1.45;overflow:hidden}.rts-resume *{box-sizing:border-box}.rts-resume h1,.rts-resume h2,.rts-resume h3,.rts-resume p{margin-top:0}.rts-resume .cv-header{padding:34px 42px 24px;border-bottom:5px solid var(--accent);display:grid;grid-template-columns:1fr auto;gap:20px}.rts-resume .cv-name{font-size:28pt;line-height:1;margin:0;text-transform:uppercase;letter-spacing:.5px}.rts-resume .cv-title{color:var(--accent);font-size:12pt;font-weight:800;margin-top:8px}.rts-resume .cv-photo{width:92px;height:92px;border-radius:50%;object-fit:cover;border:4px solid color-mix(in srgb,var(--accent),#fff 70%)}.rts-resume .cv-contact{display:flex;flex-wrap:wrap;gap:6px 18px;padding:10px 42px;background:#f7f8fc;font-size:9pt}.rts-resume .cv-body{padding:26px 42px 40px}.rts-resume .cv-section{margin-bottom:22px}.rts-resume .cv-section-title{font-size:11pt;text-transform:uppercase;letter-spacing:1.7px;color:var(--accent);border-bottom:1px solid #dfe3e8;padding-bottom:6px;margin-bottom:10px}.rts-resume .cv-entry{margin-bottom:14px}.rts-resume .cv-entry-head{display:flex;justify-content:space-between;gap:20px}.rts-resume .cv-entry h3{font-size:10.5pt;margin:0}.rts-resume .cv-entry small{color:#6b7280}.rts-resume .cv-entry ul{margin:6px 0 0 18px;padding:0}.rts-resume .cv-skills{display:flex;flex-wrap:wrap;gap:6px}.rts-resume .cv-skills span{border:1px solid color-mix(in srgb,var(--accent),#fff 65%);background:color-mix(in srgb,var(--accent),#fff 93%);padding:4px 8px;border-radius:999px}.rts-resume .cv-two-col{display:grid;grid-template-columns:1fr 1fr;gap:30px}.rts-resume.rts-template-executive .cv-header{background:#17233e;color:#fff;border:0}.rts-resume.rts-template-executive .cv-title{color:#7dd3fc}.rts-resume.rts-template-clean{font-family:Georgia,serif}.rts-resume.rts-template-clean .cv-header{border-bottom:1px solid #222}.rts-resume.rts-template-clean .cv-title,.rts-resume.rts-template-clean .cv-section-title{color:#111}.rts-resume.rts-template-clean .cv-contact{background:#fff;border-bottom:1px solid #ddd}.rts-resume.rts-template-sidebar .cv-shell{display:grid;grid-template-columns:31% 69%;min-height:1123px}.rts-resume.rts-template-sidebar .cv-side{background:var(--accent);color:#fff;padding:35px 24px}.rts-resume.rts-template-sidebar .cv-main{padding:38px}.rts-resume.rts-template-sidebar .cv-photo{width:110px;height:110px;display:block;margin:0 auto 22px;border-color:rgba(255,255,255,.5)}.rts-resume.rts-template-sidebar .cv-side .cv-section-title{color:#fff;border-color:rgba(255,255,255,.4)}.rts-resume.rts-template-sidebar .cv-side .cv-skills{display:block}.rts-resume.rts-template-sidebar .cv-side .cv-skills span{display:block;margin:5px 0;background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.25)}.rts-resume.rts-template-bold .cv-header{background:var(--accent);color:#fff;border:0;padding:42px}.rts-resume.rts-template-bold .cv-title{color:#fff}.rts-resume.rts-template-minimal .cv-header{border:0;padding-bottom:10px}.rts-resume.rts-template-minimal .cv-contact{background:#fff;border-top:1px solid #eee;border-bottom:1px solid #eee}.rts-resume.rts-template-minimal .cv-section-title{color:#111;border-bottom:2px solid #111}.rts-resume.rts-template-blueprint .cv-header{background:#eff6ff;border-color:#2563eb}.rts-resume.rts-template-emerald .cv-header{background:#ecfdf5}.rts-resume.rts-template-sand .cv-header{background:#fff7ed}.rts-resume.rts-template-mono{filter:grayscale(1)}.rts-resume.rts-template-compact{font-size:9pt}.rts-resume.rts-template-compact .cv-header{padding:24px 34px 18px}.rts-resume.rts-template-compact .cv-contact{padding:8px 34px}.rts-resume.rts-template-compact .cv-body{padding:18px 34px}.rts-resume.rts-template-creative .cv-header{background:linear-gradient(135deg,var(--accent),#2563eb);color:#fff;border:0}.rts-resume.rts-template-creative .cv-title{color:#fff}.rts-resume.rts-template-creative .cv-section-title{border:0;background:color-mix(in srgb,var(--accent),#fff 92%);padding:7px 10px;border-radius:6px}
@media(max-width:1100px){.rts-builder-layout{grid-template-columns:440px 1fr}.rts-preview-wrap{padding:20px}.rts-preview-sticky{transform-origin:top left;zoom:.78}}
@media(max-width:840px){.rts-builder-toolbar{top:76px}.rts-builder-layout{display:block}.rts-builder-form{position:relative;top:0;max-height:none;border-right:0}.rts-preview-wrap{padding:18px 8px}.rts-preview-sticky{zoom:.5}.rts-preview-label{width:794px}.rts-fields-2{grid-template-columns:1fr}}
@media print{body *{visibility:hidden!important}.rts-resume,.rts-resume *{visibility:visible!important}.rts-resume{position:absolute!important;left:0!important;top:0!important;width:210mm!important;min-height:297mm!important;box-shadow:none!important;margin:0!important}.rts-header,.rts-footer,.rts-builder-toolbar,.rts-builder-form,.rts-preview-label{display:none!important}@page{size:A4;margin:0}}

/* v2.1 - 24 production resume templates */
.rts-template-picker{grid-template-columns:repeat(2,minmax(0,1fr));max-height:520px;overflow:auto;padding-right:4px}
.rts-template-choice .rts-choice-thumb{height:150px;background-size:cover;background-position:top center;background-color:#f8fafc;border:1px solid #e5e7eb}
.rts-template-choice .rts-choice-thumb:before{display:none}
.rts-resume .cv-photo-placeholder{display:flex;align-items:center;justify-content:center;background:#eef2f7;color:#94a3b8;font-size:8pt;font-weight:800}
.rts-resume .cv-skill-list{margin:0;padding-left:18px}.rts-resume .cv-skill-list li{margin:4px 0}
.rts-resume .cv-company span{color:#94a3b8}.rts-resume .cv-contact-in-header{padding:10px 0 0;background:none;color:inherit}
.rts-resume .cv-card-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.rts-resume .cv-card{padding:15px;border-radius:10px}.rts-resume .cv-split-body{display:grid;grid-template-columns:1.25fr .75fr;gap:28px}.rts-resume .cv-grid-body{display:grid;grid-template-columns:1fr 1fr;gap:18px}.rts-resume .cv-grid-body>.cv-section{margin:0}.rts-resume .cv-grid-wide{grid-column:1/-1}.rts-resume .cv-compact-body{display:grid;grid-template-columns:34% 66%;gap:0}.rts-resume .cv-compact-body>aside{padding:24px;background:#f8fafc}.rts-resume .cv-compact-body>main{padding:24px 34px}.rts-resume .cv-timeline .cv-entry{position:relative;padding-left:22px;border-left:2px solid color-mix(in srgb,var(--accent),#fff 55%)}.rts-resume .cv-timeline .cv-entry:before{content:"";position:absolute;left:-6px;top:3px;width:10px;height:10px;border-radius:50%;background:var(--accent)}
/* 01 Crimson Angle */
.rts-template-crimson-angle{background:#fbf6ef}.rts-template-crimson-angle .cv-shell{grid-template-columns:31% 69%}.rts-template-crimson-angle .cv-side{background:var(--accent);padding:38px 28px;position:relative}.rts-template-crimson-angle .cv-side:before{content:"";position:absolute;right:-55px;top:0;border-top:70px solid var(--accent);border-right:55px solid transparent}.rts-template-crimson-angle .cv-main{padding:50px 42px}.rts-template-crimson-angle .cv-name,.rts-template-crimson-angle .cv-section-title{font-family:Georgia,serif}.rts-template-crimson-angle .cv-side .cv-section-title{color:#fff}.rts-template-crimson-angle .cv-main .cv-section-title{color:var(--accent)}
/* 02 Navy Ribbon */
.rts-template-navy-ribbon .cv-side{background:#19395c}.rts-template-navy-ribbon .cv-main{padding:42px}.rts-template-navy-ribbon .cv-side .cv-section-title{border:1px solid #fff;border-radius:999px;text-align:center;padding:5px;color:#fff}.rts-template-navy-ribbon .cv-side .cv-skills span{background:transparent;border:0;border-bottom:5px solid #d2a63c;border-radius:0;padding:3px 0}.rts-template-navy-ribbon .cv-main .cv-section-title{background:#19395c;color:#fff;border:0;border-radius:999px;padding:6px 14px;width:55%;text-align:center}
/* 03 Midnight Ledger */
.rts-template-midnight-ledger .cv-side{background:#111827}.rts-template-midnight-ledger .cv-main{padding:44px}.rts-template-midnight-ledger .cv-main .cv-section-title{color:#111827;border-bottom:2px dashed #94a3b8}.rts-template-midnight-ledger .cv-main .cv-entry{padding-left:18px;border-left:1px solid #111827;position:relative}.rts-template-midnight-ledger .cv-main .cv-entry:before{content:"";position:absolute;width:8px;height:8px;border-radius:50%;background:#111827;left:-4.5px;top:5px}
/* 04 Cobalt Blocks */
.rts-template-cobalt-blocks .cv-side{background:#174c91}.rts-template-cobalt-blocks .cv-main{padding:42px}.rts-template-cobalt-blocks .cv-main .cv-section-title{background:#174c91;color:#fff;border:0;padding:8px 12px}.rts-template-cobalt-blocks .cv-side .cv-section-title{color:#fff;border-color:rgba(255,255,255,.4)}
/* 05 Teal Curve */
.rts-template-teal-curve .cv-header{background:#eaf7f7;border-left:10px solid var(--accent);border-bottom:0;padding:38px 42px}.rts-template-teal-curve .cv-section-title{color:var(--accent)}.rts-template-teal-curve .cv-split-body>div{background:#f7fbfb;padding:18px;border-radius:10px}
/* 06 Executive Gold */
.rts-template-executive-gold{background:#fcfbf7;font-family:Georgia,serif}.rts-template-executive-gold .cv-header{background:#17233e;color:#fff;border-bottom:5px solid #c89b3c}.rts-template-executive-gold .cv-title{color:#c89b3c}.rts-template-executive-gold .cv-section-title{color:#17233e;border-bottom:1px solid #c89b3c}
/* 07 Emerald Professional */
.rts-template-emerald-professional .cv-side{background:#0b7a5a}.rts-template-emerald-professional .cv-main .cv-section-title{color:#0b7a5a}.rts-template-emerald-professional .cv-side .cv-section-title{color:#fff}
/* 08 Slate Clean */
.rts-template-slate-clean .cv-header{border-bottom:2px solid #475569}.rts-template-slate-clean .cv-section-title{color:#334155;border-bottom:1px solid #cbd5e1}.rts-template-slate-clean .cv-contact{background:#f1f5f9}
/* 09 Indigo Modern */
.rts-template-indigo-modern .cv-header{margin:24px;border:0;border-radius:16px;background:#4f46e5;color:#fff;padding:30px}.rts-template-indigo-modern .cv-title{color:#fff}.rts-template-indigo-modern .cv-body{padding-top:8px}.rts-template-indigo-modern .cv-card{background:#eef2ff}.rts-template-indigo-modern .cv-section-title{color:#4f46e5;border:0}
/* 10 Ocean Split */
.rts-template-ocean-split .cv-side{background:#087ea4}.rts-template-ocean-split .cv-main .cv-section-title{color:#087ea4}.rts-template-ocean-split .cv-side .cv-section-title{color:#fff}
/* 11 Burgundy Classic */
.rts-template-burgundy-classic{background:#fbf4ee;font-family:Georgia,serif;border-left:6px solid #7f1d2d}.rts-template-burgundy-classic .cv-header{border:0;padding-bottom:12px}.rts-template-burgundy-classic .cv-contact{background:transparent;border-bottom:1px solid #d6c6bc}.rts-template-burgundy-classic .cv-section-title{color:#7f1d2d}
/* 12 Black Copper */
.rts-template-black-copper .cv-side{background:#20242a;border-top:8px solid #c7773a}.rts-template-black-copper .cv-main .cv-section-title{color:#c7773a}.rts-template-black-copper .cv-side .cv-section-title{color:#c7773a}
/* 13 Purple Studio */
.rts-template-purple-studio .cv-header{margin:24px;border:0;border-radius:16px;background:#7c3aed;color:#fff;padding:30px}.rts-template-purple-studio .cv-title{color:#fff}.rts-template-purple-studio .cv-card{background:#f3e8ff}.rts-template-purple-studio .cv-section-title{color:#7c3aed;border:0}
/* 14 Forest Line */
.rts-template-forest-line{background:#ecfdf5;border-left:6px solid #166534}.rts-template-forest-line .cv-header{border:0}.rts-template-forest-line .cv-contact{background:transparent;border-bottom:1px solid #bbf7d0}.rts-template-forest-line .cv-section-title{color:#166534}
/* 15 Azure Timeline */
.rts-template-azure-timeline .cv-header{background:#eff6ff;border:0}.rts-template-azure-timeline .cv-section-title{color:#2563eb}.rts-template-azure-timeline .cv-timeline .cv-entry{border-color:#93c5fd}.rts-template-azure-timeline .cv-timeline .cv-entry:before{background:#2563eb}
/* 16 Coral Modern */
.rts-template-coral-modern .cv-header{background:#fff1ee;border-left:10px solid #ea5a47;border-bottom:0;padding:38px 42px}.rts-template-coral-modern .cv-section-title{color:#ea5a47}.rts-template-coral-modern .cv-split-body>div{background:#fff7f5;padding:18px;border-radius:10px}
/* 17 Steel Blue */
.rts-template-steel-blue .cv-side{background:#355c7d}.rts-template-steel-blue .cv-main .cv-section-title{color:#355c7d}.rts-template-steel-blue .cv-side .cv-section-title{color:#fff}
/* 18 Sandstone Executive */
.rts-template-sandstone-executive{background:#f8f2e8;font-family:Georgia,serif}.rts-template-sandstone-executive .cv-header{background:#8a5a2b;color:#fff;border-bottom:5px solid #caa66a}.rts-template-sandstone-executive .cv-title{color:#fff}.rts-template-sandstone-executive .cv-section-title{color:#8a5a2b;border-bottom:1px solid #caa66a}
/* 19 Graphite ATS */
.rts-template-graphite-ats .cv-header{border-bottom:3px solid #1f2937;padding-bottom:18px}.rts-template-graphite-ats .cv-contact{background:#fff;border-bottom:1px solid #d1d5db}.rts-template-graphite-ats .cv-section-title{color:#111827;border-bottom:1px solid #9ca3af}.rts-template-graphite-ats .cv-photo{display:none}
/* 20 Minimal Serif */
.rts-template-minimal-serif{font-family:Georgia,serif}.rts-template-minimal-serif .cv-header{border:0;text-align:center;display:block}.rts-template-minimal-serif .cv-photo{display:none}.rts-template-minimal-serif .cv-contact{justify-content:center;background:#fff;border-top:1px solid #111;border-bottom:1px solid #111}.rts-template-minimal-serif .cv-section-title{color:#111;border-bottom:1px solid #111}
/* 21 Tech Grid */
.rts-template-tech-grid .cv-header{background:#0e7490;color:#fff;border:0}.rts-template-tech-grid .cv-title{color:#fff}.rts-template-tech-grid .cv-grid-body{padding-top:22px}.rts-template-tech-grid .cv-card{background:#ecfeff}.rts-template-tech-grid .cv-section-title{color:#0e7490;border:0}
/* 22 Royal Column */
.rts-template-royal-column .cv-side{background:#1d4ed8}.rts-template-royal-column .cv-main .cv-section-title{background:#1d4ed8;color:#fff;border:0;padding:8px 12px}.rts-template-royal-column .cv-side .cv-section-title{color:#fff}
/* 23 Aqua Compact */
.rts-template-aqua-compact .cv-header{background:#0891b2;color:#fff;border:0;padding:25px 34px}.rts-template-aqua-compact .cv-title{color:#fff}.rts-template-aqua-compact .cv-contact{background:#ecfeff}.rts-template-aqua-compact .cv-compact-body>aside{background:#ecfeff}.rts-template-aqua-compact .cv-section-title{color:#0891b2}
/* 24 Mono Professional */
.rts-template-mono-professional .cv-header{background:#111827;color:#fff;border:0}.rts-template-mono-professional .cv-title{color:#d1d5db}.rts-template-mono-professional .cv-contact{background:#f3f4f6}.rts-template-mono-professional .cv-section-title{color:#111827;border-bottom:1px solid #9ca3af}.rts-template-mono-professional .cv-photo{display:none}

/* v3.0 admin-imported template support */
.rts-job-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:7px}.rts-danger-link{color:#b91c1c}.rts-template-choice small{display:block;color:#7a8496;font-size:9px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rts-template-choice .rts-choice-pdf{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f8fafc,#eef2ff)}.rts-template-choice .rts-choice-pdf i{font-style:normal;font-weight:900;font-size:20px;color:#475569;border:2px solid #cbd5e1;border-radius:8px;padding:8px 11px;background:#fff}.rts-template-choice.active b{color:var(--rts-primary)}
