.community-portrait{width:160px;height:160px;object-fit:cover;border-radius:50%;margin:1rem 0}.profile-summary{white-space:pre-line;overflow-wrap:anywhere}.publication-form{display:grid;gap:1rem}.publication-form label{display:grid;gap:.4rem}.publication-form input,.publication-form textarea,.publication-form select{width:100%;max-width:100%;padding:.7rem;border:1px solid var(--line,#ccc);border-radius:8px;font:inherit;background:#fffdf8;box-sizing:border-box}.publication-form textarea{min-height:100px}.publication-form .rules-check{display:flex}.publication-form .rules-check input{width:auto}.publication-image-preview{display:flex;gap:8px;flex-wrap:wrap}.publication-image-preview img{width:100px;height:100px;object-fit:cover;border-radius:10px}.admin-dialog{width:min(680px,90vw);max-height:85vh;overflow:auto;padding:1.2rem;border:1px solid #d9d0c0;border-radius:16px;background:#fff8ec;color:#292b25}.admin-dialog::backdrop{background:#292b2570}.admin-dialog dd{margin:0 0 1rem;overflow-wrap:anywhere}.admin-dialog dt{font-weight:bold}.row-actions{display:flex;flex-wrap:wrap;gap:.5rem}.rules-check{display:flex;align-items:flex-start;gap:.6rem;margin:.7rem 0}.rules-check input{flex:0 0 auto;margin-top:.3rem}.content-card{overflow-wrap:anywhere}fieldset{border:1px solid #d9d0c0;border-radius:10px;padding:1rem}.member-menu{flex-wrap:wrap}@media(max-width:600px){.section-head{display:block}.section-head .button{margin:.8rem 0}.admin-dialog{width:calc(100vw - 24px);box-sizing:border-box;padding:1rem}.content-grid{grid-template-columns:1fr}.row-actions>*{min-height:44px}.member-menu button{min-height:44px}.community-portrait{width:128px;height:128px}}

.public-profile{max-width:1120px;margin:auto}.public-profile>h1{font-size:clamp(2rem,4vw,3.5rem);margin:.4rem 0 1rem}.public-profile>.eyebrow{margin-top:1rem}.public-profile>.content-grid{gap:1rem;margin-bottom:2rem}.public-profile>.content-grid:empty{display:none}.public-profile>h2{margin:1.5rem 0 .8rem}@media(min-width:800px){.public-profile>.community-portrait{float:left;margin:0 1.5rem 1rem 0}.public-profile>h2{clear:both}.public-profile>.content-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

.communication-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:1rem;margin:1rem 0 2rem}.communication-grid .panel{margin:0;padding:1.25rem;min-width:0;overflow-wrap:anywhere}.communication-grid h2{font-size:1.5rem;line-height:1.2;margin:0 0 .75rem}.communication-language{display:grid;gap:.4rem;max-width:320px;margin:1rem 0}.communication-language select,#notification-settings select{max-width:100%;min-height:44px}#template-form{min-width:0}#template-form .ql-container{min-height:220px}#template-form .ql-editor{min-height:220px}#mail-frame{box-sizing:border-box}#admin-panel details{overflow-wrap:anywhere;padding:.75rem 0}
#template-form .rules-check,#notification-settings .rules-check{display:flex;align-items:flex-start;white-space:normal}#template-form .rules-check input,#notification-settings .rules-check input{width:20px;height:20px;min-width:20px;padding:0;flex:0 0 20px}

.login-layout>*{min-width:0}.login-box{box-sizing:border-box}.login-box .oauth{min-height:48px;font:inherit;font-weight:700}.login-box .tiny{font-size:13px;line-height:1.55}@media(max-width:750px){.login-layout{gap:18px;margin-top:12px}.login-layout h1{font-size:clamp(32px,9vw,38px);line-height:1.12}.login-layout .eyebrow{margin-top:8px}.login-box{padding:20px}.login-box .status-banner{margin-bottom:0}.login-layout p{overflow-wrap:anywhere}}

/* Cabinet rhythm: 16px between blocks, 8px within a labelled control. */
.member-wrap{--member-space:16px;--member-control-space:8px}
.member-wrap #panel{display:grid;gap:var(--member-space)}
.member-wrap #panel>*{min-width:0;margin-block:0}
.member-wrap #panel .panel>*{margin-block:0}
.member-wrap #panel .panel>*+*{margin-block-start:var(--member-space)}
.member-wrap #panel .panel>[hidden]+*{margin-block-start:0}
.member-wrap #panel .section-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--member-space)}
.member-wrap #panel .section-head>*{margin:0}
.member-wrap #panel .account-list,.member-wrap #panel .row-actions{gap:var(--member-space)}
.member-wrap #notification-settings>label:not(.rules-check){display:grid;gap:var(--member-control-space)}
.member-wrap #notification-settings select{margin-top:0}

/* Publication and application card titles are subheadings, not page heroes. */
.admin-wrap #workspace>article.panel>h2{font-size:22px;line-height:1.3;letter-spacing:-.5px;overflow-wrap:anywhere;margin-bottom:16px}
@media(max-width:700px){.admin-wrap #workspace>article.panel>h2{font-size:20px}}

