.heading-actions{display:flex;align-items:center;gap:8px}
.find-people-btn{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:8px 12px;border:1px solid #9fd4d5;border-radius:999px;background:#ebf9f7;color:var(--teal-dark);font-size:10px;font-weight:900;cursor:pointer}
.find-people-btn span{display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:var(--teal);color:#fff;font-size:15px;line-height:1}
.community-view,.requests-view{overflow:auto;padding:18px 18px 94px;background:linear-gradient(180deg,#effaf7 0,#f7fbff 46%,#fff 100%)}
.community-hero,.requests-hero{position:relative;overflow:hidden;margin-bottom:15px;padding:22px;border-radius:24px;background:linear-gradient(135deg,#064f5d,#088894 58%,#1aae91);color:#fff;box-shadow:0 16px 34px rgba(5,91,106,.2)}
.community-hero:after,.requests-hero:after{content:"";position:absolute;right:-54px;bottom:-74px;width:190px;height:190px;border:30px solid rgba(255,255,255,.1);border-radius:50%}
.community-hero>div,.requests-hero>*{position:relative;z-index:1}.community-hero>span{position:absolute;z-index:1;right:22px;top:22px;display:grid;place-items:center;width:48px;height:48px;border:1px solid rgba(255,255,255,.35);border-radius:16px;background:rgba(255,255,255,.12);font-size:27px}
.community-hero h1,.requests-hero h1{margin:5px 54px 6px 0;font-size:clamp(24px,7vw,34px);letter-spacing:-.035em}.community-hero p,.requests-hero p{margin:0;max-width:570px;color:rgba(255,255,255,.9);font-size:12px;line-height:1.55}.community-hero .eyebrow,.requests-hero .eyebrow{color:#caffdc;font-size:9px;font-weight:900;letter-spacing:.13em}
.community-invite-btn{position:relative;z-index:2;margin-top:14px;padding:9px 13px;border:1px solid rgba(255,255,255,.45);border-radius:999px;background:rgba(255,255,255,.13);color:#fff;font-size:9px;font-weight:900;cursor:pointer;backdrop-filter:blur(8px)}
.community-profile-card,.request-section{display:grid;gap:14px;margin-bottom:17px;padding:17px;border:1px solid #c8e3dc;border-radius:20px;background:rgba(255,255,255,.94);box-shadow:0 10px 24px rgba(10,73,78,.07)}
.visibility-switch{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center}.visibility-switch span{display:grid;gap:4px}.visibility-switch strong{font-size:13px}.visibility-switch small,.community-tagline small{color:var(--muted);font-size:9px;line-height:1.45}
.visibility-switch input{position:relative;width:46px;height:26px;margin:0;appearance:none;border:1px solid #aac9c5;border-radius:999px;background:#dfe9e7;cursor:pointer;transition:.2s}.visibility-switch input:before{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.2);transition:.2s}.visibility-switch input:checked{border-color:var(--teal);background:var(--teal)}.visibility-switch input:checked:before{transform:translateX(20px)}
.community-tagline{display:grid;gap:7px}.community-tagline>span{display:flex;justify-content:space-between;font-size:10px;font-weight:900}.community-tagline textarea,.sheet-dialog textarea,.sheet-dialog select{width:100%;padding:12px;border:1px solid #bdd8d3;border-radius:13px;background:#fff;color:var(--ink);font:inherit;line-height:1.45;resize:vertical}.compact-action{justify-self:start;min-height:40px;padding:10px 16px;border-radius:12px}
.community-heading{margin:22px 2px 10px}.community-search{margin-bottom:13px}.member-grid,.request-list{display:grid;gap:11px}
.member-card,.request-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center;padding:14px;border:1px solid #cee3df;border-radius:18px;background:#fff;box-shadow:0 7px 19px rgba(13,69,76,.06)}
.member-avatar{display:grid;place-items:center;width:50px;height:50px;overflow:hidden;border-radius:17px;background:linear-gradient(145deg,#08798a,#12aa83);color:#fff;font-size:14px;font-weight:900}.member-avatar img{width:100%;height:100%;object-fit:cover}
.member-avatar.small{width:42px;height:42px;border-radius:14px;font-size:12px}.member-identity{grid-column:1/-1;display:flex;min-width:0;gap:11px;align-items:center}.member-identity>div{min-width:0}.member-identity strong,.member-identity small{display:block}.member-identity strong{overflow:hidden;color:var(--ink);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.member-identity small{margin-top:3px;color:var(--muted);font-size:9px}.member-tagline{grid-column:1/-1;margin:0;color:#315e5d;font-size:9px;line-height:1.45}.member-card>.primary-action,.member-card>.secondary-action{grid-column:1/-1;width:100%;min-height:38px}.empty-state.compact{grid-column:1/-1;padding:24px 16px}
.member-copy{min-width:0}.member-copy strong,.member-copy small,.member-copy em{display:block}.member-copy strong{overflow:hidden;color:var(--ink);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.member-copy small{margin-top:3px;color:var(--muted);font-size:9px}.member-copy em{margin-top:6px;color:#315e5d;font-size:9px;font-style:normal;line-height:1.4}
.member-actions,.request-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}.member-actions button,.request-actions button{flex:1;min-width:100px;min-height:36px;padding:8px 10px;border:1px solid #a8d8d3;border-radius:11px;background:#edf9f7;color:var(--teal-dark);font-size:9px;font-weight:900;cursor:pointer}.member-actions button.primary,.request-actions button.primary{border-color:var(--teal);background:var(--teal);color:#fff}.member-actions button:disabled{cursor:default;opacity:.72}
.requests-hero{background:linear-gradient(135deg,#183b68,#125d75 55%,#058b83)}.request-section{gap:10px}.request-section .section-heading{margin:0}.request-list .empty-state{padding:20px 12px}.request-card time{grid-column:1/-1;color:var(--muted);font-size:8px}
.conversation-menu-btn{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border:0;border-radius:50%;background:#e6f5f3;color:var(--teal-dark);font-size:21px;cursor:pointer}.conversation-avatar.peer{background:linear-gradient(145deg,#08798a,#1ab087)}.conversation-avatar.support{background:linear-gradient(145deg,#173d68,#08798a)}
.conversation-kind-badge{display:inline-flex;align-items:center;gap:4px}.conversation-kind-badge:before{content:"";width:5px;height:5px;border-radius:50%;background:#14a36f}
.action-dialog .primary-action,.action-dialog .secondary-action{display:flex;justify-content:center;align-items:center;width:100%;margin-top:10px;cursor:pointer}.action-dialog .primary-action[hidden],.action-dialog .secondary-action[hidden]{display:none}.share-app-action{gap:10px}.share-app-action span{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#1db954;color:#fff;font-size:9px;font-weight:900}
.share-help{display:block;margin-top:12px;color:var(--muted);font-size:9px;line-height:1.5}.boundary-notice{margin:14px 0;padding:12px;border:1px solid #eed18d;border-radius:13px;background:#fff8df;color:#694d12;font-size:10px;line-height:1.5}.decision-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.decision-actions button{width:100%;margin:0}.decision-dialog.warning #decisionConfirmBtn{background:#bb6b0a}.decision-dialog.danger #decisionConfirmBtn{background:#b52f35}
.conversation.peer-conversation .conversation-avatar{background:linear-gradient(145deg,#08798a,#1aae91)}.conversation.support-conversation .conversation-avatar{background:linear-gradient(145deg,#173d68,#08798a)}.conversation-kind{display:inline-flex;margin-left:6px;padding:2px 6px;border-radius:999px;background:#e6f6f2;color:#17685d;font-size:7px;font-style:normal;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.message-actions-btn{min-width:28px;min-height:28px}.external-share-preview{max-height:120px;overflow:auto;margin:10px 0;padding:10px;border-radius:10px;background:#f1f6f5;white-space:pre-wrap}
.bottom-nav{grid-template-columns:repeat(4,1fr)}.bottom-nav button{min-width:0}.bottom-nav b{font-size:8px}
@media(min-width:760px){
  body{padding:20px;background:radial-gradient(circle at 10% 10%,#d9f4ed 0,transparent 34%),radial-gradient(circle at 90% 90%,#d9edf7 0,transparent 38%),#eaf3f4}
  .app-shell{width:min(960px,calc(100vw - 40px));max-width:960px;height:min(860px,calc(100vh - 40px));border-radius:28px;box-shadow:0 28px 80px rgba(9,48,63,.2)}
  .app-header{padding-inline:24px}.chat-list-view,.community-view,.requests-view{padding-inline:28px}.member-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.community-profile-card{grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);align-items:center}.community-profile-card .compact-action{grid-column:2;justify-self:end}.request-section{padding:20px}.request-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .conversation-view{width:min(720px,100%);margin:0 auto;border-left:1px solid var(--line);border-right:1px solid var(--line);background:#f7fbfb}.conversation-header{padding-inline:18px}.message-stream{padding-inline:24px}
}
@media(max-width:420px){
  .community-view,.requests-view{padding-inline:12px}.community-hero,.requests-hero{padding:18px}.community-hero>span{right:17px;top:17px}.community-hero h1,.requests-hero h1{font-size:23px}.find-people-btn{padding-inline:9px}.find-people-btn{font-size:0}.find-people-btn span{font-size:15px}.member-card,.request-card{padding:12px}.bottom-nav b{font-size:7px}
}
