*{box-sizing:border-box}body{margin:0;background:#f4f8f6;color:#17332d;font-family:-apple-system,BlinkMacSystemFont,"SF Arabic",Arial,sans-serif}.hidden{display:none!important}.screen{min-height:100vh}.welcome{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:28px;background:linear-gradient(160deg,#087f68,#dff3ec)}.brand{font-size:48px;font-weight:900;color:#087f68}.welcome>p{margin-top:0;color:#40665d}.auth{width:min(420px,100%);background:#fff;border-radius:24px;padding:20px;box-shadow:0 12px 40px #174c3b18}.auth input,.sheet input,.sheet textarea{width:100%;padding:14px;border:1px solid #d5e2de;border-radius:14px;font:inherit;margin:7px 0;background:#fff}.auth>div{display:flex;gap:8px;margin:8px 0}.auth>div button,.chips button{border:1px solid #d5e2de;background:#f3f7f5;border-radius:12px;padding:10px 13px;font:inherit}.auth>div button.active,.chips button.active{background:#087f68;color:#fff;border-color:#087f68}.primary{border:0;background:#087f68;color:#fff;border-radius:14px;padding:14px 18px;font:inherit;font-weight:700}.auth .primary{width:100%;margin-top:10px}.auth small{display:block;text-align:center;margin-top:12px;color:#668079}a{color:#087f68}header{position:sticky;top:0;z-index:5;background:#fff;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e3ece9}header b{font-size:20px}header small{display:block;color:#71847f;margin-top:3px}.dot{color:#f0c400;font-size:11px}header button{border:0;background:#eef5f2;border-radius:12px;padding:10px;position:relative}#notifDot{position:absolute;width:8px;height:8px;background:#e44;border-radius:50%;top:7px;right:7px}main{max-width:700px;margin:auto;padding:14px 14px 100px}.distance,.quick,.stats,.actions{display:flex;gap:8px;overflow:auto}.distance button,.quick button{border:1px solid #dce7e3;background:#fff;border-radius:14px;padding:10px 13px;font:inherit}.distance button.active{background:#087f68;color:#fff}.quick{display:grid;grid-template-columns:repeat(4,1fr);overflow:visible;margin:12px 0}.quick button{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:22px}.quick small{font-size:11px}.card,.notice,.profile{background:#fff;border:1px solid #e0e9e6;border-radius:18px;padding:15px;margin:12px 0;box-shadow:0 4px 16px #17332d08}.cardHead{display:flex;gap:10px}.avatar,.thumb{width:48px;height:48px;border-radius:50%;background:#e9f3ef;display:flex;align-items:center;justify-content:center;overflow:hidden;flex:none}.avatar img,.thumb img{width:100%;height:100%;object-fit:cover}.card h3{margin:6px 0}.card p{line-height:1.7;margin:5px 0;color:#506760}.badge,.verified{display:inline-block;border-radius:20px;padding:4px 8px;background:#e9f3ef;font-size:12px}.verified{color:#087f68;background:#e5f7ef}.meta{display:flex;gap:12px;color:#758983;font-size:12px;margin:10px 0}.actions button,.sectionTitle button{border:1px solid #dce7e3;background:#f7faf9;border-radius:10px;padding:9px;font:inherit}.sectionTitle{display:flex;justify-content:space-between;align-items:center}.profile{text-align:center}.profile .avatar{width:84px;height:84px;margin:auto;font-size:32px}.stats{justify-content:space-around;margin:15px 0}.stats div{display:flex;flex-direction:column}.stats small{color:#71847f}.profileMenu button{width:100%;display:flex;justify-content:space-between;border:0;border-top:1px solid #e8efed;background:#fff;padding:15px;font:inherit;text-align:right}.modal{position:fixed;inset:0;background:#0008;z-index:20;display:flex;align-items:flex-end;justify-content:center}.sheet{background:#fff;width:min(700px,100%);max-height:92vh;overflow:auto;border-radius:24px 24px 0 0;padding:18px}.sheetHead{display:flex;justify-content:space-between;align-items:center}.sheetHead button{border:0;background:#eef4f2;border-radius:10px;padding:8px 14px;font-size:20px}.chips{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.full{width:100%}.muted{color:#71847f}.map{height:65vh;border-radius:18px;overflow:hidden}.mapWrap{position:relative}.locate{position:absolute;bottom:16px;right:16px;z-index:400;border:0;background:#fff;border-radius:12px;padding:11px;box-shadow:0 3px 12px #0002}#toast{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);background:#17332d;color:#fff;padding:12px 16px;border-radius:14px;z-index:100;opacity:0;pointer-events:none;transition:.2s}#toast.show{opacity:1}nav{position:fixed;bottom:0;left:0;right:0;height:72px;background:#fff;border-top:1px solid #dfe9e6;display:flex;justify-content:space-around;align-items:center;z-index:10;padding-bottom:env(safe-area-inset-bottom)}nav button{border:0;background:none;font:inherit;color:#71847f;display:flex;flex-direction:column;align-items:center;gap:3px}nav button.active{color:#087f68}nav small{font-size:10px}.fab{width:54px;height:54px;background:#087f68!important;color:#fff!important;border-radius:50%;font-size:28px;box-shadow:0 5px 18px #087f6840}

.userRating{font-size:.78em;white-space:nowrap;color:#d7a400;margin-right:4px}.userRating small{color:#71807c;font-size:.75em}.ratingOnly{display:flex;justify-content:center}.ratingOnly>div{min-width:180px}.ratingOnly b{display:block}

.cameraRow{display:flex;align-items:center;gap:10px;margin:10px 0}.cameraBtn{border:1px solid #d5e2de;background:#f3f7f5;color:#087f68;border-radius:12px;padding:11px 16px;font:inherit;font-weight:700;display:inline-flex;align-items:center;gap:8px}.cameraIcon{font-size:30px;line-height:1;display:inline-flex;align-items:center}.cameraStatusHidden{display:none}.cameraPreview{margin:10px 0;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.cameraPreview img{width:110px;height:110px;object-fit:cover;border-radius:14px;border:1px solid #dce7e3}.cameraPreview button{border:1px solid #e3cfcf;background:#fff6f6;color:#c0392b;border-radius:10px;padding:9px;font:inherit}.cameraModal{position:fixed;inset:0;background:#000e;z-index:50;display:flex;align-items:flex-end;justify-content:center}.cameraSheet{background:#fff;width:min(700px,100%);border-radius:24px 24px 0 0;padding:14px}.cameraSheet video{display:block;width:100%;max-height:62vh;object-fit:cover;background:#000;border-radius:18px}.cameraControls{display:flex;justify-content:center;padding:12px 0 4px}.postImage{display:block;width:100%;max-height:360px;object-fit:cover;border-radius:14px;margin-top:10px}.postImageModal{max-height:55vh}.ratingOnly{display:flex;justify-content:center}.ratingOnly>div{min-width:180px}.ratingOnly b{display:block}

.userRating{cursor:pointer;padding:4px 6px;border-radius:10px;-webkit-tap-highlight-color:transparent}.userRating:active{background:#fff6d6}

.chatBox{display:flex;flex-direction:column;height:min(78vh,640px)}
.chatWho{display:flex;align-items:center;gap:10px}.chatWho .avatar{width:40px;height:40px}
.chatRef{background:#eef6f3;color:#2c5a50;border-radius:12px;padding:8px 12px;font-size:14px;margin:4px 0 8px}
.chatMsgs{flex:1;overflow-y:auto;padding:8px 2px;display:flex;flex-direction:column;gap:8px;-webkit-overflow-scrolling:touch}
.msg{max-width:80%;padding:9px 13px;border-radius:18px;line-height:1.6;word-wrap:break-word;white-space:pre-wrap;display:flex;flex-direction:column}
.msg.theirs{align-self:flex-start;background:#eef3f1;color:#17332d;border-bottom-right-radius:6px}
.msg.mine{align-self:flex-end;background:#087f68;color:#fff;border-bottom-left-radius:6px}
.msg time{font-size:11px;opacity:.7;margin-top:3px}.msg .msgRef{font-size:12px;opacity:.85;border-bottom:1px solid #ffffff40;padding-bottom:4px;margin-bottom:4px}
.msg.theirs .msgRef{border-color:#17332d22}
.chatEmpty{text-align:center;margin:auto}
.chatInput{display:flex;gap:8px;align-items:flex-end;padding-top:8px;border-top:1px solid #e8efed;padding-bottom:env(safe-area-inset-bottom)}
.chatInput textarea{flex:1;margin:0!important;resize:none;max-height:110px;border-radius:20px!important;padding:11px 15px!important}
.chatInput button{width:46px;height:46px;flex:none;border:0;border-radius:50%;background:#087f68;color:#fff;font-size:19px;transform:scaleX(-1)}
.convo{display:flex;align-items:center;gap:12px;cursor:pointer}.convoText{flex:1;min-width:0}.convoText p{margin:3px 0 0;color:#6b7f79;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.convoSide{display:flex;flex-direction:column;align-items:flex-end;gap:6px;color:#8a9a95;font-size:12px}
.badge{display:inline-block;min-width:22px;padding:2px 7px;border-radius:11px;background:#d64545;color:#fff;font-style:normal;font-size:12px;font-weight:700;text-align:center}
.tappable{cursor:pointer}
