/* ไปทำบุญ Core — extra styles on top of the theme */
.pt-msg{border-radius:16px;padding:14px 18px;margin:0 0 18px;font-weight:500}
.pt-msg-ok{background:#DDF5E8;color:#1D5C3F}.pt-msg-err{background:#FFE1D4;color:#8A3208}
.pt-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.pt-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:center;background:#fff;border-radius:24px;padding:12px;margin:0 0 8px;box-shadow:0 6px 24px rgba(30,27,58,.06)}
.pt-filters input,.pt-filters select{min-height:46px;border:1.5px solid #E4DEF7;border-radius:999px;padding:0 16px;font:inherit;background:#fff}
.pt-filters input[type=search]{flex:1 1 200px}
.pt-check{display:inline-flex;align-items:center;gap:8px;font-size:15px}
.pt-card h3 a{color:inherit;text-decoration:none}
.pt-card .thumb{overflow:hidden}.pt-thumb-img{width:100%;height:100%;object-fit:cover}
.pt-pages{display:flex;gap:6px;justify-content:center;margin-top:20px}
.pt-school .pt-hero-img img{width:100%;max-height:380px;object-fit:cover;border-radius:28px;margin:8px 0 20px}
.pt-facts{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 20px}.pt-facts .card{padding:14px 20px;min-width:120px}.pt-facts strong{display:block;font-family:Mali,sans-serif;font-size:24px}
.pt-school .side .card{margin-bottom:16px}.pt-school .main .card{margin-bottom:20px}
.pt-need{padding:22px;border-radius:24px;display:flex;flex-direction:column;gap:6px}
.pt-need .pt-chip{background:#fff;color:#3A3560;align-self:flex-start}
.pt-need form{display:flex;flex-direction:column;gap:8px;margin-top:6px}
.pt-mini{min-height:42px!important;border-radius:999px!important;padding:0 14px!important;font-size:14px!important}
.pt-qr img{width:100%;height:auto;border-radius:16px;margin-bottom:12px}
.pt-acc{font-size:20px;letter-spacing:.5px}
.pt-share{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.pt-update img{width:100%;height:auto;border-radius:16px;margin-bottom:10px}
.pt-dash-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}
.pt-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}
.pt-row{margin-bottom:14px}.pt-row-head{margin-bottom:10px}
.pt-inline{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin-bottom:10px}
.pt-inline label{display:flex;flex-direction:column;gap:4px;font-size:14px;flex:1 1 160px}
.pt-inline label.pt-check{flex:0 0 auto;flex-direction:row}
.pt-inline input,.pt-inline select{min-height:44px;padding:8px 12px;border:1.5px solid #D9D2EE;border-radius:12px;font:inherit}
.pt-form h2{margin-top:28px}.pt-form h2:first-of-type{margin-top:0}
.pt-login form p{margin:0 0 12px}.pt-login label{display:block;font-weight:500;margin-bottom:4px}
.pt-login input[type=text],.pt-login input[type=password]{width:100%;min-height:48px;border:1.5px solid #D9D2EE;border-radius:14px;padding:0 14px;font:inherit}
.pt-login input[type=submit]{background:#5B4BDB;color:#fff;border:0;border-radius:999px;padding:12px 24px;font:inherit;font-weight:600;cursor:pointer}
details summary{margin-top:8px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

.badge.pt-demo{background:#FFE1D4;color:#8A3208}
.pt-card .thumb img,.pt-upcard .thumb img{width:100%;height:100%;object-fit:cover;display:block}
.pt-upcard{padding:0;overflow:hidden}.pt-upcard .thumb{aspect-ratio:3/2;margin:0}.pt-upcard figcaption{padding:16px 18px;line-height:1.6}
.pt-update img,.pt-hero-img img{width:100%;height:auto;border-radius:18px}
