.rb-wrap{--rb-accent:#1e40af;--rb-ink:#172033;--rb-muted:#667085;--rb-line:#dfe5ee;--rb-bg:#f5f8fc;max-width:1650px;margin:24px auto;padding:16px;color:var(--rb-ink);font-family:inherit}.rb-wrap *{box-sizing:border-box}.rb-header{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.rb-header h1{margin:0 0 6px;font-size:30px}.rb-header p,.rb-preview-note{color:var(--rb-muted)}.rb-wallet{background:#eaf1ff;padding:14px 18px;border-radius:12px}.rb-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#fff;border:1px solid var(--rb-line);padding:12px 18px;border-radius:12px;margin:18px 0}.rb-toolbar select{margin-left:10px}.rb-workspace{display:grid;grid-template-columns:minmax(340px,1fr) minmax(390px,1.05fr);gap:22px;align-items:start}.rb-editor{background:#fff;border:1px solid var(--rb-line);border-radius:16px;padding:20px}.rb-editor section{border-bottom:1px solid var(--rb-line);padding:12px 0 22px;margin-bottom:12px}.rb-editor h2,.rb-preview-head h2{font-size:19px;margin:0 0 10px}.rb-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rb-editor label{display:block;font-size:13px;font-weight:600;margin:10px 0;color:#344054}.rb-editor input:not([type=file]),.rb-editor textarea,.rb-toolbar select{display:block;width:100%;margin-top:5px;padding:10px 12px;border:1px solid #bfc9d8;border-radius:8px;background:#fff;color:#172033;font:inherit;font-size:14px}.rb-editor textarea{resize:vertical}.rb-tip{background:#eff6ff;color:#315276;padding:10px 12px;border-radius:8px;font-size:13px;margin:6px 0 14px}.rb-repeat-item{border:1px solid var(--rb-line);border-radius:10px;background:#f8fafc;padding:14px;margin:12px 0}.rb-repeat-item .rb-grid{gap:8px}.rb-actions{display:flex;gap:10px;flex-wrap:wrap;padding:12px 0}.rb-wrap button{border:0;background:var(--rb-accent);color:white;padding:11px 15px;border-radius:9px;cursor:pointer;font-weight:600}.rb-wrap button:disabled{opacity:.5;cursor:wait}.rb-wrap button.rb-secondary{background:#eaf0fa;color:#20375d;border:1px solid #b8c8df}.rb-photo-control{margin-top:14px}.rb-photo-control img{width:76px;height:76px;object-fit:cover;border-radius:10px;display:block;margin:8px 0}.rb-photo-control img[hidden]{display:none}.rb-photo-control small,.rb-editor small{display:block;color:var(--rb-muted);margin-top:6px}.rb-preview-panel{position:sticky;top:18px;max-height:calc(100vh - 36px);overflow:auto;background:#e9eef5;border-radius:16px;padding:18px}.rb-preview-head{display:flex;justify-content:space-between;align-items:center}.rb-preview-pages{display:flex;flex-direction:column;align-items:center;gap:20px}.rb-a4{--page-accent:#1e40af;width:210mm;height:297mm;min-height:297mm;background:#fff;color:#1f2937;padding:var(--rb-margin,1in);box-shadow:0 5px 24px #0002;font-family:Arial,Helvetica,sans-serif;font-size:10pt;line-height:1.42;position:relative;transform-origin:top center;overflow:hidden}.rb-a4[data-template=green]{--page-accent:#15803d}.rb-a4[data-template=executive]{--page-accent:#374151}.rb-a4[data-template=minimal]{--page-accent:#111827}.rb-a4[data-template=teal]{--page-accent:#0f766e}.rb-page-header{display:flex;justify-content:space-between;gap:14px;align-items:center;border-bottom:3px solid var(--page-accent);padding-bottom:12px;margin-bottom:15px}.rb-page-header h2{font-size:23pt;line-height:1.15;margin:0;color:var(--page-accent);overflow-wrap:anywhere}.rb-page-header .rb-subtitle{font-size:11pt;margin:5px 0}.rb-contact{font-size:8.5pt;color:#536071;overflow-wrap:anywhere}.rb-page-header img{width:29mm;height:29mm;object-fit:cover;border-radius:50%}.rb-resume-section{margin-bottom:13px;break-inside:avoid}.rb-resume-section h3{font-size:11pt;color:var(--page-accent);border-bottom:1px solid #d4dce8;padding-bottom:4px;margin:0 0 6px;text-transform:uppercase;letter-spacing:.4px}.rb-resume-item{margin:6px 0 10px;break-inside:avoid}.rb-resume-item strong{display:block}.rb-resume-item .rb-dates{font-size:8.5pt;color:#667085}.rb-resume-item p,.rb-resume-section p{margin:3px 0;white-space:pre-wrap;overflow-wrap:anywhere}.rb-page-footer{position:absolute;bottom:8mm;right:var(--rb-margin,1in);font-size:8pt;color:#98a2b3}.rb-ats-info{margin-top:25px;padding:25px;background:#fff;border:1px solid var(--rb-line);border-radius:16px}.rb-sample-scores{display:flex;justify-content:center;gap:70px;margin:22px 0;text-align:center}.rb-sample-scores>div{display:flex;align-items:center;flex-direction:column;gap:8px}.rb-score-ring{width:128px;height:128px;border-radius:50%;background:conic-gradient(#16a34a calc(var(--score)*1%),#e5e7eb 0);display:grid;place-items:center}.rb-score-ring>span{width:102px;height:102px;background:white;border-radius:50%;display:grid;place-content:center;font-size:29px;font-weight:700}.rb-score-ring small{font-size:11px;color:#667085}.rb-page-measurer{position:absolute;left:-99999px;top:0;visibility:hidden;pointer-events:none}.rb-status-error{color:#b42318}.rb-status-ok{color:#15803d}@media(max-width:1100px){.rb-workspace{grid-template-columns:1fr}.rb-preview-panel{position:static;max-height:none}.rb-a4{max-width:none}}@media(max-width:650px){.rb-grid{grid-template-columns:1fr}.rb-header h1{font-size:24px}.rb-sample-scores{gap:20px}.rb-preview-panel{padding:10px}.rb-toolbar{flex-wrap:wrap}}@media print{@page{size:A4;margin:0}body.rb-printing *{visibility:hidden!important}body.rb-printing #rbPreviewPages,body.rb-printing #rbPreviewPages *{visibility:visible!important}body.rb-printing #rbPreviewPages{position:absolute;left:0;top:0;width:210mm;gap:0!important}body.rb-printing .rb-a4{width:210mm!important;height:297mm!important;min-height:297mm!important;max-height:297mm!important;box-shadow:none!important;transform:none!important;margin:0!important;page-break-after:always;break-after:page}body.rb-printing .rb-a4:last-child{page-break-after:auto;break-after:auto}}

.rb-a4 .rb-continuation{font-size:9pt;color:#64748b;border-bottom:1px solid #e5e7eb;margin-bottom:12px;padding-bottom:5px}.rb-a4 .rb-resume-section h3,.rb-a4 .rb-section-heading{font-size:11pt;color:var(--page-accent);border-bottom:1px solid #d4dce8;padding-bottom:4px;margin:10px 0 6px;text-transform:uppercase;letter-spacing:.4px}.rb-a4 .rb-resume-item{margin:5px 0 10px}.rb-preview-panel{overflow-x:hidden}@media print{body.rb-printing .rb-preview-panel{overflow:visible!important;max-height:none!important}body.rb-printing #rbPreviewPages .rb-a4{overflow:hidden!important}}

/* Shared ATS template design tokens: Original and White & Blue Minimalist */
.rb-toolbar{flex-wrap:wrap;gap:12px}.rb-toolbar label{font-size:13px;font-weight:600}.rb-toolbar select{min-width:170px}
.rb-a4[data-template="white-blue-minimalist"]{font-family:Arial,sans-serif;color:#172b4d;--page-accent:#1d5fa7}
.rb-a4[data-template="white-blue-minimalist"] .rb-page-header{align-items:flex-start;border-bottom:3px solid #1d5fa7;padding-bottom:20px;margin-bottom:24px}
.rb-a4[data-template="white-blue-minimalist"] .rb-page-header h2{font-size:22.5pt;color:#174f86}
.rb-a4[data-template="white-blue-minimalist"] .rb-subtitle{font-size:12pt;font-weight:600;color:#3975a8}
.rb-a4[data-template="white-blue-minimalist"] .rb-contact{font-size:8.25pt;line-height:1.7;color:#52657b}
.rb-a4[data-template="white-blue-minimalist"] .rb-page-header img{width:26.5mm;height:31.75mm;object-fit:cover;border-radius:8px;border:3px solid #e3edf7}
.rb-a4[data-template="white-blue-minimalist"] .rb-section-heading{color:#1c5c96;border-color:#cbd9e8;letter-spacing:1px}
.rb-a4[data-template="white-blue-minimalist"] .rb-resume-item{margin-bottom:14px}

/* Template gallery and saved typography controls */
.rb-template-gallery,.rb-typography-panel{margin:16px 0;padding:18px;background:#fff;border:1px solid var(--rb-line);border-radius:12px;min-width:0}
.rb-template-gallery h2{font-size:19px;margin:0 0 6px}.rb-template-gallery p,.rb-typography-panel p{font-size:13px;color:var(--rb-muted)}
.rb-gallery-row{display:flex;align-items:center;gap:10px;min-width:0}.rb-gallery-row>button{flex:0 0 38px;padding:10px;font-size:25px}
.rb-template-cards{display:flex;gap:12px;overflow-x:auto;min-width:0;flex:1;padding:5px 3px 12px;scroll-snap-type:x proximity}
.rb-wrap .rb-template-card{flex:0 0 166px;display:flex;flex-direction:column;gap:8px;width:166px;background:#fff;color:#172033;text-align:left;padding:8px;border:2px solid #dfe5ee;border-radius:10px;scroll-snap-align:start}
.rb-wrap .rb-template-card.is-selected{border-color:#1e40af;box-shadow:0 0 0 2px #dbeafe}.rb-template-card img{display:block;width:100%;aspect-ratio:210/297;object-fit:contain;background:#f6f7f9}
.rb-template-card strong{font-size:13px}.rb-template-card small{font-size:12px;color:#1e40af}.rb-template-missing{display:grid;place-items:center;width:100%;aspect-ratio:210/297;background:#f3f4f6;color:#667085;font-size:12px;text-align:center;padding:12px}
.rb-type-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:14px}.rb-type-controls label{display:flex;flex-direction:column;gap:6px;font-size:13px}.rb-type-controls select,.rb-type-controls input[type=number]{padding:9px;border:1px solid #bfc9d8;border-radius:7px;min-width:0;width:100%;background:#fff;color:#172033}.rb-type-controls input[type=color]{height:38px;width:100%;padding:2px}.rb-type-controls label span{font-weight:400;font-size:12px}.rb-typography-panel summary{cursor:pointer;font-weight:600}
#rbPreviewPages{display:block;min-width:0;overflow:hidden}#rbPreviewFrame{display:block;border:0;width:794px;max-width:none;background:#e9eef5;transform-origin:top left}
.rb-preview-panel{max-height:calc(100vh - 36px);overflow-y:auto}
@media(max-width:700px){.rb-type-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.rb-template-card{flex-basis:145px}.rb-gallery-row{gap:6px}}
#rbPreviewFrame {
    width: 794px !important;
    min-width: 794px !important;
    max-width: none !important;
    flex: 0 0 auto !important;
}