/* Shared select controls: native values and events, custom presentation. */
.portal-select-control{position:relative;display:block;width:100%;min-width:0;font:inherit;color:inherit;color-scheme:light}
.portal-select-control[hidden],.portal-select-popover[hidden],.portal-select-search[hidden],.portal-select-clear[hidden]{display:none!important}
.portal-select-control>.portal-select-native{position:absolute!important;inset:0 auto auto 0!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;max-height:1px!important;margin:0!important;padding:0!important;border:0!important;opacity:0!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;overflow:hidden!important;pointer-events:none!important}
.portal-select-trigger{display:flex;align-items:center;gap:10px;width:100%;min-width:0;min-height:48px;margin:0;padding:9px 12px;border:1px solid #d9d5da;border-radius:12px;background:#fff;color:#38323e;font:400 13px/1.5 var(--font,Arial,sans-serif);text-align:left;cursor:pointer;transition:border-color .13s ease,background .13s ease,box-shadow .13s ease}
.portal-select-trigger:hover:not(:disabled){border-color:#aa99b8;background:#fdfcfe}
.portal-select-trigger[aria-expanded=true]{border-color:#735688;box-shadow:0 0 0 3px #f0ebf4}
.portal-select-trigger:focus-visible{outline:2px solid #9872b0;outline-offset:3px}
.portal-select-trigger[aria-invalid=true]{border-color:#ad5148}
.portal-select-trigger:disabled{background:#f4f3f1;border-color:#e4e1e5;color:#817987;cursor:default;opacity:.75}
.portal-select-current-mark{display:flex;flex:0 0 auto;align-items:center}
.portal-select-value{display:block;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.portal-select-icon{display:block;width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.portal-select-trigger>.portal-select-icon{margin-left:auto;color:#7d6b88;transition:transform .13s ease}
.portal-select-trigger[aria-expanded=true]>.portal-select-icon{transform:rotate(180deg)}
.portal-select-mark{display:flex;align-items:center;justify-content:center;flex:0 0 27px;width:27px;height:27px;border-radius:8px;background:#f3eef6;color:#64447c;font:600 9px/1 var(--font,Arial,sans-serif);letter-spacing:.01em}
.portal-select-mark.is-person{border-radius:50%;background:#ede5f3;color:#55366d}
.portal-select-mark.is-front{border:1px solid #e8dfed;background:#f8f4fa;font-size:8px;letter-spacing:.04em}
.portal-select-mark.is-front[data-front=FIN],.portal-select-mark.is-front[data-front=FIS]{background:#edf4f1;border-color:#dce9e1;color:#326951}
.portal-select-mark.is-front[data-front=TEC],.portal-select-mark.is-front[data-front=PRI]{background:#eaf4f5;border-color:#d8e9eb;color:#226776}
.portal-select-mark.is-front[data-front=JUR],.portal-select-mark.is-front[data-front=GOV]{background:#f0eaf6;border-color:#e2d8ec;color:#65427f}
.portal-select-mark.is-neutral{background:#f5f3f6;color:#83748d}
.portal-select-option>.portal-select-mark.is-neutral{display:none}
.portal-select-mark.is-neutral .portal-select-icon{width:15px;height:15px}
.portal-select-mark.is-state{background:transparent;flex-basis:18px;width:18px}
.portal-select-mark.is-state i{width:8px;height:8px;border-radius:50%;background:#85788a}
.portal-select-mark.is-state[data-state=requested] i{background:#a47a29}
.portal-select-mark.is-state[data-state=submitted] i{background:#50718c}
.portal-select-mark.is-state[data-state=accepted] i{background:#478464}
.portal-select-mark.is-state[data-state=changes_requested] i{background:#b06d4e}
.portal-select-mark.is-state[data-state=waived] i{background:#87639c}
.portal-select-popover{position:fixed;inset:auto;z-index:240;display:none;flex-direction:column;min-width:0;max-width:calc(100vw - 16px);margin:0;padding:0;border:1px solid #ddd6e2;border-radius:17px;background:#fff;color:#38323e;box-shadow:0 3px 8px #31203e08,0 18px 46px #31203e1c;overflow:hidden;isolation:isolate;font:400 14px/1.5 var(--font,Jakarta,Arial,sans-serif);color-scheme:light}
.portal-select-popover.is-open{display:flex}
.portal-select-popover::backdrop{background:transparent}
.portal-select-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 auto;min-height:49px;padding:4px 8px 4px 16px;border-bottom:1px solid #ede8ef;background:#fbfaf8}
.portal-select-heading strong{min-width:0;color:#584164;font-size:12px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.portal-select-dismiss{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:0;border-radius:10px;background:transparent;color:#75617f;cursor:pointer}
.portal-select-dismiss:hover{background:#efe8f3;color:#4b326e}
.portal-select-dismiss:focus-visible{outline:2px solid #9872b0;outline-offset:-3px}
.portal-select-search{display:flex;align-items:center;gap:10px;flex:0 0 auto;margin:10px 10px 4px;padding:0 10px 0 12px;border:1px solid #e0dae5;border-radius:11px;background:#fff;color:#887492}
.portal-select-search:focus-within{border-color:#9872b0;box-shadow:0 0 0 2px #eee7f3}
.portal-select-search input{display:block;width:100%;min-width:0;min-height:44px;padding:8px 0;border:0;outline:0;background:transparent;color:#403347;font:400 14px/1.5 var(--font,Jakarta,Arial,sans-serif)}
.portal-select-search input::placeholder{color:#7d6b88;opacity:1}
.portal-select-search input::-webkit-search-cancel-button{-webkit-appearance:none}
.portal-select-clear{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;margin:0 -8px 0 0;padding:0;border:0;border-radius:9px;background:transparent;color:#7d6b88;cursor:pointer}
.portal-select-clear:hover{background:#f2edf6;color:#4b326e}
.portal-select-clear:focus-visible{outline:2px solid #9872b0;outline-offset:-3px}
.portal-select-clear .portal-select-icon{width:15px;height:15px;flex-basis:15px}
.portal-select-list{flex:1 1 auto;min-height:0;padding:6px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cdbed7 transparent}
.portal-select-option{display:flex;align-items:center;gap:10px;min-height:46px;padding:8px 10px;border:1px solid transparent;border-radius:10px;cursor:pointer;user-select:none;-webkit-user-select:none}
.portal-select-option:hover,.portal-select-option.is-highlighted{border-color:#e8dfed;background:#f7f3fa}
.portal-select-option[aria-selected=true]{background:#f1ebf6;color:#4b326e}
.portal-select-option[aria-selected=true].is-highlighted{border-color:#d8c8e3;background:#ebe2f2}
.portal-select-option[aria-disabled=true]{color:#9a91a0;cursor:default;opacity:.65;background:transparent;border-color:transparent}
.portal-select-option-text{flex:1;min-width:0;font-size:13px;line-height:1.55;overflow-wrap:anywhere}
.portal-select-tick{display:flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;height:22px;color:#65417f;opacity:0}
.portal-select-option[aria-selected=true] .portal-select-tick{opacity:1}
.portal-select-tick .portal-select-icon{width:17px;height:17px}
.portal-select-group{padding:10px 11px 5px;color:#7d6b88;font-size:11px;font-weight:600;line-height:1.5}
.portal-select-empty{margin:0;padding:21px 15px;color:#786782;font-size:12px;line-height:1.7;text-align:center}
.portal-select-result{display:block;flex:0 0 auto;min-height:28px;padding:5px 16px;border-top:1px solid #eee8f1;color:#786782;font-size:10px;line-height:1.6}
@media(max-width:650px){
 .portal-select-trigger{min-height:49px;padding:10px 12px;font-size:16px}
 .portal-select-trigger .portal-select-value{font-size:14px}
 .portal-select-popover.is-sheet{border-radius:20px;box-shadow:0 18px 50px #2f1e3d36}
 .portal-select-popover.is-sheet::backdrop{background:#2d1b3c2e}
 .portal-select-heading{min-height:57px;padding-left:18px;background:#faf8f5}
 .portal-select-heading strong{font-size:14px}
 .portal-select-search{margin:11px 12px 5px}
 .portal-select-search input{min-height:46px;font-size:16px}
 .portal-select-list{padding:7px}
 .portal-select-option{min-height:50px;padding:10px 11px;gap:12px}
 .portal-select-option-text{font-size:14px}
 .portal-select-mark{flex-basis:30px;width:30px;height:30px;font-size:10px}
 .portal-select-mark.is-front{font-size:8px}
 .portal-select-result{padding-left:18px;font-size:11px}
}
@media(prefers-reduced-motion:reduce){.portal-select-trigger,.portal-select-trigger>.portal-select-icon{transition:none}}
