.gsp-member-box{max-width:680px}.gsp-member-box form label{display:block;font-weight:650;margin-bottom:6px}.gsp-member-box input[type=text]{width:100%;max-width:100%;border:1px solid #cbd5e1;border-radius:10px;padding:11px 13px;font:inherit}.gsp-member-box button,.gsp-user-logout{display:inline-block;background:#0a66c2;color:#fff;border:0;border-radius:9px;padding:8px 15px;font:600 15px "Source Sans 3",sans-serif;text-decoration:none}.gsp-profile dl{margin:0}.gsp-profile-row{padding:13px 0;border-bottom:1px solid #e3e9f0}.gsp-profile-row dt{font-size:.83em;color:#667482;font-weight:700}.gsp-profile-row dd{margin:3px 0 0}.gsp-user-panel{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}.gsp-user-panel-name{font-weight:700}.gsp-user-logout{margin-left:auto}

/* 0.0.0.7: compact login form when user panel sits in the sidebar */
.gsp-user-panel-guest{display:block;width:100%;max-width:100%;padding:0}
.gsp-user-panel-guest h3{margin:0 0 14px;font-size:1.12rem}
.gsp-user-panel-guest .gsp-login{max-width:none;width:100%}
.gsp-user-panel-guest .gsp-login form>p{margin:0 0 12px}
.gsp-user-panel-guest .gsp-login input[type=text],.gsp-user-panel-guest .gsp-login input[type=password]{width:100%;min-width:0;padding:8px 10px}
.gsp-user-panel-guest .gsp-login-links{font-size:.85rem;line-height:1.5;margin-bottom:0}
.gsp-user-panel-guest .gsp-login button{padding:7px 14px}

/* v0.0.0.9: directory cards */
.gsp-directory{display:grid;gap:20px;width:100%;max-width:100%}
.gsp-directory-group{background:#fff;border:1px solid #e3e9f0;border-radius:16px;overflow:hidden;box-shadow:0 6px 20px rgba(27,43,61,.035)}
.gsp-directory-title{display:flex;align-items:center;gap:12px;margin:0!important;padding:17px 22px;background:#f5f9ff;border-bottom:1px solid #e3e9f0;color:#21354b;font-size:1.24rem!important;font-weight:750}
.gsp-directory-count{display:inline-flex;justify-content:center;align-items:center;min-width:26px;height:26px;border-radius:20px;background:#e2efff;color:#0a66c2;font-size:.8rem;padding:0 8px}
.gsp-directory-list{list-style:none!important;padding:0!important;margin:0!important}
.gsp-directory-member{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:2px 14px;padding:12px 22px;border-bottom:1px solid #edf0f4}
.gsp-directory-member:last-child{border-bottom:0}
.gsp-directory-member-name{font-weight:700;color:#202b36}
.gsp-directory-member-position{font-size:.95rem;color:#667482}
.gsp-user-directory-link{font-weight:650}


/* v0.0.0.10 – editable member profile */
.gsp-profile{width:100%;max-width:680px}
.gsp-profile-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:22px 0 0!important}
.gsp-profile-button,.gsp-profile-form button{display:inline-flex;align-items:center;justify-content:center;background:#0a66c2!important;color:#fff!important;border:0!important;border-radius:9px!important;padding:8px 16px!important;font:650 15px "Source Sans 3",sans-serif!important;text-decoration:none!important;cursor:pointer}
.gsp-profile-cancel{color:#50657c;text-decoration:none;font-weight:650;padding:8px 12px}
.gsp-profile-form p{margin:0 0 18px}
.gsp-profile-form label{display:block;font-weight:650;margin-bottom:6px}
.gsp-profile-form :is(input[type=text],input[type=email],input[type=number],select){display:block;width:100%;max-width:100%;min-height:42px;padding:9px 12px;border:1px solid #cbd5e1;border-radius:9px;font:inherit;background:#fff;color:#202b36}
.gsp-profile-form input:disabled{background:#f2f5f9;color:#667482}
.gsp-profile-form small{display:block;color:#667482;margin-top:5px}
.gsp-profile-notice{padding:12px 15px;border-radius:9px;margin:0 0 18px!important}
.gsp-profile-success{background:#ecfdf5;color:#166534}.gsp-profile-error{background:#fef2f2;color:#991b1b}

/* v0.0.0.11: network messaging and mail preferences */
.gsp-directory-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:14px 20px;background:#f5f9ff;border-bottom:1px solid #e3e9f0}
.gsp-directory-heading .gsp-directory-title{background:transparent;padding:0;border:0;flex:1}
.gsp-message-button{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border:1px solid #b6d6f5;border-radius:9px;background:#edf5ff;color:#075ba9!important;text-decoration:none!important;padding:8px 13px;font-size:.9rem;font-weight:700;line-height:1.3}
.gsp-message-button:hover{background:#dceeff}
.gsp-message-button-small{padding:6px 10px;font-size:.82rem}
.gsp-directory-send-all{margin:0!important}
.gsp-directory-member{align-items:center}
.gsp-directory-member-position{flex:1}
.gsp-compose{max-width:760px}
.gsp-compose form :is(input[type=text],select,textarea){display:block;width:100%;max-width:100%;padding:10px 12px;border:1px solid #cbd5e1;border-radius:10px;font:inherit;background:white;color:#202b36}
.gsp-compose form label{display:block;font-weight:700;margin:0 0 6px}
.gsp-compose form p{margin-bottom:18px}
.gsp-compose textarea{min-height:180px;resize:vertical}
.gsp-compose button,.gsp-mail-preferences button{background:#0a66c2!important;color:white!important;border:0!important;border-radius:9px!important;padding:8px 16px!important;font:650 15px "Source Sans 3",sans-serif!important;cursor:pointer}
.gsp-mail-preferences{margin-top:28px;padding-top:22px;border-top:1px solid #e3e9f0}
.gsp-mail-preferences h3{margin:0 0 10px}
.gsp-mail-checkbox{display:flex;align-items:center;gap:9px;font-weight:650}


/* 0.0.0.14: self-service password change on My Profile. */
.gsp-password-section{margin-top:26px;padding-top:22px;border-top:1px solid #e3e9f0}
.gsp-password-section h3{font-size:1.17rem;margin:0 0 16px}
.gsp-profile-password-toggle{display:inline-flex;align-items:center;border:1px solid #bdd4ed;border-radius:9px;padding:8px 15px;color:#0759aa!important;text-decoration:none!important;font-weight:700;background:#eef5ff}
.gsp-profile-password-toggle:hover{background:#e0efff}
.gsp-password-form p{margin:0 0 17px}
.gsp-password-form label{display:block;font-weight:700;margin-bottom:6px}
.gsp-password-form input[type=password]{width:100%;max-width:100%;min-height:42px;padding:9px 12px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#202b36;font:inherit}
.gsp-password-form small{display:block;margin:5px 0 0;color:#667482;line-height:1.45}
.gsp-password-form button{background:#0a66c2!important;color:white!important;border:0!important;border-radius:9px!important;padding:8px 16px!important;font:650 15px "Source Sans 3",sans-serif!important;cursor:pointer}
.gsp-password-strength{display:block;font-weight:650;font-size:.91rem;margin-top:6px}
.gsp-password-strength[data-level="weak"]{color:#a12828}
.gsp-password-strength[data-level="medium"]{color:#845500}
.gsp-password-strength[data-level="strong"]{color:#176542}
.gsp-password-note{font-size:.92em;color:#667482;margin:6px 0 0}

/* 0.0.0.15: match the profile action button style for password changes. */
.gsp-password-section .gsp-profile-password-toggle{display:inline-flex;align-items:center;justify-content:center;background:#0a66c2!important;color:#fff!important;border:0!important;border-radius:9px!important;padding:8px 16px!important;font:650 15px "Source Sans 3",sans-serif!important;text-decoration:none!important;box-shadow:none!important;cursor:pointer;transition:background-color .15s ease}
.gsp-password-section .gsp-profile-password-toggle:hover{background:#08549f!important;color:#fff!important}
.gsp-password-section .gsp-profile-password-toggle:focus-visible{outline:3px solid #90c8ff;outline-offset:3px}


/* v0.0.0.22 – vertical, readable member navigation. Guest login stays unchanged. */
.gsp-user-panel.gsp-user-panel-member{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  flex-wrap:nowrap!important;gap:0!important;width:100%;min-width:0;max-width:100%;
}
.gsp-user-panel-member .gsp-user-panel-account{display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding-bottom:15px;border-bottom:1px solid #e5eaf1;min-width:0}
.gsp-user-panel-member .gsp-user-panel-caption{font-size:.78rem;font-weight:600;line-height:1.4;color:#677789}
.gsp-user-panel-member .gsp-user-panel-name{font-size:1.05rem;font-weight:750;line-height:1.35;color:#203246;text-decoration:none;overflow-wrap:anywhere}
.gsp-user-panel-member .gsp-user-panel-name:hover{color:#0a66c2;text-decoration:underline;text-underline-offset:3px}
.gsp-user-panel-member .gsp-user-panel-navigation{display:block;width:100%;min-width:0;margin:12px 0 16px}
.gsp-user-panel-member .gsp-user-panel-links{
  list-style:none!important;margin:0!important;padding:0!important;
  display:flex!important;flex-direction:column!important;gap:4px!important;width:100%;
}
.gsp-user-panel-member .gsp-user-panel-links>li{
  list-style:none!important;display:block!important;width:100%;min-width:0;
  margin:0!important;padding:0!important;
}
.gsp-user-panel-member .gsp-user-panel-links a{
  display:block!important;width:100%;max-width:100%;box-sizing:border-box;
  padding:9px 12px;border-radius:9px;
  font-size:.96rem;font-weight:650;line-height:1.35;
  color:#23517c;text-decoration:none!important;overflow-wrap:anywhere;
}
.gsp-user-panel-member .gsp-user-panel-links a:hover,
.gsp-user-panel-member .gsp-user-panel-links a:focus-visible{color:#0755a4;background:#edf5ff;outline-offset:2px}
.gsp-user-panel-member .gsp-user-logout{
  display:inline-flex!important;align-items:center;justify-content:center;
  align-self:flex-start;margin:0!important;width:auto;max-width:100%;
  padding:8px 16px!important;background:#0a66c2!important;color:#fff!important;
  border:0!important;border-radius:9px!important;text-decoration:none!important;
  font:650 15px 'Source Sans 3',sans-serif!important;line-height:1.3!important;
}
.gsp-user-panel-member .gsp-user-logout:hover{background:#08549f!important;color:#fff!important}


/* 0.0.0.24: configurable heading, without changing guest login layout. */
.gsp-user-panel .gsp-widget-heading{font-size:1.18rem!important;line-height:1.3;margin:0 0 14px!important;color:#23354b;font-weight:750}


/* 0.0.0.29: expandable, accessible member profiles and email visibility preference. */
.gsp-profile-form textarea#gsp_interests{
  display:block;width:100%;max-width:100%;min-height:115px;padding:10px 12px;
  border:1px solid #cbd5e1;border-radius:9px;font:inherit;background:#fff;color:#202b36;
  resize:vertical;
}
.gsp-profile-form .gsp-profile-privacy{margin-top:18px}
.gsp-profile-form .gsp-profile-privacy label{display:flex;align-items:flex-start;gap:10px;font-weight:650;cursor:pointer}
.gsp-profile-form .gsp-profile-privacy input[type=checkbox]{width:18px;height:18px;margin:4px 0 0;flex:none}
.gsp-directory-member{align-items:start}
.gsp-directory-member-details{flex:1 1 245px;min-width:0;max-width:100%}
.gsp-directory-member-toggle{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;cursor:pointer;list-style:none;min-width:0;border-radius:6px;padding:2px 0}
.gsp-directory-member-toggle::-webkit-details-marker{display:none}
.gsp-directory-member-toggle::marker{content:""}
.gsp-directory-member-toggle:focus-visible{outline:2px solid #0a66c2;outline-offset:4px}
.gsp-directory-member-toggle:hover .gsp-directory-member-name{text-decoration:underline;text-underline-offset:3px;color:#0a66c2}
.gsp-directory-member-toggle .gsp-directory-member-name{color:#0a66c2;font-weight:700}
.gsp-directory-member-toggle .gsp-directory-member-position{flex:0 1 auto;color:#667482}
.gsp-directory-toggle-hint{display:inline-block;flex:none;margin-left:auto;width:8px;height:8px;border-right:2px solid #6c7a89;border-bottom:2px solid #6c7a89;transform:rotate(45deg);transition:transform .15s ease}
.gsp-directory-member-details[open] .gsp-directory-toggle-hint{transform:rotate(225deg)}
.gsp-directory-member-profile{margin:12px 0 4px;padding:12px 16px;background:#f7faff;border:1px solid #e3e9f0;border-radius:10px;display:grid;gap:10px;max-width:100%}
.gsp-directory-profile-row{display:grid;grid-template-columns:minmax(105px,30%) minmax(0,1fr);gap:8px 12px;overflow-wrap:anywhere}
.gsp-directory-profile-row dt{color:#64748b;font-size:.85rem;font-weight:650}
.gsp-directory-profile-row dd{margin:0;color:#202b36}
.gsp-directory-member>.gsp-message-button{flex:none;margin-top:0}
@media(max-width:540px){.gsp-directory-profile-row{grid-template-columns:minmax(0,1fr);gap:2px}.gsp-directory-member-toggle .gsp-directory-member-position{flex-basis:100%}}


/* v0.0.0.30: member type filters (accessible link tabs, no JavaScript needed). */
.gsp-directory-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:2px;padding:0}
.gsp-directory-filter{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 14px;border:1px solid #d7e1eb;border-radius:999px;background:#fff;color:#32485d;text-decoration:none!important;font-size:.92rem;font-weight:650;line-height:1.3;transition:background .15s ease,border-color .15s ease,color .15s ease}
.gsp-directory-filter:hover{background:#edf5ff;border-color:#aacdec;color:#0a66c2}
.gsp-directory-filter:focus-visible{outline:3px solid #0a66c2;outline-offset:3px}
.gsp-directory-filter.is-active{background:#0a66c2;border-color:#0a66c2;color:#fff}
.gsp-directory-filter.is-active:hover{background:#084c97;color:#fff}
@media(max-width:530px){.gsp-directory-filter{flex:1 1 auto;font-size:.88rem;padding:8px 11px}}


/* v0.0.0.31: clear, responsive row of network and member-category actions. */
.gsp-directory-send-actions{
    display:flex;flex-wrap:wrap;align-items:center;gap:9px 10px;
    margin:4px 0 16px!important;padding:0;min-width:0;
}
.gsp-directory-send-actions .gsp-message-button{
    white-space:normal;text-align:center;min-height:38px;
    max-width:100%;overflow-wrap:anywhere;
}
.gsp-directory-send-actions .gsp-message-button:focus-visible{
    outline:3px solid #0a66c2;outline-offset:3px;
}
@media(max-width:560px){
    .gsp-directory-send-actions .gsp-message-button{flex:1 1 100%;}
}

/* 0.0.0.34: export controls in the private member directory. */
.gsp-export-panel{background:#fff;border:1px solid #e1e7ed;border-radius:14px;padding:20px 22px;margin:20px 0;box-shadow:0 2px 10px rgba(18,40,65,.025)}
.gsp-export-panel h3{margin:0 0 8px;font-size:1.15rem}
.gsp-export-panel p{font-size:.91rem;color:#526171;line-height:1.5;margin:0 0 15px}
.gsp-export-panel form{display:flex;gap:10px 14px;flex-wrap:wrap;align-items:end}
.gsp-export-panel label{display:block;font-weight:650;flex-basis:100%;font-size:.92rem}
.gsp-export-panel select{flex:1 1 240px;min-width:0;margin:0!important;max-width:100%;padding:8px 12px;border:1px solid #cbd5e1;border-radius:9px;background:#fff}
.gsp-export-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.gsp-export-panel .gsp-export-button{font-size:.9rem;padding:9px 14px;border:1px solid #0a66c2;background:#0a66c2;color:#fff;border-radius:9px;cursor:pointer;font-weight:650}
.gsp-export-panel .gsp-export-button:hover{background:#084f96}

/* 0.0.0.35: show export choices at the bottom of the directory. */
.gsp-directory .gsp-export-panel{margin-top:28px;margin-bottom:0}
.gsp-export-panel .gsp-export-button-secondary{background:#fff;color:#0a66c2}
.gsp-export-panel .gsp-export-button-secondary:hover{background:#edf5ff;color:#084f96}
.gsp-export-panel .gsp-export-hint{font-size:.84rem;color:#586979;margin-top:12px;margin-bottom:0}

/* v0.0.0.41: shared interests – readable cards and accessible native forms. */
.gsp-interests{display:grid;gap:20px;max-width:100%;min-width:0}
.gsp-interests>section{min-width:0}
.gsp-interests :is(h2,h3){color:#202b36;letter-spacing:-.012em;text-align:left;line-height:1.3}
.gsp-interests h2{font-size:1.33rem!important;margin:0 0 12px!important}
.gsp-interests h3{font-size:1.12rem!important;margin:0 0 4px!important}
.gsp-interest-my,.gsp-interest-create{background:#f8fafd;border:1px solid #e2e8ef;border-radius:14px;padding:19px 22px}
.gsp-interest-tags{display:flex;gap:8px;flex-wrap:wrap;list-style:none!important;margin:0!important;padding:0!important}
.gsp-interest-tags li{list-style:none!important;margin:0!important;padding:5px 12px;border-radius:50px;background:#e7f1ff;color:#15558f;font-weight:650;font-size:.94rem}
.gsp-interest-create p{color:#657585;font-size:.94rem;margin:0 0 12px}
.gsp-interest-create-row{display:flex;gap:10px;align-items:end;flex-wrap:wrap}
.gsp-interest-create-row label{flex:1 1 220px;min-width:0;font-size:.92rem;font-weight:650}
.gsp-interest-create-row input{display:block;width:100%;max-width:100%;min-height:41px;margin-top:5px;padding:9px 12px;border:1px solid #cbd5e1;border-radius:9px;font:inherit;background:#fff;color:#202b36}
.gsp-interests .gsp-interest-button{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;white-space:normal;text-align:center;min-height:38px;max-width:100%;padding:8px 13px!important;border:1px solid #0a66c2!important;border-radius:9px!important;background:#0a66c2!important;color:#fff!important;font:650 14px 'Source Sans 3',sans-serif!important;line-height:1.3!important}
.gsp-interests .gsp-interest-button:hover{background:#07529e!important;border-color:#07529e!important}
.gsp-interests .gsp-interest-button.is-remove{background:#fff!important;color:#275779!important;border-color:#c7d7e8!important}
.gsp-interests .gsp-interest-button.is-remove:hover{background:#eff5fb!important}
.gsp-interests .gsp-interest-button:focus-visible{outline:3px solid #87c5ff;outline-offset:3px}
.gsp-interest-catalog{display:grid;gap:12px}
.gsp-interest-catalog>h2{margin:4px 0 0!important}
.gsp-interest-card{background:#fff;border:1px solid #e0e8f1;border-radius:14px;padding:16px 19px;box-shadow:0 4px 18px rgba(20,41,60,.025);min-width:0}
.gsp-interest-card-top{display:flex;justify-content:space-between;align-items:center;gap:10px 16px;flex-wrap:wrap;min-width:0}
.gsp-interest-card-top>div{flex:1 1 180px;min-width:0}
.gsp-interest-count{display:block;font-size:.84rem;color:#657585}
.gsp-interest-inline-form{margin:0!important;flex:0 1 auto}
.gsp-interest-members{margin-top:12px;padding-top:11px;border-top:1px solid #e8edf3}
.gsp-interest-members summary{cursor:pointer;color:#0a66c2;font-size:.92rem;font-weight:650;list-style:revert}
.gsp-interest-members summary:focus-visible{outline:2px solid #0a66c2;outline-offset:3px}
.gsp-interest-members ul{list-style:disc!important;padding-left:20px!important;margin:10px 0 0!important}
.gsp-interest-members li{list-style:disc!important;margin:6px 0;color:#243749;overflow-wrap:anywhere}
.gsp-interest-members li span{color:#657585;font-size:.9rem}
.gsp-interest-members p{margin:9px 0 0;color:#667482;font-size:.92rem}
.gsp-interest-notice{padding:12px 15px;border:1px solid #c4e7d6;background:#edfaf4;border-radius:10px;color:#13603c;margin:0!important}
.gsp-profile-interests-link{background:#f5f8fc;border:1px solid #e0e8f1;padding:13px 15px;border-radius:9px}
@media(max-width:550px){.gsp-interest-my,.gsp-interest-create{padding:15px}.gsp-interest-card{padding:14px}.gsp-interest-card-top>.gsp-interest-inline-form{width:100%}.gsp-interest-card-top .gsp-interest-button{width:100%}.gsp-interest-create-row>.gsp-interest-button{width:100%}}

/* v0.0.0.43: account deactivation in member profile */
.gsp-profile-deactivate-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #b91c1c;border-radius:9px;padding:8px 16px;color:#991b1b!important;background:#fff!important;text-decoration:none!important;font:650 15px "Source Sans 3",sans-serif;line-height:1.4}
.gsp-profile-deactivate-button:hover{background:#fef2f2!important}
.gsp-deactivate-section{margin:20px 0 22px;padding:20px;border:1px solid #fecaca;border-radius:14px;background:#fffafa}
.gsp-deactivate-section h3{margin:0 0 10px!important;color:#991b1b}
.gsp-deactivate-section form>p{margin:0 0 16px}
.gsp-deactivate-section form input[type=password]{display:block;width:100%;max-width:420px;border:1px solid #cbd5e1;border-radius:9px;padding:10px 12px;font:inherit}
.gsp-deactivate-section form label{display:block;font-weight:650;margin-bottom:6px}
.gsp-deactivate-section .gsp-deactivate-confirm label{display:flex;align-items:flex-start;gap:9px;line-height:1.45}
.gsp-deactivate-confirm input[type=checkbox]{margin-top:4px;flex:none}
.gsp-deactivate-section .gsp-deactivate-submit{background:#b91c1c!important;color:#fff!important}
.gsp-deactivate-section .gsp-deactivate-submit:hover{background:#991b1b!important}

/* v0.0.0.45: optional links to members' own social media profiles. */
.gsp-profile-social{border:1px solid #dce5ef;border-radius:12px;padding:16px 18px 0;margin:16px 0 20px;min-width:0}
.gsp-profile-social legend{font-weight:750;padding:0 6px;color:#21354b}
.gsp-profile-social .gsp-profile-social-hint{color:#64748b;font-size:.91rem;line-height:1.45;margin:0 0 12px}
.gsp-profile-form .gsp-profile-social input[type=url]{display:block;width:100%;max-width:100%;min-height:42px;padding:9px 12px;border:1px solid #cbd5e1;border-radius:9px;font:inherit;background:#fff;color:#202b36;box-sizing:border-box}
.gsp-social-icons{display:inline-flex;align-items:center;flex-wrap:wrap;gap:9px}
.gsp-social-icon{display:inline-flex;align-items:center;justify-content:center;width:35px;height:35px;padding:5px;border:1px solid #dbe5f1;border-radius:9px;background:#fff;color:#0a66c2;text-decoration:none!important;transition:background .15s,border-color .15s}
.gsp-social-icon svg{display:block;width:22px;height:22px}
.gsp-social-icon:hover{background:#e9f4ff;border-color:#9ecbf5}
.gsp-social-icon:focus-visible{outline:3px solid #0a66c2;outline-offset:2px}
.gsp-social-icon-instagram{color:#b63284}
.gsp-social-icon-facebook{color:#0866ff}
.gsp-social-icon-linkedin{color:#0a66c2}

/* v0.0.0.47: social fields on own profile and personal website links. */
.gsp-social-icon-website{color:#305c79}
.gsp-profile-social-readonly dd{display:flex;align-items:center;flex-wrap:wrap;gap:9px;min-width:0}
.gsp-profile-social-readonly .gsp-profile-social-url{font-size:.9rem;color:#52677b;overflow-wrap:anywhere;word-break:break-word}

/* v0.0.0.48: Interest-message button precedes the remove button. */
.gsp-interest-card-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.gsp-interests a.gsp-interest-compose{text-decoration:none!important;box-sizing:border-box}
@media(max-width:550px){.gsp-interest-card-actions{width:100%;justify-content:stretch}.gsp-interest-card-actions>*{flex:1 1 auto}.gsp-interest-card-actions :is(.gsp-interest-button,.gsp-interest-inline-form){width:100%}}

/* v0.0.0.49: member discussion groups */
.gsp-groups{display:grid;gap:18px;max-width:100%;min-width:0;color:#203248}
.gsp-groups :is(h2,h3){color:#203248!important;text-align:left;line-height:1.3}
.gsp-groups h2{font-size:1.4rem!important;margin:0 0 12px!important}
.gsp-groups h3{font-size:1.12rem!important;margin:0 0 8px!important}
.gsp-group-new,.gsp-group-summary,.gsp-group-compose{background:#f7f9fc;border:1px solid #e0e8f1;border-radius:14px;padding:18px 20px}
.gsp-group-new>p,.gsp-group-summary>p{margin:0 0 12px;color:#536b7d}
.gsp-group-directory{display:grid;gap:12px}
.gsp-group-directory>h2{margin:6px 0 0!important}
.gsp-group-card,.gsp-group-entry{border:1px solid #e2e8ef;background:#fff;border-radius:14px;padding:16px 19px;min-width:0}
.gsp-group-card-top{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.gsp-group-card h3{margin:0!important}
.gsp-group-card h3 a{text-decoration:none!important;color:#0a66c2}
.gsp-group-card h3 a:hover{text-decoration:underline!important}
.gsp-group-chip{font-size:.77rem;color:#28547b;background:#eaf3ff;border:1px solid #d1e4fa;padding:4px 9px;border-radius:999px;font-weight:650}
.gsp-group-muted{color:#63788c;font-size:.9rem;margin:6px 0 11px}
.gsp-group-my{font-weight:650;color:#26734c;font-size:.88rem}
.gsp-group-form{display:grid;gap:12px;align-items:start;margin:0!important}
.gsp-group-form label{display:grid;gap:6px;font-weight:650;font-size:.92rem}
.gsp-group-form input,.gsp-group-form select,.gsp-group-form textarea{box-sizing:border-box;display:block;width:100%;max-width:100%;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#1e293b;font:inherit;padding:9px 11px;min-height:40px}
.gsp-group-form textarea{min-height:80px;resize:vertical;overflow-wrap:break-word}
.gsp-groups .gsp-group-button{display:inline-flex;align-items:center;justify-content:center;min-height:39px;width:max-content;max-width:100%;padding:9px 14px;background:#0a66c2!important;color:#fff!important;border:1px solid #0a66c2!important;border-radius:9px;cursor:pointer;text-decoration:none;font:650 .91rem 'Source Sans 3',sans-serif;line-height:1.25}
.gsp-groups .gsp-group-button:hover{background:#07529e!important}
.gsp-groups .gsp-group-button.is-secondary{background:#fff!important;color:#28547b!important;border-color:#cbd5e1!important}
.gsp-groups .gsp-group-button.is-secondary:hover{background:#eef5fc!important}
.gsp-groups .gsp-group-button:focus-visible{outline:3px solid #84bcff;outline-offset:2px}
.gsp-group-inline{display:inline-flex;max-width:100%}
.gsp-group-detail{display:grid;gap:18px;min-width:0}
.gsp-group-detail>p:first-child{margin:0}
.gsp-group-detail>p:first-child a{text-decoration:underline}
.gsp-group-settings{margin-top:14px;border-top:1px solid #dce5ef;padding-top:10px}
.gsp-group-settings summary{font-size:.91rem;font-weight:650;color:#0a66c2;cursor:pointer}
.gsp-group-settings form{margin:12px 0 0!important}
.gsp-group-private{padding:15px 18px;border:1px solid #d9e7f6;border-radius:12px;background:#f4f8fd}
.gsp-group-private p{margin:0 0 8px}.gsp-group-private p:last-child{margin:0}
.gsp-group-feed{display:grid;gap:14px}
.gsp-group-feed>h3{margin:0!important}
.gsp-group-entry{display:grid;gap:13px}
.gsp-group-text{overflow-wrap:anywhere;white-space:normal;line-height:1.55}
.gsp-group-byline{font-size:.85rem;color:#587087}
.gsp-group-replies{display:grid;gap:8px;margin-left:12px;padding-left:12px;border-left:3px solid #e4edf8}
.gsp-group-reply{padding:9px 12px;background:#f7fafd;border:1px solid #e9eff6;border-radius:9px;min-width:0}
.gsp-group-reply-form{margin-top:4px!important}
.gsp-group-reply-form label{font-size:.85rem}
.gsp-group-reply-form textarea{min-height:65px}
.gsp-group-pagination{display:flex;gap:12px;justify-content:center;align-items:center;flex-wrap:wrap;font-size:.92rem}
.gsp-group-pagination a{color:#0a66c2}
.gsp-group-notice{background:#ecfaf2;border:1px solid #badbc9;color:#17643b;padding:12px 15px;border-radius:10px;margin:0!important}
@media(max-width:600px){.gsp-group-new,.gsp-group-summary,.gsp-group-compose,.gsp-group-card,.gsp-group-entry{padding:14px}.gsp-group-replies{margin-left:4px;padding-left:8px}}

/* v0.0.0.50: Direct interest-area discussion group links. */
.gsp-interests a.gsp-interest-group-link{text-decoration:none!important;box-sizing:border-box}

/* v0.0.0.51: Keep all interest-card actions in a single horizontal row. */
.gsp-interest-card-top > .gsp-interest-card-actions{
  display:flex;flex:0 1 auto;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:7px;
  min-width:0;max-width:100%;box-sizing:border-box;
}
.gsp-interest-card-actions > *{flex:0 0 auto!important;min-width:0}
.gsp-interest-card-actions .gsp-interest-button{white-space:nowrap!important;width:auto!important;max-width:none;padding:8px 10px!important}
.gsp-interest-card-actions .gsp-interest-inline-form{width:auto!important;margin:0!important}
@media(max-width:800px){
  .gsp-interest-card-top > .gsp-interest-card-actions{width:100%;justify-content:flex-start;overflow-x:auto;overflow-y:hidden;padding-bottom:5px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
}

/* v0.0.0.52: member directory stays within narrow WordPress columns and phone viewports. */
.gsp-directory,
.gsp-directory *{box-sizing:border-box}
.gsp-directory{min-width:0;max-width:100%;overflow-wrap:anywhere}
.gsp-directory > *,
.gsp-directory-group,
.gsp-directory-heading,
.gsp-directory-list,
.gsp-directory-member,
.gsp-directory-member-details,
.gsp-directory-member-toggle,
.gsp-directory-member-profile,
.gsp-directory-profile-row,
.gsp-directory-profile-row dd{min-width:0;max-width:100%}
.gsp-directory-group{width:100%}
.gsp-directory-heading .gsp-directory-title{
  min-width:0;overflow-wrap:anywhere;word-break:normal;line-height:1.3;
}
.gsp-directory-member-name,
.gsp-directory-member-position,
.gsp-directory-profile-row dd,
.gsp-directory-profile-row dd a{overflow-wrap:anywhere;word-break:break-word}
.gsp-directory-filter,.gsp-directory-send-actions .gsp-message-button{white-space:normal;text-align:center}
.gsp-directory-member-profile{width:100%;min-width:0}
.gsp-directory-profile-row{min-width:0}
@media(max-width:600px){
  .gsp-directory{gap:14px}
  .gsp-directory-heading{padding:12px 14px;gap:9px}
  .gsp-directory-heading .gsp-directory-title{font-size:1.05rem!important;flex:1 1 100%}
  .gsp-directory-member{display:flex;flex-direction:column;align-items:stretch;padding:12px 14px;gap:10px}
  .gsp-directory-member-details{width:100%;flex:0 1 auto}
  .gsp-directory-member-toggle{width:100%;gap:4px 8px}
  .gsp-directory-member-toggle .gsp-directory-member-name{flex:1 1 auto;min-width:0}
  .gsp-directory-member-toggle .gsp-directory-member-position{flex:1 1 100%;order:3}
  .gsp-directory-toggle-hint{order:2}
  .gsp-directory-member>.gsp-message-button{align-self:flex-start;max-width:100%}
  .gsp-directory-member-profile{padding:11px 12px}
  .gsp-directory-filters{gap:6px}
  .gsp-directory-filter{flex:1 1 calc(50% - 6px);min-width:0;padding:8px 9px}
  .gsp-directory-send-actions{width:100%;gap:7px}
  .gsp-directory-send-actions .gsp-message-button{width:100%;flex:1 1 100%}
  .gsp-export-panel,.gsp-copy-panel{padding:16px 14px}
  .gsp-export-panel form,.gsp-copy-panel form{align-items:stretch}
  .gsp-export-panel select,.gsp-copy-panel select{flex:1 1 100%;width:100%}
}

/* v0.0.0.52: One-click copy for the same eligible contacts as CSV / vCard. */
.gsp-copy-panel{min-width:0;max-width:100%;background:#fff;border:1px solid #e1e7ed;border-radius:14px;padding:20px 22px;margin:28px 0 0;box-shadow:0 2px 10px rgba(18,40,65,.025)}
.gsp-copy-panel h3{margin:0 0 8px;font-size:1.15rem}
.gsp-copy-panel p{font-size:.91rem;color:#526171;line-height:1.5;margin:0 0 14px}
.gsp-copy-form{display:flex;flex-wrap:wrap;align-items:end;gap:10px 14px;min-width:0}
.gsp-copy-form label{flex-basis:100%;display:block;font-weight:650;font-size:.92rem}
.gsp-copy-form select{flex:1 1 240px;min-width:0;max-width:100%;margin:0!important;padding:8px 12px;border:1px solid #cbd5e1;border-radius:9px;background:#fff}
.gsp-copy-panel .gsp-copy-button{font-size:.9rem;padding:9px 14px;border:1px solid #0a66c2;background:#0a66c2;color:#fff;border-radius:9px;cursor:pointer;font-weight:650;white-space:normal}
.gsp-copy-panel .gsp-copy-button:hover{background:#084f96}
.gsp-copy-panel .gsp-copy-button:disabled{opacity:.65;cursor:wait}
.gsp-copy-form .gsp-copy-emails{width:100%;max-width:100%;min-height:100px;display:block;flex:1 1 100%;margin:0;padding:10px 12px;border:1px solid #cbd5e1;border-radius:9px;font:inherit;line-height:1.5;background:#f8fbff;color:#21354b;resize:vertical;overflow-wrap:anywhere}
.gsp-copy-form .gsp-copy-status{flex-basis:100%;margin:0;font-size:.85rem}
@media(max-width:600px){.gsp-copy-panel{padding:16px 14px}.gsp-copy-form select,.gsp-copy-form .gsp-copy-button{width:100%;flex:1 1 100%}}

/* v0.0.0.54: Adjacent controls for clipboard export or opening a draft mail. */
.gsp-copy-actions{display:flex;flex:0 1 auto;min-width:0;align-items:center;gap:8px;flex-wrap:wrap}
.gsp-copy-panel .gsp-mailto-button{font-size:.9rem;padding:9px 14px;border:1px solid #0a66c2;background:#0a66c2;color:#fff;border-radius:9px;cursor:pointer;font-weight:650;white-space:normal}
.gsp-copy-panel .gsp-mailto-button:hover{background:#084f96}
.gsp-copy-panel .gsp-mailto-button:disabled{opacity:.65;cursor:wait}
@media(max-width:600px){.gsp-copy-actions{flex:1 1 100%;width:100%}.gsp-copy-panel .gsp-copy-actions button{flex:1 1 100%;width:100%}}

/* A shared unsubscribe link in externally composed mail leads to a confirmed,
   authenticated preference action on the recipient's own profile. */
.gsp-mail-optout-shortcut{padding:14px 16px;margin:16px 0;border:1px solid #c7d9ee;border-radius:10px;background:#f5f9ff}
.gsp-mail-optout-shortcut p{margin:0 0 10px}
.gsp-mail-optout-shortcut form{margin:0}
.gsp-copy-panel .gsp-copy-help{font-size:.88rem;color:#566478;margin:10px 0 0;line-height:1.45}


/* v0.0.0.56: Mailto-mode buttons share the established link design. */
.gsp-mail-compose-trigger{font-family:inherit;cursor:pointer;max-width:100%}
.gsp-mail-compose-trigger:disabled{opacity:.55;cursor:wait}
.gsp-mail-compose-status{display:block;flex:1 1 100%;color:#526171;font-size:.86rem;min-width:0;overflow-wrap:anywhere}
.gsp-directory-send-actions .gsp-mail-compose-trigger{white-space:normal;text-align:center}


/* v0.0.0.59 – discussion group actions, safe link cards and mobile editing. */
.gsp-groups,.gsp-group-detail,.gsp-group-entry,.gsp-group-reply{min-width:0;max-width:100%;overflow-wrap:anywhere;box-sizing:border-box}
.gsp-group-detail .gsp-group-summary .gsp-group-contact{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin:4px 10px 8px 0;text-decoration:none!important}
.gsp-group-text{overflow-wrap:anywhere;word-break:break-word}
.gsp-group-text a{overflow-wrap:anywhere;word-break:break-all;text-decoration:underline}
.gsp-group-link-preview{display:flex;flex-direction:column;gap:5px;margin:12px 0 16px;padding:12px 16px;border:1px solid #cbddec;border-radius:11px;background:#f6faff;text-decoration:none!important;color:#203d57!important;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}
.gsp-group-link-preview:hover{border-color:#0a66c2;background:#edf6ff}
.gsp-group-link-preview strong{font-size:1.02rem;line-height:1.35;color:#0b5599}
.gsp-group-link-preview>span{font-size:.88rem;line-height:1.45}
.gsp-group-preview-label{font-size:.77rem!important;color:#607184}
.gsp-group-preview-more{font-weight:700;color:#0a66c2}
.gsp-group-content-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-start;margin:12px 0 5px}
.gsp-group-edit{flex:1 1 180px;min-width:0;max-width:100%}
.gsp-group-edit summary{cursor:pointer;color:#0a66c2;font-size:.88rem;font-weight:700}
.gsp-group-edit form{margin:10px 0 0;display:flex;flex-direction:column;align-items:flex-start;gap:7px}
.gsp-group-edit label{font-size:.85rem;font-weight:700}
.gsp-group-edit textarea{width:100%;box-sizing:border-box;max-width:100%;min-height:90px;border:1px solid #cbd5e1;border-radius:9px;padding:9px;font:inherit}
.gsp-group-delete-form{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:.85rem}
.gsp-group-delete-confirm{display:inline-flex;align-items:center;gap:5px;font-size:.83rem}
.gsp-group-delete-button{border:1px solid #b91c1c;border-radius:8px;padding:6px 12px;color:#9b1c1c;background:#fff;font:650 .86rem 'Source Sans 3',sans-serif;cursor:pointer}
.gsp-group-delete-button:hover{background:#fff0f0}
@media(max-width:600px){.gsp-group-content-actions{flex-direction:column;align-items:stretch}.gsp-group-detail .gsp-group-summary .gsp-group-contact{max-width:100%;white-space:normal}}

/* v0.0.0.60: single X delete icon at top-right, without checkbox. */
.gsp-groups .gsp-group-entry,.gsp-groups .gsp-group-reply{position:relative}
.gsp-groups .gsp-group-entry>.gsp-group-byline,.gsp-groups .gsp-group-reply>.gsp-group-byline{padding-right:35px}
.gsp-groups .gsp-group-delete-form{position:absolute;top:10px;right:10px;display:block!important;margin:0!important;width:auto!important;min-width:0!important;z-index:2}
.gsp-groups .gsp-group-delete-button{display:flex;align-items:center;justify-content:center;width:30px;height:30px;min-height:30px;min-width:30px;max-width:30px;padding:0!important;border:1px solid #e9c7c7!important;border-radius:8px;background:#fff!important;color:#a51e2c!important;font-size:24px;font-weight:400;line-height:1;cursor:pointer}
.gsp-groups .gsp-group-delete-button:hover{background:#fff0f0!important;border-color:#c9414c!important}
.gsp-groups .gsp-group-delete-button:focus-visible{outline:3px solid #a51e2c;outline-offset:2px}
.gsp-groups .gsp-group-content-actions{display:block;margin:8px 0 4px}

/* v0.0.0.69: member-owned avatars, with Gravatar/default as fallback. */
.gsp-directory-avatar{display:flex;justify-content:flex-start;align-items:center;margin:12px 0 10px;min-width:0}
.gsp-avatar-image,.gsp-avatar-placeholder{display:block!important;width:100px!important;height:100px!important;max-width:100%;object-fit:cover;object-position:center;border-radius:50%!important;border:2px solid #e2eaf3;background:#f1f5fa;box-sizing:border-box}
.gsp-avatar-placeholder{display:flex!important;align-items:center;justify-content:center;color:#95a5b7}
.gsp-avatar-placeholder svg{width:58%;height:58%}
.gsp-profile-avatar-preview{display:flex;align-items:center;justify-content:flex-start;flex:0 0 auto;margin-bottom:16px}
.gsp-profile-avatar-preview .gsp-avatar-image,.gsp-profile-avatar-preview .gsp-avatar-placeholder{width:112px!important;height:112px!important}
.gsp-profile-avatar-editor{display:flex;gap:18px;align-items:center;margin:2px 0 23px;padding:16px;border:1px solid #e0e8f1;background:#f7faff;border-radius:12px;max-width:100%;min-width:0}
.gsp-profile-avatar-editor .gsp-profile-avatar-preview{margin:0}
.gsp-profile-avatar-fields{min-width:0;flex:1 1 auto}
.gsp-profile-avatar-fields input[type=file]{display:block;width:100%;max-width:100%;font:inherit;font-size:.92rem;color:#253b51}
.gsp-profile-avatar-fields .gsp-profile-avatar-remove{display:flex;align-items:center;gap:8px;font-size:.9rem;font-weight:500;margin:12px 0 0}
.gsp-profile-avatar-fields .gsp-profile-avatar-remove input{margin:0;width:17px;height:17px;flex:none}
@media(max-width:480px){.gsp-profile-avatar-editor{flex-direction:column;align-items:flex-start}.gsp-directory-avatar{margin:10px 0}}

/* Public group roster (open groups only) */
.gsp-public-group-members{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));gap:14px;max-width:100%;min-width:0}
.gsp-public-group-person{display:flex;align-items:center;gap:14px;min-width:0;box-sizing:border-box;border:1px solid #e1e9f2;background:#fff;border-radius:14px;padding:15px}
.gsp-public-group-person .avatar,.gsp-public-group-avatar{width:76px;height:76px;min-width:76px;object-fit:cover;border-radius:50%;display:block}
.gsp-public-group-text{display:grid;gap:3px;overflow-wrap:anywhere;min-width:0}
.gsp-public-group-text strong{color:#173b5c;font-size:1.06rem}
.gsp-public-group-text span{font-size:.9rem;color:#526a7c}
.gsp-group-invitation{max-width:650px;padding:22px;border:1px solid #d7e5f1;border-radius:12px;background:#fff}
@media(max-width:420px){.gsp-public-group-person{gap:10px;padding:10px}.gsp-public-group-person .avatar,.gsp-public-group-avatar{width:60px;height:60px;min-width:60px}}


/* v0.0.0.72: formal membership groups in group creation form. */
.gsp-group-form .gsp-group-membership-option{display:flex;flex-direction:row;align-items:flex-start;gap:11px;cursor:pointer;padding:11px 13px;border:1px solid #d6e4f3;border-radius:10px;background:#f1f7ff}
.gsp-group-form .gsp-group-membership-option input[type=checkbox]{width:18px;min-width:18px;min-height:18px;height:18px;margin:2px 0 0;flex:none;accent-color:#0a66c2;padding:0}
.gsp-group-membership-option span{display:flex;flex-direction:column;gap:3px;min-width:0}
.gsp-group-membership-option small{font-size:.85rem;line-height:1.45;font-weight:400;color:#52677c}

/* v0.0.0.73: destructive group removal is separate from regular group settings. */
.gsp-group-danger summary{color:#b91c1c!important}
.gsp-groups .gsp-group-button.is-danger{background:#b91c1c!important;border-color:#b91c1c!important;color:#fff!important}
.gsp-groups .gsp-group-button.is-danger:hover{background:#991b1b!important;border-color:#991b1b!important}

/* v0.0.0.74: category-based group directory. */
.gsp-group-directory .gsp-group-category-heading{font-size:1.16rem;color:#173b5c;border-bottom:1px solid #dce7f2;padding:10px 0 7px;margin:12px 0 1px!important;line-height:1.4}
.gsp-group-directory .gsp-group-card h4{font-size:1.06rem;margin:0!important}
.gsp-group-directory .gsp-group-card h4 a{text-decoration:none!important;color:#0a66c2}
.gsp-group-directory .gsp-group-card h4 a:hover{text-decoration:underline!important}


/* v0.0.0.75: collapsible group creation, fast filters and readable descriptions. */
.gsp-group-top-controls{display:flex;align-items:stretch;gap:12px;flex-wrap:wrap;min-width:0;max-width:100%}
.gsp-group-search-panel{display:flex;align-items:end;gap:10px;flex:1 1 350px;min-width:0;flex-wrap:wrap}
.gsp-group-search-panel label{font-size:.9rem;font-weight:650;color:#24415c;flex:1 1 160px;min-width:0}
.gsp-group-search-panel select,.gsp-group-search-panel input{display:block;width:100%;max-width:100%;min-height:43px;padding:9px 10px;margin-top:5px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;box-sizing:border-box;font:inherit}
.gsp-group-top-controls .gsp-group-new{padding:0;margin:0;flex:0 1 auto;min-width:155px}
.gsp-group-new .gsp-group-create-toggle{list-style:none;display:flex;align-items:center;justify-content:center;min-height:43px;padding:9px 16px;background:#0a66c2;color:white;border-radius:10px;cursor:pointer;font-weight:700;box-sizing:border-box}
.gsp-group-new .gsp-group-create-toggle::-webkit-details-marker{display:none}
.gsp-group-new .gsp-group-create-toggle::before{content:'+';font-size:1.28rem;line-height:1;margin-right:8px}
.gsp-group-new[open] .gsp-group-create-toggle{border-radius:10px 10px 0 0}
.gsp-group-new .gsp-group-create-body{padding:16px;min-width:0}
.gsp-group-new .gsp-group-create-body>p{font-size:.92rem;color:#52677c}
.gsp-group-new .gsp-group-create-body label{display:block}
.gsp-group-new .gsp-group-create-body textarea,.gsp-group-settings textarea{display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box;min-height:80px;padding:10px 12px;margin-top:5px;border:1px solid #cbd5e1;border-radius:9px;font:inherit;resize:vertical}
.gsp-group-top-controls .gsp-group-new[open]{flex:1 1 100%}
.gsp-group-category{display:grid;gap:12px;min-width:0}
.gsp-group-category[hidden],.gsp-group-card[hidden],.gsp-group-no-match[hidden]{display:none!important}
.gsp-group-description,.gsp-interest-description{color:#344b62;line-height:1.5;margin:7px 0 11px;overflow-wrap:anywhere;white-space:pre-wrap}
.gsp-group-no-match{padding:16px;border-radius:10px;background:#f4f8fc;color:#52677c}
.gsp-interest-create-row label:has(textarea){flex:1 1 100%}
.gsp-interest-create-row textarea{display:block;width:100%;min-height:70px;margin-top:5px;padding:9px 12px;border:1px solid #cbd5e1;border-radius:9px;font:inherit;box-sizing:border-box;resize:vertical}
.gsp-interest-description{font-size:.93rem;flex:1 1 100%;width:100%;margin:5px 0 10px}
@media(max-width:600px){.gsp-group-top-controls{flex-direction:column}.gsp-group-search-panel{flex:1 1 auto;width:100%;display:grid;grid-template-columns:minmax(0,1fr)}.gsp-group-top-controls .gsp-group-new{width:100%}.gsp-group-search-panel label{width:100%}}

.gsp-interest-description-editor{margin:8px 0 12px;border-top:1px solid #e1e8ef;padding-top:9px}
.gsp-interest-description-editor summary{cursor:pointer;color:#0a66c2;font-weight:650;font-size:.89rem}
.gsp-interest-description-editor form{display:grid;justify-items:start;gap:8px;margin:10px 0 0;min-width:0}
.gsp-interest-description-editor form label{font-size:.89rem;font-weight:650}
.gsp-interest-description-editor textarea{width:100%;box-sizing:border-box;min-height:74px;max-width:100%;padding:9px 12px;border:1px solid #cbd5e1;border-radius:9px;font:inherit;resize:vertical}

/* v0.0.0.76: place create controls on their own rows, outside the search fields. */
.gsp-group-top-controls{display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.gsp-group-search-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:12px;width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.gsp-group-search-panel label{min-width:0;width:100%;margin:0;display:block}
.gsp-group-search-panel select,.gsp-group-search-panel input{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.gsp-groups>.gsp-group-new{display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box;margin:0;padding:0;border:0;background:transparent;overflow:visible}
.gsp-groups>.gsp-group-new>.gsp-group-create-toggle{display:inline-flex;width:auto;max-width:100%;min-height:42px;padding:10px 18px;box-sizing:border-box;align-items:center;justify-content:center;position:static;float:none;clear:both}
.gsp-groups>.gsp-group-new[open]>.gsp-group-create-toggle{border-radius:10px}
.gsp-groups>.gsp-group-new .gsp-group-create-body{margin-top:12px;padding:18px 20px;background:#f7f9fc;border:1px solid #e0e8f1;border-radius:14px;box-sizing:border-box;min-width:0;max-width:100%}
.gsp-groups>.gsp-group-new .gsp-group-create-body form{max-width:100%}
.gsp-interest-create{padding:0;border:0;background:transparent;min-width:0;max-width:100%}
.gsp-interest-new{display:block;min-width:0;max-width:100%}
.gsp-interest-new>.gsp-interest-create-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:42px;max-width:100%;background:#0a66c2;color:#fff;border-radius:10px;padding:10px 17px;box-sizing:border-box;font-weight:700;cursor:pointer;list-style:none}
.gsp-interest-new>.gsp-interest-create-toggle::-webkit-details-marker{display:none}
.gsp-interest-new>.gsp-interest-create-toggle::before{content:'+';font-size:1.2rem;line-height:1;margin-right:9px}
.gsp-interest-new[open]>.gsp-interest-create-toggle::before{content:'−'}
.gsp-interest-create-body{margin-top:12px;padding:18px 20px;border:1px solid #e0e8f1;border-radius:14px;background:#f8fafd;box-sizing:border-box;max-width:100%}
.gsp-group-roster{margin:14px 0;padding:12px 14px;background:#fff;border:1px solid #dce7f2;border-radius:10px;box-sizing:border-box;max-width:100%}
.gsp-group-roster summary{font-weight:700;color:#0a66c2;cursor:pointer;list-style:revert}
.gsp-group-roster summary:focus-visible,.gsp-interest-create-toggle:focus-visible,.gsp-group-create-toggle:focus-visible{outline:3px solid #84bcff;outline-offset:3px}
.gsp-group-roster-list{list-style:disc!important;margin:12px 0 0!important;padding-left:22px!important}
.gsp-group-roster-list li{list-style:disc!important;margin:6px 0;overflow-wrap:anywhere}
.gsp-group-roster-list li span{color:#64748b;font-size:.92rem}
.gsp-group-roster>p{margin:12px 0 0;color:#64748b}
.gsp-group-roster-link{margin:4px 0 12px;font-size:.91rem}
.gsp-group-roster-link a{color:#0a66c2;text-decoration:underline;text-underline-offset:2px}
@media(max-width:650px){.gsp-group-search-panel{grid-template-columns:minmax(0,1fr)}.gsp-group-search-panel label{width:100%}.gsp-groups>.gsp-group-new .gsp-group-create-body,.gsp-interest-create-body{padding:15px}}

/* v0.0.0.81: Rich-text group posts and access-controlled documents. */
.gsp-groups .gsp-rich-source[hidden]{display:none!important}
.gsp-groups .gsp-rich-editor{width:100%;max-width:100%;min-width:0;border:1px solid #c5d5e8;border-radius:10px;overflow:hidden;background:#fff}
.gsp-groups .gsp-rich-toolbar{display:flex;gap:3px;align-items:center;flex-wrap:wrap;padding:7px;border-bottom:1px solid #dce5ef;background:#f4f8fc}
.gsp-groups .gsp-rich-tool{min-height:35px;padding:6px 10px;border:1px solid transparent;border-radius:6px;background:transparent;color:#203d57;font:650 .88rem 'Source Sans 3',sans-serif;cursor:pointer}
.gsp-groups .gsp-rich-tool:hover,.gsp-groups .gsp-rich-tool:focus-visible{background:#e2edfc;border-color:#adcaf0}
.gsp-groups .gsp-rich-bold{font-weight:850}.gsp-groups .gsp-rich-italic{font-style:italic}.gsp-groups .gsp-rich-underline{text-decoration:underline}
.gsp-groups .gsp-rich-input{padding:12px;min-height:110px;max-width:100%;font:inherit;color:#20344a;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;outline:none}
.gsp-groups .gsp-rich-input:empty:before{content:attr(data-placeholder);color:#7a8b9b;pointer-events:none}
.gsp-groups .gsp-rich-input:focus-visible{box-shadow:inset 0 0 0 2px #73aaf1}
.gsp-groups .gsp-rich-counter{display:block;padding:4px 10px 7px;color:#60758b;font-size:.8rem;text-align:right}
.gsp-groups .gsp-rich-counter.is-over{color:#b91c1c;font-weight:700}
.gsp-groups .gsp-group-upload-fields{display:grid;gap:10px;width:100%;min-width:0;border:1px solid #e1e8f0;border-radius:10px;padding:12px;box-sizing:border-box;background:#f8fbff}
.gsp-groups .gsp-group-upload-fields label{display:grid;gap:5px;font-size:.84rem}
.gsp-groups .gsp-group-upload-fields input[type=file]{width:100%;min-width:0;min-height:0;padding:9px;border:1px dashed #b6cce1;background:#fff}
.gsp-groups .gsp-group-existing-files{border:0;padding:0;display:grid;gap:4px;min-width:0}
.gsp-groups .gsp-group-existing-files legend{font-weight:650;margin-bottom:6px}
.gsp-groups .gsp-group-existing-files label{display:flex;align-items:center;gap:8px;font-weight:400;overflow-wrap:anywhere}
.gsp-groups .gsp-group-existing-files input[type=checkbox]{flex:none;width:17px;height:17px;min-height:17px;margin:0}
.gsp-groups .gsp-group-attachments{min-width:0;padding:11px 13px;background:#f4f8fd;border-radius:10px;border:1px solid #e1e8f0}
.gsp-groups .gsp-group-attachments ul{margin:8px 0 0;padding-left:20px}
.gsp-groups .gsp-group-attachments li{padding:3px 0;overflow-wrap:anywhere}
.gsp-groups .gsp-group-attachments small{color:#6a7b89}
.gsp-groups .gsp-group-post-image{margin:10px 0 4px;max-width:100%}
.gsp-groups .gsp-group-post-image img{display:block;width:auto;max-width:100%;height:auto;max-height:600px;object-fit:contain;border-radius:10px;border:1px solid #e0e7ef}
.gsp-groups .gsp-group-text.is-rich{white-space:pre-wrap}
.gsp-groups .gsp-group-text.is-rich p{margin:0 0 .65em}
.gsp-groups .gsp-group-text.is-rich ul,.gsp-groups .gsp-group-text.is-rich ol{margin:.4em 0 .65em;padding-left:1.75em}
@media(max-width:520px){.gsp-groups .gsp-rich-toolbar{gap:1px}.gsp-groups .gsp-rich-tool{padding:5px 7px;font-size:.8rem}}

/* 0.0.0.83: Group sections. Full-page tab links work even without JS. */
.gsp-group-tabs{display:flex;flex-wrap:wrap;align-items:stretch;gap:7px;min-width:0;max-width:100%;padding:7px;border:1px solid #d9e5f3;border-radius:12px;background:#f4f8fd;box-sizing:border-box}
.gsp-group-tabs .gsp-group-tab{display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;min-height:42px;max-width:100%;padding:9px 15px;border-radius:9px;color:#164c7e!important;text-decoration:none!important;font-weight:700;font-size:.95rem;line-height:1.25;border:1px solid transparent;white-space:normal}
.gsp-group-tabs .gsp-group-tab:hover{background:#e2effe;border-color:#c0ddfa}
.gsp-group-tabs .gsp-group-tab.is-active,.gsp-group-tabs .gsp-group-tab[aria-current="page"]{color:#fff!important;background:#0a66c2!important;border-color:#0a66c2!important}
.gsp-group-tabs .gsp-group-tab:focus-visible{outline:3px solid #86bffd;outline-offset:2px}
.gsp-group-tab-panel{display:grid;gap:15px;min-width:0;max-width:100%;box-sizing:border-box}
.gsp-group-admin-panel,.gsp-group-members-panel{padding:18px 20px;background:#f8fafe;border:1px solid #e0e8f3;border-radius:14px;min-width:0;box-sizing:border-box}
.gsp-group-admin-panel>h3,.gsp-group-members-panel>h3{margin:0 0 13px!important;color:#253c55}
.gsp-group-admin-panel>.gsp-group-settings{background:#fff;border:1px solid #dbe5ef;border-radius:10px;padding:12px 14px;margin-top:10px}
.gsp-group-admin-panel>.gsp-group-muted{line-height:1.5}
.gsp-group-members-panel>.gsp-group-roster-list{margin-top:0!important}
.gsp-group-tab-panel>.gsp-group-events{margin:0}
@media(max-width:560px){.gsp-group-tabs{gap:5px;padding:5px}.gsp-group-tabs .gsp-group-tab{flex:1 1 calc(50% - 5px);padding:9px 6px;font-size:.88rem}.gsp-group-admin-panel,.gsp-group-members-panel{padding:14px}}

/* 0.0.0.84: Group visibility badge in top-right, leader in Members tab. */
.gsp-group-summary .gsp-group-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0;margin-bottom:9px}
.gsp-group-summary .gsp-group-heading h2{flex:1 1 auto;min-width:0;overflow-wrap:anywhere;margin:0!important;line-height:1.35}
.gsp-group-summary .gsp-group-status{display:inline-flex;align-items:center;flex:0 0 auto;max-width:48%;overflow-wrap:anywhere;text-align:center;line-height:1.35;white-space:normal}
.gsp-group-members-panel .gsp-group-members-leader{margin:0 0 15px;padding:10px 12px;background:#fff;border:1px solid #dce7f2;border-radius:9px;overflow-wrap:anywhere}
@media(max-width:420px){.gsp-group-summary .gsp-group-heading{gap:8px}.gsp-group-summary .gsp-group-status{max-width:54%;font-size:.72rem;padding:4px 7px}}

/* v0.0.0.85 – one-choice polls below group entries. */
.gsp-groups .gsp-poll-create{margin:14px 0;padding:0;border:1px solid #cdddeb;border-radius:11px;background:#f7faff;max-width:100%;box-sizing:border-box;overflow:hidden}
.gsp-groups .gsp-poll-create>summary{padding:13px 15px;font-weight:750;cursor:pointer;color:#174a7a;list-style:revert}
.gsp-groups .gsp-poll-create>summary:focus-visible{outline:3px solid #89bfff;outline-offset:-3px}
.gsp-groups .gsp-poll-create-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:15px;max-width:100%;box-sizing:border-box}
.gsp-groups .gsp-poll-create-fields>label:first-child,.gsp-groups .gsp-poll-create-fields>.gsp-group-muted,.gsp-groups .gsp-poll-create-fields>.gsp-poll-remove{grid-column:1/-1}
.gsp-groups .gsp-poll-create-fields label{display:grid;gap:6px;min-width:0;font-weight:650;font-size:.92rem}
.gsp-groups .gsp-poll-create-fields input[type=text]{display:block;min-width:0;width:100%;max-width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid #bccfe0;border-radius:8px;background:#fff;font:inherit}
.gsp-groups .gsp-poll-create-fields>.gsp-group-muted{margin:0;color:#5e7185;font-size:.86rem}
.gsp-groups .gsp-poll-create-fields .gsp-poll-remove{display:flex;align-items:center;gap:8px;font-weight:550}
.gsp-groups .gsp-poll-edit-locked{margin:14px 0;padding:12px 14px;border-radius:10px;background:#f3f6fa;color:#344a5e}
.gsp-groups .gsp-poll-edit-locked p{margin:6px 0 0;font-size:.9rem}
.gsp-groups .gsp-group-poll{margin:18px 0 12px;padding:16px 18px;border:1px solid #cfddea;background:#f8fbff;border-radius:12px;min-width:0;max-width:100%;box-sizing:border-box}
.gsp-groups .gsp-group-poll h4{font-size:1.07rem;line-height:1.45;font-weight:750;color:#244664;margin:0 0 15px;overflow-wrap:anywhere}
.gsp-groups .gsp-group-poll fieldset{border:0;margin:0 0 12px;padding:0;min-width:0}
.gsp-groups .gsp-group-poll legend{font-size:.86rem;color:#526a82;margin:0 0 10px}
.gsp-groups .gsp-poll-choice{display:flex;align-items:flex-start;gap:11px;padding:10px 12px;margin:0 0 7px;border:1px solid #dae5f0;border-radius:9px;background:#fff;cursor:pointer;line-height:1.4;overflow-wrap:anywhere}
.gsp-groups .gsp-poll-choice:hover{border-color:#80b4e9;background:#f1f7ff}
.gsp-groups .gsp-poll-choice input[type=radio]{flex:none;min-width:17px;width:17px;height:17px;margin:2px 0 0;accent-color:#0a66c2}
.gsp-groups .gsp-group-poll-form button{margin:2px 0 0}
.gsp-groups .gsp-poll-results{display:grid;gap:13px}
.gsp-groups .gsp-poll-result-label{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:.9rem;line-height:1.45;overflow-wrap:anywhere}
.gsp-groups .gsp-poll-result-label span:first-child{min-width:0;flex:1}
.gsp-groups .gsp-poll-result-label span:last-child{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:700;color:#466078}
.gsp-groups .gsp-poll-result.is-mine .gsp-poll-result-label span:first-child{font-weight:750;color:#155fa4}
.gsp-groups .gsp-poll-bar{height:10px;background:#e1ebf5;border-radius:20px;overflow:hidden;margin-top:6px}
.gsp-groups .gsp-poll-bar>span{display:block;height:100%;background:#3e8dd0;border-radius:20px}
.gsp-groups .gsp-poll-result.is-mine .gsp-poll-bar>span{background:#0a66c2}
.gsp-groups .gsp-poll-total{margin:13px 0 0!important;font-size:.83rem;color:#66788a}
@media(max-width:560px){.gsp-groups .gsp-poll-create-fields{grid-template-columns:minmax(0,1fr)}.gsp-groups .gsp-group-poll{padding:13px 12px}.gsp-groups .gsp-poll-result-label{gap:8px}}

/* v0.0.0.86: Toolbar actions for polls and protected post attachments. */
.gsp-groups .gsp-poll-create.gsp-poll-toolbar-controlled>summary{display:none}
.gsp-groups .gsp-group-upload-fields[hidden]{display:none!important}
.gsp-groups .gsp-poll-options{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.gsp-groups .gsp-poll-option-row{display:flex;align-items:end;gap:6px;min-width:0}
.gsp-groups .gsp-poll-option-row>label{flex:1;min-width:0}
.gsp-groups .gsp-poll-remove-option{flex:none;border:1px solid #cad8e7;border-radius:7px;background:white;color:#b42318;min-height:40px;min-width:40px;cursor:pointer;font-size:1.2rem}
.gsp-groups .gsp-poll-add-option{grid-column:1/-1;justify-self:start;border:1px solid #abc6df;border-radius:8px;background:white;color:#175486;font-weight:650;cursor:pointer;padding:9px 12px}
.gsp-groups .gsp-poll-multiple{grid-column:1/-1;display:flex!important;flex-direction:row!important;align-items:center;gap:10px;font-weight:550!important}
.gsp-groups .gsp-poll-multiple input{width:auto}
.gsp-groups .gsp-rich-tool{white-space:nowrap}
.gsp-groups .gsp-poll-choice input[type=checkbox]{flex:none;min-width:17px;width:17px;height:17px;margin:2px 0 0;accent-color:#0a66c2}
@media(max-width:560px){.gsp-groups .gsp-poll-options{grid-template-columns:minmax(0,1fr)}}

/* v0.0.0.87: Named ballots under each answer; compact on small screens. */
.gsp-groups .gsp-poll-voters{margin:8px 0 0;font-size:.88rem;color:#344b60}
.gsp-groups .gsp-poll-voters>summary{display:list-item;cursor:pointer;max-width:max-content;font-weight:650;color:#175486;padding:2px 0}
.gsp-groups .gsp-poll-voters>summary:hover{text-decoration:underline}
.gsp-groups .gsp-poll-voters>summary:focus-visible{outline:2px solid #0a66c2;outline-offset:3px}
.gsp-groups .gsp-poll-voters ul{margin:7px 0 4px;padding-left:23px;line-height:1.65;overflow-wrap:anywhere}

/* v0.0.0.89 — refreshed, responsive "Min profil". Scoped to the profile block. */
.gsp-member-box.gsp-profile{
  width:100%;max-width:900px;min-width:0;margin-inline:auto;
  box-sizing:border-box;color:#20364d;
}
.gsp-profile,.gsp-profile *{box-sizing:border-box}
.gsp-profile-view{display:grid;gap:18px;min-width:0}
.gsp-profile-hero{
  position:relative;overflow:hidden;isolation:isolate;
  padding:30px 32px 25px;border-radius:19px;
  background:linear-gradient(120deg,#123c67 0%,#0c65af 75%,#2386c1 100%);
  color:#fff;box-shadow:0 12px 30px rgba(17,61,99,.13);
}
.gsp-profile-hero::before{
  content:"";position:absolute;z-index:-1;width:290px;height:290px;
  border-radius:50%;border:48px solid rgba(255,255,255,.07);
  right:-105px;top:-150px;pointer-events:none
}
.gsp-profile-hero-top{display:flex;align-items:center;gap:24px;min-width:0}
.gsp-profile-hero .gsp-profile-avatar-preview{margin:0;flex:0 0 auto}
.gsp-profile-hero .gsp-avatar-image,
.gsp-profile-hero .gsp-avatar-placeholder{
  width:116px!important;height:116px!important;max-width:none!important;
  border:4px solid rgba(255,255,255,.9)!important;
  box-shadow:0 5px 17px rgba(10,30,54,.25);
}
.gsp-profile-hero-identity{min-width:0;flex:1}
.gsp-profile-eyebrow{display:inline-block;margin:0 0 6px;color:#d1e7fa;font-weight:750;font-size:.75rem;line-height:1.3;letter-spacing:.085em;text-transform:uppercase}
.gsp-profile-display-name{
  color:#fff!important;font-size:clamp(1.65rem,3vw,2.3rem)!important;
  line-height:1.14!important;font-weight:800!important;margin:0 0 8px!important;
  letter-spacing:-.02em;overflow-wrap:anywhere
}
.gsp-profile-hero .gsp-profile-subtitle{margin:4px 0!important;font-size:1rem;line-height:1.45;color:#e5f2fd;overflow-wrap:anywhere}
.gsp-profile-hero .gsp-profile-department{font-size:.91rem;color:#cbe4f6}
.gsp-profile-department span{font-size:.6em;vertical-align:middle;padding-right:5px}
.gsp-profile-hero .gsp-profile-actions{margin:22px 0 0!important;gap:10px}
.gsp-profile-hero .gsp-profile-button,
.gsp-profile-hero .gsp-profile-deactivate-button{
  min-height:42px;box-sizing:border-box;text-align:center;
  border-radius:10px!important;padding:10px 17px!important;
}
.gsp-profile-hero .gsp-profile-button{
  color:#0e518e!important;background:#fff!important;border:1px solid #fff!important;
  box-shadow:0 2px 8px rgba(7,35,67,.1)
}
.gsp-profile-hero .gsp-profile-button:hover{background:#eaf5fe!important}
.gsp-profile-hero .gsp-profile-deactivate-button{
  color:#fff!important;background:rgba(255,255,255,.10)!important;
  border:1px solid rgba(255,255,255,.50)!important;
}
.gsp-profile-hero .gsp-profile-deactivate-button:hover{background:rgba(255,255,255,.20)!important}
.gsp-profile-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;min-width:0}
.gsp-profile-card{
  min-width:0;margin:0;background:#fff;border:1px solid #dfe8f1;
  border-radius:16px;padding:22px 24px 23px;
  box-shadow:0 5px 17px rgba(23,54,82,.035)
}
.gsp-profile-card-wide{grid-column:1/-1}
.gsp-profile-card h3{
  color:#173c60;font-size:1.08rem!important;line-height:1.35!important;
  font-weight:800!important;margin:0 0 18px!important;padding:0 0 11px!important;
  border-bottom:1px solid #edf1f6;position:relative
}
.gsp-profile-card h3::after{
  content:"";position:absolute;bottom:-1px;left:0;width:42px;height:3px;
  border-radius:3px;background:#0a66c2
}
.gsp-profile-facts{margin:0!important;min-width:0}
.gsp-profile-facts .gsp-profile-row{
  padding:8px 0 12px!important;border:0!important;min-width:0
}
.gsp-profile-facts .gsp-profile-row+.gsp-profile-row{border-top:1px solid #f0f3f7!important;padding-top:13px!important}
.gsp-profile-facts .gsp-profile-row dt{
  font-size:.76rem!important;line-height:1.4;color:#60758a!important;
  text-transform:uppercase;letter-spacing:.035em;font-weight:750
}
.gsp-profile-facts .gsp-profile-row dd{
  margin:5px 0 0!important;font-size:1rem;line-height:1.5;
  font-weight:600;color:#1d344c;overflow-wrap:anywhere;word-break:normal
}
.gsp-profile-email{color:#075fae;text-decoration:underline;text-decoration-color:#b8d5ef;text-underline-offset:3px;overflow-wrap:anywhere}
.gsp-profile-email:hover{text-decoration-color:currentColor}
.gsp-profile-section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:8px 15px;flex-wrap:wrap}
.gsp-profile-section-heading h3{flex:1 1 170px}
.gsp-profile-section-link{font-size:.88rem;color:#0864b1;font-weight:700;text-decoration:none!important;white-space:normal;margin-bottom:13px}
.gsp-profile-section-link:hover{text-decoration:underline!important}
.gsp-profile-interest-text{margin:0!important;font-size:.97rem;line-height:1.7;overflow-wrap:anywhere}
.gsp-profile-social-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.gsp-profile-social-item{
  display:flex;align-items:center;gap:12px;justify-content:space-between;
  border:1px solid #edf1f6;background:#f9fbfd;border-radius:11px;
  padding:11px 13px;min-width:0;flex-wrap:wrap
}
.gsp-profile-social-name{font-weight:700;color:#324b63;font-size:.9rem}
.gsp-profile-social-value{display:inline-flex;align-items:center;gap:8px;min-width:0}
.gsp-profile-social-value .gsp-social-icons{gap:0}
.gsp-profile-social-value .gsp-social-icon{width:35px;height:35px;border-radius:50%}
.gsp-profile-social-url{font-size:.86rem;font-weight:700;color:#075fae;text-decoration:none!important}
.gsp-profile-social-url:hover{text-decoration:underline!important}
.gsp-profile-social-empty{font-size:.84rem;color:#77889a}
.gsp-profile-edit-heading{padding:25px 29px;border-radius:16px;background:#123f69;color:#fff;margin:0 0 18px}
.gsp-profile-edit-heading .gsp-profile-eyebrow{color:#bfdef5}
.gsp-profile-edit-heading h2{color:#fff!important;margin:0 0 5px!important;font-weight:800!important;font-size:1.65rem!important;line-height:1.25!important}
.gsp-profile-edit-heading p{color:#deebf8;margin:0!important}
.gsp-profile-form{min-width:0}
.gsp-profile-form-section{
  min-width:0;margin:0 0 17px;padding:21px 24px 7px;border:1px solid #dfe8f1;
  border-radius:16px;background:#fff;box-shadow:0 5px 17px rgba(23,54,82,.035)
}
.gsp-profile-form-section>h3{font-size:1.1rem!important;color:#173c60;font-weight:800!important;margin:0 0 17px!important}
.gsp-profile-form-section .gsp-profile-avatar-editor{background:#f6faff;border-radius:12px;margin:0 0 16px;border:1px solid #e4edf7}
.gsp-profile-form-section .gsp-profile-social{margin:0 0 16px;padding:0;border:0;min-width:0}
.gsp-profile-form-section .gsp-profile-social legend{padding:0;margin:0 0 12px;color:#173c60;font-size:1.1rem;font-weight:800}
.gsp-profile-form-section :is(input[type=text],input[type=email],input[type=url],select){box-sizing:border-box;max-width:100%}
.gsp-profile-form-section :is(input,select):focus-visible{outline:2px solid #0a66c2;outline-offset:2px}
.gsp-profile-form>.gsp-profile-actions{margin:14px 0 24px!important}
.gsp-profile .gsp-password-section{margin:18px 0;border-radius:14px}
.gsp-profile :is(a,button):focus-visible{outline:3px solid #76beff;outline-offset:3px}
@media(max-width:700px){
  .gsp-profile-card-grid{grid-template-columns:minmax(0,1fr)}
  .gsp-profile-card-wide{grid-column:auto}
  .gsp-profile-card{padding:18px 19px}
}
@media(max-width:520px){
  .gsp-profile-hero{padding:21px 19px 19px;border-radius:15px}
  .gsp-profile-hero-top{align-items:flex-start;gap:13px}
  .gsp-profile-hero .gsp-avatar-image,
  .gsp-profile-hero .gsp-avatar-placeholder{width:76px!important;height:76px!important;border-width:3px!important}
  .gsp-profile-display-name{font-size:1.48rem!important}
  .gsp-profile-hero .gsp-profile-subtitle{font-size:.86rem}
  .gsp-profile-hero .gsp-profile-actions{display:flex;flex-direction:row;gap:8px}
  .gsp-profile-hero .gsp-profile-actions>a{flex:1 1 auto;min-width:0;font-size:.85rem!important;padding:9px 8px!important}
  .gsp-profile-social-grid{grid-template-columns:minmax(0,1fr)}
  .gsp-profile-edit-heading{padding:21px 19px}
  .gsp-profile-form-section{padding:19px 17px 5px}
  .gsp-profile-form-section .gsp-profile-avatar-editor{padding:13px}
}

/* v0.0.0.90: account controls are only available from Edit profile. */
.gsp-profile-settings{display:grid;grid-template-columns:minmax(0,1fr);gap:17px;margin-top:20px;min-width:0}
.gsp-profile-settings .gsp-profile-settings-card{padding:22px 24px;margin:0;min-width:0}
.gsp-profile-settings .gsp-mail-preferences{padding:0;margin:0;border:0}
.gsp-profile-settings .gsp-mail-preferences h3{font-size:1.1rem!important;color:#173c60;font-weight:800!important;margin:0 0 16px!important}
.gsp-profile-settings .gsp-mail-preferences p{line-height:1.55}
.gsp-profile-settings .gsp-password-section{padding:0;margin:0;border:0}
.gsp-profile-settings .gsp-password-section h3{margin:0 0 16px!important}
.gsp-profile-settings .gsp-profile-settings-danger{border-color:#f2d2d2;background:#fffdfd;padding-bottom:22px}
.gsp-profile-settings .gsp-profile-settings-danger h3{color:#991b1b!important}
.gsp-profile-settings .gsp-profile-settings-danger>p{color:#5f6872;margin:0 0 15px;line-height:1.5}
.gsp-profile-settings .gsp-deactivate-section{margin:0;padding:0;border:0;background:transparent}
.gsp-profile-settings .gsp-password-form input[type=password],
.gsp-profile-settings .gsp-deactivate-section input[type=password]{max-width:100%;box-sizing:border-box}
@media(max-width:550px){.gsp-profile-settings .gsp-profile-settings-card{padding:19px 17px 15px}}

/* v0.0.0.91: personal activity cards on the read-only profile view. */
.gsp-profile-activity{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-top:17px;min-width:0}
.gsp-profile-activity-card{display:flex;flex-direction:column;gap:12px;min-width:0}
.gsp-profile-activity-card h3{margin-bottom:3px!important}
.gsp-profile-activity-list{list-style:none!important;padding:0!important;margin:0!important;min-width:0}
.gsp-profile-activity-list li{list-style:none!important;padding:10px 0;border-bottom:1px solid #edf1f6;min-width:0;overflow-wrap:anywhere}
.gsp-profile-activity-list li:first-child{padding-top:3px}
.gsp-profile-activity-list a{color:#075fae;text-decoration:none!important;font-weight:700;line-height:1.45}
.gsp-profile-activity-list a:hover{text-decoration:underline!important}
.gsp-profile-activity-list li span{display:block;color:#61758b;font-size:.82rem;margin-top:4px}
.gsp-profile-activity-more{font-size:.9rem;font-weight:700;color:#075fae!important;text-decoration:none!important;margin-top:auto;padding-top:7px}
.gsp-profile-activity-more:hover{text-decoration:underline!important}
.gsp-profile-activity-empty{margin:0!important;color:#64748b;font-size:.92rem;line-height:1.6}
@media(max-width:700px){.gsp-profile-activity{grid-template-columns:minmax(0,1fr)}}

/* v0.0.0.93: unread badges and individual notification controls. */
.gsp-group-unread{display:inline-flex;align-items:center;max-width:100%;white-space:normal;background:#e8f2ff;color:#13528a;border:1px solid #c6dcf6;border-radius:999px;padding:4px 10px;font-size:.79rem;font-weight:700;margin:6px 0}
.gsp-group-unread-entry{margin:6px 0 0}
.gsp-notification-option{display:flex;align-items:flex-start;gap:10px;padding:9px 0;line-height:1.4;font-weight:500}
.gsp-notification-option input{width:auto;flex:none;margin-top:4px}
.gsp-notification-settings form{max-width:720px}

/* v0.0.0.95 – group meeting planner. */
.gsp-meeting-planner{display:grid;gap:17px;margin:8px 0 20px;min-width:0}
.gsp-meeting-planner>h3{margin:0!important;color:#173955;font-size:1.28rem}
.gsp-meeting-create{border:1px solid #cde0f5;border-radius:13px;padding:15px;background:#f5f9ff}
.gsp-meeting-create>summary{font-weight:750;color:#0a66c2;cursor:pointer;list-style-position:inside}
.gsp-meeting-create .gsp-meeting-form{margin-top:18px;display:grid;gap:12px}
.gsp-meeting-form p{margin:0!important}
.gsp-meeting-create label,.gsp-meeting-create legend{font-weight:700;display:block;color:#26384b;margin:0 0 5px}
.gsp-meeting-create :is(input[type=text],input[type=datetime-local],textarea){box-sizing:border-box;display:block;width:100%;max-width:100%;padding:10px 12px;font:inherit;background:white;color:#25374b;border:1px solid #b9cee5;border-radius:9px}
.gsp-meeting-create fieldset{border:0;padding:0;min-width:0;display:grid;gap:10px}
.gsp-meeting-create legend{margin-bottom:9px}
.gsp-meeting-slots{display:grid;gap:8px}
.gsp-meeting-slot-row{display:flex;align-items:center;gap:8px}
.gsp-meeting-slot-row input{min-width:0;flex:1}
.gsp-meeting-slot-row button,.gsp-meeting-add-slot{cursor:pointer;border:1px solid #b8cee8;border-radius:9px;background:#fff;color:#075ba9;font-weight:700;padding:9px 13px;font:inherit}
.gsp-meeting-slot-row button{flex:0 0 auto}
.gsp-meeting-add-slot{justify-self:start}
.gsp-meeting-add-slot:disabled{opacity:.5;cursor:default}
.gsp-meeting-card{padding:20px;border:1px solid #dbe5f2;border-radius:14px;background:white;min-width:0;overflow-wrap:anywhere;display:grid;gap:12px}
.gsp-meeting-heading{display:flex;justify-content:space-between;gap:12px;align-items:start}
.gsp-meeting-heading h4{margin:0!important;font-size:1.13rem;color:#173955}
.gsp-meeting-closed{border:1px solid #e2e8f0;border-radius:100px;padding:3px 9px;color:#64748b;background:#f1f5f9;font-size:.78rem;font-weight:700;white-space:nowrap}
.gsp-meeting-options{display:grid;gap:9px}
.gsp-meeting-option{padding:12px;border:1px solid #dde8f4;border-radius:10px;background:#fbfdff}
.gsp-meeting-option.is-best{border-color:#8bc7ae;background:#f0fdf8}
.gsp-meeting-option-main{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px}
.gsp-meeting-option-main label{display:flex;align-items:center;gap:10px;font-weight:650;cursor:pointer;flex:1 1 220px}
.gsp-meeting-option-main input{width:18px;height:18px;flex:none;accent-color:#0a66c2}
.gsp-meeting-count{color:#196045;font-size:.88rem;font-weight:700}
.gsp-meeting-attendees{margin-top:8px;color:#54677c;font-size:.9rem}
.gsp-meeting-attendees summary{cursor:pointer;color:#075ba9;font-weight:650}
.gsp-meeting-attendees ul{margin:8px 0 0 20px!important}
.gsp-meeting-vote-form{display:grid;gap:12px}
.gsp-meeting-controls{display:flex;flex-wrap:wrap;gap:10px;border-top:1px solid #edf1f7;padding-top:12px}
.gsp-meeting-controls form{margin:0}
@media(max-width:600px){.gsp-meeting-card{padding:13px}.gsp-meeting-create{padding:12px}}

/* Clear, individually editable public member ordering in formal membership groups. */
.gsp-group-member-order-row{display:grid;grid-template-columns:minmax(120px,1.1fr) minmax(140px,1fr) minmax(155px,1.1fr) minmax(90px,.6fr);gap:12px;align-items:end;padding:12px 0;border-bottom:1px solid #e3eaf2}
.gsp-group-member-order-row .gsp-group-member-order-name{align-self:center;overflow-wrap:anywhere}
.gsp-group-member-order-row label{display:flex;flex-direction:column;gap:5px;font-size:.86rem;color:#475569}
.gsp-group-member-order-row input{width:100%;max-width:100%;box-sizing:border-box;border:1px solid #bacbdb;border-radius:8px;padding:8px 10px;min-height:38px;font:inherit;color:#23364b;background:#fff}
.gsp-group-member-order-row input:focus-visible{outline:2px solid #0a66c2;outline-offset:1px}
@media(max-width:850px){.gsp-group-member-order-row{grid-template-columns:repeat(2,minmax(0,1fr))}.gsp-group-member-order-row .gsp-group-member-order-name{grid-column:1/-1}}
@media(max-width:480px){.gsp-group-member-order-row{grid-template-columns:minmax(0,1fr)}}

/* 1.0.0.17: Protected, group-wide file archive. */
.gsp-groups .gsp-group-library{min-width:0}
.gsp-groups .gsp-library-list{display:grid;gap:10px;margin:14px 0!important;padding:0!important;list-style:none!important}
.gsp-groups .gsp-library-file{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:12px 15px;border:1px solid #dce7f2;background:#f7faff;border-radius:11px;list-style:none!important}
.gsp-groups .gsp-library-file>div{min-width:0;overflow-wrap:anywhere}
.gsp-groups .gsp-library-file a{font-weight:700;color:#164c7e;text-decoration:underline}
.gsp-groups .gsp-library-meta{display:block;color:#63758b;font-size:.85rem;margin-top:3px}
.gsp-groups .gsp-library-remove{flex:none;margin:0}
.gsp-groups .gsp-library-remove button{padding:7px 12px;min-height:36px}
.gsp-groups .gsp-library-upload{margin-top:18px;padding:16px;display:grid;gap:10px;background:#f4f8fd;border:1px solid #dce7f2;border-radius:12px;min-width:0}
.gsp-groups .gsp-library-upload input[type=file]{max-width:100%;padding:10px;border:1px dashed #a7c6df;border-radius:7px;background:#fff}
.gsp-groups .gsp-library-upload button{justify-self:start}
.gsp-groups .gsp-library-notice{border-left:4px solid #1866a8;border-radius:6px;background:#eef5fc;padding:10px 12px}
@media(max-width:600px){.gsp-groups .gsp-library-file{align-items:flex-start;flex-direction:column}.gsp-groups .gsp-library-remove{align-self:flex-end}}

/* 1.0.0.20: optional region hierarchy in the protected member directory. */
.gsp-directory-region-title{margin:16px 0 0!important;padding:8px 2px 12px;color:#183858;font-size:1.45rem!important;font-weight:750;border-bottom:2px solid #d7e7f5}
.gsp-directory-region-filters{margin-top:-8px}
/* A shared navigation now wraps both network-wide and regional buttons. */
.gsp-directory-send-actions{gap:7px 8px;margin:3px 0 12px!important}

/* 1.0.0.24: The group's Medlemmer tab uses the same two-column member cards as Gruppelister. */
.gsp-group-members-panel .gsp-board__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;min-width:0}
.gsp-group-members-panel .gsp-board__person{min-width:0}
@media(max-width:760px){.gsp-group-members-panel .gsp-board__grid{grid-template-columns:minmax(0,1fr)}}

/* 1.0.0.25: Accessible name search above member type and region filters. */
.gsp-directory-search{display:grid;gap:8px;margin:0 0 5px;padding:15px 18px;background:#fff;border:1px solid #e1e7ed;border-radius:12px}
.gsp-directory-search>label{font-weight:700;color:#21354b;font-size:.98rem}
.gsp-directory-search-controls{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.gsp-directory-search-controls input[type="search"]{box-sizing:border-box;flex:1 1 230px;min-width:0;max-width:100%;min-height:40px;margin:0;padding:8px 12px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#202b36;font:inherit}
.gsp-directory-search-controls button{min-height:40px;padding:8px 18px;border:0;border-radius:9px;background:#0a66c2;color:#fff;font-size:.95rem;font-weight:650;cursor:pointer}
.gsp-directory-search-controls button:hover{background:#084f96}
.gsp-directory-clear-search{display:inline-flex;align-items:center;min-height:40px;padding:7px 10px;color:#0a66c2;font-weight:650;text-decoration:underline;text-underline-offset:2px}
.gsp-directory-search-controls :is(input,button,a):focus-visible{outline:3px solid #0a66c2;outline-offset:3px}


/* 1.0.0.26: Keep each regional mail action aligned with its region heading. */
.gsp-directory-region-heading{
    display:flex;align-items:center;justify-content:space-between;
    flex-wrap:wrap;gap:8px 16px;min-width:0;
    margin:16px 0 0;padding:8px 2px 12px;
    border-bottom:2px solid #d7e7f5;
}
.gsp-directory-region-heading .gsp-directory-region-title{
    flex:1 1 auto;min-width:0;margin:0!important;padding:0!important;border:0!important;
}
.gsp-directory-region-action{display:flex;align-items:center;flex:0 1 auto;min-width:0;margin-left:auto}
.gsp-directory-region-action .gsp-message-button{
    max-width:100%;white-space:normal;text-align:center;overflow-wrap:anywhere;
}
@media(max-width:540px){
    .gsp-directory-region-heading{align-items:stretch;gap:9px}
    .gsp-directory-region-heading .gsp-directory-region-title{flex:1 1 100%}
    .gsp-directory-region-action{margin-left:0;max-width:100%}
}


/* 1.0.0.27: Visible-member totals alongside the search and region headings. */
.gsp-directory-results-count{
    margin:-11px 0 0!important;padding:0 3px;
    font-size:.92rem;font-weight:650;color:#50677e;
}
.gsp-directory-region-heading .gsp-directory-region-title{
    display:flex;align-items:center;gap:10px;flex-wrap:wrap;
}
.gsp-directory-region-count{flex:none;vertical-align:middle;font-size:.8rem}


/* v0.0.0.92: member-managed department profile page. */
.gsp-profile-button-secondary{background:#edf5ff!important;color:#0a5ca7!important;border:1px solid #b8d6f4!important}
.gsp-profile-button-secondary:hover{background:#dcecff!important}
.gsp-department-hero .gsp-profile-subtitle{margin-bottom:0!important}
.gsp-department-hero-icon{display:flex;align-items:center;justify-content:center;width:116px;height:116px;border-radius:28px;background:rgba(255,255,255,.16);border:4px solid rgba(255,255,255,.35);box-shadow:0 5px 17px rgba(10,30,54,.16);font-size:3rem;line-height:1}
.gsp-department-meta-pills{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.gsp-department-pill{display:inline-flex;align-items:center;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.32);color:#f4f9fe;font-weight:700;font-size:.9rem;line-height:1.3}
.gsp-department-member-summary{margin:0!important;color:#5b6f82;line-height:1.65}
.gsp-department-members-list{list-style:none!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:0!important;margin:0!important}
.gsp-department-member-card{list-style:none!important;display:flex;align-items:center;gap:14px;padding:14px 15px;border:1px solid #e5edf5;border-radius:14px;background:#f9fbfd;min-width:0}
.gsp-department-member-avatar{flex:0 0 auto}
.gsp-department-member-avatar .gsp-avatar-image{width:64px!important;height:64px!important}
.gsp-department-member-body{min-width:0}
.gsp-department-member-name{font-size:1rem;font-weight:800;line-height:1.35;color:#1d344c;overflow-wrap:anywhere}
.gsp-department-member-position{margin-top:2px;color:#63778c;font-size:.92rem;line-height:1.45;overflow-wrap:anywhere}
.gsp-department-member-email{margin-top:6px;font-size:.9rem;overflow-wrap:anywhere}
@media(max-width:700px){.gsp-department-members-list{grid-template-columns:minmax(0,1fr)}}
@media(max-width:520px){.gsp-department-hero-icon{width:76px;height:76px;border-width:3px;font-size:2rem}.gsp-department-pill{font-size:.82rem;padding:6px 10px}}

.gsp-profile-hero .gsp-profile-button.gsp-profile-button-secondary{background:#e9f4ff!important;color:#0c4e85!important;border-color:#cfebff!important}
.gsp-profile-hero .gsp-profile-button.gsp-profile-button-secondary:hover{background:#cbe7ff!important}

/* 1.0.0.43 – compact, consistent and accessible mail actions. */
.gsp-mail-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;vertical-align:middle;min-height:36px;max-width:100%;box-sizing:border-box}
.gsp-mail-action-icon{display:block;width:18px;height:18px;min-width:18px;flex:none;stroke:currentColor}
.gsp-mail-action-text{min-width:0;overflow-wrap:anywhere;line-height:1.3}
.gsp-mail-action.gsp-mail-icon-only{min-width:38px;min-height:38px;padding:7px 9px!important;flex:0 0 auto;white-space:nowrap}
.gsp-mail-action:focus-visible{outline:3px solid #0a66c2;outline-offset:3px}
.gsp-directory-send-actions .gsp-mail-action{text-align:center}
.gsp-interest-card-actions .gsp-mail-action,.gsp-group-detail .gsp-mail-action{white-space:normal;text-align:center}

/* 1.0.0.45: non-interactive notice for interest groups that require invitations. */
.gsp-interests .gsp-interest-invite-only{display:inline-flex;align-items:center;min-height:38px;padding:7px 12px;border:1px solid #cad9e8;border-radius:9px;background:#f2f6fa;color:#35516a;font-size:14px;font-weight:600;line-height:1.35}

/* Group-member election terms are rendered exclusively in the protected group member tab. */
.gsp-group-members-panel .gsp-group-member-term{margin:6px 0 0;color:#50657a;font-size:.9rem;line-height:1.4;overflow-wrap:anywhere}
.gsp-group-members-panel .gsp-group-member-term strong{color:#314960;font-weight:650}

/* Udvidet gruppebeskrivelse: vises kun på gruppens egen side efter et aktivt klik. */
.gsp-group-extra-description{margin:6px 0 15px;max-width:100%;border-top:1px solid #dce5ef;padding-top:10px}
.gsp-group-extra-description>summary{display:inline-flex;align-items:center;gap:7px;cursor:pointer;color:#0a66c2;font-weight:650;font-size:.92rem;list-style:none}
.gsp-group-extra-description>summary::-webkit-details-marker{display:none}
.gsp-group-extra-description>summary::after{content:'⌄';display:inline-block;font-size:1.15em;line-height:1;transition:transform .15s ease}
.gsp-group-extra-description[open]>summary::after{transform:rotate(180deg)}
.gsp-group-extra-description .gsp-group-extra-less{display:none}
.gsp-group-extra-description[open] .gsp-group-extra-more{display:none}
.gsp-group-extra-description[open] .gsp-group-extra-less{display:inline}
.gsp-group-extra-content{display:grid;gap:14px;padding:15px 0 3px}
.gsp-group-extra-field h3{font-size:1rem;margin:0 0 5px;color:#173c65;line-height:1.45}
.gsp-group-extra-field p{margin:0;color:#344b62;line-height:1.6;overflow-wrap:anywhere}
.gsp-group-extended-editor{border-top:1px solid #dce5ef;margin-top:17px;padding-top:12px}
.gsp-group-extended-editor h4{margin:0 0 8px;color:#173c65}
.gsp-group-extended-editor label{display:block;margin:12px 0}
.gsp-group-extra-description summary:focus-visible{outline:2px solid #0a66c2;outline-offset:4px;border-radius:3px}

/* v1.0.0.55 – organisation-specific member directory filter. */
.gsp-directory-organisation-filter{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:14px 0;padding:13px 16px;background:#fff;border:1px solid #e1e7ed;border-radius:12px}
.gsp-directory-organisation-filter label{color:#21354b;font-size:.96rem}
.gsp-directory-organisation-filter select{flex:1 1 200px;max-width:100%;min-width:0;min-height:40px;padding:7px 10px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#21354b;font:inherit}
.gsp-directory-organisation-filter button{min-height:40px;padding:8px 16px;background:#0a66c2;border:0;border-radius:9px;color:#fff;font-weight:650;cursor:pointer}
.gsp-directory-organisation-filter button:hover{background:#084f96}
.gsp-directory-organisation-filter :is(select,button):focus-visible{outline:3px solid #0a66c2;outline-offset:3px}
.gsp-directory-org-note{padding:12px 16px;background:#f5f8fc;border:1px solid #dae5f1;border-radius:10px;color:#344861}

/* 1.0.0.56: Organisation filter pills and private affiliation overviews. */
.gsp-directory-organisation-filters{margin-top:-8px!important;margin-bottom:16px!important}
.gsp-affiliation-page .gsp-affiliation-choose{margin-bottom:22px}
.gsp-affiliation-page .gsp-affiliation-choose h2{margin-top:0}
.gsp-affiliation-page .gsp-affiliation-choose p{color:#5b6f82;margin:0 0 12px}
.gsp-affiliation-page .gsp-affiliation-choices{margin-bottom:0}
.gsp-affiliation-page .gsp-affiliation-prompt{padding:18px 0;color:#52677c}
.gsp-affiliation-page .gsp-profile-hero{margin-top:0}

/* 1.0.0.57: Compact affiliation listings, matching filters and numeric inputs. */
.gsp-affiliation-page .gsp-affiliation-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 16px}
.gsp-affiliation-page .gsp-affiliation-list-heading h3{margin:0!important}
.gsp-affiliation-page .gsp-affiliation-mail-button{flex:none;gap:7px;white-space:normal;background:#edf5ff;color:#075ba9!important;border:1px solid #b6d6f5;border-radius:9px;padding:8px 13px;font-weight:700;text-decoration:none!important}
.gsp-affiliation-page .gsp-affiliation-member-groups{display:grid;gap:20px}
.gsp-affiliation-page .gsp-affiliation-member-group{min-width:0}
.gsp-affiliation-page .gsp-affiliation-member-group h4{display:flex;align-items:center;gap:9px;margin:0 0 6px!important;color:#173c60;font-weight:750;font-size:1.06rem}
.gsp-affiliation-page .gsp-affiliation-member-list{margin:0!important;padding:0!important;list-style:none!important;border:1px solid #e3e9f0;border-radius:10px;overflow:hidden}
.gsp-affiliation-page .gsp-affiliation-member-row{list-style:none!important;display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,1fr) minmax(145px,1fr);align-items:baseline;gap:8px 16px;margin:0!important;padding:9px 13px;border-bottom:1px solid #e9eef4;background:#fff;min-width:0;font-size:.93rem;line-height:1.45}
.gsp-affiliation-page .gsp-affiliation-member-row:nth-child(even){background:#f8fbff}
.gsp-affiliation-page .gsp-affiliation-member-row:last-child{border-bottom:0}
.gsp-affiliation-page .gsp-affiliation-member-name{font-weight:700;color:#1d344c;overflow-wrap:anywhere}
.gsp-affiliation-page .gsp-affiliation-member-department{color:#566c81;overflow-wrap:anywhere}
.gsp-affiliation-page .gsp-affiliation-member-email{font-size:.89rem;color:#0a66c2;overflow-wrap:anywhere}
@media(max-width:760px){.gsp-affiliation-page .gsp-affiliation-member-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.gsp-affiliation-page .gsp-affiliation-member-email{grid-column:1/-1}}
@media(max-width:480px){.gsp-affiliation-page .gsp-affiliation-member-row{grid-template-columns:minmax(0,1fr);gap:2px}.gsp-affiliation-page .gsp-affiliation-member-email{grid-column:auto}}
.gsp-department-profile-page .gsp-profile-form input[type=number]{box-sizing:border-box;appearance:auto}

/* 1.0.0.58: Stillingstype groups, icon-only personal mail, region's geriatric departments. */
.gsp-affiliation-page .gsp-affiliation-member-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 42px;align-items:center}
.gsp-affiliation-page .gsp-affiliation-member-contact{display:flex;align-items:center;justify-content:flex-end;min-width:0}
.gsp-affiliation-page .gsp-affiliation-person-mail{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:36px;width:36px;height:36px;padding:8px;border:1px solid #b6d6f5;border-radius:9px;background:#edf5ff;color:#075ba9!important;text-decoration:none!important;cursor:pointer}
.gsp-affiliation-page .gsp-affiliation-person-mail:hover,.gsp-affiliation-page .gsp-affiliation-person-mail:focus-visible{background:#dcecff;border-color:#78b3ed;outline-offset:2px}
.gsp-affiliation-page .gsp-affiliation-person-mail .gsp-mail-action-icon{width:18px;height:18px;flex:none}
.gsp-affiliation-page .gsp-affiliation-department-list{list-style:none!important;margin:0!important;padding:0!important;border:1px solid #e3e9f0;border-radius:10px;overflow:hidden}
.gsp-affiliation-page .gsp-affiliation-department-list li{list-style:none!important;padding:10px 13px;margin:0!important;border-bottom:1px solid #e9eef4;background:#fff;color:#1d344c}
.gsp-affiliation-page .gsp-affiliation-department-list li:nth-child(even){background:#f8fbff}
.gsp-affiliation-page .gsp-affiliation-department-list li:last-child{border-bottom:0}
.gsp-affiliation-page .gsp-affiliation-departments h3{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
@media(max-width:760px){.gsp-affiliation-page .gsp-affiliation-member-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 42px}}
@media(max-width:480px){.gsp-affiliation-page .gsp-affiliation-member-row{grid-template-columns:minmax(0,1fr) 42px;gap:2px 8px}.gsp-affiliation-page .gsp-affiliation-member-department{grid-column:1;grid-row:2}.gsp-affiliation-page .gsp-affiliation-member-contact{grid-column:2;grid-row:1/3;align-self:center}}


/* v1.0.0.59: optional phone/WordPress bio, private full profile view. */
.gsp-profile-form textarea#gsp_bio{display:block;box-sizing:border-box;width:100%;max-width:100%;min-height:118px;padding:10px 12px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#202b36;font:inherit;resize:vertical;line-height:1.55}
.gsp-profile-form input[type=tel]{display:block;box-sizing:border-box;width:100%;max-width:100%;min-height:42px;padding:9px 12px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#202b36;font:inherit}
.gsp-profile-form :is(input[type=tel],textarea#gsp_bio):focus-visible{outline:2px solid #0a66c2;outline-offset:2px}
.gsp-profile-biography{white-space:normal;line-height:1.65;overflow-wrap:anywhere}
.gsp-profile-biography p{margin:.5em 0 0}
.gsp-directory-full-profile-action{margin:13px 0 2px}
.gsp-directory-full-profile-link{display:inline-flex;gap:8px;align-items:center;padding:8px 12px;color:#075ba9!important;border:1px solid #bad8f4;border-radius:9px;background:#eef6ff;font-weight:700;text-decoration:none!important;font-size:.9rem}
.gsp-directory-full-profile-link:hover{background:#deedfc}
.gsp-directory-full-profile-link:focus-visible{outline:3px solid #0a66c2;outline-offset:2px}
.gsp-directory-full-profile-link svg{display:block;flex:none}
.gsp-member-detail{max-width:780px}
.gsp-member-detail-back{margin:0 0 16px}
.gsp-member-detail-back a{font-weight:700;color:#0a66c2;text-decoration:none}
.gsp-member-detail-back a:hover{text-decoration:underline}
.gsp-member-detail-social{display:grid;gap:12px}
.gsp-member-detail-social-item{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.gsp-member-detail-social-item>span{font-weight:700;min-width:95px}
.gsp-member-detail-social-item>a{font-size:.9rem}
@media(max-width:540px){.gsp-member-detail-social-item>span{min-width:0;flex-basis:100%}}
/* 1.0.0.60 – member names link to the protected full profile from local overviews. */
.gsp-affiliation-page .gsp-affiliation-profile-link{color:#075ba9;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;font-weight:700}
.gsp-affiliation-page .gsp-affiliation-profile-link:hover,.gsp-affiliation-page .gsp-affiliation-profile-link:focus-visible{color:#003d78;text-decoration-thickness:2px}

/* 1.0.0.70 – Neatly aligned organisation committees above the member roster. */
.gsp-organisation-profile-page .gsp-org-units{margin:17px 0}
.gsp-organisation-profile-page .gsp-org-units-list{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:8px}
.gsp-organisation-profile-page .gsp-org-units-list li{margin:0;padding:10px 13px;background:#f7fbff;border:1px solid #d9e6f2;border-radius:8px;overflow-wrap:anywhere}
.gsp-organisation-profile-page .gsp-org-unit-admin{background:#f7fafe;border:1px solid #d5e4f2;border-radius:13px;margin:16px 0 20px;padding:clamp(14px,2vw,20px)}
.gsp-organisation-profile-page .gsp-org-unit-admin h3{margin:0 0 12px}
.gsp-organisation-profile-page .gsp-org-unit-create{border:1px solid #d4e1ef;border-radius:10px;background:#fff;overflow:hidden;margin:13px 0}
.gsp-organisation-profile-page .gsp-org-unit-create>summary{background:#eef6ff;color:#155488;cursor:pointer;font-weight:700;padding:12px 15px}
.gsp-organisation-profile-page .gsp-org-unit-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px}
.gsp-organisation-profile-page .gsp-org-unit-field{display:flex;flex-direction:column;gap:5px;min-width:0}
.gsp-organisation-profile-page .gsp-org-unit-field label{font-weight:700;color:#233f58}
.gsp-organisation-profile-page .gsp-org-unit-field :is(input,select){box-sizing:border-box;display:block;width:100%;max-width:100%;min-height:43px;padding:9px 12px;font:inherit;color:#203a51;background:#fff;border:1px solid #b9cce0;border-radius:9px}
.gsp-organisation-profile-page .gsp-org-unit-field:has(select[name="group_id"]){grid-column:1/-1}
.gsp-organisation-profile-page .gsp-org-unit-help{font-size:.87rem;line-height:1.5;color:#62788e;margin:4px 0 0}
.gsp-organisation-profile-page .gsp-org-unit-form-actions{grid-column:1/-1}
.gsp-organisation-profile-page .gsp-org-unit-form :is(input,select):focus-visible{outline:2px solid #0a66c2;outline-offset:2px}
.gsp-organisation-profile-page .gsp-org-unit-admin table{min-width:600px}
.gsp-organisation-profile-page .gsp-org-unit-admin{overflow-x:auto}
.gsp-organisation-profile-page .gsp-org-unit-admin table td{vertical-align:middle}
@media(max-width:650px){.gsp-organisation-profile-page .gsp-org-unit-form{grid-template-columns:1fr}.gsp-organisation-profile-page .gsp-org-unit-field:has(select[name="group_id"]),.gsp-organisation-profile-page .gsp-org-unit-form-actions{grid-column:auto}}


/* 1.0.0.71 – Separate member and staff boxes from the same Gutenberg block. */
.gsp-user-panel-sections{display:grid;gap:18px;width:100%;min-width:0}
.gsp-user-panel-sections>.gsp-user-panel{box-sizing:border-box;width:100%;min-width:0}
.gsp-user-panel-sections>.gsp-user-panel-staff{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    padding:clamp(14px,1.8vw,20px);gap:0!important;margin:0;
    border:1px solid #cddff0;border-radius:13px;background:#f4f8fd;
    box-shadow:0 3px 14px rgba(23,68,113,.08);
}
.gsp-user-panel-staff .gsp-user-panel-staff-heading{
    color:#174d7c;font-weight:750;font-size:1.07rem;line-height:1.3;margin:0 0 5px
}
.gsp-user-panel-staff .gsp-user-panel-staff-description{
    margin:0;color:#597087;font-size:.79rem;line-height:1.45;
}
.gsp-user-panel-staff .gsp-user-panel-navigation{margin:10px 0 0}
.gsp-user-panel-staff .gsp-user-panel-links a{color:#14517e;background:#fff;border:1px solid #e1eaf2}
.gsp-user-panel-staff .gsp-user-panel-links a:hover,
.gsp-user-panel-staff .gsp-user-panel-links a:focus-visible{background:#e5f0fc}
/* On sites where the outer Gutenberg card is already white, the staff section
   is still clearly delineated without adding a second parent Gutenberg block. */

/* Compact cards for the organisation's public-to-members overviews. */
.gsp-organisation-profile-page .gsp-org-units{margin:16px 0 10px;padding:0;width:100%;box-sizing:border-box}
.gsp-organisation-profile-page .gsp-org-units-heading{margin:0 0 12px}
.gsp-organisation-profile-page .gsp-org-units-heading h3{font-size:clamp(1.17rem,1.7vw,1.4rem);margin:0 0 3px;line-height:1.3;color:#20394f}
.gsp-organisation-profile-page .gsp-org-units-heading p{margin:0;color:#697e8f;font-size:.91rem}
.gsp-organisation-profile-page .gsp-org-units-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.gsp-organisation-profile-page .gsp-org-units-card{
    min-width:0;box-sizing:border-box;padding:clamp(15px,2vw,22px);
    border:1px solid #dae5f0;border-radius:14px;background:#fff;
    box-shadow:0 4px 17px rgba(23,53,90,.045);
}
.gsp-organisation-profile-page .gsp-org-units-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
.gsp-organisation-profile-page .gsp-org-units-card-head h4{margin:0;font-size:1.08rem;line-height:1.3;color:#183950}
.gsp-organisation-profile-page .gsp-org-units-count{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;padding:0 6px;box-sizing:border-box;background:#edf5fe;border-radius:10px;color:#1a5c95;font-weight:750;font-size:.9rem}
.gsp-organisation-profile-page .gsp-org-units-list{list-style:none!important;padding:0!important;margin:0!important;display:grid;gap:8px}
.gsp-organisation-profile-page .gsp-org-units-list li{margin:0;padding:0;background:transparent;border:0;border-radius:0;list-style:none;overflow:visible}
.gsp-organisation-profile-page .gsp-org-units-link,
.gsp-organisation-profile-page .gsp-org-units-unavailable{
    display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;
    box-sizing:border-box;min-height:46px;padding:10px 12px;border:1px solid #e2ebf4;
    border-radius:10px;background:#f7faff;color:#1a527d;line-height:1.35;text-decoration:none;
    overflow-wrap:anywhere;
}
.gsp-organisation-profile-page .gsp-org-units-link:hover,
.gsp-organisation-profile-page .gsp-org-units-link:focus-visible{background:#ebf4fe;border-color:#a8ccee;color:#114574;text-decoration:underline;text-underline-offset:3px}
.gsp-organisation-profile-page .gsp-org-units-arrow{font-size:1.2rem;flex-shrink:0}
.gsp-organisation-profile-page .gsp-org-units-unavailable{display:flex;flex-direction:column;align-items:flex-start;gap:3px;color:#314b61;background:#f8fafc}
.gsp-organisation-profile-page .gsp-org-units-unavailable small{font-size:.78rem;color:#778796}
.gsp-organisation-profile-page .gsp-org-units-empty{margin:4px 0 0;font-size:.9rem;color:#738597;line-height:1.5}
@media(max-width:720px){.gsp-organisation-profile-page .gsp-org-units-grid{grid-template-columns:minmax(0,1fr)}}

/* Organisation group management is intentionally collapsed on Min organisation. */
.gsp-organisation-profile-page .gsp-org-unit-admin{background:transparent;border:0;padding:0;overflow:visible;margin:17px 0 22px}
.gsp-org-unit-manage{background:#fff;border:1px solid #d6e4f0;border-radius:13px;overflow:hidden;color:#213e56}
.gsp-org-unit-manage>summary{display:flex;justify-content:space-between;align-items:center;gap:14px;cursor:pointer;list-style:none;padding:15px 18px;background:#f6faff}
.gsp-org-unit-manage>summary::-webkit-details-marker{display:none}
.gsp-org-unit-manage>summary:focus-visible{outline:2px solid #0a66c2;outline-offset:-3px}
.gsp-org-unit-manage>summary strong{display:block;font-size:1rem;line-height:1.35;color:#174c7a}
.gsp-org-unit-manage>summary small{display:block;color:#678097;margin-top:4px;font-size:.83rem}
.gsp-org-unit-manage-cue{font-size:.81rem;color:#205d90;white-space:nowrap;font-weight:650}
.gsp-org-unit-manage[open]>.gsp-org-unit-manage-cue{color:#174c7a}
.gsp-org-unit-manage-body{padding:16px 18px 18px;border-top:1px solid #e3eaf2}
.gsp-org-unit-manage-list-title{font-size:1rem;margin:22px 0 10px;color:#25445e}
.gsp-org-unit-manage-list{list-style:none!important;margin:0!important;padding:0!important;display:grid;gap:9px}
.gsp-org-unit-manage-list>li{list-style:none!important}
.gsp-org-unit-manage-row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding:13px 14px;border:1px solid #e2eaf3;border-radius:10px;background:#fafcff}
.gsp-org-unit-manage-row-content{flex:1 1 220px;min-width:0;overflow-wrap:anywhere}
.gsp-org-unit-manage-row-top{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.gsp-org-unit-manage-meta{margin-top:5px;color:#5d7183;font-size:.84rem;line-height:1.5}
.gsp-org-unit-state{display:inline-block;padding:2px 9px;border-radius:99px;color:#176643;background:#e7f7ee;font-size:.76rem;font-weight:700}
.gsp-org-unit-state.is-closed{background:#f0f2f5;color:#607386}
.gsp-org-unit-manage-row form{margin:0;flex-shrink:0}
.gsp-org-unit-close-button{background:#fff;color:#8f3440;border:1px solid #e0a8af;padding:8px 12px;border-radius:8px;cursor:pointer;font:inherit;font-size:.86rem;font-weight:650}
.gsp-org-unit-close-button:hover{background:#fff1f2}
.gsp-org-unit-create-button{background:#0a66c2;color:#fff;border:0;border-radius:9px;padding:10px 17px;font:inherit;font-weight:700;cursor:pointer}
.gsp-org-unit-create-button:hover{background:#0954a0}
.gsp-org-unit-none{padding:12px;color:#697b8c}
.gsp-org-unit-notice{border:1px solid #a6dbc1;border-radius:10px;background:#eaf8f1;color:#155c3c;padding:11px 13px}
@media(max-width:480px){
 .gsp-org-unit-manage>summary{padding:12px}
 .gsp-org-unit-manage-cue{font-size:.72rem;white-space:normal;text-align:right}
 .gsp-org-unit-manage-body{padding:12px}
 .gsp-org-unit-manage-row form,.gsp-org-unit-close-button{width:100%}
}

/* Two independently outlined, stacked boxes in the sidebar; keep existing theme cards. */
.gsp-user-panel-sections>.gsp-user-panel-member{
    padding:clamp(12px,1.7vw,18px);
    border:1px solid #e1eaf2;border-radius:13px;background:#fff;
    box-shadow:0 3px 14px rgba(23,68,113,.055);
}
.gsp-organisation-profile-page .gsp-org-unit-create{overflow:hidden}

/* In the staff card, make admin links match the clean member navigation. */
.gsp-user-panel-staff .gsp-user-panel-navigation{display:block;width:100%;min-width:0;margin:11px 0 0}
.gsp-user-panel-staff .gsp-user-panel-links{display:grid!important;gap:5px!important;list-style:none!important;margin:0!important;padding:0!important;width:100%}
.gsp-user-panel-staff .gsp-user-panel-links>li{margin:0!important;padding:0!important;list-style:none!important;min-width:0}
.gsp-user-panel-staff .gsp-user-panel-links a{display:block!important;width:100%;box-sizing:border-box;padding:9px 11px;border-radius:8px;font-size:.92rem;font-weight:650;text-decoration:none!important;overflow-wrap:anywhere;line-height:1.45}
@media(max-width:540px){
 .gsp-organisation-profile-page .gsp-org-unit-manage-cue{font-size:0!important;flex-shrink:0}
 .gsp-organisation-profile-page .gsp-org-unit-manage-cue:after{content:'Åbn';font-size:.85rem}
}

/* 1.0.0.72 – distinguish SIG groups from ordinary areas, with consistent create controls. */
.gsp-interest-type-field{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;flex:1 1 100%;min-width:0;margin:0;padding:13px 15px;border:1px solid #cbd9e8;border-radius:10px;background:#fff;box-sizing:border-box}
.gsp-interest-type-field legend{padding:0 5px;font-size:.93rem;font-weight:700;color:#263e54}
.gsp-interest-create-row .gsp-interest-type-field label{display:inline-flex;align-items:center;gap:8px;flex:0 1 auto;min-width:0;margin:0;font-size:.94rem;font-weight:600;cursor:pointer}
.gsp-interest-type-field input[type=radio]{width:17px;height:17px;min-height:0;margin:0;accent-color:#0a66c2}
.gsp-interest-type-field p{width:100%;flex-basis:100%;margin:0!important;font-size:.86rem;color:#637487}
.gsp-interest-catalog{min-width:0}
.gsp-interest-catalog>.gsp-interest-catalog-empty{margin:0;padding:14px 18px;border:1px solid #e0e8f1;border-radius:12px;background:#f7fafc;color:#637487}
.gsp-interest-catalog-sig>h2{border-bottom:2px solid #b7d6f4;padding-bottom:8px}
@media(max-width:550px){.gsp-interest-type-field{gap:10px 14px}.gsp-interest-type-field label{flex-basis:100%!important}}

/* 1.0.0.75 – Separate current SIG memberships from ordinary interests. */
.gsp-interest-my>h3{margin:14px 0 8px!important;font-size:1.02rem!important}
.gsp-interest-my>h3:first-of-type{margin-top:10px!important}
.gsp-interest-my>.gsp-interest-tags+p,.gsp-interest-my>p{margin:0 0 8px!important;color:#64748b;font-size:.91rem}
.gsp-interest-my>.gsp-interest-tags{margin-bottom:13px!important}
.gsp-interest-description-editor form select{
    display:block;width:100%;max-width:360px;min-height:42px;margin:6px 0 12px;
    padding:9px 12px;border:1px solid #cbd5e1;border-radius:9px;
    font:inherit;background:#fff;color:#202b36;
}


/* 1.0.0.77 – shared department profiles, editable locations and clinical leadership. */
.gsp-department-profile-page .gsp-department-back{margin:0 0 15px}
.gsp-department-back a,.gsp-department-directory-link,.gsp-affiliation-member-department a,.gsp-affiliation-department-list a{color:#075ba9;text-decoration:underline;text-underline-offset:3px}
.gsp-department-back a:hover,.gsp-department-directory-link:hover,.gsp-affiliation-member-department a:hover,.gsp-affiliation-department-list a:hover{color:#084477}
.gsp-department-hero-location{color:#ebf6ff;font-weight:600;margin:8px 0 0}
.gsp-department-leader-title{display:block;color:#60768b;font-weight:400;margin-top:3px;font-size:.9rem}
.gsp-department-leader-field{margin:0 0 16px;min-width:0}
.gsp-department-leader-field>label,.gsp-department-leader-external>label{display:block;font-weight:700;margin:0 0 6px}
.gsp-department-leader-field select,.gsp-department-leader-field input[type=text]{display:block;box-sizing:border-box;width:100%;max-width:100%;min-height:43px;padding:9px 12px;border:1px solid #bdccda;border-radius:9px;background:#fff;color:#263e52;font:inherit}
.gsp-department-leader-external{margin-top:10px}
.gsp-department-leader-external[hidden]{display:none!important}
.gsp-department-leaders-fields .description{color:#63778c;font-size:.91rem;margin:0 0 16px}
.gsp-department-leaders-admin{padding:17px 20px;border:1px solid #d9e2ec;border-radius:12px;background:#fafcfe;margin:20px 0;max-width:760px}
.gsp-department-leaders-admin .description{margin:10px 0 17px;color:#586d7d}
.gsp-department-leaders-admin .gsp-department-leader-field{max-width:640px}
.gsp-directory-title .gsp-department-directory-link{color:inherit}
.gsp-affiliation-department-list a{font-weight:650}


/* 1.0.0.78 — leadership next to department facts, shared service tags and form options. */
.gsp-department-profile-page .gsp-department-leadership{grid-column:auto;min-width:0}
.gsp-department-leader-mail{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;width:32px;height:32px;margin-left:5px;background:#ebf5ff;border:1px solid #cce3f9;border-radius:8px;color:#075ba9;text-decoration:none}
.gsp-department-leader-mail:hover,.gsp-department-leader-mail:focus-visible{background:#d7eaff;border-color:#82b8e9}
.gsp-department-leader-mail svg{width:18px;height:18px}
.gsp-department-functions-tags{display:flex;list-style:none!important;flex-wrap:wrap;gap:9px;padding:0!important;margin:0!important}
.gsp-department-functions-tags li{list-style:none!important;margin:0!important;padding:8px 12px;border:1px solid #d5e6f5;background:#f0f7fd;border-radius:999px;color:#1d4e75;font-weight:650;font-size:.9rem}
.gsp-department-empty-functions{color:#64748b;margin:0!important}
.gsp-department-function-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:16px}
.gsp-department-function-options label{display:flex;align-items:flex-start;gap:9px;border:1px solid #dfe9f2;background:#f8fbfe;border-radius:10px;padding:10px 12px;font-weight:550;min-width:0;line-height:1.35}
.gsp-department-function-options input{flex:0 0 auto;margin-top:3px}
.gsp-department-functions-fields input[type=text],.gsp-department-profile-page #gsp_department_hospital{box-sizing:border-box;display:block;width:100%;max-width:100%;min-height:43px;border:1px solid #bdccda;border-radius:9px;padding:9px 12px;background:#fff;color:#263e52;font:inherit}
.gsp-department-functions-fields .description{color:#63778c;font-size:.91rem;margin:0 0 16px}
.gsp-department-functions-admin{border:1px solid #d9e2ec;border-radius:12px;background:#fafcfe;padding:16px 20px;margin:16px 0;max-width:780px}
.gsp-department-functions-admin .description{margin:8px 0 16px}
@media(max-width:700px){.gsp-department-function-options{grid-template-columns:minmax(0,1fr)}}


/* 1.0.0.81 – Region hospitals and dedicated hospital overview. */
.gsp-affiliation-page .gsp-affiliation-hospital-list li{
    display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;
}
.gsp-affiliation-hospital-name{min-width:0;overflow-wrap:anywhere}
.gsp-affiliation-hospital-count{font-size:.86rem;color:#516881;white-space:nowrap}
.gsp-hospital-profile-page .gsp-profile-card-grid{align-items:stretch}
@media (max-width:650px){
    .gsp-affiliation-hospital-count{font-size:.82rem}
}


/* 1.0.0.82 – Compact edit shortcut at the upper right of My Profile.
   Keep the four organisation/department links together on one desktop row. */
.gsp-my-profile-hero .gsp-profile-hero-top{padding-right:50px}
.gsp-my-profile-hero .gsp-profile-edit-icon{
    position:absolute;z-index:2;top:clamp(14px,2vw,25px);right:clamp(14px,2vw,25px);
    display:inline-flex;align-items:center;justify-content:center;
    width:42px;height:42px;min-height:42px;padding:0;
    border:1px solid rgba(255,255,255,.82);border-radius:11px;
    color:#0e518e;background:#fff;text-decoration:none;
    box-shadow:0 2px 8px rgba(7,35,67,.14);
    transition:background-color .15s ease,transform .15s ease
}
.gsp-my-profile-hero .gsp-profile-edit-icon svg{display:block;flex:none}
.gsp-my-profile-hero .gsp-profile-edit-icon:hover{background:#eaf5fe;transform:translateY(-1px)}
.gsp-my-profile-hero .gsp-profile-edit-icon:focus-visible{outline:3px solid #a7dbff;outline-offset:3px}
.gsp-my-profile-hero .gsp-profile-quicklinks{
    display:flex;align-items:stretch;flex-wrap:nowrap;gap:clamp(5px,.9vw,10px);
    margin-top:22px!important;min-width:0;width:100%;
}
.gsp-my-profile-hero .gsp-profile-quicklinks>.gsp-profile-button{
    flex:1 1 0;min-width:0;white-space:nowrap;
    padding:10px 7px!important;font-size:clamp(.77rem,1.35vw,.94rem)!important;
    line-height:1.35;min-height:42px;
}
@media(max-width:520px){
    .gsp-my-profile-hero .gsp-profile-hero-top{padding-right:42px}
    .gsp-my-profile-hero .gsp-profile-quicklinks{gap:6px}
    .gsp-my-profile-hero .gsp-profile-quicklinks>.gsp-profile-button{
        flex:1 1 0;min-width:0;padding:9px 3px!important;font-size:.75rem!important;
    }
}
@media(max-width:500px){
    /* At very narrow mobile sizes the labels remain legible on two rows. */
    .gsp-my-profile-hero .gsp-profile-quicklinks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
    .gsp-my-profile-hero .gsp-profile-quicklinks>.gsp-profile-button{white-space:normal;font-size:.86rem!important;padding:9px 6px!important}
}


/* 1.0.0.84 – Compact department headings in the member directory. */
.gsp-directory .gsp-directory-department-heading{
    display:flex;align-items:center;justify-content:space-between;
    flex-wrap:nowrap;gap:10px 14px;min-width:0;
}
.gsp-directory .gsp-directory-department-heading .gsp-directory-title{
    display:flex;align-items:center;flex:1 1 auto;flex-wrap:wrap;min-width:0;
    gap:5px 9px;font-size:clamp(1rem,1.8vw,1.1rem)!important;line-height:1.3;
}
.gsp-directory .gsp-directory-department-count{
    flex:0 0 auto;white-space:nowrap;overflow-wrap:normal;word-break:normal;
    font-size:.78rem;line-height:1.2;min-height:27px;min-width:0;padding:5px 10px;
}
.gsp-directory .gsp-directory-department-heading > .gsp-mail-action,
.gsp-directory .gsp-directory-department-heading > .gsp-directory-department-mail{
    flex:0 0 auto;width:38px;height:38px;min-width:38px;min-height:38px;
    padding:7px!important;white-space:nowrap;
}
.gsp-directory .gsp-directory-department-heading > .gsp-mail-action svg,
.gsp-directory .gsp-directory-department-heading > .gsp-directory-department-mail svg{
    width:18px;height:18px;flex:0 0 auto;
}
@media(max-width:600px){
    .gsp-directory .gsp-directory-department-heading .gsp-directory-title{
        flex:1 1 auto;font-size:1rem!important;
    }
}

/* 1.0.0.86 – privacy setting and member-directory opt-out count. */
.gsp-profile-directory-visibility{display:flex;align-items:flex-start;gap:10px;font-weight:650;line-height:1.5;cursor:pointer}
.gsp-profile-directory-visibility input[type=checkbox]{flex:none;width:18px;height:18px;margin:3px 0 0;accent-color:#17689d}
.gsp-profile-directory-help{font-size:.92rem;color:#50687c;line-height:1.5;margin:9px 0 0}
.gsp-directory-hidden-count{font-size:.88em;font-weight:500;color:#52687d;white-space:normal}


/* 1.0.0.88 – Clear, keyboard-accessible group administration sections. */
.gsp-group-admin-panel{background:transparent;border:0;padding:0;display:grid;gap:16px}
.gsp-group-admin-panel>h3{margin:0!important;font-size:clamp(1.18rem,2vw,1.48rem);color:#1d3c55}
.gsp-group-admin-overview{background:#eef6ff;border:1px solid #d5e6f7;border-radius:12px;padding:14px 17px}
.gsp-group-admin-overview>p{margin:0 0 12px;color:#3e5870;line-height:1.5}
.gsp-group-admin-jump{display:flex;gap:8px;flex-wrap:wrap}
.gsp-group-admin-jump a{display:inline-flex;align-items:center;min-height:35px;padding:6px 12px;border:1px solid #bad5ef;border-radius:8px;background:#fff;color:#175788!important;font-weight:650;text-decoration:none!important;font-size:.9rem}
.gsp-group-admin-jump a:hover,.gsp-group-admin-jump a:focus-visible{border-color:#237dbb;background:#f5faff;text-decoration:underline!important}
.gsp-group-admin-area{min-width:0;scroll-margin-top:24px;background:#fff;border:1px solid #dce6f0;border-radius:13px;padding:clamp(13px,2vw,21px);box-shadow:0 2px 10px rgba(16,52,84,.025)}
.gsp-group-admin-area-head{margin:0 0 13px}
.gsp-group-admin-area-head h4{font-size:1.13rem;line-height:1.25;margin:0 0 4px;color:#173c5c}
.gsp-group-admin-area-head p{font-size:.9rem;color:#63788c;line-height:1.5;margin:0}
.gsp-group-admin-area>.gsp-group-settings{border:1px solid #e1e9f1;border-radius:9px;background:#fcfdff;margin:8px 0 0;padding:0;overflow:hidden}
.gsp-group-admin-area>.gsp-group-settings>summary{position:relative;display:block;list-style:none;cursor:pointer;padding:13px 42px 13px 15px;margin:0;font-size:.97rem;font-weight:650;color:#194e79;line-height:1.4}
.gsp-group-admin-area>.gsp-group-settings>summary::-webkit-details-marker{display:none}
.gsp-group-admin-area>.gsp-group-settings>summary::after{content:'+';position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:1.25rem;font-weight:500;color:#416a87}
.gsp-group-admin-area>.gsp-group-settings[open]>summary::after{content:'−'}
.gsp-group-admin-area>.gsp-group-settings>summary:hover{background:#f1f7ff}
.gsp-group-admin-area>.gsp-group-settings>summary:focus-visible{outline:2px solid #0a66c2;outline-offset:-3px}
.gsp-group-admin-area>.gsp-group-settings[open]>summary{border-bottom:1px solid #e3eaf2;background:#f4f9ff}
.gsp-group-admin-area>.gsp-group-settings>form,
.gsp-group-admin-area>.gsp-group-settings>.gsp-group-muted,
.gsp-group-admin-area>.gsp-group-settings>.gsp-group-extended-editor,
.gsp-group-admin-area>.gsp-group-settings>fieldset{margin:14px 15px!important}
.gsp-group-admin-area .gsp-group-settings form{max-width:100%;min-width:0;display:grid;gap:12px;align-items:start}
.gsp-group-admin-area .gsp-group-settings form>label{display:grid;gap:5px;min-width:0;font-weight:600;color:#304e66}
.gsp-group-admin-area .gsp-group-settings form select,
.gsp-group-admin-area .gsp-group-settings form input:not([type=checkbox]):not([type=radio]),
.gsp-group-admin-area .gsp-group-settings form textarea{width:100%;max-width:100%;min-height:40px;box-sizing:border-box;border:1px solid #bbcbdc;border-radius:8px;padding:8px 11px;background:#fff;color:#233b51;font:inherit}
.gsp-group-admin-area .gsp-group-settings form>button{justify-self:start;max-width:100%;white-space:normal}
.gsp-group-admin-area .gsp-group-settings .gsp-group-leaders-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:8px}
.gsp-group-admin-area .gsp-group-settings .gsp-group-leaders-list label{display:flex;gap:7px;align-items:flex-start;min-width:0}
.gsp-group-admin-area .gsp-group-member-order-row{margin:0;gap:10px}
.gsp-group-admin-area-danger{border-color:#f0d7d9;background:#fffafa}
.gsp-group-admin-area-danger .gsp-group-admin-area-head h4{color:#923c45}
@media(max-width:560px){
 .gsp-group-admin-panel{gap:12px}
 .gsp-group-admin-overview{padding:12px}
 .gsp-group-admin-jump a{flex:1 1 calc(50% - 8px);justify-content:center;font-size:.83rem;text-align:center}
 .gsp-group-admin-area{padding:12px}
 .gsp-group-admin-area>.gsp-group-settings>form,
 .gsp-group-admin-area>.gsp-group-settings>.gsp-group-muted,
 .gsp-group-admin-area>.gsp-group-settings>.gsp-group-extended-editor,
 .gsp-group-admin-area>.gsp-group-settings>fieldset{margin:12px!important}
}

.gsp-group-admin-area .gsp-group-settings form>label.gsp-group-admin-check{display:flex;flex-direction:row;align-items:center;gap:9px;padding:6px 0;font-weight:500}
.gsp-group-admin-area .gsp-group-settings form>label.gsp-group-admin-check input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;accent-color:#0a66c2}
