.subject-select{position:relative;width:100%;min-width:0}
.subject-select .subject-native{position:absolute;width:1px;height:1px;padding:0;border:0;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.subject-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;height:52px;padding:0 18px;border:1px solid #d6dce7;border-radius:15px;background:#fff;color:var(--ink);font:inherit;font-size:15px;text-align:right;transition:border-color .2s,box-shadow .2s}
.subject-trigger::after{content:"";flex:none;width:8px;height:8px;border-right:1.7px solid currentColor;border-bottom:1.7px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .2s;color:var(--blue)}
.subject-trigger:hover{border-color:#aab4c6}
.subject-trigger:focus-visible,.subject-trigger[aria-expanded="true"]{outline:none;border-color:var(--blue);box-shadow:0 0 0 4px rgba(2,73,142,.12)}
.subject-trigger[aria-expanded="true"]::after{transform:translateY(2px) rotate(225deg)}
.subject-options{position:absolute;top:calc(100% + 8px);inset-inline:0;z-index:50;max-height:240px;overflow-y:auto;padding:7px;border:1px solid #e2e9f2;border-radius:17px;background:#fff;box-shadow:0 12px 32px rgba(30,48,92,.14);overscroll-behavior:contain}
.subject-options[hidden]{display:none}
.subject-option{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:42px;padding:9px 12px;border-radius:11px;text-align:right;color:var(--navy);font:inherit;font-size:14px}
.subject-option:hover,.subject-option:focus-visible{outline:none;background:#eef4fb;color:var(--blue)}
.subject-option[aria-selected="true"]{background:var(--blue);color:#fff}
.subject-option[aria-selected="true"]::after{content:"";width:6px;height:10px;margin-inline:4px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
.field.invalid .subject-trigger{border-color:var(--red);box-shadow:0 0 0 4px rgba(222,0,54,.08)}
