/* UTEC English v3.6.059 · Entry type and school-grade matching */
.family-form .child-row{align-items:start}
.uev-entry-origin{grid-column:1/-1;display:flex;align-items:stretch;gap:10px;flex-wrap:wrap}
.uev-entry-origin>span{width:100%;font-size:12px;font-weight:850;color:#103f79}
.uev-entry-origin label{display:flex;align-items:center;gap:9px;flex:1 1 185px;max-width:none!important;min-height:46px;padding:10px 13px;border:1px solid #bdd7fe;border-radius:12px;background:#f5f9ff;color:#0c478e;font-size:12px;font-weight:800;cursor:pointer}
.uev-entry-origin label:has(input:checked){border-color:#1972ef;background:#e9f3ff;box-shadow:inset 0 0 0 1px #1972ef}
.uev-entry-origin input{accent-color:#1469ed;width:17px;height:17px;flex:none}
.uev-entry-result{grid-column:1/-1;padding:12px 15px;border:1px solid #abdfc7;background:#edfbf3;border-radius:12px;color:#0e6842}
.uev-entry-result strong,.uev-entry-result span,.uev-entry-result small{display:block;margin:0 0 3px;font-size:12px}
.uev-entry-result small{color:#587d6a;line-height:1.45}
.uev-entry-admin-panel{margin:18px 0;padding:18px;border:1px solid #c9dcff;border-radius:17px;background:#f8fbff}
.uev-entry-admin-head h3{color:#0c3876;margin:0 0 5px}.uev-entry-admin-head p{margin:0 0 14px;color:#637ca2;font-size:12px}
.uev-entry-check{display:flex;align-items:center;gap:10px;color:#0d4587;font-weight:850;padding:11px;background:#eaf3ff;border-radius:10px}.uev-entry-check input{width:18px;height:18px;accent-color:#116ff1}
.uev-entry-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:15px 0}
.uev-entry-review-tag{display:inline-block;font-weight:800;font-size:10px;color:#178058}.uev-entry-review-tag.review{color:#ba6a00}
.uev-entry-review-form{display:flex;flex-direction:column;gap:5px;margin:5px 0}.uev-entry-review-form select,.uev-entry-review-form input{max-width:170px;min-height:30px;border:1px solid #cddffc;border-radius:7px;padding:5px;font-size:11px}
@media(max-width:760px){.uev-entry-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.uev-entry-origin{gap:7px}.uev-entry-origin label{flex-basis:100%}}
@media(max-width:430px){.uev-entry-admin-grid{grid-template-columns:1fr}}
/* Explicit placement keeps existing fields clean on both screen sizes. */
.uev36005-family-register .child-row{grid-template-columns:76px minmax(0,1.2fr) minmax(0,.9fr) minmax(0,1.15fr) 38px!important;align-items:end}
.uev36005-family-register .child-row>.child-number{grid-column:1;grid-row:1/4;align-self:stretch}
.uev36005-family-register .child-row>.uev-entry-origin{grid-column:2/5;grid-row:1}
.uev36005-family-register .child-row>label:nth-of-type(1){grid-column:2;grid-row:2}
.uev36005-family-register .child-row>label:nth-of-type(2){grid-column:3;grid-row:2}
.uev36005-family-register .child-row>label[data-entry-utec],.uev36005-family-register .child-row>label[data-entry-general]{grid-column:4;grid-row:2}
.uev36005-family-register .child-row>.uev-entry-result{grid-column:2/5;grid-row:3}
.uev36005-family-register .child-row>.child-session-card{grid-column:2/5;grid-row:4}
.uev36005-family-register .child-row>.remove-child{grid-column:5;grid-row:1;align-self:start}
.uev36005-family-register .child-row>[hidden]{display:none!important}
.uev36005-family-register .uev-entry-origin label{display:flex!important;padding:10px 13px!important;gap:8px!important;line-height:1.35}
.uev36005-family-register .uev-entry-origin input[type=radio]{width:17px!important;height:17px!important;min-height:17px!important;padding:0!important}
@media(max-width:760px){
 .uev36005-family-register .child-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 38px!important;align-items:stretch}
 .uev36005-family-register .child-row>.child-number{grid-column:1/3;grid-row:1;min-height:35px}
 .uev36005-family-register .child-row>.remove-child{grid-column:3;grid-row:1}
 .uev36005-family-register .child-row>.uev-entry-origin{grid-column:1/4;grid-row:2}
 .uev36005-family-register .child-row>label:nth-of-type(1){grid-column:1/4;grid-row:3}
 .uev36005-family-register .child-row>label:nth-of-type(2){grid-column:1/4;grid-row:4}
 .uev36005-family-register .child-row>label[data-entry-utec],.uev36005-family-register .child-row>label[data-entry-general]{grid-column:1/4;grid-row:5}
 .uev36005-family-register .child-row>.uev-entry-result{grid-column:1/4;grid-row:6}
 .uev36005-family-register .child-row>.child-session-card{grid-column:1/4;grid-row:7}
}
