/* FRONT-UI12: referral procedures and management. The UI08 portal is excluded. */
.ym-front .ym-referral-shell{min-width:0}
.ym-front .ym-referral{--yrm-front-accent:#285d47;--yrm-front-action:#285d47;--yrm-front-border:#d4dfd1;--yrm-front-soft:#eaf0e6;--yrm-front-muted:#596b5f;color:#293b31;font-family:var(--ym-font);font-size:16px;font-weight:400;line-height:1.8;min-width:0;padding-bottom:0}
.ym-front .ym-referral *, .ym-front .ym-referral *::before,.ym-front .ym-referral *::after{box-sizing:border-box;font-synthesis:none}
.ym-front .ym-referral :is(h1,h2,h3,h4,strong,b,th,dt,label,summary,.yrm-statusBadge,.yrm-summaryCard__value,.yrm-summaryCard__label,.yrm-actionCard__title,.yrm-subsection__title,.yrm-stepList__title,.yrm-publicFlow__applicationNo,.yrm-front__eyebrow){font-weight:500}
.ym-front .ym-referral :is(h1,h2,h3,h4){color:#293b31;line-height:1.55;overflow-wrap:anywhere}
.ym-front .ym-referral :is(.yrm-front__intro,.yrm-publicFlow__intro,.yrm-lead){color:#596b5f;font-size:16px;line-height:1.9;max-width:900px}
.ym-front .ym-referral .yrm-publicFlow{padding-top:0}
.ym-front .ym-referral a{color:#285d47;text-underline-offset:3px;overflow-wrap:anywhere}
.ym-front .ym-referral :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid #94702c;outline-offset:4px}
.ym-front .ym-referral :is(.yrm-section,.yrm-summaryCard,.yrm-actionCard,.yrm-terms-card,.yrm-conditional-panel){border:1px solid #d4dfd1;border-radius:16px;background:#fff;padding:24px;min-width:0}
.ym-front .ym-referral .yrm-section{margin:0 0 24px}
.ym-front .ym-referral .yrm-section--soft{background:#eaf0e6}
.ym-front .ym-referral .yrm-section--compact{padding:20px}
.ym-front .ym-referral .yrm-section__header{border-bottom-color:#d4dfd1;margin:0 0 20px;gap:12px}
.ym-front .ym-referral :is(.yrm-section__title,.yrm-section__heading){font-size:22px;font-weight:500;margin:0 0 12px;line-height:1.6}
.ym-front .ym-referral .yrm-section__description{color:#596b5f;font-size:14px}
.ym-front .ym-referral :is(.yrm-summaryGrid,.yrm-actionGrid){grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:16px}
.ym-front .ym-referral .yrm-summaryCard__value{color:#293b31;font-size:24px;line-height:1.5}
.ym-front .ym-referral :is(.yrm-summaryCard__label,.yrm-summaryCard__note,.yrm-actionCard__body,.yrm-helpText,.yrm-publicFlow__privacy){color:#596b5f}
.ym-front .ym-referral .yrm-actionCard{min-height:0;gap:6px}
.ym-front .ym-referral .yrm-notice{background:#eef3eb;border:1px solid #d4dfd1;border-left:4px solid #285d47;border-radius:10px;padding:18px 20px;color:#293b31}
.ym-front .ym-referral .yrm-notice--warning{background:#fff7e9;border-color:#d6bc91;border-left-color:#875626;color:#69431f}
.ym-front .ym-referral .yrm-notice--danger{background:#fff3f1;border-color:#d9aaa5;border-left-color:#a43831;color:#8d302a}
.ym-front .ym-referral .yrm-publicFlow__privacy{border-radius:10px;background:#eaf0e6;font-size:14px}
.ym-front .ym-referral :is(.yrm-definitionList__row,.yrm-subsection+.yrm-subsection,.yrm-stepList__item,.yrm-actionBar){border-color:#d4dfd1}
.ym-front .ym-referral .yrm-definitionList__row{grid-template-columns:minmax(140px,28%) minmax(0,1fr)}
.ym-front .ym-referral .yrm-definitionList dt{color:#596b5f;font-weight:500}
.ym-front .ym-referral :is(.yrm-statusBadge,.yrm-statusBadge--info,.yrm-statusBadge--success){color:#285d47;background:#eaf0e6;border-color:#a7bea8;font-weight:500;min-height:30px}
.ym-front .ym-referral .yrm-statusBadge--warning{color:#69431f;background:#fff7e9;border-color:#d6bc91}
.ym-front .ym-referral .yrm-statusBadge--danger{color:#8d302a;background:#fff3f1;border-color:#d9aaa5}
.ym-front .ym-referral .yrm-statusBadge--muted{color:#596b5f;background:#eff1ec;border-color:#bdc9b9}
.ym-front .ym-referral :is(.yrm-primaryButton,.yrm-secondaryButton,.yrm-dangerButton,.yrm-procedure button,.yrm-procedure .ec-blockBtn--action,.yrm-procedure .ec-inlineBtn--action){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;max-width:100%;height:auto;white-space:normal;text-align:center;padding:12px 24px;border:1px solid #285d47;border-radius:8px;font-family:inherit;font-size:16px;font-weight:500;line-height:1.6;cursor:pointer;text-decoration:none}
.ym-front .ym-referral :is(.yrm-primaryButton,.yrm-procedure .ec-blockBtn--action,.yrm-procedure .ec-inlineBtn--action){background:#285d47;color:#fff}
.ym-front .ym-referral :is(.yrm-primaryButton,.yrm-procedure .ec-blockBtn--action,.yrm-procedure .ec-inlineBtn--action):hover{background:#1e4936;color:#fff;border-color:#1e4936}
.ym-front .ym-referral .yrm-secondaryButton{background:#fff;color:#285d47;border-color:#819286}
.ym-front .ym-referral .yrm-secondaryButton:hover{background:#eaf0e6;color:#1e4936}
.ym-front .ym-referral .yrm-dangerButton{background:#fff;color:#a43831;border-color:#a43831}
.ym-front .ym-referral .yrm-dangerButton:hover{background:#fff3f1;color:#8d302a}
.ym-front .ym-referral :is(button,.yrm-primaryButton,.yrm-secondaryButton,.yrm-dangerButton):disabled,.ym-front .ym-referral [aria-disabled=true]{background:#eff1ec;color:#596b5f;border-color:#b4c0b4;cursor:not-allowed;opacity:1}
.ym-front .ym-referral :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),select,textarea){max-width:100%;min-width:0;min-height:48px;height:auto;padding:11px 12px;border:1px solid #819286;border-radius:8px;background:#fff;color:#293b31;font-family:inherit;font-size:16px;line-height:1.6}
.ym-front .ym-referral .yrm-formGroup :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){min-height:48px;border-color:#819286;border-radius:8px;color:#293b31;font-family:inherit;font-size:16px}
.ym-front .ym-referral :is(input,select,textarea):disabled{background:#eff1ec;color:#596b5f;opacity:1}
.ym-front .ym-referral :is(input[type=checkbox],input[type=radio]){accent-color:#285d47;width:21px;height:21px;min-height:21px;flex:0 0 21px;vertical-align:middle;margin-right:8px}
.ym-front .ym-referral .yrm-required{background:#a43831;color:#fff;font-weight:500;border-radius:4px;font-size:12px;padding:2px 7px}
.ym-front .ym-referral .yrm-optional{color:#596b5f;font-size:13px;font-weight:400}
.ym-front .ym-referral :is(.yrm-consentRow,.yrm-confirmations){background:#eaf0e6;border-radius:10px;padding:18px;line-height:1.8}
.ym-front .ym-referral .yrm-consentRow{gap:10px;align-items:flex-start}
.ym-front .ym-referral :is(.yrm-termsBody,.yrm-terms-card__body,.yrm-procedure .yrm-terms,.yrm-ic-terms){max-height:380px;overflow:auto;white-space:pre-wrap;background:#f7f8f4;color:#293b31;border:1px solid #d4dfd1;border-radius:8px;padding:20px;font-size:15px;line-height:1.9}
.ym-front .ym-referral :is(.yrm-terms-card__guide,.yrm-terms-card__version,.yrm-consent-summary){font-size:14px;color:#596b5f}
.ym-front .ym-referral .yrm-terms-card__consent{display:block;background:#eaf0e6;padding:16px;border-radius:8px;margin:20px 0 0}
.ym-front .ym-referral :is(.yrm-actions,.yrm-procedure .yrm-buttons){display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}
.ym-front .ym-referral .yrm-actionBar{gap:14px;padding-top:24px}
.ym-front .ym-referral .yrm-tableWrap,.ym-front .ym-referral .ym-referral-data-region{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:10px}
.ym-front .ym-referral .ym-referral-data-region>.yrm-tableWrap{overflow:visible}
.ym-front .ym-referral :is(.yrm-tableWrap,.ym-referral-data-region):focus-visible{outline:3px solid #94702c;outline-offset:4px}
.ym-front .ym-referral :is(.yrm-table th,.yrm-tableWrap th){background:#eaf0e6;color:#596b5f;font-weight:500;border-bottom-color:#d4dfd1}
.ym-front .ym-referral :is(.yrm-table td,.yrm-tableWrap td){border-bottom-color:#d4dfd1}
.ym-front .ym-referral .yrm-emptyState{color:#596b5f;padding:32px 16px}
.ym-front .ym-referral .yrm-pageNav a{border-radius:10px;color:#285d47;background:#fff;font-weight:500;min-height:48px}
.ym-front .ym-referral .yrm-stepList__item::before{background:#285d47;color:#fff;font-weight:500}
.ym-front .ym-referral .yrm-readonlyField{background:#f7f8f4;border-color:#819286;border-radius:8px}
.ym-front .ym-referral .yrm-procedure{width:100%;max-width:none;margin:0;line-height:1.8}
.ym-front .ym-referral .yrm-procedure>form{max-width:920px;margin-left:auto;margin-right:auto}
.ym-front .ym-referral .yrm-procedure section{background:#fff;border:1px solid #d4dfd1;border-radius:16px;padding:24px;margin:20px auto;max-width:920px}
.ym-front .ym-referral .yrm-procedure .yrm-current{background:#eaf0e6;border-left:4px solid #285d47}
.ym-front .ym-referral .yrm-procedure h2{font-size:22px;margin:0 0 14px}
.ym-front .ym-referral .yrm-procedure :is(input[type=text],input[type=email],select,textarea){width:100%}
.ym-front .ym-referral .yrm-procedure .yrm-buttons form{margin:0;max-width:100%}
.ym-front .ym-referral .yrm-procedure dl{overflow-wrap:anywhere}
.ym-front .ym-referral .yrm-conditional-panel{margin-top:18px;background:#f7f8f4}
.ym-front .ym-referral .yrm-preparation-fields{display:grid;gap:16px}
.ym-front .ym-referral .yrm-preparation-fields label{display:block;margin:0 0 6px}
.ym-front .ym-referral .yrm-preparation-fields :is(input,select){width:100%;max-width:620px}
.ym-front .ym-referral .yrm-preparation-fields small{display:block;color:#596b5f;font-size:14px}
.ym-front .ym-referral .yrm-ic-progress{padding:18px 22px;background:#eaf0e6;border:1px solid #d4dfd1;border-radius:12px;gap:12px}
.ym-front .ym-referral .yrm-ic-progress strong{color:#285d47;font-weight:500}
.ym-front .ym-referral .yrm-ic-check{border-color:#d4dfd1;border-radius:10px;padding:18px;background:#fff}
.ym-front .ym-referral .yrm-ic input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.ym-front .ym-referral .yrm-ic select{font-size:16px;border-color:#819286;border-radius:8px;min-height:48px}
.ym-front .ym-referral .yrm-ic-formGrid{gap:20px}
.ym-front .ym-referral .yrm-ic-help{font-size:14px;color:#596b5f}
.ym-front .ym-referral .yrm-ic-details{border-color:#d4dfd1;border-radius:10px}
.ym-front .ym-referral .yrm-ic-details summary{min-height:48px;padding:14px;font-weight:500}
.ym-front .ym-referral .yrm-ic [hidden]{display:none!important}
.ym-front .ym-referral .ec-errorMessage{color:#a43831;font-weight:500}
.ym-front .ym-referral .ec-zipInput{max-width:100%}
.ym-front .ym-referral .yrm-fieldset{min-width:0;border:0;padding:0;margin:0 0 20px}
.ym-front .ym-referral .yrm-fieldset legend{font-size:16px;font-weight:500;color:#293b31;border:0;margin:0 0 8px;padding:0}
.ym-front .ym-referral :is(.ec-blockBtn--action,.ec-inlineBtn--action,.ec-blockBtn--cancel,.ec-inlineBtn--cancel){min-height:48px;height:auto;padding:12px 24px;max-width:100%;white-space:normal;line-height:1.6;border-radius:8px;font-family:inherit;font-size:16px;font-weight:500;text-decoration:none}
.ym-front .ym-referral :is(.ec-blockBtn--action,.ec-inlineBtn--action){background:#285d47;color:#fff;border:1px solid #285d47}
.ym-front .ym-referral :is(.ec-blockBtn--action,.ec-inlineBtn--action):hover{background:#1e4936;color:#fff;border-color:#1e4936}
.ym-front .ym-referral :is(.ec-blockBtn--cancel,.ec-inlineBtn--cancel){background:#fff;color:#285d47;border:1px solid #819286}
.ym-front .ym-referral :is(.ec-blockBtn--cancel,.ec-inlineBtn--cancel):hover{background:#eaf0e6;color:#1e4936}
.ym-front .ym-referral :is(.ec-blockBtn--action,.ec-inlineBtn--action,.ec-blockBtn--cancel,.ec-inlineBtn--cancel):disabled{background:#eff1ec;color:#596b5f;border-color:#b4c0b4;cursor:not-allowed}
.ym-front .ym-referral .yrm-ic-progress li{background:#fff;border-color:#d4dfd1;border-radius:8px;color:#596b5f;font-weight:400}
.ym-front .ym-referral .yrm-ic-progress [aria-current=step]{background:#eaf0e6;border-color:#285d47;color:#285d47;font-weight:500}
.ym-front .ym-referral .yrm-ic-check:focus-within{outline:3px solid #94702c;outline-offset:4px}
.ym-front .ym-referral .yrm-ic-detail summary{color:#285d47;min-height:48px;font-weight:500}
.ym-front .ym-referral .yrm-terms-card__title{font-size:18px;font-weight:500}
.ym-front .ym-referral .yrm-preparation-optional{color:#596b5f;font-size:14px;font-weight:400;margin-left:8px}
@media(max-width:767px){
 .ym-front .ym-referral :is(.yrm-section,.yrm-summaryCard,.yrm-actionCard,.yrm-terms-card,.yrm-procedure section,.yrm-conditional-panel){padding:20px 16px;border-radius:13px}
 .ym-front .ym-referral :is(.yrm-section__title,.yrm-section__heading,.yrm-procedure h2){font-size:20px}
 .ym-front .ym-referral :is(.yrm-summaryGrid,.yrm-actionGrid,.yrm-formGrid,.yrm-ic-formGrid,.yrm-qrLayout){grid-template-columns:minmax(0,1fr)}
 .ym-front .ym-referral .yrm-definitionList__row{grid-template-columns:minmax(0,1fr);gap:4px}
 .ym-front .ym-referral .yrm-actions>*{width:100%}
 .ym-front .ym-referral .yrm-procedure .yrm-buttons>*{flex:1 1 100%}
 .ym-front .ym-referral .yrm-procedure .yrm-buttons :is(button,a){width:100%}
 .ym-front .ym-referral .yrm-ic-progress{flex-wrap:wrap;padding:16px}
 .ym-front .ym-referral :is(.yrm-termsBody,.yrm-terms-card__body,.yrm-procedure .yrm-terms,.yrm-ic-terms){padding:16px;max-height:320px}
 .ym-front .ym-referral .yrm-qrMetrics td{border-bottom-color:#d4dfd1}
 .ym-front .ym-referral .yrm-qrMetrics td:first-child{background:#eaf0e6;font-weight:500}
}
@media(prefers-reduced-motion:reduce){.ym-front .ym-referral *{scroll-behavior:auto;transition:none}}
