:root { color-scheme: light; font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif; background: #f5f8f7; color: #173331; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
.page-shell { width: min(100% - 32px, 980px); margin: 0 auto; padding: 56px 0 36px; }
.hero { text-align: center; padding: 16px 16px 34px; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; color: #0f766e; font-size: .92rem; font-weight: 700; letter-spacing: .04em; }
h1 { margin: 14px 0 10px; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.2; letter-spacing: -.03em; }
.hero p { color: #58716e; margin: 0; font-size: 1.05rem; }
.search-panel, .results-section { background: #fff; border: 1px solid #dce8e5; border-radius: 20px; box-shadow: 0 16px 38px rgba(22, 71, 65, .07); }
.search-panel { padding: 22px; }
.search-box { display: flex; align-items: center; border: 2px solid #a7d8d1; border-radius: 14px; background: #fbfefd; min-height: 58px; padding: 0 10px 0 18px; transition: border-color .15s, box-shadow .15s; }
.search-box:focus-within { border-color: #0f766e; box-shadow: 0 0 0 4px rgba(15, 118, 110, .13); }
.search-icon { font: 700 1.7rem/1 Arial, sans-serif; color: #0f766e; transform: rotate(-18deg); margin-right: 12px; }
input { width: 100%; border: 0; outline: 0; background: transparent; color: #173331; font: inherit; font-size: 1.08rem; }
input::placeholder { color: #8aa09d; }
.clear-button { display: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #e6f2f0; color: #39635e; font-size: 1.5rem; cursor: pointer; }
.clear-button.visible { display: block; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.result-summary { margin: 0; color: #58716e; }
.reset-button, .more-button { border: 0; border-radius: 10px; padding: 9px 13px; color: #0b625b; background: #e3f3f0; font: inherit; font-weight: 700; cursor: pointer; }
.reset-button:hover, .more-button:hover { background: #cfeae5; }
.results-section { margin-top: 22px; overflow: hidden; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 15px 22px; text-align: left; border-bottom: 1px solid #e3eeeb; }
th { background: #f3f8f7; color: #426662; font-size: .9rem; }
td:first-child, th:first-child { width: 108px; text-align: center; color: #58716e; font-variant-numeric: tabular-nums; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #f7fbfa; }
.more-button { display: block; margin: 18px auto; padding-inline: 22px; }
.empty-state { padding: 58px 24px; text-align: center; }
.empty-state h2 { margin: 12px 0 5px; font-size: 1.35rem; }
.empty-state p { color: #58716e; margin: 0; }
.empty-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: auto; border-radius: 50%; background: #e3f3f0; color: #0f766e; font: 700 2rem/1 Arial, sans-serif; transform: rotate(-18deg); }
footer { padding: 0 16px 38px; text-align: center; color: #77908c; font-size: .9rem; }
@media (max-width: 600px) { .page-shell { width: min(100% - 20px, 980px); padding-top: 30px; } .hero { padding-inline: 4px; } .hero p { font-size: .98rem; } .search-panel { padding: 14px; } th, td { padding: 13px 14px; } td:first-child, th:first-child { width: 66px; } }
