
:root{--ink:#193e34;--paper:#f6f4ed;--gold:#af9256;--line:#e3e4d9;--muted:#6b786f;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #af9256;outline-offset:3px}svg{width:22px;height:22px;flex-shrink:0}header{height:92px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:30px;padding:0 max(5%,calc((100vw - 1180px)/2));background:var(--paper)}.brand{display:flex;align-items:center;gap:12px;letter-spacing:2px;font-size:15px;font-weight:700}.brand small{display:block;font-size:9px;letter-spacing:3px;color:var(--muted);margin-top:5px}.brand-mark{font-family:Georgia,serif;font-size:32px;border:1px solid var(--gold);border-radius:50%;width:46px;height:46px;display:inline-grid;place-items:center;color:var(--gold)}.desktop-nav{display:flex;gap:28px;font-size:13px;color:var(--muted)}.desktop-nav a.active{color:var(--ink);border-bottom:2px solid var(--gold);padding:12px 0}.bell{border:1px solid var(--line);width:42px;height:42px;display:grid;place-items:center;border-radius:50%}main{max-width:1180px;margin:auto;padding:38px 24px 60px}.hero{background:#173f35;border-radius:8px;color:#f5f1e3;display:grid;grid-template-columns:1.15fr 1fr;overflow:hidden;min-height:370px}.hero-copy{padding:48px 0 48px 48px;z-index:1}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;text-transform:uppercase;color:var(--muted)}.hero .eyebrow{color:#d2bd8c}.hero h1{font-family:Georgia,serif;font-size:clamp(36px,4.4vw,60px);line-height:1.08;letter-spacing:-1.5px;font-weight:400;margin:20px 0}.hero p{color:#bacbc1;font-size:14px;line-height:1.8}.cream,.primary{display:inline-flex;align-items:center;justify-content:center;gap:16px;border:0;padding:14px 20px;border-radius:5px;font-size:13px;font-weight:700}.cream{background:#ece4ce;color:var(--ink);margin-top:12px}.primary{background:var(--ink);color:white}.course-art{position:relative;overflow:hidden;background:radial-gradient(ellipse at 80% 30%,#315b45,transparent 60%)}.fairway{position:absolute;background:#52734d;border-radius:50%;width:230px;height:600px;transform:rotate(35deg);left:130px;top:10px;opacity:.55}.green{position:absolute;background:#91a071;border-radius:50%;width:200px;height:120px;left:95px;top:150px;transform:rotate(-22deg);box-shadow:0 0 0 24px #74865b55}.bunker{position:absolute;background:#d5c499;width:65px;height:130px;border-radius:60% 30% 60% 40%;left:300px;top:220px;transform:rotate(35deg)}.flagpole{position:absolute;width:2px;background:#efe8d7;height:150px;left:196px;top:56px}.flag{position:absolute;width:58px;height:36px;left:198px;top:56px;background:#d9b771;clip-path:polygon(0 0,100% 50%,0 100%)}.course-art>span{position:absolute;right:26px;bottom:24px;text-align:right;font-size:9px;letter-spacing:3px;line-height:1.8;color:#d4dbbd}.stats{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--line);padding:26px 0;margin-bottom:28px}.stats>div{display:flex;align-items:center;gap:14px;padding:0 28px;border-right:1px solid var(--line)}.stats>div:first-child{padding-left:0}.stats>div:last-child{border:0}.stats b{font-family:Georgia,serif;font-weight:400;font-size:34px}.stats span{font-size:11px;color:var(--muted);line-height:1.6}.section{margin:25px 0 36px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.section-head a{font-size:11px;color:var(--muted)}h2{font-family:Georgia,serif;font-weight:400;font-size:25px;margin:0 0 18px}h2 svg{vertical-align:middle;margin-right:8px}.section-head h2{margin:0}h3{font-size:16px;margin:10px 0}p{line-height:1.6;color:var(--muted);font-size:14px}.event-card{display:flex;align-items:center;gap:22px;background:#fffefa;border:1px solid var(--line);border-radius:8px;padding:23px;transition:transform .15s,box-shadow .15s}.event-card:hover{transform:translateY(-2px);box-shadow:0 5px 20px #173f3509}.event-card>svg{margin-left:auto;color:var(--gold)}.event-copy{min-width:0}.event-copy h3{font-family:Georgia,serif;font-size:24px;font-weight:400;margin:7px 0}.event-copy p{font-size:12px;margin:3px 0 8px}.date-tile{background:#edf0e5;border-radius:5px;width:65px;min-width:65px;height:75px;text-align:center;display:flex;flex-direction:column;justify-content:center;gap:4px}.date-tile b{font-family:Georgia,serif;font-size:30px;font-weight:400}.date-tile span{text-transform:uppercase;letter-spacing:1px;font-size:10px}.small{font-size:11px;color:var(--muted);line-height:1.6}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:30px}.panel,.message{background:#fffefa;border:1px solid var(--line);border-radius:8px;padding:24px;margin-bottom:18px}.quiet{min-height:180px}.quiet a{font-size:12px}.empty{min-height:180px;background:#ebece1;border:1px dashed #ced2c3;border-radius:8px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px}.empty svg{color:#9ca88d;width:30px;height:30px}.empty h3{font-family:Georgia,serif;font-size:20px;font-weight:400}.empty p{font-size:12px;margin:0;max-width:300px}.page-heading{margin:18px 0 30px}.page-heading h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(32px,4vw,48px);letter-spacing:-1px;margin:14px 0}.filters{display:flex;gap:10px;margin:24px 0;flex-wrap:wrap}button{background:transparent;border:1px solid #cdd3c6;border-radius:6px;padding:12px 16px;color:var(--ink);min-height:44px}.filters button{border-radius:30px;font-size:12px;padding:10px 20px}.filters .active,.rsvp .selected{background:var(--ink);color:#fff}.events{display:grid;gap:14px}.footnote{font-size:12px;margin-top:24px}.back{display:inline-block;font-size:13px;margin:10px 0}.tags{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}.tags span{border:1px solid #d9decf;background:#e9eddf;border-radius:20px;padding:8px 14px;font-size:11px}.rsvp{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.people{display:flex;gap:8px;flex-wrap:wrap}.people span{font-size:12px;background:#eff0e8;border-radius:4px;padding:9px}.note{white-space:pre-wrap}.message-head{display:flex;gap:12px;align-items:center}.message-head b{font-size:13px}.message-head p{margin:4px 0 0}.message-body{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink)}.avatar{display:inline-grid;place-items:center;flex-shrink:0;background:#e7ecdf;color:#526746;border-radius:50%;width:38px;height:38px;font-size:12px}.avatar.large{width:65px;height:65px;font-family:Georgia,serif;font-size:25px}.members{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.member{text-align:center}.member p{margin:5px}.member h3{overflow-wrap:anywhere}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:24px}.two-cols .photo-grid{grid-template-columns:1fr 1fr}.photo-grid a{position:relative;border-radius:8px;overflow:hidden;background:#e6e7df;aspect-ratio:1}.photo-grid img{width:100%;height:100%;object-fit:cover}.photo-grid span{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#000b);color:white;padding:25px 12px 12px;font-size:12px}.composer{margin-bottom:24px}label{display:block;font-size:13px;margin:14px 0;font-weight:600}input,textarea,select{display:block;width:100%;margin-top:9px;border:1px solid #d9ddcf;border-radius:5px;background:white;padding:12px;font-size:16px;color:var(--ink)}textarea{resize:vertical}.composer label{margin-top:0}.composer button{margin-top:14px}.upload{margin-top:25px;max-width:600px}.album-filter{max-width:400px;margin-bottom:25px}.check{display:flex;gap:10px;align-items:center}.check input{width:20px;margin:0}summary{cursor:pointer;font-weight:600;font-size:14px;min-height:24px}.button-row{display:flex;gap:10px;flex-wrap:wrap}ol{font-size:14px;line-height:2;color:var(--muted)}footer{max-width:1132px;margin:0 auto;padding:25px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:10px;letter-spacing:2px}footer span{letter-spacing:0;color:var(--muted)}.bottom-nav{display:none}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;max-width:90%;background:#193e34;color:white;padding:15px 20px;border-radius:8px;box-shadow:0 8px 25px #0002;font-size:13px;transition:.2s;z-index:50}#toast.show{opacity:1;transform:translate(-50%,0)}.loading,.welcome{text-align:center;padding:90px 24px}.welcome .primary{margin:15px}.welcome h1{font-family:Georgia,serif;font-weight:400}
@media(max-width:760px){header{height:76px;padding:0 20px}.desktop-nav{display:none}.brand{font-size:13px}.brand-mark{width:39px;height:39px;font-size:27px}main{padding:22px 18px 35px}.hero{min-height:350px;display:block;position:relative}.hero-copy{padding:30px 25px;position:relative;max-width:90%}.hero h1{font-size:40px}.hero p{font-size:12px;max-width:240px}.course-art{position:absolute;inset:0 0 0 40%;opacity:.38}.course-art>span{display:none}.fairway{left:80px}.green{left:60px;top:180px;width:150px}.flagpole{left:135px;top:90px}.flag{left:137px;top:90px;width:40px}.cream{font-size:12px;padding:13px 16px}.stats{padding:20px 0}.stats>div{display:block;text-align:center;padding:0 10px}.stats b{font-size:27px;display:block}.stats span{font-size:9px;display:block;margin-top:6px}.two-cols{grid-template-columns:1fr;gap:22px}.event-card{gap:14px;padding:17px 13px}.event-copy h3{font-size:20px}.event-card>svg{width:17px}.event-copy p{font-size:11px}.small{font-size:10px}.date-tile{width:52px;min-width:52px;height:65px}.date-tile b{font-size:26px}.eyebrow{font-size:9px}.section-head a{font-size:10px}.section-head h2,h2{font-size:23px}.members{grid-template-columns:1fr 1fr;gap:10px}.member{padding:20px 10px}.photo-grid{grid-template-columns:1fr 1fr}.panel,.message{padding:20px}.page-heading{margin-top:10px}.page-heading h1{font-size:34px}.page-heading p{font-size:13px}.rsvp{display:grid;grid-template-columns:1fr}.rsvp button{font-size:14px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:20;background:#fffefa;border-top:1px solid var(--line);padding:10px 4px calc(10px + env(safe-area-inset-bottom));justify-content:space-around}.bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:6px;color:#7b887e;font-size:9px;min-width:54px;min-height:40px}.bottom-nav a.active{color:var(--ink);font-weight:bold}.bottom-nav a.active svg{stroke-width:2.2}.bottom-nav svg{width:21px;height:21px}footer{margin:0 20px 95px;display:block;line-height:2}footer span{display:block}#toast{bottom:95px;width:max-content;max-width:90vw}.button-row{flex-direction:column}.button-row button{width:100%}.note{font-size:14px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}



.brand-mark{position:relative;flex:0 0 auto;border:0;border-radius:0;width:56px;height:58px;font-size:0;overflow:visible;background:url("/brand") center/contain no-repeat}.login-logo{display:block;width:190px;height:210px;object-fit:contain;margin:0 auto 14px}.branding-preview{height:150px;max-width:210px;object-fit:contain;display:block;margin:12px auto}.branding-form input[type=file]{display:block;width:100%;max-width:100%;margin:12px 0}.branding-help{font-size:.86rem;line-height:1.5;color:var(--muted)}.branding-form .primary{margin-top:8px}

.bell{width:auto;min-width:42px;padding:0 12px;display:flex;gap:8px;align-items:center;justify-content:center;text-decoration:none;font-size:13px;font-weight:700;white-space:nowrap}.bell svg{width:19px;height:19px}.hero-branding-link{display:inline-block;color:#e3cd96;font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:4px;margin:10px 0 16px}@media(max-width:390px){.bell{font-size:12px;padding:0 8px;gap:5px}.bell svg{width:16px;height:16px}}

/* Uitnodigingen en toestellen */
.member-activation{list-style:none;padding:0;margin:18px 0}.member-activation li{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:11px 0;border-bottom:1px solid var(--line);font-size:13px}.member-activation li span{color:var(--muted);text-align:right;overflow-wrap:anywhere}.member-activation li strong{overflow-wrap:anywhere}.invite-wa{display:inline-flex;align-items:center;justify-content:center;background:#193e34;color:white;border-radius:6px;padding:12px 16px;font-size:13px;font-weight:700;min-height:44px}#invite-dialog{border:1px solid var(--line);border-radius:12px;padding:24px;width:min(96vw,560px);max-height:90vh;color:var(--ink);background:var(--paper);box-shadow:0 20px 70px #0003}#invite-dialog::backdrop{background:rgba(8,22,17,.65)}#invite-dialog h2{font-family:Georgia,serif;font-size:25px;font-weight:400;overflow-wrap:anywhere}#invite-dialog textarea{display:block;width:100%;max-height:37vh;resize:vertical;line-height:1.5;padding:12px;margin:15px 0;border:1px solid var(--line);border-radius:6px;background:#fffefa}#invite-dialog .button-row{display:flex;gap:10px;flex-wrap:wrap}#invite-dialog .button-row>*{flex:1;min-width:130px}@media(max-width:700px){.member-activation li{display:block}.member-activation li span{display:block;text-align:left;margin-top:4px}#invite-dialog{padding:18px}.hero-branding-link{margin-bottom:4px}}

.member-activation li{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}.member-activation li>div{flex:1;min-width:150px}.member-activation li span{display:block;text-align:left}.small-button{white-space:nowrap;font-size:12px;padding:8px 11px;min-height:36px}@media(max-width:550px){.member-activation li{align-items:flex-start}.small-button{margin-top:5px}}

.mobile-welcome{max-width:480px;margin:0 auto;padding:30px 18px 60px;text-align:center}.mobile-welcome .login-logo{width:150px;height:166px;margin-bottom:8px}.mobile-welcome h1{font-size:32px}.mobile-welcome .panel{padding:22px;text-align:left}.mobile-welcome .panel h2{font-size:19px;margin-top:0}.mobile-welcome .panel button.primary{width:100%;font-size:16px;min-height:52px}.mobile-welcome .panel input{font-size:19px;letter-spacing:1.5px;text-align:center}.mobile-welcome details.legacy-login{margin-top:20px}.mobile-welcome details summary{cursor:pointer;font-size:13px}.mobile-welcome .underlined{text-decoration:underline;text-underline-offset:3px}.mobile-welcome #quick-status,.mobile-welcome #join-status{font-size:14px;color:#a44c24;line-height:1.5}.mobile-welcome .small{font-size:12px;max-width:370px;margin:18px auto}

.install-banner{background:#e8eee5;border:1px solid #a9bda9;border-radius:9px;margin:0 0 25px;padding:20px 23px}.install-banner strong{font-size:16px}.install-banner p{font-size:13px;line-height:1.6;margin:10px 0}.install-banner .button-row{display:flex;gap:10px;flex-wrap:wrap}.install-banner button{min-height:44px}.install-banner [hidden]{display:none!important}#install-hint{padding:12px;margin-top:14px;border-left:3px solid #af9256;background:#fffefa}@media(max-width:760px){.install-banner{padding:18px;margin-bottom:18px}}

/* Vereenvoudigde groepsonboarding */
.group-join{max-width:470px}.group-join .panel{margin-top:16px}.group-join #group-form label{font-size:15px;font-weight:700}.group-join #group-form input{width:100%;font-size:19px;letter-spacing:0;text-align:left;margin-top:9px}.group-join [hidden]{display:none!important}.group-join .group-code{display:block;padding:16px;margin:20px 0;border:2px solid var(--gold);border-radius:8px;text-align:center;font-family:monospace;font-size:24px;letter-spacing:2px}.group-join .group-browser-tip{background:#f9e9ce;border-color:#e5c37f}.group-join .group-browser-tip p{font-size:13px;line-height:1.5}.group-join #group-status{color:#914621;font-size:13px}.group-join #join-panel{padding:25px}.group-join #continue{width:100%;min-height:52px}

.easy-install{margin:18px 0 22px;padding:18px 14px;border:1px solid #b7c8b8;background:#eef3e8;border-radius:8px;text-align:left}.easy-install h3{font-size:19px;line-height:1.4;margin:0 0 10px}.easy-install p,.easy-install li{font-size:14px;line-height:1.6}.easy-install ol{padding-left:23px}.easy-install li{margin-bottom:7px}.easy-install button{width:100%;min-height:50px}.easy-install [hidden]{display:none!important}.easy-install #install-feedback{color:#24683f}.group-browser-tip #copy-invitation-link{font-size:13px}.group-join #continue{min-height:50px}
.admin-section{padding-top:12px;margin-top:24px;border-top:1px solid var(--line)}.admin-section>h2{font-family:Georgia,serif;font-size:24px;margin-bottom:5px}.admin-detail>summary{cursor:pointer;font-size:15px;font-weight:700;padding:2px 0}.admin-detail[open]>summary{margin-bottom:15px}.admin-detail .admin-event-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.admin-event-links a{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line);border-radius:6px;padding:11px;font-size:13px}.admin-event-links a span{font-size:18px}.admin-detail .panel{margin-top:15px}.date-range-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}@media(max-width:680px){.admin-detail .admin-event-links{grid-template-columns:1fr}.date-range-fields{grid-template-columns:1fr}}

.composer-fresh{padding:22px;border:1px solid #d9dfd5;background:#fffefa;border-radius:12px;box-shadow:0 2px 12px rgba(19,55,44,.04)}
.composer-title{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.composer-title>div{display:flex;flex-direction:column;gap:4px}
.composer-title strong{font-size:15px}
.composer-title span:not(.avatar){font-size:12px;color:var(--muted)}
.composer-avatar{background:#dce8de;color:#1e523f;font-weight:700}
.composer-text-label{display:none}
.composer-fresh textarea{width:100%;border:0;border-radius:9px;background:#f5f7f1;padding:15px;resize:vertical;font-size:15px;min-height:95px;line-height:1.5}
.composer-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
.composer-actions button{white-space:nowrap;min-height:44px}
.add-message-photo,.photo-picker{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 14px;border:1px solid #bfcebd;border-radius:8px;color:#174636;background:#eef4e9;font-size:13px;font-weight:700;cursor:pointer;min-height:44px;position:relative}
.add-message-photo:focus-within,.photo-picker:focus-within{outline:2px solid var(--gold);outline-offset:2px}
.add-message-photo input,.hidden-photo-input{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.composer-note{font-size:11px!important;color:#6e786f;margin-top:9px!important}
.message-photo-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:11px 0}
.message-photo-preview[hidden]{display:none}
.message-photo-preview .preview-image{background:#ecede8;border-radius:8px;overflow:hidden;position:relative;aspect-ratio:1}
.message-photo-preview .preview-image img{width:100%;height:100%;object-fit:cover}
.message-photo-preview .preview-image span{position:absolute;bottom:0;left:0;right:0;background:#163e35bb;color:white;font-size:10px;padding:5px;text-align:center}
.message-fresh{border:1px solid #e3e8df;background:linear-gradient(180deg,#fffefa 0%,#fdfcf8 100%);border-radius:13px;box-shadow:0 3px 17px rgba(24,54,42,.045);padding:20px 22px;margin:0 0 15px}
.message-fresh .message-head{gap:11px;align-items:center}
.message-avatar{width:42px;height:42px;min-width:42px;display:grid;place-items:center;border-radius:50%;background:#e9ddbd;color:#234e3a;font-weight:700;font-size:14px}
.message-identity{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
.message-identity b{font-size:14px}
.message-time{font-size:11px;color:var(--muted)}
.message-event{font-size:10px;font-weight:700;border-radius:30px;background:#edf1e9;padding:7px 10px;white-space:nowrap;color:#4e634f;max-width:45%;overflow:hidden;text-overflow:ellipsis}
.message-fresh .message-body{font-size:15px;line-height:1.6;margin:15px 0 12px}
.message-photo-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:14px;overflow:hidden;border-radius:10px}
.message-photo-gallery.photo-count-1{grid-template-columns:1fr}
.message-photo-gallery a{display:block;aspect-ratio:4/3;overflow:hidden;background:#dde5da}
.message-photo-gallery.photo-count-1 a{aspect-ratio:16/10}
.message-photo-gallery.photo-count-3 a:first-child{grid-row:span 2;aspect-ratio:auto}
.message-photo-gallery img{width:100%;height:100%;object-fit:cover;display:block}
.album-upload .album-file-row{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin:15px 0}
.album-file-row [data-photo-filename]{font-size:12px;color:var(--muted)}
.album-upload h3{margin-top:0}
.album-upload>p:first-of-type{font-size:13px;color:var(--muted)}
.album-upload .photo-picker{margin:0}
@media(max-width:680px){.composer-fresh{padding:15px}.message-fresh{padding:17px 15px}.message-event{max-width:43%}.message-fresh .message-body{font-size:14px}.composer-actions{gap:6px}.add-message-photo{padding:10px}.composer-actions button{padding:10px 12px}}

.my-profile{padding:24px;border-radius:13px;border:1px solid #d7e1d2;margin-bottom:24px;background:#fffefa}.my-profile-title{display:flex;gap:18px;align-items:center;margin-bottom:24px}.my-profile-title h2{font-family:Georgia,serif;font-size:27px;font-weight:500;margin:5px 0}.my-profile-title p{font-size:13px;color:var(--muted);margin:0}.my-profile-avatar img,.my-profile-avatar .avatar{width:90px;height:90px;border-radius:50%;font-size:28px;object-fit:cover}.avatar-photo{display:block;border-radius:50%;width:42px;height:42px;object-fit:cover;background:#dbe6d9;border:2px solid #fff}.avatar-photo.large{width:90px;height:90px}.member-with-avatar .avatar-photo.large,.member-with-avatar .avatar-initials.large{width:90px;height:90px;margin:0 auto 14px;object-fit:cover;border:2px solid #e2e9df}.member-with-avatar h3{font-size:19px;margin:10px 0 4px}.member-with-avatar .avatar-initials.large{display:grid;place-items:center}.my-profile .profile-form{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px;align-items:end}.my-profile .profile-form label{margin:0}.my-profile .profile-form label:nth-child(3){max-width:220px}.my-profile .profile-form button{min-height:48px}.field-help{display:block;font-size:11px;line-height:1.5;font-weight:400;color:var(--muted);margin:3px 0 6px}.profile-photo-form{border-top:1px solid var(--line);margin-top:25px;padding-top:16px}.profile-photo-form h3{font-size:17px;margin:0 0 6px}.profile-photo-form>p{font-size:13px;color:var(--muted)}.profile-photo-form form{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:14px}.profile-photo-picker{display:inline-flex;min-height:44px;align-items:center;position:relative;border:1px solid #bfcebd;background:#eef4e9;border-radius:7px;padding:11px 15px;font-size:13px;font-weight:700;cursor:pointer}.profile-photo-picker input{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.profile-photo-picker:focus-within{outline:2px solid var(--gold);outline-offset:2px}.profile-filename{font-size:12px;color:var(--muted);flex:1;min-width:120px}.profile-photo-form form button{min-height:44px}.profile-photo-preview[hidden]{display:none}.profile-photo-preview img{width:66px;height:66px;border-radius:50%;object-fit:cover}.profile-photo-remove{background:transparent;color:var(--muted);font-size:12px;text-decoration:underline;border:0;padding:9px 0;margin-top:8px}.message-avatar-wrap{display:block;flex:none;width:42px;height:42px}.message-avatar-wrap .avatar{width:42px;height:42px}.composer-title .avatar{width:43px;height:43px;object-fit:cover}@media(max-width:680px){.my-profile{padding:16px}.my-profile-title{gap:13px;margin-bottom:18px}.my-profile-title h2{font-size:24px}.my-profile-avatar img,.my-profile-avatar .avatar{width:70px;height:70px}.my-profile .profile-form{grid-template-columns:1fr}.my-profile .profile-form button{width:100%}.profile-photo-form form{gap:10px}.profile-filename{font-size:11px}}
.profile-save-status{grid-column:1/-1;min-height:1em;font-size:13px;color:#24683f;line-height:1.5;margin:0}.profile-save-status:not(:empty){background:#f0f5ef;padding:9px;border-radius:6px}

.member-card-grid{gap:15px}
.friend-card{display:flex;flex-direction:column;align-items:center;text-align:center;border-radius:13px;transition:box-shadow .15s ease,transform .15s ease;border:1px solid #e2e7dc;min-height:250px;cursor:pointer}
.friend-card:hover{box-shadow:0 7px 21px rgba(20,65,40,.12);transform:translateY(-1px)}
.friend-card:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.friend-card.self-card{border:2px solid #a7bda5;background:#f7faf3}
.friend-card h3{margin-top:10px}
.friend-card-cta{font-size:12px;font-weight:700;color:#2e654e;margin-top:auto;padding-top:10px}
.friend-back{display:inline-flex;margin-bottom:15px}
.friend-profile-detail{border-radius:13px;padding:24px;background:#fffefa}
.friend-profile-header{display:flex;gap:22px;align-items:center;margin-bottom:22px}
.friend-profile-header .avatar.large{width:96px;height:96px;min-width:96px;object-fit:cover;border-radius:50%;display:grid;place-items:center}
.friend-profile-header h1{font:400 clamp(26px,5vw,39px)/1.2 Georgia,serif;margin:5px 0}
.friend-profile-header p{margin:0;font-size:13px;color:var(--muted)}
.friend-profile-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;border-top:1px solid var(--line);padding-top:18px}
.friend-profile-facts>div{min-width:0}
.friend-profile-facts span{display:block;color:var(--muted);font-size:12px;margin-bottom:5px}
.friend-profile-facts strong{font-size:15px;overflow-wrap:anywhere}
.friend-edit{border-radius:12px;margin-top:15px}
.friend-edit h2{font-size:21px;margin:0 0 8px}
.friend-edit .profile-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:end;margin-top:16px}
.friend-edit .profile-form label{margin:0;min-width:0}
.friend-edit .profile-form input{width:100%;max-width:100%}
.friend-edit .profile-form button{min-height:48px}
.friend-edit .profile-photo-form{margin:0;border-top:0;padding-top:5px}
.friend-readonly{text-align:center;margin-top:22px}
@media(max-width:680px){.friend-profile-detail{padding:18px}.friend-profile-header{gap:15px}.friend-profile-header .avatar.large{width:75px;height:75px;min-width:75px}.friend-profile-facts{grid-template-columns:1fr;gap:12px}.friend-profile-facts>div{display:flex;justify-content:space-between;gap:12px}.friend-edit .profile-form{grid-template-columns:1fr}.friend-edit .profile-form button{width:100%}.friend-card{min-height:230px}}


/* Bambam groepschat - tekstballonnen en mobiele bediening */
.chat-shell{max-width:880px;margin:0 auto;display:flex;flex-direction:column;height:min(78vh,800px);min-height:560px;border:1px solid #cddacf;border-radius:16px;overflow:hidden;background:#ecf1e9;box-shadow:0 10px 36px rgba(19,55,44,.075)}
.chat-topbar{display:flex;align-items:center;gap:12px;background:#f8faf5;border-bottom:1px solid #d4dfd3;padding:14px 19px;flex:none}
.chat-topbar-icon{display:grid;place-items:center;background:#1b503b;color:#fff;height:45px;width:45px;border-radius:50%;font-size:20px;flex:none}
.chat-topbar-copy{flex:1;min-width:0}
.chat-topbar h1{font-family:Georgia,serif;font-size:22px;font-weight:500;margin:0 0 3px;line-height:1.2}
.chat-topbar p{margin:0;font-size:11px;color:#688071}
.chat-search-toggle{width:42px;height:42px;display:grid;place-items:center;font-size:30px;line-height:1;background:#e9efe6;border:0;border-radius:50%;color:#1b503b}
.chat-search-row{padding:9px 17px;background:#fbfbf8;border-bottom:1px solid #d4dfd3}
.chat-search-row[hidden]{display:none}
.chat-search{display:block;border:1px solid #c6d8c6;background:#fff;width:100%;border-radius:7px;padding:10px 13px;font-size:14px;outline-offset:1px}
.chat-feed{padding:20px 22px 25px;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#b4c4b5 transparent;background-color:#e8efe6;background-image:radial-gradient(#b5c9b62d 1.1px,transparent 1.1px);background-size:23px 23px}
.chat-day{display:flex;justify-content:center;margin:17px 0 21px}
.chat-day span{background:#f8faf4d9;box-shadow:0 1px 3px #38523b13;color:#657968;border-radius:8px;padding:6px 12px;text-transform:capitalize;font-size:11px}
.chat-line{display:flex;align-items:flex-end;gap:8px;margin:0 0 14px;max-width:100%}
.chat-other{justify-content:flex-start}
.chat-own{justify-content:flex-end}
.chat-speaker-avatar{align-self:flex-end;flex:0 0 34px;margin-bottom:27px}
.chat-speaker-avatar .avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:12px;object-fit:cover}
.chat-message-wrap{display:flex;flex-direction:column;align-items:flex-start;max-width:min(75%,570px);position:relative;min-width:0}
.chat-own .chat-message-wrap{align-items:flex-end}
.chat-bubble{background:#fffefa;border:1px solid #e2e9e1;box-shadow:0 2px 5px #3d5e4410;padding:10px 12px 7px;border-radius:12px 12px 12px 3px;max-width:100%;min-width:110px;word-break:break-word}
.chat-own .chat-bubble{background:#d9f0d4;border-color:#c6e5c0;border-radius:12px 12px 3px 12px}
.chat-author{display:block;font-size:12px;line-height:1.4;font-weight:700;color:#326548;margin-bottom:5px}
.chat-bubble-text{margin:0;color:#1b3b31;line-height:1.48;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}
.chat-bubble-meta{display:flex;gap:4px;align-items:center;justify-content:flex-end;font-size:10px;color:#718575;line-height:1.3;margin-top:6px}
.chat-own .chat-bubble-meta{color:#597a5e}
.chat-quote{border-left:3px solid #9aaf8c;background:#edf2e9;padding:7px 10px;border-radius:5px;margin:0 0 8px;max-width:100%}
.chat-own .chat-quote{background:#cce6c7}
.chat-quote strong,.chat-quote span{display:block;overflow:hidden;text-overflow:ellipsis}
.chat-quote strong{font-size:11px;color:#365744;margin-bottom:4px}
.chat-quote span{font-size:11px;color:#576c5b;white-space:nowrap}
.chat-bubble-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;max-width:400px;overflow:hidden;margin-top:7px;border-radius:7px}
.chat-bubble-photos.photo-count-1{grid-template-columns:1fr}
.chat-bubble-photos a{display:block;aspect-ratio:4/3;overflow:hidden;background:#cad7c8}
.chat-bubble-photos.photo-count-1 a{aspect-ratio:16/11}
.chat-bubble-photos.photo-count-3 a:first-child{grid-row:span 2;aspect-ratio:auto}
.chat-bubble-photos img{display:block;width:100%;height:100%;object-fit:cover}
.chat-message-tools{display:flex;flex-wrap:wrap;gap:5px;margin:4px 0 0}
.chat-message-tools button{border:0;background:#e3eae0b8;color:#456a54;border-radius:20px;font-size:10px;min-height:27px;padding:5px 9px;line-height:1.3}
.chat-message-tools button:hover,.chat-message-tools button:focus-visible{background:#d0e1cd}
.chat-message-tools .chat-delete-button{color:#945952}
.chat-reaction-list{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-top:5px}
.chat-reaction-chip{display:inline-flex;align-items:center;gap:4px;border:1px solid #cbd9ca;border-radius:20px;background:#f9fdf7;padding:4px 8px;font-size:13px;min-height:28px}
.chat-reaction-chip span{font-size:10px;color:#54685b}
.chat-reaction-chip.selected{background:#dcf1d8;border-color:#7bad80}
.chat-reaction-picker{display:flex;flex-wrap:wrap;align-items:center;gap:1px;background:#fffefa;border:1px solid #d3dfd2;border-radius:14px;padding:6px;margin-top:5px;box-shadow:0 5px 16px #1b4a352a;max-width:340px}
.chat-reaction-picker[hidden]{display:none}
.chat-reaction-picker button{border:0;background:transparent;padding:4px;font-size:20px;line-height:1.3;border-radius:8px;min-width:32px}
.chat-reaction-picker button:hover{background:#e6eee3}
.chat-form{background:#f8faf6;border-top:1px solid #ceddce;padding:11px 13px 9px;flex:none}
.chat-entry-row{display:flex;align-items:flex-end;gap:8px}
.chat-entry{border:1px solid #d0ddd0;background:white;border-radius:21px;resize:none;flex:1;min-width:0;max-height:140px;min-height:43px;line-height:1.4;padding:11px 15px;font-size:14px}
.chat-attach,.chat-emoji-button{display:grid;place-items:center;position:relative;border:0;border-radius:50%;width:42px;height:42px;min-width:42px;flex:none;background:#eaf0e5;color:#285840;font-size:22px;cursor:pointer}
.chat-attach input{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.chat-attach:focus-within{outline:2px solid #af9256;outline-offset:2px}
.chat-send{border:0;border-radius:50%;height:43px;width:43px;min-width:43px;display:grid;place-items:center;background:#1d523d;color:white;font-size:24px;line-height:1;transform:none}
.chat-send:disabled{opacity:.55}
.chat-emoji-picker{display:flex;flex-wrap:wrap;gap:6px;margin:7px 0;padding:6px 3px}
.chat-emoji-picker[hidden]{display:none}
.chat-emoji-picker button{background:#fff;border:1px solid #dae1d5;border-radius:8px;font-size:20px;padding:4px 7px}
.chat-reply-preview{display:flex;align-items:center;justify-content:space-between;background:#eaf2e6;border-left:3px solid #85ae82;border-radius:6px;margin-bottom:9px;padding:8px 12px;gap:12px}
.chat-reply-preview[hidden]{display:none}
.chat-reply-copy{flex:1;overflow:hidden}
.chat-reply-copy strong,.chat-reply-copy span{display:block}
.chat-reply-copy strong{font-size:12px;margin-bottom:3px}
.chat-reply-copy span{font-size:11px;color:#66766b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat-reply-preview button{font-size:22px;border:0;background:transparent;color:#52715b}
.chat-photos-preview{margin:0 0 9px}
.chat-send-status{font-size:11px;color:#916437;margin:5px 0 0;min-height:0}
.chat-send-status:empty{display:none}
.chat-empty{text-align:center;margin:60px auto;color:#62746a;max-width:350px}
.chat-empty>span{font-size:39px}
.chat-empty h3{font-family:Georgia,serif;font-size:23px;font-weight:400;color:#325340;margin:12px 0}
.chat-empty p{font-size:13px}
@media(max-width:760px){
 main:has(.chat-shell){padding:10px 8px 86px}
 .chat-shell{height:calc(100dvh - 164px);min-height:410px;border-radius:11px}
 .chat-topbar{padding:10px 12px}
 .chat-topbar-icon{width:39px;height:39px}
 .chat-topbar h1{font-size:19px}
 .chat-feed{padding:13px 9px 17px}
 .chat-message-wrap{max-width:83%}
 .chat-speaker-avatar{flex-basis:27px;margin-bottom:24px}
 .chat-speaker-avatar .avatar{width:27px;height:27px;font-size:10px}
 .chat-bubble{padding:9px 10px 6px;min-width:95px}
 .chat-bubble-text{font-size:13px}
 .chat-author{font-size:11px}
 .chat-message-tools button{font-size:10px;padding:5px 6px;min-height:29px}
 .chat-form{padding:9px 7px}
 .chat-entry-row{gap:5px}
 .chat-attach,.chat-emoji-button{width:35px;height:38px;min-width:35px;font-size:20px}
 .chat-entry{min-height:40px;padding:10px 12px}
 .chat-send{width:39px;min-width:39px;height:39px;font-size:21px}
}

.chat-event-tag{font-size:10px;font-weight:700;background:#ecf2e4;color:#58715c;border-radius:5px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px 7px;margin:0 0 7px}.chat-own .chat-event-tag{background:#c7e4c5}
.chat-pin-label{font-size:10px;color:#6c5432;font-weight:700;margin:0 0 6px;padding:2px 0}.chat-pin-button{color:#6a5834!important}.pinned-home-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px}.pinned-home-card{background:#fffefa;border:1px solid #d9e2d5;border-left:4px solid #9bb68c;border-radius:11px;padding:16px 17px;box-shadow:0 2px 14px #21452f0b}.pinned-home-author{display:flex;align-items:center;gap:10px}.pinned-home-author .avatar{width:36px;height:36px;min-width:36px;object-fit:cover;display:grid;place-items:center}.pinned-home-author>div{display:flex;flex-direction:column;gap:3px}.pinned-home-author strong{font-size:14px}.pinned-home-author span{color:#6c826e;font-size:11px}.pinned-home-card p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6;margin:14px 0}.pinned-home-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.pinned-home-actions a{font-size:12px;font-weight:700;color:#1e6843}.pinned-home-actions button{margin-left:auto;font-size:11px;color:#795d43;background:transparent;border:0;text-decoration:underline}.pinned-photo-badge{font-size:11px;color:#73816f}@media(max-width:650px){.pinned-home-list{grid-template-columns:1fr}}
.push-diagnostics{background:#edf4eb;border:1px solid #cee0ca;border-radius:9px;padding:13px 14px;font-size:13px;line-height:1.6;color:#2a5139;margin:13px 0}.push-panel .button-row{flex-wrap:wrap}.push-panel .small{line-height:1.6;margin-top:13px}

.home-chat-window{max-width:880px;border:1px solid #d0dfd0;border-radius:13px;overflow:hidden;background:#e8efe6;box-shadow:0 3px 15px #153a2812}
.home-chat-feed{display:flex;flex-direction:column;gap:9px;padding:15px;background-image:radial-gradient(#91ac8c22 1px,transparent 1px);background-size:22px 22px}
.home-chat-line{display:flex}.home-chat-line.own{justify-content:flex-end}.home-chat-line.other{justify-content:flex-start}
.home-chat-bubble{max-width:82%;min-width:120px;padding:9px 12px;background:#fffefa;border:1px solid #e0e8dd;border-radius:11px 11px 11px 3px;overflow-wrap:anywhere}
.home-chat-line.own .home-chat-bubble{background:#d9f0d4;border-color:#c6e5c0;border-radius:11px 11px 3px 11px}
.home-chat-bubble strong{display:block;color:#336648;font-size:11px}.home-chat-bubble p{font-size:14px;line-height:1.5;margin:4px 0;white-space:pre-wrap}
.home-chat-bubble time{display:block;font-size:10px;color:#708a75;text-align:right}
.home-chat-bubble small{display:block;font-size:11px}.home-chat-pin{float:right;font-size:11px}.home-chat-empty{margin:20px auto;color:#617466;font-size:13px}
.home-chat-form{background:#f8faf5;padding:10px 13px 4px;border-top:1px solid #d0dfd0}
.home-chat-entry{display:flex;align-items:flex-end;gap:8px}
.home-chat-entry textarea{flex:1;min-width:0;min-height:43px;max-height:110px;border:1px solid #d1e0cf;border-radius:19px;background:white;padding:11px 14px;resize:vertical;font-size:14px}
.home-chat-add{position:relative;display:grid;place-items:center;width:42px;min-width:42px;height:42px;border-radius:50%;background:#e1ecdf;cursor:pointer;font-size:18px}
.home-chat-add input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important}
.home-chat-add:focus-within{outline:2px solid #b8a572}
.home-chat-entry button{width:43px;min-width:43px;height:43px;padding:0;border-radius:50%;font-size:19px}
.home-chat-foot{background:#f8faf5;padding:8px 13px 13px;text-align:right}
.home-chat-foot a{font-size:12px;color:#1d5c3c;font-weight:700}
@media(max-width:650px){.home-chat-feed{padding:10px}.home-chat-entry{gap:6px}.home-chat-form{padding:9px 8px 3px}.home-chat-add{width:37px;min-width:37px}.home-chat-entry button{width:39px;min-width:39px}.home-chat-bubble p{font-size:13px}}


/* Compact clubhuis: UX stap 1 */
.home-welcome{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#173f35;color:#f5f1e3;padding:21px 27px;border-radius:13px;margin-bottom:21px;min-height:112px}
.home-welcome-copy{min-width:0}
.home-welcome .eyebrow{font-size:10px;letter-spacing:1.5px;color:#ddc797}
.home-welcome h1{font:400 clamp(24px,3vw,33px)/1.17 Georgia,serif;letter-spacing:-.4px;margin:7px 0 5px;color:#fff9e8}
.home-welcome p{color:#cbdad0;font-size:12px;line-height:1.45;margin:0}
.home-welcome-link{display:inline-flex;align-items:center;justify-content:center;flex:none;padding:11px 14px;border-radius:9px;background:#f2e9d1;color:#184434;font-size:12px;font-weight:700;white-space:nowrap;min-height:43px}
.home-welcome-link:hover{background:#fff7e7}
.home-chat-section{margin-top:0;margin-bottom:19px}
.home-chat-section .section-head,.home-next .section-head,.home-photos .section-head,.pinned-home .section-head{margin-bottom:10px}
.home-chat-section .section-head h2,.home-next .section-head h2,.home-photos .section-head h2,.pinned-home .section-head h2{font-size:clamp(19px,2.5vw,24px);margin:0}
.home-chat-section .home-chat-feed{padding:12px;gap:7px}
.home-chat-section .home-chat-bubble{padding:8px 11px;min-width:105px}
.home-chat-section .home-chat-bubble p{font-size:13px;line-height:1.4;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
.home-chat-section .home-chat-form{padding:8px 10px 4px}
.home-chat-section .home-chat-foot{padding:5px 12px 10px}
.home-next{margin-top:4px}
.home-photos{margin-top:14px}
.pinned-home{margin-bottom:17px}
.pinned-home-card{padding:12px 14px}
.pinned-home-card p{margin:8px 0;font-size:13px;line-height:1.4;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
.pinned-home-author .avatar{width:30px;height:30px;min-width:30px}
@media(max-width:680px){
 .home-welcome{min-height:0;padding:17px 16px;margin-bottom:18px;gap:11px}
 .home-welcome h1{font-size:24px}
 .home-welcome p{font-size:11px}
 .home-welcome-link{font-size:11px;padding:9px 10px;min-height:38px}
 .home-chat-section .section-head h2,.home-next .section-head h2,.home-photos .section-head h2,.pinned-home .section-head h2{font-size:20px}
}
@media(max-width:370px){.home-welcome{flex-wrap:wrap}.home-welcome-link{margin-top:1px}}


/* UX stap 2 - acties verschijnen alleen op verzoek */
.chat-bubble[data-chat-open]{cursor:pointer}
.chat-bubble[data-chat-open]:hover{filter:brightness(.991)}
.chat-bubble-meta{gap:7px;align-items:center}
.chat-more{display:inline-flex;align-items:center;justify-content:center;min-width:26px;min-height:25px;border:0;border-radius:10px;color:#5c7460;background:transparent;font-size:21px;font-weight:700;line-height:1;padding:0 2px;margin:-5px 0 -4px -5px;cursor:pointer}
.chat-more:hover,.chat-more:focus-visible,.chat-more[aria-expanded="true"]{background:#d0e0cc;color:#24513a;outline-offset:2px}
.chat-other .chat-more{color:#6a8270}
.chat-message-tools[hidden],.chat-reaction-picker[hidden]{display:none!important}
.chat-message-tools{display:flex;flex-wrap:wrap;gap:5px;margin:6px 0 1px;padding:6px;background:#fffefa;border:1px solid #cfddcd;border-radius:13px;box-shadow:0 4px 16px rgba(17,55,32,.10);max-width:min(100%,360px)}
.chat-message-tools button{min-height:38px;border:0;background:#edf3e9;color:#285b41;border-radius:9px;padding:8px 11px;font-size:12px;font-weight:600;line-height:1.2}
.chat-message-tools button:hover,.chat-message-tools button:focus-visible{background:#daebd6}
.chat-message-tools .chat-delete-button{color:#914d48;background:#faefea}
.chat-speaker-avatar{margin-bottom:0}
.chat-reaction-picker{margin-top:6px}
.chat-line{margin-bottom:12px}
@media(max-width:760px){
 .chat-message-tools{padding:5px;max-width:min(100%,305px)}
 .chat-message-tools button{min-height:39px;font-size:11px;padding:8px 10px}
 .chat-more{min-height:29px;min-width:31px}
 .chat-line{margin-bottom:11px}
 .chat-speaker-avatar{margin-bottom:0}
}


/* Chatbalk: gelijke bediening en geen algemene formuliermarges */
.chat-form .chat-entry-row{display:flex;align-items:center;gap:6px}
.chat-form .chat-attach,.chat-form .chat-emoji-button,.chat-form .chat-send{
 box-sizing:border-box;width:44px;min-width:44px;height:44px;min-height:44px;
 margin:0;align-self:center;flex:0 0 44px;line-height:1;display:grid;place-items:center;
}
.chat-form .chat-attach{font-weight:400;padding:0}
.chat-form .chat-entry{
 box-sizing:border-box;min-width:0;flex:1 1 auto;height:44px;min-height:44px;
 margin:0;align-self:center;resize:none;padding:11px 14px;line-height:20px;
}
.chat-form .chat-emoji-button{padding:0}
@media(max-width:760px){
 .chat-form .chat-entry-row{gap:5px}
 .chat-form .chat-attach,.chat-form .chat-emoji-button,.chat-form .chat-send{
  width:42px;min-width:42px;height:42px;min-height:42px;flex-basis:42px;
 }
 .chat-form .chat-entry{height:42px;min-height:42px;padding:10px 12px}
}


/* Stap 3: chatinvoer exact uitlijnen, ook met Samsung-browser */
.chat-form .chat-entry-row{
 display:grid;
 grid-template-columns:42px 42px minmax(0,1fr) 42px;
 align-items:center;
 column-gap:7px;
 padding:0;
 margin:0;
 min-height:46px;
}
.chat-form .chat-attach,
.chat-form .chat-emoji-button,
.chat-form .chat-send{
 display:flex;
 align-items:center;
 justify-content:center;
 position:relative;
 box-sizing:border-box;
 width:42px;
 height:42px;
 min-height:42px;
 min-width:42px;
 max-width:42px;
 padding:0;
 margin:0;
 line-height:1;
 align-self:center;
 justify-self:center;
 border-radius:50%;
 flex:none;
}
.chat-form .chat-attach{font-size:20px;font-weight:400}
.chat-form .chat-emoji-button{font-size:23px}
.chat-form .chat-send{font-size:23px}
.chat-form .chat-entry{
 box-sizing:border-box;
 display:block;
 width:100%;
 min-width:0;
 height:44px;
 min-height:44px;
 max-height:132px;
 margin:0;
 padding:11px 13px;
 border-radius:22px;
 align-self:center;
 resize:none;
 font-size:16px;
 line-height:20px;
 overflow-y:auto;
}
.chat-form .chat-attach input[type="file"]{position:absolute!important;left:50%;top:50%;margin:0!important}
@media(max-width:480px){
 .chat-form .chat-entry-row{grid-template-columns:40px 40px minmax(0,1fr) 40px;column-gap:5px}
 .chat-form .chat-attach,.chat-form .chat-emoji-button,.chat-form .chat-send{width:40px;height:40px;min-height:40px;min-width:40px;max-width:40px}
 .chat-form .chat-entry{height:42px;min-height:42px;padding:10px 12px}
}


/* Clubhuis chatinvoer: dezelfde uitlijning als de volledige chat */
.home-chat-form .home-chat-entry{
  display:grid;
  grid-template-columns:42px minmax(0,1fr) 42px;
  align-items:center;
  column-gap:7px;
  margin:0;
  min-height:46px;
}
.home-chat-form .home-chat-add,
.home-chat-form .home-chat-entry button{
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:center;
  width:42px;
  min-width:42px;
  max-width:42px;
  height:42px;
  min-height:42px;
  padding:0;
  margin:0;
  align-self:center;
  justify-self:center;
  border-radius:50%;
  line-height:1;
}
.home-chat-form .home-chat-add{
  font-size:20px;
  font-weight:400;
}
.home-chat-form .home-chat-entry textarea{
  box-sizing:border-box;
  display:block;
  width:100%;
  min-width:0;
  height:44px;
  min-height:44px;
  max-height:110px;
  margin:0;
  padding:11px 13px;
  align-self:center;
  border-radius:22px;
  resize:vertical;
  font-size:16px;
  line-height:20px;
}
@media(max-width:480px){
 .home-chat-form .home-chat-entry{grid-template-columns:40px minmax(0,1fr) 40px;column-gap:6px}
 .home-chat-form .home-chat-add,.home-chat-form .home-chat-entry button{
  width:40px;min-width:40px;max-width:40px;height:40px;min-height:40px;
 }
 .home-chat-form .home-chat-entry textarea{height:42px;min-height:42px;padding:10px 12px}
}


/* Bambam UX stap 4 — compacte kalender */
.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:13px;flex-wrap:wrap;margin:17px 0}
.calendar-period-tabs{display:inline-flex;align-items:center;gap:3px;background:#e8ece3;padding:4px;border-radius:12px}
.calendar-period-tabs button{border:0;background:transparent;border-radius:9px;min-height:39px;padding:8px 13px;font-weight:700;font-size:12px;color:#596d61;white-space:nowrap}
.calendar-period-tabs button.active{color:#fff;background:#1c4b3a;box-shadow:0 2px 6px #1c4b3a1a}
.calendar-period-tabs button span{font-weight:600;opacity:.8;margin-left:3px}
.calendar-kind-picker{display:flex;align-items:center;gap:9px;margin:0;color:#65746b;font-size:12px;font-weight:500}
.calendar-kind-picker select{margin:0;width:auto;min-width:145px;max-width:170px;padding:9px 29px 9px 11px;height:42px;border-radius:9px;font-size:12px;border-color:#d7ddd3;background:#fffefa}
.calendar-events{display:grid;gap:11px}
.calendar-card{background:#fffefa;border:1px solid #e0e6dc;border-radius:13px;overflow:hidden;box-shadow:0 1px 4px #1b4b3010}
.calendar-card-main{display:flex;align-items:center;gap:13px;min-width:0;padding:14px 16px 12px}
.calendar-card-main:hover{background:#f8faf5}
.calendar-date-tile{flex:0 0 56px;width:56px;height:58px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;background:#eaf0e4;border-radius:8px}
.calendar-date-tile strong{font:400 27px/1 Georgia,serif}
.calendar-date-tile small{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.4px}
.calendar-card-details{display:flex;flex:1;flex-direction:column;min-width:0;gap:4px}
.calendar-kind{font-size:10px;letter-spacing:.5px;text-transform:uppercase;font-weight:700;color:#6f846e}
.calendar-card-title{font:400 clamp(17px,2.1vw,21px)/1.2 Georgia,serif;color:#193e34;white-space:normal}
.calendar-card-place{font-size:11px;line-height:1.4;color:#6b786f}
.calendar-card-chevron{margin-left:auto;font-size:25px;color:#a3b2a5;flex:none}
.calendar-card-footer{border-top:1px solid #eef0e9;padding:9px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px}
.calendar-people-count{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
.calendar-avatars{display:inline-flex;align-items:center;padding-left:7px;flex:none}
.calendar-avatars .avatar{display:grid;place-items:center;width:27px;height:27px;border:2px solid #fffefa;margin-left:-7px;font-size:9px;object-fit:cover}
.calendar-people-label{display:flex;min-width:0;flex-direction:column;gap:2px}
.calendar-people-label strong{font-size:11px;font-weight:700;color:#375846}
.calendar-people-label small{font-size:10px;color:#7a8679;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.calendar-rsvp-shortcut{display:flex;align-items:center;gap:9px;flex:none}
.calendar-rsvp-state{font-size:11px;color:#8b8576;white-space:nowrap}
.calendar-rsvp-state.is-going{color:#286b40;font-weight:700}
.calendar-join{min-height:36px;padding:8px 12px;border-radius:9px;border:1px solid #215b41;background:#215b41;color:#fff;font-size:11px;font-weight:700;white-space:nowrap}
.calendar-join:hover{background:#133e2e}
.calendar-details-link{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 10px;border:1px solid #d1dbcf;border-radius:9px;color:#42694b;font-size:11px;font-weight:700;white-space:nowrap}
.calendar-card-past{opacity:.78}
.calendar-card-past .calendar-date-tile{background:#eceee7}
.calendar-no-events{padding:30px 18px;background:#fffefa;border-radius:11px;border:1px dashed #cfdacc;text-align:center}
.calendar-no-events strong{font-size:14px}
.calendar-no-events p{font-size:12px;margin:8px 0 0}
.calendar-footnote{font-size:11px;color:#78867a;line-height:1.5;margin:18px 0 0}
@media(max-width:700px){
 .calendar-toolbar{align-items:stretch}
 .calendar-period-tabs{flex:1;justify-content:space-evenly}
 .calendar-period-tabs button{flex:1;text-align:center}
 .calendar-kind-picker{flex:none}
 .calendar-card-main{padding:12px 12px 10px;gap:11px}
 .calendar-card-footer{padding:10px 12px}
 .calendar-rsvp-shortcut{gap:7px}
 .calendar-rsvp-state{font-size:10px}
 .calendar-join,.calendar-details-link{font-size:11px;padding:8px 10px}
}
@media(max-width:480px){
 .calendar-kind-picker{width:100%;justify-content:flex-end}
 .calendar-kind-picker select{min-width:160px}
 .calendar-card-footer{flex-wrap:wrap;gap:8px}
 .calendar-people-count{flex-basis:100%}
 .calendar-rsvp-shortcut{width:100%;justify-content:space-between}
 .calendar-join,.calendar-details-link{min-height:38px;padding:8px 13px}
}
