.sg-app{--sg-bg:#f5f6f8;--sg-card:#fff;--sg-text:#25282f;--sg-muted:#717783;--sg-border:#e1e4ea;--sg-gold:#e7bc70;background:var(--sg-bg);color:var(--sg-text);font:14px/1.55 Manrope,system-ui,sans-serif;padding:24px;min-width:0;max-width:1600px;margin:auto;box-sizing:border-box}.sg-app *{box-sizing:border-box}.sg-app a{color:inherit;text-decoration:none}.sg-app a:hover{text-decoration:underline}.sg-app h1{font-size:clamp(22px,2.2vw,32px);line-height:1.2;margin:10px 0;overflow-wrap:anywhere}.sg-app h2{font-size:19px;margin:0 0 12px}.sg-app h3{font-size:16px}.sg-toolbar,.sg-toolbar nav,.sg-post:not(.sg-native-post) header,.sg-post-actions,.sg-source,.sg-admin-nav{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.sg-toolbar{justify-content:space-between;margin-bottom:24px}.sg-brand{font-size:25px;font-weight:800}.sg-brand small{font-size:12px;color:var(--sg-muted)}.sg-panel{background:var(--sg-card);border:1px solid var(--sg-border);border-radius:16px;padding:20px;margin-bottom:16px;min-width:0;overflow-wrap:anywhere}.sg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.sg-group-card{padding:0;overflow:hidden}.sg-group-card>div{padding:18px}.sg-card-cover{width:100%;height:160px;object-fit:cover}.sg-badge{display:inline-block;border-radius:20px;padding:4px 10px;font-size:11px;font-weight:700;color:#89591e;background:#f7e8ce}.sg-button,.sg-app button{font:inherit;cursor:pointer;border:1px solid transparent;border-radius:10px;padding:10px 16px;background:var(--sg-gold);color:#000;font-weight:700;min-height:42px;display:inline-flex;align-items:center;justify-content:center}.sg-app .sg-secondary{background:transparent;color:var(--sg-text);border-color:var(--sg-border);font-size:12px;padding:6px 12px}.sg-app button:disabled{opacity:.6;cursor:wait}.sg-app a:focus-visible,.sg-app button:focus-visible{outline:2px solid #ac741e!important;outline-offset:3px!important}.sg-app input:not([type=checkbox]):not([type=radio]),.sg-app textarea,.sg-app select{width:100%;border:1px solid var(--sg-border);border-radius:10px;background:var(--sg-card);color:var(--sg-text);padding:11px;font:inherit;min-width:0;max-width:100%}.sg-app textarea{resize:vertical}.sg-app label{display:block;font-size:13px;margin-bottom:14px}.sg-app label input,.sg-app label textarea{margin-top:6px}.sg-app .sg-check{display:flex;gap:9px;align-items:center;margin:12px 0}.sg-check input{width:18px;height:18px;flex:none}.sg-app .sg-type{display:flex;gap:12px;padding:16px;border:1px solid var(--sg-border);border-radius:12px}.sg-type:has(input:checked){border-color:#c48c35;background:color-mix(in srgb,var(--sg-gold) 9%,var(--sg-card))}.sg-type input{flex:none;width:18px}.sg-type small{display:block;margin-top:5px;color:var(--sg-muted)}.sg-app fieldset{border:0;border-bottom:1px solid var(--sg-border);padding:10px 0 22px;margin-bottom:20px}.sg-app legend{font-weight:800;font-size:18px}.sg-editor{max-width:850px;margin:auto}.sg-group-header{background:var(--sg-card);border:1px solid var(--sg-border);border-radius:16px;overflow:hidden;margin-bottom:20px}.sg-cover{width:100%;height:260px;object-fit:cover;display:block}.sg-identity{display:flex;align-items:center;gap:20px;padding:0 24px 20px}.sg-avatar{width:130px;height:130px;object-fit:cover;border:5px solid var(--sg-card);border-radius:50%;margin-top:-35px;z-index:1;flex:none}.sg-membership{margin-left:auto;min-width:150px}.sg-tabs{display:flex;gap:20px;overflow-x:auto;padding:0 24px;white-space:nowrap;max-width:100%}.sg-tabs a{padding:14px 0;border-bottom:3px solid transparent;font-size:13px;font-weight:700}.sg-tabs a[aria-current]{border-color:#b87e29;color:#9b651d}.sg-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:20px}.sg-stream{min-width:0}.sg-post:not(.sg-native-post) header{justify-content:space-between;margin-bottom:10px}.sg-post:not(.sg-native-post) header small{display:block;color:var(--sg-muted);font-size:11px}.sg-source{font-size:12px;color:var(--sg-muted);margin-bottom:14px}.sg-source .sg-form{margin:0}.sg-copy{white-space:pre-wrap;overflow-wrap:anywhere}.sg-gallery{display:grid;grid-template-columns:2fr 1fr;gap:5px;border-radius:12px;overflow:hidden}.sg-gallery a:first-child{grid-row:span 2}.sg-gallery img{width:100%;height:200px;object-fit:cover;display:block}.sg-gallery a:first-child img{height:100%;min-height:200px;max-height:405px}.sg-gallery a:only-child{grid-column:1/-1}.sg-gallery a:only-child img{max-height:700px;object-fit:contain}.sg-post-actions{border-top:1px solid var(--sg-border);border-bottom:1px solid var(--sg-border);margin:14px 0;padding:10px 0;color:#d74762}.sg-post-actions .sg-form{margin:0}.sg-comment{padding:14px 0;border-bottom:1px solid var(--sg-border)}.sg-comment p{margin:6px 0}.sg-comment .sg-form{display:inline-block;margin-right:8px}.sg-app details>summary{cursor:pointer;font-weight:700;padding:8px 0}.sg-app details[open]>summary{margin-bottom:14px}.sg-member{padding:14px 0;border-bottom:1px solid var(--sg-border)}.sg-member small{display:block;color:var(--sg-muted)}.sg-member .sg-form{display:flex;gap:10px;margin-top:10px}.sg-form{margin:10px 0}.sg-search{display:flex;gap:12px;margin-bottom:20px}.sg-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.sg-media-grid img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}.sg-alert,.sg-notice,.sg-context{border-radius:10px;padding:14px 18px;background:#fce6e5;color:#802b29;overflow-wrap:anywhere}.sg-notice{background:#e3f2e7;color:#285b34}.sg-context{background:#f6e7ca;color:#775017}.sg-muted{color:var(--sg-muted);font-size:12px}.sg-upload-preview{display:flex;gap:8px;flex-wrap:wrap}.sg-upload-preview img{width:90px;height:90px;object-fit:cover;border-radius:8px}.sg-admin-shell{margin:0;background:#f5f6f8;font-family:system-ui}.sg-admin-nav{padding:16px 28px;background:#fff;border-bottom:1px solid #ddd}.sg-admin-nav a{color:inherit}.sg-admin-nav button{padding:8px;border:1px solid #ddd;border-radius:8px;cursor:pointer}
html[data-theme=dark] .sg-app,body.su-theme-dark .sg-app,.su-theme-dark .sg-app{--sg-bg:#16191f;--sg-card:#20242c;--sg-text:#e8eaf0;--sg-muted:#a7adbb;--sg-border:#353a45}.sg-admin-shell:has(.sg-app){color:#25282f}html[data-theme=dark] .sg-admin-shell,html[data-theme=dark] .sg-admin-nav{background:#16191f;color:#e8eaf0}html[data-theme=dark] .sg-badge{background:#4a3923;color:#f4ce91}
@media(max-width:1100px){.sg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sg-layout{grid-template-columns:minmax(0,1fr) 250px}.sg-app{padding:16px}.sg-cover{height:220px}}
@media(max-width:760px){.sg-app{padding:10px 8px 90px}.sg-grid{grid-template-columns:1fr}.sg-layout{grid-template-columns:1fr}.sg-side{order:2}.sg-toolbar{gap:12px}.sg-toolbar nav{gap:10px;font-size:12px}.sg-panel{padding:15px;border-radius:12px}.sg-cover{height:160px}.sg-identity{padding:0 14px 16px;gap:12px;flex-wrap:wrap}.sg-avatar{width:80px;height:80px;margin-top:-25px}.sg-identity>div:first-of-type{flex:1;min-width:0}.sg-membership{margin:0;width:100%}.sg-membership .sg-form{display:inline-block;margin-right:8px}.sg-tabs{gap:18px;padding:0 14px}.sg-identity h1{font-size:22px}.sg-identity p{font-size:12px}.sg-gallery img{height:135px}.sg-gallery a:first-child img{min-height:135px;max-height:275px}.sg-member .sg-form{flex-wrap:wrap}.sg-member select{flex:1}.sg-media-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sg-search{gap:6px}.sg-admin-nav{padding:12px;font-size:13px}}
.sg-app.sg-embedded{padding:0;background:transparent;max-width:none}.sg-embedded .sg-post{margin-bottom:0}
.sg-photo-edit{padding:14px;border:1px solid var(--sg-border);border-radius:10px;margin:10px 0}.sg-photo-edit img{object-fit:cover;border-radius:8px}.sg-gallery{align-items:start}.sg-gallery a:only-child img{height:auto;max-height:600px}

/* Groups use the same fixed portal header and sidebar as the dashboard. */
body[data-page="groups"] .main-area{padding:calc(var(--topbar-h) + 24px) 26px 60px calc(var(--sidebar-w) + 26px)}
body[data-page="groups"] #viewRoot{width:min(100%,1480px);max-width:none;margin:0 auto}
body[data-page="groups"] .sg-app{padding:0;max-width:none;background:transparent}
.sg-toolbar{padding:0 0 20px;border-bottom:1px solid var(--sg-border);margin-bottom:28px}
.sg-toolbar .sg-brand{font-size:20px;letter-spacing:-.5px}
.sg-toolbar nav>a:not(.sg-button){font-size:12px;font-weight:700;color:var(--sg-muted);padding:8px 0}
.sg-toolbar .sg-button{font-size:12px;background:linear-gradient(135deg,#f3d487,var(--sg-gold))}
.sg-create-heading{margin:0 0 24px;max-width:720px}
.sg-eyebrow{font-size:10px;font-weight:800;letter-spacing:.16em;color:#a16a20}
.sg-create-heading h1{font-size:clamp(25px,2.5vw,34px);letter-spacing:-1px;margin:10px 0}
.sg-create-heading>p{color:var(--sg-muted);font-size:13px;margin:0}
.sg-create-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,1fr);gap:24px;align-items:start}
.sg-create-layout [hidden]{display:none!important}
.sg-app .sg-wizard{padding:0;margin:0;overflow:hidden;border-radius:20px;box-shadow:0 8px 26px rgba(30,34,43,.035)}
.sg-wizard>.sg-form{margin:0;padding:26px}
.sg-app .sg-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:18px 20px;border-bottom:1px solid var(--sg-border);background:color-mix(in srgb,var(--sg-bg) 50%,var(--sg-card))}
.sg-app .sg-steps button{display:flex;align-items:center;justify-content:flex-start;gap:9px;background:transparent;color:var(--sg-muted);border:0;padding:5px;font-size:11px;min-height:36px;border-radius:8px}
.sg-steps button>span{display:grid;place-items:center;flex:none;width:27px;height:27px;border-radius:50%;border:1px solid var(--sg-border);background:var(--sg-card);font-size:11px}
.sg-app .sg-steps button[aria-current="step"]{color:var(--sg-text)}
.sg-steps button[aria-current="step"]>span,.sg-steps button.is-complete>span{background:var(--sg-gold);border-color:var(--sg-gold);color:#2b210e}
.sg-app .sg-wizard fieldset{margin:0;padding:0;border:0}
.sg-app .sg-wizard legend{font-size:20px;line-height:1.3;letter-spacing:-.4px;margin:0 0 6px}
.sg-step-description{font-size:12px;color:var(--sg-muted);margin:0 0 24px}
.sg-wizard label{font-size:12px;font-weight:700;margin-bottom:20px}
.sg-wizard input:not([type=checkbox]):not([type=radio]):not([type=file]),.sg-wizard textarea{font-size:13px;background:color-mix(in srgb,var(--sg-bg) 40%,var(--sg-card));padding:12px 14px;border-radius:11px;margin-top:8px}
.sg-wizard textarea[name=short_description]{min-height:90px}
.sg-app .sg-field-hint{display:block;font-size:11px;line-height:1.6;color:var(--sg-muted);font-weight:400;margin-top:6px}
.sg-required{color:#a16a20}.sg-optional{font-size:10px;color:var(--sg-muted);font-weight:400;margin-left:5px}
.sg-wizard h3{font-size:13px;font-weight:800;margin:26px 0 12px}
.sg-wizard .sg-type{position:relative;gap:10px;padding:14px;margin:0 0 10px;border-radius:12px;align-items:center;cursor:pointer}
.sg-wizard .sg-type input{width:16px;height:16px;margin:0;accent-color:#b7802d}
.sg-type-mark{display:grid;place-items:center;flex:none;width:32px;height:32px;background:var(--sg-bg);border:1px solid var(--sg-border);border-radius:10px;font-size:21px;color:#ac772b}
.sg-wizard .sg-type strong{font-size:12px}.sg-wizard .sg-type small{font-size:11px;line-height:1.6;font-weight:400;margin-top:3px}
.sg-privacy-note{display:flex;gap:9px;font-size:10px;line-height:1.65;color:var(--sg-muted);margin:18px 0 0}
.sg-privacy-note>span{font-size:15px;color:#aa782c}
.sg-app .sg-wizard-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:28px;padding-top:20px;border-top:1px solid var(--sg-border)}
.sg-wizard-actions>span{margin-right:auto;color:var(--sg-muted);font-size:10px}.sg-wizard-actions>button:last-child,.sg-wizard-actions>[data-wizard-next]{margin-left:auto}
.sg-app .sg-wizard-actions button{font-size:12px;min-height:42px;gap:14px}
.sg-create-preview{position:sticky;top:calc(var(--topbar-h,74px) + 24px);min-width:0}
.sg-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 14px;flex-wrap:wrap}
.sg-preview-devices{display:flex;gap:3px;background:var(--sg-card);border:1px solid var(--sg-border);border-radius:9px;padding:3px}
.sg-app .sg-preview-devices button{min-height:29px;font-size:10px;padding:4px 9px;background:transparent;color:var(--sg-muted);border-radius:6px}
.sg-app .sg-preview-devices button[aria-pressed="true"]{background:var(--sg-bg);color:var(--sg-text)}
.sg-preview-card{border:1px solid var(--sg-border);border-radius:18px;background:var(--sg-card);overflow:hidden;box-shadow:0 14px 40px rgba(30,34,43,.05);width:100%;margin:0 auto;transition:max-width .2s ease}
.sg-preview-card.is-mobile{max-width:320px}
.sg-preview-cover{position:relative;aspect-ratio:3.8;background:radial-gradient(circle at 80% 20%,rgba(227,186,111,.25),transparent 65%),linear-gradient(125deg,var(--sg-border),var(--sg-bg));overflow:hidden}
.sg-preview-cover img{width:100%;height:100%;object-fit:cover;display:block}
.sg-preview-cover>div{height:100%;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--sg-muted)}
.sg-preview-cover small{font-size:10px}.sg-preview-cover>div>span{font-size:25px}
.sg-preview-identity{position:relative;padding:0 20px 18px}
.sg-preview-avatar{position:relative;display:grid;place-items:center;width:74px;height:74px;margin:-28px 0 14px;background:var(--sg-card);border:4px solid var(--sg-card);border-radius:50%;box-shadow:0 0 0 1px var(--sg-border);overflow:hidden;font-size:24px;font-weight:800;color:#9d6b23}
.sg-preview-avatar>span{display:grid;width:100%;height:100%;place-items:center;background:linear-gradient(135deg,#f5dfb5,#ead3a3)}
.sg-preview-avatar img{width:100%;height:100%;object-fit:cover}
.sg-app .sg-preview-card h2{font-size:21px;line-height:1.25;letter-spacing:-.5px;margin:10px 0 8px;overflow-wrap:anywhere}
.sg-preview-identity>p{font-size:12px;color:var(--sg-muted);line-height:1.7;margin:0 0 12px;white-space:pre-wrap;overflow-wrap:anywhere}
.sg-preview-member{font-size:10px;color:var(--sg-muted)}
.sg-preview-tabs{display:flex;gap:20px;border-top:1px solid var(--sg-border);border-bottom:1px solid var(--sg-border);padding:0 18px;white-space:nowrap;overflow:hidden;font-size:10px;color:var(--sg-muted)}
.sg-preview-tabs>*{padding:13px 0}.sg-preview-tabs>b{color:#9d6b23;border-bottom:2px solid #b7802d}
.sg-preview-welcome{display:grid;justify-items:center;text-align:center;padding:30px 24px;background:color-mix(in srgb,var(--sg-bg) 40%,var(--sg-card))}
.sg-preview-welcome>span{font-size:24px;color:#bc8a3d;margin-bottom:12px}.sg-preview-welcome>strong{font-size:12px}.sg-preview-welcome>p{font-size:11px;color:var(--sg-muted);max-width:240px;margin:6px 0 0;line-height:1.7}
.sg-preview-tip{font-size:10px;color:var(--sg-muted);display:flex;gap:8px;margin:14px 3px;line-height:1.6}.sg-preview-tip>span{color:#a16a20}
.sg-preview-card.is-mobile .sg-preview-cover{aspect-ratio:2.3}
.sg-field-title{display:block;font-size:12px;font-weight:700;margin:0 0 10px}
.sg-app .sg-cover-picker{position:relative;display:grid;place-items:center;min-height:190px;background:radial-gradient(circle at 90% 10%,rgba(231,188,112,.14),transparent 60%),var(--sg-bg);border:1px dashed #bd985c;border-radius:14px;overflow:hidden;cursor:pointer;margin-bottom:0}
.sg-cover-picker>img{width:100%;height:210px;object-fit:cover;display:block}.sg-upload-prompt{display:flex;flex-direction:column;align-items:center;text-align:center;padding:24px;gap:7px;color:var(--sg-text)}
.sg-upload-symbol{font-size:22px;color:#a16a20}.sg-upload-prompt strong{font-size:14px}.sg-upload-prompt small{font-size:11px;font-weight:400;color:var(--sg-muted)}
.sg-upload-cta{display:inline-flex!important;align-items:center;justify-content:center;min-height:34px;padding:7px 13px!important;border:1px solid var(--sg-border);background:var(--sg-card);border-radius:9px;font-size:11px!important;color:var(--sg-text);font-weight:700;cursor:pointer;margin:7px 0 0!important}

.sg-app .sg-file-control{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;opacity:0!important;overflow:hidden;bottom:0;left:50%;border:0!important}
.sg-cover-picker .sg-upload-prompt{position:relative}.has-image .sg-cover-picker .sg-upload-prompt{position:absolute;bottom:0;left:0;right:0;padding:12px;background:linear-gradient(transparent,rgba(0,0,0,.5))}.has-image .sg-cover-picker .sg-upload-prompt>:not(.sg-upload-cta){display:none}
.sg-upload-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:var(--sg-muted);margin-top:9px;min-width:0}.sg-upload-meta>span{overflow-wrap:anywhere}
.sg-app .sg-upload-meta>button{padding:3px 0;min-height:28px;font-size:10px;background:none;color:var(--sg-muted);white-space:nowrap}
.sg-avatar-upload{display:grid;grid-template-columns:94px minmax(0,1fr);gap:20px;align-items:center;margin:28px 0 20px}.sg-avatar-upload p{font-size:11px;color:var(--sg-muted);margin:5px 0}.sg-avatar-upload strong{font-size:12px}
.sg-app .sg-avatar-picker{position:relative;display:grid;place-items:center;width:94px;height:94px;border-radius:50%;border:1px dashed #bd985c;overflow:hidden;cursor:pointer;margin:0;background:var(--sg-bg)}
.sg-avatar-picker>img{width:100%;height:100%;object-fit:cover}.sg-avatar-picker>span{font-size:25px;color:#a16a20}
.sg-publish-summary{padding:18px;background:color-mix(in srgb,var(--sg-gold) 10%,var(--sg-card));border:1px solid color-mix(in srgb,var(--sg-gold) 35%,var(--sg-border));border-radius:12px;margin-top:22px}
.sg-publish-summary>strong{font-size:13px}.sg-publish-summary>p{font-size:12px;line-height:1.7;margin:8px 0}.sg-publish-summary>small{font-size:10px;color:var(--sg-muted)}
html[data-theme=dark] .sg-preview-avatar>span{background:linear-gradient(135deg,#584526,#332b20);color:#edce96}
@media(max-width:1100px){.sg-create-layout{grid-template-columns:minmax(0,1.35fr) minmax(280px,1fr);gap:18px}.sg-wizard>.sg-form{padding:22px}.sg-app .sg-steps{padding:14px 12px}.sg-app .sg-steps button{gap:5px;font-size:10px}}
@media(max-width:900px){.sg-create-layout{grid-template-columns:1fr}.sg-create-preview{position:static;order:-1}.sg-preview-card{max-width:none;display:grid;grid-template-columns:135px minmax(0,1fr)}.sg-preview-cover{aspect-ratio:auto;min-height:155px;grid-row:1/3}.sg-preview-cover>div{padding:15px;text-align:center;flex-direction:column}.sg-preview-identity{padding:16px}.sg-preview-avatar{width:46px;height:46px;margin:0 0 10px;border-width:2px;float:left;margin-right:12px}.sg-preview-tabs{grid-column:2}.sg-preview-welcome{display:none}.sg-app .sg-preview-card h2{font-size:18px}.sg-preview-identity>p{margin:7px 0}.sg-preview-member{display:block}.sg-preview-card.is-mobile{display:block;max-width:320px}.sg-preview-card.is-mobile .sg-preview-cover{min-height:0;aspect-ratio:2.3}.sg-preview-card.is-mobile .sg-preview-avatar{float:none;width:64px;height:64px;margin:-40px 0 10px}.sg-app .sg-steps button{font-size:11px;gap:9px}}
@media(max-width:700px){body[data-page="groups"] .main-area{padding:calc(var(--topbar-h) + 16px) 12px calc(86px + env(safe-area-inset-bottom))}body[data-page="groups"] .sg-app{padding:0}.sg-toolbar{gap:12px;padding-bottom:16px;margin-bottom:22px}.sg-toolbar nav{gap:12px;width:100%}.sg-toolbar nav>a:not(.sg-button){font-size:11px}.sg-toolbar .sg-button{font-size:11px;padding:8px 12px;min-height:38px}.sg-create-heading{margin-bottom:20px}.sg-create-heading h1{font-size:27px}.sg-create-heading>p{font-size:12px}.sg-create-layout{gap:16px}.sg-wizard>.sg-form{padding:20px 16px}.sg-app .sg-wizard legend{font-size:18px}.sg-app .sg-steps{padding:12px 10px}.sg-app .sg-steps button{gap:5px;font-size:10px}.sg-steps button>span{width:23px;height:23px;font-size:10px}.sg-wizard .sg-type{padding:12px;gap:8px}.sg-type-mark{width:27px;height:27px}.sg-preview-card{grid-template-columns:100px minmax(0,1fr)}.sg-preview-identity{padding:13px}.sg-preview-avatar{width:36px;height:36px;margin-right:10px}.sg-preview-cover{min-height:170px}.sg-preview-identity>p{font-size:10px;line-height:1.5}.sg-preview-tabs{gap:12px;padding:0 12px;font-size:9px}.sg-preview-identity .sg-badge{font-size:9px;padding:2px 7px}.sg-app .sg-preview-card h2{font-size:16px;margin:8px 0}.sg-preview-member{font-size:9px}.sg-preview-devices{display:none}.sg-preview-tip{font-size:9px}.sg-upload-prompt{padding:20px 12px}.sg-upload-prompt strong{font-size:13px}.sg-avatar-upload{grid-template-columns:76px minmax(0,1fr);gap:14px}.sg-app .sg-avatar-picker{width:76px;height:76px}.sg-wizard-actions>span{font-size:9px}}
.sg-empty{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:310px;text-align:center;padding:36px 24px}.sg-empty-mark{display:grid;place-items:center;width:62px;height:62px;border-radius:20px;background:color-mix(in srgb,var(--sg-gold) 15%,var(--sg-card));color:#ac772b;font-size:36px;margin-bottom:20px}.sg-empty p{max-width:430px;margin:0 0 20px;color:var(--sg-muted);font-size:12px;line-height:1.8}.sg-empty h2{font-size:21px}

/* Group profile: cover, identity and compact publication stream. */
.sg-app svg{width:20px;height:20px;flex:none;vertical-align:middle}
body[data-page="groups"]:has(.sg-profile) .main-area{padding:var(--topbar-h) 0 60px var(--sidebar-w)}
body[data-page="groups"]:has(.sg-profile) #viewRoot{width:100%;max-width:none}
.sg-profile .sg-toolbar{display:none}
.sg-profile .sg-group-header{border-radius:0 0 12px 12px;border-top:0;border-left:0;border-right:0;overflow:visible;margin:0}
.sg-profile .sg-cover-wrap{height:250px;overflow:hidden;background:var(--sg-border)}
.sg-profile .sg-cover{width:100%;height:100%;object-fit:cover;display:block}
.sg-profile .sg-identity{display:flex;align-items:center;gap:22px;padding:12px 28px 10px;min-height:100px;flex-wrap:nowrap}
.sg-profile .sg-avatar{width:150px;height:150px;flex:none;margin:-72px 0 0;border:5px solid var(--sg-card);border-radius:50%;object-fit:cover}
.sg-group-title{min-width:0;flex:1}.sg-title-line{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.sg-profile .sg-title-line h1{font-size:29px;font-weight:800;line-height:1.2;letter-spacing:-.6px;margin:0;overflow-wrap:anywhere}
.sg-profile .sg-badge{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-size:10px;padding:4px 10px;background:#f6e9d1;color:#8e5b15}
.sg-profile .sg-badge svg{width:13px;height:13px;stroke-width:2}
.sg-member-total{display:flex;align-items:center;gap:7px;font-size:13px;color:var(--sg-muted);margin:7px 0 0;line-height:1.4}
.sg-member-total svg{display:none}.sg-member-total>b{font-size:10px;font-weight:700}
.sg-group-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-left:auto;flex:none}
.sg-app .sg-group-actions>.sg-form{margin:0}
.sg-app .sg-group-actions .sg-button{min-height:42px;padding:9px 17px;font-size:12px;font-weight:800;gap:9px;border-radius:11px;line-height:1.4;white-space:nowrap}
.sg-app .sg-member-button{min-width:142px;background:linear-gradient(115deg,#efcc84,#e4b964);color:#2a1d06;cursor:pointer}
.sg-member-button svg{width:17px;height:17px}.sg-member-button svg:last-child{width:13px;height:13px;margin-left:3px}
.sg-app .sg-invite-button{min-width:115px;background:transparent;color:#97641e;border:1px solid #dfb773}
.sg-invite-button svg{width:18px;height:18px}
.sg-app .sg-icon-button{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:40px;width:40px;padding:8px;background:transparent;color:var(--sg-muted);border:1px solid var(--sg-border);border-radius:11px;cursor:pointer}
.sg-icon-button svg{width:18px;height:18px}.sg-action-menu{position:relative;margin:0}
.sg-action-menu>summary{list-style:none}.sg-action-menu>summary::-webkit-details-marker{display:none}
.sg-app .sg-action-menu>summary{margin:0;padding:9px 13px;font-weight:700}
.sg-app .sg-action-menu>summary.sg-icon-button{padding:8px}
.sg-app .sg-action-menu[open]>summary{margin-bottom:0}
.sg-menu-panel{position:absolute;right:0;top:calc(100% + 9px);z-index:350;width:240px;padding:8px;background:var(--sg-card);color:var(--sg-text);border:1px solid var(--sg-border);border-radius:13px;box-shadow:0 16px 45px rgba(14,22,32,.17);font-size:12px;line-height:1.5;text-align:left;white-space:normal}
.sg-menu-panel>a,.sg-app .sg-menu-panel>button{display:flex;align-items:center;gap:9px;width:100%;padding:10px 11px;background:transparent;color:var(--sg-text);border:0;border-radius:8px;font-size:12px;min-height:36px;text-align:left;justify-content:flex-start;font-weight:500}
.sg-menu-panel>a:hover,.sg-app .sg-menu-panel>button:hover{background:var(--sg-bg);text-decoration:none}
.sg-menu-panel>strong,.sg-menu-panel>small{display:block;padding:9px 11px;font-size:11px}.sg-menu-panel>small{color:var(--sg-muted)}
.sg-menu-panel .sg-form{margin:0}.sg-app .sg-menu-panel .sg-form>button{width:100%;justify-content:flex-start;padding:10px 11px;border:0;min-height:36px;background:none;font-weight:500}
.sg-profile .sg-tabs{gap:28px;padding:0 28px;min-height:48px;margin:0 24px;border-top:1px solid var(--sg-border)}
.sg-profile .sg-tabs>a{font-size:12px;font-weight:700;padding:14px 0 12px;line-height:1.5;color:var(--sg-muted)}
.sg-profile .sg-tabs>a[aria-current]{color:#94621c;border-bottom:2px solid #bc8733}
.sg-profile-content{padding:16px 24px 0;min-width:0}
.sg-profile .sg-layout{grid-template-columns:minmax(0,1fr) 340px;gap:16px;align-items:start}
.sg-profile .sg-panel{border-radius:13px;box-shadow:0 5px 16px rgba(30,40,55,.025);margin-bottom:14px}
.sg-profile .sg-side{align-self:start}.sg-side .sg-about{padding:18px}.sg-side .sg-panel h2{font-size:16px;font-weight:800;margin:0 0 10px}
.sg-about>p{font-size:12px;line-height:1.7;margin:0 0 14px}.sg-about ul{list-style:none;border-top:1px solid var(--sg-border);padding:12px 0 0;margin:0;display:grid;gap:10px}
.sg-about li{display:flex;gap:10px;align-items:flex-start;font-size:12px;color:var(--sg-text)}
.sg-about li>svg{width:17px;height:17px;color:var(--sg-muted);margin-top:1px}.sg-about li small{display:block;color:var(--sg-muted);font-size:10px;line-height:1.6;margin-top:3px}
.sg-people{padding:18px}.sg-people>header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.sg-people>header h2{margin:0!important}.sg-people>header a{font-size:10px;color:#94621c;text-decoration:underline}
.sg-people-avatars{display:flex;align-items:center;gap:8px;overflow:hidden}.sg-people-avatars a{display:block;flex:none}.sg-people-avatars img{width:40px;height:40px;border-radius:50%;object-fit:cover;border:1px solid var(--sg-border)}
.sg-people>p{font-size:11px;color:var(--sg-muted);margin:10px 0 0}
.sg-app .sg-composer-bar{padding:14px 18px 0}.sg-composer-line{display:flex;align-items:center;gap:12px}
.sg-composer-line>img{width:38px;height:38px;border-radius:50%;object-fit:cover;border:1px solid var(--sg-border);flex:none}
.sg-app .sg-composer-prompt{flex:1;display:block;background:var(--sg-bg);color:var(--sg-muted);border:1px solid var(--sg-border);border-radius:24px;min-height:38px;font-size:12px;font-weight:400;text-align:left;padding:9px 17px;min-width:0}
.sg-composer-shortcuts{display:flex;align-items:center;justify-content:space-evenly;gap:12px;padding:9px 0;margin-left:45px}
.sg-app .sg-composer-shortcuts>button,.sg-composer-shortcuts>a{background:none;border:0;display:inline-flex;align-items:center;justify-content:center;gap:8px;color:var(--sg-muted);min-height:30px;font-size:11px;font-weight:600;padding:4px 10px}
.sg-composer-shortcuts svg{width:16px;height:16px}.sg-app .sg-composer-mobile-icon{display:none}
.sg-private-state,.sg-discussion-empty{text-align:center;padding:30px 20px!important}.sg-private-state>svg,.sg-discussion-empty>svg{width:30px;height:30px;color:#ad7b30;margin-bottom:12px}
.sg-private-state h2,.sg-discussion-empty h2{font-size:16px;font-weight:700;margin:0 0 8px}.sg-private-state p,.sg-discussion-empty p{font-size:12px;color:var(--sg-muted);margin:0 0 15px}
.sg-profile .sg-notice{position:fixed;right:24px;bottom:26px;z-index:900;width:auto;max-width:calc(100vw - 32px);padding:10px 18px;box-shadow:0 7px 24px rgba(0,0,0,.1);font-size:12px}
.sg-profile>.sg-alert,.sg-profile>.sg-context{margin:14px 24px}.sg-invite-result{margin:16px 24px!important}.sg-invite-result h2{font-size:16px}.sg-invite-result p{font-size:12px}.sg-invite-result>div:nth-child(2){display:flex;gap:10px}.sg-invite-result>small{display:block;color:var(--sg-muted);margin-top:8px;font-size:10px}
.sg-app .sg-post{padding:16px 18px 0;overflow:visible}.sg-post .sg-post-head{display:flex;align-items:center;gap:10px;margin:0 0 12px;justify-content:initial}
.sg-post-avatar{display:block;flex:none}.sg-post-avatar img{width:38px;height:38px;object-fit:cover;border-radius:50%;border:1px solid var(--sg-border)}
.sg-post-author{flex:1;min-width:0}.sg-post-author strong{font-size:13px;font-weight:800;line-height:1.2}.sg-post-author>.sg-post-time{display:flex;align-items:center;gap:3px;font-size:11px;color:var(--sg-muted);margin-top:3px}.sg-post-time svg{width:12px;height:12px}
.sg-post .sg-post-menu{margin-left:auto}.sg-post .sg-post-menu>summary{border:0;width:30px;min-height:30px;padding:5px!important}
.sg-post-copy{font-size:13px;line-height:1.65;margin:0 0 10px}.sg-post-copy a{color:#9e6c22;text-decoration:underline}
.sg-post .sg-gallery{gap:4px;border-radius:7px;overflow:hidden;margin:0;grid-template-columns:2fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr));height:290px;align-items:stretch}
.sg-post .sg-gallery>a{min-height:0;overflow:hidden}.sg-post .sg-gallery>a:first-child{grid-row:span 2}.sg-post .sg-gallery img,.sg-post .sg-gallery a:first-child img{width:100%;height:100%;min-height:0;max-height:none;object-fit:cover;display:block}
.sg-post .sg-gallery-count-1{height:auto;display:block}.sg-post .sg-gallery-count-1>a{display:block}.sg-post .sg-gallery-count-1 img{width:100%;height:auto;max-height:620px;object-fit:contain}
.sg-post .sg-gallery-count-2{grid-template-columns:1fr 1fr;grid-template-rows:1fr}.sg-post .sg-gallery-count-2>a:first-child{grid-row:1}
.sg-post .sg-gallery-count-4{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));height:auto;max-height:620px}.sg-post .sg-gallery-count-4>a:first-child{grid-row:auto}.sg-post .sg-gallery-count-4 img{aspect-ratio:1.3;height:auto}
.sg-post-stats{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;font-size:11px;color:var(--sg-muted)}
.sg-likes-stat{display:flex;align-items:center;gap:5px}.sg-likes-stat>i{display:grid;place-items:center;width:17px;height:17px;background:#ef4268;color:white;border-radius:50%}.sg-likes-stat svg{width:12px;height:12px;fill:currentColor;stroke-width:1}
.sg-app .sg-post-stats>button{padding:0;min-height:20px;background:none;border:0;color:var(--sg-muted);font-size:11px;font-weight:400}
.sg-post .sg-post-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:3px 0;margin:0;border-top:1px solid var(--sg-border);border-bottom:0;color:var(--sg-muted)}
.sg-post-actions>.sg-form{margin:0;min-width:0}.sg-app .sg-post-action{display:flex;align-items:center;justify-content:center;gap:8px;min-height:36px;width:100%;padding:7px 5px;border:0;background:none;border-radius:8px;color:var(--sg-muted);font-size:11px;font-weight:600;text-decoration:none}
.sg-post-action svg{width:19px;height:19px}.sg-app .sg-post-action:hover{background:var(--sg-bg)}.sg-app .sg-post-action.is-liked{color:#e94068}.sg-post-action.is-liked svg{fill:currentColor}
.sg-post-status{padding:7px 10px;background:var(--sg-bg);font-size:11px;color:var(--sg-muted);border-radius:8px}
.sg-post .sg-comments>summary{display:none}.sg-post .sg-comments[open]{padding:14px 0;border-top:1px solid var(--sg-border)}
.sg-post .sg-comments .sg-comment{font-size:12px}.sg-post .sg-comments .sg-form>button{font-size:11px}
.sg-post .sg-menu-panel .sg-post-tools{padding:5px 10px}.sg-post-tools>summary{font-size:11px}.sg-post-tools .sg-panel{padding:0;border:0;box-shadow:none}.sg-post-tools .sg-form label{font-size:11px}.sg-post-tools .sg-form>button{font-size:11px}
.sg-dialog{width:min(540px,calc(100vw - 24px));max-height:calc(100dvh - 40px);padding:0;border:1px solid var(--sg-border);border-radius:18px;background:var(--sg-card);color:var(--sg-text);box-shadow:0 24px 90px rgba(0,0,0,.24);margin:auto;overflow-y:auto;overscroll-behavior:contain}
.sg-dialog::backdrop{background:rgba(4,11,17,.56);backdrop-filter:blur(3px)}
.sg-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 20px;border-bottom:1px solid var(--sg-border)}
.sg-dialog-head>h2{font-size:18px;font-weight:800;margin:0}.sg-dialog-body{padding:18px 20px}.sg-dialog-body>p{font-size:12px;color:var(--sg-muted);line-height:1.7}
.sg-compose-identity{display:flex;align-items:center;gap:10px;margin-bottom:15px}.sg-compose-identity>img{width:42px;height:42px;border-radius:50%;object-fit:cover;border:1px solid var(--sg-border)}.sg-compose-identity strong{font-size:13px}.sg-compose-identity small{display:block;font-size:10px;color:var(--sg-muted);margin-top:4px}
.sg-app .sg-compose-dialog textarea{border:0;padding:8px 0;background:none;resize:vertical;min-height:140px;font-size:15px;line-height:1.65}.sg-compose-dialog .sg-form{margin:0}.sg-compose-dialog .sg-form>.sg-button{width:100%;margin-top:10px}
.sg-compose-attachments{display:flex;align-items:center;justify-content:flex-end;gap:12px;border:1px solid var(--sg-border);padding:10px 12px;border-radius:11px;margin-top:12px}.sg-compose-attachments>strong{margin-right:auto;font-size:11px}
.sg-app .sg-compose-attachments .sg-attachment{position:relative;display:inline-flex;align-items:center;gap:5px;font-size:11px;cursor:pointer;color:#a67628;margin:0}.sg-attachment svg{width:21px;height:21px}
.sg-compose-previews{display:flex;gap:6px;flex-wrap:wrap}.sg-compose-previews>img{width:90px;height:90px;object-fit:cover;border-radius:8px}
.sg-sr-only{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}
html[data-theme=dark] .sg-profile{--sg-bg:#0e171d;--sg-card:#142028;--sg-text:#eef1f5;--sg-muted:#a5b1bf;--sg-border:#2b3a45}
html[data-theme=dark] .sg-profile .sg-badge{background:#46371b;color:#e6bd69}html[data-theme=dark] .sg-invite-button{color:#e6bd69;border-color:#b18a3c}html[data-theme=dark] .sg-profile .sg-tabs>a[aria-current]{color:#e8bd63}html[data-theme=dark] .sg-people>header a{color:#e6bd69}
@media(max-width:1200px){.sg-profile .sg-layout{grid-template-columns:minmax(0,1fr) 285px}.sg-profile .sg-identity{gap:16px;padding:12px 22px 10px}.sg-profile .sg-avatar{width:122px;height:122px;margin-top:-55px}.sg-profile .sg-title-line h1{font-size:25px}.sg-profile .sg-title-line{gap:6px}.sg-profile-content{padding:15px 18px 0}.sg-profile .sg-group-actions .sg-button{padding:9px 12px}.sg-profile .sg-people-avatars{gap:6px}.sg-people-avatars img{width:34px;height:34px}}
@media(max-width:900px){.sg-profile .sg-layout{grid-template-columns:minmax(0,1fr)}.sg-profile .sg-side{display:grid;grid-template-columns:1fr 1fr;gap:14px}.sg-profile .sg-group-actions{flex-wrap:wrap}.sg-profile .sg-identity{flex-wrap:wrap}.sg-profile .sg-group-title{min-width:calc(100% - 180px)}.sg-profile .sg-group-actions{margin-left:138px}}
@media(max-width:700px){body[data-page="groups"]:has(.sg-profile) .main-area{padding:var(--topbar-h) 0 calc(76px + env(safe-area-inset-bottom)) 0}.sg-profile .sg-cover-wrap{height:180px}.sg-profile .sg-identity{position:relative;padding:0 13px 10px;gap:10px;align-items:flex-start}.sg-profile .sg-avatar{width:83px;height:83px;border-width:3px;margin:-19px 0 0}.sg-profile .sg-group-title{flex:1;min-width:0;padding:10px 0 0}.sg-profile .sg-title-line{display:block}.sg-profile .sg-title-line h1{font-size:21px;line-height:1.25;font-weight:800;margin:0 0 6px;letter-spacing:-.3px}.sg-profile .sg-member-total{font-size:12px;gap:5px;margin:2px 0 0}.sg-member-total svg{display:block;width:14px;height:14px}.sg-group-actions{display:flex;flex-wrap:nowrap!important;gap:8px;justify-content:stretch;width:100%;margin:4px 0 0!important}.sg-membership-menu{flex:1}.sg-profile .sg-group-actions .sg-button{width:100%;font-size:12px;min-height:39px;border-radius:9px;padding:8px 10px}.sg-profile .sg-member-button{min-width:0;background:transparent;color:var(--sg-text);border:1px solid var(--sg-border);justify-content:center}.sg-profile .sg-invite-button{flex:1;background:linear-gradient(115deg,#efcc84,#e4b964);color:#2a1d06;border-color:transparent;min-width:0}.sg-more-menu{flex:none}.sg-profile .sg-tabs{margin:0;padding:7px 7px;gap:7px;border-top:1px solid var(--sg-border);min-height:53px;background:var(--sg-card)}.sg-profile .sg-tabs>a{padding:9px 12px;font-size:12px;border:1px solid transparent;border-radius:9px}.sg-profile .sg-tabs>a[aria-current]{border-color:#e6c788;background:linear-gradient(115deg,#f7e5bd,#edcd8d);color:#261a08}.sg-profile-content{padding:10px 6px 0}.sg-profile .sg-layout{gap:0}.sg-profile .sg-panel{border-radius:12px;margin-bottom:10px}.sg-profile .sg-side{display:block;margin-top:6px}.sg-app .sg-composer-bar{padding:10px 10px}.sg-composer-line{gap:8px}.sg-composer-line>img{width:35px;height:35px}.sg-app .sg-composer-prompt{font-size:12px;min-height:35px;padding:8px 12px}.sg-app .sg-composer-mobile-icon{display:grid;place-items:center;flex:none;width:26px;min-height:30px;padding:2px;color:#c08a2f;background:none;border:0}.sg-composer-mobile-icon svg{width:21px;height:21px}.sg-composer-shortcuts{display:none}.sg-app .sg-post{padding:12px 0 0}.sg-post .sg-post-head,.sg-post .sg-post-copy,.sg-post .sg-source,.sg-post .sg-post-status{margin-left:12px;margin-right:12px}.sg-post .sg-post-head{gap:9px;margin-bottom:11px}.sg-post-avatar img{width:38px;height:38px}.sg-post-author strong{font-size:13px}.sg-post-copy{font-size:13px;line-height:1.6;margin-bottom:10px}.sg-post .sg-gallery{border-radius:0;height:200px}.sg-post .sg-gallery-count-1{height:auto}.sg-post .sg-gallery-count-1 img{max-height:500px}.sg-post .sg-gallery-count-4{height:auto}.sg-post-stats{padding:7px 12px}.sg-post .sg-post-actions{gap:0;padding:4px 6px}.sg-app .sg-post-action{gap:5px;font-size:10px;min-height:33px}.sg-post-action svg{width:18px;height:18px}.sg-post .sg-comments{margin:0 12px}.sg-dialog{max-height:calc(100dvh - 30px);border-radius:15px}.sg-dialog-head{padding:14px 16px}.sg-dialog-body{padding:16px}.sg-dialog-head>h2{font-size:17px}.sg-dialog-body textarea{font-size:14px}.sg-compose-attachments{padding:9px;gap:10px}.sg-compose-attachments>strong{font-size:10px}.sg-attachment>span{font-size:10px}.sg-profile .sg-notice{bottom:88px;right:12px}.sg-menu-panel{width:min(240px,calc(100vw - 28px))}.sg-membership-menu>.sg-menu-panel{left:0;right:auto}.sg-invite-result{margin:12px!important}.sg-invite-result>div:nth-child(2){flex-wrap:wrap}.sg-invite-result .sg-button{width:100%}.sg-profile .sg-side .sg-panel{padding:16px}html[data-theme=dark] .sg-profile .sg-tabs>a[aria-current]{color:#f1d180;border-color:#624d22;background:#3c321c}}
@media(max-width:900px){.sg-preview-card{display:block;max-width:560px}.sg-preview-cover{aspect-ratio:3.8;min-height:0;grid-row:auto}.sg-preview-cover>div{min-height:90px;flex-direction:row}.sg-preview-identity{padding:0 16px 14px}.sg-preview-avatar{float:none;width:58px;height:58px;margin:-22px 0 10px;border-width:3px}.sg-preview-identity>.sg-badge{position:absolute;top:12px;right:16px}.sg-preview-tabs{grid-column:auto}.sg-preview-identity>p{font-size:11px;line-height:1.6}}@media(max-width:700px){.sg-preview-cover{aspect-ratio:3.3}.sg-preview-cover>div{min-height:90px}.sg-preview-identity>p{max-height:3.2em;overflow:hidden}.sg-create-preview{margin:0 0 6px}.sg-preview-tip{margin:9px 2px}.sg-preview-heading{margin-bottom:10px}}
.sg-app .sg-post-copy{white-space:normal;font-size:14px}.sg-comment .sg-copy{white-space:normal}.sg-post-author strong{font-size:14px}.sg-about>p{font-size:13px}.sg-app .sg-member-button,.sg-app .sg-member-button:hover,.sg-app .sg-member-button:focus-visible{color:#2a1d06}@media(max-width:700px){.sg-app .sg-post-copy{font-size:13px}.sg-app .sg-member-button,.sg-app .sg-member-button:hover,.sg-app .sg-member-button:focus-visible{color:var(--sg-text)}html[data-theme=dark] .sg-profile .sg-invite-button,html[data-theme=dark] .sg-profile .sg-invite-button:hover,html[data-theme=dark] .sg-profile .sg-invite-button:focus-visible,html[data-theme=dark] .sg-profile .sg-invite-button:active{color:#2a1d06}.sg-profile .sg-invite-button svg{color:inherit}}
.sg-edit-page .sg-create-layout{margin-bottom:24px}.sg-edit-page .sg-create-heading{padding-top:10px}.sg-app .sg-edit-fields fieldset+fieldset{margin-top:28px;padding-top:26px;border-top:1px solid var(--sg-border)}.sg-edit-type{font-size:12px;margin:15px 0 0}.sg-edit-type>svg{width:15px;height:15px;margin-right:7px}.sg-edit-type>small{display:block;color:var(--sg-muted);font-size:10px;margin-top:7px}.sg-setting-row{padding:13px;border:1px solid var(--sg-border);border-radius:11px;align-items:center!important;margin-top:14px!important}.sg-setting-row small{display:block;font-weight:400;color:var(--sg-muted);font-size:10px;margin-top:4px}.sg-current-rules{font-size:12px;margin-bottom:20px}.sg-current-rules>summary{font-size:12px}.sg-edit-page .sg-create-preview{padding-top:6px}.sg-app .sg-button:not(.sg-secondary):not(.sg-invite-button),.sg-app .sg-wizard-actions [data-wizard-next],.sg-app .sg-wizard-actions [data-wizard-submit],.sg-app .sg-steps button[aria-current="step"]>span,.sg-app .sg-steps button.is-complete>span{color:#000}.sg-app .sg-invite-button:hover{color:#97641e}@media(max-width:700px){.sg-app .sg-member-button{color:var(--sg-text)!important}.sg-app .sg-invite-button,.sg-app .sg-invite-button:hover,.sg-app .sg-invite-button:focus-visible,.sg-app .sg-invite-button:active{color:#000!important}}

/* Menu actions are transparent; only filled gold controls use black labels. */
.sg-app .sg-menu-panel .sg-form>.sg-button{color:var(--sg-text)}

.sg-app .sg-post-tools>button{display:block;width:100%;text-align:left;justify-content:flex-start;background:transparent;color:var(--sg-text);font-size:12px;padding:10px 11px;font-weight:500}
.sg-app .sg-post-edit-dialog .sg-panel{border:0;padding:0;margin:0;background:transparent;box-shadow:none}.sg-post-edit-dialog .sg-panel>h2{display:none}.sg-post-edit-dialog .sg-photo-edit{display:grid;grid-template-columns:80px minmax(0,1fr);gap:8px}.sg-post-edit-dialog .sg-photo-edit>img{width:80px;height:80px;grid-row:span 2}.sg-post-edit-dialog .sg-photo-edit .sg-check{margin:0}.sg-post-edit-dialog .sg-photo-edit>button{font-size:11px;min-height:32px;padding:5px 9px}

.sg-gallery>a{position:relative}.sg-gallery>a[hidden]{display:none!important}.sg-gallery-more{position:absolute;inset:0;display:grid;place-items:center;background:rgba(0,0,0,.5);color:#fff;font-size:32px;font-weight:800}

/* Members and management: clear roles, searchable ownership and explicit choices. */
.sg-members-section{container-type:inline-size}.sg-members-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:18px}.sg-members-heading h2{font-size:23px!important;margin:5px 0 7px!important}.sg-members-heading p,.sg-management-intro{color:var(--sg-muted);font-size:13px;line-height:1.7;margin:0}.sg-count-badge{display:grid;place-items:center;min-width:39px;height:39px;padding:6px 10px;border-radius:12px;background:var(--sg-gold);color:#000;font-weight:800}
.sg-members-search{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(130px,1fr) auto;gap:10px;align-items:end;margin:0 0 16px}.sg-app .sg-members-search>label{margin:0;font-size:11px}.sg-members-search>label>span{display:block;margin-bottom:5px}.sg-app .sg-members-search input,.sg-app .sg-members-search select{margin:0;font-size:12px;min-height:42px}.sg-app .sg-members-search>button{height:42px;min-height:42px;font-size:12px;padding:8px 15px}
.sg-role-guide{padding:13px 15px;background:var(--sg-bg);border:1px solid var(--sg-border);border-radius:10px;color:var(--sg-muted);font-size:11px;line-height:1.8;margin:14px 0 20px}.sg-role-guide strong{color:var(--sg-text)}.sg-role-guide a{text-decoration:underline;color:var(--sg-text)}
.sg-members-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,255px),1fr));gap:14px;align-items:start}.sg-member-card{padding:18px;border:1px solid var(--sg-border);border-radius:14px;min-width:0;background:var(--sg-card)}.sg-member-identity{display:flex;gap:12px;align-items:center;min-width:0}.sg-member-identity img{width:58px;height:58px;border-radius:50%;border:2px solid var(--sg-border);object-fit:cover;flex:none}.sg-member-identity>div{min-width:0}.sg-member-identity strong{display:block;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.sg-member-identity span{display:block;color:var(--sg-muted);font-size:11px;overflow-wrap:anywhere;margin-top:3px}.sg-member-badges{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:15px}.sg-role-badge{border-radius:7px;background:var(--sg-bg);border:1px solid var(--sg-border);font-size:10px;line-height:1.4;font-weight:700;padding:5px 8px}.sg-role-owner,.sg-role-admin{border-color:#dec493;background:#f7e9c8;color:#775016}.sg-role-moderator{background:#e5edf7;color:#395c88;border-color:#c8d9f0}.sg-member-state{font-size:10px;color:var(--sg-muted)}.sg-member-note{font-size:11px;line-height:1.6;color:var(--sg-muted);margin:16px 0 0}
.sg-member-role-editor{border-top:1px solid var(--sg-border);margin-top:17px;padding-top:14px}.sg-member-role-editor .sg-form{margin:0;display:grid;gap:10px}.sg-app .sg-member-role-editor label,.sg-app .sg-member-moderation label{font-size:11px;margin:0}.sg-app .sg-member-role-editor select,.sg-app .sg-member-moderation select{font-size:12px;min-height:40px;padding:9px}.sg-app .sg-member-role-editor button,.sg-app .sg-member-moderation button{font-size:11px;min-height:37px;padding:8px 13px;width:100%}.sg-member-moderation{margin-top:14px;border-top:1px solid var(--sg-border);padding-top:6px}.sg-app .sg-member-moderation>summary{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;font-weight:600;list-style:none;color:var(--sg-muted)}.sg-member-moderation summary svg{width:14px;height:14px}.sg-member-moderation .sg-form{display:grid;gap:10px;margin:0}.sg-member-moderation>summary::-webkit-details-marker{display:none}.sg-members-pages{display:flex;justify-content:space-between;gap:12px;margin-top:18px}.sg-members-pages:empty{display:none}.sg-members-empty{text-align:center;padding:30px 15px;color:var(--sg-muted)}.sg-members-empty>svg{width:36px;height:36px}.sg-members-empty h3{font-size:16px;color:var(--sg-text)}
.sg-management-heading{display:flex;align-items:center;gap:13px;margin-bottom:17px}.sg-management-heading h2{margin:0 0 5px!important;font-size:19px!important}.sg-management-heading p{margin:0;font-size:12px;color:var(--sg-muted)}.sg-setting-icon{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--sg-border);border-radius:12px;background:var(--sg-bg);color:#ac782a;flex:none}.sg-management-intro{margin-bottom:17px}.sg-privacy-choices{display:grid;gap:10px;margin-top:17px}.sg-app .sg-privacy-choice{display:flex;align-items:flex-start;gap:11px;position:relative;border:1px solid var(--sg-border);border-radius:12px;padding:15px;cursor:pointer;margin:0;min-width:0}.sg-privacy-choice>input{width:17px;height:17px;flex:none;margin:4px 0 0;accent-color:#b57e2b}.sg-privacy-icon{color:var(--sg-muted);padding-top:1px}.sg-privacy-choice strong{display:block;font-size:13px;line-height:1.5}.sg-privacy-choice small{display:block;font-size:11px;line-height:1.7;color:var(--sg-muted);margin-top:4px}.sg-privacy-choice em{display:inline-block;font-style:normal;font-size:9px;margin-top:8px;padding:3px 7px;border-radius:5px;background:var(--sg-bg);color:var(--sg-muted)}.sg-privacy-choice:has(input:checked){border-color:#b98739;background:color-mix(in srgb,var(--sg-gold) 9%,var(--sg-card));box-shadow:0 0 0 1px #b98739}.sg-privacy-choice.is-unavailable{cursor:default;background:var(--sg-bg)}.sg-privacy-choice.is-unavailable>input{opacity:.45}.sg-choice-summary{font-size:12px;color:var(--sg-text);border-left:3px solid var(--sg-gold);padding:8px 12px;margin:16px 0 12px;line-height:1.7}.sg-management .sg-field-hint{margin-top:9px;line-height:1.7}.sg-status-panel .sg-form{margin-bottom:0}
.sg-member-picker{position:relative;margin-bottom:17px}.sg-app .sg-member-picker>label{font-size:12px;margin-bottom:6px}.sg-app .sg-member-picker>[role=combobox]{margin:0}.sg-member-options{position:absolute;top:83px;left:0;right:0;z-index:30;max-height:320px;overflow:auto;padding:6px;border:1px solid var(--sg-border);border-radius:12px;background:var(--sg-card);box-shadow:0 15px 40px rgba(0,0,0,.18)}.sg-app .sg-member-options>button{display:flex;align-items:center;justify-content:flex-start;gap:11px;border:0;border-radius:8px;background:transparent;color:var(--sg-text);text-align:left;padding:10px;width:100%;min-height:62px}.sg-member-options img{width:39px;height:39px;border-radius:50%;object-fit:cover;flex:none}.sg-member-options span{min-width:0}.sg-member-options strong{display:block;font-size:12px;overflow-wrap:anywhere}.sg-member-options small{display:block;font-size:10px;color:var(--sg-muted);font-weight:400;margin-top:3px;overflow-wrap:anywhere}.sg-app .sg-member-options>button:hover,.sg-app .sg-member-options>button[aria-selected=true]{background:var(--sg-bg)}.sg-member-options[hidden],.sg-selected-person[hidden]{display:none!important}.sg-selected-person,.sg-transfer-pending{display:flex;gap:11px;align-items:center;padding:12px;background:var(--sg-bg);border:1px solid var(--sg-border);border-radius:11px;margin:11px 0 0}.sg-selected-person>img,.sg-transfer-pending>img{width:42px;height:42px;border-radius:50%;object-fit:cover;flex:none}.sg-selected-person>div,.sg-transfer-pending>div{min-width:0;flex:1}.sg-selected-person strong,.sg-transfer-pending strong{display:block;font-size:12px;overflow-wrap:anywhere}.sg-selected-person span,.sg-transfer-pending span{display:block;font-size:10px;color:var(--sg-muted);margin-top:3px;overflow-wrap:anywhere}.sg-app .sg-selected-person>button{font-size:10px;min-height:32px;padding:5px 9px;flex:none}.sg-transfer-pending{margin-bottom:17px}.sg-team-roles{display:flex;align-items:center;justify-content:space-between;gap:16px}.sg-team-roles h2{margin:8px 0!important}.sg-team-roles p{color:var(--sg-muted);font-size:12px;margin:0}.sg-team-roles>a{flex:none;font-size:12px}.sg-review-actions{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap;margin-top:24px}.sg-review-actions>button{font-size:12px}.sg-management-confirm [data-review-choice]{display:block;font-size:16px;padding:15px;border:1px solid var(--sg-border);background:var(--sg-bg);border-radius:10px;overflow-wrap:anywhere}.sg-management-confirm [data-review-detail]{font-size:13px;line-height:1.8;color:var(--sg-muted);margin:17px 0 0}
html[data-theme=dark] .sg-role-owner,html[data-theme=dark] .sg-role-admin{background:#3f341e;border-color:#6b532b;color:#e8c775}html[data-theme=dark] .sg-role-moderator{background:#23354c;border-color:#395777;color:#b8d4f5}
@container(max-width:540px){.sg-members-search{grid-template-columns:minmax(0,1fr) auto}.sg-members-search>label:first-child{grid-column:1/-1}.sg-members-search>label:nth-of-type(2){grid-column:1}.sg-members-search>button{grid-column:2}.sg-members-heading h2{font-size:21px!important}}
@media(max-width:700px){.sg-member-card{padding:16px}.sg-members-heading p{font-size:12px}.sg-team-roles{display:block}.sg-team-roles>a{width:100%;margin-top:16px}.sg-app .sg-management{padding:17px 15px}.sg-management-heading{gap:10px}.sg-management-heading h2{font-size:17px!important}.sg-setting-icon{width:37px;height:37px}.sg-app .sg-privacy-choice{padding:13px 11px;gap:8px}.sg-privacy-choice small{font-size:10px}.sg-privacy-icon svg{width:16px;height:16px}.sg-review-actions{flex-direction:column-reverse}.sg-review-actions>button{width:100%}.sg-member-options{max-height:260px}.sg-members-grid{grid-template-columns:1fr}}

/* Disabled means unavailable; processing is marked separately. */
.sg-app button:disabled{cursor:not-allowed}.sg-app button[aria-busy="true"]{cursor:progress}.sg-compose-previews>figure{position:relative;margin:0;width:98px}.sg-compose-previews>figure>img{width:98px;height:98px;object-fit:cover;border-radius:10px}.sg-app .sg-compose-previews [data-remove-upload]{position:absolute;top:4px;right:4px;display:grid;place-items:center;width:28px;height:28px;min-width:28px;min-height:28px;max-width:28px;max-height:28px;flex:0 0 28px;padding:0;line-height:1;border:1px solid rgba(255,255,255,.7);border-radius:50%;background:#171b22;color:#fff;box-sizing:border-box}.sg-compose-previews [data-remove-upload]>svg{display:block;width:14px;height:14px;pointer-events:none}.sg-compose-previews figcaption{font-size:9px;line-height:1.4;margin-top:4px;color:var(--sg-muted);overflow-wrap:anywhere}.sg-upload-status{font-size:11px;line-height:1.6;color:var(--sg-muted)}.sg-upload-status[role=alert]{color:#b33c42}

/* Native Posts/Feed components: layout comes from the shared application CSS. */
.sg-app .sg-native-post{padding:20px 22px 0;margin-bottom:16px;font-family:var(--font-body,Manrope,sans-serif);border-radius:var(--radius-lg,20px);overflow:hidden}.sg-app .sg-native-post .social-post-head{display:grid;grid-template-columns:48px minmax(0,1fr) auto;justify-content:normal;margin-bottom:0}.sg-native-post .social-post-author span{display:block}.sg-app .sg-native-post .social-post-actions{justify-content:flex-start;gap:22px;padding:0;flex-wrap:nowrap;margin:0;border-bottom:0;min-height:60px}.sg-app .sg-native-post .social-post-actions button{background:transparent;border:0;border-radius:0;min-height:0;padding:0;color:var(--text-soft,var(--sg-muted));font-size:11px;font-weight:700}.sg-app .sg-native-post .social-post-actions .like.active{color:#ed2354}.sg-app .sg-native-post .social-post-actions i{font-size:21px}.sg-app .sg-native-post>.sg-post-edit-dialog{overflow:auto}.sg-native-post .sg-post-tools{font-size:12px}
@media(max-width:700px){.sg-app .sg-native-post{padding:16px 15px 0;border-radius:14px}.sg-app .sg-native-post .social-post-head{grid-template-columns:40px minmax(0,1fr) auto;gap:10px}.sg-native-post .social-post-head>a:first-child{width:40px;height:40px}}

/* v16: fixed icon boxes and the same centered avatar crop in picker and header. */
.sg-type-mark{line-height:1}.sg-type-mark>svg{display:block;width:18px;height:18px}.sg-privacy-note>span{display:flex;align-items:center;flex:none}.sg-privacy-note>span>svg{display:block;width:18px;height:18px}
.sg-app .sg-avatar-picker>img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center}.sg-app .sg-avatar-picker>img[hidden]{display:none}

/* Match the selected desktop/phone header crop in the cover picker as well. */
.sg-app .has-image .sg-cover-picker{min-height:0;border:0;aspect-ratio:var(--sg-header-cover-ratio,2)}.sg-app .sg-cover-picker>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.sg-app .sg-cover-picker>img[hidden]{display:none}
