/* 會員頁共用導覽：主導覽 7×2，工具列桌機 6 欄 × 2 列 */
        .system-header .top-nav{
          display:grid!important;
          grid-template-columns:repeat(7,minmax(0,1fr))!important;
          grid-auto-flow:row!important;
          width:100%!important;
          max-width:1280px!important;
          margin:20px auto 0!important;
          padding:8px!important;
          gap:8px!important;
          align-items:stretch!important;
          justify-items:stretch!important;
          border-radius:24px!important;
          box-sizing:border-box!important;
          overflow:visible!important;
        }
        .system-header .top-nav>a{
          display:flex!important;
          align-items:center!important;
          justify-content:center!important;
          width:100%!important;
          min-width:0!important;
          min-height:54px!important;
          margin:0!important;
          padding:8px 7px!important;
          box-sizing:border-box!important;
          text-align:center!important;
          white-space:normal!important;
          word-break:keep-all!important;
          overflow-wrap:normal!important;
          line-height:1.35!important;
          border-radius:18px!important;
          flex:none!important;
        }
        :is(.system-header,.ts-shared-nav-shell) .tool-subnav{
          width:100%!important;
          max-width:1280px!important;
          margin:10px auto 0!important;
          padding:7px!important;
          display:grid!important;
          grid-template-columns:repeat(6,minmax(0,1fr))!important;
          gap:8px!important;
          border:1px solid rgba(115,132,176,.22)!important;
          border-radius:18px!important;
          background:rgba(8,12,24,.78)!important;
          box-shadow:0 18px 46px rgba(0,0,0,.26)!important;
          box-sizing:border-box!important;
          overflow:visible!important;
        }
        :is(.system-header,.ts-shared-nav-shell) .tool-subnav>a{
          min-width:0!important;
          min-height:48px!important;
          padding:9px 10px!important;
          display:flex!important;
          align-items:center!important;
          justify-content:center!important;
          border:1px solid transparent!important;
          border-radius:12px!important;
          color:#aab4c7!important;
          background:transparent!important;
          text-decoration:none!important;
          font-weight:900!important;
          line-height:1.35!important;
          text-align:center!important;
          white-space:normal!important;
          word-break:keep-all!important;
        }
        :is(.system-header,.ts-shared-nav-shell) .tool-subnav>a[aria-current="page"]{
          color:#17120a!important;
          border-color:rgba(224,184,86,.52)!important;
          background:linear-gradient(145deg,#f2d477,#d4a035)!important;
          box-shadow:0 8px 22px rgba(217,168,58,.2)!important;
        }
        /* 右上會員資訊固定橫排，避免姓名與會員方案被擠成直排 */
        .system-header .member-session-bar{
          width:max-content!important;
          max-width:calc(100% - 24px)!important;
          display:flex!important;
          flex-direction:row!important;
          align-items:center!important;
          justify-content:flex-end!important;
          gap:8px!important;
          flex-wrap:nowrap!important;
        }
        .system-header .member-chip{
          min-width:max-content!important;
          width:max-content!important;
          display:grid!important;
          text-align:right!important;
        }
        .system-header .member-chip b,
        .system-header .member-chip small,
        .system-header .member-admin-link,
        .system-header .member-logout-btn{
          white-space:nowrap!important;
          word-break:keep-all!important;
        }

        @media(max-width:1100px){
          .system-header .top-nav{grid-template-columns:repeat(4,minmax(0,1fr))!important}
          :is(.system-header,.ts-shared-nav-shell) .tool-subnav{grid-template-columns:repeat(3,minmax(0,1fr))!important}
          :is(.system-header,.ts-shared-nav-shell) .tool-subnav>a:nth-child(n){grid-column:auto!important}
        }
        @media(max-width:700px){
          .system-header .top-nav{grid-template-columns:repeat(2,minmax(0,1fr))!important}
          .system-header .top-nav>a{min-height:48px!important;padding:8px 5px!important}
          :is(.system-header,.ts-shared-nav-shell) .tool-subnav{grid-template-columns:repeat(2,minmax(0,1fr))!important}
          .system-header .member-session-bar{
            position:static!important;
            margin:12px auto 0!important;
            max-width:100%!important;
            justify-content:center!important;
            flex-wrap:wrap!important;
          }
          .system-header .member-chip{text-align:center!important}
        }
      
.ts-shared-nav-shell{width:min(1280px,calc(100% - 32px));margin:16px auto 0;box-sizing:border-box}
@media print{.ts-shared-nav-shell{display:none!important}}
