@font-face{font-family:Sarabun;src:url(../fonts/Sarabun-Regular.ttf);font-display:swap}@font-face{font-family:Sarabun;src:url(../fonts/Sarabun-SemiBold.ttf);font-weight:600 800;font-display:swap}
:root{--blue:#0066b3;--navy:#123c58;--ink:#203e50;--muted:#71838e;--bg:#f7f8f6;--line:#e5ebe9;--green:#21866f;--gold:#cfaa5e}*{box-sizing:border-box}body{margin:0;font:15px/1.6 Sarabun,Tahoma,sans-serif;background:var(--bg);color:var(--ink)}button,input{font:inherit}button,a{cursor:pointer}button{color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #75c8ed;outline-offset:3px}button{border:0}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.4;letter-spacing:-.5px}h2{font-size:20px}h3{font-size:16px}small{display:block;color:var(--muted);font-size:12px}svg{height:22px;width:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sidebar{display:none}.workspace header{height:76px;padding:0 22px;background:#fff;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brandword{font:bold 36px/1 Arial,sans-serif;letter-spacing:-2px;position:relative;color:var(--blue);white-space:nowrap}.brandword>span{color:var(--navy)}.brandword>i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--gold);margin-left:4px}.header-context,.desktop{display:none}.header-actions{display:flex;align-items:center;gap:16px}.avatar{border:0;width:43px;height:43px;border-radius:50%;background:#e6efee;color:var(--green);display:grid;place-items:center;font-size:18px;font-weight:600}.iconbtn{background:transparent;width:44px;height:44px;display:grid;place-items:center;border-radius:50%}.iconbtn:hover{background:#eff5f6}.bell{position:relative}.bell i{position:absolute;width:7px;height:7px;background:#cc774f;border:2px solid white;border-radius:50%;right:9px;top:9px}.small-avatar{width:35px;height:35px;font-size:15px}main{padding:25px 20px 12px;max-width:1280px;margin:auto}.eyebrow{color:var(--green);font-size:11px;font-weight:600;letter-spacing:1.8px;text-transform:uppercase}.muted{color:var(--muted)}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.intro p{color:var(--muted);margin-top:6px;font-size:14px}.intro .eyebrow{margin-bottom:6px}.intro-icon{font-size:28px}.hero{background:#eaf2f4;border-radius:24px;padding:26px;position:relative;overflow:hidden;margin-bottom:24px;min-height:218px}.hero .eyebrow{color:var(--blue);font-size:10px;letter-spacing:1.5px}.hero h2{font-size:27px;line-height:1.45;margin:13px 0 8px;position:relative;z-index:1}.hero p{color:#597785;font-size:13px;max-width:205px;position:relative;z-index:1}.hero .herome{position:absolute;right:-8px;bottom:18px;font:bold 104px Arial;letter-spacing:-12px;color:#c6dfe6;transform:rotate(-7deg)}.hero:after{content:'';position:absolute;width:190px;height:190px;border:1px solid #bad8df;border-radius:50%;right:-85px;top:-90px;box-shadow:0 0 0 22px #e0ecee,0 0 0 23px #c9dfe5}.hero .pill{margin-top:21px;position:relative;z-index:1;background:#fff9;border:1px solid #fff;display:inline-flex;gap:7px;align-items:center;color:var(--blue);font-size:11px}.pill{padding:5px 10px;border-radius:30px;white-space:nowrap;font-size:11px}.pill svg{width:13px;height:13px}.sectionhead{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px;gap:10px}.sectionhead h2{font-size:19px}.textbtn{background:transparent;color:var(--blue);font-size:12px;min-height:44px;padding:0}.textbtn:hover{text-decoration:underline}.section{margin-bottom:26px}.card{background:white;border:1px solid var(--line);border-radius:19px;padding:20px}.summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:16px}.summary{padding:13px 4px 12px;background:white;border:1px solid var(--line);border-radius:14px;text-align:center}.summary b{display:block;font-size:25px;line-height:1.3;margin-bottom:3px}.summary span{font-size:10px;color:var(--muted)}.red{color:#c35c50}.orange{color:#b78431}.blue{color:var(--blue)}.green{color:var(--green)}.action-row{display:flex;align-items:flex-start;gap:13px;padding:16px 0;text-align:left;width:100%;background:transparent;border-bottom:1px solid #edf0ee}.action-row:last-child{border:0;padding-bottom:0}.action-row:first-child{padding-top:0}.iconbox{width:41px;height:41px;border-radius:12px;display:grid;place-items:center;flex-shrink:0;background:#edf4f7;color:var(--blue)}.iconbox.red{background:#fcf0ec;color:#bd6556}.iconbox.orange{background:#fbf5e9;color:#b18a40}.iconbox.green{background:#edf6f0;color:var(--green)}.rowcontent{flex:1;min-width:0}.rowcontent h3{font-size:14px;line-height:1.6}.rowcontent small{font-size:11px;margin-top:4px}.status{font-size:10px;display:inline-block;margin-top:5px;padding:2px 7px;border-radius:5px;background:#fcf0ec;color:#ba594d}.status.orange{background:#fbf4e7;color:#a67b31}.status.blue{background:#edf5fb;color:var(--blue)}.arrow{color:#a4b4bc;align-self:center}.today-card{padding:20px;background:#123e56;color:white;border:0;position:relative;overflow:hidden}.today-card small{color:#a9c2cf}.today-card h3{margin-top:10px;font-size:17px;max-width:220px}.time{font-size:32px;line-height:1;font-weight:600;letter-spacing:-1px}.time span{font-size:12px;color:#a9c2cf;margin-left:7px;letter-spacing:0}.today-card .time{display:flex;align-items:center;justify-content:space-between}.today-meta{margin:10px 0 17px;color:#bfd0d9;font-size:12px}.btn{padding:11px 16px;min-height:44px;border-radius:10px;background:var(--blue);color:white;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:600;font-size:13px}.btn.light{background:#ffffff18;border:1px solid #ffffff35;color:white;width:100%;justify-content:space-between}.btn.secondary{background:#eaf3f8;color:var(--blue)}.btn.full{width:100%}.news-grid{display:grid;gap:15px}.news-item{padding:0;overflow:hidden;text-align:left;width:100%;color:inherit}.news-art{height:155px;position:relative;overflow:hidden;background:#dceceb;display:flex;align-items:center;padding:24px}.news-art .art-text{position:relative;z-index:1;font-size:23px;line-height:1.35;color:#225d59;font-weight:600;letter-spacing:-.5px}.news-art .art-text small{font-size:9px;letter-spacing:2px;color:#5c8a86;margin-bottom:10px}.news-art .orb{width:150px;height:150px;background:#a9d5cf;border-radius:50%;position:absolute;right:-25px;bottom:-40px;box-shadow:0 0 0 22px #bdded8,0 0 0 44px #cfe5df}.news-art.gold{background:#f3ead5}.news-art.gold .art-text{color:#806d39}.news-art.gold .orb{background:#d2b66b;box-shadow:0 0 0 22px #e2cd91,0 0 0 44px #ece0b8}.news-body{padding:16px 18px}.category{font-size:10px;letter-spacing:.4px;color:var(--green);font-weight:600}.news-body h3{margin:6px 0;font-size:15px}.news-body small{font-size:11px}.insight{background:#edf4ef;border-color:#e0e9e0}.insight-title{display:flex;justify-content:space-between;align-items:center}.insight-title .eyebrow{font-size:9px}.insight-metrics{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:17px 0}.insight-metrics>div+div{border-left:1px solid #d7e4d8;padding-left:18px}.insight-metrics b{display:block;font-size:28px;letter-spacing:-1px}.insight-metrics small{font-size:11px}.trend{font-size:11px;color:var(--green)}.progress{height:5px;background:#dfeae2;border-radius:5px;overflow:hidden;margin:9px 0}.progress i{height:100%;display:block;background:#6caa87;border-radius:5px}.activity-art{background:#f4eddc;padding:20px;border-radius:14px;margin-bottom:14px;display:flex;align-items:center;justify-content:space-between}.activity-art strong{font:800 29px/1.05 Arial;color:#8d753e;letter-spacing:-1px}.activity-art svg{width:64px;height:64px;color:#b49751;stroke-width:1.2}.activity-meta{font-size:12px;color:var(--muted);margin:9px 0 14px}.avatars{display:flex;align-items:center;gap:0;font-size:11px;color:var(--muted);margin-bottom:14px}.avatars i{font-style:normal;display:grid;place-items:center;width:26px;height:26px;background:#e4efec;border:2px solid white;border-radius:50%;color:var(--green);margin-right:-7px}.avatars span{margin-left:16px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;padding:8px 8px calc(8px + env(safe-area-inset-bottom));background:#fffffff5;backdrop-filter:blur(16px);border-top:1px solid var(--line);z-index:10;justify-content:space-around}.navitem{background:transparent;display:flex;align-items:center;color:#8a999f;gap:12px;min-height:48px}.bottom-nav .navitem{flex:1;flex-direction:column;gap:4px;font-size:10px;border-radius:10px;padding:5px}.navitem.active{color:var(--blue)}.bottom-nav .navitem.active svg{stroke-width:2.2}.navitem .count{background:#eaf2f8;color:var(--blue);padding:1px 7px;border-radius:6px;font-size:10px;margin-left:auto}footer{max-width:1280px;margin:auto;padding:12px 20px 108px;font-size:10px;color:#8c9b9d}footer span{display:block;margin-top:4px}.tabs{display:flex;gap:8px;overflow:auto;margin-bottom:20px;scrollbar-width:none}.tab{white-space:nowrap;background:white;border:1px solid var(--line);border-radius:24px;min-height:40px;padding:7px 16px;font-size:12px}.tab.active{background:var(--navy);color:white;border-color:var(--navy)}.page-list{display:grid;gap:12px}.page-list .action-row{padding:18px;border:1px solid var(--line);border-radius:16px;background:white}.search{display:flex;align-items:center;gap:12px;background:white;border:1px solid var(--line);border-radius:14px;padding:0 16px;margin-bottom:22px}.search input{width:100%;border:0;background:transparent;min-height:50px;color:var(--ink);outline:0}.service-group{margin-bottom:25px}.service-group h2{font-size:13px;margin-bottom:13px;color:var(--muted)}.service-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.service{display:flex;gap:12px;align-items:center;text-align:left;min-height:89px}.service h3{font-size:13px}.service small{font-size:10px}.profilehero{background:#e9f2f4;border-radius:24px;padding:28px;position:relative;overflow:hidden;margin-bottom:20px}.profilehero .bigme{font:bold 104px Arial;letter-spacing:-10px;color:#c4dde5;position:absolute;right:17px;top:-8px}.profilehero .avatar{width:72px;height:72px;font-size:30px;background:white;margin-bottom:20px;position:relative}.profilehero h1{font-size:24px;position:relative}.profilehero p{font-size:13px;color:#648091;margin-top:6px}.profile-stats{display:grid;grid-template-columns:repeat(4,1fr);text-align:center;margin:24px 0}.profile-stats b{display:block;font-size:24px}.profile-stats small{font-size:10px}.profile-links{padding:0 20px}.profile-links .action-row{align-items:center;padding:17px 0}.badge-grid{display:flex;gap:14px;margin-top:16px}.achievement{text-align:center;flex:1;font-size:11px}.achievement .iconbox{margin:0 auto 9px;width:60px;height:60px;border-radius:50%;background:#f8f0d9;color:#ab8a40}.empty{text-align:center;padding:40px;color:var(--muted)}dialog{border:0;border-radius:22px;width:calc(100% - 32px);max-width:510px;padding:0;color:var(--ink);box-shadow:0 25px 100px #092c4740;max-height:85dvh}dialog::backdrop{background:#18364465;backdrop-filter:blur(5px)}.dialoghead{display:flex;align-items:center;justify-content:space-between;padding:10px 20px;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}#dialog-body{padding:24px}#dialog-body h2{margin-bottom:12px;font-size:22px}#dialog-body p{color:var(--muted);font-size:14px;margin-bottom:18px}#dialog-body .btn{margin-top:12px}#dialog-body .action-row{padding-top:16px}#toast{position:fixed;bottom:100px;left:50%;transform:translate(-50%,20px);opacity:0;background:var(--navy);color:white;padding:12px 22px;border-radius:14px;z-index:40;transition:.2s;pointer-events:none;font-size:13px;width:max-content;max-width:90%}#toast.show{opacity:1;transform:translate(-50%,0)}.choice{display:block;text-align:left;padding:14px;border:1px solid var(--line);border-radius:12px;background:white;width:100%;margin:8px 0}.choice.selected{background:#eaf3f8;border-color:var(--blue)}.ot-total{font-size:50px;font-weight:600;color:var(--blue)}.ot-total span{font-size:16px;color:var(--muted)}.person{display:flex;align-items:center;gap:14px}.person .rowcontent{flex:1}.person a{color:var(--blue)}.history-row{display:flex;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--line)}.demo-note{background:#faf4e7;padding:12px 14px;border-radius:10px;font-size:12px;color:#9b8046;margin:16px 0}.news-item:hover,.service:hover{border-color:#b6cdd2}.page-title{margin-bottom:24px}.page-title p{font-size:14px;color:var(--muted);margin-top:6px}.split{display:grid;gap:22px}.source{display:inline-block;font-size:10px;color:#8b9aa3;margin-left:6px}
@media(min-width:700px){main{padding:30px}.home-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr);gap:26px}.hero{min-height:230px;padding:30px}.hero h2{font-size:32px}.hero .herome{font-size:135px;right:10px}.news-grid{grid-template-columns:1fr 1fr}.summary span{font-size:12px}.summary{padding:16px 8px}.summary b{font-size:29px}.split{grid-template-columns:1fr 1fr}.service-grid{grid-template-columns:repeat(3,1fr)}.intro-icon{display:none}.page-list{max-width:820px}.profilehero{padding:36px}.profilehero .bigme{font-size:160px}.header-context{display:block;font-size:12px;color:var(--muted)}.header-context span{margin:0 12px;color:#cad3d8}.workspace header>.brandword{display:none}.desktop{display:block;font-size:11px;color:var(--muted)}}
@media(min-width:1100px){.sidebar{display:flex;position:fixed;inset:0 auto 0 0;width:224px;background:white;border-right:1px solid var(--line);padding:32px 22px;flex-direction:column}.sidebar .brand{padding:0 12px}.sidebar .brandword{font-size:44px}.brand small{font:7px Arial;letter-spacing:1.4px;margin-top:12px}.org{display:flex;align-items:center;gap:9px;margin:35px 0 30px;font-size:11px}.org img{width:40px;height:40px;object-fit:contain}.org small{font-size:9px;margin-top:3px}.navlabel{font-size:8px;color:#a1afaf;letter-spacing:1px;margin:0 10px 14px}.sidebar nav{display:grid;gap:9px}.sidebar .navitem{padding:12px;border-radius:11px;font-size:13px;width:100%;text-align:left}.sidebar .navitem.active{background:#edf4f8;font-weight:600}.sidefoot{display:flex;align-items:center;gap:10px;font-size:12px;margin-top:auto;padding-top:22px;border-top:1px solid var(--line)}.sidefoot .avatar{width:34px;height:34px;font-size:14px}.sidefoot small{font-size:10px}.sidefoot .iconbtn{margin-left:auto;width:28px}.workspace{margin-left:224px}.workspace header{padding:0 38px}.bottom-nav{display:none}main{padding:30px 38px 15px}.intro{margin-bottom:26px}.home-grid{grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr);gap:28px}.hero{padding:30px 34px}.hero p{max-width:none}.hero .herome{right:40px;bottom:8px;font-size:170px}.hero h2{font-size:32px}.hero .pill{margin-top:18px}.section{margin-bottom:27px}.sectionhead h2{font-size:20px}.action-row{padding:18px 0}.rowcontent h3{font-size:15px}.rowcontent small{font-size:12px}.status{float:right;margin-top:-20px}footer{padding:15px 38px 28px;display:flex;justify-content:space-between}footer span{margin:0}.service-grid{grid-template-columns:repeat(4,1fr)}#toast{bottom:28px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:699px){.intro h1{font-size:25px}.intro h1>span{display:none}.hero{min-height:200px;padding:23px}.hero h2{font-size:25px}.hero .pill{margin-top:16px}.hero .herome{bottom:10px}}
/* Brighter PWA palette: blue leads, aqua and gold bring warmth. */
:root{--bg:#f2f8fc;--line:#dfebf2;--green:#07836a;--gold:#e7b43c}
.hero{background:linear-gradient(115deg,#0066b3 0%,#008dc6 72%,#22afd2 100%);color:white;box-shadow:0 10px 26px #0066b319}
.hero .eyebrow{color:#d8f4ff}.hero p{color:#e1f5ff}.hero .herome{color:#ffffff25}.hero:after{border-color:#ffffff40;box-shadow:0 0 0 22px #ffffff0c,0 0 0 23px #ffffff28}.hero .pill{background:#ffffffee;border-color:#ffffff70;color:#0066b3}
.summary:nth-child(1){background:#fff0ec;border-color:#f7d9d1}.summary:nth-child(2){background:#fff6dc;border-color:#efdfaf}.summary:nth-child(3){background:#e5f3ff;border-color:#c4e2f7}.summary:nth-child(4){background:#e1f6eb;border-color:#bce5d0}.summary span{color:#526b78}.summary b.red{color:#bf4739}.summary b.orange{color:#966a13}.summary b.green{color:#0b8060}
.iconbox{background:#dcefff;color:#0066b3}.iconbox.red{background:#ffe2da;color:#bc4d36}.iconbox.orange{background:#fff0c6;color:#936712}.iconbox.green{background:#d5f3e5;color:#087b5a}.status{background:#ffe6df;color:#b74332}.status.orange{background:#fff0c6;color:#926309}.status.blue{background:#def0ff;color:#0060a6}
.today-card{background:linear-gradient(130deg,#064b7c,#0066b3);box-shadow:0 8px 22px #0066b314}.today-card small,.today-card .time span{color:#c2eaff}.today-meta{color:#dcf1ff}.btn.light{background:#ffffff20;border-color:#ffffff50}.btn:hover{filter:brightness(.96)}
.insight{background:linear-gradient(125deg,#def5eb,#edfaf3);border-color:#bfe5d3}.insight-title .eyebrow{color:#087253}.insight-title svg{color:#098863}.insight-metrics>div+div{border-color:#b9ddcd}.insight-metrics b{color:#096f55}.trend{color:#087455}
.news-art{background:#d4f1ef}.news-art .art-text{color:#096d66}.news-art .orb{background:#51bdb2;box-shadow:0 0 0 22px #89d8cd,0 0 0 44px #b2e6dc}.news-art.gold{background:#fff0c4}.news-art.gold .art-text{color:#775308}.news-art.gold .orb{background:#edba38;box-shadow:0 0 0 22px #f4d272,0 0 0 44px #f9e5a0}
.activity-art{background:linear-gradient(110deg,#fff1c6,#ffe39a)}.activity-art strong{color:#805b15}.activity-art svg{color:#b48112}.avatars i,.avatar{background:#d6f1e7;color:#087a5b}
.profilehero{background:linear-gradient(120deg,#d9efff,#c5ebf8 70%,#cef3ea)}.profilehero .bigme{color:#65b8d340}.profilehero h1{color:#054d80}.profilehero p{color:#396d85}.achievement .iconbox{background:#ffedb3;color:#966807}
.sidebar .navitem.active{background:#e2f1ff;box-shadow:inset 3px 0 #0066b3}.bottom-nav .navitem.active{background:#e8f4ff}.brandword>i{background:#e7b43c}.bell i{background:#ee7551}.card.service:hover,.news-item:hover{border-color:#8cc4e6}.service-group:nth-child(2) .iconbox{background:#d5f3e5;color:#087b5a}.service-group:nth-child(4) .iconbox{background:#fff0c6;color:#936712}
/* Employee login — a personal, gently animated front door. */
.login-mode .sidebar,.login-mode .workspace>header,.login-mode .workspace>footer,.login-mode .bottom-nav{display:none}.login-mode .workspace{margin:0}.login-mode main{padding:0;max-width:none}.login-mode #toast{bottom:24px}.login-shell{min-height:100dvh;background:#f5f9fc;display:flex;flex-direction:column}.login-story{background:linear-gradient(135deg,#004c92,#007bbd 65%,#12a5c8);position:relative;overflow:hidden;padding:28px 26px 30px;color:white}.login-brand{display:inline-block;color:white;font-size:39px;letter-spacing:-2px}.login-brand>span{color:white}.login-story-copy{position:relative;z-index:1;margin-top:25px;animation:login-enter .7s ease both}.login-story-copy .eyebrow{font-size:8px;letter-spacing:1.6px;color:#bdeeff}.login-story-copy h1{font-size:31px;line-height:1.45;margin:9px 0;letter-spacing:-.5px}.login-story-copy h1 span{color:#ffe298}.login-story-copy p{font-size:12px;color:#d3f1ff;line-height:1.7}.login-visual{display:none}.login-story:after{content:'';position:absolute;width:230px;height:230px;border:1px solid #ffffff22;border-radius:50%;right:-130px;top:-60px;box-shadow:0 0 0 28px #ffffff07,0 0 0 29px #ffffff14,0 0 0 65px #ffffff04}.login-story-footer{display:none}.login-entry{padding:24px 20px 25px}.login-card{max-width:430px;margin:auto;animation:login-enter .7s .1s ease both}.login-org{display:flex;align-items:center;gap:12px;font-size:12px;margin-bottom:25px;color:#506f84}.login-org img{width:56px;height:40px;object-fit:contain}.login-org small{font-size:9px;margin-top:3px}.login-card>.eyebrow{font-size:9px;letter-spacing:1.3px;color:var(--blue);margin-bottom:8px}.login-card h2{font-size:25px;color:#164866;letter-spacing:-.4px}.login-sub{font-size:13px;color:var(--muted);margin:6px 0 24px}.login-label{font-size:12px;font-weight:600;display:block;margin-bottom:8px}.login-field{display:flex;align-items:center;background:white;border:1px solid #d5e3ed;border-radius:12px;min-height:52px;padding:0 14px;gap:12px;transition:border-color .15s,box-shadow .15s}.login-field:focus-within{border-color:#0084c3;box-shadow:0 0 0 3px #0084c312}.login-field>svg{color:#7c9ab0;width:19px;height:19px}.login-field input{border:0;outline:0;background:transparent;width:100%;min-width:0;min-height:50px;color:var(--ink);font-size:14px}.password-label{display:flex;justify-content:space-between;align-items:center;margin-top:13px}.password-label .login-label{margin:0}.password-label .textbtn{font-size:11px;min-height:36px}.password-toggle{flex-shrink:0;width:32px;height:40px;color:#6a8ba0}.password-toggle svg{width:19px}.login-demo{display:flex;align-items:center;gap:9px;margin:16px 0;font-size:10px;color:#778a98}.login-demo .pill{font:600 8px Arial;letter-spacing:1px;background:#e3f2ec;color:#198061;padding:5px 7px}.login-submit{min-height:52px;font-size:14px;background:linear-gradient(100deg,#0066b3,#008fc6);box-shadow:0 6px 16px #0066b31f;justify-content:center;gap:20px}.login-submit:disabled{cursor:wait;opacity:.85}.login-submit svg{width:19px}.login-error{font-size:12px;color:#bf4739}.login-divider{position:relative;margin:25px 0 19px;text-align:center;color:#8a9aa3;font-size:10px}.login-divider:before{content:'';height:1px;position:absolute;background:#dfe9f0;left:0;right:0;top:50%}.login-divider span{background:#f5f9fc;padding:0 13px;position:relative}.login-features{display:flex;justify-content:center;gap:18px;color:#5c7b91;font-size:10px}.login-features span{display:flex;align-items:center;gap:5px}.login-features svg{width:16px;height:16px;color:#0082bb}.login-support{display:block;margin:19px auto 0;font-size:10px;min-height:30px}.login-entry-footer{text-align:center;color:#8b9eaa;font-size:9px;margin:22px auto 0}.login-entry-footer small{font-size:9px;margin-top:3px}.login-spinner{width:18px;height:18px;border-radius:50%;border:2px solid #ffffff55;border-top-color:white;animation:login-spin .65s linear infinite}
@keyframes login-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes login-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}@keyframes login-spin{to{transform:rotate(360deg)}}
@media(min-width:850px){.login-shell{display:grid;grid-template-columns:1.08fr 1fr;min-height:100dvh}.login-story{padding:44px clamp(35px,5vw,90px);display:flex;flex-direction:column;min-height:100dvh}.login-brand{font-size:47px}.login-story-copy{margin-top:clamp(35px,6vh,85px)}.login-story-copy .eyebrow{font-size:10px;letter-spacing:1.8px}.login-story-copy h1{font-size:clamp(36px,3.3vw,55px);margin:16px 0}.login-story-copy p{font-size:15px}.login-visual{display:block;position:relative;height:290px;max-width:480px;width:100%;margin:35px 0 25px;animation:login-enter .9s .15s ease both}.login-me{position:absolute;right:35px;top:16px;font:800 158px/1 Arial;letter-spacing:-17px;color:#ffffff23;transform:rotate(-8deg)}.login-me span{color:#ffdf843f}.login-orbit{position:absolute;right:-30px;top:-10px;width:250px;height:250px;border:1px solid #ffffff1f;border-radius:50%;box-shadow:0 0 0 28px #ffffff05,0 0 0 29px #ffffff13}.floating-card{position:absolute;display:flex;align-items:center;gap:12px;padding:16px 18px;background:#fffffff4;box-shadow:0 14px 36px #00365e30;border:1px solid #ffffffb0;border-radius:16px;color:#23516d;animation:login-float 6s ease-in-out 2}.floating-card strong{font-size:13px}.floating-card small{font-size:10px;margin-top:2px}.floating-card .iconbox{height:38px;width:38px}.float-action{top:30px;left:0;min-width:285px}.float-meeting{top:137px;right:0;animation-delay:.5s}.float-dot{width:7px;height:7px;background:#16b782;border-radius:50%;margin-left:16px}.floating-chip{display:flex;align-items:center;gap:9px;position:absolute;bottom:8px;left:25px;background:#ffdd82;color:#775211;padding:11px 17px;border-radius:25px;font-size:11px;animation:login-float 7s 1s ease-in-out 2}.floating-chip svg{width:16px;height:16px}.login-story-footer{margin-top:auto;display:flex;align-items:center;gap:8px;color:#bfe4f7;font-size:10px;letter-spacing:.4px}.login-story-footer>span:last-child{margin-left:auto}.login-status-dot{width:6px;height:6px;border-radius:50%;background:#83e3c0}.login-entry{display:flex;flex-direction:column;justify-content:center;padding:50px 40px}.login-card{width:100%}.login-org{margin-bottom:42px}.login-org img{width:68px;height:46px}.login-org{font-size:13px}.login-org small{font-size:10px}.login-card h2{font-size:29px}.login-sub{margin-bottom:30px;font-size:14px}.login-entry-footer{margin-top:35px}.login-label{font-size:13px}.login-demo{font-size:11px}.login-features{font-size:11px;gap:22px}}
@media(prefers-reduced-motion:reduce){.login-story-copy,.login-card,.login-visual,.floating-card,.floating-chip,.login-spinner{animation:none!important}}
/* login บนมือถือ (2026-10-21): ช่องกรอก 16px กัน iOS ซูมเองตอนแตะแล้วหน้าเลยขอบ · กันเลื่อนแนวนอน · เว้นขอบรอยบาก/แถบล่าง · ตัวอักษรเล็กอ่านยากขยายขึ้น */
html:has(body.login-mode),body.login-mode{overflow-x:hidden;max-width:100%}.login-shell{width:100%;overflow-x:hidden}
.login-field input{font-size:16px}.login-field{min-width:0}.login-form .login-submit,#login-form .login-submit{margin-top:14px}
@media(max-width:849px){.login-story{padding:calc(24px + env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) 26px max(20px,env(safe-area-inset-left))}.login-story .login-brand img{width:min(190px,60vw)}.login-story-copy h1{font-size:clamp(24px,7.4vw,31px)}.login-story-copy .eyebrow{font-size:9px;letter-spacing:1.2px}.login-story-copy p{font-size:13px}
.login-entry{padding:22px max(16px,env(safe-area-inset-right)) calc(22px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.login-card h2{font-size:clamp(21px,6.6vw,25px)}.login-org{font-size:13px}.login-org small{font-size:11px}.login-card>.eyebrow{font-size:10px}
.password-label .textbtn{font-size:13px}.login-divider{font-size:12px}.login-features{flex-wrap:wrap;gap:8px 16px;font-size:12px}.login-support{font-size:12px}.login-entry-footer,.login-entry-footer small{font-size:11px}}
.ime-logo{display:block;width:166px;height:auto}.sidebar .brand{padding:0}.sidebar .brand small{margin-left:10px;font-size:7px;letter-spacing:1px}.mobile-logo .ime-logo{width:170px}.login-brand{display:inline-block}.login-brand img{display:block;width:210px;height:auto}@media(min-width:700px){.workspace header>.mobile-logo{display:none}}@media(min-width:850px){.login-brand img{width:265px}}
.org-module-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:18px}.org-module-head .pill{background:#e0f1ff}.directory-filters{display:flex;gap:14px;flex-wrap:wrap;align-items:flex-end;margin-bottom:24px}.directory-filters label{font-size:12px;display:flex;flex-direction:column;gap:6px;flex:1;min-width:150px}.directory-filters select,.directory-filters input{font:inherit;border:1px solid #d4e3ed;background:white;border-radius:11px;padding:12px;min-height:46px;color:var(--ink);width:100%}.directory-filters .tab{display:flex;gap:8px;align-items:center;min-height:46px}.directory-filters svg{width:17px;height:17px}.system-grid,.roster-grid{display:grid;grid-template-columns:1fr;gap:14px}.system-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.system-card p{font-size:12px;color:var(--muted);margin:7px 0}.system-card .textbtn,.roster-card .textbtn{display:flex;align-items:center;gap:8px}.system-card .textbtn svg,.roster-card .textbtn svg{width:16px;height:16px}.favorite.selected{color:#a87911;background:#fff2c8}.favorite.selected svg{fill:#f5d36c}.roster-banner{display:flex;gap:14px;align-items:center;padding:20px;background:linear-gradient(120deg,#d9edff,#e0f5ed);border-radius:18px;margin-bottom:22px}.roster-summary{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:17px;color:var(--muted)}.roster-summary b{color:#9a711c}.roster-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.roster-title .eyebrow{font-size:9px;letter-spacing:.4px}.roster-card .person b{font-size:13px}.acting-person{margin:18px 0 9px;padding:15px;background:#fff7df;border-left:3px solid #d6a429;border-radius:10px}.acting-person h3{font-size:14px;margin-top:6px}.acting-person small{margin-top:7px;line-height:1.8}.acting-person .category{color:#96701e}.system-card h3{overflow-wrap:anywhere}@media(min-width:700px){.system-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.roster-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:1100px){.system-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:699px){.org-module-head{align-items:flex-start;flex-direction:column}.roster-title{flex-wrap:wrap}}
.leadership-shortcut{display:flex;align-items:center;gap:12px;width:100%;text-align:left}.leadership-shortcut>span:nth-child(2){flex:1}.leadership-shortcut strong{font-size:14px}.leadership-shortcut small{font-size:11px;margin-top:4px}
.admin-notice{display:flex;gap:10px;align-items:center;background:#e4f3ff;border:1px solid #c7e3f4;padding:14px 17px;border-radius:13px;font-size:12px;color:#22648e;margin-bottom:24px}.admin-notice svg{flex-shrink:0}.admin-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:25px}.admin-stats .card{padding:16px}.admin-stats b{display:block;font-size:30px;color:var(--blue);margin:5px 0}.admin-stats small{font-size:11px}.admin-tabs .tab{display:flex;align-items:center;gap:8px}.admin-tabs svg{width:17px;height:17px}.admin-actions{display:flex;gap:12px;align-items:center}.admin-delete{color:#b74332}.admin-danger{background:#b74332}.admin-url{display:block;overflow-wrap:anywhere;max-width:230px;font-size:11px}.admin-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:18px;flex-wrap:wrap}.admin-form-footer{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}.admin-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.admin-divider{border:0;border-top:1px solid var(--line);margin:18px 0}.ui-dialog .ui-field{margin-bottom:12px}.admin-tabs{margin-bottom:24px}@media(max-width:699px){.admin-stats{gap:8px}.admin-stats .card{padding:12px}.admin-stats small{font-size:10px}.admin-form-grid{grid-template-columns:1fr}.admin-notice{align-items:flex-start}}
.facebook-feed .sectionhead{align-items:flex-start}.facebook-feed .sectionhead small{font-size:11px;margin-top:5px}.facebook-pending{display:flex;align-items:flex-start;gap:15px;background:#e9f4ff;border-color:#c9e4f5}.facebook-pending h3{font-size:16px}.facebook-pending p{font-size:13px;margin:6px 0;color:#58768b}.facebook-post-grid{display:grid;gap:18px}.facebook-post-head{display:flex;align-items:center;gap:12px;margin-bottom:14px}.facebook-post-head h3{font-size:13px}.facebook-post-head small{font-size:10px}.facebook-message{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:15px}.facebook-media{position:relative;margin:10px 0}.facebook-media img,.facebook-media video{width:100%;max-height:440px;object-fit:contain;background:#eff5f9;border-radius:12px}.facebook-media .pill{display:inline-flex;align-items:center;gap:8px;background:#e2f1ff;color:#0066b3;margin-top:6px}.facebook-media .pill svg{width:16px;height:16px}@media(min-width:850px){.facebook-post-grid{grid-template-columns:1fr 1fr}}
