.student-merge-section{border:1px solid #bacbdd;border-radius:16px;padding:20px;background:#f7faff;color:#16334e}
.student-merge-section h3{margin:8px 0 14px}.student-merge-section p{line-height:1.5}
#mergeSearchForm{display:flex;align-items:end;gap:12px;flex-wrap:wrap}#mergeSearchForm label{flex:1;min-width:160px}
#mergeSearchForm input{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:12px;border:1px solid #879caf;border-radius:8px}
.student-merge-section button{padding:12px 16px;min-height:44px;border-radius:8px;white-space:normal}
.merge-candidate{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid #cbd5e1}
.merge-candidate small,.merge-choice small,.merge-device small,.merge-password small{display:block;line-height:1.6;color:#43586a;margin-top:6px;overflow-wrap:anywhere}
.merge-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}.merge-choice{display:block;background:white;border:1px solid #bacbdd;border-radius:10px;padding:14px}
.merge-choice:has(input:checked){border:2px solid #23649e;padding:13px;background:#edf6ff}
#mergeConfirmForm fieldset{margin:20px 0;padding:14px;border:1px solid #bacbdd;border-radius:10px;min-width:0}#mergeConfirmForm legend{font-weight:700}
#mergeConfirmForm input[type=checkbox],#mergeConfirmForm input[type=radio]{width:20px;height:20px;min-width:20px;vertical-align:middle;margin-right:8px;accent-color:#23649e}
.merge-password{display:block;background:#fff;padding:12px;margin:8px 0;border-radius:8px}.merge-password strong{font-family:monospace;font-size:18px;white-space:nowrap}
.merge-device{display:flex;align-items:start;gap:4px;padding:12px 0;border-bottom:1px solid #cbd5e1}.merge-device span{min-width:0}
.merge-consent{display:block;font-weight:600;line-height:1.6;margin:18px 0}
#mergeFeedback,.merge-form-feedback{white-space:pre-wrap;line-height:1.5}#mergeFeedback.error,.merge-form-feedback{color:#a11d27}
@media(max-width:650px){.merge-columns{grid-template-columns:1fr}.merge-candidate{align-items:stretch;flex-direction:column}.student-merge-section{padding:14px}#mergeSearchForm button{width:100%}}

.student-language-section form{display:flex;flex-wrap:wrap;align-items:end;gap:14px;margin:16px 0}
.student-language-section label{display:grid;gap:7px;flex:1 1 240px;min-width:0;font-weight:700}
.student-language-section select{width:100%;padding:12px;border:1px solid #ccd9e4;border-radius:10px;background:#fff;color:#143a59;font:inherit}
.student-language-section button{padding:12px 18px;background:#143a59;color:white;border:0;border-radius:10px;font-weight:700;cursor:pointer}
.student-language-section .language-feedback{flex-basis:100%;margin:0}.student-language-section small{display:block;line-height:1.5}
