.rb-toolbar { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:20px; }
.rb-toolbar .button { font-size:13px; }
.rb-import { position:relative; overflow:hidden; cursor:pointer; }
.rb-import input { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; }
.rb-import:focus-within { outline:3px solid var(--ghz-focus,#2563EB); outline-offset:3px; }
.rb-layout { display:grid; grid-template-columns:minmax(280px, .9fr) minmax(0, 1.1fr); gap:32px; align-items:start; }
.rb-editor { min-width:0; }
.rb-editor fieldset { border:1px solid var(--ghz-border,#E2E8F0); border-radius:12px; background:var(--ghz-card,#fff); padding:24px; margin:0 0 20px; }
.rb-editor legend { font-weight:700; padding:0 8px; }
.rb-editor .field { display:flex; flex-direction:column; gap:6px; margin-bottom:16px; }
.rb-editor input,.rb-editor textarea { width:100%; padding:10px 12px; border:1px solid var(--ghz-control-border,#64748B); border-radius:8px; background:var(--ghz-input,#fff); color:var(--ghz-input-fg,#0F172A); font:inherit; }
.rb-editor input:focus-visible,.rb-editor textarea:focus-visible { outline:3px solid var(--ghz-focus,#2563EB); outline-offset:2px; }
.rb-entry { border-bottom:1px solid var(--ghz-border,#E2E8F0); padding-bottom:20px; margin-bottom:20px; }
.rb-preview-column { min-width:0; }
.rb-sheet { background:#fff; color:#17202a; padding:36px; border:1px solid #d7dee7; font:14px/1.5 Arial,sans-serif; overflow-wrap:anywhere; min-height:600px; }
.rb-sheet h1 { font:700 30px/1.2 Arial,sans-serif; margin:0 0 6px; color:#102A43; letter-spacing:0; }
.rb-sheet .rb-headline { font-size:17px; color:#334155; margin:0 0 10px; }
.rb-sheet .rb-contact { font-size:12px; margin:0 0 20px; }
.rb-sheet h2 { font:700 15px/1.3 Arial,sans-serif; text-transform:uppercase; letter-spacing:1px; margin:22px 0 10px; padding-bottom:6px; border-bottom:1px solid #cbd5e1; color:#102A43; }
.rb-sheet h3 { font:700 14px/1.4 Arial,sans-serif; letter-spacing:0; margin:12px 0 2px; }
.rb-sheet p { margin:0 0 10px; white-space:pre-wrap; }
.rb-sheet ul { margin:6px 0 14px; padding-left:20px; }
.rb-sheet .rb-entry-meta { font-size:12px; color:#334155; }
@media(max-width:1000px) { .rb-layout { grid-template-columns:1fr; } }
@media(max-width:500px) { .rb-sheet { padding:22px; }.rb-editor fieldset { padding:18px; } }
@page { size:A4; margin:14mm; }
@media print {
 body { background:#fff!important; color:#000; }
 .site-header,.site-footer,#wpadminbar,.skip-link,.page-hero,.rb-toolbar,.rb-privacy,#rb-status,.rb-editor,.rb-preview-label,noscript { display:none!important; }
 main,.section,.container,.rb-layout,.rb-preview-column,#ghz-resume-builder { display:block!important; width:100%!important; max-width:none!important; margin:0!important; padding:0!important; }
 .rb-sheet { border:0; padding:0; min-height:0; font-size:10.5pt; box-shadow:none; }
 .rb-sheet h1 { font-size:24pt; }.rb-sheet h2 { break-after:avoid; }.rb-sheet h3,.rb-entry-meta { break-after:avoid; }.rb-sheet li { break-inside:avoid; }
 .rb-sheet h2,.rb-sheet h3 { page-break-after:avoid; }
}

.rb-editor fieldset[data-rb-main] { border:0; padding:0; background:transparent; }
@media print { .preview-notice { display:none!important; } }
/* Template picker uses editable HTML/CSS previews, never résumé screenshots. */
.rb-templates { border:0; padding:0; margin:0 0 28px; }
.rb-templates legend { font-weight:700; font-size:24px; margin-bottom:8px; }
.rb-template-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.rb-template-card { display:flex; flex-direction:column; gap:10px; padding:18px; border:2px solid var(--ghz-border,#E2E8F0); border-radius:14px; background:var(--ghz-card,#fff); color:var(--ghz-card-fg,#0F172A); text-align:left; cursor:pointer; font:inherit; }
.rb-template-card[aria-pressed=true] { border-color:var(--ghz-primary,#2563EB); box-shadow:0 0 0 1px var(--ghz-primary,#2563EB); }
.rb-template-card:focus-visible { outline:3px solid var(--ghz-focus,#2563EB); outline-offset:4px; }
.rb-template-card>strong { font-size:16px; }.rb-template-card>span:last-child { font-size:13px; line-height:1.5; color:var(--ghz-muted,#64748B); }
.rb-mini { display:block; width:100%; max-width:150px; margin:0 auto 6px; padding:18px 14px; background:#fff; border:1px solid #cbd5e1; min-height:168px; }
.rb-mini>span { display:block; height:3px; background:#cbd5e1; margin:5px 0; border-radius:1px; }
.rb-mini .rb-mini-name { width:65%; height:6px; background:#102A43; }.rb-mini .rb-mini-contact { width:80%; height:2px; }.rb-mini .rb-mini-heading { width:55%; background:#64748b; margin-top:14px; }.rb-mini .rb-mini-short { width:70%; }
.rb-mini-modern { border-top:8px solid #2563eb; }.rb-mini-modern .rb-mini-name,.rb-mini-modern .rb-mini-heading { background:#2563eb; }
.rb-mini-classic .rb-mini-name,.rb-mini-classic .rb-mini-contact { margin-left:auto; margin-right:auto; }.rb-mini-classic .rb-mini-heading { width:100%; height:1px; background:#102A43; }
.rb-mini-graduate { border-left:5px solid #0f766e; }.rb-mini-graduate .rb-mini-heading { background:#0f766e; }
.rb-sheet[data-template=modern] .rb-document-header { border-left:5px solid #2563eb; background:#eff6ff; padding:18px 20px; print-color-adjust:exact; -webkit-print-color-adjust:exact; }
.rb-sheet[data-template=modern] h2 { color:#1d4ed8; border-color:#2563eb; }
.rb-sheet[data-template=classic] { font-family:Georgia,'Times New Roman',serif; }
.rb-sheet[data-template=classic] .rb-document-header { text-align:center; border-bottom:2px solid #102A43; padding-bottom:14px; }
.rb-sheet[data-template=classic] h1,.rb-sheet[data-template=classic] h2,.rb-sheet[data-template=classic] h3 { font-family:Georgia,'Times New Roman',serif; }
.rb-sheet[data-template=classic] h2 { text-transform:none; letter-spacing:0; font-size:17px; }
.rb-sheet[data-template=graduate] .rb-document-header { border-bottom:3px solid #0f766e; padding-bottom:12px; }
.rb-sheet[data-template=graduate] h2 { color:#0f766e; border-color:#99bdb9; }
@media(max-width:760px) { .rb-template-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:380px) { .rb-template-card { padding:12px; }.rb-mini { padding:12px 10px; min-height:140px; } }
@media print { .rb-templates { display:none!important; }.rb-sheet[data-template=classic] h2 { font-size:12pt; } }
