
/* ChatGPTIA Admin: same navigation on Overview, AI Chat, Quality, Suggestions. */
.app-layout{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh}
.app-layout>.workspace{min-width:0}
.wmd-shared-sidebar{position:relative;display:flex!important;flex-direction:column!important;
  width:auto!important;min-width:0!important;box-sizing:border-box!important;
  padding:28px 17px 23px!important;background:#111d37!important;color:#f3f6ff!important;
  gap:0!important;box-shadow:none!important}
.wmd-sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.wmd-shell-brand{display:flex;align-items:center;gap:10px;padding:0 10px;
  margin:0 0 48px;color:#fff!important;text-decoration:none!important;
  font-size:18px!important;font-weight:770!important;letter-spacing:-.4px;white-space:nowrap}
.wmd-shell-brandmark{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;
  border-radius:11px;background:linear-gradient(140deg,#7b8cff,#425fdf);
  color:#fff;box-shadow:0 6px 17px rgba(3,11,32,.27)}
.wmd-shell-brandmark svg{width:23px;height:23px;display:block}
.wmd-shell-brandname{line-height:1.1}
.wmd-shell-brandname small{display:block;font-size:10px;font-weight:750;
  letter-spacing:1.3px;text-transform:uppercase;color:#9aadcf;margin-top:4px}
.wmd-shared-sidebar .wmd-desktop-nav{display:flex!important;flex-direction:column!important;
  gap:4px!important;overflow:visible!important;margin:0!important;padding:0!important}
.wmd-shell-section{padding:0 12px;margin-bottom:10px;color:#8da0c2;
  font-size:10px;font-weight:800;letter-spacing:1.35px;text-transform:uppercase}
.wmd-shared-sidebar .wmd-shell-link{display:flex;align-items:center;gap:12px;
  min-height:43px;padding:11px 13px;border-radius:10px;
  color:#a9bad7!important;background:transparent;
  font-size:13px!important;font-weight:650;line-height:1.4;
  white-space:nowrap;text-decoration:none!important;
  transition:background .15s ease,color .15s ease}
.wmd-shared-sidebar .wmd-shell-link:hover{background:#223656!important;color:#fff!important}
.wmd-shared-sidebar .wmd-shell-link[aria-current="page"]{
  color:#fff!important;background:#2a3e66!important;
  box-shadow:inset 3px 0 0 #8da8ff}
.wmd-shell-link svg{width:18px;height:18px;display:block;flex:0 0 18px;
  stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.wmd-shell-spacer{flex:1;min-height:30px}
.wmd-shell-footer{border-top:1px solid #293c59;padding:18px 12px 0;
  color:#91a4c0;font-size:12px;line-height:1.65}
.wmd-shell-footer strong{display:block;color:#e3edff;margin-bottom:4px;font-size:12px}
.wmd-mobile-menu{display:none!important}
.wmd-shared-sidebar a:focus-visible,.wmd-mobile-menu>summary:focus-visible{
  outline:2px solid #b2c7ff;outline-offset:3px}
/* Hide Quality's older second/mobile menu once the shared shell is present. */
.app-layout .mobile-nav{display:none!important}
/* Force the native mobile menu to match Suggestions on every admin page.
   Earlier admin.css media rules and legacy shell wrappers are overridden here. */
@media(max-width:780px){
  html,body{max-width:100%;overflow-x:hidden}
  .app-layout{display:block!important;grid-template-columns:none!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    min-height:100vh!important;margin:0!important}
  .app-layout>.wmd-shared-sidebar.sidebar{display:block!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    height:auto!important;min-height:0!important;box-sizing:border-box!important;
    position:sticky!important;top:0!important;left:auto!important;right:auto!important;
    padding:11px 15px!important;margin:0!important;z-index:80!important;
    overflow:visible!important;transform:none!important;
    box-shadow:0 2px 12px rgba(12,24,49,.13)!important}
  .app-layout>.wmd-shared-sidebar .wmd-sidebar-head{display:flex!important;
    flex-direction:row!important;align-items:center!important;justify-content:space-between!important;
    flex-wrap:nowrap!important;gap:8px!important;min-height:40px!important;
    width:100%!important;max-width:100%!important;min-width:0!important}
  .app-layout>.wmd-shared-sidebar .wmd-shell-brand{display:inline-flex!important;
    flex:0 1 auto!important;min-width:0!important;width:auto!important;
    margin:0!important;padding:0!important;font-size:16px!important;
    gap:9px!important;line-height:1.1!important}
  .wmd-shell-brandmark{width:34px;height:34px;flex-basis:34px}
  .wmd-shell-brandname{white-space:nowrap}
  .wmd-shell-brandname small{font-size:9px;letter-spacing:1.1px;margin-top:3px}
  .app-layout>.wmd-shared-sidebar nav.wmd-desktop-nav{display:none!important}
  .app-layout>.wmd-shared-sidebar .wmd-shell-spacer,
  .app-layout>.wmd-shared-sidebar .wmd-shell-footer{display:none!important}
  .app-layout>.wmd-shared-sidebar details.wmd-mobile-menu{display:block!important;
    position:static!important;flex:0 0 auto!important;
    width:auto!important;min-width:0!important;max-width:125px!important;
    margin:0!important;padding:0!important;border:0!important;background:transparent!important}
  .app-layout>.wmd-shared-sidebar .wmd-mobile-menu>summary{display:flex!important;
    align-items:center!important;justify-content:center!important;flex-direction:row!important;
    gap:7px!important;width:auto!important;min-width:92px!important;min-height:40px!important;
    padding:8px 11px!important;margin:0!important;border:1px solid #52698e!important;
    border-radius:10px!important;background:#233659!important;color:#fff!important;
    font-family:inherit!important;font-size:13px!important;font-weight:700!important;
    line-height:1.2!important;cursor:pointer!important;user-select:none;
    list-style:none!important;box-shadow:none!important}
  .wmd-mobile-menu>summary::-webkit-details-marker{display:none}
  .wmd-mobile-menu>summary::marker{content:""}
  .wmd-mobile-menu>summary::before,.wmd-mobile-menu>summary::after{content:none!important;display:none!important}
  .wmd-mobile-menu>summary svg{width:18px;height:18px;display:block;
    flex:0 0 auto;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round}
  .wmd-mobile-menu .wmd-menu-chevron{width:12px;height:12px;
    transition:transform .15s ease}
  .wmd-mobile-menu[open] .wmd-menu-chevron{transform:rotate(180deg)}
  .app-layout>.wmd-shared-sidebar .wmd-mobile-links{position:absolute!important;
    top:100%!important;left:0!important;right:0!important;z-index:85!important;
    margin:0!important;padding:11px 14px 15px!important;
    background:#111d37!important;border-top:1px solid #2a3e60!important;
    box-shadow:0 13px 22px rgba(11,24,53,.25)!important}
  .app-layout>.wmd-shared-sidebar .wmd-mobile-links nav{display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;gap:5px!important;
    width:100%!important;margin:0!important;padding:0!important;
    overflow:visible!important}
  .app-layout>.wmd-shared-sidebar .wmd-mobile-links a.wmd-shell-link{display:flex!important;
    width:100%!important;min-height:45px!important;padding:12px 15px!important;
    font-size:14px!important;box-sizing:border-box!important}
  .app-layout>.workspace{display:block!important;float:none!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;padding:0!important}
  .app-layout .topbar{padding:14px 18px}
  .app-layout .topbar-title{overflow-wrap:anywhere}
  .app-layout .content{max-width:100%;min-width:0}
}
@media(max-width:390px){
  .app-layout>.wmd-shared-sidebar.sidebar{padding:10px!important}
  .app-layout>.wmd-shared-sidebar .wmd-shell-brand{font-size:15px!important}
  .wmd-mobile-menu>summary{min-width:80px!important;padding:8px!important;gap:4px!important}
}
@media(prefers-reduced-motion:reduce){
  .wmd-shared-sidebar *{transition:none!important}
}
