*{box-sizing:border-box}html,body,button,input,select,textarea,table{font-family:"TH SarabunPSK","TH Sarabun PSK","TH Sarabun New","Sarabun",sans-serif!important}body{margin:0;background:#f4f7fb;color:#173856;font-size:20px}button,input,select,textarea{font-size:19px}.hidden{display:none!important}.muted{color:#73869b}.auth-page{min-height:100vh;display:grid;grid-template-columns:1.08fr .92fr}.auth-brand{background:linear-gradient(135deg,#08345f,#0a5b9a);color:white;padding:70px 9%;display:flex;flex-direction:column;justify-content:center}.auth-brand .eyebrow{font-size:15px;opacity:.9}.auth-brand h1{font-size:43px;line-height:1.25;margin:16px 0 28px}.branch-th{font-size:32px;font-weight:700}.branch-en{font-size:25px;color:#d8ebfb;margin-top:3px}.product-name{font-size:21px;margin-top:10px}.auth-wrap{display:grid;place-items:center;padding:28px}.auth-box{width:min(680px,100%);background:white;border:1px solid #dbe5ee;border-radius:18px;padding:30px;box-shadow:0 16px 45px rgba(20,55,90,.1)}.tabs{display:flex;gap:8px;margin-bottom:22px}.tab{flex:1;border:1px solid #b9cad9;background:white;padding:10px;border-radius:8px;color:#385a77}.tab.active{background:#1772c3;color:white;border-color:#1772c3}label{display:block;font-weight:700;margin-bottom:12px}input,select,textarea{width:100%;border:1px solid #c8d5e1;border-radius:8px;padding:9px 11px;background:white;margin-top:4px}.email-group{display:flex}.email-group input{border-radius:8px 0 0 8px}.email-group span{display:flex;align-items:center;padding:0 12px;border:1px solid #c8d5e1;border-left:0;border-radius:0 8px 8px 0;background:#edf2f6}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.span2{grid-column:1/-1}.btn{border:0;border-radius:8px;padding:9px 14px;cursor:pointer}.btn.primary{background:#1772c3;color:white}.btn.outline{background:white;color:#275372;border:1px solid #b8cad9}.btn.danger{background:#b54747;color:white}.full{width:100%}.app{min-height:100vh;display:grid;grid-template-columns:285px 1fr}.sidebar{background:linear-gradient(180deg,#083764,#0b4f87);color:white;padding:20px 16px}.side-brand{padding:10px 12px 24px;border-bottom:1px solid rgba(255,255,255,.15);margin-bottom:16px}.side-brand strong{display:block;font-size:26px;margin:5px 0}.side-brand small{display:block;opacity:.8}nav{display:flex;flex-direction:column;gap:5px}nav button{background:transparent;border:0;color:#dcecff;text-align:left;padding:11px 14px;border-radius:9px;font-size:20px;cursor:pointer}nav button.active,nav button:hover{background:rgba(255,255,255,.14);color:white}.nav-section{font-size:15px;opacity:.55;margin:17px 13px 4px}.topbar{min-height:76px;background:white;border-bottom:1px solid #dbe5ee;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 25px;position:sticky;top:0;z-index:5}.topbar h1{margin:0;font-size:28px}.topbar small{color:#8a9bad}.top-actions{display:flex;align-items:center;gap:8px}.userbox{display:flex;align-items:center;gap:10px;margin-left:6px}.userbox div:first-child{display:flex;flex-direction:column;text-align:right}.avatar{width:42px;height:42px;border-radius:50%;background:#1772c3;color:white;display:grid;place-items:center;font-weight:700}.content{padding:26px}.page{display:none}.page.active{display:block}.page-head{margin-bottom:18px}.page-head h2{font-size:31px;margin:0}.page-head p{margin:3px 0;color:#73869b}.notice,.msg{padding:12px 15px;border-radius:8px;margin-bottom:14px}.notice{background:#e9f4fd;border-left:4px solid #1772c3}.msg.error{background:#fde7e7;color:#a53b3b}.msg.success{background:#e3f4e9;color:#287044}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.stat{background:white;border:1px solid #dbe5ee;border-radius:13px;padding:18px}.stat span{color:#718399}.stat strong{display:block;font-size:38px;color:#0d568f}.card,.download-box{background:white;border:1px solid #dbe5ee;border-radius:14px;padding:20px;margin-bottom:17px}.card h3,.download-box h3{margin:0 0 12px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:14px}.toolbar.left{justify-content:flex-start}.search{max-width:360px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th{background:#f4f7fa;color:#536e88;text-align:left;padding:10px;border-bottom:1px solid #dbe5ee;white-space:nowrap}td{padding:10px;border-bottom:1px solid #eef2f5;vertical-align:top}.badge{display:inline-block;padding:4px 9px;border-radius:20px;font-size:16px;font-weight:700}.green{background:#e3f4e9;color:#287044}.yellow{background:#fff0cf;color:#8a5b08}.red{background:#fde7e7;color:#a53b3b}.blue{background:#e1effc;color:#15558d}.gray{background:#edf1f4;color:#607386}.photo{width:58px;height:70px;border-radius:8px;object-fit:cover;border:1px solid #d6e1eb;background:#eef3f7}.photo-placeholder{width:58px;height:70px;border-radius:8px;background:#eef3f7;display:grid;place-items:center;font-size:28px}.photo-preview{width:120px;height:145px;object-fit:cover;border-radius:10px;border:1px solid #cbd8e4;margin-top:8px}.cards2{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.cards3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.advisor-card,.type-card,.submission-card,.review-card,.milestone-item{background:white;border:1px solid #dbe5ee;border-radius:12px;padding:16px}.advisor-card h3{margin:0;color:#0c548f}.advisor-en{color:#70859b;margin:1px 0 8px}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.steps>div{border:1px solid #dbe5ee;border-radius:10px;padding:12px;display:flex;flex-direction:column}.steps b{color:#0d538e}.submission-card,.review-card{margin-bottom:12px}.file-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px}.milestone-item{display:grid;grid-template-columns:42px 1fr auto;gap:12px;align-items:center;margin-bottom:8px}.milestone-num{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#e1effc;color:#15558d;font-weight:700}.modal{position:fixed;inset:0;background:rgba(5,28,52,.55);z-index:100;display:grid;place-items:center;padding:20px}.modal-box{background:white;width:min(800px,100%);max-height:92vh;overflow:auto;border-radius:16px;padding:24px}.modal-box.small{width:min(520px,100%)}.center{text-align:center}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.icon-btn{width:36px;height:36px;border:0;border-radius:50%;font-size:24px}.checkbox{font-weight:400}.checkbox input{width:auto;margin-right:8px}@media(max-width:1050px){.auth-page{grid-template-columns:1fr}.auth-brand{display:none}.app{grid-template-columns:86px 1fr}.side-brand div,.side-brand small,.side-brand strong,nav span,.nav-section{display:none}nav button{text-align:center}.stats{grid-template-columns:1fr 1fr}.cards2,.cards3,.steps{grid-template-columns:1fr}}@media(max-width:720px){.grid2,.stats{grid-template-columns:1fr}.span2{grid-column:auto}.content{padding:14px}.topbar{align-items:flex-start}.userbox{display:none}.search{max-width:none}}@media print{.sidebar,.topbar,.no-print,.modal{display:none!important}.app{display:block!important}.content{padding:0}.page{display:none!important}.page.active{display:block!important}body{background:white}@page{size:A4;margin:12mm}}


/* ===== Guide page: complete version 2026-09-18.2 ===== */
.guide-page-head{background:linear-gradient(135deg,#f8fbff,#eef7ff);border:1px solid #d7e7f4;border-radius:14px;padding:18px 20px}.guide-page-head h2{color:#0b4f8d}.guide-quote{margin-top:8px;color:#155fa4;font-size:22px;font-weight:700;font-style:italic}.guide-ack-card{border:2px solid #f0c95f;background:#fffdf5}.guide-section-title{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;font-size:25px;font-weight:700;color:#0a5597;margin-bottom:14px;padding-bottom:8px;border-bottom:2px solid #d7e9f8}.guide-section-title>span{background:#0d67b7;color:white;border-radius:8px;padding:2px 9px}.guide-section-title small{font-size:18px;color:#4c78a0;font-weight:600;margin-left:auto}.guide-steps-detailed{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}.guide-step{border:1px solid #d9e6f0;background:linear-gradient(180deg,#f8fbff,#fff);border-radius:12px;padding:12px;min-height:185px}.guide-step-num{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#126fc4;color:#fff;font-weight:700;font-size:21px;margin-bottom:8px}.guide-step b{display:block;color:#0a5597;font-size:20px;line-height:1.2}.guide-step p{margin:8px 0 0;line-height:1.35}.guide-highlight{margin-top:14px;background:linear-gradient(90deg,#fff3c6,#fff9e6);border:1px solid #edd278;border-radius:12px;padding:14px 16px;display:flex;gap:10px;align-items:flex-start;flex-wrap:wrap}.guide-highlight strong{font-size:21px;color:#735a00}.guide-highlight span{flex:1;min-width:280px}.guide-two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px}.guide-note{color:#5f7790;margin-top:-4px}.guide-time-table{border:1px solid #d8e5ef;border-radius:10px;overflow:hidden}.guide-time-table>div{display:grid;grid-template-columns:1fr 1fr}.guide-time-table>div:nth-child(odd){background:#f6faff}.guide-time-table b,.guide-time-table strong{padding:10px 12px}.guide-time-table strong{background:#fff5d7;color:#0d5a9c}.guide-footnote{margin-top:11px;background:#fff7d8;border-radius:8px;padding:10px 12px}.guide-check-list{list-style:none;padding:0;margin:0}.guide-check-list li{position:relative;padding:8px 0 8px 32px;border-bottom:1px solid #edf2f6}.guide-check-list li:last-child{border-bottom:0}.guide-check-list li:before{content:'✓';position:absolute;left:3px;top:7px;width:22px;height:22px;border-radius:50%;background:#26834d;color:#fff;display:grid;place-items:center;font-size:14px;font-weight:700}.guide-check-list code{font-family:inherit;background:#eef5fb;padding:2px 6px;border-radius:5px;color:#0d5796}.guide-do-dont{display:grid;grid-template-columns:1fr 1fr;gap:16px}.guide-do,.guide-dont{border-radius:12px;padding:15px}.guide-do{background:#eef9f2;border:1px solid #cce9d6}.guide-dont{background:#fff1f1;border:1px solid #efcece}.guide-do h3{color:#267448}.guide-dont h3{color:#b43e3e}.guide-do ul,.guide-dont ul{margin:0;padding-left:25px}.guide-do li,.guide-dont li{margin:7px 0}.guide-principles{background:linear-gradient(135deg,#fff9df,#fff2b8);border-color:#efd77f}.guide-principles h3{color:#0b4f8d}.guide-principle-tags{display:flex;flex-wrap:wrap;gap:8px}.guide-principle-tags span{background:white;border:1px solid #ecd57e;border-radius:20px;padding:6px 11px;font-weight:700;color:#19578b}.guide-message-example{background:linear-gradient(135deg,#f4faff,#eaf5ff)}.guide-message-box{background:white;border:1px solid #d7e6f2;border-radius:10px;padding:14px 16px;line-height:1.5;color:#165795}.guide-poster-card{text-align:center}.guide-poster{width:min(100%,1100px);height:auto;border-radius:12px;border:1px solid #d8e4ee;box-shadow:0 5px 20px rgba(28,70,110,.08)}
@media(max-width:1250px){.guide-steps-detailed{grid-template-columns:repeat(4,1fr)}}
@media(max-width:900px){.guide-steps-detailed{grid-template-columns:repeat(2,1fr)}.guide-two-col,.guide-do-dont{grid-template-columns:1fr}.guide-section-title small{margin-left:0;width:100%}}
@media(max-width:560px){.guide-steps-detailed{grid-template-columns:1fr}.guide-time-table>div{grid-template-columns:1fr}.guide-time-table strong{border-top:1px solid #eadfb9}.guide-page-head h2{font-size:26px}.guide-quote{font-size:19px}}
@media print{.guide-steps-detailed{grid-template-columns:repeat(2,1fr)}.guide-two-col,.guide-do-dont{grid-template-columns:1fr}.guide-step{min-height:auto}.guide-poster-card{display:none!important}}
