@font-face {
  font-family: "Twemoji Country Flags";
  src: url("../../../../../backend/fonts/TwemojiCountryFlags.woff2") format("woff2");
  font-display: swap;
}
/* Resume Review · FORM. Every selector is prefixed r4p-rrfm__ (or the shared .r4p-rrb root), so it cannot clash with the rest of the site.
   Colour tokens, icons and the reveal animation come from shared/base.css. */
.r4p-rrfm__textlink:focus-visible{outline:2px solid var(--r4prr-brand);outline-offset:2px}
.r4p-rrfm__rating:focus-visible{outline:2px solid var(--r4prr-brand);outline-offset:2px}
.r4p-rrfm__textlink{font-weight:700;color:var(--r4prr-brand);text-decoration:underline;text-underline-offset:3px}
.r4p-rrfm__help{margin:12px 0 0;font-size:12.5px;line-height:1.7;text-align:center;color:var(--r4prr-muted)}
.r4p-rrfm__rating{position:relative;display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:0 6px;min-height:32px;font-size:12.5px;line-height:1.3;font-weight:600;text-align:right;color:var(--r4prr-muted);text-decoration:none}
.r4p-rrfm__rating::before{content:"";position:absolute;inset:-6px -4px}
.r4p-rrfm__rating-num{font-size:13.5px;color:var(--r4prr-ink)}
.r4p-rrfm__stars{position:relative;display:inline-flex;vertical-align:middle;white-space:nowrap}
.r4p-rrfm__stars-off{display:inline-flex;gap:2px}
.r4p-rrfm__stars-on{display:inline-flex;gap:2px}
.r4p-rrfm__stars-on{position:absolute;top:0;left:0;overflow:hidden;width:calc(var(--r4prr-s,0) * 100%)}
@media (hover:hover){
  .r4p-rrfm__rating:hover{color:var(--r4prr-brand)}
}
.r4p-rrfm__sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.r4p-rrfm__card{max-width:480px;margin:0 auto;padding:16px 12px;background:var(--r4prr-card);border:1px solid var(--r4prr-border);border-radius:14px;box-shadow:var(--r4prr-shadow);transition:background-color .2s,border-color .2s}
.r4p-rrfm__top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;min-height:30px}
.r4p-rrfm__steps{flex:1 1 0;min-width:76px;max-width:180px}
.r4p-rrfm__step-label{margin:0 0 6px;font-size:12px;line-height:1.3;font-weight:600;color:var(--r4prr-muted)}
.r4p-rrfm__step-bars{display:flex;gap:6px}
.r4p-rrfm__step-bar{flex:1;height:4px;border-radius:99px;background:var(--r4prr-border)}
.r4p-rrfm__step-bar--on{background:var(--r4prr-brand)}
.r4p-rrfm__title{margin:0;font-size:clamp(20px,5.4vw,26px);line-height:1.2;font-weight:700;letter-spacing:-.02em;color:var(--r4prr-ink)}
.r4p-rrfm__badge{display:flex;justify-content:flex-end;flex:0 1 auto;min-width:0}
.r4p-rrfm__sub{margin:8px 0 0;font-size:13px;line-height:1.45;font-weight:600;color:var(--r4prr-muted)}
.r4p-rrfm__stage{margin-top:18px}
.r4p-rrfm__native{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);opacity:0}
.r4p-rrfm__native:focus-visible ~ .r4p-rrfm__stage .r4p-rrfm__drop{outline:2px solid var(--r4prr-brand);outline-offset:3px}
.r4p-rrfm__drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:176px;padding:22px 14px;text-align:center;cursor:pointer;background:var(--r4prr-tile);border:1.5px dashed var(--r4prr-brand);border-radius:14px;touch-action:manipulation;transition:background-color .2s,border-color .2s}
.r4p-rrfm__drop--active{border-style:solid;background:var(--r4prr-tile);border-color:var(--r4prr-brand)}
.r4p-rrfm__drop-tile{display:grid;place-items:center;width:52px;height:52px;margin-bottom:6px;border-radius:14px;background:var(--r4prr-card);color:var(--r4prr-brand);transition:background-color .2s,color .2s}
.r4p-rrfm__drop-title{font-size:15px;line-height:1.3;font-weight:700;color:var(--r4prr-ink);letter-spacing:-.01em}
.r4p-rrfm__drop-cta{font-size:13.5px;font-weight:700;color:var(--r4prr-brand);text-decoration:underline;text-underline-offset:3px}
.r4p-rrfm__hint{font-size:12px;line-height:1.4;font-weight:600;color:var(--r4prr-muted)}
.r4p-rrfm__trust{display:flex;align-items:center;justify-content:center;gap:6px;margin:12px 0 0;font-size:12px;line-height:1.4;font-weight:600;color:var(--r4prr-muted)}
.r4p-rrfm__file{display:flex;align-items:flex-start;gap:10px;padding:12px;background:var(--r4prr-surface);border:1px solid var(--r4prr-border);border-radius:14px}
.r4p-rrfm__file-tile{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:10px;background:var(--r4prr-tile);color:var(--r4prr-brand)}
.r4p-rrfm__file-body{flex:1;min-width:0}
.r4p-rrfm__file-name{margin:0;font-size:13px;line-height:1.35;font-weight:700;color:var(--r4prr-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.r4p-rrfm__file-meta{margin:0;font-size:12px;line-height:1.4;font-weight:600;color:var(--r4prr-muted)}
.r4p-rrfm__file-meta--bad{color:var(--r4prr-error)}
.r4p-rrfm__bar{height:4px;margin-top:8px;overflow:hidden;border-radius:99px;background:var(--r4prr-border)}
.r4p-rrfm__bar-fill{display:block;width:100%;height:100%;border-radius:99px;background:var(--r4prr-brand);transform:scaleX(var(--r4prr-p,0));transform-origin:left center;transition:transform .3s linear}
.r4p-rrfm__file-line{display:flex;flex-wrap:wrap;align-items:center;gap:2px 12px;margin-top:2px}
.r4p-rrfm__file-actions{display:flex;gap:12px}
.r4p-rrfm__link{position:relative;padding:0;border:0;background:none;font:inherit;font-size:12.5px;font-weight:700;color:var(--r4prr-brand);cursor:pointer;text-decoration:underline;text-underline-offset:3px;touch-action:manipulation}
.r4p-rrfm__link::before{content:"";position:absolute;inset:-12px -6px}
.r4p-rrfm__remove{position:relative;display:grid;place-items:center;flex:none;width:32px;height:32px;padding:0;border:1px solid var(--r4prr-border);border-radius:10px;background:var(--r4prr-card);color:var(--r4prr-muted);cursor:pointer;touch-action:manipulation}
.r4p-rrfm__remove::before{content:"";position:absolute;inset:-6px}
.r4p-rrfm__link:focus-visible{outline:2px solid var(--r4prr-brand);outline-offset:2px}
.r4p-rrfm__remove:focus-visible{outline:2px solid var(--r4prr-brand);outline-offset:2px}
.r4p-rrfm__ghost:focus-visible{outline:2px solid var(--r4prr-brand);outline-offset:2px}
.r4p-rrfm__submit:focus-visible{outline:2px solid var(--r4prr-brand);outline-offset:2px}
.r4p-rrfm__fields{display:grid;gap:18px;margin-top:20px}
.r4p-rrfm__box{position:relative;border:1px solid var(--r4prr-line);border-radius:4px;transition:border-color .2s}
.r4p-rrfm__box:focus-within{border-color:var(--r4prr-brand);outline:1px solid var(--r4prr-brand)}
.r4p-rrfm__box--bad{border-color:var(--r4prr-error);outline-color:var(--r4prr-error)}
.r4p-rrfm__box--bad:focus-within{border-color:var(--r4prr-error);outline-color:var(--r4prr-error)}
.r4p-rrfm__flabel{position:absolute;top:9px;left:10px;z-index:1;max-width:calc(100% - 12px);padding:0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;line-height:20px;font-weight:600;color:var(--r4prr-muted);background:var(--r4prr-card);pointer-events:none;transform-origin:left top;transition:transform .18s cubic-bezier(.22,1,.36,1),color .18s,background-color .2s}
.r4p-rrfm__input:focus ~ .r4p-rrfm__flabel{color:var(--r4prr-brand);transform:translateY(-16.8px) scale(.7333)}
.r4p-rrfm__input:not(:placeholder-shown) ~ .r4p-rrfm__flabel{color:var(--r4prr-brand);transform:translateY(-16.8px) scale(.7333)}
.r4p-rrfm__box--up .r4p-rrfm__flabel{color:var(--r4prr-brand);transform:translateY(-16.8px) scale(.7333)}
.r4p-rrfm__input:-webkit-autofill ~ .r4p-rrfm__flabel{color:var(--r4prr-brand);transform:translateY(-16.8px) scale(.7333)}
.r4p-rrfm__input:focus ~ .r4p-rrfm__flabel{max-width:calc((100% - 12px) / .7333)}
.r4p-rrfm__input:not(:placeholder-shown) ~ .r4p-rrfm__flabel{max-width:calc((100% - 12px) / .7333)}
.r4p-rrfm__box--up .r4p-rrfm__flabel{max-width:calc((100% - 12px) / .7333)}
.r4p-rrfm__input:-webkit-autofill ~ .r4p-rrfm__flabel{max-width:calc((100% - 12px) / .7333)}
.r4p-rrfm__box--bad .r4p-rrfm__flabel{color:var(--r4prr-error)}
.r4p-rrfm__box--bad .r4p-rrfm__input ~ .r4p-rrfm__flabel{color:var(--r4prr-error)}
.r4p-rrfm__box .r4p-rrfm__input::placeholder{color:transparent;transition:color .15s .1s}
.r4p-rrfm__box .r4p-rrfm__input:focus::placeholder{color:var(--r4prr-muted)}
.r4p-rrfm__input:-webkit-autofill{-webkit-text-fill-color:var(--r4prr-ink);transition:background-color 9999s}
.r4p-rrfm__input{display:block;width:100%;min-height:40px;padding:0 14px;font:inherit;font-size:16px;font-weight:600;color:var(--r4prr-ink);background:transparent;border:0;border-radius:4px}
.r4p-rrfm__input:focus{outline:none}
.r4p-rrfm__input::placeholder{color:var(--r4prr-muted);opacity:1}
.r4p-rrfm__input--solo{min-height:42px;padding:0 16px;border:1px solid var(--r4prr-line);transition:border-color .2s}
.r4p-rrfm__input--solo:focus{border-color:var(--r4prr-brand);outline:1px solid var(--r4prr-brand)}
.r4p-rrfm__input--solo[aria-invalid="true"]{border-color:var(--r4prr-error)}
.r4p-rrfm__input--area{min-height:84px;padding:14px 16px;line-height:1.45;resize:vertical}
.r4p-rrfm__field{min-width:0}
.r4p-rrfm__dd{position:relative}
.r4p-rrfm__ddbtn{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:40px;padding:0 12px 0 14px;border:0;background:transparent;color:var(--r4prr-ink);font:inherit;font-size:16px;font-weight:600;text-align:left;cursor:pointer;touch-action:manipulation}
.r4p-rrfm__ddbtn:focus{outline:none}
.r4p-rrfm__ddbtn .r4p-rrb__icon{color:var(--r4prr-muted);transition:transform .2s}
.r4p-rrfm__dd.is-open .r4p-rrfm__ddbtn .r4p-rrb__icon{transform:rotate(180deg)}
.r4p-rrfm__ddph{color:var(--r4prr-muted)}
.r4p-rrfm__dd--solo{border:1px solid var(--r4prr-line);border-radius:4px;transition:border-color .2s}
.r4p-rrfm__dd--solo .r4p-rrfm__ddbtn{min-height:42px;padding-left:16px}
.r4p-rrfm__dd--solo:focus-within{border-color:var(--r4prr-brand);outline:1px solid var(--r4prr-brand)}
.r4p-rrfm__dd--solo.is-open{border-color:var(--r4prr-brand);outline:1px solid var(--r4prr-brand)}
.r4p-rrfm__dd--solo.is-bad{border-color:var(--r4prr-error)}
.r4p-rrfm__dd--cc .r4p-rrfm__ddbtn{padding:0 8px 0 12px}
.r4p-rrfm__ccval{display:inline-flex;align-items:center;gap:6px;min-width:0;white-space:nowrap}
.r4p-rrfm__flag{font-family:"Twemoji Country Flags","Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:1.2em;line-height:1}
.r4p-rrfm__pop{position:absolute;top:calc(100% + 6px);left:0;z-index:30;min-width:100%;overflow:hidden;background:var(--r4prr-card);border:1px solid var(--r4prr-line);border-radius:12px;box-shadow:0 18px 40px -18px rgba(11,18,64,.4);animation:r4prr-pop .16s cubic-bezier(.22,1,.36,1)}
.r4p-rrfm__pop--up{top:auto;bottom:calc(100% + 6px)}
.r4p-rrfm__dd--cc .r4p-rrfm__pop{width:min(320px,calc(100vw - 48px))}
.r4p-rrfm__ddsearch{display:flex;align-items:center;gap:8px;padding:0 12px;border-bottom:1px solid var(--r4prr-border);color:var(--r4prr-muted)}
.r4p-rrfm__ddq{flex:1;min-width:0;min-height:46px;padding:0;border:0;background:transparent;color:var(--r4prr-ink);font:inherit;font-size:16px;font-weight:600}
.r4p-rrfm__ddq:focus{outline:none}
.r4p-rrfm__ddq::placeholder{color:var(--r4prr-muted);opacity:1}
.r4p-rrfm__list{position:relative;max-height:264px;margin:0;padding:6px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--r4prr-line) transparent;list-style:none}
.r4p-rrfm__opt{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 10px;border-radius:8px;color:var(--r4prr-ink);font-size:14.5px;line-height:1.3;font-weight:600;cursor:pointer}
.r4p-rrfm__opt.is-active{background:var(--r4prr-tile)}
.r4p-rrfm__opt.is-selected{color:var(--r4prr-brand);font-weight:700}
.r4p-rrfm__opt .r4p-rrb__icon{flex:none;color:var(--r4prr-brand)}
.r4p-rrfm__opt--none{color:var(--r4prr-muted);cursor:default}
.r4p-rrfm__optname{flex:1;min-width:0}
.r4p-rrfm__optdial{flex:none;color:var(--r4prr-muted);font-weight:600}
.r4p-rrfm__phone{display:grid;grid-template-columns:112px 1fr;gap:8px}
.r4p-rrfm__note{margin:0 0 8px;font-size:12px;line-height:1.4;font-weight:600;color:var(--r4prr-ok)}
.r4p-rrfm__error{margin:6px 0 0;font-size:12px;line-height:1.4;font-weight:600;color:var(--r4prr-error)}
.r4p-rrfm__error--center{text-align:center;margin-top:10px}
.r4p-rrfm__error--block{margin:0 0 10px}
.r4p-rrfm__submit{display:block;width:100%;min-height:50px;padding:0 18px;font:inherit;font-size:15px;font-weight:700;color:var(--r4prr-on-brand);background:var(--r4prr-brand);border:0;border-radius:4px;cursor:pointer;touch-action:manipulation;transition:transform .1s}
.r4p-rrfm__submit:disabled{opacity:.6;cursor:not-allowed}
.r4p-rrfm__link:disabled{opacity:.6;cursor:not-allowed}
.r4p-rrfm__remove:disabled{opacity:.6;cursor:not-allowed}
.r4p-rrfm__submit:active:not(:disabled){transform:scale(.98)}
.r4p-rrfm__submit[aria-busy="true"]{cursor:progress}
.r4p-rrfm__submit-in{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.r4p-rrfm__lbl-full{display:none}
.r4p-rrfm__done{display:flex;flex-direction:column;align-items:center;gap:8px;padding:28px 8px 8px;text-align:center}
.r4p-rrfm__done-tile{display:grid;place-items:center;width:56px;height:56px;border-radius:16px;background:var(--r4prr-tile);color:var(--r4prr-brand)}
.r4p-rrfm__done-title{margin:6px 0 0;font-size:17px;line-height:1.3;font-weight:700}
.r4p-rrfm__done-text{margin:0;max-width:300px;font-size:13.5px;line-height:1.45;font-weight:600;color:var(--r4prr-muted)}
.r4p-rrfm__ghost{margin-top:10px;min-height:44px;padding:0 18px;font:inherit;font-size:13.5px;font-weight:700;color:var(--r4prr-brand);background:transparent;border:1px solid var(--r4prr-border);border-radius:12px;cursor:pointer;touch-action:manipulation}
.r4p-rrfm__reveal{animation:r4prr-rise .5s cubic-bezier(.22,1,.36,1) both;animation-delay:calc(var(--r4prr-i,0) * 60ms)}
@media (max-width:360px){
  .r4p-rrfm__card{padding:14px 10px}
  .r4p-rrfm__phone{grid-template-columns:106px 1fr}
  .r4p-rrfm__drop{min-height:160px}
}
@media (min-width:640px){
  .r4p-rrfm__card{padding:24px 22px;border-radius:16px}
  .r4p-rrfm__drop{min-height:208px;border-radius:16px}
  .r4p-rrfm__file{border-radius:16px}
  .r4p-rrfm__file-tile{width:42px;height:42px;border-radius:12px}
  .r4p-rrfm__input{font-size:15px}
  .r4p-rrfm__ddbtn{font-size:15px}
  .r4p-rrfm__ddq{font-size:15px}
  .r4p-rrfm__lbl-short{display:none}
  .r4p-rrfm__lbl-full{display:inline}
  .r4p-rrfm__phone{grid-template-columns:124px 1fr}
}
@media (min-width:1024px){
  .r4p-rrfm__card{padding:28px 26px}
}
@media (hover:hover){
  .r4p-rrfm__drop:hover{border-style:solid;background:var(--r4prr-tile)}
  .r4p-rrfm__box:hover:not(:focus-within):not(.r4p-rrfm__box--bad){border-color:var(--r4prr-border-hover)}
  .r4p-rrfm__input--solo:hover:not(:focus):not([aria-invalid="true"]){border-color:var(--r4prr-border-hover)}
  .r4p-rrfm__dd--solo:hover:not(.is-open):not(.is-bad){border-color:var(--r4prr-border-hover)}
  .r4p-rrfm__file:hover{border-color:var(--r4prr-border-hover)}
  .r4p-rrfm__remove:hover{border-color:var(--r4prr-border-hover)}
  .r4p-rrfm__submit:not(:disabled):hover{opacity:.92}
}
@media (hover:hover) and (min-width:640px){
  .r4p-rrfm__drop:hover .r4p-rrfm__drop-tile{background:var(--r4prr-brand);color:var(--r4prr-on-brand)}
}

/* root + steps (Blade build): step 1 = drop zone only, step 2 = file card + fields, done = thank-you */
.r4p-rrfm{box-sizing:border-box;color:var(--r4prr-ink);font-family:var(--r4prr-font);font-weight:600}
.r4p-rrfm__badge{margin-left:auto}
.r4p-rrfm[data-r4p-rrfm-step="1"] .r4p-rrfm__filewrap,
.r4p-rrfm[data-r4p-rrfm-step="1"] .r4p-rrfm__fields,
.r4p-rrfm[data-r4p-rrfm-step="1"] .r4p-rrfm__done,
.r4p-rrfm[data-r4p-rrfm-step="2"] .r4p-rrfm__dropwrap,
.r4p-rrfm[data-r4p-rrfm-step="2"] .r4p-rrfm__done,
.r4p-rrfm[data-r4p-rrfm-step="done"] .r4p-rrfm__dropwrap,
.r4p-rrfm[data-r4p-rrfm-step="done"] .r4p-rrfm__filewrap,
.r4p-rrfm[data-r4p-rrfm-step="done"] .r4p-rrfm__fields,
.r4p-rrfm[data-r4p-rrfm-step="done"] .r4p-rrfm__steps,
.r4p-rrfm[data-r4p-rrfm-step="done"] .r4p-rrfm__sub{display:none}

/* classes for the small tags */
.r4p-rrfm__hidden{display:none}
.r4p-rrfm__dial{font-variant-numeric:tabular-nums}
.r4p-rrfm__file-ico{display:grid;place-items:center}
.r4p-rrfm__file-ico--done{color:var(--r4prr-brand)}
.r4p-rrfm__req{font-weight:inherit}
.r4p-rrfm__rating-text{min-width:0}
.r4p-rrfm__rating-dot{opacity:.7}
.r4p-rrfm__spinner{display:inline-flex}
.r4p-rrfm__submit-label{display:inline}

#r4p-rrfm-level option{color:var(--r4prr-ink);background:var(--r4prr-card)}

.r4p-rrfm__code-flag{position:absolute;left:10px;bottom:9px;pointer-events:none}
#r4p-rrfm-cc{padding-left:38px}
