/* NOUN Student Community 5.7.4 — account-menu visibility and professional messaging workspace */
html body.nsc5-document .nsc5-sidebar-signout{display:none!important}

/* Account menu: one authoritative colour boundary in light and dark modes. */
html body.nsc5-document .nsc5-account-menu-panel{
  background:var(--nsc571-surface,#fff)!important;
  border-color:var(--nsc571-border,#8da096)!important;
  color:var(--nsc571-body,#24392f)!important;
  -webkit-text-fill-color:currentColor!important;
}
html body.nsc5-document .nsc5-account-menu-panel :where(strong,small,span){opacity:1!important}
html body.nsc5-document .nsc5-account-menu-head strong,
html body.nsc5-document .nsc5-account-menu-panel>a strong{
  color:var(--nsc571-ink,#10231b)!important;
  -webkit-text-fill-color:var(--nsc571-ink,#10231b)!important;
}
html body.nsc5-document .nsc5-account-menu-head small,
html body.nsc5-document .nsc5-account-menu-panel>a small{
  color:var(--nsc571-muted,#405249)!important;
  -webkit-text-fill-color:var(--nsc571-muted,#405249)!important;
}
html body.nsc5-document .nsc5-account-menu-panel>a{
  color:var(--nsc571-body,#24392f)!important;
  -webkit-text-fill-color:var(--nsc571-body,#24392f)!important;
  border:1px solid transparent!important;
}
html body.nsc5-document .nsc5-account-menu-panel>a svg{color:var(--nsc571-link,#005a36)!important;stroke:currentColor!important}
html body.nsc5-document .nsc5-account-menu-panel>a:hover,
html body.nsc5-document .nsc5-account-menu-panel>a:focus-visible{
  background:var(--nsc571-surface-alt,#eef3f0)!important;
  border-color:var(--nsc571-border-soft,#cbd5d0)!important;
}
html body.nsc5-document .nsc5-account-menu-logout,
html body.nsc5-document .nsc5-account-menu-logout strong,
html body.nsc5-document .nsc5-account-menu-logout svg{
  color:var(--nsc571-danger,#8f111b)!important;
  -webkit-text-fill-color:var(--nsc571-danger,#8f111b)!important;
}

/* Messages overview and controls. */
html body.nsc5-document .nsc574-messages-workspace{display:grid;gap:18px;min-width:0;color:var(--nsc571-body,#24392f)!important;-webkit-text-fill-color:currentColor!important}
html body.nsc5-document .nsc574-messages-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
html body.nsc5-document .nsc574-messages-hero h1{margin:.15rem 0 .35rem;font-size:clamp(2.25rem,4.4vw,3.8rem);letter-spacing:-.035em;color:var(--nsc571-ink,#10231b)!important;-webkit-text-fill-color:var(--nsc571-ink,#10231b)!important}
html body.nsc5-document .nsc574-messages-hero p{max-width:720px;margin:0;color:var(--nsc571-muted,#405249)!important;-webkit-text-fill-color:var(--nsc571-muted,#405249)!important}
html body.nsc5-document .nsc574-new-conversation{display:inline-flex!important;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:0 18px!important;white-space:nowrap}
html body.nsc5-document .nsc574-new-conversation svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
html body.nsc5-document .nsc574-message-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
html body.nsc5-document .nsc574-message-summary article{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:70px;padding:14px 16px;border:1px solid var(--nsc571-border-soft,#cbd5d0);border-radius:14px;background:var(--nsc571-surface,#fff)!important}
html body.nsc5-document .nsc574-message-summary span{font-size:.78rem;font-weight:750;color:var(--nsc571-muted,#405249)!important;-webkit-text-fill-color:var(--nsc571-muted,#405249)!important}
html body.nsc5-document .nsc574-message-summary strong{font-size:1.45rem;color:var(--nsc571-ink,#10231b)!important;-webkit-text-fill-color:var(--nsc571-ink,#10231b)!important}

/* Two-column application shell. */
html body.nsc5-document .nsc574-message-shell{display:grid;grid-template-columns:minmax(300px,370px) minmax(0,1fr);min-height:680px;border:1px solid var(--nsc571-border,#8da096);border-radius:22px;overflow:hidden;background:var(--nsc571-surface,#fff)!important;box-shadow:0 18px 50px rgba(10,31,22,.09)}
html body.nsc5-document .nsc574-message-inbox{display:flex;flex-direction:column;min-width:0;border-right:1px solid var(--nsc571-border-soft,#cbd5d0);background:var(--nsc571-surface-alt,#eef3f0)!important;color:var(--nsc571-body,#24392f)!important}
html body.nsc5-document .nsc574-inbox-toolbar{display:grid;gap:12px;padding:16px;border-bottom:1px solid var(--nsc571-border-soft,#cbd5d0)}
html body.nsc5-document .nsc574-conversation-search{display:flex;align-items:center;gap:9px;min-height:46px;padding:0 12px;border:1px solid var(--nsc571-border,#8da096);border-radius:12px;background:var(--nsc571-surface,#fff)!important;color:var(--nsc571-ink,#10231b)!important}
html body.nsc5-document .nsc574-conversation-search svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
html body.nsc5-document .nsc574-conversation-search input{width:100%;min-width:0;border:0!important;padding:0!important;background:transparent!important;color:var(--nsc571-ink,#10231b)!important;-webkit-text-fill-color:var(--nsc571-ink,#10231b)!important;box-shadow:none!important}
html body.nsc5-document .nsc574-conversation-search input::placeholder{color:var(--nsc571-muted,#405249)!important;-webkit-text-fill-color:var(--nsc571-muted,#405249)!important;opacity:1!important}
html body.nsc5-document .nsc574-message-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
html body.nsc5-document .nsc574-message-filters button{min-height:38px;padding:0 8px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--nsc571-muted,#405249)!important;-webkit-text-fill-color:var(--nsc571-muted,#405249)!important;font:750 .75rem/1 inherit;cursor:pointer}
html body.nsc5-document .nsc574-message-filters button:hover,
html body.nsc5-document .nsc574-message-filters button:focus-visible{border-color:var(--nsc571-border,#8da096);color:var(--nsc571-ink,#10231b)!important;-webkit-text-fill-color:var(--nsc571-ink,#10231b)!important}
html body.nsc5-document .nsc574-message-filters button.is-active{border-color:var(--nsc571-primary,#005a36);background:var(--nsc571-accent-soft,#dff3e8);color:var(--nsc571-link,#005a36)!important;-webkit-text-fill-color:var(--nsc571-link,#005a36)!important}
html body.nsc5-document .nsc574-message-list{flex:1;min-height:0;max-height:590px;overflow:auto;padding:8px}
html body.nsc5-document .nsc574-message-row{position:relative;display:grid!important;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:86px;padding:11px!important;border:1px solid transparent;border-radius:14px;text-decoration:none!important;color:var(--nsc571-body,#24392f)!important;-webkit-text-fill-color:var(--nsc571-body,#24392f)!important}
html body.nsc5-document .nsc574-message-row:hover,
html body.nsc5-document .nsc574-message-row:focus-visible{border-color:var(--nsc571-border-soft,#cbd5d0);background:var(--nsc571-surface,#fff)!important}
html body.nsc5-document .nsc574-message-row.is-active{border-color:var(--nsc571-primary,#005a36);background:var(--nsc571-surface,#fff)!important;box-shadow:0 5px 18px rgba(10,31,22,.07)}
html body.nsc5-document .nsc574-message-row.has-unread::before{content:"";position:absolute;left:2px;top:22px;width:4px;height:36px;border-radius:999px;background:var(--nsc571-primary,#005a36)}
html body.nsc5-document .nsc574-message-avatar,
html body.nsc5-document .nsc574-recipient-avatar{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--nsc571-primary,#005a36)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-weight:900;flex:0 0 46px}
html body.nsc5-document .nsc574-message-row-copy{display:grid;gap:4px;min-width:0}
html body.nsc5-document .nsc574-message-row-top{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
html body.nsc5-document .nsc574-message-row-top strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--nsc571-ink,#10231b)!important;-webkit-text-fill-color:var(--nsc571-ink,#10231b)!important;font-size:.87rem}
html body.nsc5-document .nsc574-message-row-top time{flex:0 0 auto;font-size:.63rem;color:var(--nsc571-muted,#405249)!important;-webkit-text-fill-color:var(--nsc571-muted,#405249)!important}
html body.nsc5-document .nsc574-message-row-copy>small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.73rem;color:var(--nsc571-muted,#405249)!important;-webkit-text-fill-color:var(--nsc571-muted,#405249)!important}
html body.nsc5-document .nsc574-message-kind{font-size:.62rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--nsc571-link,#005a36)!important;-webkit-text-fill-color:var(--nsc571-link,#005a36)!important}
html body.nsc5-document .nsc574-message-list-empty{display:grid;place-items:center;align-content:center;gap:9px;min-height:350px;padding:26px;text-align:center}
html body.nsc5-document .nsc574-message-list-empty svg{width:44px;height:44px;fill:none;stroke:var(--nsc571-link,#005a36);stroke-width:1.6}
html body.nsc5-document .nsc574-message-list-empty strong{color:var(--nsc571-ink,#10231b)!important;-webkit-text-fill-color:var(--nsc571-ink,#10231b)!important}
html body.nsc5-document .nsc574-message-list-empty p{max-width:240px;margin:0;color:var(--nsc571-muted,#405249)!important;-webkit-text-fill-color:var(--nsc571-muted,#405249)!important}

/* Active conversation. */
html body.nsc5-document .nsc574-conversation-panel{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--nsc571-surface,#fff)!important;color:var(--nsc571-body,#24392f)!important}
html body.nsc5-document .nsc574-conversation-head{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:78px;padding:14px 20px;border-bottom:1px solid var(--nsc571-border-soft,#cbd5d0);background:var(--nsc571-surface,#fff)!important}
html body.nsc5-document .nsc574-conversation-head>div{display:flex;align-items:center;gap:12px;min-width:0}
html body.nsc5-document .nsc574-conversation-head h2{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.12rem;color:var(--nsc571-ink,#10231b)!important;-webkit-text-fill-color:var(--nsc571-ink,#10231b)!important}
html body.nsc5-document .nsc574-conversation-head p{margin:3px 0 0;font-size:.73rem;color:var(--nsc571-muted,#405249)!important;-webkit-text-fill-color:var(--nsc571-muted,#405249)!important}
html body.nsc5-document .nsc574-conversation-info{position:relative}
html body.nsc5-document .nsc574-conversation-info>summary{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--nsc571-border,#8da096);border-radius:11px;background:var(--nsc571-surface,#fff)!important;color:var(--nsc571-ink,#10231b)!important;-webkit-text-fill-color:var(--nsc571-ink,#10231b)!important;cursor:pointer;list-style:none;font-weight:900}
html body.nsc5-document .nsc574-conversation-info>summary::-webkit-details-marker{display:none}
html body.nsc5-document .nsc574-conversation-info>div{position:absolute;right:0;top:calc(100% + 8px);z-index:40;width:300px;padding:16px;border:1px solid var(--nsc571-border,#8da096);border-radius:14px;background:var(--nsc571-surface,#fff)!important;color:var(--nsc571-body,#24392f)!important;box-shadow:0 18px 50px rgba(9,28,20,.18)}
html body.nsc5-document .nsc574-conversation-info strong{color:var(--nsc571-ink,#10231b)!important;-webkit-text-fill-color:var(--nsc571-ink,#10231b)!important}
html body.nsc5-document .nsc574-conversation-info ul{margin:10px 0;padding-left:18px}
html body.nsc5-document .nsc574-conversation-info li,
html body.nsc5-document .nsc574-conversation-info p{color:var(--nsc571-body,#24392f)!important;-webkit-text-fill-color:var(--nsc571-body,#24392f)!important}
html body.nsc5-document .nsc574-conversation-messages{display:flex;flex:1;flex-direction:column;gap:12px;min-height:430px;max-height:590px;overflow:auto;padding:24px;background:linear-gradient(180deg,var(--nsc571-canvas,#f4f7f5),var(--nsc571-surface,#fff))!important;scroll-behavior:smooth}
html body.nsc5-document .nsc574-message-bubble{align-self:flex-start;max-width:min(76%,650px);padding:12px 14px;border:1px solid var(--nsc571-border-soft,#cbd5d0);border-radius:17px 17px 17px 5px;background:var(--nsc571-surface,#fff)!important;color:var(--nsc571-body,#24392f)!important;-webkit-text-fill-color:var(--nsc571-body,#24392f)!important;box-shadow:0 4px 14px rgba(12,31,23,.05)}
html body.nsc5-document .nsc574-message-bubble.is-mine{align-self:flex-end;border-color:#7aa98f;border-radius:17px 17px 5px 17px;background:var(--nsc571-accent-soft,#dff3e8)!important}
html body.nsc5-document .nsc574-message-bubble-meta{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:5px}
html body.nsc5-document .nsc574-message-bubble-meta strong{font-size:.75rem;color:var(--nsc571-ink,#10231b)!important;-webkit-text-fill-color:var(--nsc571-ink,#10231b)!important}
html body.nsc5-document .nsc574-message-bubble-meta time{font-size:.65rem;color:var(--nsc571-muted,#405249)!important;-webkit-text-fill-color:var(--nsc571-muted,#405249)!important}
html body.nsc5-document .nsc574-message-bubble-body,
html body.nsc5-document .nsc574-message-bubble-body p{color:var(--nsc571-body,#24392f)!important;-webkit-text-fill-color:var(--nsc571-body,#24392f)!important;line-height:1.58}
html body.nsc5-document .nsc574-message-bubble-body p{margin:.25rem 0!important}
html body.nsc5-document .nsc574-conversation-empty,
html body.nsc5-document .nsc574-conversation-start{display:grid;place-items:center;align-content:center;gap:9px;min-height:100%;padding:34px;text-align:center;color:var(--nsc571-muted,#405249)!important;-webkit-text-fill-color:var(--nsc571-muted,#405249)!important}
html body.nsc5-document .nsc574-conversation-empty svg{width:54px;height:54px;fill:none;stroke:var(--nsc571-link,#005a36);stroke-width:1.5}
html body.nsc5-document .nsc574-conversation-empty strong,
html body.nsc5-document .nsc574-conversation-start strong{color:var(--nsc571-ink,#10231b)!important;-webkit-text-fill-color:var(--nsc571-ink,#10231b)!important;font-size:1.05rem}
html body.nsc5-document .nsc574-conversation-empty p,
html body.nsc5-document .nsc574-conversation-start p{max-width:450px;margin:0;color:var(--nsc571-muted,#405249)!important;-webkit-text-fill-color:var(--nsc571-muted,#405249)!important}

/* Composer. */
html body.nsc5-document .nsc574-message-composer{position:sticky;bottom:0;margin:0!important;padding:14px 18px!important;border-top:1px solid var(--nsc571-border-soft,#cbd5d0);background:var(--nsc571-surface,#fff)!important}
html body.nsc5-document .nsc574-message-composer textarea{display:block;width:100%;min-height:82px;max-height:240px;resize:vertical;border:1px solid var(--nsc571-border,#8da096)!important;border-radius:13px!important;background:var(--nsc571-surface,#fff)!important;color:var(--nsc571-ink,#10231b)!important;-webkit-text-fill-color:var(--nsc571-ink,#10231b)!important;box-shadow:none!important}
html body.nsc5-document .nsc574-message-composer textarea::placeholder{color:var(--nsc571-muted,#405249)!important;-webkit-text-fill-color:var(--nsc571-muted,#405249)!important;opacity:1!important}
html body.nsc5-document .nsc574-message-compose-foot{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-top:9px}
html body.nsc5-document .nsc574-message-compose-foot>div{display:grid;gap:3px}
html body.nsc5-document .nsc574-message-compose-foot span{font-size:.68rem;font-weight:800;color:var(--nsc571-muted,#405249)!important;-webkit-text-fill-color:var(--nsc571-muted,#405249)!important}
html body.nsc5-document .nsc574-message-compose-foot small{max-width:570px;color:var(--nsc571-muted,#405249)!important;-webkit-text-fill-color:var(--nsc571-muted,#405249)!important;font-size:.68rem;line-height:1.45}
html body.nsc5-document .nsc574-message-compose-foot button{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-width:110px;white-space:nowrap}
html body.nsc5-document .nsc574-message-compose-foot svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2}

/* New conversation dialog and recipient picker. */
html body.nsc5-document .nsc574-message-dialog{width:min(720px,calc(100vw - 28px));max-height:min(760px,calc(100vh - 40px));padding:24px;border:1px solid var(--nsc571-border,#8da096);border-radius:22px;background:var(--nsc571-surface,#fff)!important;color:var(--nsc571-body,#24392f)!important;-webkit-text-fill-color:currentColor!important;box-shadow:0 26px 90px rgba(5,20,13,.35)}
html body.nsc5-document .nsc574-message-dialog::backdrop{background:rgba(5,20,13,.58);backdrop-filter:blur(3px)}
html body.nsc5-document .nsc574-message-dialog header{padding-right:44px}
html body.nsc5-document .nsc574-message-dialog h2{margin:.25rem 0 .35rem;font-size:1.8rem;color:var(--nsc571-ink,#10231b)!important;-webkit-text-fill-color:var(--nsc571-ink,#10231b)!important}
html body.nsc5-document .nsc574-message-dialog header p{margin:0;color:var(--nsc571-muted,#405249)!important;-webkit-text-fill-color:var(--nsc571-muted,#405249)!important}
html body.nsc5-document .nsc574-dialog-close{position:absolute;right:16px;top:16px;margin:0!important}
html body.nsc5-document .nsc574-dialog-close button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid var(--nsc571-border,#8da096);border-radius:12px;background:var(--nsc571-surface,#fff)!important;color:var(--nsc571-ink,#10231b)!important;-webkit-text-fill-color:var(--nsc571-ink,#10231b)!important;font-size:1.6rem;cursor:pointer}
html body.nsc5-document .nsc574-dialog-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:20px 0;padding:5px;border:1px solid var(--nsc571-border-soft,#cbd5d0);border-radius:12px;background:var(--nsc571-surface-alt,#eef3f0)!important}
html body.nsc5-document .nsc574-dialog-tabs button{min-height:42px;border:0;border-radius:9px;background:transparent;color:var(--nsc571-muted,#405249)!important;-webkit-text-fill-color:var(--nsc571-muted,#405249)!important;font-weight:800;cursor:pointer}
html body.nsc5-document .nsc574-dialog-tabs button.is-active{background:var(--nsc571-surface,#fff)!important;color:var(--nsc571-ink,#10231b)!important;-webkit-text-fill-color:var(--nsc571-ink,#10231b)!important;box-shadow:0 2px 8px rgba(10,31,22,.08)}
html body.nsc5-document .nsc574-new-conversation-form{display:grid;gap:14px;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
html body.nsc5-document .nsc574-recipient-results{max-height:240px;overflow:auto;border:1px solid var(--nsc571-border-soft,#cbd5d0);border-radius:12px;background:var(--nsc571-surface,#fff)!important}
html body.nsc5-document .nsc574-recipient-results:empty,
html body.nsc5-document .nsc574-recipient-results[hidden]{display:none!important}
html body.nsc5-document .nsc574-recipient-option{display:grid;width:100%;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:11px;min-height:60px;padding:9px 11px;border:0;border-bottom:1px solid var(--nsc571-border-soft,#cbd5d0);background:var(--nsc571-surface,#fff)!important;color:var(--nsc571-body,#24392f)!important;-webkit-text-fill-color:var(--nsc571-body,#24392f)!important;text-align:left;cursor:pointer}
html body.nsc5-document .nsc574-recipient-option:last-child{border-bottom:0}
html body.nsc5-document .nsc574-recipient-option:hover,
html body.nsc5-document .nsc574-recipient-option:focus-visible{background:var(--nsc571-surface-alt,#eef3f0)!important}
html body.nsc5-document .nsc574-recipient-option .nsc574-recipient-avatar{width:40px;height:40px;flex-basis:40px}
html body.nsc5-document .nsc574-recipient-option>span:last-child{display:grid;gap:2px;min-width:0}
html body.nsc5-document .nsc574-recipient-option strong,
html body.nsc5-document .nsc574-selected-recipient strong{color:var(--nsc571-ink,#10231b)!important;-webkit-text-fill-color:var(--nsc571-ink,#10231b)!important}
html body.nsc5-document .nsc574-recipient-option small,
html body.nsc5-document .nsc574-selected-recipient small{color:var(--nsc571-muted,#405249)!important;-webkit-text-fill-color:var(--nsc571-muted,#405249)!important}
html body.nsc5-document .nsc574-recipient-empty{margin:0;padding:16px;color:var(--nsc571-muted,#405249)!important;-webkit-text-fill-color:var(--nsc571-muted,#405249)!important;text-align:center}
html body.nsc5-document .nsc574-selected-recipient{display:flex;align-items:center;gap:11px;padding:10px 12px;border:1px solid var(--nsc571-primary,#005a36);border-radius:12px;background:var(--nsc571-accent-soft,#dff3e8)!important}
html body.nsc5-document .nsc574-selected-recipient>span:last-child{display:grid;gap:2px}
html body.nsc5-document .nsc574-selected-members{display:flex;flex-wrap:wrap;gap:8px}
html body.nsc5-document .nsc574-selected-chip{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:4px 6px 4px 11px;border:1px solid var(--nsc571-border,#8da096);border-radius:999px;background:var(--nsc571-surface-alt,#eef3f0)!important;color:var(--nsc571-ink,#10231b)!important;-webkit-text-fill-color:var(--nsc571-ink,#10231b)!important;font-size:.76rem;font-weight:750}
html body.nsc5-document .nsc574-selected-chip button{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:var(--nsc571-surface,#fff)!important;color:var(--nsc571-danger,#8f111b)!important;-webkit-text-fill-color:var(--nsc571-danger,#8f111b)!important;cursor:pointer}
html body.nsc5-document .nsc574-form-help{margin:0;color:var(--nsc571-muted,#405249)!important;-webkit-text-fill-color:var(--nsc571-muted,#405249)!important;font-size:.75rem}

/* Explicit dark-mode reinforcement. The same variables now control surface and text. */
@media (prefers-color-scheme:dark){
  html:not([data-theme="light"]) body.nsc5-document :where(.nsc5-account-menu-panel,.nsc574-message-shell,.nsc574-message-inbox,.nsc574-conversation-panel,.nsc574-conversation-head,.nsc574-message-composer,.nsc574-message-dialog,.nsc574-recipient-results,.nsc574-recipient-option,.nsc574-conversation-info>div){color:var(--nsc571-body,#e0e9e4)!important;-webkit-text-fill-color:currentColor!important}
}
html[data-theme="dark"] body.nsc5-document :where(.nsc5-account-menu-panel,.nsc574-message-shell,.nsc574-message-inbox,.nsc574-conversation-panel,.nsc574-conversation-head,.nsc574-message-composer,.nsc574-message-dialog,.nsc574-recipient-results,.nsc574-recipient-option,.nsc574-conversation-info>div),
body.nsc5-document.dark-mode :where(.nsc5-account-menu-panel,.nsc574-message-shell,.nsc574-message-inbox,.nsc574-conversation-panel,.nsc574-conversation-head,.nsc574-message-composer,.nsc574-message-dialog,.nsc574-recipient-results,.nsc574-recipient-option,.nsc574-conversation-info>div),
body.nsc5-document.nsc-dark-mode :where(.nsc5-account-menu-panel,.nsc574-message-shell,.nsc574-message-inbox,.nsc574-conversation-panel,.nsc574-conversation-head,.nsc574-message-composer,.nsc574-message-dialog,.nsc574-recipient-results,.nsc574-recipient-option,.nsc574-conversation-info>div){color:var(--nsc571-body,#e0e9e4)!important;-webkit-text-fill-color:currentColor!important}

@media(max-width:980px){html body.nsc5-document .nsc574-message-shell{grid-template-columns:minmax(270px,330px) minmax(0,1fr)}html body.nsc5-document .nsc574-message-summary{grid-template-columns:repeat(3,1fr)}}
@media(max-width:820px){html body.nsc5-document .nsc574-message-shell{grid-template-columns:1fr;min-height:0}html body.nsc5-document .nsc574-message-inbox{border-right:0;border-bottom:1px solid var(--nsc571-border-soft,#cbd5d0)}html body.nsc5-document .nsc574-message-list{max-height:330px}html body.nsc5-document .nsc574-conversation-messages{min-height:400px;max-height:520px}}
@media(max-width:680px){html body.nsc5-document .nsc574-messages-hero{align-items:stretch;flex-direction:column}html body.nsc5-document .nsc574-new-conversation{width:100%}html body.nsc5-document .nsc574-message-summary{grid-template-columns:1fr}html body.nsc5-document .nsc574-message-summary article{min-height:54px}html body.nsc5-document .nsc574-message-shell{border-radius:16px}html body.nsc5-document .nsc574-message-bubble{max-width:92%}html body.nsc5-document .nsc574-message-compose-foot{align-items:stretch;flex-direction:column}html body.nsc5-document .nsc574-message-compose-foot button{width:100%}html body.nsc5-document .nsc574-message-dialog{padding:20px 16px}html body.nsc5-document .nsc574-dialog-tabs{grid-template-columns:1fr}}
@media(forced-colors:active){html body.nsc5-document :where(.nsc5-account-menu-panel,.nsc574-message-shell,.nsc574-message-bubble,.nsc574-message-dialog,.nsc574-recipient-results){border:2px solid CanvasText!important}html body.nsc5-document .nsc574-message-row.has-unread::before{background:Highlight!important}}
