/* RC233.98FE - colleague's original 1920x1080 desktop composition.
   Isolated to application overlay; existing WorkXP Personal Profile untouched. */
.wfd-overlay{padding:0;background:rgba(35,24,59,.72)}
.wfd-shell{width:min(1650px,98vw);max-height:97vh;border-radius:8px;background:#fff;overflow:auto;color:#2b183f;font-family:Arial,Helvetica,sans-serif}
.wfd-top{height:67px;min-height:67px;padding:10px 23px;gap:25px;border-bottom:0;background:#fff}
.wfd-top img{width:155px;max-width:155px;max-height:55px;object-fit:contain}
.wfd-top strong{font-size:13px;font-weight:750;color:#2b183f;min-width:225px}
.wfd-top>span{font-size:12px;color:#746782;font-weight:400;text-align:center;flex:1}
.wfd-language{display:flex;border-radius:30px;background:#f2e8fc;padding:3px;gap:0}
.wfd-language button{border:0;background:transparent;color:#7126b9;padding:5px 9px;font-size:11px;font-weight:800;border-radius:24px}
.wfd-language button.is-selected{background:#7924bf;color:#fff}
.wfd-top .wfd-contact{border:1px solid #ded0ec;background:#fff;color:#741cba;border-radius:11px;padding:10px 15px;font-size:12px;min-width:170px}
.wfd-top .wfd-close{background:#f5edfb;font-size:20px;width:29px;height:29px}
.wfd-layout{grid-template-columns:190px minmax(0,1fr);min-height:min(850px,87vh)}
.wfd-nav{padding:22px 14px 15px 18px;border-right:0;background:#fafbff;gap:0;position:relative}
.wfd-navbrand{border-bottom:1px solid #e5d9f0;padding:0 9px 18px;display:flex;flex-direction:column;gap:8px}
.wfd-navbrand small{color:#6e6282;font-weight:750;font-size:10px;letter-spacing:.04em}
.wfd-navbrand strong{font-size:13px;line-height:1.38;color:#2b183f}
.wfd-navtitle{font-size:10px;font-weight:850;color:#7825ba;margin:22px 9px 11px}
.wfd-steps{margin:0;gap:12px}
.wfd-steps button{border:0;display:flex;gap:11px;align-items:flex-start;text-align:left;padding:12px 9px;border-radius:12px;color:#2b183f;font-weight:400;font-size:12px;min-height:65px;position:relative}
.wfd-steps button:not(:last-child):before{content:"";position:absolute;left:22px;top:39px;height:45px;width:2px;background:#dfc9ef}
.wfd-steps button.is-current{background:#e9d9f9;color:#7a22b4}
.wfd-steps button .wfd-step-bubble{width:26px;height:26px;font-size:12px;font-weight:800;position:relative;z-index:1;background:#f0e5fc;color:#5c4770}
.wfd-steps button.is-current .wfd-step-bubble,.wfd-steps button.is-done .wfd-step-bubble{background:#7724bb;color:#fff}
.wfd-step-copy{display:flex;flex-direction:column;gap:4px;padding-top:2px}
.wfd-step-copy strong{font-size:12px}.wfd-step-copy small{font-size:10px;font-weight:400;color:#7c6e89;line-height:1.4}
.wfd-nav .wfd-navprivacy{margin-top:auto;background:#f4ecfc;color:#7932b5;font-size:11px;font-weight:750;padding:14px 10px;border-radius:12px;line-height:1.6}
.wfd-navprivacy small{font-size:10px;font-weight:400;color:#756680}
.wfd-navfoot{font-size:10px;line-height:1.2;color:#776985;margin:18px 10px 0}
.wfd-main{padding:16px 25px 12px;background:linear-gradient(135deg,#d2e4ff 0%,#ded6fe 53%,#f0d3f3 100%);position:relative;display:flex;flex-direction:column;gap:0}
.wfd-breadcrumb{font-size:11px;color:#6b5f7c;margin:0 0 13px}
.wfd-banner{min-height:100px;height:100px;border-radius:20px;margin-bottom:15px;padding:12px 22px 12px 25px;background:linear-gradient(105deg,#d5e6ff,#e9d4fa);position:relative;justify-content:unset;gap:18px}
.wfd-banner small{font-size:10px;font-weight:850;letter-spacing:0;color:#7524b7}
.wfd-banner h2{font-size:28px;color:#2a173d;margin:6px 0 3px;line-height:1}
.wfd-banner p{font-size:13px;color:#392d49}
.wfd-banner img{height:97px;width:110px;margin-left:auto;object-fit:contain;align-self:flex-end}
.wfd-banner-note{background:#fff;border-radius:22px;color:#7e2abc;font-size:10px;font-weight:800;padding:7px 9px;white-space:nowrap}
.wfd-content{grid-template-columns:minmax(0,1.98fr) minmax(285px,.98fr);gap:20px;align-items:start}
.wfd-content-full{display:block}
.wfd-panel,.wfd-sidebox{border:0;border-radius:17px;background:#fff;box-shadow:0 6px 13px rgba(79,42,108,.04);padding:22px 24px}
.wfd-panelhead{margin-bottom:9px;display:flex;align-items:start;justify-content:space-between;gap:10px}
.wfd-panelhead h3{font-size:18px;line-height:1.2;color:#2d183f;margin:0 0 6px;font-weight:800}
.wfd-panelhead small{font-size:11px;color:#776886}
.wfd-panelhead .wfd-required{color:#7e20bd;font-size:10px;font-weight:700;margin-top:6px;white-space:nowrap}
.wfd-fields{column-gap:25px;row-gap:2px}
.wfd-field{gap:6px;margin-bottom:12px}
.wfd-field span{font-size:11px;color:#7b21be;font-weight:800}
.wfd-field span b{color:#7b21be}
.wfd-field input,.wfd-field select,.wfd-field textarea{border:1px solid #dac8ea;background:#fcf9ff;border-radius:10px;min-height:42px;color:#2c2141;padding:10px 12px;font-family:inherit;font-size:13px}
.wfd-field input[readonly]{color:#4a3a59;background:#fcf9ff;cursor:default}
.wfd-field select:disabled{opacity:1;color:#2c2141;-webkit-text-fill-color:#2c2141}
.wfd-sectiontitle{margin:7px 0 9px;font-size:16px;color:#29183b}
.wfd-intro textarea{min-height:75px;resize:vertical}
.wfd-privacy{display:flex;align-items:center;justify-content:space-between;color:#746886;font-size:11px;margin:10px 0 3px}
.wfd-privacy>span:last-child{color:#7d20bb;font-weight:800}
.wfd-formfoot{border:0;justify-content:space-between;margin-top:13px;padding:7px 0 0;gap:10px}
.wfd-formfoot>small{font-size:11px;color:#756985}
.wfd-formfoot .wfd-primary,.wfd-refbottom .wfd-primary{background:#7621b7;color:#fff;border:1px solid #7621b7;border-radius:10px;min-width:235px;padding:12px 16px}
.wfd-side{gap:18px}
.wfd-sidebox{padding:24px 25px}
.wfd-sidebox small{color:#7620b9;font-size:10px}
.wfd-sidebox h3{margin:6px 0 12px;font-size:19px;color:#29173d}
.wfd-sidebox p{font-size:12px;color:#453754;margin:3px 0 14px}
.wfd-sidebox hr{border:0;border-top:1px solid #eee5f5;margin:20px 0 13px}
.wfd-sidebox ul{list-style:none;margin:15px 0 19px;padding:0;display:grid;gap:23px;font-size:12px;color:#392f49}
.wfd-sidebox li{position:relative;padding-left:29px;line-height:1.4}
.wfd-sidebox li:before{content:'✓';position:absolute;left:0;color:#8232be;background:#efe4f8;border-radius:50%;width:17px;height:17px;text-align:center;font-size:12px}
.wfd-sidebox .wfd-small{color:#867895!important;font-size:10px!important}
.wfd-pagefoot{font-size:10px;color:#72657c;display:flex;justify-content:space-between;margin-top:auto;padding:13px 0 2px;gap:12px}
/* Resume matches reference: centered upload dropzone, two major field columns. */
.wfd-resume-panel .wfd-panelhead{margin-bottom:12px}
.wfd-dropzone{border:1.5px dashed #bf8ee0;background:#fcf9ff;border-radius:10px;padding:13px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:5px;color:#8224bd}
.wfd-dropzone .wfd-upload-icon{font-size:22px}.wfd-dropzone strong{font-size:12px}.wfd-dropzone small{font-size:10px;color:#84738e}
.wfd-uploaded{border:1px solid #eee6f3;border-radius:9px;display:flex;align-items:center;gap:12px;padding:8px 11px;margin:9px 0 16px;font-size:11px}
.wfd-uploaded>span:first-child{flex:1;overflow-wrap:anywhere}.wfd-uploaded>span:nth-child(2){color:#317849;background:#e7f6eb;padding:5px 8px;border-radius:15px}
.wfd-resume-fields h4{margin:0 0 8px;font-size:14px}.wfd-resume-fields .wfd-fields{gap:8px}.wfd-resume-fields .wfd-field{margin-bottom:11px}
.wfd-skillbox{background:#fcf9ff;border:1px solid #dac8ea;min-height:43px;padding:8px;border-radius:9px}.wfd-profile-link{color:#7b20bc;font-weight:700;font-size:11px}
/* Reference screen: spanning resume strip and 3 side-by-side forms. */
.wfd-references{display:grid;gap:14px}
.wfd-applicant-strip{background:#fff;border-radius:16px;padding:16px 20px;display:flex;align-items:center;gap:14px}
.wfd-initials{width:36px;height:36px;border-radius:50%;background:#f1e1fd;color:#7820b7;display:grid;place-items:center;font-size:12px;font-weight:800;flex:none}
.wfd-applicant-strip strong,.wfd-applicant-strip small{display:block}.wfd-applicant-strip strong{font-size:13px}.wfd-applicant-strip small{font-size:11px;color:#796c86;margin-top:4px}
.wfd-document{margin-left:auto;font-size:12px;font-weight:750;color:#2a1c3c}.wfd-applicant-strip>b{font-size:10px;color:#7721b8;margin-left:auto;white-space:nowrap}
.wfd-refheading{display:flex;justify-content:space-between;align-items:center}.wfd-refheading h3{margin:0;font-size:18px}.wfd-refheading small{font-size:10px;color:#8b34bb}
.wfd-refgrid{gap:16px}
.wfd-ref{background:#fff;border:0;border-radius:17px;padding:18px 19px;min-width:0}
.wfd-ref h4{display:flex;align-items:center;gap:10px;margin:0 0 13px;font-size:16px}
.wfd-ref h4 span{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#efe1fd;color:#8124be;font-size:11px}
.wfd-ref .wfd-field{margin-bottom:10px}.wfd-ref input{min-height:42px}
.wfd-refstatus{color:#856c95!important;font-size:10px!important}
.wfd-refconsent{background:#fff;border-radius:17px;padding:16px 21px;display:grid;gap:13px}
.wfd-refconsent label{display:flex;align-items:center;gap:9px;font-size:12px}.wfd-refconsent input{accent-color:#7823ba}
.wfd-refbottom{display:flex;align-items:center;gap:20px;margin-top:3px}
.wfd-refbottom>span{flex:1;color:#7a6b89;font-size:11px}
.wfd-refbottom button{border:1px solid #d8c2e8;background:#fff;color:#7020b2;border-radius:10px;padding:11px 17px;font-size:12px;font-weight:800;cursor:pointer}
.wfd-review-panel{max-width:950px}
.wfc-detail-footer .wfc-return{margin-right:auto}
.wfc-detail-footer .wfc-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;flex:1;min-width:380px}
.wfc-detail-footer .wfc-actions button{white-space:nowrap;padding:11px 9px}
.wfc-detail-footer .wfc-actions .wfc-apply{background:#8052c9;border-color:#8052c9;color:#fff}
@media(max-width:1150px){.wfd-top strong{min-width:0}.wfd-content{grid-template-columns:minmax(0,1.4fr) minmax(230px,.8fr)}.wfd-main{padding:14px}.wfd-layout{grid-template-columns:165px minmax(0,1fr)}.wfd-refgrid{gap:9px}.wfd-ref{padding:13px}}
@media(max-width:840px){.wfd-content{grid-template-columns:1fr}.wfd-side{grid-template-columns:1fr 1fr}.wfd-top .wfd-contact{display:none}.wfd-applicant-strip{flex-wrap:wrap}.wfd-applicant-strip>b{margin-left:0}.wfd-refgrid{grid-template-columns:1fr}}
@media(max-width:680px){.wfd-shell{width:100vw;height:100vh;max-height:100vh;border-radius:0}.wfd-top{padding:7px 12px;height:54px;min-height:54px;gap:10px}.wfd-top img{width:100px}.wfd-top strong,.wfd-top>span,.wfd-language{display:none}.wfd-nav{padding:7px 10px;background:#fafbff}.wfd-navbrand,.wfd-navtitle,.wfd-navprivacy,.wfd-navfoot{display:none!important}.wfd-steps{display:flex;flex-direction:row;gap:4px}.wfd-steps button{padding:7px 5px;min-height:42px;gap:5px}.wfd-steps button:before{display:none}.wfd-steps button .wfd-step-bubble{width:22px;height:22px}.wfd-step-copy small{display:none}.wfd-step-copy strong{font-size:10px}.wfd-main{padding:11px}.wfd-banner{padding:10px 13px;min-height:85px;height:85px}.wfd-banner h2{font-size:22px}.wfd-banner img{height:78px;width:75px}.wfd-banner-note{display:none}.wfd-content,.wfd-side{grid-template-columns:1fr}.wfd-panel,.wfd-sidebox{padding:15px}.wfd-fields{grid-template-columns:1fr}.wfd-side{display:none}.wfd-formfoot .wfd-primary,.wfd-refbottom .wfd-primary{min-width:0;flex:1}.wfd-applicant-strip .wfd-document{margin-left:0}.wfd-refbottom{flex-wrap:wrap}.wfd-refbottom>span{order:3;flex-basis:100%}.wfd-pagefoot span:last-child{display:none}.wfc-detail-footer .wfc-actions{min-width:0;grid-template-columns:1fr}.wfc-detail-footer .wfc-actions button{min-height:42px}}

/* RC233.98FG: isolate step text from numbered badge and allow natural wrapping. */
.wfd-steps button .wfd-step-copy{display:flex;flex:1 1 0%;min-width:0;width:auto;height:auto;border-radius:0;background:transparent;color:inherit;place-items:initial;align-items:flex-start;text-align:left;white-space:normal;overflow-wrap:normal;line-height:1.3}
.wfd-steps button .wfd-step-copy strong{color:inherit;white-space:normal;word-break:normal}
.wfd-steps button .wfd-step-copy small{white-space:normal;word-break:normal;color:#7c6e89}
.wfd-steps button{width:100%;height:auto}
.wfd-steps button:not(:last-child):before{height:auto;bottom:-14px}
@media(max-width:680px){.wfd-steps button{width:auto;flex:0 0 auto}.wfd-steps button .wfd-step-copy{flex:0 0 auto;white-space:nowrap}.wfd-steps button .wfd-step-copy strong{white-space:nowrap}}
