/* Subtle forest/sage/cream accents from gemeinschaftsdorf.de; blue and yellow remain. */
:root{--green:#4c6b57;--blue:#387eaf;--muted:#697b70;--line:#e4e9e0;color:#2f4237;background:#fbf8f2}
body{background:#fbf8f2}.sidebar,.topbar{background:#fffdf9}.btn.primary:hover{background:#2f4b3c}.nav-item.active{color:#2f4b3c;background:#e4ebdf}.welcome{background:#edf1e8;border-color:#dbe4d4}.welcome h2{color:#2f4b3c}.login-side{background:linear-gradient(145deg,#edf1e8,#fffdf9 55%,#eef5fa)}
.scope-intro{overflow:hidden}.scope-intro>img.project-photo.large{display:block;width:100%;height:230px;max-width:none;object-fit:cover;border-radius:0}.scope-actions{margin:18px 0 25px;gap:10px}.scope-people-section{margin:24px 0 30px}.scope-people-section .project-section-heading{margin-top:0}.scope-people-section .project-person.is-responsible{background:#edf3e8;border-color:#9fb79a;box-shadow:inset 3px 0 #4c6b57}.responsible-label{color:#385c43;font-weight:650}.scope-projects,.scope-active-tasks{margin:28px 0}.scope-active-tasks .panel-head{flex-wrap:wrap;gap:10px}.scope-details{margin-top:32px}.scope-tabs{margin-bottom:20px}.resource-heading{margin:24px 0 15px}.scope-intro .project-date-range>.text-link{white-space:normal}.scope-intro p{white-space:normal}
.chat-rooms button[data-chat-room]{display:flex;align-items:center;gap:10px;width:100%;padding:11px 10px;min-width:0;text-align:left;border-radius:9px}.chat-rooms .chat-room-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:40px;position:relative;overflow:visible}.chat-rooms .chat-room-avatar>.avatar,.chat-rooms .chat-room-avatar>.project-photo,.chat-rooms .chat-room-avatar>.project-symbol{width:36px;height:36px;margin:0;border-radius:50%;object-fit:cover;display:flex;align-items:center;justify-content:center;font-size:.75rem;flex-shrink:0}.chat-rooms .chat-room-avatar .avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.chat-rooms .chat-avatar-group{display:block;position:relative;min-width:0;width:40px;height:36px}.chat-rooms .chat-avatar-group>.avatar{position:absolute;margin:0;width:25px;height:25px;font-size:.5rem;border:2px solid #fff;left:0;top:0;display:flex;align-items:center;justify-content:center}.chat-rooms .chat-avatar-group>.avatar:nth-child(2){left:16px;top:11px}.chat-rooms .chat-avatar-group>.avatar:nth-child(3){left:0;top:14px}.chat-rooms [data-chat-room]>span:not(.chat-room-avatar):not(.chat-unread-dot){flex:1;min-width:0;overflow-wrap:anywhere;white-space:normal}.chat-rooms [data-chat-room]>.chat-unread-dot{flex:0 0 auto}.private-chat-row{width:100%;min-width:0}.chat-rooms .private-chat-row>button:first-child{width:auto}.chat-rooms .private-chat-row>.chat-archive-button{display:flex;align-items:center;justify-content:center;flex:0 0 32px}
.member-map.osm-member-map{max-width:none;height:min(65vh,600px);min-height:420px;isolation:isolate;z-index:0;margin:16px 0;background:#e4ebdf}.member-map.osm-member-map svg{max-height:none;min-height:0;width:auto}.osm-member-map .leaflet-control-attribution{font-size:11px;line-height:1.5}.member-map-label.leaflet-tooltip{background:#fffef9eb;border:1px solid #cad6c3;border-radius:7px;padding:3px 6px;box-shadow:0 2px 6px #2f4b3c18;white-space:normal;width:max-content;max-width:180px}.map-member-name{display:block;text-align:left;font:600 13px/1.5 "Segoe UI",sans-serif;color:#2f4b3c;white-space:normal;overflow-wrap:anywhere}.map-member-name:hover,.map-member-name:focus-visible{text-decoration:underline}.osm-member-map a{color:#245b8a}.member-filters{flex-wrap:wrap}
@media(max-width:720px){.scope-intro>img.project-photo.large{height:170px}.scope-people-section .project-people{grid-template-columns:1fr}.scope-actions>.btn{flex:1;justify-content:center}.scope-active-tasks .panel-head h2{font-size:1rem}.chat-rooms{display:block;max-height:300px;overflow:auto}.chat-rooms button[data-chat-room]{white-space:normal}.chat-rooms .private-chat-row{min-width:0}.member-map.osm-member-map{height:55vh;min-height:350px}.scope-tabs button{min-height:42px}.scope-details .activity{align-items:flex-start}.project-date-range{align-items:flex-start}}

.chat-rooms [data-chat-room]>span:not(.chat-room-avatar):not(.chat-unread-dot){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.chat-rooms button[data-chat-room]{min-height:58px}.chat-rooms .private-room-heading>.icon-btn{width:28px;height:28px;padding:4px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px}

/* Batch 2: actions stay with the title; chat indicators keep their own geometry. */
.scope-page-head{flex-wrap:wrap;align-items:flex-start;gap:14px}.scope-page-head>div:first-child{flex:1;min-width:340px}.scope-page-head>.row{flex:1 1 540px;min-width:0;max-width:100%;flex-wrap:wrap;justify-content:flex-end;gap:8px}.scope-description-heading{font-size:1.04rem;margin:0 0 15px;color:#2f4b3c}
.chat-rooms [data-chat-room]>.chat-unread-dot,.nav-item>.chat-unread-dot{display:inline-block;flex:0 0 8px;width:8px;min-width:8px;max-width:8px;height:8px;min-height:8px;max-height:8px;aspect-ratio:1;border-radius:50%;padding:0;align-self:center;overflow:visible}
.chat-conversation .chat-messages{height:min(64vh,760px);min-height:320px}.chat-messages .poll-card{max-width:480px;padding:10px 12px;margin-top:8px;border-radius:9px}.chat-messages .poll-options{gap:5px;margin:8px 0}.chat-messages .poll-choice{min-height:34px;padding:6px 10px;font-size:.84rem;line-height:1.4;border-radius:6px}.chat-messages .poll-card small{font-size:.72rem}.chat-messages .poll-card>.btn{padding:4px 0;font-size:.75rem}
@media(max-width:720px){.scope-page-head>.row{flex:1 1 100%;width:100%;justify-content:flex-start}.scope-page-head>.row>.btn{flex:1 1 auto;justify-content:center}.scope-page-head>div:first-child{min-width:0}.chat-conversation .chat-messages{height:min(62dvh,760px);min-height:320px}.chat-messages .poll-card{max-width:100%;padding:9px}.chat-messages .poll-choice{font-size:.82rem}}

.scope-page-head h1{overflow-wrap:anywhere;line-height:1.2}
