*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}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;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.table{display:table}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:root{font-family:Noto Sans Thai,Tahoma,sans-serif;color:#17231b;background:#f4f7f4}*{box-sizing:border-box}body{margin:0}main{min-height:100vh}header{background:linear-gradient(135deg,#0d5d34,#176d3f);color:#fff;padding:28px 4vw;display:flex;justify-content:space-between;align-items:center;gap:20px}h1{margin:0;font-size:clamp(25px,3vw,38px)}header p{margin:6px 0 0;opacity:.88}.badge{background:#fff;color:#155f39;border-radius:999px;padding:8px 14px;font-weight:700;white-space:nowrap}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding:20px 4vw}.stats article,.panel{background:#fff;border:1px solid #dde7df;border-radius:14px;box-shadow:0 2px 12px #183f2410}.stats article{padding:18px}.stats small{display:block;color:#647267;margin-bottom:7px}.stats b{font-size:24px;color:#155f39}.panel{margin:0 4vw 30px;overflow:hidden}.tools{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;border-bottom:1px solid #e7eee8}.tools h2{margin:0}.tools p{margin:3px 0 0;color:#728076}.tools input{width:min(390px,100%);padding:11px 14px;border:1px solid #cad7cd;border-radius:9px;font-size:15px}.tableWrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:1450px}th{background:#eef6f0;color:#31523d;text-align:left;font-size:13px;padding:12px;white-space:nowrap}td{padding:12px;border-top:1px solid #edf1ee;vertical-align:top;font-size:14px}tbody tr:hover{background:#fafcfb}.subject{min-width:330px;line-height:1.5}.num{text-align:right;white-space:nowrap}.empty{text-align:center;padding:36px;color:#768278}footer{text-align:center;color:#78857b;padding:0 15px 25px}.headerActions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.headerButton{background:#ffffff19;border:1px solid #ffffff9a;color:#fff;border-radius:10px;padding:9px 13px;font:inherit;font-weight:700;cursor:pointer}.headerButton:disabled{opacity:.65;cursor:wait}.toolActions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;flex:1}.primaryButton{color:#fff;background:#157548;border:1px solid #157548;border-radius:10px;padding:11px 18px;font:inherit;font-weight:800;cursor:pointer;white-space:nowrap}.primaryButton:hover{background:#0d5d34}.primaryButton:disabled{opacity:.55;cursor:wait}.editButton{background:#ecf6ee;color:#11643a;border:1px solid #b7d5c0;border-radius:8px;padding:7px 12px;font:inherit;font-weight:700;cursor:pointer}.editButton:hover{background:#d9ecdf}.pendingBadge{display:inline-block;border-radius:999px;background:#fff1cf;color:#845b12;font-size:13px;font-weight:800;padding:5px 9px;white-space:nowrap;margin-left:5px}.tableWrap th:first-child,.tableWrap td:first-child{white-space:nowrap}.actionsCell{white-space:nowrap;min-width:82px}.compactAction{min-width:34px;padding:6px 8px;margin-right:5px}@media(max-width:720px){table{min-width:1180px}th,td{padding:9px 8px}.subject{min-width:260px}}.pendingRow{background:#fffdf5}.pendingCount{margin-top:5px;color:#856318;font-size:14px;font-weight:700}.notice{margin:12px 20px;padding:12px 15px;border-radius:9px;font-weight:600}.success{background:#e8f8ed;color:#146038}.error,.formError{background:#fff0ed;color:#aa3423}.notice button{margin-left:10px;color:inherit;border:0;text-decoration:underline;background:none;cursor:pointer}.tableInfo{padding:8px 20px;color:#67806a}.loadMore{padding:15px;text-align:center;border-top:1px solid #e7eee8}.loadMore button{padding:8px 18px;border-radius:9px;border:1px solid #b7d5c0;background:#f1faf3;color:#135f36;font:inherit;cursor:pointer}.modalBackdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0c1f1599;display:flex;justify-content:center;align-items:flex-start;padding:4vh 16px;overflow-y:auto;z-index:20}.formModal{width:min(850px,100%);background:#fff;border-radius:15px;box-shadow:0 14px 65px #0004;overflow:hidden;margin:auto}.modalHeading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 25px 17px;background:#f0f7f2;border-bottom:1px solid #dce7df}.modalHeading h2{margin:0;color:#164d2d;font-size:24px}.modalHeading p{margin:7px 0 0;color:#607366}.closeButton{background:transparent;border:0;font-size:30px;color:#335344;cursor:pointer;line-height:1}.formModal form{padding:22px 25px}.formGrid{display:grid;grid-template-columns:1fr 1fr;gap:16px 20px}.formGrid label{display:flex;flex-direction:column;gap:6px;font-weight:700;color:#2d4635;font-size:15px}.formGrid .wide{grid-column:1 / -1}.formGrid input,.formGrid textarea{width:100%;padding:11px 12px;min-height:44px;border:1px solid #bbcdbf;border-radius:9px;font:inherit;font-weight:400;color:#243b2b;background:#fff}.formGrid textarea{resize:vertical}.formGrid input:disabled{background:#eef0ed;cursor:not-allowed}.formGrid input:focus,.formGrid textarea:focus{outline:2px solid #63bb86;outline-offset:1px}.formError{padding:10px 13px;border-radius:8px}.formHint{color:#657469;font-size:13px;line-height:1.5}.formFooter{display:flex;justify-content:flex-end;gap:12px;margin-top:19px}.cancelButton{border:1px solid #b9c9bd;border-radius:10px;background:#fff;color:#425747;font:inherit;font-weight:700;padding:11px 18px;cursor:pointer}@media(max-width:720px){.headerActions{justify-content:flex-start}.toolActions{flex-direction:column;align-items:stretch}.toolActions input{width:100%}.formGrid{grid-template-columns:1fr}.formGrid .wide{grid-column:auto}.formModal form,.modalHeading{padding:18px}header{align-items:flex-start;flex-direction:column}.stats{grid-template-columns:1fr}.tools{align-items:stretch;flex-direction:column}.tools input{width:100%}}
