.reference-summary{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:18px}.reference-summary h3{margin:0 0 5px}.reference-summary p{margin:0;color:#64766c;font-size:13px}.reference-employment{display:inline-flex;margin:10px 0 2px;padding:5px 10px;border-radius:999px;background:#e9f2ed;color:#175d43;font-size:11px;font-weight:700}.reference-dialog{width:min(650px,calc(100vw - 24px));max-height:88vh;border:0;border-radius:20px;padding:0;box-shadow:0 24px 80px #132a2059}.reference-dialog::backdrop{background:#10251abb}.reference-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 24px;border-bottom:1px solid #e6ebe7}.reference-dialog-head h2{margin:0;font:800 19px Manrope,sans-serif}.reference-dialog-head button{border:0;border-radius:50%;background:#eef2ee;width:34px;height:34px;font-size:22px}.reference-dialog-body{padding:20px 24px;overflow:auto;max-height:calc(88vh - 76px)}.reference-help{line-height:1.6;color:#56685e}.reference-entry{border:1px solid #dce8df;border-radius:14px;padding:16px;margin:14px 0;background:#f9fbf9}.reference-entry-top{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.reference-entry-top span,.reference-period{color:#718078;font-size:12px}.reference-ratings{display:grid;gap:7px;margin:15px 0}.reference-ratings>div{display:flex;justify-content:space-between;gap:12px}.reference-stars{color:#ce911c;letter-spacing:2px;white-space:nowrap}.reference-reply{padding:10px 12px;border-left:3px solid #176b4d;background:#edf5ef}.reference-form{display:grid;gap:12px;margin:18px 0}.reference-form h3{margin:0}.reference-form label,.reference-status{display:grid;gap:6px;color:#54655a;font-weight:700;font-size:12px}.reference-form input,.reference-form select,.reference-form textarea,.reference-status select,#referenceLinkInput{width:100%;padding:11px 12px;border:1px solid #d7e2d9;border-radius:9px;background:#fff;font:inherit;color:#172b20}.reference-form textarea{min-height:110px;resize:vertical}.reference-dates{display:grid;grid-template-columns:1fr 1fr;gap:12px}.reference-dialog-body .btn{width:max-content}.reference-dialog-body #referenceLinkInput{margin:10px 0;overflow-wrap:anywhere}@media(max-width:600px){.reference-summary{align-items:flex-start;flex-direction:column}.reference-dates{grid-template-columns:1fr}.reference-dialog-head,.reference-dialog-body{padding:16px}}
.reference-overall{display:flex;align-items:center;gap:18px;padding:18px;margin:14px 0;background:#fff8ec;border:1px solid #efdcb7;border-radius:14px;color:#775519}.reference-overall strong{font:800 36px Manrope,sans-serif}.reference-overall small{display:block;color:#687970;font-size:11px;margin-top:2px}.reference-quote{margin:14px 0;padding:15px 18px;border-left:4px solid #126447;background:#f1f7f1;border-radius:0 11px 11px 0;line-height:1.7}.reference-star-field{border:0;border-bottom:1px solid #e2eae3;padding:12px 0;margin:0;display:flex;align-items:center;justify-content:space-between;gap:16px}.reference-star-field legend{float:left;padding:8px 0;color:#193a2d;font-weight:700}.reference-star-picker{display:flex;gap:2px}.reference-star-picker label{position:relative;cursor:pointer;padding:4px}.reference-star-picker input{position:absolute;inset:0;opacity:0;cursor:pointer}.reference-star-picker span[aria-hidden]{font-size:26px;color:#c9d1ca}.reference-star-picker label.selected span[aria-hidden],.reference-star-picker label:hover span[aria-hidden]{color:#d3931d}.reference-star-picker label:focus-within{outline:2px solid #126447;border-radius:6px}.reference-live-rating{padding:14px 16px;border-radius:12px;background:#fff8ec;color:#775519;font-weight:800}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:520px){.reference-star-field{display:block}.reference-star-picker{margin-top:7px}}

.reference-month-picker{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,.7fr);gap:8px}.reference-month-picker select{min-width:0}
.reference-dialog:has(#referenceRatingForm){width:min(1000px,calc(100vw - 24px))}
.reference-rating-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(220px,.75fr);gap:24px;align-items:start}
.reference-rating-layout .reference-form{padding:22px;border:1px solid #dce8df;border-radius:16px;background:#fff;margin:12px 0}
.reference-rating-rules{padding:20px 8px;color:#50685b;line-height:1.7}
.reference-rating-rules h3{font:800 17px Manrope,sans-serif;color:#173f35;margin:0 0 12px}.reference-rating-rules ul{padding-left:19px;margin:0}
.reference-rating-layout .reference-star-picker label.selected span[aria-hidden],.reference-rating-layout .reference-star-picker label:hover span[aria-hidden]{color:#176b4d}
@media(max-width:700px){.reference-rating-layout{grid-template-columns:1fr}.reference-rating-rules{padding:0 8px 15px}}
