body.module-v3-route{margin:0;min-height:100vh;background:#f4f8fd}.module-shell{width:min(1180px,calc(100% - 28px));margin:auto;padding:24px 0 48px}.module-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}.module-heading small{color:#2477d4;font-weight:700;letter-spacing:.08em}.module-heading h1{margin:4px 0;color:#172033;font-size:clamp(1.7rem,3vw,2.25rem);line-height:1.3}.module-heading p{max-width:720px;margin:0;color:#667085}.module-heading-actions{display:flex;gap:8px}.primary,.soft{min-height:42px;padding:9px 14px;border-radius:12px;font:inherit;font-weight:650;cursor:pointer}.primary{border:1px solid #2477d4;background:#2477d4;color:#fff}.soft{border:1px solid #dbe5ef;background:#fff;color:#425169}.module-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,260px);gap:10px;padding:13px;border:1px solid #dbe5ef;border-radius:18px;background:#fff}.module-toolbar label span{display:block;margin-bottom:5px;color:#667085;font-size:.75rem}.module-toolbar input,.module-toolbar select{width:100%;min-height:44px;padding:9px 12px;border:1px solid #cbd8e5;border-radius:12px;background:#fff;font:inherit}.module-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.module-stat{padding:15px;border:1px solid #dbe5ef;border-left:4px solid #2477d4;border-radius:14px;background:#fff}.module-stat small{display:block;color:#667085}.module-stat b{display:block;margin-top:4px;color:#172033;font-size:1.45rem}.module-content{display:grid;gap:10px}.module-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;width:100%;padding:14px 16px;border:1px solid #dbe5ef;border-radius:16px;background:#fff;color:#172033;text-align:left;cursor:pointer}.module-row:hover{border-color:#a9c9ec;background:#fbfdff}.module-row-copy{min-width:0}.module-row h2{margin:0;font-size:1rem;line-height:1.45}.module-row p{margin:4px 0 0;overflow:hidden;color:#667085;font-size:.82rem;text-overflow:ellipsis;white-space:nowrap}.module-row time{color:#667085;font-size:.78rem;white-space:nowrap}.module-empty{padding:42px 20px;border:1px solid #dbe5ef;border-radius:18px;background:#fff;color:#667085;text-align:center}.module-skeleton{display:grid;gap:10px}.module-skeleton div{height:76px;border-radius:16px;background:linear-gradient(90deg,#e8eef5 25%,#f8fafc 38%,#e8eef5 55%);background-size:200% 100%;animation:module-shimmer 1.2s infinite}@keyframes module-shimmer{to{background-position:-200% 0}}.module-gate{position:fixed;z-index:500;inset:0;display:grid;place-content:center;justify-items:center;padding:24px;background:rgba(244,248,253,.97);text-align:center}.module-gate[hidden],.activity-toast[hidden]{display:none}.module-gate img{width:88px;height:88px;object-fit:contain}.module-gate h2{margin:12px 0 2px}.module-gate p{max-width:500px;margin:0 0 14px;color:#667085}.module-dialog{width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;overflow:hidden;border:0;border-radius:22px;box-shadow:0 30px 90px rgba(23,32,51,.24)}.module-dialog::backdrop{background:rgba(23,32,51,.35);backdrop-filter:blur(7px)}.module-dialog-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #e3eaf2}.module-dialog-head h2{margin:0}.module-dialog-head button{width:42px;height:42px;border:0;border-radius:50%;background:#f2f4f7;font-size:1.3rem}.module-dialog-body{max-height:calc(100dvh - 170px);padding:20px;overflow:auto}.module-detail{display:grid;grid-template-columns:150px minmax(0,1fr);gap:8px 14px;margin:0}.module-detail dt{color:#667085}.module-detail dd{margin:0;color:#172033;overflow-wrap:anywhere}.module-dialog-actions{display:flex;justify-content:flex-end;padding:12px 20px;border-top:1px solid #e3eaf2}.activity-toast{position:fixed;z-index:920;bottom:20px;left:50%;padding:10px 14px;border-radius:12px;background:#172033;color:#fff;transform:translateX(-50%)}@media(max-width:760px){.module-shell{width:calc(100% - 18px);padding-top:14px}.module-heading{align-items:flex-start;flex-direction:column}.module-heading-actions{width:100%}.module-heading-actions button{flex:1}.module-toolbar{grid-template-columns:1fr}.module-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.module-row{grid-template-columns:1fr}.module-row time{white-space:normal}.module-dialog{width:100vw;max-height:100dvh;border-radius:0}.module-detail{grid-template-columns:1fr}.module-detail dd{margin-bottom:8px}}@media(prefers-reduced-motion:reduce){.module-skeleton div{animation:none}}
.community-project-hub-route .module-heading{align-items:center;}.community-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.community-project-card,.community-project-manage{display:flex;align-items:center;gap:16px;border:1px solid #d9e5f0;border-radius:22px;background:#fff;color:#172033;text-decoration:none;box-shadow:0 10px 30px rgba(33,72,116,.06);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.community-project-card{min-height:138px;padding:24px}.community-project-card:hover,.community-project-card:focus-visible{border-color:#9cc3eb;box-shadow:0 16px 36px rgba(33,72,116,.13);transform:translateY(-3px)}.community-project-card:focus-visible,.community-project-manage:focus-visible{outline:3px solid rgba(36,119,212,.24);outline-offset:3px}.community-project-icon,.community-project-manage-icon{display:grid;flex:0 0 auto;place-items:center;width:58px;height:58px;border-radius:18px;background:#eaf3ff;color:#2477d4}.community-project-icon svg,.community-project-manage-icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.community-project-copy,.community-project-manage-copy{display:grid;min-width:0;gap:4px}.community-project-copy strong,.community-project-manage-copy strong{font-size:1.18rem;line-height:1.35}.community-project-copy span,.community-project-manage-copy span{color:#667085;font-size:.88rem;line-height:1.55}.community-project-arrow{margin-left:auto;color:#8ca0b5;font-size:2rem;line-height:1}.tone-green .community-project-icon{background:#eaf8f1;color:#16845a}.tone-orange .community-project-icon{background:#fff3e5;color:#c86b11}.tone-red .community-project-icon{background:#fff0ef;color:#c84b43}.community-project-manage{margin-top:20px;padding:18px 22px;border-style:dashed;box-shadow:none}.community-project-manage:hover{border-color:#8eb9e6;background:#f8fbff}.community-project-manage-icon{width:46px;height:46px;border-radius:14px}.community-project-manage-icon svg{width:25px;height:25px}@media(max-width:760px){.community-project-hub-route .module-shell{padding-top:20px}.community-project-hub-route .module-heading{align-items:flex-start}.community-project-grid{grid-template-columns:1fr;gap:12px}.community-project-card{min-height:112px;padding:18px;border-radius:18px}.community-project-icon{width:50px;height:50px;border-radius:15px}.community-project-copy strong{font-size:1.05rem}.community-project-manage{align-items:flex-start;margin-top:14px;padding:16px;border-radius:18px}}@media(prefers-reduced-motion:reduce){.community-project-card,.community-project-manage{transition:none}}
.module-stat.stat-blue{border-left-color:#2477d4}.module-stat.stat-blue b{color:#185fae}.module-stat.stat-green{border-left-color:#16835b}.module-stat.stat-green b{color:#16835b}.module-stat.stat-orange{border-left-color:#c86b11}.module-stat.stat-orange b{color:#a85d08}.module-stat.stat-plain{border-left-color:#c4d4e4}.module-card{grid-template-columns:minmax(0,1fr);gap:10px;padding:16px 18px;border-radius:18px;box-shadow:0 8px 24px rgba(24,95,174,.05);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.module-card:hover{border-color:#a9c9ec;background:#fff;box-shadow:0 14px 32px rgba(33,72,116,.12);transform:translateY(-2px)}.module-card:focus-visible{outline:3px solid rgba(36,119,212,.24);outline-offset:3px}.module-card-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.module-kind,.module-status{display:inline-flex;align-items:center;padding:3px 11px;border-radius:999px;font-size:.75rem;font-weight:650;line-height:1.6}.kind-projects{background:#eaf3ff;color:#185fae}.kind-activities{background:#e9f7f0;color:#16835b}.kind-documents{background:#fff3e5;color:#a85d08}.module-status.tone-done{background:#e9f7f0;color:#16835b}.module-status.tone-live{background:#fff3e5;color:#a85d08}.module-status.tone-hold{background:#fdecec;color:#c83c3c}.module-status.tone-plan{background:#eef2f7;color:#526078}.module-card .module-card-date{margin-left:auto;color:#8a97a8;font-size:.76rem;white-space:nowrap}.module-card .module-row-copy{display:grid;gap:4px}.module-card h2{font-size:1.05rem;font-weight:650;line-height:1.5}.module-card p{display:-webkit-box;margin:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;color:#667085;font-size:.85rem;line-height:1.6;white-space:normal;text-overflow:clip}.module-tags{display:flex;flex-wrap:wrap;gap:6px}.module-tag{padding:3px 10px;border:1px solid #e3eaf2;border-radius:999px;background:#f7fafd;color:#526078;font-size:.75rem;line-height:1.6}.module-tag.good{border-color:#cfe9dc;background:#f0faf5;color:#16835b}.module-tag.warn{border-color:#f2ddbf;background:#fff8ef;color:#a85d08}@media(max-width:760px){.module-card{padding:14px 15px}.module-card .module-card-date{width:100%;margin-left:0}.module-card h2{font-size:1rem}}@media(prefers-reduced-motion:reduce){.module-card{transition:none}.module-card:hover{transform:none}}

/* หน้าเมนูหลัก (งานคุณภาพ งานบริการ งานธุรการ Community Project) แบบเรียบ ๆ อย่างหน้าแรกของ Cloudflare
   แบ่งหมวด (หัวข้อเล็กสีเทา) แต่ละหมวดเป็นรายการแถวบาง ๆ: ไอคอนเส้น · ชื่อ · ลูกศรขวา · เส้นคั่น 1px
   ไม่มีกรอบ/เงา/พื้นสีของไอคอน · จอกว้าง 3 คอลัมน์ · กลาง 2 · มือถือ 1 (ปรับตามคำขอผู้ใช้ 30 ก.ย. 2569)
   หมวดหมู่ตั้งได้ที่ Admin → หมวดหมู่เมนู · รายการที่ยังไม่มีสิทธิ์ติดแม่กุญแจ (nav-extras.css) */
.community-project-hub-route .module-shell{padding-top:18px}
.community-project-hub-route .module-heading{margin-bottom:22px}
.hub-menu{column-count:3;column-gap:48px}
.hub-menu-group{break-inside:avoid;margin:0 0 28px;padding:0}
.hub-menu-heading{margin:0 0 6px;padding:0 4px;color:#667085;font-size:.78rem;font-weight:600;letter-spacing:.02em;line-height:1.4}
.hub-menu-list{margin:0;padding:0;list-style:none;border-top:1px solid #e4e9f0}
.hub-menu-list>li{border-bottom:1px solid #e4e9f0}
.hub-menu-row,.hub-menu-manage{display:flex;align-items:center;gap:12px;min-height:46px;padding:6px 4px;color:#1d2433;text-decoration:none;border-radius:6px;transition:background-color .12s ease}
.hub-menu-row:hover,.hub-menu-manage:hover{background:#eef4fb}
.hub-menu-row:focus-visible,.hub-menu-manage:focus-visible{outline:2px solid rgba(36,119,212,.45);outline-offset:1px}
.hub-menu-icon{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;width:22px;height:22px;color:#475467}
.hub-menu-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.hub-menu-name{flex:1 1 auto;min-width:0;font-size:.95rem;font-weight:500;line-height:1.35}
.hub-menu-chevron.material-symbols-outlined{flex:0 0 auto;color:#98a2b3;font-size:20px}
.hub-menu.is-flat{column-count:1}
.hub-menu.is-flat .hub-menu-list{column-count:3;column-gap:48px;border-top:0}
.hub-menu.is-flat .hub-menu-list>li{break-inside:avoid}
.hub-menu-manage{margin-top:4px;width:max-content;max-width:100%;color:#475467}
@media(max-width:1100px){.hub-menu,.hub-menu.is-flat .hub-menu-list{column-count:2;column-gap:36px}}
@media(max-width:700px){.hub-menu,.hub-menu.is-flat .hub-menu-list{column-count:1}.hub-menu-group{margin-bottom:22px}}
@media(prefers-reduced-motion:reduce){.hub-menu-row,.hub-menu-manage{transition:none}}
/* หัวหน้าเมนูหลัก: เหลือแค่ชื่อหน้า ไม่มี "MSH ORGANIZE" และบรรทัดคำอธิบาย */
.community-project-hub-route #moduleEyebrow,.community-project-hub-route #moduleDescription{display:none}
/* หน้าเมนูหลักบนจอแคบ (มือถือ/แท็บเล็ตแนวตั้ง): เว้นขอบซ้าย-ขวา 20px ไม่ให้เนื้อหาชิดขอบจอ · เฉพาะหน้าเมนูหลัก
   legacy fix.css บังคับ main ให้เหลือ 8px ด้วย !important จึงต้อง !important ทับเฉพาะหน้านี้ */
@media(max-width:760px){.community-project-hub-route .module-shell{box-sizing:border-box;width:100%;padding-left:max(20px,env(safe-area-inset-left))!important;padding-right:max(20px,env(safe-area-inset-right))!important}}
/* smart search (select-search.js): ช่องพิมพ์อยู่แทนช่องค้นหา/ปีงบประมาณเดิม ขนาดเท่าเดิม */
body.module-v3-route .module-toolbar .msh-ss{display:flex;width:100%}body.module-v3-route .module-toolbar .msh-ss-input{padding-right:36px}body.module-v3-route .module-toolbar input[type=search]::-webkit-search-cancel-button{display:none}
