@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;500;600;700&display=swap');
:root{--navy:#123963;--blue:#155bb3;--ink:#173552;--muted:#6e8196;--line:#e2e9f1;--bg:#f3f6fa;--gold:#d8aa4c}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'Noto Sans Thai',Tahoma,sans-serif;font-size:15px;line-height:1.7}a{color:inherit;text-decoration:none}a:hover{color:var(--blue)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}svg{width:21px;height:21px;flex-shrink:0;vertical-align:middle}.topbar{min-height:92px;padding:18px max(28px,calc((100vw - 1240px)/2));display:flex;justify-content:space-between;align-items:center;background:white;border-bottom:1px solid var(--line);gap:22px}.brand{display:flex;align-items:center;gap:12px;white-space:nowrap}.brand b{font-size:26px;letter-spacing:-.8px}.gold{color:var(--gold)}.brand-light{font-weight:400;font-size:21px}.brand small{display:block;font-size:11px;color:var(--muted)}.brand-icon{width:47px;height:47px;background:var(--navy);border-radius:14px;color:#fff;display:grid;place-items:center}.brand-icon svg{width:25px;height:25px}nav{display:flex;align-items:center;gap:24px;font-size:13px;font-weight:600}main{max-width:1240px;margin:auto;padding:32px 28px}.hero{position:relative;overflow:hidden;background:linear-gradient(115deg,#0e2848,#1a487a);border:1px solid #264c77;border-radius:23px;min-height:240px;padding:42px 46px;display:flex;align-items:center;justify-content:space-between;color:white;gap:20px}.hero:after{content:'';position:absolute;width:400px;height:400px;border:65px solid #ffffff07;border-radius:50%;right:-150px;top:-190px;pointer-events:none}.hero p{color:#ccd9e8;max-width:720px;margin:12px 0 0;font-size:14px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;color:#edc777;text-transform:uppercase}.hero h1{font-size:clamp(25px,3vw,36px);line-height:1.45;letter-spacing:-.5px;margin:10px 0 0;max-width:880px}.hero-emblem{border:1px solid #ffffff23;background:#ffffff09;width:100px;height:100px;border-radius:25px;display:grid;place-items:center;transform:rotate(-8deg);flex-shrink:0;color:#bcd6f2}.hero-emblem svg{width:48px;height:48px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:34px 0 18px}.section-head h2{font-size:21px;margin:0}.muted,small{color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{background:white;border:1px solid var(--line);border-radius:19px;padding:26px;box-shadow:0 4px 12px #213d5e04}.link-card{transition:transform .2s,border-color .2s;display:flex;flex-direction:column}.link-card:hover{transform:translateY(-4px);border-color:#82b8ed}.tile-icon{width:49px;height:49px;background:#eaf2ff;color:var(--blue);border-radius:15px;display:grid;place-items:center}.tile-icon.teal{background:#e9f7f4;color:#238877}.tile-icon.gold{background:#fff5e1;color:#b38427}.link-card h2{font-size:19px;margin:20px 0 6px}.link-card p{font-size:13px;color:var(--muted);margin:0 0 28px}.card-bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between;color:var(--blue);font-size:13px;font-weight:600;border-top:1px solid var(--line);padding-top:17px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:999px;padding:10px 21px;background:var(--blue);color:white;font-size:13px;font-weight:600;line-height:1.6;white-space:nowrap}.btn:hover{background:#124b94;color:white}.btn.subtle{background:white;border-color:var(--line);color:var(--navy)}.btn.subtle:hover{background:#edf3fa}.btn.danger{background:#fff0f0;color:#ad3636;border-color:#f4d0d0}.toolbar{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin:24px 0}.field{display:grid;gap:6px;font-size:13px;font-weight:500}.field.grow{flex:1;min-width:220px}input,select,textarea{width:100%;padding:12px 14px;border:1px solid #d5dfeb;border-radius:11px;background:#fff;color:var(--ink);min-height:46px}textarea{min-height:116px;resize:vertical}input:focus,select:focus,textarea:focus{outline:2px solid #b2d4fa;border-color:#6ca7e9}.chips{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}.chip{padding:8px 18px;border-radius:999px;border:1px solid var(--line);background:white;font-size:13px}.chip.active{color:white;background:var(--navy);border-color:var(--navy)}.layout{display:grid;grid-template-columns:240px 1fr;gap:24px;align-items:start}.sidebar{position:sticky;top:24px}.sidebar h3{font-size:14px;margin:0 0 15px}.year-list{display:flex;flex-direction:column;gap:5px;max-height:480px;overflow:auto}.year-list a{display:flex;justify-content:space-between;align-items:center;padding:11px 14px;border-radius:10px;font-size:14px}.year-list a.active{background:#eaf2ff;color:var(--blue);font-weight:700}.year-list small{font-size:11px}.document-list{border-radius:18px;border:1px solid var(--line);background:white;overflow:hidden}.doc{padding:23px 25px;border-bottom:1px solid var(--line);display:flex;align-items:flex-start;gap:17px}.doc:last-child{border-bottom:0}.doc-icon{background:#f0f5fd;color:#3776bd;border:1px solid #e1ebfa;border-radius:12px;padding:13px}.doc-body{flex:1;min-width:0}.doc-title{display:block;font-size:15px;font-weight:500;line-height:1.8;overflow-wrap:anywhere}.doc-title:hover{text-decoration:underline}.meta{font-size:11px;color:var(--muted);display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:9px}.badge{font-size:10px;font-weight:600;color:#2d6ab3;background:#ebf3ff;border-radius:6px;padding:3px 9px;display:inline-block}.badge.draft{background:#fff2d9;color:#98691c}.doc-open{margin-top:3px;color:#4073a8}.empty{padding:50px 24px;text-align:center;color:var(--muted)}.count{color:var(--muted);font-size:13px}.notice{border:1px solid #d9e7f8;background:#edf4ff;padding:16px 20px;border-radius:12px;font-size:13px;margin:20px 0}.notice.success{background:#eaf8f1;border-color:#c7e6d7;color:#26724d}.notice.error{background:#fff0f0;border-color:#f0cccc;color:#a43131}.year-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.year-card{display:block;background:white;border:1px solid var(--line);padding:25px;border-radius:17px}.year-card strong{font-size:28px;display:block}.year-card small{font-size:12px}.year-card:first-child{border-color:#7ca7d6;background:#edf4ff}footer{border-top:1px solid var(--line);margin-top:60px;padding:25px 0 10px;display:flex;justify-content:space-between;gap:14px;color:var(--muted);font-size:11px}footer b{font-weight:500}.auth{max-width:470px;margin:40px auto}.auth h1{font-size:25px;margin-top:0}.stack{display:grid;gap:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.full{grid-column:1/-1}.check{display:flex;gap:10px;align-items:center}.check input{width:18px;min-height:18px;height:18px}.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.inline{display:inline}.admin-doc .doc{align-items:center}.summary{display:flex;gap:20px;align-items:center;margin:24px 0}.summary strong{font-size:28px}.summary .card{flex:1;padding:20px}.dropzone{padding:25px;border:1px dashed #89acd2;border-radius:12px;background:#f6f9ff;display:block}.dropzone.drag{background:#e1efff}.dropzone input{background:transparent;border:none;padding:5px 0;margin-top:10px}.intro-line{font-size:12px;letter-spacing:1px;color:var(--muted)}.pagination{display:flex;gap:8px;justify-content:center;margin-top:24px}.lead{color:var(--muted);font-size:13px}dialog{border:1px solid var(--line);border-radius:20px;max-width:440px;padding:28px;color:var(--ink);box-shadow:0 25px 80px #142b5d40}dialog::backdrop{background:#0e284875;backdrop-filter:blur(4px)}dialog h2{font-size:22px;margin-top:0}.document-list+.pagination{margin-bottom:20px}@media(max-width:1000px){.topbar{flex-wrap:wrap}.topbar nav{gap:16px;flex-wrap:wrap}.year-grid{grid-template-columns:repeat(3,1fr)}.hero-emblem{display:none}.layout{grid-template-columns:200px 1fr}.cards{gap:12px}.card{padding:20px}}@media(max-width:700px){.topbar{padding:16px 20px;gap:14px}.brand b{font-size:24px}nav{width:100%;gap:14px!important;font-size:12px}.topbar .btn{padding:7px 12px;font-size:11px}main{padding:20px 16px}.hero{padding:30px 25px;border-radius:18px;min-height:210px}.hero h1{font-size:26px}.hero p{font-size:12px}.cards{grid-template-columns:1fr}.link-card{padding:23px}.link-card h2{margin-top:14px}.link-card p{margin-bottom:18px}.layout{grid-template-columns:1fr}.sidebar{position:static}.year-list{flex-direction:row;overflow:auto;max-height:none}.year-list a{min-width:115px}.year-list small{display:none}.year-grid{grid-template-columns:repeat(2,1fr);gap:12px}.year-card{padding:20px}.doc{padding:20px 16px;gap:11px}.doc-icon{padding:10px}.doc-title{font-size:14px}.doc-open{display:none}.form-grid{grid-template-columns:1fr}.summary{gap:10px}.summary .card{padding:14px}.summary strong{font-size:24px}.summary .lead{font-size:11px}.admin-doc .doc{flex-wrap:wrap}.admin-doc .actions{padding-left:0;width:100%}.section-head{align-items:flex-start}.section-head h2{font-size:19px}footer{flex-direction:column;margin-top:40px}.toolbar .field{flex:1;min-width:120px}.toolbar .field.grow{min-width:100%}.toolbar .btn{flex:1}}
/* Reference dashboard design: white sidebar, indigo type and gold markers. */
:root{--navy:#303979;--blue:#365bb1;--ink:#263a65;--muted:#7c8ba5;--line:#e0e7f3;--bg:#f4f7fb;--gold:#e8ad28}.topbar{height:76px;min-height:76px;padding:14px 30px;position:sticky;top:0;z-index:30;flex-wrap:nowrap}.brand-group{display:flex;align-items:center;gap:22px;min-width:0}.brand b{font-size:29px;letter-spacing:-2px}.brand-group .university{border-left:1px solid var(--line);padding-left:22px;font-size:12px;font-weight:600;color:#46519a;white-space:nowrap}.university small{font-size:10px;color:#b39035;display:block;line-height:1.3}.system-name{border-left:1px solid var(--line);padding-left:20px;line-height:1.5}.system-name b{font-size:17px}.system-name small{display:block;font-size:11px}.header-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.header-actions .btn{padding:8px 15px;font-size:12px}.theme-toggle,.menu-toggle{border:1px solid var(--line);background:white;border-radius:12px;width:38px;height:38px;color:var(--navy);font-size:21px;display:grid;place-items:center}.menu-toggle{display:none}.user-avatar{width:37px;height:37px;border-radius:50%;background:var(--navy);color:white;display:grid;place-items:center;font-weight:700}.user-label{font-size:11px;line-height:1.4}.user-label small{display:block;font-size:10px}.app-shell{display:flex;min-height:calc(100vh - 76px)}.app-sidebar{width:246px;flex-shrink:0;background:white;border-right:1px solid var(--line);height:calc(100vh - 76px);position:sticky;top:76px;padding:26px 15px 20px;display:flex;flex-direction:column;overflow-y:auto;z-index:25}.side-caption{font-size:11px;color:var(--muted);padding:0 12px 20px}.side-caption b{display:block;font-size:13px;color:var(--navy);margin-top:3px}.side-nav{display:flex;flex-direction:column;align-items:stretch;gap:7px;font-size:13px;font-weight:500}.side-nav a,.side-bottom a{display:flex;align-items:center;gap:12px;padding:12px;border-radius:11px;position:relative;line-height:1.6}.side-nav svg,.side-bottom svg{width:18px;height:18px;color:#7d88a0}.side-nav a.active{background:#e9eaf2;color:var(--navy);font-weight:600}.side-nav a.active svg{color:var(--navy)}.side-nav a.active:before{content:'';position:absolute;width:4px;height:25px;border-radius:0 4px 4px 0;background:#f1c345;left:-15px;top:50%;transform:translateY(-50%)}.side-nav a:hover,.side-bottom a:hover{background:#f4f6fb}.side-bottom{margin-top:auto;padding-top:24px;border-top:1px solid var(--line);font-size:12px}.sidebar-logout{background:transparent;border:0;color:#e4584e;padding:12px;font-weight:600}.app-shell main{width:calc(100% - 246px);max-width:1530px;padding:29px clamp(26px,4.5vw,90px);min-width:0;margin:0 auto}.page-heading{margin-bottom:38px}.page-heading .eyebrow{color:#d4a320;font-size:11px;letter-spacing:1.9px}.page-heading h1{font-size:30px;margin:0;font-weight:700;line-height:1.6;letter-spacing:-.4px}.hero{min-height:132px;padding:24px 28px;border:0;border-radius:17px;background:linear-gradient(110deg,#30367c,#287ebd);box-shadow:0 12px 30px #33467c1a;display:block}.hero:after{width:270px;height:270px;right:-65px;top:-120px;border-width:40px;border-color:#ffffff0a}.hero .eyebrow{color:#f5ca52;font-size:9px;letter-spacing:1.2px}.hero h2{font-size:23px;margin:4px 0 0;color:white;line-height:1.5}.hero p{font-size:13px;margin-top:5px;max-width:none;color:#dce8ff}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:18px 0 24px}.stat-card{background:white;border:1px solid var(--line);border-radius:14px;padding:22px 17px;display:flex;gap:13px;align-items:center;position:relative;box-shadow:0 6px 18px #253d6a05}.stat-card:before{position:absolute;content:'';left:0;top:0;bottom:0;width:4px;border-radius:14px 0 0 14px;background:var(--accent)}.stat-card.blue{--accent:#268ed0;--tint:#e9f4fd}.stat-card.amber{--accent:#e1aa15;--tint:#fff5d9}.stat-card.green{--accent:#109973;--tint:#e6f7f1}.stat-card.cyan{--accent:#18abc1;--tint:#e5f8fb}.stat-icon{width:43px;height:43px;background:var(--tint);color:var(--accent);border-radius:12px;display:grid;place-items:center;flex-shrink:0}.stat-card span:not(.stat-icon){font-size:11px;color:var(--muted);display:block}.stat-card strong{display:block;font-size:28px;line-height:1.3;color:var(--navy)}.stat-card small{font-size:11px}.card{border-radius:16px;box-shadow:0 5px 22px #233d6505}.section-head{margin:24px 0 16px}.section-head h2{font-size:19px}.intro-line{color:#dfac39;font-size:9px;letter-spacing:1.3px;font-weight:600}.link-card{padding:20px}.link-card h2{font-size:16px;margin-top:14px}.link-card p{font-size:12px;margin-bottom:16px}.tile-icon{width:42px;height:42px;border-radius:11px}.card-bottom{font-size:12px;padding-top:12px}.dashboard-columns{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(250px,1fr);gap:18px;margin-top:24px;align-items:start}.latest-panel{padding:20px}.latest-panel .section-head{margin:0 0 15px;align-items:center}.latest-panel .section-head h2{font-size:17px}.latest-panel .section-head .btn{font-size:10px;padding:5px 9px}.latest-panel .document-list{border:0;border-radius:0}.latest-panel .doc{padding:18px 0}.latest-panel .doc-icon{display:none}.latest-panel .doc-title{font-size:13px}.latest-panel .badge{font-size:9px}.latest-panel .meta{font-size:10px}.category-panel{padding:22px 20px}.category-panel .eyebrow{color:#dfac39;font-size:9px;letter-spacing:1.1px}.category-panel h2{font-size:17px;margin:0 0 18px}.category-row{display:grid;grid-template-columns:1fr auto;gap:7px;padding:17px 0;border-bottom:1px solid var(--line);font-size:12px}.category-row strong{color:var(--navy)}.progress-track{grid-column:1/-1;height:3px;background:#edf2fa;border-radius:3px;overflow:hidden}.progress-track i{display:block;height:3px;background:linear-gradient(90deg,#343b86,#33b4e4);border-radius:3px}.category-panel .btn{margin-top:22px;font-size:11px}.btn{font-size:12px}.document-list{border-radius:15px}.doc-title{font-size:14px}.auth{margin:35px auto}.auth h1{font-size:24px}.menu-backdrop{display:none}footer{font-size:10px;margin-top:34px;padding-top:20px}.year-list .active{background:#eeeff9!important;color:var(--navy)!important}body.dark{--bg:#151d30;--ink:#dbe5fa;--muted:#9aaac5;--navy:#c1cafa;--blue:#a0bcff;--line:#34415a;color-scheme:dark}.dark .topbar,.dark .app-sidebar,.dark .card,.dark .stat-card,.dark .document-list,.dark input,.dark textarea,.dark select,.dark .chip,.dark .year-card,.dark .theme-toggle,.dark .menu-toggle,.dark .btn.subtle{background:#202c43;color:var(--ink)}.dark .side-nav a.active,.dark .side-nav a:hover,.dark .side-bottom a:hover{background:#35405e}.dark .stat-icon,.dark .tile-icon,.dark .doc-icon,.dark .badge,.dark .dropzone{background:#2c3b58}.dark .notice{background:#243b58;color:var(--ink)}.dark .notice.error,.dark .btn.danger{background:#492e3a;color:#ffb8b2}.dark .notice.success{background:#1e423b;color:#b5e4d0}.dark .user-avatar{background:#424e93}.dark .progress-track{background:#34415a}.dark dialog{background:#202c43;color:var(--ink)}.dark .year-list a.active,.dark .year-card:first-child{background:#34415a!important}.dark .hero{color:white}
@media(min-width:1600px){.app-shell main{padding-top:30px}.page-heading{margin-bottom:48px}.stat-card{min-height:110px}.hero{min-height:130px}}
@media(max-width:1200px){.app-sidebar{width:220px}.app-shell main{width:calc(100% - 220px);padding:25px}.university{display:none}.stat-grid{gap:10px}.stat-card{padding:17px 13px;gap:9px}.stat-icon{width:34px;height:38px}.stat-card strong{font-size:25px}.dashboard-columns{grid-template-columns:minmax(0,1fr) 260px}.page-heading h1{font-size:27px}}
@media(max-width:1000px){.stat-grid{grid-template-columns:repeat(2,1fr)}.dashboard-columns{grid-template-columns:1fr}.category-panel{display:block}.cards{grid-template-columns:1fr}.link-card h2{margin-top:10px}.system-name b{font-size:14px}.topbar{padding:14px 20px}.side-nav{gap:5px!important}.layout{grid-template-columns:1fr}.sidebar{position:static}.year-list{flex-direction:row}.year-list a{white-space:nowrap}.year-list svg{display:none}}
@media(max-width:760px){.topbar{height:70px;min-height:70px;gap:8px;padding:12px 16px}.brand-group{gap:12px}.brand b{font-size:25px}.system-name{display:none}.menu-toggle{display:grid;width:33px;height:33px}.header-actions{gap:7px}.header-actions .btn{font-size:10px;padding:7px 10px}.header-actions .btn svg{width:15px}.user-label{display:none}.user-avatar{width:29px;height:29px;font-size:12px}.theme-toggle{width:32px;height:32px}.app-sidebar{position:fixed;top:70px;bottom:0;height:calc(100dvh - 70px);width:246px;left:0;transform:translateX(-100%);transition:transform .2s}.menu-open .app-sidebar{transform:translateX(0)}.menu-backdrop{position:fixed;inset:70px 0 0;background:#18294866;border:0;z-index:24;backdrop-filter:blur(3px)}.menu-open .menu-backdrop{display:block}.app-shell main{width:100%;padding:23px 16px}.page-heading{margin-bottom:24px}.page-heading h1{font-size:25px}.page-heading .eyebrow{font-size:10px}.hero{min-height:125px;padding:22px;border-radius:15px}.hero h2{font-size:20px}.hero p{font-size:12px}.stat-grid{gap:11px;margin:15px 0 20px}.stat-card{padding:18px 13px;gap:10px;min-height:105px}.stat-card span:not(.stat-icon){font-size:10px}.stat-card small{font-size:10px}.stat-card strong{font-size:26px}.stat-icon{width:33px;height:38px;border-radius:9px}.stat-icon svg{width:18px}.latest-panel{padding:18px}.latest-panel .section-head{gap:10px}.latest-panel .section-head h2{font-size:15px}.latest-panel .section-head .btn{padding:5px 8px}.section-head h2{font-size:18px}.side-nav{width:auto;gap:7px!important}.form-grid{gap:16px}.toolbar .field{min-width:130px}footer{font-size:10px;gap:7px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Larger, stronger type and reference-style contact panel. */
body{font-size:16px;font-weight:500;line-height:1.8}.side-nav{font-size:15px;font-weight:600}.side-caption{font-size:12px}.side-caption b{font-size:15px}.side-nav a{padding-top:12px;padding-bottom:12px}.app-sidebar{width:270px;padding-left:15px;padding-right:15px}.app-shell main{width:calc(100% - 270px)}.system-name b{font-size:19px;font-weight:700}.system-name small{font-size:12px}.page-heading h1{font-size:34px;font-weight:700}.hero h2{font-size:26px;font-weight:700}.hero p{font-size:15px;font-weight:500}.eyebrow,.page-heading .eyebrow{font-weight:700}.section-head h2{font-size:22px;font-weight:700}.link-card h2{font-size:19px;font-weight:700}.link-card p{font-size:14px}.card-bottom{font-size:14px}.stat-card span:not(.stat-icon){font-size:13px;font-weight:600}.stat-card strong{font-size:32px;font-weight:700}.stat-card small{font-size:12px}.doc-title,.latest-panel .doc-title{font-size:16px;font-weight:600;line-height:1.85}.latest-panel .section-head h2{font-size:19px}.latest-panel .meta,.meta{font-size:12px}.badge,.latest-panel .badge{font-size:11px;font-weight:600}.btn,.latest-panel .section-head .btn{font-size:14px;font-weight:600}.field{font-size:15px;font-weight:600}.lead,.count,.notice{font-size:14px}.category-panel h2{font-size:20px}.category-row{font-size:14px;font-weight:600}.year-list a{font-size:15px;font-weight:600}.year-card small{font-size:14px}footer{font-size:12px}.language-switch{display:flex;gap:3px;align-items:center;border:1px solid var(--line);border-radius:999px;padding:4px;background:#f6f8fe;flex-shrink:0}.language-switch button{border:0;border-radius:999px;background:transparent;color:#7d87a1;padding:5px 9px;display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700;line-height:1.5;white-space:nowrap}.language-switch svg{width:18px;height:13px;border-radius:3px;box-shadow:0 0 0 1px #1b315c12}.language-switch button[aria-pressed=true]{background:white;box-shadow:0 1px 5px #25325b12;color:#303979}.contact-card{background:#fff9ef;border:1px solid #f1e9dc;border-radius:13px;margin:24px 0 22px;padding:18px 13px 20px;flex-shrink:0;color:#333f69;font-weight:500}.contact-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.contact-head b{font-size:15px;font-weight:600}.contact-symbol{display:grid;place-items:center;width:33px;height:33px;background:#e4f8fd;color:#16b1d3;border-radius:8px}.contact-symbol svg{width:19px;height:19px}.contact-card p{color:#303030;font-size:13px;line-height:1.65;margin:7px 0 15px}.contact-card dl{margin:0}.contact-card dt,.contact-line-label{font-size:12px;color:#8d91a6;font-weight:400}.contact-card dd{margin:0 0 5px;font-size:14px;font-weight:500;line-height:1.65;overflow-wrap:anywhere}.contact-card dd a:hover{text-decoration:underline}.contact-card dd span{white-space:nowrap}.contact-line-label{display:block;margin-top:22px}.contact-line-art{display:block;width:197px;height:74px;overflow:hidden;position:relative;background:#ff78a4;max-width:100%;border-radius:0}.contact-line-art img{position:absolute;width:252px;height:572px;max-width:none;left:-29px;top:-245px}.side-bottom{margin-top:auto;flex-shrink:0}.dark .language-switch{background:#26344c}.dark .language-switch button[aria-pressed=true]{background:#414e72;color:#edf2ff}.dark .contact-card{background:#2b3044;border-color:#464153;color:#e0e6fa}.dark .contact-card p{color:#d9dfec}.dark .contact-card dt,.dark .contact-line-label{color:#b1b9ce}html[lang=en] .side-nav{font-size:14px}html[lang=en] .stat-card span:not(.stat-icon){font-size:12px}
@media(max-width:1300px){.brand-group{gap:14px}.system-name{padding-left:14px}.system-name b{font-size:16px}.header-actions{gap:8px}.university{display:none}.dashboard-columns{grid-template-columns:1fr}.app-shell main{padding:27px}.stat-card{align-items:flex-start}.stat-card span:not(.stat-icon){font-size:12px}.cards{grid-template-columns:1fr}}
@media(max-width:1050px){.system-name{display:none}.stat-grid{grid-template-columns:repeat(2,1fr)}.app-sidebar{width:260px}.app-shell main{width:calc(100% - 260px)}.side-nav{font-size:14px}.contact-card{padding-left:14px;padding-right:14px}.section-head h2{font-size:20px}.page-heading h1{font-size:30px}}
@media(max-width:760px){.topbar{height:auto;min-height:70px;flex-wrap:wrap;row-gap:10px}.brand-group{gap:12px}.header-actions{gap:6px}.header-actions .btn{font-size:11px;padding:7px 10px}.language-switch{padding:3px;gap:0}.language-switch button{font-size:11px;padding:4px 6px;gap:4px}.language-switch svg{width:15px;height:11px}.app-sidebar{width:260px;top:70px;height:calc(100dvh - 70px)}.app-shell main{width:100%;padding:24px 16px}.page-heading h1{font-size:28px}.hero h2{font-size:23px}.hero p{font-size:14px}.stat-card span:not(.stat-icon){font-size:12px}.stat-card strong{font-size:30px}.stat-card small{font-size:11px}.doc-title,.latest-panel .doc-title{font-size:16px}.latest-panel .section-head h2{font-size:18px}.latest-panel .section-head .btn{font-size:12px}.link-card h2{font-size:19px}.contact-card p{font-size:14px}.contact-card dd{font-size:15px}.side-nav{font-size:15px}.menu-backdrop{inset:var(--header-height,70px) 0 0}.app-sidebar{top:var(--header-height,70px);height:calc(100dvh - var(--header-height,70px))}}
@media(max-width:460px){.topbar{padding:12px}.brand-group{gap:8px}.brand b{font-size:24px}.header-actions{gap:5px}.header-actions .btn{padding:6px 8px;font-size:10px}.header-actions .btn svg{display:none}.user-avatar{display:none}.language-switch button{padding:4px 5px}.theme-toggle{width:28px;height:30px}.menu-toggle{width:29px;height:32px}.stat-card{gap:7px;padding:16px 10px}.stat-icon{width:29px;height:35px}.stat-card span:not(.stat-icon){font-size:11px}.latest-panel .section-head{flex-wrap:wrap}.latest-panel .section-head .btn{font-size:12px}}
@media(max-width:360px){.topbar{justify-content:center}.brand-group{margin-right:auto}.header-actions{width:100%;justify-content:flex-end}.page-heading h1{font-size:25px}}
/* Original brand assets and language flags from the supplied GRprocument archive. */
.brand picture{display:flex;align-items:center}.brand picture img{display:block;width:auto;height:47px;max-width:300px;object-fit:contain}.brand .logo-dark{display:none}.dark .brand .logo-light{display:none}.dark .brand .logo-dark{display:block}.language-switch img{width:20px;height:20px;border-radius:50%;object-fit:cover}.language-switch button{min-height:32px;padding:5px 10px}.system-name{white-space:nowrap}.topbar{min-height:78px;height:78px}.app-sidebar{top:78px;height:calc(100vh - 78px)}
@media(max-width:1200px){.brand-group{gap:15px}.brand picture img{height:43px}.system-name b{font-size:16px}.system-name small{font-size:11px}.header-actions{gap:7px}.header-actions .btn{font-size:11px;padding:8px 12px}}
@media(max-width:1050px){.system-name{display:none}.brand picture img{height:43px}.language-switch button{padding:4px 7px}.header-actions .btn{font-size:12px}}
@media(max-width:760px){.topbar{height:auto;min-height:78px;gap:10px;align-items:center;padding:12px 16px}.brand-group{width:100%;gap:12px}.brand picture img{height:auto;width:245px;max-width:calc(100vw - 85px)}.header-actions{width:100%;justify-content:flex-end;gap:10px}.language-switch img{width:18px;height:18px}.language-switch button{font-size:12px;min-height:30px;padding:4px 8px}.header-actions .btn{font-size:12px;padding:7px 13px}.theme-toggle{width:34px;height:34px}.user-avatar{display:grid;width:32px;height:32px}.menu-toggle{width:33px;height:33px}.app-sidebar{top:var(--header-height,132px);height:calc(100dvh - var(--header-height,132px))}.menu-backdrop{inset:var(--header-height,132px) 0 0}}
@media(max-width:380px){.header-actions{gap:6px}.header-actions .btn{font-size:11px;padding:7px 10px}.user-avatar{display:none}.language-switch button{padding:4px 7px}.page-heading h1{font-size:25px}}
/* Hide nested scrollbar chrome while retaining native scrolling and keyboard access. */
.app-sidebar,.year-list{scrollbar-width:none;-ms-overflow-style:none}
.app-sidebar::-webkit-scrollbar,.year-list::-webkit-scrollbar{display:none;width:0;height:0}

/* Compact single page heading: one title, one supporting line, no duplicate hero. */
.app-shell main{padding-top:22px}
.page-heading.compact-heading{margin:0 0 20px;padding:3px 0 5px 17px;border-left:3px solid var(--gold);background:transparent;min-height:0;box-shadow:none;border-radius:0}
.page-heading.compact-heading .eyebrow{display:block;color:#b98a14;font-size:10px;font-weight:700;letter-spacing:1.35px;line-height:1.5}
.page-heading.compact-heading h1{margin:3px 0 4px;font-size:28px;font-weight:700;line-height:1.45;letter-spacing:-.3px;color:var(--navy)}
.page-heading.compact-heading p{margin:0;color:var(--muted);font-size:14px;font-weight:500;line-height:1.65}
.compact-heading+.toolbar{margin-top:18px}.compact-heading+.stat-grid{margin-top:18px}
.dark .page-heading.compact-heading .eyebrow{color:#e8c46e}
@media(max-width:760px){.app-shell main{padding-top:20px}.page-heading.compact-heading{margin-bottom:17px;padding-left:13px}.page-heading.compact-heading h1{font-size:24px;line-height:1.5}.page-heading.compact-heading p{font-size:13px}.page-heading.compact-heading .eyebrow{font-size:9px}.compact-heading+.toolbar{margin-top:16px}}

/* Three category destinations: restrained color, consistent hierarchy, compact height. */
.category-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.category-card.category-blue{--category-ink:#3656a0;--category-soft:#eaf1ff;--category-edge:#afc5ee;--category-ring:#5d85d6}
.category-card.category-teal{--category-ink:#21766e;--category-soft:#e9f7f3;--category-edge:#abd7cc;--category-ring:#4aa38f}
.category-card.category-gold{--category-ink:#856226;--category-soft:#fff5e0;--category-edge:#e6cf9f;--category-ring:#c19b4c}
.category-card.card{position:relative;isolation:isolate;overflow:hidden;padding:23px 23px 20px;border:1px solid var(--category-edge);border-radius:18px;background:linear-gradient(145deg,var(--category-soft),#fff 78%);box-shadow:0 5px 16px #233d6506;transition:transform .2s,border-color .2s,box-shadow .2s;min-width:0}
.category-card:before{content:'';position:absolute;left:23px;right:23px;top:0;height:3px;border-radius:0 0 4px 4px;background:var(--category-ring);opacity:.8}
.category-card:after{content:'';position:absolute;z-index:-1;right:-37px;top:-49px;width:150px;height:150px;border:22px solid var(--category-ring);border-radius:50%;opacity:.055;pointer-events:none}
.category-card-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:15px}
.category-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#ffffffd6;border:1px solid var(--category-edge);box-shadow:0 3px 8px #233d6505;color:var(--category-ink);flex-shrink:0}
.category-icon svg{width:24px;height:24px}.category-kicker{font-size:9px;letter-spacing:.8px;font-weight:600;line-height:1.8;color:var(--category-ink);text-align:right;opacity:.8}.category-kicker b{display:block;font-size:18px;letter-spacing:1px;line-height:1.25;font-weight:600;opacity:.6}
.category-card h2{font-size:20px;line-height:1.6;margin:0 0 8px;color:var(--ink);font-weight:700}.category-card p{font-size:14px;font-weight:500;line-height:1.8;margin:0 0 19px;color:#6e7d96}
.category-cta{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:auto;padding:9px 11px 9px 16px;min-height:42px;border-radius:11px;background:var(--category-ink);color:#fff;font-size:13px;font-weight:600;box-shadow:0 3px 7px #2434570c}
.category-cta-arrow{width:27px;height:27px;display:grid;place-items:center;background:#ffffff19;border:1px solid #ffffff1c;border-radius:8px}.category-cta svg{width:17px;height:17px}
.category-card:hover,.category-card:focus-visible{transform:translateY(-3px);border-color:var(--category-ring);box-shadow:0 11px 24px #233d6512}.category-card:focus-visible{outline:3px solid var(--category-ring);outline-offset:4px}.category-card:hover .category-cta-arrow{background:#ffffff2c}
.dark .category-card.card{background:linear-gradient(145deg,#2a3650,#202c43 85%);border-color:#43516e}.dark .category-icon{background:#303e59;border-color:#52617c;color:var(--category-edge)}.dark .category-kicker{color:var(--category-edge)}.dark .category-card p{color:#aebbd1}.dark .category-cta{color:#fff}.dark .category-card h2{color:var(--ink)}
@media(max-width:1300px) and (min-width:1001px){.category-cards{gap:13px}.category-card.card{padding:20px 17px 17px}.category-card h2{font-size:18px}.category-card p{font-size:13px}.category-card-head{gap:9px}.category-kicker{font-size:8px;letter-spacing:.4px}.category-icon{width:42px;height:42px}.category-cta{font-size:12px}}
@media(max-width:1000px){.category-cards{grid-template-columns:1fr;gap:15px}.category-card.card{padding:20px}.category-card-head{margin-bottom:11px}.category-card h2{font-size:19px}.category-card p{margin-bottom:16px}.category-cta{font-size:14px}}
@media(prefers-reduced-motion:reduce){.category-card.card{transition:none}.category-card:hover,.category-card:focus-visible{transform:none}}
/* Keep intrinsic grid/flex content inside the viewport, including long Thai titles. */
.layout{grid-template-columns:240px minmax(0,1fr)}
.layout>*{min-width:0;max-width:100%}
.year-list,.document-list,.doc,.doc-body{min-width:0;max-width:100%}
.doc-title{white-space:normal;overflow-wrap:anywhere;word-break:normal}
.pagination{min-width:0;max-width:100%;flex-wrap:wrap}
@media(max-width:1000px){.layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){
 .app-shell,.app-shell main{min-width:0;max-width:100%}
 .layout{width:100%;grid-template-columns:minmax(0,1fr)}
 .layout>.sidebar,.layout>section{width:100%;min-width:0}
 .year-list{width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden}
 .document-list{width:100%}
 .doc{width:100%;min-width:0}
 .doc-body{flex:1 1 0%;min-width:0}
 .doc-title,.meta{overflow-wrap:anywhere}
 .toolbar{min-width:0;max-width:100%}
 .toolbar .field{min-width:0;max-width:100%}
 .toolbar .field.grow{flex-basis:100%;min-width:0}
 .toolbar input,.toolbar select{min-width:0;max-width:100%}
}

.header-icon{width:38px;height:38px;display:inline-grid;place-items:center;flex:0 0 auto;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--navy);padding:0;line-height:1;cursor:pointer}.header-icon svg{width:19px;height:19px}.header-icon:hover,.header-icon[aria-pressed=true]{background:#eef2fc;color:#303979}.header-icon:focus-visible{outline:2px solid #7187c7;outline-offset:3px}.header-icon[hidden]{display:none!important}.dark .header-icon{background:#202c43;color:var(--ink)}.dark .header-icon:hover,.dark .header-icon[aria-pressed=true]{background:#35405e}.header-feedback{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:1000;padding:12px 20px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);box-shadow:0 8px 30px #20385926;max-width:calc(100vw - 32px);font-size:14px}.dark .header-feedback{background:#202c43;color:var(--ink)}
@media(max-width:760px){.header-actions{flex-wrap:wrap;min-width:0;max-width:100%;gap:7px}.header-icon{width:34px;height:34px;border-radius:10px}.header-icon svg{width:18px;height:18px}.header-actions .language-switch{flex-shrink:0}.header-actions .btn{white-space:normal}.header-feedback{font-size:13px}}
[data-subcategory-field][hidden]{display:none!important}.plan-group-jumps{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 22px;width:100%;min-width:0}.group-jump{display:flex;align-items:center;justify-content:space-between;gap:13px;padding:9px 16px;border:1px solid #c8d8ee;border-radius:999px;background:#eef4ff;color:#31569a;font-size:13px;font-weight:600;max-width:100%;min-width:0}.group-jump span{overflow-wrap:anywhere}.group-jump b{display:grid;place-items:center;min-width:26px;height:26px;padding:0 6px;border-radius:50%;background:#fff;font-size:12px}.group-jump.group-notice{background:#edf7f4;border-color:#c4dfd5;color:#277365}.plan-group{scroll-margin-top:calc(var(--header-height,78px) + 18px);margin:0 0 26px;min-width:0;max-width:100%}.plan-group-heading{display:flex;align-items:center;gap:12px;margin-bottom:12px;padding:0 0 10px;border-bottom:2px solid #dce8fa}.plan-group-heading h2{font-size:19px;font-weight:700;margin:0;line-height:1.6;overflow-wrap:anywhere}.plan-group-heading small{font-size:12px}.plan-group-heading>div{flex:1;min-width:0}.plan-group-heading .badge{flex-shrink:0}.group-notice .plan-group-heading{border-color:#d4eae2}.group-notice .plan-group-heading .tile-icon{background:#eaf7f2;color:#277365}.dark .group-jump{background:#2c3a59;color:#c9d9ff;border-color:#4a5c7d}.dark .group-jump.group-notice{background:#233f40;color:#b6e8d5;border-color:#42665f}.dark .group-jump b{background:#202c43}.dark .plan-group-heading{border-color:#435473}.dark .group-notice .plan-group-heading{border-color:#42665f}.dark .group-notice .plan-group-heading .tile-icon{background:#2a4745;color:#b6e8d5}@media(max-width:760px){.plan-group-jumps{gap:8px}.group-jump{font-size:12px;padding:8px 12px;width:100%}.plan-group-heading h2{font-size:17px}.plan-group-heading{gap:9px}.plan-group-heading .tile-icon{width:34px;height:36px}.plan-group-heading .tile-icon svg{width:18px}.plan-group-heading .badge{font-size:10px}}
/* Keep subcategory shortcuts available beneath the site header. */
.plan-group-jumps{position:sticky;top:var(--header-height,78px);z-index:15;background:var(--bg);padding:12px 0;margin-bottom:18px;border-bottom:1px solid var(--line);box-shadow:0 8px 12px -12px #20385955}
.plan-group{scroll-margin-top:calc(var(--header-height,78px) + var(--plan-jump-height,76px) + 16px)}
@media(max-width:760px){.plan-group-jumps{top:var(--header-height,132px);padding:9px 0;gap:8px}.plan-group-jumps .group-jump{width:auto;flex:1 1 0;min-width:0;font-size:11px;padding:8px 10px;gap:6px;line-height:1.6}.plan-group-jumps .group-jump b{flex-shrink:0;min-width:23px;height:23px;font-size:11px}.plan-group{scroll-margin-top:calc(var(--header-height,132px) + var(--plan-jump-height,90px) + 12px)}}
/* Stronger contrast for the sticky subcategory shortcuts. */
.plan-group-jumps .group-jump{background:#3656a0;border-color:#3656a0;color:#fff;box-shadow:0 3px 8px #304d8f18}
.plan-group-jumps .group-jump.group-notice{background:#21766e;border-color:#21766e;color:#fff;box-shadow:0 3px 8px #21766e18}
.plan-group-jumps .group-jump b{background:#fff;color:#3656a0}
.plan-group-jumps .group-jump.group-notice b{background:#fff;color:#21766e}
.plan-group-jumps .group-jump:hover{background:#2b4788;border-color:#2b4788;color:#fff}
.plan-group-jumps .group-jump.group-notice:hover{background:#195f58;border-color:#195f58;color:#fff}
.plan-group-jumps .group-jump:focus-visible{outline:3px solid #d4aa42;outline-offset:3px}
/* Back to top with a scroll progress ring, matching the supplied example. */
.back-to-top{position:fixed;right:24px;bottom:24px;width:54px;height:54px;padding:0;display:grid;place-items:center;border:0;border-radius:50%;background:#fff;color:#293478;box-shadow:0 4px 18px #243b6626;z-index:20;cursor:pointer;transition:transform .2s,box-shadow .2s;touch-action:manipulation}
.back-to-top[hidden]{display:none!important}.back-to-top .backtop-ring{position:absolute;inset:0;width:54px;height:54px;transform:rotate(-90deg);fill:none;stroke-width:3}.backtop-track{stroke:#edf0f5}.backtop-progress{stroke:#e5ad24;stroke-linecap:round;stroke-dasharray:138.2300768;stroke-dashoffset:138.2300768}.back-to-top .backtop-chevron{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.back-to-top:hover{transform:translateY(-3px);box-shadow:0 7px 23px #243b6636}.back-to-top:focus-visible{outline:3px solid #8499cc;outline-offset:4px}.dark .back-to-top{background:#25334d;color:#dbe4ff}.dark .backtop-track{stroke:#42516b}.dark .backtop-progress{stroke:#f1c34e}
@media(max-width:760px){.back-to-top{right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));width:50px;height:50px}.back-to-top .backtop-ring{width:50px;height:50px}}@media(prefers-reduced-motion:reduce){.back-to-top{transition:none}.back-to-top:hover{transform:none}}
