/* トップナビ各項目のアイコン（mask方式でテキスト色 currentColor に追従＝アクティブ時はブランド色） */
.nav a { display: inline-flex; align-items: center; gap: 6px; padding-left: 9px; padding-right: 9px; }
/* 表示順: ダッシュボード → チケット → 要対応 → 月次締め（DOM順は固定、視覚順のみ order で制御） */
.nav a:nth-of-type(1) { order: 4; } /* 月次締め */
.nav a:nth-of-type(2) { order: 1; } /* ダッシュボード */
.nav a:nth-of-type(3) { order: 2; } /* チケット */
.nav a:nth-of-type(4) { order: 3; } /* 要対応 — 月締めに内包したためナビ非表示 */
.nav a:nth-of-type(4) { display: none; }
.nav .divider { order: 5; }
.nav a:nth-of-type(5) { order: 6; }
.nav a:nth-of-type(6) { order: 7; }
.nav a:nth-of-type(7) { order: 8; }
.nav a:nth-of-type(8) { order: 9; }
.nav a:nth-of-type(9) { order: 10; } /* 監査 */
.topbar .right { white-space: nowrap; flex: none; }
.nav a::before {
  content: "";
  width: 15px; height: 15px; flex: none;
  background-color: currentColor;
  -webkit-mask: var(--ic) no-repeat center / 15px 15px;
  mask: var(--ic) no-repeat center / 15px 15px;
  opacity: .92;
}
/* 1月次締め 2ダッシュボード 3チケット 4要対応 5マスタ管理 6レポート 7移行管理 */
.nav a:nth-of-type(1)::before { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2016%2016%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.4%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20x%3D%272.3%27%20y%3D%273.1%27%20width%3D%2711.4%27%20height%3D%2710.4%27%20rx%3D%271.6%27%2F%3E%3Cpath%20d%3D%27M2.3%206.1h11.4M5.5%201.9v2.3M10.5%201.9v2.3%27%2F%3E%3C%2Fsvg%3E"); }
.nav a:nth-of-type(2)::before { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2016%2016%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.4%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20x%3D%272.4%27%20y%3D%272.4%27%20width%3D%274.5%27%20height%3D%274.5%27%20rx%3D%271%27%2F%3E%3Crect%20x%3D%279.1%27%20y%3D%272.4%27%20width%3D%274.5%27%20height%3D%274.5%27%20rx%3D%271%27%2F%3E%3Crect%20x%3D%272.4%27%20y%3D%279.1%27%20width%3D%274.5%27%20height%3D%274.5%27%20rx%3D%271%27%2F%3E%3Crect%20x%3D%279.1%27%20y%3D%279.1%27%20width%3D%274.5%27%20height%3D%274.5%27%20rx%3D%271%27%2F%3E%3C%2Fsvg%3E"); }
.nav a:nth-of-type(3)::before { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2016%2016%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.4%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M7.6%202.6h5a.7.7%200%200%201%20.7.7v4.4L8%2013.4%202.6%208%207.6%202.6Z%27%2F%3E%3Ccircle%20cx%3D%2710.4%27%20cy%3D%275.6%27%20r%3D%271%27%2F%3E%3C%2Fsvg%3E"); }
.nav a:nth-of-type(4)::before { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2016%2016%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.4%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M8%202.6%2014.4%2013.4H1.6Z%27%2F%3E%3Cpath%20d%3D%27M8%206.6v3%27%2F%3E%3Cpath%20d%3D%27M8%2011.4h.01%27%2F%3E%3C%2Fsvg%3E"); }
.nav a:nth-of-type(5)::before { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2016%2016%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.4%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M3%205h4.2M11.2%205h1.8M3%2011h1.8M8.8%2011H13%27%2F%3E%3Ccircle%20cx%3D%279%27%20cy%3D%275%27%20r%3D%271.6%27%2F%3E%3Ccircle%20cx%3D%277%27%20cy%3D%2711%27%20r%3D%271.6%27%2F%3E%3C%2Fsvg%3E"); }
.nav a:nth-of-type(6)::before { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2016%2016%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.4%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M2.6%2013.4h10.8%27%2F%3E%3Cpath%20d%3D%27M4.4%2012V8.4M8%2012V5.2M11.6%2012V9.6%27%2F%3E%3C%2Fsvg%3E"); }
.nav a:nth-of-type(7)::before { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2016%2016%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.4%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M2.8%205.6h8.2M8.4%203%2011%205.6%208.4%208.2%27%2F%3E%3Cpath%20d%3D%27M13.2%2010.4H5M7.6%207.8%205%2010.4l2.6%202.6%27%2F%3E%3C%2Fsvg%3E"); }
.nav a:nth-of-type(8)::before { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2016%2016%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.4%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M2.8%209.6v2.4a1%201%200%200%200%201%201h8.4a1%201%200%200%200%201-1V9.6%27%2F%3E%3Cpath%20d%3D%27M8%202.6v6.4M5.4%206.4%208%209%2010.6%206.4%27%2F%3E%3C%2Fsvg%3E"); }
/* 9監査 — 盾＋チェック */
.nav a:nth-of-type(9)::before { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2016%2016%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.4%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M8%201.9%2013%203.6v4.1c0%203-2.1%204.9-5%206.4-2.9-1.5-5-3.4-5-6.4V3.6Z%27%2F%3E%3Cpath%20d%3D%27M5.7%207.9%207.4%209.6l3.1-3.4%27%2F%3E%3C%2Fsvg%3E"); }
