/* ヘッダーメニュー：全部の画面の上の帯に足す「行き先のメニュー」と「通知・連絡」の見た目（2026-11-05）
 * 入れ方：サーバの App_Data/Parameters/ExtendedStyles/ に置いて Pleasanter を再起動（ヘッダーメニュー.js と対）。
 * 文字の色は元の帯に合わせる（color:inherit）。開いた一覧だけ白地・濃い文字。
 * 元の帯（#Header）を横並び（flex）にして、ロゴ・行き先・（余白）・通知・元のメニューの順に並べる。 */
#Header.wiz-hd-on { display: flex; align-items: center; flex-wrap: nowrap; overflow: visible; }
#Header.wiz-hd-on > #Logo, #Header.wiz-hd-on > #Navigations { float: none; flex: 0 0 auto; }
#Header .wiz-hd-nav { display: flex; align-items: center; flex: 0 0 auto; margin-left: 6px; font-size: 13px; line-height: 1.4; }
#Header .wiz-hd-mi { position: relative; }
#Header .wiz-hd-mi > a, #Header .wiz-hd-mi > button {
  display: block; padding: 10px 6px; margin: 0; border: 0; background: none; font: inherit; font-size: 13px;
  color: inherit; text-decoration: none; cursor: pointer; white-space: nowrap;
}
#Header .wiz-hd-mi > a:hover, #Header .wiz-hd-mi > button:hover, #Header .wiz-hd-mi.open > button { background: rgba(128, 128, 128, .25); }
#Header .wiz-hd-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; }
#Header .wiz-hd-dd {
  display: none; position: absolute; top: 100%; left: 0; z-index: 10000; min-width: 220px; padding: 4px 0;
  background: #fff; border: 1px solid #ccc; box-shadow: 0 4px 10px rgba(0, 0, 0, .18);
}
#Header .wiz-hd-mi.open > .wiz-hd-dd { display: block; }
#Header .wiz-hd-dd a { display: block; padding: 6px 14px; color: #333; text-decoration: none; white-space: nowrap; font-size: 13px; }
#Header .wiz-hd-dd a:hover { background: #eaf2fb; }
/* 通知・連絡（右側。元のメニューの手前） */
#Header .wiz-hd-notify { position: relative; display: flex; align-items: center; flex: 0 0 auto; margin-left: auto; margin-right: 8px; padding-top: 8px; font-size: 13px; }
#Header .wiz-hd-stamp { position: absolute; top: 0; right: 0; font-size: 10px; line-height: 1.2; opacity: .75; white-space: nowrap; }
#Header .wiz-hd-items { display: flex; align-items: center; }
#Header .wiz-hd-refresh { border: 0; background: none; color: inherit; font-size: 13px; padding: 4px; margin-right: 2px; cursor: pointer; opacity: .7; }
#Header .wiz-hd-refresh:hover { opacity: 1; background: rgba(128, 128, 128, .25); }
#Header .wiz-hd-nt { color: inherit; text-decoration: none; padding: 6px 4px; border-radius: 4px; white-space: nowrap; }
#Header .wiz-hd-nt:hover { background: rgba(128, 128, 128, .25); }
#Header .wiz-hd-bd { display: inline-block; min-width: 20px; padding: 1px 5px; margin-left: 4px; border-radius: 10px; background: #6b7785; color: #fff; font-size: 12px; text-align: center; }
#Header .wiz-hd-bd.red { background: #d9534f; }
#Header .wiz-hd-nt.err .wiz-hd-bd { background: #a0a0a0; }
#Header .wiz-hd-add { background: #2b6cb0; color: #fff; border-radius: 4px; padding: 5px 8px; margin-left: 4px; text-decoration: none; white-space: nowrap; }
#Header .wiz-hd-add:hover { background: #245a93; }
/* 右の「自分の名前・検索」は通知のすぐ右に詰める（元の float・左の余白を消す） */
/* 元の CSS が margin-left:auto を強く指定しているので !important で上書き（11/5 本番で確認） */
#Header.wiz-hd-on > .wiz-hd-acct { float: none; flex: 0 0 auto; margin-left: 0 !important; }
/* ノートPCの幅（1366 前後）：行き先の左右の余白を詰めて1行に収める（11/5 本番の帯で 1366 だと約 30px 足りなかった） */
@media (max-width: 1500px) {
  #Header .wiz-hd-mi > a, #Header .wiz-hd-mi > button { padding-left: 3px; padding-right: 3px; }
  #Header .wiz-hd-nav { margin-left: 2px; }
}
