:root{font-family:Tahoma,'Noto Sans Thai',system-ui,-apple-system,Segoe UI,sans-serif;color:#193049;background:#f4f7fc;font-synthesis:none;font-size:14px}*{box-sizing:border-box}body{margin:0;line-height:1.65}button,input{font:inherit}button{cursor:pointer}a{text-decoration:none}h1,h2,h3,p{margin:0}h2{font-size:20px;line-height:1.4;color:#142e4a}h3{font-size:14px}.top{background:#fff;border-bottom:1px solid #e4eaf4}.top-inner{max-width:1320px;margin:auto;min-height:79px;padding:0 28px;display:flex;align-items:center;gap:14px}.brand-icon{background:linear-gradient(140deg,#0e347c,#2a73d9);color:white;font-weight:800;letter-spacing:1px;border-radius:13px;width:45px;height:45px;display:grid;place-items:center;box-shadow:0 8px 20px #2456a322}.brand{display:flex;flex-direction:column;line-height:1.5}.brand b{font-size:16px;letter-spacing:1.5px;color:#183e7d}.brand span{font-size:12px;color:#687a95}.top-right{margin-left:auto;display:flex;align-items:center;gap:14px}.pill{font-size:11px;color:#596b82;background:#f0f5fd;border:1px solid #e1eafa;border-radius:50px;padding:6px 11px}.pill i{display:inline-block;background:#27ad77;width:7px;height:7px;border-radius:100%;margin-right:6px}.subtle{background:transparent;border:0;color:#64748b;font-weight:600;padding:7px 10px}.subtle:hover{color:#1f5db6}.subtle.dark{background:#eef3fa;border-radius:10px}.shell{max-width:1320px;margin:auto;padding:36px 28px 60px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:2px;color:#b8d0fa;text-transform:uppercase;display:block;margin-bottom:13px}.eyebrow.dark{color:#3b73c1}.hero{display:flex;justify-content:space-between;align-items:center;gap:30px;background:radial-gradient(circle at 70% 30%,#1d5aab 0,transparent 45%),linear-gradient(105deg,#0c2d67,#103b83 70%,#164990);border-radius:20px;padding:38px 44px;color:white;min-height:218px;box-shadow:0 15px 28px #123d7930;position:relative;overflow:hidden}.hero:after{content:"";position:absolute;width:400px;height:400px;border:1px solid #ffffff18;border-radius:50%;right:-150px;top:-170px;pointer-events:none}.hero h1{font-size:34px;line-height:1.3;letter-spacing:-.5px}.hero h1 em,.auth-copy h1 em{color:#8ac7ff;font-style:normal}.hero p{color:#c7d8f2;margin-top:13px;max-width:600px}.hero-number{border-radius:15px;border:1px solid #8cb6e752;background:#ffffff12;padding:17px 24px;min-width:230px;position:relative;z-index:1;display:flex;flex-direction:column}.hero-number small{color:#b7d4fc}.hero-number strong{font-size:31px;letter-spacing:1px}.hero-number span{font-size:11px;color:#c5d7f4}.schedule{display:flex;align-items:center;justify-content:center;gap:40px;background:#fff;border:1px solid #e7edf6;border-radius:16px;box-shadow:0 4px 12px #10294e08;padding:17px;margin-top:20px;margin-bottom:23px}.schedule-piece{display:flex;align-items:center;gap:13px;min-width:240px}.schedule-piece>div:last-child{display:flex;flex-direction:column}.schedule-piece span{font-size:11px;color:#7b8ca3}.schedule-piece strong{color:#102c58;font-size:20px;line-height:1.4}.schedule-piece small{font-size:11px;color:#8a9bae}.schedule-icon{width:42px;height:42px;border-radius:12px;color:white;font-weight:800;display:grid;place-items:center}.schedule-icon.first{background:#1764be}.schedule-icon.second{background:#5b60bd}.schedule-sep{font-size:22px;color:#a6b5c8}.content-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(310px,1fr);gap:20px}.panel{background:#fff;border:1px solid #e3eaf3;box-shadow:0 5px 24px #122c4d08;border-radius:17px;padding:28px}.section-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:21px;gap:12px}.section-head p,.panel-title p{color:#8390a2;font-size:12px;margin-top:4px}.badge-soft{font-size:10px;font-weight:800;color:#3173b8;background:#e8f2fe;border-radius:20px;padding:5px 10px;white-space:nowrap}.file-label{border:1px dashed #b8cce6;border-radius:14px;padding:16px;display:flex;align-items:center;gap:14px;margin-bottom:13px;background:#f9fbfe;flex-wrap:wrap;cursor:pointer}.file-label:hover{border-color:#3078ce;background:#f1f6ff}.file-label>span:nth-child(2){flex:1;min-width:180px}.file-label strong{display:block;color:#193d70}.file-label small{display:block;color:#8b9ab0;font-size:11px}.file-label input{max-width:100%;font-size:11px;color:#5d7395;flex-basis:160px}.file-label input::file-selector-button{padding:8px;border:1px solid #c9d8ed;border-radius:8px;background:#fff;color:#265e9d;margin-right:7px;cursor:pointer}.file-icon{display:grid;place-items:center;width:41px;height:41px;border-radius:11px;background:#e4f0ff;color:#2562b8;font-size:19px;font-weight:800}.file-icon.purple{color:#6258bd;background:#eeebff}.primary,.secondary{border-radius:10px;display:inline-flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 16px;font-weight:700;border:1px solid transparent}.primary{color:white;background:linear-gradient(110deg,#144caa,#1a77ce);box-shadow:0 5px 14px #1f63bf26}.primary:hover{filter:brightness(1.06)}.primary span{font-size:20px}.secondary{color:#1a5ba1;background:white;border-color:#d0dff1}.secondary:hover{background:#f5f9fd}.full{width:100%;justify-content:center}.big{margin-top:4px;min-height:48px}.trust-line{color:#8395ad;font-size:11px;margin-top:18px;text-align:center}.settings-stat{background:#f5f9ff;border:1px solid #dce9fb;padding:15px;border-radius:11px;display:flex;flex-direction:column;gap:3px}.settings-stat>span{color:#8291a6;font-size:11px}.settings-stat strong{color:#245da6;font-size:18px}.fine{font-size:11px;color:#788aa0;margin-top:13px}.side details{margin-top:15px;border:1px solid #e4ebf6;border-radius:10px;overflow:hidden}.side summary{cursor:pointer;padding:10px 12px;color:#2d64ad;font-weight:700;display:flex;justify-content:space-between}.settings-form{padding:14px;border-top:1px solid #e4ebf6}.settings-form label{font-size:11px}.side-divider{border-top:1px solid #e9edf4;margin:20px 0}.checks{margin:10px 0 0;padding-left:20px;color:#637992;font-size:12px}.checks li{padding:4px 0}.checks li::marker{color:#20a377}.alert{padding:15px 18px;border-radius:11px;margin:0 0 18px;font-size:13px}.alert p{margin-top:4px}.alert.danger{background:#fff3f2;border:1px solid #f4cecd;color:#a62835}.alert.ok{background:#ecf9f2;border:1px solid #c0e7cf;color:#187544}.auth-layout{min-height:70vh;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(330px,.8fr);gap:70px;align-items:center;max-width:1040px;margin:30px auto}.auth-copy h1{font-size:46px;line-height:1.32;letter-spacing:-.8px;color:#1a3b72}.auth-copy h1 em{color:#216bbc}.auth-copy p{color:#70849f;font-size:15px;max-width:550px;margin-top:20px}.auth .panel-title{margin-bottom:21px}.auth label,.settings-form label{display:block;font-weight:700;color:#3b5271;margin-bottom:14px}.auth label small{font-size:10px;color:#889db7;font-weight:400}.auth input,.settings-form input{display:block;width:100%;border-radius:9px;border:1px solid #d5e0ed;background:#fff;padding:11px 12px;color:#1a3657;margin-top:5px;min-width:0}.auth input:focus,.settings-form input:focus{outline:2px solid #bed7fc;outline-offset:0}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:13px}.hint{background:#eff6ff;border:1px solid #d4e4fa;padding:18px;border-radius:12px;margin-top:24px}.hint strong{color:#285da4}.hint p{font-size:12px;margin-top:6px}.footnote{color:#a3acb9;font-size:11px;margin-top:15px}.three-steps{display:flex;flex-direction:column;gap:10px;margin-top:24px;color:#3570ba;font-weight:700}.output{margin-top:24px}.output-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px;gap:10px}.output-head p{color:#7889a1;font-size:12px;margin-top:4px}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.stat{background:white;border-radius:12px;border:1px solid #e1e9f4;padding:19px;display:flex;flex-direction:column;gap:4px}.stat span{font-size:12px;color:#8c9cb0}.stat strong{font-size:23px;color:#1d4b8b;line-height:1.3}.stat small{font-size:11px;color:#728aa6}.stat.total{background:#e9f4ff;border-color:#bfddf7}.download-row{display:flex;gap:11px;margin-top:18px;flex-wrap:wrap}.download-row .link{font-size:12px;justify-content:center}.preview-grid{display:grid;gap:16px;margin-top:20px}.preview-card{background:white;border:1px solid #e0e9f3;border-radius:12px;overflow:hidden}.preview-head{display:flex;justify-content:space-between;background:#f7faff;padding:13px 17px;gap:10px}.preview-head b{color:#1d4d87}.preview-head span{color:#7186a2;font-size:12px}.table-scroller{overflow:auto;max-height:350px}table{border-collapse:collapse;width:100%;min-width:700px;font-size:12px}th,td{padding:10px 12px;border-bottom:1px solid #edf0f5;text-align:left;white-space:nowrap}th{color:#70829c;background:#fbfcff;position:sticky;top:0}td{color:#3e546f}tr:hover td{background:#fafcff}.monospace{font-family:ui-monospace,monospace}.right{text-align:right}.area-pill{background:#e8f5ee;color:#218051;font-weight:700;border-radius:20px;padding:3px 9px}.footer-note{display:flex;justify-content:space-between;border-top:1px solid #dfe6ef;margin-top:32px;padding-top:18px;color:#879bb3;font-size:11px}@media(max-width:900px){.content-layout{grid-template-columns:1fr}.auth-layout{grid-template-columns:1fr;gap:28px}.hero{padding:26px}.hero-number{min-width:160px}.stat-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.shell{padding:20px 15px 40px}.top-inner{padding:13px 16px;min-height:60px}.pill{display:none}.hero{flex-direction:column;align-items:stretch;gap:19px}.hero h1{font-size:26px}.hero-number{max-width:none}.schedule{gap:10px;justify-content:space-between;padding:12px 9px}.schedule-piece{min-width:0;gap:7px}.schedule-piece strong{font-size:14px}.schedule-icon{width:32px;height:32px;font-size:12px}.schedule-sep{font-size:14px}.panel{padding:20px 17px}.file-label input{flex-basis:100%}.stat-grid{gap:9px}.stat{padding:13px}.stat strong{font-size:18px}.stat span,.stat small{font-size:10px}.download-row{flex-direction:column}.download-row a{width:100%}.auth-copy h1{font-size:34px}.footer-note{display:block}.footer-note span{display:block;margin-top:5px}}
/* v1.0.0 · history / admin */
.searchbox{display:flex;align-items:center;gap:12px;margin:0 0 20px}.searchbox input{flex:1;min-width:0;border:1px solid #d5e0ed;border-radius:10px;padding:11px 13px;color:#1e3f69}.searchbox button{justify-content:center}.panel>form>label:not(.file-label){display:block;margin:14px 0 8px;color:#3b5271;font-weight:700}.panel>form>label:not(.file-label) input{width:100%;display:block;border:1px solid #d5e0ed;border-radius:9px;margin-top:5px;padding:11px}.table-scroller a{font-weight:700;color:#2465ac}.table-scroller a:hover{text-decoration:underline}.top-right a{white-space:nowrap}.hero-number{word-break:break-word}
@media(max-width:740px){.top-inner{flex-wrap:wrap}.top-right{margin-left:0;width:100%;justify-content:space-between;gap:2px;flex-wrap:wrap}.top-right a,.top-right button{font-size:12px;padding:5px}.searchbox{flex-direction:column;align-items:stretch}.searchbox button{width:100%}.hero-number strong{font-size:25px}}

/* v1.0.8 · account management */
.user-list{margin-top:22px}.user-list .table-scroller{max-height:none}.user-list table{min-width:820px}.user-list th:last-child,.user-list td:last-child{min-width:190px}.user-actions{position:relative;max-width:250px;border:1px solid #d5e1f4;border-radius:9px;background:#f8fbff;padding:6px 10px}.user-actions summary{cursor:pointer;font-weight:700;color:#165ba9}.user-action-form{display:flex;flex-direction:column;gap:7px;padding:12px 0;border-top:1px solid #e3ebf5;margin-top:10px}.user-action-form label{display:block;font-size:11px;font-weight:700;white-space:normal}.user-action-form input{display:block;min-width:0;width:100%;padding:8px;border:1px solid #cddbef;border-radius:7px;margin-top:4px}.user-action-form button{font-size:11px;padding:8px 10px}.user-list td{vertical-align:top}.panel form>label input:focus{border-color:#2172cd;outline:2px solid #d4e7fc}

/* v1.0.12: explicit regular/holiday choice. Radio remains accessible and submitted natively. */
.day-choice-fieldset{border:0;margin:4px 0 18px;padding:0;min-width:0}
.day-choice-fieldset legend{display:block;font-size:13px;font-weight:800;color:#274769;margin:0 0 11px;padding:0}
.day-choice-fieldset legend span{font-size:11px;font-weight:500;color:#8191a8}
.day-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.day-choice-option{position:relative;display:block;cursor:pointer;min-width:0}
.day-choice-option>input[type="radio"]{position:absolute;opacity:0;width:1px;height:1px;top:1px;left:1px;margin:0}
.day-choice-body{display:block;border:1.5px solid #d5e2f2;border-radius:12px;padding:15px 13px;background:#fafcff;min-height:97px;transition:background-color .12s,border-color .12s,box-shadow .12s}
.day-choice-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#22446e}
.day-choice-title strong{font-size:15px;line-height:1.4}
.day-choice-body small{display:block;margin:8px 0 0 27px;font-size:11px;line-height:1.5;color:#7589a4}
.day-choice-mark{display:inline-block;width:18px;height:18px;border:2px solid #9eafc4;border-radius:50%;flex:none;background:#fff}
.day-choice-tag{display:inline-block;color:#2465ae;background:#eaf3ff;font-size:11px;font-weight:800;padding:3px 8px;border-radius:8px;margin-left:auto}
.day-choice-option:hover .day-choice-body{border-color:#78a8e4;background:#f2f7ff}
.day-choice-option>input:checked+.day-choice-body{background:#eaf3ff;border-color:#1c68c0;box-shadow:0 0 0 1px #1c68c0}
.day-choice-option>input:checked+.day-choice-body .day-choice-mark{border-color:#1765bb;box-shadow:inset 0 0 0 4px #fff;background:#1765bb}
.day-choice-option>input:checked+.day-choice-body .day-choice-title{color:#154b94}
.day-choice-option>input:focus-visible+.day-choice-body{outline:3px solid #ffbf47;outline-offset:3px}
.day-choice-help{font-size:11px!important;color:#7285a1!important;line-height:1.65;margin:10px 0 0}
@media(max-width:600px){.day-choice-grid{grid-template-columns:1fr;gap:9px}.day-choice-body{min-height:0;padding:12px 13px}.day-choice-body small{margin-top:4px}}

/* v1.0.13 government holiday calendar automatic default. */
.day-choice-grid.calendar-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.day-choice-grid.calendar-grid .day-choice-body{min-height:112px}
.day-choice-grid.calendar-grid .day-choice-option:first-child .day-choice-body{background:#f0f7ff}
.day-choice-grid.calendar-grid .day-choice-option:first-child input:checked+.day-choice-body{border-color:#1765bb;box-shadow:0 0 0 1px #1765bb;background:#e1efff}
@media(max-width:740px){.day-choice-grid.calendar-grid{grid-template-columns:1fr}.day-choice-grid.calendar-grid .day-choice-body{min-height:0}}
