
body{margin:0;background:#f1f8fb;color:#14354d;font-family:system-ui,sans-serif}
.shell{min-height:100vh;display:grid;place-items:center;padding:28px;box-sizing:border-box}
.loginbox{width:min(980px,100%);display:grid;grid-template-columns:1fr 1fr;background:white;border-radius:22px;overflow:hidden;box-shadow:0 15px 55px #0d75921b}
.schoolpic{min-height:575px;display:flex;flex-direction:column;justify-content:flex-end;padding:38px;background:linear-gradient(170deg,#009ad45c,#066fa4a6 48%,#084365f2),url('../img/wat-chong-lom-campus.jpg') center/cover;color:white}
.schoolpic b{font-size:clamp(26px,3vw,39px);line-height:1.3}.schoolpic span{margin-top:8px}
.formpanel{padding:42px clamp(22px,4vw,54px);align-self:center}
h1{font-size:29px;color:#10678e;margin:10px 0 5px}header{text-align:center;margin-bottom:27px}header img{width:52px;height:52px}header p{font-size:15px;margin:0;color:#4e6878}
.field{display:block;margin:13px 0 5px;font-weight:600}.entry{height:46px;width:100%;box-sizing:border-box;border:1px solid #afc2cc;border-radius:8px;padding:7px 12px;font:inherit}
.cta,.google{display:flex;justify-content:center;align-items:center;min-height:47px;width:100%;border-radius:9px;font:inherit;font-weight:650}.google{color:#173f58;background:#fff;border:1px solid #b7cbd5;text-decoration:none;gap:10px}.google b{font:700 23px Arial;color:#2563bb}.cta{background:#06769d;color:#fff;border:none;margin-top:19px;cursor:pointer}.divide{display:flex;align-items:center;gap:12px;color:#567281;font-size:13px;margin:19px 0 10px}.divide:before,.divide:after{content:'';height:1px;flex:1;background:#dce4e9}.extra{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:19px;font-size:14px}.extra a{color:#276581}.error{padding:10px;background:#fff3da;color:#714716}.pw{position:relative}.pw input{padding-right:69px}.pw button{position:absolute;right:6px;top:6px;height:34px;background:#edf6fa;color:#28506a;border:0;border-radius:5px}.shell :focus-visible{outline:3px solid #2188ae;outline-offset:2px}
@media(max-width:700px){.shell{padding:14px}.loginbox{grid-template-columns:1fr}.schoolpic{min-height:140px;padding:20px;background-position:center 45%}.formpanel{padding:25px}.schoolpic b{font-size:26px}}

*{box-sizing:border-box}body{background:#f4fbfd}.loginbox{width:min(1000px,100%);min-height:714px;border-radius:20px;box-shadow:0 18px 44px #3da6cd23}.schoolpic{background-image:linear-gradient(155deg,rgba(0,155,214,.76),rgba(0,112,158,.86)),url('../img/wat-chong-lom-campus.jpg');background-size:cover;padding:40px}.schoolpic b{font-size:32px;text-shadow:0 2px 5px #00446566}.schoolpic span{font-size:18px}.formpanel{width:100%;padding:56px 50px;align-self:start}header{margin:12px 0 58px}header img{width:70px;height:70px}h1{color:#008bbd;font-size:26px;margin:24px 0 4px}.google,.register{height:60px;min-height:60px;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:10px;font-weight:650;text-decoration:none}.google{border-color:#d5dce0;box-shadow:0 3px 7px #1729390c}.google b{font-size:25px;color:#2865bb}.register{margin:20px 0 0;background:linear-gradient(105deg,#008ec3,#00b6d6);color:white;box-shadow:0 6px 14px #009dd233}.register:hover,.cta:hover{filter:brightness(.95)}details{margin-top:22px}summary{cursor:pointer;color:#26546b;text-align:center;font-weight:600;min-height:38px}.cta{background:#008fb8}.formpanel .error{border-radius:8px}.regnote{text-align:center;line-height:1.65}
@media(max-width:700px){.loginbox{min-height:0}.schoolpic{min-height:170px;padding:23px}.schoolpic b{font-size:26px}.schoolpic span{font-size:15px}.formpanel{padding:22px}.formpanel header{margin:0 0 24px}.formpanel header img{width:52px;height:52px}h1{margin:12px 0 4px}.google,.register{min-height:50px;height:50px}}

.formpanel header img { width: auto; height: clamp(80px, 10vw, 112px); object-fit: contain; }
.formpanel header h1 { color: var(--sp-navy); }
.register, .cta { background: var(--sp-navy); }
.shell { background: var(--sp-page); }
.schoolpic { background-image: linear-gradient(155deg, #16385980, #071e37df), url('../img/wat-chong-lom-campus.jpg'); }
