@font-face{font-family:'TH SarabunPSK';src:url('../fonts/THSarabunPSK.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'TH SarabunPSK';src:url('../fonts/THSarabunPSK-Bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
:root{--baby-blue:#b9dff5;--blue-soft:#eaf6fd;--blue-line:#c8e3f3;--blue-ink:#234a65;--blue-action:#28648c;--bs-body-font-family:'TH SarabunPSK',sans-serif;--bs-body-color:var(--blue-ink)}
body{font-family:'TH SarabunPSK',sans-serif;font-size:24px;line-height:1.45;color:var(--blue-ink);background:linear-gradient(155deg,#f5fbff 0%,#e5f3fc 65%,#d7ecfa 100%);min-height:100vh}
h1,h2,h3,h4,h5,h6,input,button,select,textarea,.btn{font-family:inherit}
a{color:var(--blue-action)}
.btn-custom,.btn-primary{background:var(--baby-blue);border:1px solid #a0cde8;color:#173e59;font-size:25px;font-weight:700;border-radius:14px;padding:10px 28px;transition:background .2s,box-shadow .2s}
.btn-custom:hover,.btn-primary:hover{background:#a2d1ee;border-color:#7cb9de;color:#173e59;transform:none;box-shadow:0 5px 15px #234a6514}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #28648c;outline-offset:4px}
.form-container,.login-container{background:#fff;border:1px solid var(--blue-line);border-radius:22px;box-shadow:0 12px 40px #234a650c;padding:32px;max-width:520px;width:calc(100% - 32px)}
.form-control{font-family:inherit;font-size:24px;border:1px solid #b5d5ea;border-radius:10px;color:var(--blue-ink)}
.form-control:focus{border-color:#74afd4;box-shadow:0 0 0 .2rem #b9dff580}
.menu-bar{background:transparent;padding:24px 12px;display:flex;justify-content:center;flex-wrap:wrap;gap:12px}
.menu-bar a{color:#234a65;background:#d9edfa;border:1px solid #b5d5ea;border-radius:12px;padding:6px 22px;margin:0;font-weight:700}
.menu-bar a:hover{background:#b9dff5;color:#173e59}
.home-shell{max-width:1160px;margin:auto;padding:28px 24px 40px}
.site-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 24px;border:1px solid var(--blue-line);border-radius:20px;background:#ffffffdf}
.site-brand{display:flex;align-items:center;gap:18px}.site-brand img{width:76px;height:76px;object-fit:contain}.site-brand strong{font-size:32px;display:block;line-height:1.1}.site-brand p{font-size:22px;margin:4px 0 0}.header-link{white-space:nowrap;font-weight:700;text-decoration:none}
.hero{margin:24px 0 40px;padding:48px;display:grid;grid-template-columns:1.4fr 1fr;align-items:center;gap:36px;border-radius:28px;border:1px solid #bcdff3;background:linear-gradient(120deg,#fff,#d7edfb)}
.eyebrow{font-size:22px;font-weight:700;letter-spacing:1.5px;color:#416f8c;margin-bottom:12px}.hero h1{font-size:48px;line-height:1.2;font-weight:700;margin-bottom:16px}.hero p{font-size:26px;margin-bottom:24px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.btn-secondary-blue{background:#fff;border-color:#b1d2e8}.hero-art{text-align:center}.hero-art img{width:280px;max-width:100%;height:auto;mix-blend-mode:multiply}
.section-heading{margin:0 0 24px}.section-heading h2{font-size:36px;font-weight:700;margin:0}.section-heading p{margin:6px 0 0;color:#486a80}
.risk-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.risk-card{background:#fff;border:1px solid var(--blue-line);border-radius:20px;overflow:hidden;box-shadow:0 6px 18px #234a6507}.risk-card img{display:block;width:100%;height:220px;object-fit:contain;background:#f5faff;padding:12px}.risk-content{padding:20px 22px 24px}.risk-content h3{font-size:29px;font-weight:700;margin:0 0 8px}.risk-content p{font-size:24px;margin:0}.risk-number{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#dceffc;font-size:23px;margin-right:6px}.site-footer{text-align:center;border-top:1px solid var(--blue-line);margin-top:40px;padding-top:24px;font-size:22px}.site-footer img{max-width:190px;height:auto;margin-bottom:10px}
body.dashboard-page>.container{background:#ffffffcf;border:1px solid var(--blue-line);border-radius:24px;padding:28px;margin-bottom:32px}.dashboard-page .nav{gap:12px}.dashboard-page .nav-link{margin:0!important}.dashboard-page h1{font-size:38px;color:var(--blue-ink)}
@media(max-width:800px){.risk-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{padding:30px;grid-template-columns:1fr}.hero-art img{width:210px}.hero h1{font-size:42px}.site-header{padding:16px}.site-brand p{font-size:20px}.site-brand img{width:60px;height:60px}}
@media(max-width:520px){.home-shell{padding:16px}.site-header{align-items:flex-start;gap:12px}.site-brand{gap:10px}.site-brand strong{font-size:28px}.site-brand p{font-size:19px}.header-link{font-size:21px}.hero{padding:26px 22px;margin-top:18px;gap:24px}.hero h1{font-size:38px}.hero-actions{flex-direction:column}.hero-actions .btn{width:100%}.risk-grid{grid-template-columns:1fr}.section-heading h2{font-size:32px}.risk-card img{height:230px}.form-container,.login-container{padding:24px;margin-top:32px}.site-brand img{width:48px;height:58px}}