@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;500;600;700;800&display=swap');
:root{--gr-green:#146e59;--gr-dark:#0e4a3d;--gr-soft:#e9f5ef;--gr-ink:#193a32;--gr-muted:#60776d;--gr-border:#dce9e1}*{box-sizing:border-box}html{font-size:16px}body.grstaff-app{margin:0!important;background:#f4f8f5;color:var(--gr-ink);font:16px/1.65 'Noto Sans Thai',Arial,sans-serif!important;overflow-x:hidden}body.grstaff-app .gr-shell{width:min(1380px,calc(100% - 48px));margin:auto}body.grstaff-app a{color:var(--gr-green)}.gr-header{background:#fff;border-bottom:1px solid var(--gr-border);box-shadow:0 3px 20px #103d2410}.gr-header-inner{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:20px}.gr-brand{display:flex;align-items:center;gap:14px;text-decoration:none!important;color:var(--gr-dark)!important}.gr-brand-mark{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:var(--gr-dark);color:#fff;font-weight:700;font-size:18px}.gr-brand strong,.gr-brand small{display:block}.gr-brand strong{font-size:18px;line-height:1.35}.gr-brand small{color:var(--gr-muted);font-size:12px}.gr-nav{display:flex;align-items:center;gap:8px}.gr-nav a{padding:10px 16px;text-decoration:none!important;border-radius:10px;font-weight:600}.gr-nav a:hover,.gr-nav a:focus-visible{background:var(--gr-soft)}.gr-nav .gr-logout{border:1px solid var(--gr-border)}.gr-menu-button{display:none;background:#fff;border:1px solid var(--gr-border);border-radius:10px;padding:9px 15px;color:var(--gr-dark)}.gr-hero{background:linear-gradient(120deg,#105b4b,#238c68 65%,#69ac78);color:white;padding:42px 0 49px}.gr-hero h1{font-size:clamp(27px,3.1vw,40px);font-weight:700;margin:8px 0 4px;color:white}.gr-hero p{margin:0;color:#e9f9ed}.gr-eyebrow{font-size:12px;letter-spacing:.15em;font-weight:700}.gr-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px;align-items:start;padding:28px 0 64px}.gr-sidebar,.gr-main,.gr-login-card{background:#fff;border:1px solid var(--gr-border);border-radius:18px;box-shadow:0 12px 36px #2247340d}.gr-sidebar{padding:20px;position:sticky;top:20px}.gr-user{display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--gr-border);padding-bottom:18px;margin-bottom:18px;min-width:0}.gr-user strong,.gr-user small{display:block;overflow-wrap:anywhere}.gr-user small{color:var(--gr-muted);font-size:12px}.gr-avatar{flex:none;width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--gr-soft);color:var(--gr-dark);font-weight:700}.gr-menu-title{font-weight:700;font-size:12px;color:var(--gr-muted);margin:0 10px 7px}.gr-side-links{display:grid;gap:3px}.gr-side-links a{display:block;padding:10px 12px;border-radius:10px;text-decoration:none!important;font-size:14px;font-weight:600}.gr-side-links a:hover,.gr-side-links a.is-active{background:var(--gr-soft);color:var(--gr-dark)!important}.gr-side-exit{display:block;border-top:1px solid var(--gr-border);margin-top:18px;padding:16px 12px 2px;text-decoration:none}.gr-main{min-width:0;padding:24px;overflow-wrap:anywhere}.gr-main .contentbox-container{width:100%;min-width:0}.gr-main table{max-width:100%;border-collapse:collapse}.gr-main table[width="100%"]{width:100%!important}.gr-main table td,.gr-main table th{overflow-wrap:anywhere}.gr-main table[style*="border:solid"],.gr-main table[style*="border: solid"]{border:1px solid var(--gr-border)!important;border-radius:12px}.gr-main td[bgcolor="#45b7b1"],.gr-main td[bgcolor="#45B7B1"]{background:var(--gr-green)!important;color:#fff;padding:11px 14px!important}.gr-main input:not([type=radio]):not([type=checkbox]):not([type=hidden]):not([type=submit]),.gr-main select,.gr-main textarea{max-width:100%;min-height:38px;border:1px solid #cbded1;border-radius:8px;padding:7px 10px;background:#fff;color:var(--gr-ink)}.gr-main input[type=submit],.gr-main button,.gr-main .btn-u{background:var(--gr-green);color:#fff;border:0;border-radius:8px;padding:9px 16px;min-height:38px}.gr-main img,.gr-main iframe{max-width:100%}.gr-login-layout{display:grid;grid-template-columns:1fr 440px;gap:40px;align-items:center;padding:64px 0 90px}.gr-login-intro{padding:30px 6vw 30px 0}.gr-login-intro h2{font-size:clamp(28px,3vw,44px);font-weight:700;margin:12px 0;color:var(--gr-dark)}.gr-login-intro p{color:var(--gr-muted)}.gr-intro-decoration{background:linear-gradient(130deg,#d9f3db,#b3dac4);width:112px;height:112px;border-radius:32px;color:var(--gr-green);display:grid;place-items:center;font-size:58px;margin-top:36px}.gr-login-card{padding:36px}.gr-login-card h2{font-size:26px;font-weight:700;margin:5px 0}.gr-login-card p{color:var(--gr-muted);margin-bottom:25px}.gr-login-card label{display:block;font-weight:600;margin:16px 0 7px}.gr-login-card input{width:100%;height:46px;border:1px solid #c9dbd1;border-radius:9px;padding:10px 12px;min-width:0}.gr-email{display:flex;align-items:center;border:1px solid #c9dbd1;border-radius:9px;overflow:hidden}.gr-email input{border:0}.gr-email span{white-space:nowrap;background:#edf5ef;padding:10px;font-size:13px}.gr-forgot{display:block;text-align:right;margin:14px 0 20px}.gr-login-card button{width:100%;background:var(--gr-green);color:white;border:0;border-radius:9px;padding:12px 18px;font-weight:700}.gr-login-card button span{float:right}.gr-footer{background:#0d4035;color:#d7eee1}.gr-footer-inner{display:flex;justify-content:space-between;gap:20px;padding:28px 0;font-size:13px}.gr-footer strong,.gr-footer span{display:block}.gr-footer strong{color:white;font-size:15px}.grstaff-app :focus-visible{outline:3px solid #e6bb49;outline-offset:2px}@media(max-width:900px){.gr-layout{grid-template-columns:1fr}.gr-sidebar{position:static}.gr-side-links{grid-template-columns:repeat(2,minmax(0,1fr))}.gr-login-layout{grid-template-columns:1fr;gap:0}.gr-login-intro{padding:10px 0 20px}.gr-intro-decoration{display:none}.gr-login-card{max-width:560px;width:100%}.gr-menu-button{display:block}.gr-nav{display:none;position:absolute;left:0;right:0;top:84px;background:#fff;z-index:30;box-shadow:0 12px 18px #153e2b24;padding:12px 24px;flex-direction:column;align-items:stretch}.gr-nav.is-open{display:flex}.gr-nav a{display:block}}@media(max-width:600px){body.grstaff-app .gr-shell{width:calc(100% - 28px)}.gr-header-inner{min-height:74px}.gr-nav{top:74px}.gr-brand strong{font-size:14px}.gr-brand small{font-size:10px}.gr-brand-mark{width:39px;height:39px;font-size:14px}.gr-menu-button span{display:none}.gr-hero{padding:25px 0}.gr-hero p{font-size:13px}.gr-layout{padding-top:14px;gap:14px}.gr-main{padding:14px}.gr-sidebar{padding:14px}.gr-side-links{grid-template-columns:1fr}.gr-login-layout{padding:24px 0 48px}.gr-login-card{padding:22px}.gr-footer-inner{display:block}.gr-footer-inner>div+div{margin-top:10px}.gr-main table,.gr-main tbody,.gr-main tr,.gr-main td{max-width:100%}.gr-main input,.gr-main select,.gr-main textarea{max-width:100%!important}.gr-main table.dataTable{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}.gr-main table.dataTable thead,.gr-main table.dataTable tbody{display:table-row-group}.gr-main table.dataTable tr{display:table-row}.gr-main table.dataTable td,.gr-main table.dataTable th{display:table-cell}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* 2026 institutional portal refinement */
body.grstaff-app{font-family:Tahoma,'Noto Sans Thai',sans-serif!important;font-size:16px;background:#f3f7f5}.gr-header{border:0;background:#fff}.gr-header-inner{min-height:76px}.gr-brand-mark{border-radius:12px;background:linear-gradient(145deg,#0e765d,#25aa79);box-shadow:0 7px 18px #15785633}.gr-brand strong{font-size:16px}.gr-hero{position:relative;overflow:hidden;background:linear-gradient(120deg,#0b5146,#087960 70%,#16a379);padding:37px 0 42px}.gr-hero:before,.gr-hero:after{content:"";position:absolute;border:70px solid #ffffff0b;border-radius:50%;width:420px;height:420px;right:3%;top:-330px;pointer-events:none}.gr-hero:after{width:300px;height:300px;right:24%;top:85px;border-width:45px}.gr-hero .gr-shell{position:relative;z-index:1}.gr-layout{gap:22px}.gr-sidebar,.gr-main{border:1px solid #e2ebe6;border-radius:20px;box-shadow:0 14px 38px #174a3610}.gr-sidebar{padding:18px}.gr-main{padding:24px}.gr-user{background:#eff8f2;border-radius:14px;padding:13px;margin-bottom:20px;border:0}.gr-side-links a{transition:background .2s,color .2s}.gr-side-links a.is-active{box-shadow:inset 3px 0 #158466}.gr-footer{background:#113c36}.grstaff-app .gr-main table[style*="border:solid"]{border-radius:14px;overflow:hidden}.grstaff-app .gr-main td[bgcolor="#45b7b1"]{background:#14765e!important}.grstaff-app .gr-main td[bgcolor="#FFFFFF"]{background:#fff!important}.grstaff-app .gr-main input[type=submit]{background:linear-gradient(100deg,#08765e,#26a481);box-shadow:0 8px 18px #18765a22}.gr-login-page{background:#fff!important}.gr-split-login{display:grid;grid-template-columns:46% 54%;min-height:100vh}.gr-split-story{position:relative;isolation:isolate;overflow:hidden;color:#fff;background:linear-gradient(145deg,#073d36 0%,#086c57 60%,#26a778 100%);padding:56px clamp(28px,4vw,76px);display:flex;flex-direction:column;justify-content:space-between}.gr-split-story:before,.gr-split-story:after{content:"";position:absolute;z-index:-1;width:660px;height:660px;border:95px solid #ffffff0b;border-radius:50%;right:-420px;top:-320px}.gr-split-story:after{width:490px;height:490px;right:auto;left:-380px;top:auto;bottom:-330px;border-width:80px}.gr-story-brand{display:flex;align-items:center;gap:18px;font-size:13px;line-height:1.35}.gr-story-monogram{font-size:27px;font-weight:800;letter-spacing:-.05em;border-right:1px solid #ffffff99;padding-right:18px}.gr-story-content h1{color:#fff;font-size:clamp(38px,3.9vw,68px);line-height:1.24;font-weight:700;margin:20px 0}.gr-story-content p{color:#dbf4e9;font-size:17px;line-height:1.75}.gr-story-points{display:flex;flex-wrap:wrap;gap:12px 22px;margin-top:28px;font-weight:600;font-size:13px}.gr-split-story>small{color:#e3f1e9}.gr-split-form{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:65px 35px;background:#fff}.gr-form-head{position:absolute;top:34px;right:6%;display:flex;align-items:center;gap:10px;color:#174c40;font-weight:700;font-size:12px;line-height:1.35}.gr-form-head small{font-weight:400}.gr-form-seal{width:39px;height:39px;border-radius:11px;background:#ebf6ef;color:#08765e;display:grid;place-items:center;font-weight:800}.gr-form-content{width:min(100%,520px)}.gr-form-content .gr-eyebrow{color:#098766}.gr-form-content h2{font-size:clamp(32px,3vw,47px);font-weight:700;color:#103e35;margin:11px 0}.gr-form-content p{color:#6d8179;margin:0 0 34px}.gr-form-content label{display:block;margin:22px 0 9px;font-weight:700;color:#183b33}.gr-form-content input{height:55px;border:1px solid #d5e4db;background:#f6faf8;border-radius:12px;padding:12px 15px;min-width:0;font:inherit}.gr-form-content input:focus{outline:3px solid #9bdfbb;border-color:#158866}.gr-form-content .gr-email{border:0;display:flex;align-items:center;gap:0;border-radius:12px;background:#f6faf8}.gr-form-content .gr-email input{flex:1;width:50%;border-radius:12px 0 0 12px}.gr-form-content .gr-email span{align-self:stretch;display:grid;place-items:center;border:1px solid #d5e4db;border-left:0;background:#eaf5ed;padding:0 14px;color:#375d4e;font-size:14px;border-radius:0 12px 12px 0}.gr-password{display:flex;position:relative}.gr-password input{width:100%;padding-right:55px}.gr-password-toggle{position:absolute;right:7px;top:7px;border:0;background:transparent;color:#35735e;font-size:23px;width:40px;height:40px;cursor:pointer}.gr-form-content .gr-forgot{margin:15px 0 25px;text-decoration:none;font-size:14px}.gr-submit{width:100%;height:56px;border:0;border-radius:12px;background:linear-gradient(105deg,#087c64,#25b188);color:#fff;font:700 16px Tahoma,sans-serif;cursor:pointer;box-shadow:0 14px 28px #087c6430}.gr-submit:hover{filter:brightness(1.07)}.gr-submit span{float:right;margin-right:18px}.gr-help{margin-top:20px;background:#edf7f1;padding:16px;border-radius:12px;color:#547366;font-size:13px}.gr-form-copyright{position:absolute;bottom:30px;color:#80958a;font-size:12px}@media(max-width:900px){.gr-split-login{grid-template-columns:1fr}.gr-split-story{min-height:290px;padding:28px;gap:25px}.gr-story-content h1{font-size:38px}.gr-story-content h1 br{display:none}.gr-split-story>small,.gr-story-points{display:none}.gr-split-form{padding:85px 24px 85px}.gr-form-head{top:22px;right:24px}}@media(max-width:600px){.gr-split-story{min-height:230px;padding:22px}.gr-story-content h1{font-size:29px;margin:9px 0}.gr-story-content p{font-size:13px;margin:0}.gr-story-brand{font-size:11px}.gr-story-monogram{font-size:21px}.gr-split-form{padding:65px 20px 90px}.gr-form-head{right:20px;top:16px}.gr-form-content h2{font-size:31px}.gr-form-content p{margin-bottom:16px}.gr-form-content .gr-email span{font-size:12px;padding:0 8px}.gr-form-copyright{text-align:center;bottom:25px;font-size:10px}}
/* Language control and accessible field icons */
.gr-lang-switch{display:flex;gap:3px;background:#eef6f2;border:1px solid #dcebe3;border-radius:999px;padding:4px;flex:none}.gr-lang-switch button{border:0;border-radius:999px;background:transparent;color:#527466;padding:7px 12px;font:700 13px 'Noto Sans Thai',Tahoma,sans-serif;cursor:pointer}.gr-lang-switch button.is-active{background:#fff;color:#086a54;box-shadow:0 2px 9px #184f3820}.gr-login-language{position:absolute;top:32px;right:6%}.gr-login-language~.gr-form-head{display:none}.gr-form-content .gr-email{position:relative}.gr-field-icon{width:45px;flex:none;display:grid;place-items:center;color:#168269}.gr-field-icon svg,.gr-password-toggle svg{width:20px;height:20px;display:block}.gr-form-content .gr-email input{padding-left:2px}.gr-password .gr-field-icon{position:absolute;left:0;top:0;height:55px;z-index:1}.gr-password input{padding-left:45px}.gr-password-toggle{display:grid;place-items:center}.gr-header-inner>.gr-lang-switch{margin-left:auto}.gr-brand-mark{font-size:13px;width:54px}.gr-form-content{font-family:'Noto Sans Thai',Tahoma,sans-serif}@media(max-width:900px){.gr-login-language{top:22px;right:24px}.gr-header-inner>.gr-lang-switch{margin-left:auto}}@media(max-width:600px){.gr-login-language{top:14px;right:20px}.gr-header-inner>.gr-lang-switch{padding:2px}.gr-header-inner>.gr-lang-switch button{padding:5px 6px;font-size:10px}.gr-brand small{display:none}.gr-brand strong{font-size:12px}.gr-brand-mark{width:39px;font-size:10px}.gr-header-inner{gap:6px}}
/* Full typography and interior palette */

html,body,body.grstaff-app,body.grstaff-app *,body.grstaff-app *:before,body.grstaff-app *:after,body.grstaff-app input,body.grstaff-app button,body.grstaff-app select,body.grstaff-app textarea{font-family:'Noto Sans Thai',Tahoma,sans-serif!important}
.gr-lang-switch button{display:inline-flex;align-items:center;gap:7px}.gr-lang-switch button:before{content:"";display:inline-block;width:20px;height:14px;border-radius:2px;background-size:cover;background-position:center;box-shadow:0 0 0 1px #b9c9c0}.gr-lang-switch button[data-lang="th"]:before{background-image:url('../img/flag-th-grstaff.svg')}.gr-lang-switch button[data-lang="en"]:before{background-image:url('../img/flag-us-grstaff.svg')}
.gr-story-content h1{font-weight:800;line-height:1.3}.gr-story-content .gr-eyebrow{color:#a7f0d1}.grstaff-app:not(.gr-login-page){background:#f7f8fb!important}.grstaff-app:not(.gr-login-page) .gr-header{box-shadow:0 4px 18px #1d29430d}.grstaff-app:not(.gr-login-page) .gr-hero{background:linear-gradient(110deg,#0e5349 0%,#087b62 65%,#169d7b 100%)}.grstaff-app:not(.gr-login-page) .gr-sidebar,.grstaff-app:not(.gr-login-page) .gr-main{border:1px solid #e8ecf0;border-radius:22px;box-shadow:0 16px 40px #253a5010;overflow:hidden}.grstaff-app:not(.gr-login-page) .gr-main{padding:26px}.gr-user{background:#eef5fb;border-radius:16px}.gr-avatar{background:#dceafe;color:#183e79}.gr-side-links a{border-radius:12px}.gr-side-links a:nth-child(4n+1):hover,.gr-side-links a:nth-child(4n+1).is-active{background:#e9f1ff;color:#194b96!important;box-shadow:inset 3px 0 #2e72bc}.gr-side-links a:nth-child(4n+2):hover,.gr-side-links a:nth-child(4n+2).is-active{background:#e9f7ef;color:#107c59!important;box-shadow:inset 3px 0 #26a776}.gr-side-links a:nth-child(4n+3):hover,.gr-side-links a:nth-child(4n+3).is-active{background:#fff3e9;color:#a75316!important;box-shadow:inset 3px 0 #f28942}.gr-side-links a:nth-child(4n):hover,.gr-side-links a:nth-child(4n).is-active{background:#f1eefb;color:#64539b!important;box-shadow:inset 3px 0 #8575bd}.grstaff-app .gr-main .contentbox-container>table,.grstaff-app .gr-main table[style*="border:solid"],.grstaff-app .gr-main table[style*="border: solid"]{border:1px solid #e6ecf1!important;border-radius:16px!important;overflow:hidden;box-shadow:0 8px 26px #233c5410}.grstaff-app .gr-main td[bgcolor="#45b7b1"],.grstaff-app .gr-main td[bgcolor="#45B7B1"]{background:#173e72!important;color:white!important;border-radius:12px 12px 0 0}.grstaff-app .gr-main td[bgcolor="#45b7b1"] input[type="submit"],.grstaff-app .gr-main td[bgcolor="#45B7B1"] input[type="submit"]{background:#f18039!important;border-radius:999px!important;color:#fff!important;padding:9px 22px!important}.grstaff-app .gr-main input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.grstaff-app .gr-main textarea,.grstaff-app .gr-main select{border-radius:10px!important;border-color:#d6e0e7!important}.grstaff-app .gr-main tr:not(:first-child)>td{padding-top:5px;padding-bottom:5px}.grstaff-app .gr-main .panel,.grstaff-app .gr-main .well,.grstaff-app .gr-main .thumbnail{border-radius:16px!important;overflow:hidden}.grstaff-app .gr-main .btn,.grstaff-app .gr-main button{border-radius:10px!important}.gr-footer{background:#162e50}.grstaff-app .gr-main a{color:#176c9d}.grstaff-app .gr-main a:hover{color:#ed792e}
.gr-error{border:1px solid #f6ccb0;border-left:4px solid #e9823a;border-radius:14px;background:#fff8f3;padding:22px;color:#633a22}.gr-error strong{display:block;font-size:18px}.gr-error p{margin:8px 0}.gr-error a{display:inline-block;margin-top:8px}
.gr-login-error{padding:12px 15px;background:#fff3eb;border:1px solid #f5cbb2;border-radius:10px;color:#944b21;margin-bottom:14px}
/* Rounded shell, capsule navigation and direct content cards */
.gr-brand-image{display:block;width:min(330px,29vw);height:auto;object-fit:contain}.gr-login-brand{display:block;width:min(340px,100%);height:auto;background:#fff;border-radius:14px;padding:8px 12px}.gr-header{border-bottom:1px solid #e7edf1!important}.gr-nav{gap:4px}.gr-nav a{display:inline-flex;align-items:center;gap:8px;border-radius:999px!important;padding:10px 15px!important;transition:background .2s,transform .2s}.gr-nav a:hover,.gr-nav a:focus-visible{background:#e7f5ef!important;color:#0b6b55!important;transform:translateY(-1px)}.gr-nav .gr-logout{border:1px solid #e3e8ed;color:#a63f42!important;background:#fff}.gr-nav .gr-logout:hover{background:#fff0f0!important;color:#a63f42!important}.gr-nav .gr-logout svg,.gr-side-links svg,.gr-side-exit svg{width:19px;height:19px;flex:none}.grstaff-app:not(.gr-login-page) .gr-main{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important;overflow:visible!important}.grstaff-app:not(.gr-login-page) .gr-main .contentbox-container{min-width:0}.grstaff-app:not(.gr-login-page) .gr-main .contentbox-container>table{background:#fff;border-radius:20px!important;padding:16px;box-shadow:0 16px 40px #253a5010}.grstaff-app:not(.gr-login-page) .gr-sidebar{border-radius:22px!important}.gr-side-links a,.gr-side-exit{display:flex!important;align-items:center;gap:12px;border-radius:999px!important;padding:11px 14px!important}.gr-side-links a:hover,.gr-side-exit:hover{background:#e9f3ff!important;transform:translateX(2px)}.gr-side-links a svg{color:#4384a5}.gr-side-links a:nth-child(2n) svg{color:#169b70}.gr-side-exit{color:#a23e42!important;margin-top:14px}.gr-side-exit svg{color:#bf5c57}.gr-side-exit:hover{background:#fff0f0!important}.gr-user{border-radius:18px!important}.gr-main .contentbox-container table[style*="border:solid"],.gr-main .contentbox-container table[style*="border: solid"]{border-radius:18px!important}.gr-main .contentbox-container td[bgcolor="#45b7b1"],.gr-main .contentbox-container td[bgcolor="#45B7B1"]{border-radius:16px 16px 0 0!important}.gr-main .contentbox-container input,.gr-main .contentbox-container textarea,.gr-main .contentbox-container select{border-radius:12px!important}@media(max-width:900px){.gr-brand-image{width:min(270px,45vw)}.gr-nav{border-radius:0 0 16px 16px}.gr-nav a{width:100%}}@media(max-width:600px){.gr-brand-image{width:min(180px,42vw)}.gr-login-brand{width:min(250px,85vw)}.grstaff-app:not(.gr-login-page) .gr-main .contentbox-container>table{padding:8px}}
/* Polished language selector and responsive internal factors list */
.gr-lang-switch{border:1px solid #d9e3f3!important;background:#f4f7fd!important;border-radius:999px!important;padding:4px!important;gap:2px!important;box-shadow:inset 0 1px 2px #2340770a}.gr-lang-switch button{border-radius:999px!important;padding:7px 13px!important;color:#435b88!important}.gr-lang-switch button.is-active{background:#fff!important;color:#1a3567!important;box-shadow:0 3px 8px #283d6a1e!important}.gr-lang-switch button:before{width:19px;height:14px;border-radius:50%;box-shadow:0 0 0 2px #fff,0 1px 5px #29436640}.gr-issues-panel{background:#fff;border:1px solid #e8edf3;border-radius:22px;overflow:hidden;box-shadow:0 16px 40px #253a5010}.gr-issues-heading{display:flex;align-items:center;gap:15px;padding:22px 25px;background:linear-gradient(110deg,#127d60,#1da87a);color:#fff}.gr-issues-heading-icon{display:grid;place-items:center;flex:none;width:46px;height:46px;border-radius:14px;background:#ffffff2d;color:#fff}.gr-issues-heading-icon svg{width:26px;height:26px}.gr-issues-kicker{display:block;font-size:11px;letter-spacing:.12em;font-weight:700;opacity:.82}.gr-issues-heading h2{color:#fff;margin:2px 0 0;font-size:22px;line-height:1.35;font-weight:700}.gr-issues-heading h2 small{font-size:14px;font-weight:500;color:#e4f8ec}.gr-issues-count{margin-left:auto;background:#ffffff29;border-radius:999px;padding:5px 12px;white-space:nowrap;font-size:12px}.gr-issues-list{padding:8px 24px 18px}.gr-issues-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:18px;padding:17px 4px;border-bottom:1px solid #e9edf0}.gr-issues-row:last-child{border-bottom:0}.gr-issues-number{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#edf5fb;color:#245685;font-size:13px;font-weight:700}.gr-issues-copy{min-width:0}.gr-issues-copy strong,.gr-issues-copy span{display:block;overflow-wrap:anywhere}.gr-issues-copy strong{color:#1b3b38;font-size:15px;font-weight:600}.gr-issues-copy span{color:#72827c;font-size:13px}.gr-issues-select{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#eaf6f0;color:#0e7359!important;text-decoration:none!important;border:1px solid #cde9d9;border-radius:999px;padding:8px 15px;font-size:13px;font-weight:700;min-width:84px;transition:background .2s,transform .2s}.gr-issues-select svg{width:15px;height:15px}.gr-issues-select:hover,.gr-issues-select:focus-visible{background:#0d795e;color:#fff!important;transform:translateY(-1px)}.gr-issues-empty{padding:30px;margin:0;color:#71847a}@media(max-width:650px){.gr-issues-heading{padding:17px;gap:10px}.gr-issues-heading-icon{width:39px;height:39px}.gr-issues-heading h2{font-size:17px}.gr-issues-heading h2 small{display:block;font-size:11px}.gr-issues-count{font-size:10px;padding:4px 7px}.gr-issues-list{padding:5px 14px 12px}.gr-issues-row{grid-template-columns:35px minmax(0,1fr);gap:10px 12px;padding:14px 0}.gr-issues-number{width:34px;height:34px}.gr-issues-select{grid-column:2;justify-self:start;margin-top:2px}.gr-issues-copy strong{font-size:14px}.gr-issues-copy span{font-size:12px}.gr-lang-switch button{padding:5px 8px!important}}
/* User seal, action card and rounded record controls */
.gr-user .gr-avatar{background:#fff;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;box-shadow:0 3px 12px #17375d20}.gr-user .gr-avatar img{display:block;width:44px;height:44px;object-fit:contain}.gr-add-card{display:flex;align-items:center;gap:16px;padding:20px 22px;margin:0 0 22px;border:1px solid #dcebe3;border-radius:20px;background:linear-gradient(110deg,#fff,#f1f9f5);box-shadow:0 10px 28px #2546380b}.gr-add-card-icon{width:48px;height:48px;flex:none;border-radius:14px;background:#dbf2e6;color:#0d815e;display:grid;place-items:center}.gr-add-card-icon svg{width:25px;height:25px}.gr-add-card strong,.gr-add-card span{display:block}.gr-add-card strong{font-size:17px;color:#183b32}.gr-add-card span{font-size:13px;color:#72847b}.gr-add-card .gr-add-button{display:inline-flex;align-items:center;gap:9px;margin-left:auto;border-radius:999px!important;padding:11px 18px;background:#0e8062;color:#fff!important;text-decoration:none!important;font-size:14px;font-weight:700;white-space:nowrap;box-shadow:0 7px 17px #0e80622b}.gr-add-card .gr-add-button:hover{background:#09634f;color:#fff!important}.gr-add-button svg{width:16px;height:16px}.grstaff-app .gr-main a.gr-select-button{display:inline-flex;align-items:center;gap:8px;text-decoration:none!important;background:#eaf4fa;border:1px solid #c9dfed;color:#176483!important;border-radius:999px!important;padding:7px 13px;white-space:nowrap;font-size:13px;font-weight:700;transition:transform .2s,background .2s}.grstaff-app .gr-main a.gr-select-button:hover{background:#146b89;color:#fff!important;transform:translateY(-1px)}.grstaff-app .gr-main .gr-issues-select{border-radius:999px!important;background:#e9f5f0!important;border:1px solid #c6e4d4!important;box-shadow:0 3px 8px #143e2e10!important;padding:9px 16px!important}.grstaff-app .gr-main .gr-issues-select:hover{background:#0d795e!important;color:#fff!important}.gr-issues-panel--external .gr-issues-heading{background:linear-gradient(110deg,#18446f,#2679a1)}.gr-issues-panel--external .gr-issues-number{background:#eaf2fc;color:#225c91}.gr-issues-panel--external .gr-issues-select{background:#eaf2fb!important;border-color:#cbdff2!important;color:#215c91!important}.gr-issues-panel--external .gr-issues-select:hover{background:#195a89!important;color:#fff!important}@media(max-width:650px){.gr-add-card{flex-wrap:wrap;padding:16px;gap:10px}.gr-add-card .gr-add-button{margin:7px 0 0;width:100%;justify-content:center}.gr-add-card-icon{width:42px;height:42px}}
/* Consistent fully rounded cards in the four list views */
body.grstaff-app .gr-main .gr-add-card{border-radius:24px!important;overflow:hidden!important;isolation:isolate;box-shadow:0 14px 34px #2e476015!important}.gr-add-card-icon{border-radius:15px!important}.gr-add-card .gr-add-button{border-radius:999px!important}.grstaff-app .gr-main .gr-issues-panel{border-radius:24px!important;overflow:hidden!important;isolation:isolate;box-shadow:0 16px 38px #29415317!important}.grstaff-app .gr-main .gr-issues-heading{border-radius:23px 23px 0 0!important}.grstaff-app .gr-main .gr-issues-heading-icon{border-radius:16px!important}.grstaff-app .gr-main .gr-issues-count{border-radius:999px!important}.grstaff-app .gr-main .gr-issues-number{border-radius:13px!important}.grstaff-app .gr-main .gr-issues-row{border-radius:15px!important}.grstaff-app .gr-main .gr-issues-row:hover{background:#f8fafb}.grstaff-app .gr-main .gr-issues-select,.grstaff-app .gr-main .gr-select-button{border-radius:999px!important}.gr-back-to-top{position:fixed;right:26px;bottom:26px;z-index:90;width:60px;height:60px;display:grid;place-items:center;border:0;border-radius:50%;background:#fff;color:#174e82;box-shadow:0 10px 30px #17385a35;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(14px);transition:opacity .2s,transform .2s,visibility .2s}.gr-back-to-top.is-visible{opacity:1;visibility:visible;transform:translateY(0)}.gr-back-to-top:hover{transform:translateY(-3px);box-shadow:0 14px 32px #17385a40}.gr-progress{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}.gr-progress circle{fill:none;stroke-width:2.6}.gr-progress-track{stroke:#dce7ef}.gr-progress-value{stroke:#7257e5;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100;transition:stroke-dashoffset .15s linear}.gr-up-arrow{width:22px;height:22px;margin-top:-8px}.gr-scroll-percent{position:absolute;bottom:11px;font-size:9px;font-weight:700;line-height:1;color:#65759d}@media(max-width:600px){.gr-back-to-top{width:54px;height:54px;right:15px;bottom:18px}.gr-scroll-percent{bottom:9px}.grstaff-app .gr-main .gr-issues-panel{border-radius:18px!important}.grstaff-app .gr-main .gr-issues-heading{border-radius:17px 17px 0 0!important}.grstaff-app .gr-main .gr-add-card{border-radius:18px!important}}
/* Transparent user seal and progress ring */
.gr-user .gr-avatar{background:transparent!important;box-shadow:none!important;border:0!important}.gr-user .gr-avatar img{background:transparent!important;object-fit:contain}.gr-back-to-top{background:rgba(255,255,255,.10)!important;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:0 5px 22px #09283a26!important}.gr-back-to-top:hover{background:rgba(255,255,255,.26)!important}.gr-progress-track{stroke:#657d9e75}.gr-progress-value{stroke:#624de1}
/* Detail navigation and save controls */
.grstaff-app .gr-main a.gr-back-link{display:inline-flex;align-items:center;gap:8px;margin:5px 0 12px;padding:10px 17px;border:1px solid #d5e3eb;border-radius:999px;background:#fff;color:#245c82!important;font-size:14px;font-weight:700;text-decoration:none!important;box-shadow:0 6px 18px #1d3e5910}.grstaff-app .gr-main a.gr-back-link:hover{background:#eaf4fa;color:#164d71!important}.grstaff-app .gr-main a.gr-back-link span{font-size:17px;line-height:1}.grstaff-app .gr-main td[bgcolor="#45b7b1"][align="center"]{text-align:center!important}.grstaff-app .gr-main td[bgcolor="#45b7b1"] input[type="submit"],.grstaff-app .gr-main td[bgcolor="#45B7B1"] input[type="submit"]{width:auto!important;min-width:135px!important;height:42px!important;line-height:42px!important;text-align:center!important;vertical-align:middle!important;padding:0 18px!important;margin:6px auto!important;white-space:nowrap;box-sizing:border-box!important}
/* Published detail tables */
.grstaff-app .gr-main .gr-record-table{width:100%!important;border:0!important;border-collapse:separate!important;border-spacing:0!important;background:#fff;border-radius:15px!important;overflow:hidden}.grstaff-app .gr-main .gr-record-table td{padding:11px 12px!important;border-top:0!important;border-right:0!important;border-left:0!important;border-bottom:1px solid #e7edf1!important;line-height:1.5;vertical-align:middle}.grstaff-app .gr-main .gr-record-table tr.gr-record-head td{background:#eef4f9!important;color:#31536a!important;font-weight:700}.grstaff-app .gr-main .gr-record-table tr.gr-record-group td{background:#e8f4ee!important;color:#0b694f;font-weight:700}.grstaff-app .gr-main .gr-record-table tr.gr-record-item:hover td{background:#f7fafc!important}.grstaff-app .gr-main .gr-record-table tr.gr-record-item td:nth-child(2){text-align:left!important;min-width:0}.grstaff-app .gr-main .gr-record-table tr.gr-record-item td:nth-child(2) a{font-weight:600;text-decoration:none!important}.grstaff-app .gr-main .gr-record-table tr.gr-record-item td:nth-child(2) a:hover{text-decoration:underline!important}@media(max-width:760px){.grstaff-app .gr-main .gr-record-table,.grstaff-app .gr-main .gr-record-table tbody{display:block!important;width:100%!important}.grstaff-app .gr-main .gr-record-table tr.gr-record-head{display:none!important}.grstaff-app .gr-main .gr-record-table tr.gr-record-group{display:block!important;margin:12px 0 8px}.grstaff-app .gr-main .gr-record-table tr.gr-record-group td{display:block!important;width:100%!important;border-radius:11px!important}.grstaff-app .gr-main .gr-record-table tr.gr-record-item{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px;margin-bottom:11px;padding:13px;border:1px solid #e0eaf0;border-radius:14px;background:#fff;box-shadow:0 4px 14px #173a5010}.grstaff-app .gr-main .gr-record-table tr.gr-record-item td{display:block!important;width:auto!important;text-align:left!important;border:0!important;padding:2px!important;overflow-wrap:anywhere}.grstaff-app .gr-main .gr-record-table tr.gr-record-item td:before{content:attr(data-label);display:block;font-size:11px;color:#72828e;font-weight:600}.grstaff-app .gr-main .gr-record-table tr.gr-record-item td:nth-child(1){grid-column:1/-1;color:#587286}.grstaff-app .gr-main .gr-record-table tr.gr-record-item td:nth-child(2){grid-column:1/-1}.grstaff-app .gr-main .gr-record-table tr.gr-record-item td:nth-child(2) a{font-size:14px}.grstaff-app .gr-main .gr-record-table tr.gr-record-item td:nth-child(5){grid-column:1/-1}}

/* Profile, document preview, and narrow-screen details. */
.grstaff-app .gr-main .gr-profile-card{background:#fff;border:1px solid #e2eaf1;border-radius:22px;overflow:hidden;box-shadow:0 12px 30px #173a5010}.grstaff-app .gr-main .gr-profile-card h2{margin:0;padding:18px 24px;background:#1d4677;color:#fff;font-size:18px;font-weight:700}.gr-profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;padding:28px}.gr-profile-fields label{display:flex;flex-direction:column;gap:8px;min-width:0;font-weight:600;color:#30495e;line-height:1.5}.gr-profile-fields label.gr-profile-wide{grid-column:1/-1}.grstaff-app .gr-main .gr-profile-fields input{display:block;width:100%!important;max-width:100%!important;min-width:0;height:45px!important;margin:0;padding:9px 14px;border:1px solid #cfdae5;border-radius:12px;background:#fff;color:#23394a;box-sizing:border-box;font:inherit}.grstaff-app .gr-main .gr-profile-fields input:disabled{background:#f4f7fa;color:#526778;opacity:1}.gr-profile-actions{display:flex;justify-content:center;padding:18px 28px 25px;background:#f7fafc}.grstaff-app .gr-main .gr-profile-actions button{min-height:45px;padding:10px 28px;border:0;border-radius:999px;background:#11745b;color:#fff;font:inherit;font-weight:700;cursor:pointer}
.gr-back-to-top,.gr-back-to-top:hover,.gr-back-to-top:focus{background:transparent!important;box-shadow:none!important;border:0!important;outline-offset:3px}.gr-back-to-top .gr-up-arrow{color:#fff;stroke:#fff}.gr-back-to-top .gr-scroll-percent{color:#fff}.gr-back-to-top:before{content:"";position:absolute;inset:6px;border-radius:50%;background:#234b78;z-index:-1}.gr-progress-track{stroke:#ffffff90}
.grstaff-app .gr-main a.gr-back-link{border-radius:999px!important;padding:11px 19px!important;min-height:44px;box-sizing:border-box}
.grstaff-app .gr-main .gr-record-table tr.gr-record-item td,.grstaff-app .gr-main .gr-record-table tr.gr-record-item td *{max-width:100%;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal}.grstaff-app .gr-main .gr-record-table tr.gr-record-item td{box-sizing:border-box;min-width:0!important}.grstaff-app .gr-main .gr-record-table tr.gr-record-item td a{display:inline;line-height:1.6}
.grstaff-app .gr-main a.btn.btn-success.btn-xs,.grstaff-app .gr-main a[onclick*="popup("]:is(:not([class]),.btn){display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 20px!important;border-radius:999px!important;background:#18745e!important;color:#fff!important;font-size:14px!important;font-weight:700!important;text-decoration:none!important;box-shadow:0 5px 16px #18745e30}.grstaff-app .gr-main a.btn.btn-success.btn-xs:hover{background:#105b4b!important}
.gr-pdf-modal{position:fixed;inset:0;z-index:2000;display:none;align-items:center;justify-content:center;padding:22px;background:#0b2138b8;box-sizing:border-box}.gr-pdf-modal.is-open{display:flex}.gr-pdf-dialog{display:flex;flex-direction:column;width:min(1050px,100%);height:min(90vh,900px);background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 24px 70px #05142277}.gr-pdf-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 20px;background:#18466f;color:#fff}.gr-pdf-dialog header div{display:flex;align-items:center;gap:12px}.gr-pdf-dialog header a{color:#fff!important;text-decoration:underline!important;font-size:13px}.gr-pdf-dialog header button{width:38px;height:38px;border:0;border-radius:50%;background:#ffffff25;color:#fff;font-size:26px;line-height:1;cursor:pointer}.gr-pdf-dialog iframe{flex:1;width:100%;border:0;background:#f5f7fa}.gr-modal-open{overflow:hidden}
@media(max-width:760px){.gr-profile-fields{grid-template-columns:minmax(0,1fr);gap:18px;padding:20px}.gr-profile-fields label.gr-profile-wide{grid-column:auto}.grstaff-app .gr-main .gr-record-table tr.gr-record-item{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;min-width:0!important}.grstaff-app .gr-main .gr-record-table tr.gr-record-item td:nth-child(1),.grstaff-app .gr-main .gr-record-table tr.gr-record-item td:nth-child(2){grid-column:1/-1!important}.grstaff-app .gr-main .gr-record-table tr.gr-record-item td:nth-child(3),.grstaff-app .gr-main .gr-record-table tr.gr-record-item td:nth-child(4){grid-column:auto!important}.grstaff-app .gr-main .gr-record-table tr.gr-record-item td:nth-child(5){grid-column:1/-1!important}.grstaff-app .gr-main .gr-record-table tr.gr-record-item td small{display:block!important;line-height:1.5}.gr-pdf-modal{padding:8px}.gr-pdf-dialog{height:94vh;border-radius:14px}.gr-pdf-dialog header{padding:10px 12px}.gr-pdf-dialog header strong{font-size:13px}.gr-pdf-dialog header a{font-size:11px}}
@media(max-width:390px){.grstaff-app .gr-main .gr-record-table tr.gr-record-item td:nth-child(3),.grstaff-app .gr-main .gr-record-table tr.gr-record-item td:nth-child(4){grid-column:1/-1!important}}
.gr-pdf-dialog .gr-pdf-status{flex:1;display:grid;place-items:center;padding:24px;text-align:center;color:#38536b;background:#f5f7fa;line-height:1.6}.gr-pdf-dialog .gr-pdf-status[hidden],.gr-pdf-dialog iframe[hidden]{display:none!important}

/* Internal issue detail: readable fields without fixed-width nested tables. */
.grstaff-app .gr-main .gr-preview-page{width:100%;max-width:100%;min-width:0}.grstaff-app .gr-main .gr-preview-back{margin:0 0 18px!important}.grstaff-app .gr-main .gr-preview-bottom{margin:18px 0 4px!important}.gr-preview-card{min-width:0;border:1px solid #e1e9f0;border-radius:24px;background:#fff;overflow:hidden;box-shadow:0 14px 36px #193d5d13}.gr-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 28px;background:#1c4675;color:#fff}.gr-preview-overline{display:block;color:#bad8e9;font-size:11px;letter-spacing:.09em;font-weight:700}.gr-preview-heading h2{margin:4px 0 0;font-size:21px;color:#fff;line-height:1.4}.gr-preview-id{display:inline-flex;align-items:center;min-height:34px;padding:5px 13px;border-radius:999px;background:#ffffff23;color:#fff;font-weight:700;white-space:nowrap}.gr-preview-body{padding:26px 30px 30px}.gr-preview-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:25px}.gr-preview-meta>div{display:flex;flex-direction:column;gap:4px;min-width:0;padding:14px 18px;border-radius:15px;background:#f1f6fa}.gr-preview-meta span{font-size:12px;color:#647b8b}.gr-preview-meta strong{font-size:15px;color:#23445f;overflow-wrap:anywhere}.gr-preview-section{min-width:0;padding:4px 0 20px}.gr-preview-section+.gr-preview-section{border-top:1px solid #e5edf2;padding-top:24px}.gr-preview-section h3{margin:0 0 18px;color:#173f65;font-size:18px;line-height:1.5}.gr-preview-section h3 small{font-size:13px;font-weight:500;color:#738596}.gr-preview-field{display:grid;grid-template-columns:minmax(170px,24%) minmax(0,1fr);align-items:start;gap:12px 20px;min-width:0;margin:0 0 20px}.gr-preview-field>span:first-child{padding-top:12px;color:#36536a;font-weight:700;line-height:1.5}.gr-preview-field>span:first-child small{display:block;font-size:12px;color:#788b9b;font-weight:400}.gr-preview-value{min-width:0;max-width:100%;padding:12px 16px;border:1px solid #dae5ed;border-radius:13px;background:#fbfdff;color:#263e51;line-height:1.75;overflow-wrap:anywhere;word-break:normal}.gr-preview-title{font-weight:600}.gr-preview-stack .gr-preview-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px;min-width:0}.gr-preview-option{display:flex;align-items:flex-start;gap:10px;min-width:0;padding:10px 12px;border:1px solid #e3e9ef;border-radius:12px;background:#fafbfc;color:#546676;line-height:1.6;overflow-wrap:anywhere}.gr-preview-option.is-selected{background:#edf7f1;border-color:#d1e9dc;color:#174d3c}.gr-preview-option>span:last-child{min-width:0;overflow-wrap:anywhere}.gr-preview-option small{font-size:12px;color:inherit}.gr-preview-check{display:inline-grid;place-items:center;flex:0 0 18px;width:18px;height:18px;margin-top:3px;border:1px solid #bfccd4;border-radius:5px;background:#fff;color:#fff;font-size:13px;line-height:1}.gr-preview-option.is-selected .gr-preview-check{border-color:#147259;background:#147259}.gr-preview-prose{min-height:70px;white-space:normal}.gr-preview-file{display:flex;align-items:center;flex-wrap:wrap;gap:12px;min-height:68px}.gr-preview-file-button{min-width:118px!important}.gr-preview-filename{min-width:0;overflow-wrap:anywhere;color:#617487;font-size:13px}
@media(max-width:920px){.gr-preview-stack .gr-preview-options{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){.gr-preview-card{border-radius:18px}.gr-preview-heading{align-items:flex-start;padding:18px 20px}.gr-preview-heading h2{font-size:18px}.gr-preview-id{font-size:12px}.gr-preview-body{padding:18px}.gr-preview-meta{gap:10px;margin-bottom:19px}.gr-preview-meta>div{padding:11px 12px}.gr-preview-field{grid-template-columns:minmax(0,1fr);gap:7px;margin-bottom:20px}.gr-preview-field>span:first-child{padding:0}.gr-preview-field>span:first-child small{display:inline}.gr-preview-stack .gr-preview-options{grid-template-columns:minmax(0,1fr)}.gr-preview-option{padding:10px}.gr-preview-value{padding:11px 13px}}
@media(max-width:390px){.gr-preview-meta{grid-template-columns:minmax(0,1fr)}.gr-preview-heading{flex-wrap:wrap}.gr-preview-id{max-width:100%;overflow-wrap:anywhere}}

/* Softer corners throughout the internal preview. */
.grstaff-app .gr-main .gr-preview-card{border-radius:28px!important;overflow:hidden!important;isolation:isolate}.grstaff-app .gr-main .gr-preview-heading{border-radius:27px 27px 0 0!important}.grstaff-app .gr-main .gr-preview-meta>div{border-radius:18px!important}.grstaff-app .gr-main .gr-preview-section{border-radius:20px}.grstaff-app .gr-main .gr-preview-value{border-radius:17px!important}.grstaff-app .gr-main .gr-preview-option{border-radius:16px!important}.grstaff-app .gr-main .gr-preview-option.is-selected{border-radius:18px!important}.grstaff-app .gr-main .gr-preview-file-button,.grstaff-app .gr-main .gr-preview-back{border-radius:999px!important}.grstaff-app .gr-main .gr-preview-check{border-radius:6px!important}.gr-pdf-dialog{border-radius:24px!important}.gr-pdf-dialog header{border-radius:23px 23px 0 0!important}.gr-pdf-dialog header button{border-radius:50%!important}
@media(max-width:700px){.grstaff-app .gr-main .gr-preview-card{border-radius:21px!important}.grstaff-app .gr-main .gr-preview-heading{border-radius:20px 20px 0 0!important}.grstaff-app .gr-main .gr-preview-meta>div{border-radius:15px!important}.grstaff-app .gr-main .gr-preview-value,.grstaff-app .gr-main .gr-preview-option{border-radius:14px!important}.gr-pdf-dialog{border-radius:17px!important}.gr-pdf-dialog header{border-radius:16px 16px 0 0!important}}

/* Reader report action and embedded report dialog. */
.grstaff-app .gr-main a.gr-reader-trigger{display:inline-flex!important;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:auto;min-width:104px;min-height:48px;padding:7px 11px!important;border:1px solid #c9dfe8;border-radius:14px!important;background:#e8f4f1!important;color:#176851!important;font-weight:700!important;font-size:12px!important;line-height:1.25!important;text-align:center!important;text-decoration:none!important;white-space:normal!important;box-shadow:0 4px 12px #163b5810;transition:background .15s,transform .15s}.grstaff-app .gr-main a.gr-reader-trigger:hover,.grstaff-app .gr-main a.gr-reader-trigger:focus-visible{background:#d8efe5!important;transform:translateY(-2px)}.gr-reader-trigger svg{width:19px;height:19px;flex:none}.grstaff-app .gr-main .gr-record-table tr.gr-record-head td:last-child{min-width:122px}.gr-reader-modal{position:fixed;inset:0;z-index:2100;display:none;align-items:center;justify-content:center;padding:20px;background:#0d2540b7;box-sizing:border-box}.gr-reader-modal.is-open{display:flex}.gr-reader-dialog{display:flex;flex-direction:column;width:min(1120px,100%);height:min(92vh,940px);overflow:hidden;border-radius:23px;background:#fff;box-shadow:0 24px 70px #071a3266}.gr-reader-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 20px;background:#1c4675;color:#fff}.gr-reader-dialog header>div{display:flex;align-items:center;gap:13px}.gr-reader-dialog header a{color:#fff!important;font-size:13px;text-decoration:underline!important}.gr-reader-dialog header button{width:38px;height:38px;flex:none;border:0;border-radius:50%;background:#ffffff25;color:#fff;font-size:26px;line-height:1;cursor:pointer}.gr-reader-dialog iframe{flex:1;width:100%;border:0;background:#f4f7fb}
@media(max-width:760px){.grstaff-app .gr-main .gr-record-table tr.gr-record-head td:last-child{min-width:0}.gr-reader-modal{padding:8px}.gr-reader-dialog{height:95vh;border-radius:16px}.gr-reader-dialog header{padding:10px 13px}.gr-reader-dialog header strong{font-size:14px}.gr-reader-dialog header a{font-size:11px}.grstaff-app .gr-main a.gr-reader-trigger{flex-direction:row;min-width:0;min-height:42px;padding:8px 13px!important;border-radius:999px!important}}

/* External issue entry: responsive form with original field names. */
.grstaff-app .gr-main .gr-external-form{width:100%;min-width:0}.grstaff-app .gr-main .gr-external-card{min-width:0;overflow:hidden;border:1px solid #dfe9ef;border-radius:26px;background:#fff;box-shadow:0 15px 34px #203c5512}.gr-external-heading{padding:20px 27px;background:#1c4675}.gr-external-heading h2{margin:0;color:#fff;font-size:20px;line-height:1.5}.gr-external-heading small{color:#d9eaf4;font-size:14px;font-weight:500}.gr-external-body{padding:28px 30px 14px}.gr-external-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:32px}.gr-external-meta>div{display:flex;flex-direction:column;min-width:0;gap:6px;padding:15px 17px;border:1px solid #e4edf2;border-radius:17px;background:#f5f9fc}.gr-external-meta span{color:#667e90;font-size:12px}.gr-external-meta strong{color:#264961;font-size:15px;font-weight:700;overflow-wrap:anywhere}.gr-external-field{display:grid;grid-template-columns:minmax(165px,20%) minmax(0,1fr);gap:18px;align-items:start;margin:0 0 27px;min-width:0}.gr-external-label{padding-top:11px;color:#314d62;font-weight:700;line-height:1.5}.gr-external-label small{display:block;color:#8294a1;font-size:12px;font-weight:400}.gr-external-source-list,.gr-external-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}.gr-external-source-list a{display:flex;align-items:center;min-width:0;min-height:46px;padding:10px 14px;border:1px solid #e1eaf0;border-radius:13px;background:#f8fafc;color:#205b7c!important;text-decoration:none!important;line-height:1.55;overflow-wrap:anywhere;transition:background .15s,border-color .15s}.gr-external-source-list a:hover{background:#eef7f4;border-color:#b5ddcd}.grstaff-app .gr-main .gr-external-field>input[type=text],.grstaff-app .gr-main .gr-external-field>textarea,.grstaff-app .gr-main .gr-external-field>input[type=file]{display:block;width:100%!important;max-width:100%!important;min-width:0;box-sizing:border-box;border:1px solid #d4e0e9;border-radius:13px;background:#fff;color:#263f50;font:inherit}.grstaff-app .gr-main .gr-external-field>input[type=text]{height:46px!important;padding:9px 14px}.grstaff-app .gr-main .gr-external-field>textarea{min-height:130px;padding:13px 15px;line-height:1.7;resize:vertical}.grstaff-app .gr-main .gr-external-field>input[type=file]{min-height:48px;padding:8px 10px}.gr-external-field input[type=file]::file-selector-button{border:0;border-radius:9px;background:#e7f3ee;color:#17624d;font:inherit;font-weight:700;padding:7px 12px;margin-right:12px;cursor:pointer}.gr-external-option{display:flex;align-items:flex-start;gap:10px;min-width:0;padding:11px 13px;border:1px solid #e0e9ee;border-radius:14px;background:#fafcfd;line-height:1.6;color:#344f61;cursor:pointer;overflow-wrap:anywhere}.gr-external-option:has(input:checked){background:#edf7f2;border-color:#afd8c6}.gr-external-option input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;margin:3px 0 0;accent-color:#137255;cursor:pointer}.gr-external-option>span{min-width:0;overflow-wrap:anywhere}.gr-external-option small{font-size:12px;color:#687d8c}.gr-external-all{grid-column:1/-1;font-weight:700;background:#f1f7fa}.gr-external-divider{margin:8px 0 26px;padding:20px 0 0;border-top:1px solid #e4ebf0}.gr-external-divider h3{margin:0;color:#194b71;font-size:18px}.gr-external-divider small{font-size:13px;color:#7d90a0;font-weight:500}.gr-external-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:11px;padding:21px;background:#f5f9fb}.grstaff-app .gr-main .gr-external-actions button{display:inline-flex;align-items:center;justify-content:center;min-width:145px;min-height:46px;border:0;border-radius:999px;font:inherit;font-weight:700;cursor:pointer}.grstaff-app .gr-main .gr-external-actions button[type=submit]{background:#147458;color:#fff;box-shadow:0 7px 18px #1669512b}.grstaff-app .gr-main .gr-external-actions button[type=reset]{background:#fff;color:#465e72;border:1px solid #d4e1e9}
@media(max-width:900px){.gr-external-field{grid-template-columns:minmax(135px,25%) minmax(0,1fr)}.gr-external-source-list,.gr-external-options{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){.grstaff-app .gr-main .gr-external-card{border-radius:19px}.gr-external-heading{padding:17px 19px}.gr-external-heading h2{font-size:17px}.gr-external-body{padding:19px 17px 2px}.gr-external-meta{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px;margin-bottom:24px}.gr-external-meta>div{padding:11px 12px;border-radius:13px}.gr-external-meta>div:last-child{grid-column:1/-1}.gr-external-field{grid-template-columns:minmax(0,1fr);gap:8px;margin-bottom:23px}.gr-external-label{padding:0}.gr-external-label small{display:inline}.gr-external-source-list,.gr-external-options{grid-template-columns:minmax(0,1fr);gap:8px}.gr-external-source-list a{min-height:42px;padding:9px 12px}.gr-external-actions{padding:16px}.grstaff-app .gr-main .gr-external-actions button{flex:1 1 135px;min-width:0}}

/* Consistent soft corners on external issue entry form. */
.grstaff-app .gr-main .gr-external-card{border-radius:30px!important;overflow:hidden!important;isolation:isolate}.grstaff-app .gr-main .gr-external-heading{border-radius:29px 29px 0 0!important}.grstaff-app .gr-main .gr-external-meta>div{border-radius:20px!important}.grstaff-app .gr-main .gr-external-source-list a{border-radius:17px!important}.grstaff-app .gr-main .gr-external-option{border-radius:18px!important}.grstaff-app .gr-main .gr-external-field>input[type=text],.grstaff-app .gr-main .gr-external-field>input[type=file],.grstaff-app .gr-main .gr-external-field>textarea{border-radius:17px!important}.grstaff-app .gr-main .gr-external-field input[type=file]::file-selector-button{border-radius:12px!important}.grstaff-app .gr-main .gr-external-actions button{border-radius:999px!important}
@media(max-width:700px){.grstaff-app .gr-main .gr-external-card{border-radius:22px!important}.grstaff-app .gr-main .gr-external-heading{border-radius:21px 21px 0 0!important}.grstaff-app .gr-main .gr-external-meta>div{border-radius:16px!important}.grstaff-app .gr-main .gr-external-source-list a,.grstaff-app .gr-main .gr-external-option,.grstaff-app .gr-main .gr-external-field>input[type=text],.grstaff-app .gr-main .gr-external-field>input[type=file],.grstaff-app .gr-main .gr-external-field>textarea{border-radius:15px!important}}

/* Rounded personnel information page. */
.grstaff-app .gr-main .gr-profile-card{border-radius:30px!important;overflow:hidden!important;isolation:isolate}.grstaff-app .gr-main .gr-profile-card h2{border-radius:29px 29px 0 0!important}.grstaff-app .gr-main .gr-profile-fields input{border-radius:17px!important}.grstaff-app .gr-main .gr-profile-fields input:focus{outline:2px solid #8abeb1;outline-offset:2px}.grstaff-app .gr-main .gr-profile-actions{border-radius:0 0 29px 29px!important}.grstaff-app .gr-main .gr-profile-actions button{border-radius:999px!important;min-height:46px!important;padding:10px 28px!important}.grstaff-app .gr-main .gr-profile-actions button:hover{background:#0f634e!important}
@media(max-width:700px){.grstaff-app .gr-main .gr-profile-card{border-radius:22px!important}.grstaff-app .gr-main .gr-profile-card h2{border-radius:21px 21px 0 0!important}.grstaff-app .gr-main .gr-profile-fields input{border-radius:15px!important}.grstaff-app .gr-main .gr-profile-actions{border-radius:0 0 21px 21px!important}.grstaff-app .gr-main .gr-profile-actions button{width:100%!important;max-width:320px}}

/* External issue preview: source cards and balanced columns. */
.grstaff-app .gr-main .gr-external-preview-page .gr-preview-heading{background:#204c75}.gr-external-preview-page .gr-external-source-list{min-width:0}.grstaff-app .gr-main .gr-external-preview-page .gr-external-source-list a{border-radius:16px!important;min-width:0;overflow-wrap:anywhere}.gr-external-preview-page .gr-preview-option{min-width:0;overflow-wrap:anywhere}.gr-external-preview-page .gr-preview-prose{overflow-wrap:anywhere;white-space:normal}
@media(max-width:900px){.gr-external-preview-page .gr-external-source-list{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){.gr-external-preview-page .gr-preview-field{grid-template-columns:minmax(0,1fr)}.gr-external-preview-page .gr-external-source-list{grid-template-columns:minmax(0,1fr)}.grstaff-app .gr-main .gr-external-preview-page .gr-external-source-list a{border-radius:14px!important}}

/* Image attachments in the existing preview dialog. */
.gr-pdf-dialog .gr-image-stage{display:grid;place-items:center;flex:1;min-height:0;overflow:auto;padding:22px;background:#f0f4f7}.gr-pdf-dialog .gr-image-stage[hidden]{display:none!important}.gr-pdf-dialog .gr-image-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:10px;box-shadow:0 8px 28px #182f4422}
@media(max-width:700px){.gr-pdf-dialog .gr-image-stage{padding:10px}.gr-pdf-dialog .gr-image-stage img{border-radius:6px}}

/* Keep translated labels readable at narrow widths. */
html[lang=en] .grstaff-app .gr-main,html[lang=en] .grstaff-app .gr-sidebar{overflow-wrap:anywhere}html[lang=en] .grstaff-app .gr-main :is(.gr-add-card,.gr-issues-row,.gr-preview-option,.gr-external-option,.gr-record-table td,.gr-profile-fields label){min-width:0;white-space:normal}html[lang=en] .grstaff-app .gr-main :is(.gr-select-button,.gr-add-button,.gr-reader-trigger){white-space:normal!important;text-align:center}

/* Internal issue entry follows the same responsive form system. */
.grstaff-app .gr-main .gr-internal-form .gr-external-card{border-radius:30px!important}.grstaff-app .gr-main .gr-internal-form .gr-external-heading{border-radius:29px 29px 0 0!important}.grstaff-app .gr-main .gr-internal-form .gr-external-option{min-width:0;overflow-wrap:anywhere;word-break:normal}.grstaff-app .gr-main .gr-internal-form .gr-external-option small[hidden]{display:none!important}
@media(max-width:700px){.grstaff-app .gr-main .gr-internal-form .gr-external-card{border-radius:22px!important}.grstaff-app .gr-main .gr-internal-form .gr-external-heading{border-radius:21px 21px 0 0!important}.grstaff-app .gr-main .gr-internal-form .gr-external-options{grid-template-columns:minmax(0,1fr)!important}}

/* Gold reader-count action. */
.grstaff-app .gr-main a.gr-reader-trigger{background:#fff3cc!important;border-color:#e8c864!important;color:#765315!important;box-shadow:0 5px 15px #af832328!important}.grstaff-app .gr-main a.gr-reader-trigger:hover,.grstaff-app .gr-main a.gr-reader-trigger:focus-visible{background:#ffe8a0!important;border-color:#d2a744!important;color:#60400a!important;box-shadow:0 7px 18px #aa792e38!important}.grstaff-app .gr-main a.gr-reader-trigger svg{stroke:#967022!important}
.grstaff-app .gr-main a.gr-reader-trigger svg{display:block;width:21px;height:21px;flex:0 0 21px;fill:none!important;stroke:#8c6518!important;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
/* Routed legacy pages: keep their PHP forms and submission flow intact. */
.grstaff-app .gr-main .gr-legacy-page{min-width:0;max-width:100%;font-family:'Noto Sans Thai',Tahoma,sans-serif;line-height:1.65;color:#294153}
.grstaff-app .gr-main .gr-legacy-page>p:first-of-type a{display:inline-flex;align-items:center;justify-content:center;min-height:45px;padding:10px 20px;border-radius:999px;background:#fff6dd;border:1px solid #e6d095;color:#72561c;font-weight:700;text-decoration:none;box-shadow:0 6px 18px #8b701b17}
.grstaff-app .gr-main .gr-legacy-page table{max-width:100%;height:auto;border-color:#e1e8ed!important}
.grstaff-app .gr-main .gr-legacy-page table[style*="border:solid"]{border:1px solid #dce6ed!important;border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 8px 25px #304d6110}
.grstaff-app .gr-main .gr-legacy-page :is(td,th){vertical-align:middle;overflow-wrap:anywhere;word-break:normal;line-height:1.6}
.grstaff-app .gr-main .gr-legacy-page td[bgcolor="#45b7b1"],.grstaff-app .gr-main .gr-legacy-page td[bgcolor="#45B7B1"]{background:#275472!important;color:white!important;padding:14px 18px!important;font-size:17px;font-weight:700}
.grstaff-app .gr-main .gr-legacy-page td[bgcolor="#eff9f8"],.grstaff-app .gr-main .gr-legacy-page tr[bgcolor="#eff9f8"] td{background:#eff5f8!important;color:#294b60}
.grstaff-app .gr-main .gr-legacy-page .gr-legacy-table-scroll{width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;margin:10px 0 18px;border:1px solid #e0e8ef;border-radius:17px;background:#fff;scrollbar-color:#b2c8d2 transparent}
.grstaff-app .gr-main .gr-legacy-page .gr-legacy-table-scroll>table{margin:0;border:0!important;width:100%;min-width:560px}
.grstaff-app .gr-main .gr-legacy-page :is(input:not([type=radio]):not([type=checkbox]):not([type=hidden]):not([type=submit]),select,textarea){border-radius:14px!important;max-width:100%;font:inherit}
.grstaff-app .gr-main .gr-legacy-page textarea{min-height:110px;resize:vertical}
.grstaff-app .gr-main .gr-legacy-page :is(input[type=submit],input[type=button],button,.btn-u){border-radius:999px!important;min-height:43px;padding:9px 19px;line-height:1.45;text-align:center;font:inherit;font-weight:700}
.grstaff-app .gr-main .gr-legacy-page :is(a,button,input,select,textarea):focus-visible,.grstaff-app .gr-main .gr-legacy-table-scroll:focus-visible{outline:3px solid #e4b958;outline-offset:2px}
@media(max-width:700px){.grstaff-app .gr-main .gr-legacy-page{font-size:14px}.grstaff-app .gr-main .gr-legacy-page :is(table,form,td,th){max-width:100%}.grstaff-app .gr-main .gr-legacy-page .gr-legacy-table-scroll{border-radius:13px}.grstaff-app .gr-main .gr-legacy-page .gr-legacy-table-scroll>table{min-width:520px}.grstaff-app .gr-main .gr-legacy-page td[bgcolor="#45b7b1"]{font-size:15px;padding:12px!important}.grstaff-app .gr-main .gr-legacy-page :is(input:not([type=radio]):not([type=checkbox]):not([type=hidden]),select,textarea){width:100%;min-width:0!important}.grstaff-app .gr-main .gr-legacy-page>p:first-of-type a{width:100%}}
/* Login wordmark and unified username field */
.gr-login-page .gr-story-brand{display:inline-flex;align-items:center;gap:17px;max-width:100%;color:#fff;background:none;border:0;padding:0;box-shadow:none}
.gr-story-wordmark{font:900 clamp(26px,3.5vw,42px)/1 'Noto Sans Thai',Tahoma,sans-serif;letter-spacing:-.06em;color:#fff}
.gr-story-brand-copy{border-left:1px solid #ffffff77;padding-left:17px;color:#fff;font:700 14px/1.45 'Noto Sans Thai',Tahoma,sans-serif}
.gr-story-brand-copy small{font-weight:500;font-size:12px;color:#e0f6ed}
.gr-login-page .gr-form-content .gr-email{height:55px;border:1px solid #d5e4db;border-radius:12px;background:#f6faf8;overflow:hidden;transition:border-color .2s,box-shadow .2s}
.gr-login-page .gr-form-content .gr-email:focus-within{border-color:#158866;box-shadow:0 0 0 3px #9bdfbb}
.gr-login-page .gr-form-content .gr-email .gr-field-icon{height:100%;width:45px;border:0;background:transparent;padding:0;align-self:center}
.gr-login-page .gr-form-content .gr-email input{height:100%;width:100%;flex:1 1 0;border:0!important;border-radius:0!important;background:transparent;padding:0 6px 0 0!important;box-shadow:none;outline:none!important;min-width:0}
.gr-login-page .gr-form-content .gr-email>span:last-child{height:100%;border:0;border-left:1px solid #d5e4db;border-radius:0;background:#eaf5ed;white-space:nowrap;padding:0 13px;flex:none}
@media(max-width:600px){.gr-story-brand-copy{font-size:11px;padding-left:11px}.gr-story-brand-copy small{font-size:10px}.gr-login-page .gr-form-content .gr-email>span:last-child{font-size:11px;padding:0 8px}}
/* Logout satisfaction questionnaire */
.gr-survey-page{background:linear-gradient(145deg,#eef6f3,#f5f8fc)!important;min-height:100vh}
.gr-survey-shell{width:min(1120px,calc(100% - 32px));margin:0 auto;padding:46px 0 72px}
.gr-survey-header{margin-bottom:24px}.gr-survey-kicker{font-size:12px;font-weight:800;letter-spacing:.13em;color:#147b61}.gr-survey-header h1{color:#194b40;font-size:clamp(26px,3vw,38px);margin:9px 0 2px}.gr-survey-header p{color:#678074;margin:0}
.gr-survey-card{background:#fff;border:1px solid #deebe4;border-radius:26px;box-shadow:0 18px 50px #143f3314;overflow:hidden}
.gr-survey-card .panel{border:0;box-shadow:none;margin:0}.gr-survey-card .panel-heading{padding:20px 26px;background:linear-gradient(100deg,#086f5c,#218a78);color:#fff}.gr-survey-card .panel-title{margin:0;color:#fff;font-size:19px}.gr-survey-card .panel-body{padding:24px}
.gr-survey-card table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;border:1px solid #dce8e4;border-radius:17px;overflow:hidden;font:inherit}
.gr-survey-card td{border:0;border-bottom:1px solid #e1ebe7;padding:13px 9px;overflow-wrap:anywhere;vertical-align:middle;height:auto!important;font:inherit}
.gr-survey-card td[bgcolor="#3083C3"]{background:#315e78!important;color:#fff;padding:11px 7px;text-align:center}
.gr-survey-card td[bgcolor="#FFFFFF"]{background:#fff!important}.gr-survey-card tr:nth-child(even) td[bgcolor="#FFFFFF"]{background:#f8fbfa!important}
.gr-survey-card td:nth-child(n+3){text-align:center}.gr-survey-card input[type=radio]{width:20px!important;height:20px!important;margin:0;accent-color:#118269;cursor:pointer}
.gr-survey-card textarea{display:block;width:min(100%,720px);min-height:125px;margin:0 12px 14px;padding:12px 14px;border:1px solid #cadfd4;border-radius:15px;resize:vertical;font:inherit}
.gr-survey-card td[colspan="8"]:has(textarea){padding:18px 20px!important;color:#284d42;font-weight:600}.gr-survey-card td[colspan="8"]:has(textarea) textarea{font-weight:400}
.gr-survey-card td:has(>input[type=submit]){padding:18px!important;background:#edf7f1!important;text-align:center}.gr-survey-card input[type=submit]{height:auto!important;min-width:170px;padding:12px 28px;border:0;border-radius:999px;background:#0b8064;color:white;font:700 15px 'Noto Sans Thai',Tahoma,sans-serif;cursor:pointer;box-shadow:0 8px 18px #0d745630}
.gr-survey-card input[type=submit]:hover{background:#086e56}.gr-survey-card :is(input,textarea):focus-visible{outline:3px solid #e4bc6b;outline-offset:2px}
@media(max-width:700px){.gr-survey-shell{width:min(100% - 24px,520px);padding:23px 0 50px}.gr-survey-card{border-radius:21px}.gr-survey-card .panel-heading{padding:16px 18px}.gr-survey-card .panel-body{padding:15px}.gr-survey-card table,.gr-survey-card tbody{display:block;width:100%;border:0}.gr-survey-card table tr{display:block}.gr-survey-card table tr:nth-child(-n+3){display:none}.gr-survey-card table tr:has(input[type=radio]){display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin:0 0 14px;padding:15px 11px 12px;border:1px solid #dfebe5;border-radius:17px;background:#fff;box-shadow:0 5px 14px #1b483b0a}.gr-survey-card table tr:has(input[type=radio]) td{border:0;height:auto!important;padding:5px 1px;text-align:center}.gr-survey-card table tr:has(input[type=radio]) td:first-child{display:none}.gr-survey-card table tr:has(input[type=radio]) td:nth-child(2){grid-column:1/-1;text-align:left;font-weight:700;color:#21483e}.gr-survey-card table tr:has(input[type=radio]) td:nth-child(n+3)::before{display:block;font-size:10px;color:#617a70;line-height:1.4;white-space:normal}.gr-survey-card table tr:has(input[type=radio]) td:nth-child(3)::before{content:'มากที่สุด'}.gr-survey-card table tr:has(input[type=radio]) td:nth-child(4)::before{content:'มาก'}.gr-survey-card table tr:has(input[type=radio]) td:nth-child(5)::before{content:'ปานกลาง'}.gr-survey-card table tr:has(input[type=radio]) td:nth-child(6)::before{content:'น้อย'}.gr-survey-card table tr:has(input[type=radio]) td:nth-child(7)::before{content:'น้อยที่สุด'}.gr-survey-card table tr:has(input[type=radio]) td:nth-child(n+3){display:flex;flex-direction:column;align-items:center;gap:8px}.gr-survey-card td[colspan="8"]:has(textarea){display:block;padding:16px 12px!important;border:1px solid #e0ebe5;border-radius:16px;margin:0 0 14px}.gr-survey-card textarea{width:100%;margin:0}.gr-survey-card td:has(>input[type=submit]){display:block;border-radius:16px}.gr-survey-card input[type=submit]{width:100%}}
/* Survey v2: semantic question cards, independent of the old table columns. */
.gr-survey-page .gr-survey-shell{width:min(1180px,calc(100% - 48px));padding:48px 0 76px}
.gr-survey-page .gr-survey-card .panel-body{padding:28px 32px 32px}
.gr-survey-intro{margin:0 0 22px}.gr-survey-intro h2{margin:0 0 5px;color:#214a3d;font-size:19px}.gr-survey-intro p{margin:0;color:#728379;font-size:14px}
.gr-survey-page .gr-survey-question{min-width:0;margin:0 0 14px;padding:18px 20px 20px;border:1px solid #dcebe2;border-radius:19px;background:#fff;box-shadow:0 5px 17px #204d3b0b}
.gr-survey-page .gr-survey-question legend{display:flex;align-items:center;gap:12px;float:none;width:100%;padding:0;margin:0 0 15px;font-size:16px;font-weight:700;line-height:1.6;color:#234a3e;white-space:normal}
.gr-survey-number{flex:none;display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:#e5f5ed;color:#0b7559;font-size:13px}
.gr-survey-choices{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;min-width:0}
.gr-survey-page .gr-survey-choice{display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:55px;padding:9px 10px;margin:0;border:1px solid #dce7e1;border-radius:13px;background:#fafcfb;color:#446155;font:600 13px/1.4 'Noto Sans Thai',Tahoma,sans-serif;cursor:pointer;text-align:center;transition:background .15s,border-color .15s}
.gr-survey-page .gr-survey-choice:hover,.gr-survey-page .gr-survey-choice:has(input:checked){background:#e9f7ef;border-color:#4ca885;color:#115c46}
.gr-survey-page .gr-survey-choice input[type=radio]{flex:none;width:18px!important;height:18px!important;accent-color:#107b60;margin:0}
.gr-survey-choice-label{min-width:0;white-space:normal;overflow-wrap:normal;word-break:normal}.gr-survey-choice-score{flex:none;color:#688677;font-size:11px}
.gr-survey-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px;margin:25px 0 0;padding:23px;border-radius:19px;background:#f5faf7}
.gr-survey-notes label{display:block;grid-row:1;margin:0;color:#2b5345;font-weight:700;font-size:14px}
.gr-survey-notes label[for=survey-comment]{grid-column:1}.gr-survey-notes label[for=survey-concern]{grid-column:2}
.gr-survey-page .gr-survey-notes textarea{width:100%;min-width:0;min-height:150px;margin:0;padding:13px 15px;border-radius:13px;line-height:1.6;font-weight:400}
.gr-survey-page .gr-survey-notes textarea#survey-comment{grid-column:1;grid-row:2}.gr-survey-page .gr-survey-notes textarea#survey-concern{grid-column:2;grid-row:2}
.gr-survey-actions{display:flex;justify-content:center;padding:24px 0 0}.gr-survey-page .gr-survey-actions input[type=submit]{min-width:195px;min-height:48px}.gr-survey-empty{padding:20px;color:#89622a;background:#fff9e8;border-radius:13px}
@media(max-width:800px){.gr-survey-page .gr-survey-shell{width:min(100% - 28px,650px);padding:26px 0 52px}.gr-survey-page .gr-survey-card .panel-body{padding:18px}.gr-survey-choices{gap:7px}.gr-survey-page .gr-survey-choice{flex-direction:column;gap:4px;min-height:84px;padding:9px 3px;font-size:11px}.gr-survey-choice-label{order:-1}.gr-survey-notes{grid-template-columns:minmax(0,1fr);padding:17px;gap:8px}.gr-survey-notes label[for=survey-comment],.gr-survey-notes label[for=survey-concern],.gr-survey-page .gr-survey-notes textarea#survey-comment,.gr-survey-page .gr-survey-notes textarea#survey-concern{grid-column:1;grid-row:auto}.gr-survey-notes label[for=survey-concern]{margin-top:10px}}
@media(max-width:440px){.gr-survey-page .gr-survey-shell{width:calc(100% - 20px)}.gr-survey-page .gr-survey-card .panel-body{padding:13px}.gr-survey-page .gr-survey-question{padding:15px 11px;border-radius:16px}.gr-survey-page .gr-survey-question legend{font-size:14px}.gr-survey-choices{gap:4px}.gr-survey-page .gr-survey-choice{font-size:10px;min-height:92px;padding:8px 2px}.gr-survey-choice-score{font-size:10px}.gr-survey-page .gr-survey-notes textarea{min-height:118px}.gr-survey-page .gr-survey-actions input[type=submit]{width:100%}}
