/* Discussion v2 mobile, Figma Qkw1rAqYvxShVppu34QlEv node 2243:3905. Shares markup and classes with
   desktop (discussion-v2.css) so discussion-v2.js drives both; everything here is scoped to .dsc-m.

   Your Feed (2268:4698): page title Inter Semibold 16/24 #262626, padding 8px 16px. Tabs (2268:4716):
   gap 24px, padding 0 16px, border-bottom 1px #D9D9D9; tab padding 16px 0, Inter Medium 14/20 #717680,
   active Semibold #465DA6 with a 2px #465DA6 underline. Search row (2285:5846): padding 12px 16px,
   border-bottom 0.9px #EEEFF1; input 36px, border 1px #D5D7DA, radius 8px, padding 8px 14px, gap 8px.
   Post card (2268:4015): padding 16px, gap 16px, border-bottom 1px #EEEFF1. FAB (2350:44979): 20px
   from bottom and right, #465DA6, padding 16.333px, radius 8px. */

@media (min-width: 769px) {
    .dsc-mobile {
        display: none;
    }
}

.dsc-page.dsc-m {
    display: block;
    max-width: none;
    padding: 0;
    gap: 0;
}
.dsc-m .dsc-main {
    margin: 0;
    gap: 0;
    align-items: stretch;
}

/* Title, tabs and search */
.dsc-mnav {
    background: #FFFFFF;
}
.dsc-mnav__title {
    margin: 0;
    padding: 8px 16px;
    font: 600 16px/24px Inter, sans-serif;
    color: #262626;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dsc-mnav__tabs {
    display: flex;
    gap: 24px;
    padding: 0 16px;
    border-bottom: 1px solid #D9D9D9;
    overflow-x: auto;
    scrollbar-width: none;
}
.dsc-mnav__tabs::-webkit-scrollbar {
    display: none;
}
.dsc-mnav__tab,
.dsc-mnav__tab:hover {
    flex-shrink: 0;
    padding: 16px 0;
    margin-bottom: -1px;
    border-bottom: 2px solid transparent;
    font: 500 14px/20px Inter, sans-serif;
    color: #717680;
    text-decoration: none;
    white-space: nowrap;
}
.dsc-mnav__tab.is-active {
    border-bottom-color: #465DA6;
    font-weight: 600;
    color: #465DA6;
}
.dsc-mnav__search {
    padding: 12px 16px;
    border-bottom: 0.9px solid #EEEFF1;
    box-shadow: 0 4px 4px rgba(10, 13, 18, 0.1), 0 2px 2px rgba(10, 13, 18, 0.06);
}
.dsc-mnav__search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 8px 14px;
    background: #FFFFFF;
    border: 1px solid #D5D7DA;
    border-radius: 8px;
    box-shadow: 0 1px 1px rgba(10, 13, 18, 0.05);
}
.dsc-mnav__search-box img {
    flex-shrink: 0;
}
.dsc-mnav__search-input {
    flex: 1;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font: 400 14px/20px Inter, sans-serif;
    color: #181D27;
    outline: none;
}
.dsc-mnav__search-input::placeholder {
    color: #717680;
}

/* Create a post */
.dsc-fab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16.333px;
    background: #465DA6;
    border: 1.167px solid #465DA6;
    border-radius: 8px;
    box-shadow: 0 7px 9.333px rgba(0, 0, 0, 0.08), 0 3.5px 3.5px rgba(0, 0, 0, 0.12), 0 10.5px 16.333px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}
.dsc-fab img {
    display: block;
}

/* Post card */
.dsc-m .dsc-feed,
.dsc-m .dsc-feed__cards {
    gap: 0;
}
.dsc-m .dsc-card {
    gap: 16px;
    padding: 16px;
    border: 0;
    border-bottom: 1px solid #EEEFF1;
    border-radius: 0;
}
.dsc-m .dsc-card:hover {
    border-color: #EEEFF1;
    box-shadow: none;
}
.dsc-m .dsc-card__head {
    gap: 14px;
}
.dsc-m .dsc-card__logos,
.dsc-m .dsc-card__logo {
    width: 32px;
    height: 32px;
    border-radius: 5.12px;
}
.dsc-m .dsc-card__who {
    gap: 2px;
}
.dsc-m .dsc-card__group {
    font: 600 12px/18px Inter, sans-serif;
}
.dsc-m .dsc-card__meta {
    font: 400 12px/18px Inter, sans-serif;
}
.dsc-m .dsc-card__more {
    align-self: center;
}
.dsc-m .dsc-card__content {
    gap: 8px;
}
.dsc-m .dsc-card__title {
    font: 600 14px/20px Inter, sans-serif;
}
.dsc-m .dsc-card__body {
    -webkit-line-clamp: 3;
}
.dsc-m .dsc-card__doc {
    min-height: 120px;
    margin-top: 12px;
    padding: 16px;
    gap: 12px;
}
.dsc-m .dsc-card__doc-icon {
    width: 44px;
    height: 44px;
}
.dsc-m .dsc-card__doc-name {
    font-size: 14px;
    line-height: 20px;
}
.dsc-m .dsc-card__doc-type {
    font-size: 12px;
    line-height: 18px;
}
.dsc-m .dsc-card__see-more {
    margin-top: -4px;
    font-size: 12px;
    line-height: 18px;
}
/* Card carousel, 2268:4621. */
.dsc-m .dsc-card > .dsc-carousel {
    aspect-ratio: auto;
    height: 256px;
}
.dsc-m .dsc-card .dsc-carousel__arrow {
    width: 32px;
    height: 32px;
    padding: 7.111px;
    backdrop-filter: blur(3.556px);
}
.dsc-m .dsc-card .dsc-carousel__arrow img {
    width: 17.778px;
    height: 17.778px;
}
.dsc-m .dsc-card .dsc-carousel__dots {
    gap: 9px;
    padding: 6px;
    backdrop-filter: blur(3px);
}
.dsc-m .dsc-card .dsc-carousel__dot {
    width: 6px;
    height: 6px;
}
.dsc-m .dsc-card__share {
    padding: 8px;
    border-radius: 8px;
}
.dsc-m .dsc-card__share-icon {
    display: none;
}
.dsc-m .dsc-card__share-icon--m {
    display: block;
}
.dsc-m .dsc-card__share span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.dsc-m .dsc-feed__more {
    margin: 16px auto;
}

/* Empty states and skeletons */
.dsc-m .dsc-rail,
.dsc-m .dsc-post-rail {
    display: none;
}

/* New posts pill (2348:40338): #EBF1FF, radius 16px, padding 2px 8px 2px 10px, gap 4px, Inter Medium 14/20 #5E69A8 */
.dsc-m .dsc-newposts {
    position: sticky;
    top: 12px;
    z-index: 15;
    display: flex;
    justify-content: center;
    height: 0;
    overflow: visible;
}
.dsc-m .dsc-newposts__pill {
    display: flex;
    align-items: center;
    gap: 4px;
    height: max-content;
    padding: 2px 8px 2px 10px;
    background: #EBF1FF;
    border: 0;
    border-radius: 16px;
    font: 500 14px/20px Inter, sans-serif;
    color: #5E69A8;
    cursor: pointer;
}

/* Mobile Discover and Your Groups, Figma Qkw1rAqYvxShVppu34QlEv. Everything is scoped to .dsc-m or .dsc-msheet.

   Discover (2244:20953, groups 2299:20316): head padding 12px 16px 13px, gap 12px, border-bottom 1px #EEEFF1.
   Select 2268:4912: white, 1px #D5D7DA, radius 8px, padding 10px 16px, shadow 0 1px 1px rgba(10,13,18,0.05),
   Inter 400 14/20 #181D27, chevron 16px. Hint Inter 400 12/18 #535862. Group list: padding 20px 16px, gap 12px.
   Group tile (2299:20711): border 1px #F0F0F0, radius 12px, padding 16px, gap 12px; logo 32px radius 2.909px;
   name Inter 600 14/20 #181D27; meta gap 6px Inter 400 12/18 #8C8C8C; button padding 8px 14px, 1px #D5D7DA,
   radius 8px, Inter 600 14/20 #414651; description Inter 400 12/18 #434343.

   Switcher sheet (2299:20840): backdrop rgba(0,0,0,0.1). Panel white, radius 8px 8px 0 0, padding 16px 8px, gap 12px.
   Title Inter 700 16/24 rgba(0,0,0,0.88), padding 0 8px, close 20px. Item padding 12px, radius 4px, Inter 14/22;
   current item bg #EBF1FF, Inter 600 #465DA6 with a 20px check; others Inter 400 #262626.

   Your Groups (2268:4939, empty 2343:25681): section padding 20px 16px, gap 12px, border-bottom 1px #EEEFF1.
   Title Inter 600 16/24 #000000, badge #F5F5F5 (pending) or #EBF1FF (joined), Inter 500 12/18 #414651 or #5E69A8,
   hint Inter 400 12/18 #535862, chevron-up 20px. Pending tile: footer row "Requested ..." Inter 400 12/18 #8C8C8C
   with the Requested button on the right. Empty: padding 48px 16px, gap 12px, centred; title Inter 600 16/24
   #1C1C1C, text Inter 400 14/22 #595959 max 324px, link Inter 600 #465DA6. */

/* Discover head and switcher trigger */
.dsc-m .dsc-mdiscover__head {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 16px 13px;
    border-bottom: 1px solid #EEEFF1;
}
.dsc-m .dsc-mdiscover__select {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 16px;
    background: #FFFFFF;
    border: 1px solid #D5D7DA;
    border-radius: 8px;
    box-shadow: 0 1px 1px rgba(10, 13, 18, 0.05);
    font: 400 14px/20px Inter, sans-serif;
    color: #181D27;
    text-align: left;
    cursor: pointer;
}
.dsc-m .dsc-mdiscover__select img {
    flex-shrink: 0;
}
.dsc-m .dsc-mdiscover__text {
    font: 400 12px/18px Inter, sans-serif;
    color: #535862;
}
.dsc-m .dsc-mdiscover__groups {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 16px;
}

/* Group tile on mobile, shared by Discover, Your Groups and Recommended */
.dsc-m .dsc-tile {
    gap: 12px;
    padding: 16px;
    border-color: #F0F0F0;
}
.dsc-m .dsc-tile__head {
    align-items: center;
}
.dsc-m .dsc-tile__logo {
    width: 32px;
    height: 32px;
    border-radius: 2.909px;
}
.dsc-m .dsc-tile__initials {
    font: 500 13.714px/20.571px Inter, sans-serif;
}
.dsc-m .dsc-tile__text {
    gap: 4px;
}
.dsc-m .dsc-tile__footer {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}
.dsc-m .dsc-tile--pending .dsc-tile__footer {
    min-height: 18px;
}
.dsc-m .dsc-tile__request {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font: 400 12px/18px Inter, sans-serif;
    color: #8C8C8C;
}
.dsc-m .dsc-tile__request span {
    min-width: 0;
}

/* Your Groups */
.dsc-m .dsc-mgroups__section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 16px;
    border-bottom: 1px solid #EEEFF1;
}
.dsc-m .dsc-mgroups__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.dsc-m .dsc-mgroups__heading {
    display: flex;
    flex: 1 0 0;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.dsc-m .dsc-mgroups__line {
    display: flex;
    align-items: center;
    gap: 8px;
}
.dsc-m .dsc-mgroups__title {
    margin: 0;
    font: 600 16px/24px Inter, sans-serif;
    color: #000000;
}
.dsc-m .dsc-mgroups__sub {
    font: 400 12px/18px Inter, sans-serif;
    color: #535862;
}
.dsc-m .dsc-mgroups__toggle {
    flex-shrink: 0;
    display: flex;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
}
.dsc-m .dsc-mgroups__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.dsc-m .dsc-badge--grey {
    background: #F5F5F5;
    color: #414651;
}
.dsc-m .dsc-mgroups__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 48px 16px;
    border-bottom: 1px solid #EEEFF1;
    text-align: center;
}
.dsc-m .dsc-mgroups__empty-title {
    margin: 0;
    font: 600 16px/24px Inter, sans-serif;
    color: #1C1C1C;
}
.dsc-m .dsc-mgroups__empty-text {
    max-width: 324px;
    font: 400 14px/22px Inter, sans-serif;
    color: #595959;
}
.dsc-m .dsc-mgroups__empty-text a {
    font-weight: 600;
    color: #465DA6;
    text-decoration: none;
}

/* Discover switcher bottom sheet */
.dsc-msheet {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: auto 0 0;
    padding: 0;
    background: transparent;
    border: 0;
    font-family: Inter, sans-serif;
}
.dsc-msheet::backdrop {
    background: rgba(0, 0, 0, 0.1);
}
.dsc-msheet[open] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 8px;
    background: #FFFFFF;
    border-radius: 8px 8px 0 0;
}
.dsc-msheet__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
}
.dsc-msheet__title {
    margin: 0;
    font: 700 16px/24px Inter, sans-serif;
    color: rgba(0, 0, 0, 0.88);
}
.dsc-msheet__close {
    display: flex;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
}
.dsc-msheet__list {
    display: flex;
    flex-direction: column;
}
.dsc-msheet__item,
.dsc-msheet__item:hover {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-radius: 4px;
    font: 400 14px/22px Inter, sans-serif;
    color: #262626;
    text-decoration: none;
}
.dsc-msheet__item.is-current,
.dsc-msheet__item.is-current:hover {
    background: #EBF1FF;
    font-weight: 600;
    color: #465DA6;
}

/* Group Details on mobile, Figma Qkw1rAqYvxShVppu34QlEv. Scoped to .dsc-m, overrides the desktop group classes in discussion-v2.css.
   Header (2299:9948): banner 93px #F6F9FF padding 16px, back 36px circle rgba(255,255,255,.9) blur 3.556px; row padding 12px 16px,
   logo 60px abs left 16 top -12 border 1.75px radius 10px; Create 36px high (8px 14px), title 600 18/28 padding 8px 16px;
   tabs gap 24px padding 0 16px, tab padding 16px 0, active 600 #465DA6 with 2px underline.
   About (2289:15199): sections padding 16px gap 24px, border-bottom 1px #EEEFF1, title 600 16/24, rows 16px icon gap 8px,
   label 600 14/22 #595959, text 400 12/20; avatars 40px border 1.5px overlap -12px.
   Resources (2299:10726): card border 1px #E9EAEB radius 8px, rows padding 16px gap 12px, icon circle 40px #CDD8F9, name 500 14/20 #181D27.
   Members (2299:19624): box border 1px #EEEFF1 padding 12px 16px gap 16px; row avatar 40px gap 12px, verified 18.462px, Admin badge #EBF1FF / #5E69A8.
   Pinned (2299:9948): padding 12px 16px gap 16px, cards padding 10px 12px gap 12px, meta 500 12/18 #8C8C8C.
   Empty (2343:26053, 2343:27620, 2343:27839, 2343:28423): padding 48px 16px gap 12px, title 600 16/24 #1C1C1C, text 14/22 #595959. */

/* Hero */
.dsc-m .dsc-group-page {
    background: #FFFFFF;
}
.dsc-m .dsc-hero {
    padding-top: 0;
}
.dsc-m .dsc-hero__banner {
    position: relative;
    top: auto;
    height: 93px;
    padding: 16px;
    background-color: #F6F9FF;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.dsc-m .dsc-hero__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.dsc-m .dsc-hero__row {
    position: relative;
    height: auto;
    min-height: 60px;
    gap: 8px;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 12px 16px;
    background: #FFFFFF;
}
.dsc-m .dsc-hero__logo {
    position: absolute;
    left: 16px;
    top: -12px;
    width: 60px;
    height: 60px;
    border-width: 1.75px;
    border-radius: 10px;
    box-shadow: 0 0.833px 1.667px rgba(0, 0, 0, 0.03), 0 0.833px 5px -0.833px rgba(0, 0, 0, 0.02), 0 1.667px 3.333px rgba(0, 0, 0, 0.02);
}
.dsc-m .dsc-hero__logo img {
    width: 34px;
    height: 33px;
}
.dsc-m .dsc-hero__initials {
    font: 600 20px/28px Inter, sans-serif;
}
.dsc-m .dsc-hero__actions {
    gap: 8px;
}
.dsc-m .dsc-hero__actions .dsc-button {
    padding: 7px 13px;
}
.dsc-m .dsc-menu__toggle.dsc-hero__more {
    padding: 7px;
}
.dsc-m .dsc-hero__title {
    padding: 8px 16px;
    overflow: visible;
    white-space: normal;
    text-overflow: clip;
    font: 600 18px/28px Inter, sans-serif;
    overflow-wrap: anywhere;
}
.dsc-m .dsc-tabs {
    align-items: stretch;
    gap: 24px;
    height: auto;
    padding: 0 16px;
    overflow-x: auto;
}
.dsc-m .dsc-tabs__tab {
    padding: 16px 0;
    white-space: nowrap;
}

/* Body */
.dsc-m .dsc-group-body {
    padding: 0;
}
.dsc-m .dsc-group-body .dsc-empty {
    padding: 48px 16px;
}
.dsc-m .dsc-group-body .dsc-empty__title {
    font: 600 16px/24px Inter, sans-serif;
}
.dsc-m .dsc-group-body .dsc-empty__text {
    font: 400 14px/22px Inter, sans-serif;
}

/* Pinned posts */
.dsc-m .dsc-pinned {
    gap: 16px;
    padding: 12px 16px;
    border: 0;
    border-bottom: 1px solid #EEEFF1;
    border-radius: 0;
}
.dsc-m .dsc-pinned.is-collapsed {
    gap: 0;
}
.dsc-m .dsc-pinned__row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
}
.dsc-m .dsc-pinned__item {
    flex: 1 0 140px;
    min-width: 0;
    min-height: 0;
    gap: 12px;
    padding: 9px 11px;
}
.dsc-m .dsc-pinned__meta {
    gap: 12px;
}
.dsc-m .dsc-pinned__stat {
    display: flex;
    align-items: center;
    gap: 4px;
}
.dsc-m .dsc-pinned__stat img {
    width: 14px;
    height: 14px;
}

/* About */
.dsc-m .dsc-gabout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 16px;
    border-bottom: 1px solid #EEEFF1;
}
.dsc-m .dsc-gabout__title {
    margin: 0;
    font: 600 16px/24px Inter, sans-serif;
    color: #000000;
}
.dsc-m .dsc-gabout__title--row {
    display: flex;
    align-items: center;
    gap: 6px;
}
.dsc-m .dsc-gabout__title + .dsc-about {
    margin-top: -16px;
}
.dsc-m .dsc-gabout .dsc-about__text {
    font: 400 14px/20px Inter, sans-serif;
    color: #000000;
}
.dsc-m .dsc-gabout__row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #595959;
}
.dsc-m .dsc-gabout__icon {
    display: flex;
    align-items: center;
    padding: 3px 0;
    height: 28px;
}
.dsc-m .dsc-gabout__label {
    margin: 0;
    font: 600 14px/22px Inter, sans-serif;
}
.dsc-m .dsc-gabout__text {
    margin: 0;
    font: 400 12px/20px Inter, sans-serif;
}
.dsc-m .dsc-gabout__people {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.dsc-m .dsc-gabout__avatars {
    display: flex;
    padding-left: 12px;
}
.dsc-m .dsc-gabout__avatars img {
    width: 40px;
    height: 40px;
    margin-left: -12px;
    border: 1.5px solid #FFFFFF;
    border-radius: 50%;
    object-fit: cover;
    background: #FFFFFF;
}
.dsc-m .dsc-gabout__admins {
    margin: 0;
    font: 400 14px/22px Inter, sans-serif;
    color: #262626;
}
.dsc-m .dsc-gabout .dsc-button {
    width: 100%;
}

/* Resources */
.dsc-m .dsc-gres {
    margin: 16px 16px 32px;
    background: #FFFFFF;
    border: 1px solid #E9EAEB;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(10, 13, 18, 0.1), 0 1px 2px rgba(10, 13, 18, 0.06);
    overflow: hidden;
}
.dsc-m .dsc-gres__title {
    margin: 0;
    padding: 20px 16px 19px;
    font: 600 16px/24px Inter, sans-serif;
    color: #000000;
}
.dsc-m .dsc-gres__list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.dsc-m .dsc-gres__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid #E9EAEB;
    text-decoration: none;
}
.dsc-m .dsc-gres__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #CDD8F9;
    border-radius: 50%;
}
.dsc-m .dsc-gres__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.dsc-m .dsc-gres__name {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font: 500 14px/20px Inter, sans-serif;
    color: #181D27;
}
.dsc-m .dsc-gres__meta {
    font: 400 14px/20px Inter, sans-serif;
    color: #535862;
}
.dsc-m .dsc-gempty {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
}
.dsc-m .dsc-gempty__title {
    margin: 0;
    font: 600 16px/24px Inter, sans-serif;
    color: #1C1C1C;
}
.dsc-m .dsc-gempty__text {
    margin: 0;
    font: 400 14px/22px Inter, sans-serif;
    color: #595959;
}

/* Members */
.dsc-m .dsc-members {
    width: auto;
    margin: 0;
    padding: 12px 16px;
    border-radius: 0;
}
.dsc-m .dsc-members__title {
    color: #1C1C1C;
}
.dsc-m .dsc-members__count {
    font: 500 12px/18px Inter, sans-serif;
    color: #8C8C8C;
}
.dsc-m .dsc-members__search {
    height: 40px;
    padding: 9px 13px;
}
.dsc-m .dsc-members__list {
    gap: 16px;
}
.dsc-m .dsc-member {
    padding: 2px 0;
}
.dsc-m .dsc-member__avatarwrap {
    position: relative;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}
.dsc-m .dsc-member__avatar {
    width: 40px;
    height: 40px;
    border: 0.769px solid #F4F4F4;
    box-sizing: border-box;
}
.dsc-m .dsc-member__verified {
    position: absolute;
    right: -4.62px;
    bottom: -5.38px;
    width: 18.462px;
    height: 18.462px;
}
.dsc-m .dsc-member__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
}

/* Mobile post page and compose sheets, Figma Qkw1rAqYvxShVppu34QlEv. Scoped to .dsc-m (page) and .dsc-mobile (sheets).

   Post (2310:34527, frames 2310:35478, 2313:*): header 54px, padding 8px 16px, avatar 32px, name row Inter 12/18.
   Title Inter 600 16/24 #181D27, body Inter 400 14/20, content padding 12px 16px, gap 8px.
   Actions row 32px, gap 16px, icons 16px, Inter 12/18 #8C8C8C. Composer: avatar 32px, field 147px tall, buttons 36px, right aligned.
   Comments heading Inter 600 14/20. Comment rows keep the desktop geometry (avatar 32, gap 12); name 12/18 600, text 14/20.
   Empty comments (2342:24680): centred, 28px icon, Inter 600 14/20 title, 12/18 #8C8C8C text.

   Select group (2272:4541) and Compose (2272:5310): bottom sheets, radius 12px 12px 0 0, padding 16px,
   backdrop rgba(0,0,0,0.2), buttons full width 40px. Everything the page shows has data behind it; the
   desktop right rail is hidden on mobile. */

/* Page */
.dsc-m .dsc-post-col {
    gap: 0;
}

.dsc-m .dsc-post {
    gap: 0;
}

.dsc-m .dsc-post__head {
    gap: 12px;
    min-height: 54px;
    padding: 8px 16px;
    box-sizing: border-box;
}

.dsc-m .dsc-post__logos {
    flex-shrink: 0;
    position: relative;
    width: 32px;
    height: 32px;
}

.dsc-m .dsc-post__logo {
    width: 32px;
    height: 32px;
}

.dsc-m .dsc-post__avatar {
    position: absolute;
    right: -6px;
    bottom: -6px;
    width: 16px;
    height: 16px;
}

.dsc-m .dsc-post__who {
    min-width: 0;
    flex: 1 1 0;
}

.dsc-m .dsc-post__group {
    font: 600 12px/18px Inter, sans-serif;
}

.dsc-m .dsc-post__meta {
    font: 400 12px/18px Inter, sans-serif;
    color: #8C8C8C;
}

.dsc-m .dsc-post__content {
    gap: 8px;
    padding: 12px 16px;
}

.dsc-m .dsc-post__title {
    font: 600 16px/24px Inter, sans-serif;
}

.dsc-m .dsc-post__body {
    font: 400 14px/20px Inter, sans-serif;
}

.dsc-m .dsc-post__foot {
    gap: 6px;
    padding: 0 16px 12px;
}

.dsc-m .dsc-post__actions {
    gap: 16px;
    height: 32px;
}

.dsc-m .dsc-post__actions .dsc-card__stat {
    gap: 6px;
    font: 500 12px/18px Inter, sans-serif;
    color: #8C8C8C;
}

.dsc-m .dsc-post__share span {
    display: none;
}

/* "Link copied" shows in place of the hidden label for two seconds. */
.dsc-m .dsc-card__share.is-copied span {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
}

.dsc-m .dsc-post__share.is-copied span {
    display: inline;
}

.dsc-m .dsc-post__share {
    margin-left: 0;
}

/* Comment box: one 40px line with the chat icon (2307:33434), grows with buttons once you type in it. */
.dsc-m .dsc-mcomposer {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
    margin-top: 6px;
}

.dsc-m .dsc-mcomposer .dsc-composer__field {
    flex: 1 1 0;
    min-height: 40px;
    padding: 9px 13px;
    box-sizing: border-box;
    align-items: flex-start;
    gap: 8px;
}

.dsc-m .dsc-mcomposer .dsc-composer__field textarea,
.dsc-m .dsc-mcomposer .dsc-composer__field span {
    flex: 1;
    min-width: 0;
    height: 20px;
    min-height: 20px;
    max-height: none;
    overflow: hidden;
}

.dsc-m .dsc-mcomposer .dsc-composer__field textarea::placeholder,
.dsc-m .dsc-mcomposer .dsc-composer__field span {
    font: 400 14px/20px Inter, sans-serif;
    color: #717680;
}

.dsc-m .dsc-mcomposer .dsc-composer__field img {
    flex-shrink: 0;
    margin-top: 2px;
}

.dsc-m .dsc-mcomposer__buttons {
    display: none;
    flex: 0 0 100%;
    gap: 16px;
    justify-content: flex-end;
    box-sizing: border-box;
    padding-left: 44px;
}

.dsc-m .dsc-mcomposer:focus-within .dsc-composer__field,
.dsc-m .dsc-mcomposer:has(textarea:not(:placeholder-shown)) .dsc-composer__field {
    min-height: 147px;
}

.dsc-m .dsc-mcomposer:focus-within .dsc-composer__field textarea,
.dsc-m .dsc-mcomposer:has(textarea:not(:placeholder-shown)) .dsc-composer__field textarea {
    align-self: stretch;
    height: auto;
    overflow: auto;
}

.dsc-m .dsc-mcomposer:focus-within .dsc-mcomposer__icon,
.dsc-m .dsc-mcomposer:has(textarea:not(:placeholder-shown)) .dsc-mcomposer__icon {
    display: none;
}

.dsc-m .dsc-mcomposer:focus-within .dsc-mcomposer__buttons,
.dsc-m .dsc-mcomposer:has(textarea:not(:placeholder-shown)) .dsc-mcomposer__buttons {
    display: flex;
}

.dsc-m .dsc-mcomposer__button {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 14px;
    background: #FFFFFF;
    border: 1px solid #D5D7DA;
    border-radius: 8px;
    font: 600 14px/20px Inter, sans-serif;
    color: #414651;
    cursor: pointer;
}

.dsc-m .dsc-mcomposer__button--primary {
    background: #465DA6;
    border-color: #465DA6;
    color: #FFFFFF;
}

.dsc-m .dsc-mcomposer__button--primary:disabled {
    opacity: 0.5;
    cursor: default;
}

.dsc-m .dsc-mcomposer__button--primary.is-busy {
    color: transparent;
    opacity: 1;
}

.dsc-m .dsc-composer__blocked {
    min-height: 36px;
    padding: 6px 6px 6px 12px;
    font: 400 12px/18px Inter, sans-serif;
}

.dsc-m .dsc-thread-head__back {
    font: 600 12px/18px Inter, sans-serif;
}

.dsc-m .dsc-comments__empty .dsc-button {
    margin-top: 4px;
}

.dsc-m .dsc-composer__field--link {
    min-height: 0;
    align-items: center;
}

/* Comments */
.dsc-m .dsc-comments {
    gap: 16px;
    padding: 16px 16px 24px;
}

.dsc-m .dsc-comments__title {
    font: 600 14px/20px Inter, sans-serif;
}

.dsc-m .dsc-comments__list {
    gap: 16px;
}

.dsc-m .dsc-comment__name {
    font: 600 12px/18px Inter, sans-serif;
}

.dsc-m .dsc-comment__text {
    font: 400 14px/20px Inter, sans-serif;
}

.dsc-m .dsc-comments__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 24px 0;
    text-align: center;
}

.dsc-m .dsc-comments__empty-title {
    margin: 0;
    font: 600 14px/20px Inter, sans-serif;
    color: #181D27;
}

.dsc-m .dsc-comments__empty-text {
    margin: 0;
    font: 400 12px/18px Inter, sans-serif;
    color: #8C8C8C;
}

.dsc-m .dsc-empty {
    padding: 48px 16px;
}

/* Sheets */
.dsc-mobile .dsc-modal {
    width: 100%;
    max-width: 100%;
    margin: auto 0 0;
    padding: 16px;
    border-radius: 12px 12px 0 0;
}

/* Select a group (2272:4541): same sheet as compose, list scrolls between the head and pinned actions. */
.dsc-mobile .dsc-modal--select {
    height: 653px;
    max-height: calc(100vh - 12px);
    padding: 12px 12px 0;
    border-radius: 8px 8px 0 0;
}

.dsc-mobile .dsc-modal__title {
    font: 600 16px/24px Inter, sans-serif;
}

.dsc-mobile .dsc-choices {
    margin-top: 16px;
}

.dsc-mobile .dsc-modal__button {
    padding: 9px 14px;
    font: 600 14px/20px Inter, sans-serif;
}

/* Compose sheet (2272:5310): 653px tall, radius 8px 8px 0 0, sections padded 12px, actions pinned to the bottom. */
.dsc-mobile .dsc-modal--compose {
    height: 653px;
    max-height: calc(100vh - 12px);
    padding: 0;
    border-radius: 8px 8px 0 0;
}

.dsc-mobile .dsc-compose {
    flex: 1;
    min-height: 0;
    gap: 0;
}

.dsc-mobile .dsc-modal--compose .dsc-modal__head {
    padding: 12px;
    border-bottom: 1px solid #EEEFF1;
}

.dsc-mobile .dsc-modal--compose .dsc-modal__title {
    font: 700 16px/24px Inter, sans-serif;
    color: rgba(0, 0, 0, 0.88);
}

.dsc-mobile .dsc-compose__who {
    gap: 16px;
    padding: 12px;
}

.dsc-mobile .dsc-compose__avatar {
    width: 32px;
    height: 32px;
}

.dsc-mobile .dsc-compose__group {
    flex: 0 1 auto;
    width: 220px;
    max-width: 100%;
    height: 32px;
    min-width: 0;
    padding: 0 14px;
    gap: 8px;
    font: 500 12px/18px Inter, sans-serif;
    color: #181D27;
}

.dsc-mobile .dsc-compose__input {
    margin: 0 12px;
    width: auto;
    padding: 9px 13px;
    font: 400 14px/20px Inter, sans-serif;
}

.dsc-mobile #dsc-compose-title-input {
    margin-top: 12px;
}

.dsc-mobile .dsc-editor {
    flex: 1;
    min-height: 0;
    gap: 16px;
    margin: 16px 0 20px;
}

.dsc-mobile .dsc-compose__body {
    flex: 1;
    min-height: 0;
    max-height: none;
    height: auto;
    resize: none;
}

/* Toolbar (2281:5809): spread across the width; the dots open the rest of the tools on a second row. */
.dsc-mobile .dsc-editor__bar {
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 12px;
    height: auto;
    margin: 0 12px;
}

.dsc-mobile .dsc-editor__more {
    display: flex;
}

.dsc-mobile .dsc-editor__extra {
    display: none;
}

.dsc-mobile .dsc-editor__bar.is-more .dsc-editor__extra {
    display: flex;
    flex-basis: 100%;
    align-items: center;
    gap: 12px;
}

.dsc-mobile .dsc-editor__status {
    margin: 0 12px;
}

.dsc-mobile .dsc-editor__addlink .dsc-compose__input {
    margin: 0;
    width: 100%;
}

/* The field fills the sheet and scrolls as one when the text, images and links outgrow it. */
.dsc-mobile .dsc-editor__field {
    min-height: 0;
    overflow-y: auto;
}

.dsc-mobile .dsc-editor__body {
    flex: 1 0 auto;
    min-height: 60px;
    max-height: none;
    overflow: visible;
}

.dsc-mobile .dsc-compose__error {
    margin: 0 12px 12px;
}

.dsc-mobile .dsc-modal--select .dsc-choices {
    flex: 1;
    min-height: 0;
    margin-top: 12px;
    overflow-y: auto;
}

.dsc-mobile .dsc-modal--select .dsc-modal__actions,
.dsc-mobile .dsc-modal--compose .dsc-modal__actions {
    padding: 12px;
    gap: 12px;
    border-top: 1px solid #D9D9D9;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.08), 0 3px 3px rgba(0, 0, 0, 0.12), 0 9px 14px rgba(0, 0, 0, 0.05);
}

.dsc-mobile .dsc-modal--compose .dsc-modal__actions {
    margin: auto 0 0;
}

.dsc-mobile .dsc-modal--select .dsc-modal__actions {
    margin: 12px -12px 0;
}

.dsc-mobile .dsc-modal--select .dsc-modal__button,
.dsc-mobile .dsc-modal--compose .dsc-modal__button {
    padding: 10px 16px;
}

.dsc-mobile .dsc-compose__group-name {
    font: 500 12px/18px Inter, sans-serif;
}

/* Search (2345:35997, 2345:36115, 2345:36178, 2348:37230). Bar: padding 20px 16px, gap 16px, shadow;
   box 40px, padding 10px 14px, border #D5D7DA, radius 8px. Results row: padding 12px 16px, gap 20px,
   border-bottom #EEEFF1, thumbnail 104x68 radius 6px. Group card: padding 16px, gap 12px, border #F0F0F0,
   radius 12px, logo 32px. */
.dsc-mnav__search-box:hover,
.dsc-mnav__search-box:focus {
    text-decoration: none;
}
.dsc-mnav__search-input--link {
    color: #717680;
}
.dsc-msearch__bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 20px 16px;
    background: #FFFFFF;
    box-shadow: 0 4px 4px rgba(10, 13, 18, 0.1), 0 2px 2px rgba(10, 13, 18, 0.06);
}
.dsc-msearch__back {
    display: flex;
    flex-shrink: 0;
}
.dsc-msearch__row {
    margin: 0;
    padding: 8px 16px;
}
.dsc-msearch__box {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 10px 14px;
    background: #FFFFFF;
    border: 1px solid #D5D7DA;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(10, 13, 18, 0.05);
    font-weight: 400;
}
.dsc-msearch__box img {
    flex-shrink: 0;
}
.dsc-msearch__input {
    flex: 1;
    min-width: 0;
    height: 20px;
    padding: 0;
    border: 0;
    background: transparent;
    font: 400 14px/20px Inter, sans-serif;
    color: #181D27;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.dsc-msearch__input::placeholder {
    color: #717680;
}
.dsc-msearch__input::-webkit-search-cancel-button {
    display: none;
}
.dsc-msearch__suggest {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    padding: 20px 16px 12px;
    background: none;
    border: 0;
    font: 400 14px/20px Inter, sans-serif;
    color: #717680;
    text-align: left;
    cursor: pointer;
}
.dsc-msearch__suggest[hidden] {
    display: none;
}
.dsc-msearch__suggest-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dsc-msearch__tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 12px 16px;
}
.dsc-msearch__sort {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 10px 40px 10px 16px;
    background: #FFFFFF;
    border: 1px solid #D5D7DA;
    border-radius: 8px;
    box-shadow: 0 1px 1px rgba(10, 13, 18, 0.05);
    font: 400 14px/20px Inter, sans-serif;
    color: #252B37;
}
.dsc-msearch__sort img {
    position: absolute;
    right: 16px;
    pointer-events: none;
}
.dsc-msearch__count {
    font: 500 12px/18px Inter, sans-serif;
    color: #717680;
}
.dsc-sresult,
.dsc-sresult:hover {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 12px 16px;
    background: #FFFFFF;
    border-bottom: 1px solid #EEEFF1;
    color: inherit;
    text-decoration: none;
}
.dsc-sresult__text {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.dsc-sresult__meta {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    font: 400 12px/18px Inter, sans-serif;
    color: #8C8C8C;
}
.dsc-sresult__logo {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-right: 6px;
    border-radius: 4px;
    object-fit: cover;
}
.dsc-sresult__logo--empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #EBF1FF;
    font: 600 8px/1 Inter, sans-serif;
    color: #465DA6;
}
.dsc-sresult__group {
    overflow: hidden;
    font-weight: 500;
    color: #262626;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dsc-sresult__time {
    flex-shrink: 0;
    white-space: nowrap;
}
.dsc-sresult__title {
    display: -webkit-box;
    overflow: hidden;
    font: 600 14px/20px Inter, sans-serif;
    color: #181D27;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.dsc-sresult__stats {
    display: flex;
    align-items: center;
    gap: 4px;
    font: 500 12px/18px Inter, sans-serif;
    color: #8C8C8C;
}
.dsc-sresult__thumb {
    flex-shrink: 0;
    width: 104px;
    height: 68px;
    border-radius: 6.044px;
    background: #D9D9D9;
    object-fit: cover;
}
.dsc-msearch__groups {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 16px;
}
.dsc-sgroup {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: #FFFFFF;
    border: 1px solid #F0F0F0;
    border-radius: 12px;
}
.dsc-sgroup__head {
    display: flex;
    align-items: center;
    gap: 12px;
}
.dsc-sgroup__logo {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 2.909px;
    object-fit: cover;
}
.dsc-sgroup__logo--empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #EBF1FF;
    font: 600 12px/1 Inter, sans-serif;
    color: #465DA6;
}
.dsc-sgroup__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.dsc-sgroup__name,
.dsc-sgroup__name:hover {
    overflow: hidden;
    font: 600 14px/20px Inter, sans-serif;
    color: #181D27;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dsc-sgroup__type {
    display: flex;
    align-items: center;
    gap: 4px;
    font: 400 12px/18px Inter, sans-serif;
    color: #8C8C8C;
}
.dsc-sgroup__desc {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font: 400 12px/18px Inter, sans-serif;
    color: #434343;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.dsc-sgroup__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dsc-sgroup__members {
    font: 400 12px/18px Inter, sans-serif;
    color: #8C8C8C;
}
.dsc-sgroup__button,
.dsc-sgroup__button:hover {
    padding: 8px 14px;
    background: #FFFFFF;
    border: 1px solid #D5D7DA;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(10, 13, 18, 0.05);
    font: 600 14px/20px Inter, sans-serif;
    color: #414651;
    text-decoration: none;
    cursor: pointer;
}
.dsc-sgroup__button:disabled {
    color: #A4A7AE;
    cursor: default;
}
.dsc-msearch__more {
    display: block;
    width: fit-content;
    margin: 16px auto;
}
.dsc-m .dsc-msearch__empty a {
    color: #465DA6;
}

/* Invite modals have no mobile design; they open as sheets and the picked list sits under the results. */
.dsc-mobile .dsc-invite {
    padding: 0;
}

.dsc-mobile .dsc-invite__head {
    padding: 16px 16px 15px;
}

.dsc-mobile .dsc-invite__body {
    padding: 12px 16px 16px;
}

.dsc-mobile .dsc-invite__foot {
    padding: 15px 16px 16px;
}

.dsc-mobile .dsc-invite--user {
    height: calc(100vh - 12px);
}

.dsc-mobile .dsc-invite__split {
    flex-direction: column;
    gap: 0;
}

.dsc-mobile .dsc-invite__pick {
    padding: 12px 16px 0;
}

.dsc-mobile .dsc-invite__picked {
    width: auto;
    max-height: 35%;
}

.dsc-m .dsc-menu__toggle.dsc-members__invite {
    padding: 7px 13px;
}

.dsc-mobile .dsc-menu--actions .dsc-menu__list--invite {
    width: min(331px, calc(100vw - 32px));
}

.dsc-mobile .dsc-menu__list--invite .dsc-menu__item {
    white-space: normal;
}

/* SCD-569: light top navbar on Discussion pages, Figma Qkw1rAqYvxShVppu34QlEv node 1114:11611. */
body:has(.dsc-mobile) .header-mobile {
    background: #FFFFFF;
    box-shadow: 0 4px 4px rgba(10, 13, 18, 0.1), 0 2px 2px rgba(10, 13, 18, 0.06);
    color: #1C2542;
}
body:has(.dsc-mobile) .header-mobile__menu-btn,
body:has(.dsc-mobile) .header-mobile__search-btn,
body:has(.dsc-mobile) .header-mobile__bell {
    color: #1C2542;
}
body:has(.dsc-mobile) .header-mobile__logo {
    filter: brightness(0);
}
