/* GLG WorkHub 0.2 — responsive and scoped to avoid WordPress/theme collisions */
.glgwh,.glgwh-login{--wgreen:#076a4b;--wdeep:#073e35;--wline:#d8e8df;--wmuted:#587568;box-sizing:border-box;font-family:system-ui,-apple-system,"Noto Sans Thai",sans-serif;color:#193b32;width:min(1200px,100%);margin:18px auto;font-size:15px;line-height:1.6}.glgwh *, .glgwh-login *{box-sizing:border-box}.glgwh h1,.glgwh h2,.glgwh h3{line-height:1.3;letter-spacing:-.02em;color:#123e32;margin:0 0 10px}.glgwh-hero{background:linear-gradient(115deg,#083f33,#087f57);color:white;border-radius:23px;padding:28px 30px;box-shadow:0 16px 34px #073e3520}.glgwh-hero h1{color:white;font-size:clamp(25px,3.1vw,38px);font-weight:800}.glgwh-hero p{color:#e4f7ed;max-width:700px;margin:7px 0 15px}.glgwh-overline{font-size:11px;font-weight:800;letter-spacing:.16em;color:#0e8d62;display:block;margin-bottom:8px}.glgwh-hero .glgwh-overline{color:#b2f1d6}.glgwh-type{display:inline-flex;border:1px solid #b2f1d650;border-radius:30px;padding:5px 13px;font-size:12px;color:#e5fff4;background:#ffffff10}.glgwh-nav{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 20px}.glgwh-nav a{display:inline-block;text-decoration:none!important;padding:11px 15px;background:#fff;border:1px solid var(--wline);border-radius:12px;color:#075c44!important;font-weight:700}.glgwh-nav a:hover{background:#eaf7f0}.glgwh-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.glgwh-stats article{background:white;border:1px solid var(--wline);padding:19px 20px;border-radius:16px;box-shadow:0 8px 26px #173a2b09;min-width:0}.glgwh-stats span{display:block;font-size:13px;color:var(--wmuted)}.glgwh-stats strong{display:block;font-size:clamp(22px,3vw,30px);color:#0b513e;overflow-wrap:anywhere}.glgwh-card{background:#fff;border:1px solid var(--wline);border-radius:20px;padding:23px;margin:15px 0;box-shadow:0 14px 28px #0b50330d}.glgwh-cardhead{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:15px}.glgwh-cardhead p{color:var(--wmuted);margin:0}.glgwh-card h2{font-size:23px}.glgwh-btn,.glgwh form button{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:#07825b;color:white!important;border:0;border-radius:12px;padding:12px 18px;text-decoration:none!important;font-weight:700;font-size:14px;line-height:1.35;font-family:inherit;cursor:pointer;white-space:nowrap}.glgwh-btn:hover,.glgwh form button:hover{background:#04563e}.glgwh-project{background:#fbfefc;border:1px solid var(--wline);border-radius:14px;margin:11px 0;overflow:hidden}.glgwh-project>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 18px;cursor:pointer;list-style:none}.glgwh-project>summary::-webkit-details-marker{display:none}.glgwh-projtitle{display:flex;flex-direction:column;gap:2px;min-width:0}.glgwh-projtitle small{font-size:11px;font-weight:800;letter-spacing:.06em;color:#0b8962}.glgwh-projtitle b{font-size:18px;line-height:1.4;overflow-wrap:anywhere}.glgwh-projtitle em{font-size:12px;font-style:normal;color:var(--wmuted)}.glgwh-chevron{font-size:26px;flex:none}.glgwh-projectbody{padding:0 18px 20px}.glgwh-projectbody>p{color:#385649;overflow-wrap:anywhere}.glgwh-mini{margin:15px 0;padding:14px;border-radius:12px;background:#f1f8f4}.glgwh-mini>b{display:block;margin-bottom:10px}.glgwh-mini>a{display:block;color:#087b55;padding:7px 0;font-weight:700;text-decoration:none}.glgwh-list{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e2efe8;padding:12px 0}.glgwh-list:last-child{border-bottom:0}.glgwh-list b{display:block;overflow-wrap:anywhere}.glgwh-list p{margin:3px 0 0;font-size:12px;color:var(--wmuted)}.glgwh-pill{background:#e2f5e9;border-radius:40px;padding:4px 10px;color:#0b6b47;font-size:12px;flex-shrink:0}.glgwh-tool{border-top:1px solid var(--wline);padding-top:12px;margin-top:12px}.glgwh-tool>summary{cursor:pointer;font-weight:700;color:#076b4c}.glgwh form{display:grid;gap:11px;margin-top:13px;max-width:650px}.glgwh form label{display:grid;gap:5px;font-weight:650;font-size:13px}.glgwh form input,.glgwh form select,.glgwh form textarea{width:100%;font:inherit;border:1px solid #bdd6c9;border-radius:10px;padding:12px;min-height:44px;background:#fff;color:#143e32}.glgwh form input:focus,.glgwh form select:focus,.glgwh form textarea:focus{outline:2px solid #0c9d70;outline-offset:1px}.glgwh form button{justify-self:start;min-height:44px}.glgwh-empty{text-align:center;padding:22px;border:1px dashed #b9d5c8;border-radius:13px;color:#496b5c}.glgwh-success{border-radius:12px;padding:12px;background:#e5faeb;color:#075e41}.glgwh-foot{font-size:12px;color:#526e60;margin:20px 4px}.glgwh-foot a{color:#0c7855!important}.glgwh-login{background:#f3f9f5;border:1px solid #dbeee3;padding:28px;border-radius:18px}.glgwh-login h2{font-size:26px;margin:0 0 8px}.glgwh-login .glgwh-btn{margin-top:12px}
@media(max-width:650px){.glgwh{margin:8px auto;font-size:14px}.glgwh-hero{padding:24px 19px;border-radius:18px}.glgwh-hero h1{font-size:26px}.glgwh-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.glgwh-nav a{padding:13px 7px;font-size:12px;text-align:center}.glgwh-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.glgwh-stats article{padding:14px 12px}.glgwh-stats article:last-child{grid-column:1/-1}.glgwh-card{padding:16px 13px;border-radius:16px}.glgwh-cardhead{align-items:stretch;flex-direction:column}.glgwh-cardhead .glgwh-btn{width:100%}.glgwh-project>summary{padding:14px 12px}.glgwh-projectbody{padding:0 12px 16px}.glgwh-list{align-items:start;flex-wrap:wrap}.glgwh-pill{margin-left:auto}.glgwh-btn,.glgwh form button{min-height:46px}.glgwh form{width:100%}}

/* v0.3.0: unified workspace and accessible mobile project wizard */
.glgwh .glgwh-wizard{max-width:900px}.glgwh-wizard .glgwh-step{border:0;padding:0;margin:0;min-width:0}.glgwh-wizard .glgwh-step[hidden],.glgwh-wizard button[hidden]{display:none!important}.glgwh .glgwh-step legend{font-weight:800;font-size:20px;margin:0 0 10px;color:#0a4938}.glgwh-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:17px 0 22px}.glgwh-progress span{background:#e9f2ec;border-radius:9px;padding:9px 4px;text-align:center;font-size:12px;color:#4d685b;font-weight:700}.glgwh-progress .active{background:#07724e;color:#fff}.glgwh-muted{font-size:14px;color:#64776c}.glgwh form .glgwh-step>label{display:grid;gap:6px;margin:12px 0;font-size:14px}.glgwh form .glgwh-step label em{font-style:normal;color:#b53b3b}.glgwh form .glgwh-step label span{font-weight:400;color:#6a7970}.glgwh form .glgwh-check{display:flex;align-items:start;gap:9px;line-height:1.5}.glgwh form .glgwh-check input{width:18px;min-height:18px;flex:none;margin:4px 0;accent-color:#007751}.glgwh .glgwh-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.glgwh-controls{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 4px}.glgwh form .glgwh-controls button{min-height:48px;font-weight:800;white-space:normal}.glgwh form .glgwh-controls .glgwh-draft{background:#e8f1ea!important;color:#245342!important}.glgwh form .glgwh-controls .glgwh-back{background:#edf2f0!important;color:#244838!important}.glgwh-review{border:1px solid #d2e4db;border-radius:14px;background:#f6fbf8;overflow:hidden}.glgwh-review>div{padding:12px 13px;border-bottom:1px solid #e3efe8;display:grid;gap:1px}.glgwh-review>div:last-child{border:0}.glgwh-review b{color:#08704c}.glgwh-review span{white-space:pre-wrap;overflow-wrap:anywhere}.glgwh-project .glgwh-tool summary{padding:8px 0}.glgwh-project .glgwh-step{max-width:100%}.glgwh-wizard textarea{resize:vertical}.glgwh .glgwh-nav-main{background:#075b45;color:#fff!important}.glgwh-projectbody{overflow-wrap:anywhere}
@media(max-width:650px){.glgwh .glgwh-two{grid-template-columns:1fr}.glgwh-wizard .glgwh-controls{display:grid;grid-template-columns:1fr 1fr}.glgwh-wizard .glgwh-controls button{width:100%}.glgwh .glgwh-card{margin:10px 0}.glgwh .glgwh-progress span{font-size:11px;padding:8px 3px}.glgwh .glgwh-step legend{font-size:19px}.glgwh input,.glgwh textarea,.glgwh select{font-size:16px!important}}

.glgwh-category-guide{font-size:13px;line-height:1.65;background:#e9f7ee;border-left:3px solid #178a62;color:#15503b;padding:12px 14px;border-radius:9px;margin:7px 0 12px}

.glgwh-dock{display:none}
@media(max-width:700px){.glgwh-dock{position:fixed;bottom:0;bottom:env(safe-area-inset-bottom,0px);left:0;right:0;z-index:2147480000;display:flex;justify-content:space-around;gap:1px;background:rgba(255,255,255,.98);border-top:1px solid #d8e8df;box-shadow:0 -8px 24px #163e3020;padding:8px 4px max(8px,env(safe-area-inset-bottom));font-family:system-ui,-apple-system,"Noto Sans Thai",sans-serif}.glgwh-dock a{display:flex;flex-direction:column;align-items:center;gap:0;color:#3e6455!important;text-decoration:none!important;font-weight:700;font-size:11px;min-width:0;flex:1;padding:5px 1px;border-radius:10px;line-height:1.35}.glgwh-dock a b{font-size:23px;font-weight:500;line-height:1.1}.glgwh-dock a[aria-current="page"]{color:#006943!important;background:#e7f6ef}.glgwh-dock a:focus-visible{outline:2px solid #15976b}.glgwh,.glg-ep,.glg-agent-root{padding-bottom:85px!important}}
/* Keep required markers on the same label line on narrow screens */
.glgwh form .glgwh-step>label:not(.glgwh-check){display:block!important;margin:13px 0 15px!important}
.glgwh form .glgwh-step>label:not(.glgwh-check)>input,.glgwh form .glgwh-step>label:not(.glgwh-check)>textarea,.glgwh form .glgwh-step>label:not(.glgwh-check)>select{display:block;margin-top:6px}
.glgwh form .glgwh-step>label.glgwh-check{display:flex!important;align-items:center;gap:9px}

/* v0.3.2 — employee HOME quotation shortcut, deliberately not scoped under .glgwh */
.glgwh-quote-entry{box-sizing:border-box;position:relative;isolation:isolate;max-width:1160px;margin:14px auto 20px;padding:22px 23px;border:1px solid #bfdccd;border-left:5px solid #08734f;border-radius:20px;background:linear-gradient(115deg,#ffffff 0%,#ecf9f1 100%);box-shadow:0 9px 28px rgba(8,74,51,.10);color:#113c31;font-family:system-ui,-apple-system,'Noto Sans Thai',sans-serif;line-height:1.55;clear:both}
.glgwh-quote-entry *{box-sizing:border-box}
.glgwh-quote-entry__label{font-size:11px;letter-spacing:.12em;font-weight:850;color:#087a55;margin-bottom:5px}
.glgwh-quote-entry h2{margin:0 0 5px!important;color:#124b39!important;font-size:clamp(21px,3.5vw,26px)!important;line-height:1.3!important;font-weight:800!important}
.glgwh-quote-entry p{margin:0 0 14px!important;color:#557063!important;font-size:14px!important}
.glgwh-quote-entry__actions{display:flex;gap:13px;align-items:center;flex-wrap:wrap}
.glgwh-quote-entry__button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:11px 18px;border-radius:12px;background:#08704e;color:#fff!important;font-size:15px;font-weight:750;text-decoration:none!important;border:0;white-space:normal}
.glgwh-quote-entry__button:hover,.glgwh-quote-entry__button:focus-visible{background:#04553b;color:#fff!important}
.glgwh-quote-entry__button--disabled{background:#8e9e95;color:#fff;cursor:not-allowed}
.glgwh-quote-entry__status{color:#526e60;font-size:12px;font-weight:700}
.glgwh-quote-entry--fallback{position:fixed;z-index:2147480001;left:12px;right:12px;bottom:calc(85px + env(safe-area-inset-bottom,0px));pointer-events:none}
.glgwh-quote-entry--fallback .glgwh-quote-entry{pointer-events:auto;margin:0 auto;box-shadow:0 8px 34px #052c2770;max-width:650px}
@media(max-width:700px){.glgwh-quote-entry{margin:12px 12px 19px;padding:15px 15px 16px;border-radius:16px}.glgwh-quote-entry__actions{align-items:stretch;flex-direction:column;gap:6px}.glgwh-quote-entry__button{width:100%}.glgwh-quote-entry__status{text-align:center}.glgwh-quote-entry--fallback{bottom:calc(85px + env(safe-area-inset-bottom,0px))}.glgwh-quote-entry--fallback .glgwh-quote-entry{margin:0;padding:12px 14px}.glgwh-quote-entry--fallback .glgwh-quote-entry__label{display:none}.glgwh-quote-entry--fallback .glgwh-quote-entry h2{font-size:16px!important}.glgwh-quote-entry--fallback .glgwh-quote-entry p{display:none}.glgwh-quote-entry--fallback .glgwh-quote-entry__button{min-height:43px}}

/* v0.3.4: clear two-way employee shortcuts, independent procurement from sale quotations. */
.glgwh-quote-entry__actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.glgwh-quote-entry__secondary{background:#e3f1e9!important;color:#075139!important;border:1px solid #b0d6c3!important}
@media(max-width:680px){.glgwh-quote-entry__actions>a{width:100%;justify-content:center}}

/* GLG WorkHub v0.4.0 – mobile-first employee app skin, scoped to employee portal */
.glgwh-app-home,.glgwh-appbar,.glgwh-app-dock,.glgwh-app-drawer{font-family:system-ui,-apple-system,"Noto Sans Thai",Tahoma,sans-serif;color:#143d34}
.glgwh-app-home,.glgwh-app-home *,.glgwh-appbar,.glgwh-appbar *,.glgwh-app-dock,.glgwh-app-dock *,.glgwh-app-drawer,.glgwh-app-drawer *{box-sizing:border-box}
.glgwh-app-home{max-width:860px;margin:0 auto;padding:18px 16px 112px;line-height:1.4;text-align:left;background:#f5f8f6;border-radius:20px;min-width:0}
.glgwh-app-home a,.glgwh-app-dock a,.glgwh-app-drawer a,.glgwh-appbar a{text-decoration:none!important}
.glgwh-app-eyebrow{font-size:10px;font-weight:850;letter-spacing:.15em;color:#32836d;margin:3px 0 10px}
.glgwh-app-welcome{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 18px}
.glgwh-app-welcome p{font-size:15px!important;color:#506c61!important;font-weight:650;margin:0 0 4px!important}
.glgwh-app-welcome h1{font-size:clamp(25px,5.8vw,33px)!important;line-height:1.24!important;color:#0d4337!important;letter-spacing:-.04em;font-weight:850!important;margin:0 0 6px!important}
.glgwh-app-welcome span:not(.glgwh-app-avatar){font-size:13px;color:#60786e}
.glgwh-app-avatar{flex:0 0 49px;width:49px;height:49px;display:grid;place-items:center;background:#e3f3e9;color:#126949;border:2px solid white;outline:1px solid #b7dbcb;border-radius:16px;font-size:22px;font-weight:800}
.glgwh-app-attendance{background:linear-gradient(125deg,#095342,#087b5a);border-radius:20px;padding:19px;color:#fff;box-shadow:0 10px 30px #065b3c23;margin-bottom:24px}
.glgwh-app-attendance-top{display:flex;align-items:flex-start;gap:13px;margin-bottom:17px}
.glgwh-app-attendance-top>svg{flex:0 0 44px;width:44px;height:44px;border-radius:14px;padding:9px;background:#ffffff19;color:#e6fff1}
.glgwh-app-attendance-top>div{display:grid;gap:6px;min-width:0}
.glgwh-app-attendance strong{font-size:19px;line-height:1.32;color:#fff}
.glgwh-app-attendance span{font-size:12px;line-height:1.6;color:#d5f1e5}
.glgwh-app-primary{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;border-radius:13px;background:#fff;color:#096346!important;padding:13px 16px;min-height:50px;font-size:16px;font-weight:800}
.glgwh-app-primary svg{width:20px;height:20px}
.glgwh-app-sectiontitle{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:24px 0 13px}
.glgwh-app-sectiontitle h2{margin:0!important;font-size:19px!important;font-weight:800!important;color:#153e34!important;line-height:1.3!important}
.glgwh-app-sectiontitle>span{font-size:11px;color:#718479}
.glgwh-app-quickgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.glgwh-app-tile{display:flex;align-items:center;gap:11px;position:relative;min-width:0;background:#fff;color:#193e34!important;padding:15px 14px;min-height:77px;border:1px solid #e1ebe4;border-radius:16px;box-shadow:0 3px 13px #174f2c09;text-decoration:none!important}
.glgwh-app-tile-icon{width:43px;height:43px;border-radius:13px;display:grid;place-items:center;flex:0 0 43px;background:#e9f6ef;color:#11775a}
.glgwh-app-tile-icon>svg{width:23px;height:23px}
.glgwh-app-tile-copy{display:grid;gap:3px;min-width:0}
.glgwh-app-tile-copy strong{font-size:14px;font-weight:800;line-height:1.35;color:#123e30}
.glgwh-app-tile-copy small{font-size:11px;line-height:1.4;color:#75877d;overflow-wrap:normal}
.glgwh-app-tile>svg:last-child{width:16px;height:16px;margin-left:auto;flex-shrink:0;color:#82a897}
.glgwh-app-quickgrid .glgwh-app-tile{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:10px;min-height:146px;padding:15px}
.glgwh-app-quickgrid .glgwh-app-tile>svg:last-child{display:none}
.glgwh-app-quickgrid .glgwh-app-tile-icon{width:42px;height:42px;flex-basis:42px}
.glgwh-app-quickgrid .glgwh-app-tile-copy strong{font-size:16px}
.glgwh-app-quickgrid .glgwh-app-tile.task .glgwh-app-tile-icon{background:#e7edff;color:#4b66bb}
.glgwh-app-quickgrid .glgwh-app-tile.report .glgwh-app-tile-icon{background:#f3ecff;color:#8454ae}
.glgwh-app-quickgrid .glgwh-app-tile.pay .glgwh-app-tile-icon{background:#fff2d8;color:#ad7a1b}
.glgwh-app-quickgrid .glgwh-app-tile.meeting .glgwh-app-tile-icon{background:#e8f7f7;color:#128085}
.glgwh-app-rows{display:grid;gap:9px}
.glgwh-app-paynote{display:flex;align-items:flex-start;gap:11px;margin:21px 0 12px;padding:15px;background:#edf6f0;border-radius:15px;color:#22604e;border:1px solid #d7e8dc}
.glgwh-app-paynote>svg{width:23px;height:23px;flex:none}
.glgwh-app-paynote>div{display:grid;gap:5px}
.glgwh-app-paynote b{font-size:14px}
.glgwh-app-paynote span{font-size:12px;font-weight:700}
.glgwh-app-paynote small{font-size:11px;color:#5a7867}
.glgwh-app-classic{margin:21px 0 8px;border:1px solid #dfe9e2;background:#fff;border-radius:13px;overflow:hidden}
.glgwh-app-classic>summary{display:flex;align-items:center;gap:9px;padding:14px 15px;cursor:pointer;list-style:none;color:#275746;font-size:13px;font-weight:800}
.glgwh-app-classic>summary::-webkit-details-marker{display:none}
.glgwh-app-classic>summary svg{width:19px;height:19px;flex:none}
.glgwh-app-classic>summary span{font-size:11px;color:#7b8980;font-weight:400;margin-left:auto}
.glgwh-app-classic-body{border-top:1px solid #e7f0eb;padding:12px 5px;max-width:100%;overflow-x:auto}
.glgwh-appbar,.glgwh-app-dock,.glgwh-app-backdrop,.glgwh-app-drawer{display:none}
.glgwh-app-drawer[hidden],.glgwh-app-backdrop[hidden],#glgwh-home-fallback[hidden]{display:none!important}
.glgwh-app-tile:focus-visible,.glgwh-app-primary:focus-visible,.glgwh-app-dock a:focus-visible,.glgwh-app-dock button:focus-visible,.glgwh-appbar button:focus-visible{outline:3px solid #32b88b;outline-offset:2px}
@media(min-width:761px){.glgwh-app-home{padding:26px 28px 50px;margin:20px auto}.glgwh-app-quickgrid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){
 body.glgwh-app-mode{background:#f5f8f6!important;padding-top:66px!important;padding-bottom:80px!important}
 body.glgwh-app-mode .site-header,body.glgwh-app-mode #masthead,body.glgwh-app-mode #site-header,body.glgwh-app-mode .elementor-location-header,body.glgwh-app-mode .wp-site-blocks>header,body.glgwh-app-mode .site-footer,body.glgwh-app-mode #colophon,body.glgwh-app-mode .elementor-location-footer,body.glgwh-app-mode .wp-site-blocks>footer{display:none!important}
 body.glgwh-app-mode .entry-header,body.glgwh-app-mode .page-header,body.glgwh-app-mode .wp-block-post-title{display:none!important}
 body.glgwh-app-mode .entry-content,body.glgwh-app-mode .wp-block-post-content{margin-top:0!important}
 body.glgwh-app-mode .glgwh-app-home{width:100%;max-width:600px;margin:0 auto;padding:18px 16px 108px;border-radius:0}
 body.glgwh-app-mode .glgwh-appbar{display:flex;position:fixed;left:0;right:0;top:0;z-index:2147480010;min-height:65px;align-items:center;justify-content:space-between;gap:12px;background:#fff;border-bottom:1px solid #e6efe9;box-shadow:0 2px 12px #1747300c;padding:8px max(15px,env(safe-area-inset-left)) 8px max(15px,env(safe-area-inset-right))}
 .glgwh-app-brand{display:flex;align-items:center;gap:10px;color:#0c553d!important;min-width:0}
 .glgwh-app-brand img{width:42px;height:42px;object-fit:contain;border-radius:11px;flex:none}
 .glgwh-app-brand>span{display:grid;gap:1px;min-width:0}
 .glgwh-app-brand b{font-size:18px;line-height:1.15;letter-spacing:-.02em}
 .glgwh-app-brand small{font-size:10px;color:#718679;font-weight:650;letter-spacing:.06em;white-space:nowrap}
 .glgwh-appbar-menu{width:40px;height:40px;display:grid;place-items:center;border:0;background:#edf6f0;border-radius:12px;color:#10674c;cursor:pointer;flex:none}
 body.glgwh-app-mode .glgwh-app-dock{display:flex;position:fixed;z-index:2147480010;bottom:0;bottom:env(safe-area-inset-bottom,0px);left:0;right:0;background:#fff;border-top:1px solid #e1eae4;box-shadow:0 -6px 20px #143d2a15;padding:7px max(5px,env(safe-area-inset-left)) max(7px,env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-right));gap:2px;min-height:65px}
 .glgwh-app-dock a,.glgwh-app-dock button{display:flex;flex:1 1 0;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:10px;line-height:1.25;font-weight:750;color:#73877c!important;border:0;border-radius:11px;background:transparent;text-decoration:none;cursor:pointer;padding:6px 0;font-family:inherit}
 .glgwh-app-dock svg{width:23px;height:23px}
 .glgwh-app-dock a[aria-current="page"]{color:#0b7653!important;background:#eaf6ee}
 .glgwh-app-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:2147480015;background:rgba(6,37,25,.48)}
 .glgwh-app-drawer:not([hidden]){display:flex;flex-direction:column;position:fixed;z-index:2147480020;bottom:0;bottom:env(safe-area-inset-bottom,0px);left:0;right:0;max-height:82dvh;overflow-y:auto;border-radius:22px 22px 0 0;background:#f7fbf8;padding:22px 16px max(30px,env(safe-area-inset-bottom))}
 .glgwh-app-drawer-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:19px}
 .glgwh-app-drawer-top>div{display:grid;gap:3px}
 .glgwh-app-drawer-top strong{font-size:21px;color:#134b38}
 .glgwh-app-drawer-top span{font-size:12px;color:#7b9284}
 .glgwh-app-drawer-close{width:37px;height:37px;border:0;background:#e9f2ec;border-radius:11px;display:grid;place-items:center;color:#225843;cursor:pointer}
 .glgwh-app-drawer-links{display:grid;gap:9px}
 body.glgwh-app-mode .glgwh{padding:8px 14px 105px!important;margin:0 auto!important;width:100%;max-width:650px}
 body.glgwh-app-mode .glgwh-hero{padding:21px 18px;border-radius:16px}
 body.glgwh-app-mode .glgwh-hero h1{font-size:24px}
 body.glgwh-app-mode .glgwh-hero p{font-size:13px}
 body.glgwh-app-mode .glgwh-nav{display:none}
 body.glgwh-app-mode .glgwh-quote-entry{border-radius:14px;padding:15px;border-left-width:3px}
 body.glgwh-app-mode .glgwh-quote-entry h2{font-size:18px!important}
 body.glgwh-app-mode .glgwh-quote-entry__button{font-size:13px;min-height:46px}
 body.glgwh-app-mode .glgwh,.glgwh-app-mode .glg-ep{padding-bottom:95px!important}
}
@media(max-width:359px){.glgwh-app-home{padding-left:11px!important;padding-right:11px!important}.glgwh-app-quickgrid{gap:8px}.glgwh-app-quickgrid .glgwh-app-tile{padding:12px;min-height:138px}.glgwh-app-quickgrid .glgwh-app-tile-copy strong{font-size:14px}.glgwh-app-quickgrid .glgwh-app-tile-copy small{font-size:10px}.glgwh-app-attendance{padding:15px}}
/* Make the portal landing page full-bleed like a mobile app, without changing other views. */
@media(max-width:760px){
 body.glgwh-app-home-mode #primary,body.glgwh-app-home-mode #content,body.glgwh-app-home-mode .site-main,body.glgwh-app-home-mode article.page,body.glgwh-app-home-mode .entry-content,body.glgwh-app-home-mode .wp-block-post-content{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
 body.glgwh-app-mode .glg-ep-bottom-nav,body.glgwh-app-mode .glg-ep-mobile-nav,body.glgwh-app-mode .glg-ep-dock{display:none!important}
}

/* GLG WorkHub v0.5.0 — refined enterprise native-style mobile dashboard. */
.glgwh-premium{--brand:#087858;--deep:#063c2f;--line:#e5eee8;--ink:#15372e;--soft:#f6faf8;background:linear-gradient(145deg,#e9f8f0 0,#f8fbf9 25%,#f8faf9 100%);color:var(--ink);width:100%;max-width:950px;margin:0 auto;padding:25px 20px 125px;border-radius:24px;line-height:1.48;position:relative}
.glgwh-premium :where(h1,h2,h3,p){margin:0!important}
.glgwh-premium :where(a){text-decoration:none!important}
.glgwh-prem-topline{display:flex;justify-content:space-between;gap:8px;align-items:center;margin:0 1px 12px}
.glgwh-prem-eyebrow{font-weight:850;letter-spacing:.14em;color:#0b815e;font-size:10px}
.glgwh-prem-date{font-size:12px;font-weight:650;color:#839991}
.glgwh-prem-profile{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:18px;padding:22px 20px;border:1px solid #e3eee8;background:linear-gradient(120deg,white,#f5fdf8);border-radius:23px;box-shadow:0 12px 31px #1543330b;align-items:center;min-width:0}
.glgwh-prem-person{display:flex;align-items:center;gap:13px;min-width:0}
.glgwh-prem-avatar{flex:none;width:58px;height:58px;display:grid;place-items:center;color:#0f7054;background:linear-gradient(140deg,#d6f7df,#f3fffa);font-size:21px;font-weight:800;border-radius:18px;overflow:hidden}
.glgwh-prem-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.glgwh-prem-person-meta{min-width:0;display:grid;gap:2px}
.glgwh-prem-person-meta>span{font-size:11px;color:#728d7d}
.glgwh-prem-person-meta h1{font-size:clamp(16px,2vw,20px)!important;font-weight:850!important;line-height:1.4!important;letter-spacing:-.025em;color:#073a2e!important;overflow-wrap:anywhere}
.glgwh-prem-person-meta small{font-size:11px;color:#81928a}
.glgwh-prem-cycle{border-left:1px solid #e2eee7;display:flex;align-items:flex-start;gap:9px;padding:3px 0 3px 18px;min-width:0;color:#153e33!important}
.glgwh-prem-cycle-icon{color:#0a815b;flex:none;margin-top:2px}
.glgwh-prem-cycle-icon svg{width:23px;height:23px}
.glgwh-prem-cycle>span:nth-child(2){min-width:0;display:grid;gap:3px}
.glgwh-prem-cycle b{font-size:12px;font-weight:800}
.glgwh-prem-cycle small{font-size:11px;color:#365d4d;line-height:1.45}
.glgwh-prem-cycle em{font-size:11px;color:#84988c;font-style:normal}
.glgwh-prem-cycle>svg:last-child{margin-left:auto;width:17px;height:17px;flex:none;color:#8ca89a}
.glgwh-prem-clock{background:linear-gradient(160deg,#ffffff 0%,#ffffff 66%,#eaf9f0 100%);border:1px solid #dfefe6;border-radius:23px;padding:21px 20px 17px;box-shadow:0 14px 34px #164e2a12;margin-top:16px}
.glgwh-prem-clock-top{display:flex;align-items:center;gap:13px;margin-bottom:17px}
.glgwh-prem-clock-ico{width:52px;height:52px;flex:none;display:grid;place-items:center;border-radius:18px;background:#dcf8e9;color:#08805d}
.glgwh-prem-clock-ico svg{width:28px;height:28px}
.glgwh-prem-clock-text{min-width:0;display:grid;gap:3px}
.glgwh-prem-clock-text>span{font-size:12px;font-weight:750;color:#5b8170}
.glgwh-prem-clock-text h2{font-size:clamp(21px,3vw,26px)!important;font-weight:900!important;line-height:1.25!important;color:#074634!important}
.glgwh-prem-clock-text small{font-size:11px;color:#879b91}
.glgwh-prem-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.glgwh-prem-action{min-width:0;display:flex;gap:13px;justify-content:center;align-items:center;min-height:81px;border-radius:16px;padding:12px 13px;transition:transform .15s,box-shadow .15s;cursor:pointer}
.glgwh-prem-action:hover,.glgwh-prem-shortcut:hover{transform:translateY(-2px)}
.glgwh-prem-action:active,.glgwh-prem-shortcut:active{transform:scale(.98)}
.glgwh-prem-action>svg{width:32px;height:32px;flex:none;stroke-width:2.3}
.glgwh-prem-action>span{display:grid;gap:0;min-width:0}
.glgwh-prem-action b{font-size:20px;line-height:1.3;white-space:nowrap}
.glgwh-prem-action small{font-size:11px;font-weight:550}
.glgwh-prem-checkin{background:linear-gradient(120deg,#0fa879,#06734f);color:#fff!important;box-shadow:0 9px 20px #05825432}
.glgwh-prem-checkin small{color:#ddfff2}
.glgwh-prem-checkout{background:#fff;border:1.6px solid #b6e4ce;color:#087455!important}
.glgwh-prem-checkout small{color:#728c7c}
.glgwh-prem-history{display:flex;justify-content:center;align-items:center;gap:7px;padding:14px 2px 0;color:#26755a!important;font-weight:750;font-size:12px}
.glgwh-prem-history svg{width:16px;height:16px}
.glgwh-prem-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:23px 2px 11px}
.glgwh-prem-heading h2{font-size:20px!important;line-height:1.25!important;font-weight:900!important;color:#0d3e30!important}
.glgwh-prem-heading small{color:#94a39b;font-size:11px;text-align:right}
.glgwh-prem-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.glgwh-prem-stat{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;min-height:159px;padding:14px 14px;background:#fff;color:#1b3c34!important;border:1px solid #e7f0e9;border-radius:18px;box-shadow:0 5px 20px #143e260a}
.glgwh-prem-stat-blue{background:linear-gradient(147deg,#fff,#f2f8ff)}
.glgwh-prem-stat-amber{background:linear-gradient(147deg,#fff,#fffaec)}
.glgwh-prem-stat-mint{background:linear-gradient(147deg,#fff,#f0fdf6)}
.glgwh-prem-stat-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#e6f0ff;color:#3879ba;margin-bottom:1px}
.glgwh-prem-stat-amber .glgwh-prem-stat-icon{background:#fff1d1;color:#bd881d}
.glgwh-prem-stat-mint .glgwh-prem-stat-icon{background:#dff9e9;color:#058456}
.glgwh-prem-stat-icon svg{width:20px;height:20px}
.glgwh-prem-stat>small{font-size:11px;color:#667f72;line-height:1.35}
.glgwh-prem-stat strong{font-size:28px!important;font-weight:900;color:#0d4635;line-height:1.16}
.glgwh-prem-stat strong.glgwh-prem-stat-text{font-size:16px!important;letter-spacing:-.025em;line-height:1.35!important;overflow-wrap:anywhere}
.glgwh-prem-stat>span:last-child{font-size:10px;color:#9aaba1;line-height:1.4}
.glgwh-prem-shortcuts{background:#fff;border:1px solid #e7f0e9;border-radius:20px;padding:14px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;box-shadow:0 7px 25px #153a2308}
.glgwh-prem-shortcut{display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;min-width:0;min-height:109px;padding:12px 3px 9px;background:linear-gradient(145deg,#f4faf7,#fbfdfb);border:1px solid #edf2ee;border-radius:15px;color:#153e31!important;transition:transform .15s,box-shadow .15s}
.glgwh-prem-ico{display:grid;place-items:center;width:43px;height:43px;border-radius:14px;background:#e0f5e8;color:#008356}
.glgwh-prem-ico svg{width:23px;height:23px}
.glgwh-prem-label{font-size:12px;font-weight:800;line-height:1.32;overflow-wrap:anywhere}
.glgwh-prem-shortcut small{font-size:9px;color:#829d8e}
.glgwh-prem-tone-blue .glgwh-prem-ico{background:#e4f1ff;color:#3777bb}
.glgwh-prem-tone-purple .glgwh-prem-ico{background:#eee9ff;color:#7658b5}
.glgwh-prem-tone-amber .glgwh-prem-ico{background:#fff1d5;color:#b48826}
.glgwh-prem-tone-teal .glgwh-prem-ico{background:#e4f7f9;color:#0b8591}
.glgwh-prem-tone-orange .glgwh-prem-ico{background:#fff1e6;color:#d4823a}
.glgwh-prem-tone-slate .glgwh-prem-ico{background:#ebeff3;color:#657a8d}
.glgwh-prem-feature{display:flex;align-items:center;gap:14px;min-height:94px;margin:16px 0 0;border-radius:19px;padding:16px 20px;background:radial-gradient(ellipse at 12% 10%,#17825c,#074334 71%);color:#fff!important;overflow:hidden;box-shadow:0 11px 24px #074c3423}
.glgwh-prem-feature-art{flex:none;color:#b0f1d6;display:grid;place-items:center;width:43px;height:43px;background:#ffffff1b;border-radius:13px}
.glgwh-prem-feature-art svg{width:26px;height:26px}
.glgwh-prem-feature>span:nth-child(2){display:grid;gap:4px;min-width:0}
.glgwh-prem-feature small{font-size:9px;color:#b9e7d4;letter-spacing:.09em}
.glgwh-prem-feature b{font-size:18px;line-height:1.3}
.glgwh-prem-feature em{font-style:normal;font-size:11px;color:#c9efe0}
.glgwh-prem-feature>svg:last-child{margin-left:auto;flex:none}
.glgwh-prem-classic{margin-top:17px;box-shadow:none;border-color:#e2eae4}
.glgwh-appbar .glgwh-prem-topactions{display:flex;align-items:center;gap:8px;margin-left:auto}
.glgwh-prem-bell{width:39px;height:39px;display:grid;place-items:center;border-radius:14px;color:#096f4e!important;background:#eff8f3}
.glgwh-prem-bell svg{width:20px;height:20px}
.glgwh-attendance-modal[hidden]{display:none!important}
.glgwh-attendance-modal{position:fixed;z-index:2147480030;inset:0;display:grid;place-items:center;padding:16px;background:rgba(4,30,23,.55);font-family:system-ui,'Noto Sans Thai',sans-serif}
.glgwh-attendance-sheet{width:min(660px,100%);height:min(90dvh,850px);border-radius:23px;background:#fff;box-shadow:0 26px 80px #001c1270;display:flex;flex-direction:column;overflow:hidden}
.glgwh-attendance-modal-top{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 20px;border-bottom:1px solid #e1ebe5}
.glgwh-attendance-modal-top>div{display:grid;gap:4px}
.glgwh-attendance-modal-top b{font-size:20px;color:#073b2f}
.glgwh-attendance-modal-top span{font-size:11px;color:#6d8779}
.glgwh-attendance-close{flex:none;width:39px;height:39px;border:0;border-radius:12px;color:#285b45;background:#eaf4ee;display:grid;place-items:center;cursor:pointer}
.glgwh-attendance-frame-wrap{flex:1;overflow:hidden;background:#f6faf7;min-height:200px}
.glgwh-attendance-frame-wrap iframe{width:100%;height:100%;display:block;border:0}
.glgwh-attendance-modal-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 16px;background:#f5faf7;border-top:1px solid #e0ebe3}
.glgwh-attendance-modal-footer span{font-size:10px;color:#5c7e6d}
.glgwh-attendance-full{display:flex;align-items:center;gap:5px;background:#0b7555;color:#fff!important;padding:9px 11px;border-radius:10px;font-weight:800;font-size:11px;white-space:nowrap;text-decoration:none!important}
.glgwh-attendance-full svg{width:14px;height:14px}
body.glgwh-attendance-open{overflow:hidden!important}
.glgwh-premium a:focus-visible,.glgwh-attendance-modal button:focus-visible{outline:3px solid #21b98a;outline-offset:3px}
@media(min-width:761px){.glgwh-premium{padding:35px 32px 50px;margin:18px auto 30px}.glgwh-prem-shortcuts{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:760px){
 body.glgwh-app-mode{background:#f7fbf8!important}
 body.glgwh-app-mode .glgwh-premium{padding:19px 15px calc(100px + env(safe-area-inset-bottom));max-width:650px;border-radius:0}
 body.glgwh-app-mode .glgwh-appbar{background:#fff;min-height:69px;box-shadow:0 4px 25px #063f3010;border-bottom:1px solid #e5f0e8}
 body.glgwh-app-mode .glgwh-app-brand b{font-weight:900;font-size:18px}
 body.glgwh-app-mode .glgwh-appbar-menu{background:#eef8f1;border-radius:14px}
 body.glgwh-app-mode .glgwh-app-dock{min-height:72px;border-top:1px solid #e9efe9;box-shadow:0 -6px 25px #0e3c2b0d;padding-top:7px}
 body.glgwh-app-mode .glgwh-app-dock a[aria-current="page"]{background:transparent;position:relative;font-weight:900!important}
 body.glgwh-app-mode .glgwh-app-dock a[aria-current="page"]:before{content:"";position:absolute;top:-7px;left:22%;right:22%;height:3px;border-radius:0 0 4px 4px;background:#10825d}
 body.glgwh-app-mode .glgwh-app-dock svg{width:23px;height:23px}
 .glgwh-prem-profile{grid-template-columns:1fr;gap:13px;padding:16px}
 .glgwh-prem-cycle{padding:12px 0 0;border-left:0;border-top:1px solid #e8f0eb}
 .glgwh-prem-avatar{width:55px;height:55px}
 .glgwh-prem-clock{padding:18px 15px 15px}
 .glgwh-prem-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px}
 .glgwh-prem-shortcut{min-height:102px}
 .glgwh-prem-heading small{max-width:180px}
}
@media(max-width:390px){.glgwh-prem-action{gap:7px;min-height:75px;padding:9px 7px}.glgwh-prem-action>svg{width:25px;height:25px}.glgwh-prem-action b{font-size:18px}.glgwh-prem-action small{font-size:10px}.glgwh-prem-overview{gap:7px}.glgwh-prem-stat{padding:11px 9px;min-height:145px}.glgwh-prem-stat small{font-size:10px}.glgwh-prem-stat strong.glgwh-prem-stat-text{font-size:14px!important}.glgwh-prem-stat>span:last-child{font-size:9px}.glgwh-prem-shortcut{padding:10px 3px}.glgwh-prem-label{font-size:11px}}
@media(max-width:340px){.glgwh-prem-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.glgwh-prem-overview .glgwh-prem-stat:last-child{grid-column:1/-1;min-height:118px}.glgwh-prem-actions{gap:7px}.glgwh-prem-clock-text h2{font-size:21px!important}}
@media(max-width:760px){.glgwh-attendance-modal{padding:0;place-items:end stretch}.glgwh-attendance-sheet{width:100%;height:95dvh;border-radius:20px 20px 0 0}.glgwh-attendance-modal-footer{flex-direction:column;align-items:stretch;text-align:center}.glgwh-attendance-full{justify-content:center;min-height:43px}}
