/* WerkDok 3.0 — single group profile / no duplicate manager panels. Scoped styling. */
.wdg-v3-profile{--wdg3-ink:var(--text,#142d40);--wdg3-muted:var(--subtext,#577184);--wdg3-surface:var(--surface,#fff);--wdg3-line:var(--border,#d5e5ef);--wdg3-turquoise:#008fa1;--wdg3-ochre:#d3a449;min-width:0;max-width:100%}
.wdg-v3-profile .wdg-v3-breadcrumb{margin:0 0 12px}
.wdg-v3-profile .wdg-v3-hero{min-width:0;overflow:hidden;border:1px solid var(--wdg3-line);border-radius:24px;background:var(--wdg3-surface);box-shadow:0 15px 38px rgba(23,59,77,.07)}
.wdg-v3-profile .wdg-v3-cover{height:146px;background-color:#086f80;background-image:url('./werkdok-group-cover-3ui3.webp');background-position:center;background-size:cover;position:relative;overflow:hidden}
.wdg-v3-profile .wdg-v3-cover-label{position:absolute;left:22px;top:16px;color:rgba(255,255,255,.85);font-size:10px;letter-spacing:.16em;font-weight:700}
.wdg-v3-profile .wdg-v3-header{position:relative;display:flex;gap:23px;padding:20px 30px 10px;align-items:center;min-height:110px}
.wdg-v3-profile .wdg-v3-avatar{box-sizing:border-box;flex:0 0 112px;width:112px;height:112px;display:grid;place-items:center;border:5px solid var(--wdg3-surface);border-radius:27px;margin-top:-62px;background:linear-gradient(140deg,#e8fbfc,#bceced);color:#006578;box-shadow:0 5px 20px rgba(10,62,76,.13);font-size:58px;font-weight:800;position:relative;z-index:1}
.wdg-v3-profile .wdg-v3-heading{min-width:0;flex:1;padding:0 0 8px}
.wdg-v3-profile .wdg-v3-title{font-size:clamp(26px,2.6vw,37px);font-weight:830;line-height:1.2;letter-spacing:-.03em;overflow-wrap:anywhere;color:var(--wdg3-ink);margin:0 0 10px;position:relative}
.wdg-v3-profile .wdg-v3-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;color:var(--wdg3-muted);font-size:13px}
.wdg-v3-profile .wdg-v3-meta span:not(:last-child):not(.wdg-profile-role)::after{content:'·';position:relative;left:10px;opacity:.6}
.wdg-v3-profile .wdg-v3-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:5px 30px 20px}
.wdg-v3-profile .wdg-v3-primary-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}
.wdg-v3-profile .wdg-v3-exit{margin-left:auto;padding-left:18px;border-left:1px solid var(--wdg3-line)}
.wdg-v3-profile .wdg-v3-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:11px;border:1px solid var(--wdg3-line);font-size:13px;font-weight:750;min-height:42px;padding:9px 17px;text-decoration:none;cursor:pointer;white-space:normal;transition:background .16s,border-color .16s}
.wdg-v3-profile .wdg-v3-btn-primary{background:#008b99;border-color:#008b99;color:#fff}
.wdg-v3-profile .wdg-v3-btn-primary:hover{background:#007583}
.wdg-v3-profile .wdg-v3-btn-outline{background:var(--wdg3-surface);color:var(--wdg3-ink);border-color:#7baaba}
.wdg-v3-profile .wdg-v3-btn-outline:hover{background:rgba(0,155,167,.06)}
.wdg-v3-profile .wdg-v3-btn-leave{background:rgba(211,164,73,.12);color:#835910;border-color:#d3a449}
.wdg-v3-profile .wdg-v3-btn-gold{background:#d3a449;color:#14232a;border-color:#bd8e30;min-height:46px;width:100%;font-size:15px}
.wdg-v3-profile .wdg-v3-btn:disabled{opacity:.48;cursor:not-allowed}
.wdg-v3-profile .wdg-v3-outcome:empty{display:none}
.wdg-v3-profile .wdg-v3-outcome{margin:0 30px}
.wdg-v3-profile .wdg-v3-tabs{display:flex;align-items:center;gap:30px;min-height:55px;border-top:1px solid var(--wdg3-line);padding:4px 30px 0;overflow-x:auto}
.wdg-v3-profile .wdg-v3-tab{background:transparent;color:var(--wdg3-muted);font:inherit;font-weight:750;font-size:14px;padding:14px 3px 15px;border:0;border-bottom:3px solid transparent;white-space:nowrap;cursor:pointer}
.wdg-v3-profile .wdg-v3-tab.is-active{color:var(--wdg3-turquoise);border-bottom-color:var(--wdg3-turquoise)}
.wdg-v3-profile .wdg-v3-page{min-width:0;margin-top:21px}.wdg-v3-profile .wdg-v3-page[hidden]{display:none!important}
.wdg-v3-profile .wdg-v3-columns{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(240px,.8fr);gap:20px;align-items:start}
.wdg-v3-profile .wdg-v3-feed,.wdg-v3-profile .wdg-v3-sidebar{min-width:0}
.wdg-v3-profile .wdg-v3-feed .wdg-panel,.wdg-v3-profile .wdg-v3-sidebar .wdg-panel,.wdg-v3-profile .wdg-v3-page>.wdg-panel{background:var(--wdg3-surface);color:var(--wdg3-ink);border-color:var(--wdg3-line);margin:0 0 18px;padding:23px;border-radius:19px;box-shadow:0 9px 21px rgba(25,74,96,.035)}
.wdg-v3-profile .wdg-v3-sidebar h3{font-size:17px}.wdg-v3-profile .wdg-v3-info>p{line-height:1.55;overflow-wrap:anywhere;color:var(--wdg3-muted)}
.wdg-v3-profile .wdg-v3-about-meta{display:flex;flex-wrap:wrap;gap:8px 15px;padding-top:14px;border-top:1px solid var(--wdg3-line);font-size:13px;color:var(--wdg3-muted)}
.wdg-v3-profile .wdg-v3-composer>p{margin:0 0 17px}.wdg-v3-profile .wdg-v3-composer .wdg-write{margin:0}
.wdg-v3-profile .wdg-v3-composer textarea{min-height:120px;padding:16px;border-radius:13px;resize:vertical}
.wdg-v3-profile .wdg-v3-posts{min-height:115px}
.wdg-v3-profile .wdg-v3-admin-section{padding:20px 0;border-top:1px solid var(--wdg3-line)}
.wdg-v3-profile .wdg-v3-admin-section>h3{font-size:17px}.wdg-v3-profile .wdg-v3-admin-section .wdg-member{padding:14px 0}
.wdg-v3-profile .wdg-v3-link{border:0;background:none;padding:0;color:var(--wdg3-turquoise);cursor:pointer;font-weight:700}
.wdg-v3-profile .wdg-v3-state{font-weight:650;color:var(--wdg3-muted)}
.wdg-v3-profile .wdg-profile-role{border-radius:100px;padding:5px 11px;background:#d9f2f4;color:#007e91;font-weight:700;font-size:12px}
.wdg-v3-profile .wdg-social-post{padding:13px 0}.wdg-v3-profile .wdg-social-avatar{background:#d9f0f4}
[data-theme="dark"] .wdg-v3-profile,.dark .wdg-v3-profile{--wdg3-ink:#eaf4f9;--wdg3-muted:#a7c1cd;--wdg3-surface:#132936;--wdg3-line:#335367}
[data-theme="dark"] .wdg-v3-profile .wdg-v3-btn-leave,.dark .wdg-v3-profile .wdg-v3-btn-leave{color:#ffde9b}
[data-theme="dark"] .wdg-v3-profile .wdg-v3-avatar,.dark .wdg-v3-profile .wdg-v3-avatar{background:linear-gradient(140deg,#205b68,#123e4f);color:#e1ffff}
@media(max-width:1080px){.wdg-v3-profile .wdg-v3-columns{grid-template-columns:minmax(0,1fr) 255px}}
@media(max-width:800px){.wdg-v3-profile .wdg-v3-columns{grid-template-columns:1fr}.wdg-v3-profile .wdg-v3-actions{align-items:stretch;flex-direction:column}.wdg-v3-profile .wdg-v3-exit{margin-left:0;padding:12px 0 0;border-left:0;border-top:1px solid var(--wdg3-line)}.wdg-v3-profile .wdg-v3-primary-actions{flex:1}}
@media(max-width:560px){.wdg-v3-profile .wdg-v3-cover{height:120px}.wdg-v3-profile .wdg-v3-header{padding:14px 16px 10px;min-height:100px;gap:12px}.wdg-v3-profile .wdg-v3-avatar{width:78px;height:78px;flex-basis:78px;border-radius:18px;margin-top:-42px;font-size:40px}.wdg-v3-profile .wdg-v3-title{font-size:24px}.wdg-v3-profile .wdg-v3-actions{padding:10px 16px 17px}.wdg-v3-profile .wdg-v3-tabs{padding-left:15px;padding-right:15px;gap:18px}.wdg-v3-profile .wdg-v3-feed .wdg-panel,.wdg-v3-profile .wdg-v3-sidebar .wdg-panel{padding:17px}}
/* Isolate nested group aside from site-wide sidebar selectors. */
.wdg-v3-profile .wdg-v3-sidebar{position:static;top:auto;bottom:auto;width:auto;min-width:0;padding:0;border:0;background:transparent}
