.rf-panel {
  border:1px solid #dfd3c9;
  border-radius:14px;
  padding:clamp(16px,3.4vw,26px);
  background:#fffaf5;
  color:#352633;
}
.rf-head {display:flex;align-items:center;gap:12px;margin-bottom:14px}
.rf-head h3 {margin:0;font-size:clamp(1.25rem,3vw,1.5rem);letter-spacing:-.04em;line-height:1.2}
.rf-head h3:focus {outline:none}
.rf-symbol {display:grid;place-items:center;background:#ffe4c6;color:#864723;border-radius:10px;width:40px;height:40px;flex:none}
.rf-panel [data-referral-content] {display:grid;gap:14px}
.rf-panel p,.rf-panel small {margin:0;line-height:1.55}
.rf-lead {font-size:1rem}
.rf-jobs {display:grid;gap:10px;max-height:22rem;overflow:auto}
.rf-job,.rf-history li {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.rf-job {background:#fff;border:1px solid #dfd6ce;border-radius:10px;padding:13px 15px}
.rf-job>div:first-child,.rf-history li>div:first-child {flex:1 1 170px;min-width:0;overflow-wrap:anywhere}
.rf-panel h4 {font-size:1rem;margin:0;line-height:1.4}
.rf-job p,.rf-history li span {font-size:.9375rem}
.rf-job small,.rf-note,.rf-history small,.rf-empty,.rf-token small {font-size:.88rem;color:#695e66}
.rf-job small,.rf-history span,.rf-history small {display:block}
.rf-job .rc-primary {background:#3c2739;border-color:#3c2739;color:white}
.rf-job .rc-primary:hover {background:#53394e}
.rf-footer {display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.rf-footer:empty {display:none}
.rf-footer [data-continue] {text-decoration:underline;text-underline-offset:3px;background:transparent;border-color:transparent}
.rf-footer [data-continue]:hover {background:#f7eee6}
.rf-history ul {list-style:none;padding:0;margin:6px 0 0}
.rf-history li {border-top:1px solid #ddd2ca;padding:9px 0}
.rf-status {color:#674a31;font-size:.875rem}
.rf-notice {padding:10px 13px;border-left:3px solid #996830;background:#fff0d9;border-radius:3px}
.rf-manual {border-top:1px solid #ded3cb;padding-top:10px}
.rf-manual summary {cursor:pointer;font-weight:600}
.rf-additional summary {font-size:.9rem;cursor:pointer;width:fit-content}
.rf-additional[open] .rf-jobs {margin-top:10px}
.rf-manual label,.rf-manual button {margin-top:10px}
.rf-manual select {max-width:100%}
.rf-profile-action {margin:0 0 18px}
.rf-example-link {margin-left:auto;font-size:.875rem;text-decoration:underline;text-underline-offset:3px}
.rc-cardheading:has(.rf-example-link) {flex-wrap:wrap}
