.enrol-main{width:min(1120px,92%);max-width:none;margin-bottom:48px}
.enrol-heading{margin:10px 0 28px}.enrol-heading h1{margin:0 0 8px;font:400 clamp(27px,3vw,40px)/1.3 KrungthepLocale,Krungthep,sans-serif}.enrol-heading p{margin:0;font-size:22px;line-height:1.5;color:#526079}
.enrol-layout{display:grid;grid-template-columns:minmax(260px,.77fr) minmax(0,1.5fr);gap:38px;align-items:start}
.enrol-path{padding:20px 0}.enrol-path h2,.enrol-form-panel h2{font:400 23px/1.4 KrungthepLocale,Krungthep,sans-serif;margin:0 0 18px}
.enrol-steps{list-style:none;padding:0;margin:0;display:grid;gap:26px}.enrol-steps li{display:grid;grid-template-columns:78px 1fr;gap:16px;position:relative;align-items:start}.enrol-steps li:not(:last-child):after{content:"";height:22px;width:2px;background:#c5d2ef;position:absolute;left:38px;top:82px}
.enrol-step-art{width:78px;height:78px;border:1px solid #c5d2ef;border-radius:50%;background:linear-gradient(145deg,#fff,#edf2fd);position:relative;display:grid;place-items:center;box-shadow:0 3px 8px #00175512}.enrol-step-art>span{position:absolute;top:-4px;left:-3px;background:#002baa;color:white;min-width:23px;height:23px;border-radius:50%;text-align:center;line-height:23px;font-size:15px}.enrol-step-art svg{width:49px;height:49px;stroke:#002baa;stroke-width:2;stroke-linejoin:round;stroke-linecap:round;fill:none}
.enrol-steps h3{font:400 18px/1.4 KrungthepLocale,Krungthep,sans-serif;color:#002baa;margin:1px 0 7px}.enrol-steps p{font-size:18px;line-height:1.45;margin:0;color:#526079}.enrol-law-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:26px 0 0 94px;font-size:17px}
.enrol-form-panel{padding:26px 28px 28px;border:1px solid #dce3f2;border-radius:18px;background:#ffffffed;box-shadow:0 5px 20px #0017550a}.enrol-form-panel h2{margin-bottom:6px}.enrol-form-intro{font-size:16px;line-height:1.4;color:#526079;margin:0 0 19px}.enrol-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px 18px}.enrol-fields label{display:block;font-size:17px;line-height:1.35;color:#17213b}.enrol-optional{font-size:15px;font-weight:400;color:#526079}.enrol-fields input,.enrol-fields textarea{display:block;width:100%;font:400 18px/1.35 'Source Sans 3',sans-serif;color:#17213b;background:#fff;border:1px solid #9eafce;border-radius:8px;padding:10px 12px;margin-top:5px;min-height:44px}.enrol-fields textarea{resize:vertical;min-height:70px}.enrol-fields input:focus,.enrol-fields textarea:focus{outline:3px solid #c6d5ff;border-color:#002baa}.enrol-fields [aria-invalid=true]{border:2px solid #ae0027}.enrol-field-wide{grid-column:1/-1}
.enrol-photos{padding:0;margin:18px 0 0;border:0;min-width:0}.enrol-photos legend{font-size:18px;line-height:1.35;padding:0}.enrol-photos>p{font-size:16px;line-height:1.4;color:#526079;margin:4px 0 10px}.enrol-photo-actions{display:flex;gap:10px;flex-wrap:wrap}.enrol-file-action{position:relative;overflow:hidden;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:8px 14px;background:#002baa;color:white;border:1px solid #002baa;border-radius:8px;font-size:17px;box-shadow:0 2px 0 #001c72}.enrol-file-action svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.enrol-file-input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.enrol-file-action:focus-within{outline:3px solid #91b3ff;outline-offset:3px}.enrol-camera{display:none}
.enrol-photo-previews{display:flex;gap:10px;flex-wrap:wrap;list-style:none;padding:0;margin:12px 0 0}.enrol-photo-previews:empty{display:none}.enrol-photo-previews li{position:relative;width:90px}.enrol-photo-previews img{display:block;width:90px;height:72px;object-fit:cover;border-radius:8px;border:1px solid #c5d2ef}.enrol-photo-previews button{position:absolute;right:-6px;top:-8px;border:1px solid #c5d2ef;border-radius:50%;background:white;color:#002baa;width:32px;height:32px;font:24px/1 system-ui;cursor:pointer;box-shadow:0 2px 4px #0017551a}.enrol-photo-previews span{display:block;font-size:12px;line-height:1.3;color:#526079;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:4px}
.enrol-local-note{font-size:14px;line-height:1.45;color:#526079;margin:17px 0 10px}.enrol-feedback{font-size:16px;line-height:1.4;color:#a6002b;margin:8px 0}.enrol-feedback:empty{display:none}.enrol-feedback[data-kind=ok]{color:#002baa}.enrol-submit{font-family:inherit;cursor:pointer;margin-top:0}.enrol-submit:disabled{opacity:.55;cursor:wait}.enrol-success{padding:20px 0}.enrol-success[hidden]{display:none}.enrol-success>svg{width:64px;height:64px;fill:#f0f4fe;stroke:#002baa;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.enrol-success h3{font:400 24px/1.4 KrungthepLocale,Krungthep,sans-serif;color:#002baa}.enrol-success p{font-size:19px;line-height:1.5}.enrol-success button{font-family:inherit;cursor:pointer}
@media(max-width:900px){.enrol-layout{gap:24px;grid-template-columns:minmax(230px,.75fr) minmax(0,1.4fr)}.enrol-form-panel{padding:23px 22px}.enrol-steps li{grid-template-columns:64px 1fr;gap:12px}.enrol-step-art{width:64px;height:64px}.enrol-step-art svg{width:42px;height:42px}.enrol-steps li:not(:last-child):after{left:31px;top:69px}.enrol-law-link{margin-left:76px}}
@media(max-width:700px){.enrol-main{width:90%;margin-bottom:36px}.enrol-heading{margin:8px 0 20px}.enrol-heading h1{font-size:27px}.enrol-heading p{font-size:19px}.enrol-layout{grid-template-columns:1fr;gap:20px}.enrol-path{padding:0}.enrol-path h2{font-size:20px;margin-bottom:14px}.enrol-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.enrol-steps li{display:block;text-align:center}.enrol-steps li:not(:last-child):after{display:none}.enrol-step-art{margin:0 auto 12px;width:58px;height:58px}.enrol-step-art svg{width:37px;height:37px}.enrol-step-art>span{width:21px;min-width:21px;height:21px;line-height:21px;font-size:13px}.enrol-steps h3{font-size:13px;line-height:1.5;margin:0}.enrol-steps p{display:none}.enrol-law-link{margin:9px 0 0;font-size:16px}.enrol-form-panel{padding:22px 18px;border-radius:14px}.enrol-form-panel h2{font-size:22px}.enrol-fields{grid-template-columns:1fr;gap:13px}.enrol-field-wide{grid-column:auto}.enrol-camera{display:inline-flex}.enrol-photo-actions{display:grid;grid-template-columns:1fr;gap:10px}.enrol-file-action{width:100%}.enrol-fields input,.enrol-fields textarea{font-size:18px}.enrol-submit{width:100%;font-size:18px}}
@media(prefers-reduced-motion:reduce){.enrol-main *{scroll-behavior:auto}}

@media (any-pointer: coarse) {
  #consultation-form .enrol-camera { display: inline-flex; }
}

@media (max-width: 700px), (hover: none) and (pointer: coarse) {
  .enrol-law-link {
    display: none;
  }
}
