@font-face{font-family:system-thai;src:local('Noto Sans Thai'),local('Tahoma')}*{box-sizing:border-box}body{margin:0;background:#f4f7f6;color:#173c38;font-family:system-thai,system-ui,sans-serif;font-size:16px;line-height:1.65}button,input{font:inherit}button{cursor:pointer;touch-action:manipulation;min-height:46px;border:0;border-radius:12px;padding:10px 18px;font-weight:650}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #eab957;outline-offset:3px}header{background:#0b645a;color:white;padding:18px max(20px,calc((100% - 1140px)/2));display:flex;gap:12px;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px}.brand-icon{font-size:32px;background:#ffffff16;border:1px solid #ffffff30;width:48px;height:48px;display:grid;place-items:center;border-radius:15px}.brand strong{font-size:20px;display:block}.brand small{display:block;color:#c8e6df;font-size:12px}main{max-width:1180px;margin:auto;padding:28px 20px 48px}h1,h2,h3,p{margin-top:0}h1{font-size:30px;line-height:1.4;margin-bottom:12px;letter-spacing:-.5px}h2{font-size:19px;margin-bottom:10px}h3{font-size:17px;margin-bottom:5px}p{color:#5b726e}small,.hint{color:#687c78;font-size:13px}label{display:block;font-weight:600;font-size:14px;margin-bottom:14px}input{width:100%;margin-top:7px;border:1px solid #cddbd6;border-radius:11px;padding:12px 14px;min-height:48px;background:white;color:#173c38;min-width:0}input:focus{border-color:#138b76}.primary{background:#0b7665;color:white;box-shadow:0 4px 12px #0b766518}.primary:hover{background:#075d50}.secondary{background:#edf5f1;border:1px solid #c9dfd5;color:#156657}.ghost{background:#ffffff16;color:white;font-size:13px;white-space:nowrap}.wide{width:100%}.card{background:white;border:1px solid #dce7e1;border-radius:20px;padding:24px;box-shadow:0 4px 18px #173c3804;margin-bottom:18px}.eyebrow{font-size:12px;color:#318673;font-weight:750;letter-spacing:1.4px}.welcome{margin-bottom:24px}.welcome p{margin-bottom:0}.steps{list-style:none;display:flex;padding:0;gap:8px;margin:0 0 22px}.steps li{font-size:13px;padding:8px 13px;border-radius:30px;background:#e7eeea;color:#71817b}.steps .active{color:#0b6d5c;background:#dceee4;font-weight:700}.search-row{display:flex;gap:10px;margin-bottom:10px}.search-row input{margin-top:0}.search-row button{flex-shrink:0;min-width:85px}.list-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:22px 0 14px}.card .list-head{margin-top:0}.list-head h2{margin:0}.badge{font-size:12px;padding:4px 10px;border-radius:20px;background:#eaf0ed;color:#637d73;white-space:nowrap}.green{background:#dff2e8;color:#15705a}.results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.person-result{background:white;border:1px solid #dce7e1;border-radius:16px;text-align:left;padding:18px;display:flex;align-items:center;gap:14px;width:100%;font-weight:400;color:#173c38}.person-result:hover{border-color:#2b8d78}.person-result strong{display:block;font-size:17px}.person-result small{display:block}.avatar{width:42px;height:42px;display:grid;place-items:center;background:#e2efe8;color:#14715f;border-radius:13px;flex-shrink:0;font-weight:800}.person-result .arrow{margin-left:auto;color:#4e8d7a}.empty{grid-column:1/-1;text-align:center;padding:50px 15px;color:#84968e}.empty>span{display:block;font-size:44px}.empty p{font-size:14px;margin-bottom:0}.back,.text-button{background:transparent;color:#14735f;padding:8px 0}.back{margin-bottom:12px}.house-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:22px;align-items:start}.address-card{border-top:4px solid #25816b}.address-card h1{margin-top:10px;font-size:27px}.pills{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.pill{font-size:13px;background:#eef5f1;border-radius:8px;padding:5px 10px}.notice{background:#f0f6f2;border-radius:11px;padding:12px 14px;font-size:13px;line-height:1.7;color:#4f7060}.member{border-top:1px solid #edf1ed;padding:12px 0}.member summary{cursor:pointer;min-height:44px;padding:6px 0}.member.selected summary{font-weight:700;color:#0d7563}.member dl{margin:10px 0 0;display:grid;grid-template-columns:auto 1fr;gap:5px 14px;font-size:14px}.member dt{color:#74877c}.member dd{margin:0;overflow-wrap:anywhere}#map{height:350px;width:100%;border-radius:14px;background:#e5ece6;margin-bottom:14px;z-index:0}.map-card{padding:20px}.coordinate-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.coordinate-fields label{font-size:12px;margin:0}.coordinate-fields input{font-size:15px;padding:10px}.map-card #pinStatus{margin:10px 0 14px}.old-coords{font-size:12px;margin-bottom:12px;color:#6a7e73;overflow-wrap:anywhere}.login-view{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:60px;max-width:950px;margin:45px auto}.intro h1{font-size:45px;margin:20px 0}.intro h1 span{color:#16816a}.login-view h2{margin-bottom:22px}.login-view .primary{width:100%;display:flex;justify-content:space-between}.login-view .hint{text-align:center;margin:14px 0 0}footer{text-align:center;font-size:12px;color:#86958c;padding:20px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#173c38;color:white;border-radius:13px;padding:16px 22px;z-index:2000;max-width:calc(100% - 30px);width:max-content;box-shadow:0 8px 30px #0003}.toast.error{background:#963c32}dialog{width:460px;max-width:calc(100% - 28px);border:0;border-radius:22px;padding:26px;color:#173c38;box-shadow:0 25px 70px #0003}dialog::backdrop{background:#133e3880}.dialog-actions{display:flex;gap:10px;margin-top:22px;justify-content:flex-end}.confirm-coords{background:#e8f2ec;border-radius:12px;padding:14px;font-size:20px;font-weight:700;margin-bottom:16px;overflow-wrap:anywhere}[hidden]{display:none!important}.selected-label{font-size:11px;color:#138168;margin-left:8px}.loading{opacity:.6;pointer-events:none}.pin-dot{width:26px;height:26px;background:#e28438;border:4px solid white;border-radius:50%;box-shadow:0 0 0 7px #e2843833,0 3px 10px #0004}.gps-status{color:#0b7665}@media(min-width:850px){.pin-panel{position:sticky;top:16px}}@media(max-width:700px){header{padding:14px 16px}.brand-icon{width:40px;height:40px}.brand strong{font-size:18px}.brand small{font-size:10px}.ghost{padding:8px 10px}main{padding:23px 14px 34px}h1{font-size:25px}.welcome p{font-size:14px}.card{padding:18px;border-radius:17px}.steps{gap:5px}.steps li{font-size:12px;padding:7px 9px}.results{grid-template-columns:1fr}.house-grid{grid-template-columns:1fr;gap:0}.login-view{grid-template-columns:1fr;gap:20px;margin:10px auto}.intro h1{font-size:33px;margin:12px 0}.intro p{font-size:14px}.login-view .card{margin:0}#map{height:330px}.map-card{padding:14px}.dialog-actions button{flex:1;padding:10px}.toast{bottom:16px;font-size:14px}.coordinate-fields{gap:8px}}

/* Search-result coordinate status: text and symbols remain clear without color. */
.person-result-body{min-width:0;flex:1;overflow-wrap:anywhere}
.coordinate-badge{display:inline-flex;align-items:center;max-width:100%;margin:7px 0 5px;padding:5px 11px;border:1px solid;border-radius:9px;font-size:14px;font-weight:800;line-height:1.5}
.coordinate-done{background:#dcfce7;color:#166534;border-color:#86cda0}
.coordinate-pending{background:#fff1e5;color:#9a3412;border-color:#f1b581}
