/* Student Commons 5.14.2 — Workspace shell parity + compact response actions. */

/* The old promotional sidebar card is retired from the signed-in workspace. */
html body.nsc5-document.nsc590-member-document .nsc5-sidebar-note{display:none!important}

/* Response/answer options stay deliberately quiet until requested. */
html body.nsc5-document .nsc5142-response-card{position:relative}
html body.nsc5-document .nsc5142-response-head{align-items:flex-start;gap:12px}
html body.nsc5-document .nsc5142-response-head-actions{display:flex;align-items:flex-start;justify-content:flex-end;gap:8px;margin-left:auto}
html body.nsc5-document .nsc5142-response-menu{position:relative;flex:0 0 auto}
html body.nsc5-document .nsc5142-response-menu>summary{
  display:grid!important;width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;
  place-items:center!important;margin:0!important;padding:0 0 6px!important;border:1px solid transparent!important;border-radius:9px!important;
  background:transparent!important;color:#52675e!important;-webkit-text-fill-color:#52675e!important;
  cursor:pointer!important;list-style:none!important;font:800 21px/1 system-ui,-apple-system,"Segoe UI",sans-serif!important;letter-spacing:1px!important
}
html body.nsc5-document .nsc5142-response-menu>summary::-webkit-details-marker{display:none}
html body.nsc5-document .nsc5142-response-menu>summary::marker{content:""}
html body.nsc5-document .nsc5142-response-menu>summary:is(:hover,:focus-visible){background:#edf4f0!important;border-color:#c2d2ca!important;color:#123b2d!important;-webkit-text-fill-color:#123b2d!important;outline:none!important}
html body.nsc5-document .nsc5142-response-menu-popover{
  position:absolute;z-index:120;top:38px;right:0;width:190px;padding:6px;border:1px solid #c7d5ce;border-radius:12px;
  background:#fff;box-shadow:0 12px 32px rgba(13,45,34,.16)
}
html body.nsc5-document .nsc5142-response-menu-popover>button,
html body.nsc5-document .nsc5142-response-menu-popover>form>button{
  display:flex!important;width:100%!important;min-height:38px!important;align-items:center!important;justify-content:flex-start!important;
  margin:0!important;padding:8px 10px!important;border:0!important;border-radius:8px!important;background:transparent!important;
  color:#163a2c!important;-webkit-text-fill-color:#163a2c!important;text-align:left!important;font:700 13px/1.3 system-ui,-apple-system,"Segoe UI",sans-serif!important;cursor:pointer!important
}
html body.nsc5-document .nsc5142-response-menu-popover>button:is(:hover,:focus-visible),
html body.nsc5-document .nsc5142-response-menu-popover>form>button:is(:hover,:focus-visible){background:#edf4f0!important;outline:none!important}
html body.nsc5-document .nsc5142-response-menu-popover>form{margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html body.nsc5-document .nsc5142-response-menu-popover>form .nsc5-form-status{display:none!important}
html body.nsc5-document .nsc5142-response-menu-popover .is-danger{color:#9b1c27!important;-webkit-text-fill-color:#9b1c27!important}
html body.nsc5-document .nsc5142-response-menu-popover .is-danger:is(:hover,:focus-visible){background:#fff0f1!important}
html body.nsc5-document .nsc5142-inline-panel[hidden]{display:none!important}
html body.nsc5-document .nsc5142-inline-panel{
  margin-top:14px;padding:16px;border:1px solid #c9d8d0;border-radius:12px;background:#f7faf8;color:#19392d
}
html body.nsc5-document .nsc5142-inline-panel .nsc5-form{margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html body.nsc5-document .nsc5142-inline-panel textarea{min-height:118px}
html body.nsc5-document .nsc5142-panel-actions{display:flex;justify-content:flex-end;gap:9px;align-items:center;margin-top:4px}
html body.nsc5-document .nsc5142-panel-cancel{min-height:40px;padding:8px 14px;border:1px solid #81988c;border-radius:9px;background:#fff;color:#17382b;-webkit-text-fill-color:#17382b;font-weight:750;cursor:pointer}

html[data-theme="dark"] body.nsc5-document .nsc5142-response-menu>summary{color:#c0d4ca!important;-webkit-text-fill-color:#c0d4ca!important}
html[data-theme="dark"] body.nsc5-document .nsc5142-response-menu>summary:is(:hover,:focus-visible){background:#17352a!important;border-color:#547565!important;color:#f6fff9!important;-webkit-text-fill-color:#f6fff9!important}
html[data-theme="dark"] body.nsc5-document .nsc5142-response-menu-popover{background:#10271e;border-color:#577666;box-shadow:0 14px 34px rgba(0,0,0,.38)}
html[data-theme="dark"] body.nsc5-document .nsc5142-response-menu-popover>button,
html[data-theme="dark"] body.nsc5-document .nsc5142-response-menu-popover>form>button{color:#effaf4!important;-webkit-text-fill-color:#effaf4!important}
html[data-theme="dark"] body.nsc5-document .nsc5142-response-menu-popover>button:is(:hover,:focus-visible),
html[data-theme="dark"] body.nsc5-document .nsc5142-response-menu-popover>form>button:is(:hover,:focus-visible){background:#1b3b30!important}
html[data-theme="dark"] body.nsc5-document .nsc5142-response-menu-popover .is-danger{color:#ffbec3!important;-webkit-text-fill-color:#ffbec3!important}
html[data-theme="dark"] body.nsc5-document .nsc5142-response-menu-popover .is-danger:is(:hover,:focus-visible){background:#402328!important}
html[data-theme="dark"] body.nsc5-document .nsc5142-inline-panel{background:#10271e!important;border-color:#587868!important;color:#effaf4!important}
html[data-theme="dark"] body.nsc5-document .nsc5142-panel-cancel{background:#17352a!important;border-color:#6e8d7e!important;color:#effaf4!important;-webkit-text-fill-color:#effaf4!important}

/* Desktop signed-in shell now deliberately mirrors Student Workspace. */
@media (min-width:901px){
  html body.nsc5-document.nsc590-member-document .nsc5-topbar-inner{grid-template-columns:252px minmax(280px,680px) auto!important}
  html body.nsc5-document.nsc590-member-document .nsc5-layout:not(.nsc5-layout-focus){grid-template-columns:252px minmax(0,790px) minmax(250px,310px)!important}
  html body.nsc5-document.nsc590-member-document .nsc5-layout.nsc5-layout-wide:not(.nsc5-layout-focus){grid-template-columns:252px minmax(0,1fr)!important}

  html body.nsc5-document.nsc590-member-document .nsc5-topbar .nsc5-brand{
    align-self:stretch;display:flex!important;min-height:var(--nsc5-topbar);padding:0 18px!important;margin:0!important;border-radius:0!important;
    background:#0b3027!important;color:#fff!important;-webkit-text-fill-color:#fff!important
  }
  html body.nsc5-document.nsc590-member-document .nsc5-topbar .nsc5-brand .nsc5-brand-mark{
    background:#214c41!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:rgba(255,255,255,.08)!important;box-shadow:none!important
  }
  html body.nsc5-document.nsc590-member-document .nsc5-topbar .nsc5-brand strong{color:#fff!important;-webkit-text-fill-color:#fff!important;font-weight:850!important}
  html body.nsc5-document.nsc590-member-document .nsc5-topbar .nsc5-brand small{color:#c5d8d0!important;-webkit-text-fill-color:#c5d8d0!important;letter-spacing:.02em!important}

  html body.nsc5-document.nsc590-member-document .nsc5142-workspace-sidebar{
    box-sizing:border-box!important;margin-top:-30px!important;padding:22px 14px 22px!important;min-height:calc(100vh - var(--nsc5-topbar) - 32px)!important;
    border:0!important;border-radius:0 0 14px 14px!important;background:#0b3027!important;color:#fff!important;-webkit-text-fill-color:currentColor!important
  }
  html body.admin-bar.nsc5-document.nsc590-member-document .nsc5142-workspace-sidebar{min-height:calc(100vh - var(--nsc5-topbar) - 64px)!important}
  html body.nsc5-document.nsc590-member-document .nsc5142-sidebar-identity{
    display:flex!important;align-items:center!important;gap:12px!important;margin:0 0 18px!important;padding:14px 12px!important;border:0!important;border-radius:12px!important;
    background:#133d33!important;color:#fff!important;-webkit-text-fill-color:#fff!important;text-decoration:none!important
  }
  html body.nsc5-document.nsc590-member-document .nsc5142-sidebar-identity:is(:hover,:focus-visible){background:#19483c!important;outline:2px solid #8dd7b4!important;outline-offset:2px!important}
  html body.nsc5-document.nsc590-member-document .nsc5142-sidebar-avatar{display:grid;width:42px;height:42px;flex:0 0 42px;place-items:center;overflow:hidden;border-radius:11px;background:#e7f2ed}
  html body.nsc5-document.nsc590-member-document .nsc5142-sidebar-avatar :is(img,.nsc510-avatar-img){width:100%!important;height:100%!important;object-fit:cover!important;border-radius:inherit!important}
  html body.nsc5-document.nsc590-member-document .nsc5142-sidebar-identity-copy{display:block;min-width:0}
  html body.nsc5-document.nsc590-member-document .nsc5142-sidebar-identity-copy>strong{display:block!important;min-width:0;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:14px!important;line-height:1.25!important}
  html body.nsc5-document.nsc590-member-document .nsc5142-sidebar-identity-copy>small{display:block!important;margin-top:4px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#b8cec5!important;-webkit-text-fill-color:#b8cec5!important;font-size:11.5px!important}
  html body.nsc5-document.nsc590-member-document .nsc5142-sidebar-identity .nsc514-staff-badge{vertical-align:middle!important}

  html body.nsc5-document.nsc590-member-document .nsc5142-workspace-sidebar .nsc5-nav-list{gap:4px!important}
  html body.nsc5-document.nsc590-member-document .nsc5142-workspace-sidebar .nsc5-nav-item{
    min-height:48px!important;padding:10px 12px!important;border:1px solid transparent!important;border-radius:10px!important;
    background:transparent!important;color:#f3fbf7!important;-webkit-text-fill-color:#f3fbf7!important;font-weight:760!important
  }
  html body.nsc5-document.nsc590-member-document .nsc5142-workspace-sidebar .nsc5-nav-item svg{color:currentColor!important;stroke:currentColor!important}
  html body.nsc5-document.nsc590-member-document .nsc5142-workspace-sidebar .nsc5-nav-item:is(:hover,:focus-visible){background:#143d33!important;color:#fff!important;-webkit-text-fill-color:#fff!important;outline:none!important}
  html body.nsc5-document.nsc590-member-document .nsc5142-workspace-sidebar .nsc5-nav-item.is-active{
    background:#dff1e8!important;border-color:#7ebd9d!important;color:#1d6648!important;-webkit-text-fill-color:#1d6648!important
  }
  html body.nsc5-document.nsc590-member-document .nsc5142-workspace-sidebar .nsc5-count-badge{background:#f7d167!important;color:#3d2d05!important;-webkit-text-fill-color:#3d2d05!important}
}

@media (max-width:900px){
  html body.nsc5-document .nsc5142-response-menu-popover{position:fixed;right:14px;top:auto;width:min(240px,calc(100vw - 28px))}
  html body.nsc5-document .nsc5142-response-head-actions{gap:5px}
}

@media (forced-colors:active){
  html body.nsc5-document .nsc5142-response-menu>summary,
  html body.nsc5-document .nsc5142-response-menu-popover,
  html body.nsc5-document .nsc5142-inline-panel,
  html body.nsc5-document .nsc5142-workspace-sidebar{forced-color-adjust:auto!important}
}
