@import"https://fonts.googleapis.com/css2?family=Sarabun:wght@400;500;600;700&display=swap";:root{font-family:Sarabun,Arial,sans-serif;color:#242424;background:#ececec;font-synthesis:none}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%}body{min-width:320px}button,select,textarea{font:inherit}button{color:inherit}button:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(0,112,242,.28);outline-offset:2px}body.modal-open{overflow:hidden}.app-shell{position:relative;width:100%;max-width:430px;min-height:100vh;margin:0 auto;overflow:hidden;background:#fff;box-shadow:0 0 0 1px #d5d5d5}.hero{position:relative;width:100%;aspect-ratio:430 / 288;background-color:#78909c;background-position:center top;background-size:100% 100%;background-repeat:no-repeat}.hero:before{position:absolute;z-index:0;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,#0aaffb7a,#f641327a);content:""}.brand-header{position:absolute;z-index:4;top:13px;left:15px;right:15px;display:flex;align-items:center;justify-content:space-between;color:#fff;font-size:19px;font-weight:700;text-shadow:0 1px 2px rgb(0 0 0 / 25%)}.brand-header span,.brand-header button{display:flex;align-items:center;gap:6px}.brand-header img{width:24px;height:24px}.brand-header button{border:0;background:transparent;color:inherit;font:inherit}.brand-header button img{width:16px;height:16px}.brand-header button b{font-size:14px;font-weight:700}.school-identity{position:absolute;z-index:1;top:17%;left:50%;display:flex;width:260px;transform:translate(-50%);flex-direction:column;align-items:center;color:#fff;text-align:center;text-shadow:0 2px 3px rgba(0,0,0,.35)}.school-identity img{width:73px;height:74px;object-fit:contain}.school-identity h1{margin:1px 0 0;font-size:20px;line-height:1.25;font-weight:400}.intro-card{position:absolute;z-index:3;top:min(53.488vw,230px);left:14px;right:14px;display:flex;min-height:84px;align-items:center;gap:17px;padding:12px 22px;border-radius:14px;background:#f3f8ff}.intro-card img{width:54px;height:67px;flex:0 0 auto;object-fit:contain}.intro-card p{margin:0;color:#5e6269;font-size:12px;line-height:1.45}.content-card{position:relative;z-index:2;min-height:calc(100vh - min(65.116vw,280px));margin-top:-8px;padding:0 20px 40px;border-radius:0;background:#fff}.student-list-card{position:relative;top:42px;margin-bottom:42px;padding:22px 18px 18px;border-radius:24px;background:#fff;box-shadow:0 8px 18px #0000001a}.filters{display:flex;gap:18px;overflow:hidden;padding-bottom:24px}.filter-button,.child-chip{height:42px;border:1px solid #d3d3d3;border-radius:6px;background:#fff;font-size:15px;font-weight:600;white-space:nowrap}.filter-button{display:flex;min-width:104px;align-items:center;justify-content:space-between;padding:0 15px}.child-chip{display:flex;min-width:152px;align-items:center;gap:8px;padding:0 13px;overflow:hidden}.avatar-placeholder{width:24px;height:24px;flex:0 0 auto;border:1px solid #d8d8d8;border-radius:50%;background:linear-gradient(#f2f2f2 48%,#dedede 49%)}.chevron{display:inline-block;width:8px;height:8px;margin:-4px 1px 0 12px;transform:rotate(45deg);border-right:1.5px solid #777;border-bottom:1.5px solid #777}.chevron--blue{border-color:#0070f2}.attendance-section{padding:0}.section-heading{display:flex;align-items:baseline;justify-content:center;margin:0 0 20px;font-size:16px;line-height:1.4}.section-heading button{padding:0 0 2px 8px;border:0;border-bottom:2px solid #1684f8;background:transparent;color:#0879ee;font-weight:600}.date-picker-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.attendance-list{padding:0 0 0 12px;max-height:238px;overflow-y:auto}.attendance-row{display:grid;width:100%;min-height:72px;grid-template-columns:60px minmax(0,1fr) auto 14px;align-items:center;gap:12px;padding:8px 7px 8px 0;border:0;border-bottom:1px solid #d4d4d4;background:transparent;text-align:left;cursor:pointer}.attendance-row:last-child{border-bottom:0}.attendance-thumbnail{width:60px;height:60px;border-radius:4px;object-fit:cover}.attendance-row strong{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.attendance-time{color:#292929;font-size:14px;white-space:nowrap}.attendance-time>span{margin-right:5px;color:#7e7e7e}.row-arrow{color:#888;font-size:26px;font-weight:300}.image-placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;border:1px solid #d7dce2;background:#f1f3f5;color:#858b93}.image-placeholder svg{width:34px;height:34px;fill:#b5bbc2}.image-placeholder--compact svg{width:23px;height:23px}.modal-backdrop{position:fixed;z-index:20;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;padding:28px;background:#0000007a}.modal-panel{width:min(100%,378px);max-height:calc(100dvh - 56px);overflow-y:auto;border-radius:26px;background:#fff;box-shadow:0 16px 44px #0000002e}.modal-header{display:flex;min-height:74px;align-items:center;padding:0 24px;border-bottom:1px solid #d1d1d1}.modal-header h2{margin:0;font-size:20px}.modal-content{padding:26px 24px 24px}.image-caption{margin:0 0 8px;color:#858585;text-align:center}.detail-image{width:100%;height:212px;border-radius:5px;object-fit:cover}.detail-list{margin:12px 0 14px}.detail-list div{margin-bottom:10px}.detail-list dt{color:#777;font-size:14px;line-height:1.2}.detail-list dd{margin:2px 0 0;font-size:15px;font-weight:600;line-height:1.28}.modal-actions{display:grid;gap:12px}.detail-actions{grid-template-columns:132px 1fr}.secondary-button,.primary-button{min-height:43px;border-radius:6px;font-weight:600;cursor:pointer}.secondary-button{border:1px solid #d1d1d1;background:#fff}.primary-button{border:1px solid #ffd600;background:#ffd600}.report-modal{align-self:center;border-radius:20px}.report-form{padding:18px 24px 20px}.report-form label{position:relative;display:block;margin-bottom:10px}.report-form label>span{position:absolute;z-index:1;top:-7px;left:10px;padding:0 3px;background:#fff;color:#777;font-size:11px}.report-form select,.report-form textarea{width:100%;border:1px solid #cfcfcf;border-radius:3px;background:#fff;color:#565656}.report-form select{height:42px;padding:0 10px}.custom-select{position:relative}.custom-select>button{display:flex;width:100%;height:42px;align-items:center;justify-content:space-between;padding:0 12px;border:1px solid #cfcfcf;border-radius:4px;background:#fff;color:#777;text-align:left}.custom-select>button .chevron{margin-left:auto}.custom-select [role=listbox]{position:absolute;z-index:3;top:calc(100% + 6px);width:100%;overflow:hidden;border-radius:4px;background:#fff;box-shadow:0 3px 9px #00000038}.custom-select [role=option]{display:block;width:100%;padding:8px 12px;border:0;background:#fff;text-align:left}.custom-select [role=option]:hover,.custom-select [role=option][aria-selected=true]{background:#f1f1f1}.auth-shell{position:relative;width:100%;max-width:430px;min-height:100vh;margin:0 auto;top:0;overflow:hidden;background:#fff}.auth-hero{position:relative;display:flow-root;height:min(92.1vw,396px);margin:0;padding:20px 28px;background-position:center;background-size:cover;background-blend-mode:overlay;background-color:#00affb6b;color:#fff;text-align:center;text-shadow:0 2px 3px rgb(0 0 0 / 30%)}.auth-hero:before{position:absolute;z-index:0;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,#0aaffb7a,#f641327a);content:""}.auth-hero .brand-header,.auth-school-identity,.auth-hero h1,.auth-hero>p{position:relative;z-index:1}.auth-school-identity{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;padding-top:48px}.auth-school-identity img{width:73px;height:74px}.auth-school-identity strong{font-size:20px;font-weight:400}.auth-hero h1{position:relative;z-index:1;margin:8px 0 0;font-size:28px}.auth-hero>p{position:relative;z-index:1;margin:2px 0;font-size:14px}.auth-card{position:relative;z-index:1;margin:-110px 27px 32px;padding:28px 26px 26px;border-radius:25px;background:#fff;box-shadow:0 7px 15px #0000001f}.auth-card footer{margin:26px -26px -26px;padding:27px 26px;border-top:1px solid #d0d0d0}.auth-card footer .primary-button{width:100%}.form-field{position:relative;display:block;margin:19px 0}.form-field>label{position:absolute;z-index:1;top:-8px;left:12px;padding:0 4px;background:#fff;color:#777;font-size:12px}.form-field>div{position:relative}.form-field input{width:100%;height:45px;padding:0 45px 0 14px;border:1px solid #c7c7c7;border-radius:12px;font-size:16px}.form-field__input-wrap--prefix input{padding-left:48px}.field-prefix-icon{position:absolute;z-index:1;top:11px;left:14px;width:22px;height:22px;object-fit:contain}.login-card__title{margin:12px 0 4px;text-align:center;font-size:24px}.login-card__description{margin:0 0 28px;color:#777;text-align:center;line-height:1.45}.form-field--error input{border-color:#f33}.form-field small{color:#ef3535;font-size:11px}.password-toggle{position:absolute;top:7px;right:10px;border:0;background:transparent;color:#777;font-size:20px}.link-button{display:block;width:fit-content;margin:-8px 0 24px auto;text-align:right;border:0;background:transparent;color:#1b98ff}.register-callout{padding:15px;border-radius:13px;background:#edf6ff;color:#777;text-align:center}.register-callout a{display:block;margin-top:4px;color:#168cf6}.stepper{display:flex;justify-content:space-between;gap:6px;padding:0;margin:0 0 27px;list-style:none}.stepper li{position:relative;display:flex;flex:1;flex-direction:column;align-items:center;gap:5px;color:#555;font-size:11px;text-align:center}.stepper li>img:first-child{position:relative;z-index:1;display:grid;width:40px;height:40px;place-items:center;object-fit:contain}.stepper-line{position:absolute;top:0;left:59%;width:84%;height:40px;z-index:0}.registration-card h2,.success-card h2{margin:0;font-size:21px}.form-hint{margin:4px 0 18px;color:#777;font-size:13px}.otp-step{text-align:center}.otp-phone{display:inline-flex;align-items:center;gap:8px;margin:18px 0 4px;padding:8px 12px;border:1px solid #ccc;border-radius:7px;color:#777}.otp-phone img{width:20px;height:20px}.otp-step>p{color:#777;text-align:left}.otp-step .form-field input{text-align:center;letter-spacing:8px;font-size:24px}.student-input{position:relative;margin:12px 0;padding:24px 24px 2px;border:1px solid #ccc;border-radius:13px}.student-input>button{float:right;border:1px solid #f55;border-radius:3px;background:#fff;color:#e33}.add-child{width:100%;padding:9px;border:1px dashed #ffcf00;border-radius:12px;background:#fffdf0}.registration-actions{display:grid;grid-template-columns:1fr 1fr;gap:16px}.success-card{text-align:center}.success-icon{display:block;width:50px;height:50px;margin:0 auto 24px}.success-card>p{color:#777}.success-card dl{text-align:left}.success-card dt{color:#777}.success-card dd{margin:0 0 16px;font-weight:700}.report-form textarea{min-height:104px;padding:12px 10px;resize:vertical}.report-actions{grid-template-columns:1fr 1fr;margin-top:8px}@media(max-width:380px){.attendance-row{grid-template-columns:54px minmax(0,1fr) 14px;gap:9px}.attendance-thumbnail{width:54px;height:54px}.attendance-time{grid-column:2;font-size:13px}.row-arrow{grid-column:3;grid-row:1 / span 2}.intro-card{padding-inline:14px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
