@import "https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;500;600;700;800&display=swap";@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial}::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.fixed{position:fixed}.static{position:static}.start{inset-inline-start:var(--spacing)}.start\!{inset-inline-start:var(--spacing)!important}.end\!{inset-inline-end:var(--spacing)!important}.block{display:block}.contents{display:contents}.grid{display:grid}.hidden{display:none}.inline-flex{display:inline-flex}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}}button,button *,a.action,a.action *,a.primary,a.primary *,a.payment-link-button,a.payment-link-button *,a.student-add-button,a.student-add-button *,a.create-short-link,a.create-short-link *,a.full-btn,a.full-btn *{font-weight:400!important}.offline-page{background:radial-gradient(circle at 20% 10%,#f2e9ed 0,#0000 38%),radial-gradient(circle at 90% 90%,#e5f6ee 0,#0000 34%),#f7f8fc;place-items:center;min-height:100dvh;padding:24px;display:grid}.offline-card{text-align:center;background:#fff;border:1px solid #e7e5ef;border-radius:24px;width:min(420px,100%);padding:36px;box-shadow:0 24px 70px #342c6017}.offline-card img{border-radius:20px;width:78px;height:78px;margin:0 auto 18px}.offline-card p{color:#8b6679;letter-spacing:1.8px;margin:0 0 8px;font-size:11px;font-weight:800}.offline-card h1{margin:0 0 12px;font-size:24px}.offline-card span{color:#737987;font-size:13px;line-height:1.65;display:block}.offline-card a{color:#fff;background:#8b6679;border-radius:11px;margin-top:24px;padding:13px 18px;font-weight:800;text-decoration:none;display:block}.login-page{background:radial-gradient(circle at 20% 10%,#f2e9ed 0,#0000 38%),radial-gradient(circle at 90% 90%,#e5f6ee 0,#0000 34%),#f7f8fc;place-items:center;min-height:100dvh;padding:24px;display:grid}.login-card{text-align:center;background:#fff;border:1px solid #e7e5ef;border-radius:24px;width:min(440px,100%);padding:38px;box-shadow:0 24px 70px #342c6017}.login-mark{color:#fff;background:linear-gradient(145deg,#a47a90,#765365);border-radius:19px;place-items:center;width:64px;height:64px;margin:0 auto 18px;font-size:34px;font-weight:800;display:grid}.login-card.denied .login-mark{background:#d75d68}.login-kicker{color:#8b6679;letter-spacing:1.8px;margin:0 0 8px;font-size:11px;font-weight:800}.login-card h1{margin:0 0 13px;font-size:25px}.login-card>p:not(.login-kicker){color:#737987;font-size:13px;line-height:1.65}.login-button{color:#fff;background:#8b6679;border-radius:11px;margin:24px 0 13px;padding:14px 18px;font-weight:800;text-decoration:none;display:block}.login-button.secondary{color:#765366;background:#f4ecef}.login-card small{color:#969aa5;font-size:10px}@media (max-width:520px){.login-page{padding:14px}.login-card{border-radius:19px;padding:28px 20px}.login-card h1{font-size:21px}}:root{--ink:#20242f;--muted:#858b99;--line:#e9eaf0;--purple:#8b6679;--bg:#f7f8fc}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);margin:0;font-family:Noto Sans Thai,Thonburi,Leelawadee UI,sans-serif}.app-shell{min-height:100vh;display:flex}.sidebar{border-right:1px solid var(--line);background:#fff;flex-direction:column;width:238px;padding:28px 18px 20px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:10px;padding:0 5px 32px;display:flex}.brand-mark{color:#fff;background:linear-gradient(145deg,#a47a90,#765365);border-radius:12px;flex:none;place-items:center;width:40px;height:40px;font-size:24px;display:grid}.brand b{white-space:nowrap;letter-spacing:-.2px;font-size:16px;display:block}.brand small{letter-spacing:2px;color:#9a9eaa;font-size:8px}.sidebar nav{gap:7px;display:grid}.sidebar button{color:#666d7d;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:13px;width:100%;height:45px;padding:0 14px;font-size:14px;display:flex}.sidebar button span{flex:none;place-items:center;width:20px;height:20px;display:grid}.app-icon{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.sidebar nav button{transition:background-color .16s,color .16s;position:relative}.sidebar nav button:hover{color:#704f60;background:#f7f6fb}.sidebar nav button.active{color:#765366;background:#f3eaee;font-weight:700}.sidebar nav button.active:before{content:"";background:var(--purple);border-radius:0 4px 4px 0;width:3px;height:24px;position:absolute;left:-18px}.sidebar-bottom{margin-top:auto}.sidebar-bottom>button{border-bottom:1px solid var(--line);border-radius:0;margin-bottom:16px}.user{align-items:center;gap:10px;padding:0 8px;display:flex}.user>span{color:#805c6e;background:#f2e9ed;border-radius:50%;place-items:center;width:36px;height:36px;font-weight:700;display:grid}.user div{flex:1;display:grid}.user b{font-size:12px}.user small{color:var(--muted);font-size:10px}.user i{color:#999;font-style:normal}.main{width:calc(100% - 238px);margin-left:238px;padding:28px 34px 50px}.topbar,.date-row,.panel-head{justify-content:space-between;align-items:center;display:flex}.topbar{border-bottom:1px solid var(--line);padding-bottom:28px}h1{margin:0 0 5px;font-size:20px}.topbar p,.panel-head p{color:var(--muted);margin:0;font-size:12px}.top-actions{gap:10px;display:flex}.top-actions button,.date-row button,.panel-head button{border:1px solid var(--line);cursor:pointer;color:#596070;background:#fff;border-radius:9px;height:38px;padding:0 14px}.top-actions .icon-btn{width:38px;padding:0}.top-actions .primary{background:var(--purple);color:#fff;border-color:var(--purple);font-weight:700}.notify{position:relative}.notify:after{content:"";background:#ed5b71;border:1px solid #fff;border-radius:50%;width:6px;height:6px;position:absolute;top:7px;right:8px}.date-row{padding:25px 0 17px}.date-row div{align-items:baseline;gap:14px;display:flex}.date-row b{font-size:22px}.date-row span{color:var(--muted);font-size:12px}.stats{grid-template-columns:repeat(4,1fr);gap:14px;display:grid}.stat-card{border:1px solid var(--line);background:#fff;border-radius:14px;gap:14px;padding:18px;display:flex}.stat-icon{border-radius:11px;flex:none;place-items:center;width:43px;height:43px;font-size:19px;font-weight:700;display:grid}.stat-icon .app-icon{width:20px;height:20px}.stat-icon.blue{color:#8b6679;background:#f2e9ed}.stat-icon.violet{color:#957086;background:#f1e8ec}.stat-icon.green{color:#805c6e;background:#f2e9ed}.stat-icon.orange{color:#e09437;background:#fff0dd}.stat-card p{color:#747b89;margin:0 0 6px;font-size:12px}.stat-card h2{margin:0 0 6px;font-size:22px}.stat-card small{color:#9297a2;font-size:10px}.stat-card small.up{color:#36966f}.content-grid{grid-template-columns:minmax(0,1.7fr) minmax(300px,.8fr);gap:16px;margin-top:17px;display:grid}.panel{border:1px solid var(--line);background:#fff;border-radius:14px;padding:20px}.panel h3{margin:0 0 5px;font-size:15px}.panel-head{padding-bottom:16px}.panel-head button{color:#866173;border:0;font-size:11px}.class-row{border-top:1px solid #f0f1f4;grid-template-columns:50px 3px 34px minmax(130px,1fr) 100px 75px 27px;align-items:center;gap:12px;min-height:69px;display:grid}.time{display:grid}.time b{font-size:13px}.time small,.class-info small,.teacher small,.student-mini small{color:var(--muted);margin-top:4px;font-size:10px}.line{border-radius:3px;height:34px}.avatar,.mini-avatar{color:#fff;border-radius:10px;place-items:center;width:34px;height:34px;font-size:10px;display:grid}.class-info,.teacher{display:grid}.class-info b,.teacher b{font-size:12px}.status{color:#bd812b;text-align:center;background:#fff6de;border-radius:20px;padding:6px 9px;font-size:9px}.more{color:#989da8;cursor:pointer;background:0 0;border:0}.warn-count{color:#d4862e;background:#fff1e2;border-radius:16px;padding:6px 9px;font-size:10px}.student-mini{border-top:1px solid #f0f1f4;align-items:center;gap:10px;padding:12px 0;display:flex}.student-mini>div:nth-child(2){flex:1;display:grid}.student-mini b{font-size:11px}.remain{text-align:right;display:grid}.remain b{color:#e08e36}.a0{background:#8b6679}.a1{background:#48a991}.a2{background:#e36684}.a3{background:#5791dc}.full-btn{color:#805c6e;cursor:pointer;background:#faf6f8;border:1px solid #e4d9de;border-radius:8px;width:100%;height:38px;margin-top:9px;font-size:11px;font-weight:700}@media (max-width:1050px){.stats{grid-template-columns:repeat(2,1fr)}.content-grid{grid-template-columns:1fr}.warning{display:none}}@media (max-width:720px){.sidebar{width:78px;padding:24px 10px}.brand{padding:0 8px 28px}.brand>span+span,.sidebar button:not(.active){font-size:0}.sidebar button{justify-content:center;padding:0}.sidebar button span{width:20px;height:20px}.sidebar-bottom .user div,.sidebar-bottom .user i{display:none}.sidebar-bottom .user{justify-content:center}.main{width:calc(100% - 78px);margin-left:78px;padding:20px 16px}.topbar h1{font-size:17px}.topbar p,.icon-btn{display:none}.date-row div{gap:3px;display:grid}.stats{grid-template-columns:1fr 1fr}.stat-card{gap:10px;padding:14px}.stat-icon{width:36px;height:36px}.stat-card h2{font-size:17px}.class-row{grid-template-columns:43px 3px 32px 1fr 26px}.teacher,.status{display:none}}@media (max-width:480px){.stats{grid-template-columns:1fr}.top-actions .primary{width:40px;padding:0;font-size:0}.date-row span{display:none}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}.login-button.google-login{color:#30333a;background:#fff;border:1px solid #dadce0;justify-content:center;align-items:center;gap:10px;display:flex;box-shadow:0 2px 8px #20242f12}.login-button.google-login span{color:#fff;background:#4285f4;border-radius:50%;place-items:center;width:24px;height:24px;font:800 14px Arial,sans-serif;display:grid}.logout-button{color:#9a7c89;letter-spacing:.35px;width:max-content;margin:9px auto 0;font-size:10px;font-weight:600;line-height:1.4;text-decoration:none;display:block}.logout-button:hover{color:#704f60;text-decoration:underline}.mobile-logout-button{color:#9a7c89;letter-spacing:.35px;width:max-content;margin:14px auto 2px;font-size:11px;font-weight:600;line-height:1.4;text-decoration:none;display:block}.mobile-logout-button:hover{color:#704f60;text-decoration:underline}@media screen{.app-shell .main{--layout-gap:14px;--control-height:40px}.app-shell .main .page-heading,.app-shell .main .trial-page .page-header{align-items:center;gap:16px;min-height:80px;padding:12px 0 18px}.app-shell .main .page-heading h2,.app-shell .main .trial-page .page-header h2{margin:0;font-size:23px;line-height:1.35}.app-shell .main .page-heading p,.app-shell .main .trial-page .page-header p{margin:5px 0 0;font-size:12px;line-height:1.5}.app-shell .main .page-heading>button,.app-shell .main .page-heading>a,.app-shell .main .student-heading-actions>button,.app-shell .main .trial-page .page-header>button{flex-shrink:0;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:8px 16px;font-size:13px;line-height:1.4;display:inline-flex}.app-shell .main .panel-head{align-items:center;gap:12px}.app-shell .main .panel-head h3{margin:0;line-height:1.4}.app-shell .main .panel-head p{margin-top:4px;line-height:1.5}.app-shell .main .dashboard-core-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;width:100%;max-width:none}.app-shell .main .dashboard-stat{align-items:center;min-height:110px}.app-shell .main .dashboard-stat h2{font-variant-numeric:tabular-nums;margin:4px 0;line-height:1.25}.app-shell .main .dashboard-stat small{line-height:1.5}.app-shell .main .dashboard-quick-actions{flex-wrap:wrap;gap:10px}.app-shell .main .student-summary,.app-shell .main .accounting-summary{align-items:stretch;gap:12px}.app-shell .main .student-summary>div,.app-shell .main .trial-summary>div,.app-shell .main .accounting-summary>article{flex-direction:column;justify-content:center;min-width:0;min-height:88px;display:flex}.app-shell .main .student-summary b,.app-shell .main .trial-summary b,.app-shell .main .accounting-summary b{font-variant-numeric:tabular-nums;line-height:1.3}.app-shell .main .report-export{gap:8px;min-height:40px;margin:0 0 14px}.app-shell .main .report-export select,.app-shell .main .report-export button{justify-content:center;align-items:center;min-height:36px;font-size:12px;display:inline-flex}.app-shell .main .student-directory-tools{align-items:center;gap:8px;padding:12px}.app-shell .main .student-directory-tools input,.app-shell .main .student-directory-tools select,.app-shell .main .student-directory-tools>button{height:40px;font-size:12px}.app-shell .main .student-directory-tools .student-search-control{flex:220px;min-width:220px}.app-shell .main .student-directory-tools .student-search-control>button{width:30px;height:30px;top:5px}.app-shell .main .student-directory-grid{align-items:stretch;gap:12px}.app-shell .main .student-directory-card{grid-template-columns:46px minmax(0,1fr) 120px;align-items:center;gap:12px;padding:16px}.app-shell .main .student-directory-info{align-content:center;gap:3px}.app-shell .main .student-directory-info>.student-directory-name{line-height:1.4}.app-shell .main .student-directory-info>span,.app-shell .main .student-directory-info>small,.app-shell .main .student-directory-info>em{margin:0;line-height:1.5}.app-shell .main .student-directory-course{align-self:center;min-width:0}.app-shell .main .student-directory-course>div:first-child{justify-content:flex-end;align-items:baseline;min-height:30px}.app-shell .main .student-card-actions,.app-shell .main .inactive-card-actions{align-items:center;gap:6px}.app-shell .main .student-card-actions button,.app-shell .main .student-card-actions summary,.app-shell .main .inactive-card-actions button,.app-shell .main .inactive-card-actions summary{min-height:34px;padding:0 10px;font-size:12px}.app-shell .main .student-course-button{white-space:nowrap}.app-shell .main .student-card-actions details summary,.app-shell .main .inactive-card-actions details summary{width:32px;padding:0}.app-shell .main .inactive-student-card{grid-template-rows:auto 1fr;align-items:start}.app-shell .main .inactive-student-card .student-directory-course{align-self:start}.app-shell .main .inactive-reason{align-self:end;gap:8px;margin-top:2px}.app-shell .main .inactive-reason textarea{height:56px;min-height:56px}.app-shell .main .inactive-reason button{min-height:36px}.app-shell .main .card-grid{align-items:stretch;gap:14px}.app-shell .main .teacher-card{flex-direction:column;align-items:center;min-width:0;padding:20px;display:flex}.app-shell .main .teacher-card .teacher-avatar{flex-shrink:0;margin:0 auto}.app-shell .main .teacher-card h3{margin:10px 0 3px;font-size:16px;line-height:1.4}.app-shell .main .teacher-card p,.app-shell .main .teacher-card>small{font-size:12px;line-height:1.5}.app-shell .main .teacher-card hr{align-self:stretch;width:100%;margin:12px 0}.app-shell .main .teacher-card>b{min-height:20px;font-size:13px;line-height:1.5}.app-shell .main .teacher-card>.tag{justify-content:center;align-items:center;min-height:28px;margin:12px 0 0;font-size:12px;display:inline-flex}.app-shell .main .teacher-card .row-actions{justify-content:center;align-self:stretch;margin-top:auto;padding-top:14px}.app-shell .main .teacher-card .row-actions button{min-height:34px;padding:6px 13px;font-size:12px}.app-shell .main .trial-tools{align-items:end;gap:10px;margin:14px 0 10px}.app-shell .main .trial-tools label{gap:5px}.app-shell .main .trial-tools input,.app-shell .main .trial-tools select,.app-shell .main .trial-tools>button{height:40px;font-size:12px}.app-shell .main .trial-tools input,.app-shell .main .trial-tools select{width:100%;min-width:0;max-width:100%}.app-shell .main .trial-tools>button{white-space:nowrap;justify-content:center;align-items:center;display:inline-flex}.app-shell .main .trial-toolbar{align-items:center;gap:10px;min-height:30px}.app-shell .main .trial-table-wrap th{vertical-align:middle;line-height:1.5}.app-shell .main .trial-table-wrap td{vertical-align:middle}.app-shell .main .trial-table-wrap .trial-row-actions button{vertical-align:middle;min-height:30px;margin:0 4px 5px 0}.app-shell .main .calendar-tools .date-nav{align-items:center;gap:8px}.app-shell .main .calendar-tools .date-nav button,.app-shell .main .calendar-tools .date-nav input{min-height:36px;line-height:1.3}.app-shell .main .week-strip{align-items:stretch;gap:8px}.app-shell .main .week-strip button{flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:72px;display:flex}.app-shell .main .week-strip button>*{margin:0;line-height:1.4}.app-shell .main .schedule-teacher-tools{flex-wrap:wrap;align-items:center;gap:8px;padding:12px}.app-shell .main .schedule-teacher-tools button,.app-shell .main .schedule-teacher-tools select{justify-content:center;align-items:center;min-height:36px;display:inline-flex}.app-shell .main .recurring-import{align-items:end;gap:18px}.app-shell .main .recurring-import label{gap:6px;line-height:1.4}.app-shell .main .recurring-import input,.app-shell .main .recurring-import .action{height:42px;min-height:42px}.app-shell .main .recurring-days button{min-height:72px;line-height:1.4}.app-shell .main .recurring-list-head{align-items:center;gap:12px}.app-shell .main .recurring-list-head h3{line-height:1.4}.app-shell .main .attendance-list{gap:12px}.app-shell .main .attendance-list .attendance{gap:10px 12px;padding:16px}.app-shell .main .attendance-list .attendance-actions>button,.app-shell .main .attendance-more>summary{justify-content:center;align-items:center;height:38px;min-height:38px;line-height:1.3;display:inline-flex}.app-shell .main .attendance-teacher-card{align-items:center}.app-shell .main .attendance-note textarea,.app-shell .main .attendance-note button{height:38px;min-height:38px}.app-shell .main .pos-grid{align-items:start;gap:14px}.app-shell .main .checkout{width:100%;max-width:none}.app-shell .main .payment-history .payment:not(.payment-edit){grid-template-columns:minmax(0,1fr) 160px 98px;align-items:center;gap:14px;min-height:72px;display:grid}.app-shell .main .payment-history .payment:not(.payment-edit)>div{min-width:0}.app-shell .main .payment-history .payment:not(.payment-edit)>div:nth-child(2){text-align:right;font-variant-numeric:tabular-nums}.app-shell .main .payment-history .payment-row-actions{flex-direction:row;justify-content:flex-end;align-items:center;gap:6px;display:flex}.app-shell .main .payment-summary-head{align-items:center;gap:12px}.app-shell .main .payment-summary-head>div:last-child{font-variant-numeric:tabular-nums}.app-shell .main .accounting-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.app-shell .main .accounting-row{grid-template-columns:76px minmax(0,1fr) 90px;gap:12px;min-height:72px}.app-shell .main .accounting-row>strong{text-align:right;font-variant-numeric:tabular-nums}.app-shell .main .accounting-row>div b{font-size:13px;line-height:1.4}.app-shell .main .accounting-row>div small{font-size:11px;line-height:1.5}.app-shell .main .accounting-grid{gap:14px}.app-shell .main .salary-teacher-grid{align-items:start;gap:12px}.app-shell .main .salary-teacher-head{align-items:center;min-height:64px}.app-shell .main .salary-teacher-total{text-align:right;min-width:100px}.app-shell .main .salary-session{align-items:center;min-height:48px}.app-shell .main .school-settings{grid-template-columns:180px minmax(0,1fr);gap:24px;width:100%;max-width:none}.app-shell .main .school-setting-form{min-width:0}.app-shell .main .backup-actions{align-items:center;gap:10px}.app-shell .main .backup-actions .action{justify-content:center;align-items:center;width:auto;min-height:42px;margin:0;display:inline-flex}.app-shell .main .backup-list>div,.app-shell .main .trash-row{align-items:center;gap:12px;min-height:64px}.app-shell .main .backup-list a,.app-shell .main .trash-row button{flex-shrink:0;justify-content:center;align-items:center;min-height:34px;display:inline-flex}.app-shell .main .table-wrap:not(.trial-table-wrap) th,.app-shell .main .table-wrap:not(.trial-table-wrap) td{vertical-align:middle;line-height:1.5}.app-shell .main .table-wrap:not(.trial-table-wrap) .row-actions{justify-content:flex-end;align-items:center;gap:6px;display:flex}.app-shell .main .table-wrap:not(.trial-table-wrap) .row-actions button{min-height:34px;font-size:12px}.payment-links-page .payment-links-shell{max-width:960px}.payment-links-page .link-builder-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:14px}.payment-links-page .link-builder-grid label{min-width:0;font-size:12px;line-height:1.5}.payment-links-page .link-builder-grid input,.payment-links-page .link-builder-grid select{height:42px;font-size:14px}.payment-links-page .payment-link-history-head{align-items:center;gap:12px}.payment-links-page .payment-link-history-row{grid-template-columns:minmax(0,1fr) 80px auto;gap:12px;min-height:76px}.payment-links-page .payment-link-history-row .link-status{text-align:center;justify-self:center;min-width:72px;font-size:11px;line-height:1.4}.payment-links-page .payment-link-history-row b{font-size:14px;line-height:1.5}.payment-links-page .payment-link-history-row small{overflow-wrap:anywhere;font-size:12px;line-height:1.5}.payment-links-page .payment-link-row-actions{justify-content:flex-end;align-items:center}.payment-links-page .payment-link-row-actions button{justify-content:center;align-items:center;min-height:36px;display:inline-flex}.payment-links-page .generated-link{grid-template-columns:minmax(0,1fr) auto auto auto;gap:10px}.payment-links-page .generated-link a,.payment-links-page .generated-link button{min-height:36px;line-height:1.4}.app-shell .modal label,.trial-dialog label{min-width:0}.app-shell .modal .form-grid,.trial-dialog .trial-form-grid{align-items:start}.app-shell .modal input:not([type=checkbox]):not([type=radio]),.app-shell .modal select{width:100%;min-width:0}.app-shell .modal .modal-actions{align-items:stretch}@media (min-width:901px){.app-shell .main .card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width:1200px){.app-shell .main .dashboard-core-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.app-shell .main .card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.app-shell .main .pos-grid{grid-template-columns:minmax(320px,.85fr) minmax(0,1.4fr)}}@media (max-width:1199px){.app-shell .main .pos-grid{grid-template-columns:minmax(0,1fr)}}@media (max-width:900px){.app-shell .main .recurring-import{grid-template-columns:minmax(0,1fr) auto}.app-shell .main .recurring-import>div{grid-column:1/-1}}@media (max-width:820px){.app-shell .main .page-heading,.app-shell .main .trial-page .page-header{flex-wrap:wrap;min-height:76px;padding:16px 0}.app-shell .main .card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .main .accounting-row{grid-template-columns:64px minmax(0,1fr) 80px}.payment-links-page .link-builder-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:700px){.app-shell .main .trial-tools label{flex:130px;min-width:0}.app-shell .main .trial-tools label:first-child{flex-basis:100%}.app-shell .main .trial-tools>button{flex:130px}.app-shell .main .trial-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.app-shell .main .trial-summary>div:last-child{grid-column:1/-1}.app-shell .main .trial-tools input,.app-shell .main .trial-tools select{font-size:16px}.app-shell .main .trial-table-wrap .trial-row-actions{flex-wrap:wrap;gap:6px;display:flex}.app-shell .main .trial-table-wrap .trial-row-actions button{min-height:36px;margin:0}.app-shell .main .schedule-teacher-tools{align-items:stretch}.app-shell .main .schedule-teacher-tools select{min-width:0;max-width:100%}.app-shell .main .payment-history .payment:not(.payment-edit){grid-template-columns:minmax(0,1fr) 120px;gap:8px}.app-shell .main .payment-history .payment-row-actions{grid-column:1/-1}.app-shell .main .checkout .methods{flex-wrap:wrap;display:flex}.app-shell .main .checkout .methods button{flex:28%;min-width:0}.app-shell .main .school-settings{grid-template-columns:minmax(0,1fr)}.app-shell .main .school-logo-preview{justify-self:center}.payment-links-page .generated-link{grid-template-columns:repeat(3,minmax(0,1fr))}.payment-links-page .generated-link>div{grid-column:1/-1}.payment-links-page .generated-link a,.payment-links-page .generated-link button{padding:6px;font-size:12px}}@media (max-width:620px){.app-shell .main .page-heading,.app-shell .main .trial-page .page-header{text-align:left;flex-direction:column;align-items:stretch;gap:12px}.app-shell .main .page-heading h2,.app-shell .main .trial-page .page-header h2{font-size:21px}.app-shell .main .page-heading>div>p{margin-left:0;margin-right:0}.app-shell .main .student-heading-actions{justify-content:flex-start;gap:8px}.app-shell .main .student-heading-actions>button{flex:1}.app-shell .main .dashboard-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid;overflow:visible}.app-shell .main .dashboard-quick-actions>div{grid-column:1/-1;margin:0}.app-shell .main .dashboard-quick-actions button{white-space:normal;width:100%;min-height:40px}.app-shell .main .dashboard-core-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.app-shell .main .dashboard-stat{flex-wrap:wrap;gap:8px;min-height:122px;padding:14px}.app-shell .main .dashboard-stat h2{white-space:normal;font-size:23px}.app-shell .main .dashboard-stat .stat-spark{opacity:.25;bottom:14px;right:12px}.app-shell .main .student-directory-tools .student-search-control{grid-column:1/-1;min-width:0}.app-shell .main .student-directory-tools input,.app-shell .main .student-directory-tools select{font-size:16px}.app-shell .main .student-directory-card{grid-template-columns:40px minmax(0,1fr) 94px;gap:9px;padding:13px}.app-shell .main .inactive-student-card{grid-template-columns:40px minmax(0,1fr) 120px}.app-shell .main .student-directory-course>span{width:76px}.app-shell .main .student-directory-avatar{width:40px;height:40px}.app-shell .main .student-directory-info>small{max-width:100%}.app-shell .main .card-grid{grid-template-columns:minmax(0,1fr)}.app-shell .main .teacher-card{padding:18px}.app-shell .main .accounting-summary{grid-template-columns:minmax(0,1fr);gap:10px}.app-shell .main .accounting-summary article{min-height:94px}.app-shell .main .backup-actions{grid-template-columns:minmax(0,1fr);display:grid}.app-shell .main .backup-actions .action{width:100%}.app-shell .main .backup-heading{gap:10px}.app-shell .main .recurring-import{flex-direction:column;align-items:stretch;display:flex}.app-shell .main .recurring-import label{flex-wrap:wrap}.app-shell .main .recurring-list-head{flex-direction:column;align-items:stretch}.payment-links-page .link-builder-grid{grid-template-columns:minmax(0,1fr)}.payment-links-page .payment-link-history-row{grid-template-columns:minmax(0,1fr) 80px}.payment-links-page .payment-link-row-actions{grid-column:1/-1}.payment-links-page .payment-link-history-head{flex-wrap:wrap;align-items:flex-start}.payment-links-page .generated-link{grid-template-columns:minmax(0,1fr)}.payment-links-page .generated-link>div{grid-column:auto}}.app-shell .main .report-export:has(+.schedule-calendar){display:none}.app-shell .main .page-heading:has(+.report-export+.schedule-calendar){display:none}.app-shell .main:has(.schedule-calendar)>.overdue-booking-alert{display:none}.app-shell .main .schedule-calendar{border:0;border-radius:18px;padding:12px;box-shadow:0 5px 18px #3728320d}.app-shell .main .schedule-calendar .date-nav{flex-wrap:wrap;gap:7px;margin-bottom:10px}.app-shell .main .schedule-calendar .date-nav button,.app-shell .main .schedule-calendar .date-nav input{min-height:36px;box-shadow:none;border-color:#eeeaed;font-size:12px}.app-shell .main .schedule-calendar .week-strip{gap:7px}.app-shell .main .schedule-calendar .week-strip button{color:#737781;background:#f7f6f9;gap:3px;min-height:64px;padding:7px 4px}.app-shell .main .schedule-calendar .week-strip button.active{color:#fff;box-shadow:none;background:#8b6679}.app-shell .main .schedule-calendar .week-strip small{font-size:11px}.app-shell .main .schedule-calendar .week-strip b{font-size:21px;font-weight:500}.app-shell .main .schedule-calendar .week-strip span{font-size:10px}.app-shell .main .schedule-teacher-tools{box-shadow:none;border:0;border-radius:14px;gap:12px;padding:12px 14px}.app-shell .main .schedule-teacher-tools>span{color:#737781;font-size:11px}.app-shell .main .schedule-teacher-tools>div{flex-wrap:wrap;gap:7px;min-width:0}.app-shell .main .schedule-teacher-tools select,.app-shell .main .schedule-teacher-tools button{min-height:36px;box-shadow:none;font-size:11px}.app-shell .main .sticky-schedule-grid{box-shadow:none;border:0;border-radius:18px;padding:12px}.app-shell .main .sticky-schedule-grid .teacher-head{background:#fcfbfd;gap:8px;padding:12px 10px;box-shadow:0 3px 8px #3728320a}.app-shell .main .sticky-schedule-grid .teacher-head>div{min-width:0}.app-shell .main .sticky-schedule-grid .teacher-head b{overflow-wrap:anywhere;font-weight:600;font-size:13px!important}.app-shell .main .sticky-schedule-grid .teacher-head small{color:#7b7e86;margin-top:3px;font-size:11px!important}.app-shell .main .sticky-schedule-grid .timeline-avatar{border-radius:9px;width:28px;height:28px;font-size:10px}.app-shell .main .sticky-schedule-grid .timeline-corner{color:#765366;background:#f8f3f6;box-shadow:3px 3px 8px #3728320d}.app-shell .main .sticky-schedule-grid .hour-cell{color:#7b7e86;font-variant-numeric:tabular-nums;background:#fdfcfd;font-weight:500;box-shadow:3px 0 8px #3728320a;font-size:11px!important}.app-shell .main .sticky-schedule-grid .timeline-book.schedule-card{box-shadow:none;border-radius:8px;padding:9px 25px 25px 9px!important}.app-shell .main .sticky-schedule-grid .schedule-card-time{font-variant-numeric:tabular-nums;color:#765f6c;font-size:10px}.app-shell .main .sticky-schedule-grid .schedule-card-content b{font-weight:600;line-height:1.4;font-size:14px!important}.app-shell .main .sticky-schedule-grid .schedule-card-content small{color:#72777b;line-height:1.4;font-size:11px!important}.app-shell .main .sticky-schedule-grid .schedule-card-status{background:#eee5eb;padding:3px 9px;font-size:10px!important}.app-shell .main .sticky-schedule-grid .status-มาเรียน{background:#ccecdf}.app-shell .main .sticky-schedule-grid .status-Makeup{background:#ded4ef}.app-shell .main .sticky-schedule-grid .status-ลา{background:#f9e5bd}.app-shell .main .sticky-schedule-grid .status-ลาป่วย,.app-shell .main .sticky-schedule-grid .status-ลากระทันหัน{background:#f4d0d4}.app-shell .main .sticky-schedule-grid .status-ทดลองเรียน{background:#f8dfbb}.app-shell .main .sticky-schedule-grid .schedule-card-icon-button{box-shadow:none}.app-shell .main .sticky-schedule-grid .has-overlap .timeline-book.schedule-card{padding-left:5px!important;padding-right:20px!important}.app-shell .main .sticky-schedule-grid .has-overlap .schedule-card-content b{font-size:12px!important}:is(.app-shell .main .schedule-calendar button:focus-visible,.app-shell .main .schedule-teacher-tools button:focus-visible,.app-shell .main .sticky-schedule-grid button:focus-visible){outline-offset:2px;outline:2px solid #8b6679}}@media screen and (hover:hover) and (pointer:fine){.app-shell .main .sticky-schedule-grid .schedule-card-icon-button{opacity:0}.app-shell .main .sticky-schedule-grid .teacher-slot:hover .schedule-card-icon-button,.app-shell .main .sticky-schedule-grid .teacher-slot:focus-within .schedule-card-icon-button{opacity:1}}@media screen and (max-width:620px){.app-shell .main .schedule-calendar{padding:10px}.app-shell .main .schedule-calendar .date-nav{gap:5px}.app-shell .main .schedule-calendar .week-strip{gap:4px}.app-shell .main .schedule-teacher-tools>div{flex-wrap:wrap;display:flex}.app-shell .main .schedule-teacher-tools select{flex:130px}.app-shell .main .sticky-schedule-grid{padding:8px}}@media screen{.app-shell .main .sticky-schedule-grid .teacher-timeline{zoom:.8}.app-shell .main .sticky-schedule-grid{padding:8px}.app-shell .main .sticky-schedule-grid .teacher-head b{font-size:14px!important}.app-shell .main .sticky-schedule-grid .hour-cell{font-size:13px!important}.app-shell .main .sticky-schedule-grid .schedule-card-content b{font-size:15px!important}.app-shell .main .sticky-schedule-grid .schedule-card-content small{font-size:12px!important}.app-shell .main .sticky-schedule-grid .schedule-card-time{font-size:11px}.app-shell .main .sticky-schedule-grid .has-overlap .schedule-card-content b{font-size:14px!important}.app-shell .main .schedule-calendar .week-strip button{gap:2px;min-height:52px;padding:5px 4px}.app-shell .main .schedule-calendar .week-strip b{font-size:19px}.app-shell .main .schedule-calendar{padding:9px 10px}.app-shell .main .schedule-calendar .date-nav{margin-bottom:7px}.app-shell .main:has(.dashboard-motion)>.overdue-booking-alert{border-radius:12px;margin-bottom:12px}.app-shell .main:has(.dashboard-motion)>.overdue-booking-alert>summary{gap:10px;padding:10px 15px}.app-shell .main:has(.dashboard-motion)>.overdue-booking-alert:not([open])>summary small{display:none}.app-shell .main:has(.dashboard-motion) .overdue-booking-symbol{width:24px;height:24px}.app-shell .main .dashboard-motion>.page-heading{min-height:66px;padding:8px 0 16px}.app-shell .main .dashboard-motion .dashboard-core-stats{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:14px}.app-shell .main .dashboard-motion .dashboard-core-stats .overview-bar-card{border-radius:18px;gap:0;min-height:0;padding:18px 20px;box-shadow:0 3px 16px #37283208}.app-shell .main .dashboard-motion .overview-bar-head p{font-size:12px;line-height:1.5}.app-shell .main .dashboard-motion .overview-bar-head .stat-icon{border-radius:10px;width:30px;height:30px}.app-shell .main .dashboard-motion .overview-bar-card h2{letter-spacing:-.8px;margin:8px 0 4px;font-size:30px;font-weight:600;line-height:1.25}.app-shell .main .dashboard-motion .overview-bar-note{margin-bottom:16px;font-size:11px}.app-shell .main .dashboard-motion .overview-bar-parts{gap:10px;margin-top:0}.app-shell .main .dashboard-motion .overview-bar-label{gap:6px;margin-bottom:5px;font-size:11px}.app-shell .main .dashboard-motion .overview-bar-track{height:5px}.app-shell .main .dashboard-motion .overview-teachers-card .overview-bar-parts{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 14px}.app-shell .main .dashboard-motion .overview-teachers-card .overview-bar-label{gap:1px}.app-shell .main .dashboard-motion .teacher-checkin-summary{margin-top:14px;padding:16px 20px}.app-shell .main .dashboard-motion .teacher-checkin-today-row{padding-top:7px;padding-bottom:7px}.app-shell .main .dashboard-motion .dashboard-course-panels{gap:14px;margin-top:14px}.app-shell .main .dashboard-motion .dashboard-course-panels>.panel{border-radius:18px;padding:18px 20px}.app-shell .main .dashboard-motion .dashboard-course-panels .panel-head{padding-bottom:12px}.app-shell .main .dashboard-motion .dashboard-next-class{margin-bottom:8px;padding:11px 13px}}@media screen and (min-width:1100px) and (hover:hover) and (pointer:fine){.app-shell .main .dashboard-motion .dashboard-core-stats{grid-template-columns:repeat(4,minmax(0,1fr))}}@media screen and (any-pointer:coarse){.app-shell .main .dashboard-motion .dashboard-core-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media screen and (max-width:620px){.app-shell .main .dashboard-motion .dashboard-core-stats{gap:10px}.app-shell .main .dashboard-motion .dashboard-core-stats .overview-bar-card{padding:14px}.app-shell .main .dashboard-motion .overview-bar-card h2{font-size:25px}.app-shell .main .dashboard-motion .overview-bar-head{align-items:flex-start}.app-shell .main .dashboard-motion .overview-bar-head .stat-icon{width:25px;height:25px}.app-shell .main .dashboard-motion .overview-bar-head p{font-size:11px}.app-shell .main .dashboard-motion .overview-bar-label{flex-wrap:wrap}.app-shell .main .dashboard-motion .overview-teachers-card .overview-bar-parts{grid-template-columns:minmax(0,1fr)}.app-shell .main .dashboard-motion .teacher-checkin-summary,.app-shell .main .dashboard-motion .dashboard-course-panels>.panel{padding:15px}}@media screen and (max-width:420px){.app-shell .main .dashboard-motion .dashboard-core-stats{grid-template-columns:minmax(0,1fr)!important}.app-shell .main .dashboard-motion .overview-teachers-card .overview-bar-parts{grid-template-columns:repeat(2,minmax(0,1fr))}}
