/* =========================================================
   マニュアルの中に出す「画面の見本」
   ご指示 2026-10-15「実際の画面とか入れてほしい」

   ⚠ これは写真ではない。本物の画面と同じHTML・同じ色で描き直した見本。
     写し元は pages/shucchou.html の <style>（.te-* / .sh-* / .ta-*）と
     styles.css の .sh-table ほか。色・大きさ・並びは変えていない。
   ⚠ 本物の見た目を直したら、ここも直すこと。ここを直しても本番は変わらない。
   ⚠ すべて .mjui の中だけに効くように書いてある。マニュアル自身の
     見た目（manual-jimu.css の .mj-*）とぶつからないようにするため。
   ⚠ 中身の大きさは、各見本の .mjui に zoom と width を直接書いて合わせる
     （本物は1400px以上の幅があるので、そのままではスライドに入らない）。
   ========================================================= */

/* ---- 画面の枠（写真のときと同じ台紙を使う）---- */
.mj-shot__ui {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 10px 12px;
}

/* ---- 中身の土台。ポータルの地の文と同じ字・同じ色にそろえる ---- */
.mjui {
  /* 写し元：styles.css の :root */
  --green-900: #0f4c35;
  --green-800: #185c42;
  --green-100: #edf4e8;
  --green-50: #f3f8f0;
  --gold-700: #b77900;
  --gold-100: #fff4d9;
  --ivory-100: #fbf5e9;
  --muted: #56625b;
  --line: rgba(31, 91, 65, 0.12);
  --ink: #24241f;
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic",
    Meiryo, "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13.5px;
  line-height: 1.5;
  /* ⚠ マニュアル側の文節折り（auto-phrase）を持ち込まない。表のマスがずれる */
  word-break: normal;
  text-align: left;
}
.mjui * { box-sizing: border-box; }
.mjui p { margin: 6px 0; }
.mjui h2, .mjui h3 { margin: 0 0 6px; color: var(--green-900); }
.mjui .admin-h2 { font-size: 17px; }
.mjui .admin-h3 { font-size: 14px; }
.mjui .admin-note { font-size: 12.5px; color: var(--muted); }
.mjui .tra-num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }

/* ---- ボタン・帯（写し元：styles.css の .admin-btn / .admin-emp-tools）---- */
.mjui .admin-btn {
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  color: var(--green-900); font: inherit; padding: 7px 14px; cursor: pointer;
}
.mjui .admin-btn--sm { padding: 5px 11px; font-size: 12.5px; }
.mjui .admin-btn--primary { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.mjui .admin-emp-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.mjui .admin-emp-count { font-size: 12.5px; color: var(--muted); }
.mjui .sh-range { font-size: 16px; color: var(--green-900); min-width: 8em; text-align: center; font-weight: 700; }
.mjui .admin-pill {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
}
.mjui .admin-pill--ok { color: var(--green-800); background: var(--green-100); }
.mjui .admin-pill--ng { color: var(--gold-700); background: var(--gold-100); }
.mjui .admin-help {
  border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 6px 10px; margin: 6px 0;
}
.mjui .admin-help > summary { cursor: pointer; font-size: 13px; color: var(--green-900); font-weight: 700; }

/* ---- 期間の帯（写し元：styles.css の .nm-period）---- */
.mjui .nm-period {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: var(--green-50); border: 1px solid var(--line);
  border-radius: 12px; padding: 8px 12px; margin: 8px 0;
}
.mjui .nm-period__lbl { font-size: 12.5px; color: var(--muted); }
.mjui .nm-period__btn {
  border: 1px solid var(--line); background: #fff; color: var(--green-900);
  border-radius: 8px; width: 30px; height: 30px; font: inherit; cursor: pointer;
}
.mjui .nm-period__sel {
  font: inherit; font-size: 17px; font-weight: 700; color: var(--green-900);
  border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 6px 12px;
}
.mjui .nm-period__sub { font: inherit; font-size: 13px; border: 1px solid var(--line); border-radius: 8px; padding: 5px 9px; }
.mjui .sh-zoom { display: inline-flex; align-items: center; gap: 4px; }
.mjui .sh-zoom__lbl { font-size: 12px; color: var(--muted); }
.mjui .sh-zoom__now {
  border: 1px solid var(--line); background: #fff; color: var(--green-900);
  border-radius: 8px; padding: 4px 8px; font: inherit; font-size: 12px; cursor: pointer;
}
.mjui .saiji-check { font-size: 12.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }

/* ---- 表の土台（写し元：styles.css の .sh-table）---- */
.mjui .sh-table {
  width: 100%; border-collapse: collapse; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; font-size: 13.5px;
}
.mjui .sh-table th, .mjui .sh-table td {
  border-bottom: 1px solid var(--line); padding: 8px 10px;
  text-align: left; vertical-align: top; white-space: nowrap;
}
.mjui .sh-table td { white-space: normal; }
.mjui .sh-table td:first-child { white-space: nowrap; }
.mjui .sh-table thead th { background: var(--green-50); color: var(--green-900); font-size: 12.5px; }
.mjui .sh-sub { color: var(--muted); font-size: 12px; }
.mjui .sh-wd { display: block; font-size: 10.5px; font-weight: 400; color: var(--muted); }
.mjui .sh-table thead th.sh-day--sat { color: #1f5aa8; }
.mjui .sh-table thead th.sh-day--sun { color: #b3271e; }
.mjui .sh-table thead th.sh-day--sat .sh-wd { color: #1f5aa8; }
.mjui .sh-table thead th.sh-day--sun .sh-wd { color: #b3271e; }
.mjui .sh-periodhead { line-height: 1.2; }
.mjui .sh-periodhead b { display: block; font-size: 14px; color: var(--green-900); }
.mjui .sh-periodhead span { display: block; font-size: 11px; font-weight: 400; color: var(--muted); }
.mjui .sh-periodhead__who { margin-top: 2px; }
.mjui .sh-tablewrap { overflow: hidden; }

/* ---- シフト表のマス（写し元：shucchou.html の .sh-cell / .sh-c-*）---- */
.mjui .sh-table--month th, .mjui .sh-table--month td { padding: 4px 2px; }
.mjui .sh-cell { cursor: pointer; min-width: 30px; text-align: center; user-select: none; font-size: 11.5px; }
.mjui .sh-cell__t { display: block; font-size: 12px; }
.mjui .sh-cell--work { background: #e4efec; color: #14523f; font-weight: 700; }
.mjui .sh-cell--off { background: #f2f2ec; color: #8a8a7d; }
.mjui .sh-cell--absent { background: #fbeceb; color: #b3352e; font-weight: 700; }
.mjui .sh-cell--field { background: #fdf4d3; color: #6b5310; font-weight: 700; }
.mjui .sh-cell--inside { background: #ece7f6; color: #4a3a7a; font-weight: 700; }
.mjui .sh-cell--accompany { background: #e6f0fb; color: #17427a; font-weight: 700; }
.mjui .sh-cell--sun { background: #fdf3f2; }
.mjui .sh-cell--sat { background: #f2f6fd; }
.mjui .sh-cell--odd { box-shadow: inset 0 -3px 0 #d97706; }
.mjui .sh-cell--sel { outline: 2px solid #8c6d1f; outline-offset: -2px; }
.mjui .sh-c-yellow { background: #fdf4d3; color: #6b5310; font-weight: 700; }
.mjui .sh-c-green  { background: #c6e5b8; color: #1d5a16; font-weight: 700; }
.mjui .sh-c-teal   { background: #bfe0e8; color: #0d4b57; font-weight: 700; }
.mjui .sh-c-blue   { background: #e6f0fb; color: #17427a; font-weight: 700; }
.mjui .sh-c-indigo { background: #cfd2f2; color: #2e3183; font-weight: 700; }
.mjui .sh-c-purple { background: #ece7f6; color: #4a3a7a; font-weight: 700; }
.mjui .sh-c-pink   { background: #f2a9c4; color: #6e1c3c; font-weight: 700; }
.mjui .sh-c-khaki  { background: #e2ddc2; color: #57501c; font-weight: 700; }
.mjui .sh-c-orange { background: #f6c445; color: #6b4e05; font-weight: 700; }
.mjui .sh-c-red    { background: #fbeceb; color: #b3352e; font-weight: 700; }
.mjui .sh-c-gray   { background: #eceae3; color: #55554a; font-weight: 700; }
/* 打ち込み中のマス（写し元：.sh-edit） */
.mjui .sh-edit {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 11.5px;
  text-align: center; border: 2px solid #8c6d1f; border-radius: 3px; padding: 1px 2px; background: #fff;
}
/* 引っ張って埋めるつまみ（写し元：.sh-fill） */
.mjui .sh-cell--rel { position: relative; }
.mjui .sh-fill {
  position: absolute; right: -3px; bottom: -3px; width: 7px; height: 7px;
  background: #8c6d1f; border: 1px solid #fff; cursor: crosshair;
}

/* ---- 入れる内容のチップ（写し元：shucchou.html の .sh-pill）---- */
.mjui .sh-pillrow { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 10px 0 6px; }
.mjui .tra-shifttools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 6px 0; }
.mjui .tra-shifttools__label, .mjui .tra-shifttools__pref { font-size: 12.5px; color: var(--muted); flex: none; }
.mjui .tra-seg { display: flex; gap: 6px; flex-wrap: wrap; flex: 1 1 auto; }
.mjui .sh-pill {
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 13px;
  font-size: 12.5px; cursor: pointer; background: #fff; color: var(--ink);
  white-space: nowrap; flex: none;
}
.mjui .sh-pill.on { outline: 2px solid #8c6d1f; outline-offset: 1px; font-weight: 700; }
.mjui .sh-pill--absent { background: #fbeceb; color: #b3352e; }
.mjui .sh-pill--yellow { background: #fdf4d3; color: #6b5310; }
.mjui .sh-pill--green  { background: #c6e5b8; color: #1d5a16; }
.mjui .sh-pill--teal   { background: #bfe0e8; color: #0d4b57; }
.mjui .sh-pill--blue   { background: #e6f0fb; color: #17427a; }
.mjui .sh-pill--indigo { background: #cfd2f2; color: #2e3183; }
.mjui .sh-pill--purple { background: #ece7f6; color: #4a3a7a; }
.mjui .sh-pill--pink   { background: #f2a9c4; color: #6e1c3c; }
.mjui .sh-pill--khaki  { background: #e2ddc2; color: #57501c; }
.mjui .sh-pill--orange { background: #f6c445; color: #6b4e05; }
.mjui .sh-pill--gray   { background: #eceae3; color: #55554a; }
.mjui .tra-combo { display: inline-flex; align-items: center; }
.mjui .tra-combo input {
  font: inherit; font-size: 13px; border: 1px solid var(--line);
  border-radius: 8px 0 0 8px; padding: 5px 9px; width: 190px;
}
.mjui .tra-combo__open {
  border: 1px solid var(--line); border-left: 0; border-radius: 0 8px 8px 0;
  background: #fff; color: var(--green-900); padding: 5px 9px; font: inherit; cursor: pointer;
}
.mjui .tra-bulk {
  border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 6px 10px; margin: 8px 0;
}
.mjui .tra-bulk > summary { cursor: pointer; font-size: 13px; color: var(--green-900); font-weight: 700; }
.mjui .admin-field { display: inline-flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--muted); }
.mjui .admin-field select, .mjui .admin-field input {
  font: inherit; font-size: 13px; border: 1px solid var(--line); border-radius: 8px; padding: 5px 9px;
}
.mjui .sh-dirty {
  display: block; width: 100%; text-align: center; border: 1px solid #d9a93a;
  background: #fff7e2; color: #7a4b06; border-radius: 10px; padding: 7px 10px;
  font: inherit; font-size: 13px; cursor: pointer; margin: 8px 0;
}
.mjui .sh-warn { color: #9a4b06; font-size: 12px; }

/* ---- 集計5列（写し元：shucchou.html の .sh-sumhead / .sh-sum）---- */
.mjui .sh-table thead th.sh-sumhead { background: #a9cbbd; color: #0e3a2c; }
.mjui .sh-sumhead {
  font-weight: 700; writing-mode: vertical-rl; text-orientation: upright;
  white-space: nowrap; letter-spacing: 1px; font-size: 12px; padding: 4px 0;
}
.mjui .sh-sumhead, .mjui .sh-sum { width: 31px; }
.mjui .sh-sum { background: #e8f1ea; font-weight: 700; text-align: center; padding-left: 2px; padding-right: 2px; }
.mjui .sh-table thead th.sh-sumhead[data-sumkey="field"],
.mjui .sh-table td[data-sum$="|field"] { border-left: 2px solid #5f8f7c; }
.mjui .sh-sum--few { background: #cc0000; color: #fff; }

/* ---- 提出状況のまとめ1行（写し元：styles.css の .sp-sum）---- */
.mjui .sp-sum {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--green-50); border: 1px solid var(--line);
  border-radius: 10px; padding: 7px 12px; font-size: 13px; margin: 6px 0;
}
.mjui .sp-sum__n { font-size: 12.5px; color: var(--muted); }
.mjui .sp-sum__n b { font-size: 15px; color: var(--green-900); }
.mjui .sp-sum__n--miss b { color: #b3352e; }
.mjui .sp-row--miss td { background: #fdf3f2; }
.mjui .sp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---- 出張手配のカード（写し元：shucchou.html の .te-*）---- */
.mjui .te-views { display: flex; gap: 6px; margin: 10px 0 8px; flex-wrap: wrap; }
.mjui .te-view {
  border: 1px solid #cbd5e1; background: #fff; color: #334155;
  border-radius: 999px; padding: 5px 14px; font: inherit; font-size: 12.5px; cursor: pointer;
}
.mjui .te-view.is-active { background: #14523f; border-color: #14523f; color: #fff; }
.mjui .te-find { display: flex; align-items: center; gap: 8px; margin: 6px 0; }
.mjui .te-find__n { font-size: 12px; color: var(--muted); }
.mjui .te-cards { display: grid; gap: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mjui .te-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mjui .te-cards--1 { grid-template-columns: minmax(0, 300px); }
.mjui .te-card { border: 1px solid #cbd5e1; border-radius: 8px; overflow: hidden; background: #fff; }
.mjui .te-card__name {
  padding: 5px 8px; font-size: 12.5px; font-weight: 700;
  display: flex; align-items: center; gap: 6px;
}
.mjui .te-card__st { margin-left: auto; font-size: 11px; font-weight: 400; }
.mjui .te-card--none .te-card__name { background: #d3d1c7; color: #2c2c2a; }
.mjui .te-card--draft .te-card__name { background: #fac775; color: #412402; }
.mjui .te-card--done .te-card__name { background: #c0dd97; color: #173404; }
.mjui .te-card__t { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 11.5px; }
.mjui .te-card__t th {
  width: 38%; text-align: left; font-weight: 400; padding: 3px 6px;
  color: #475569; background: #f8fafc; border: 1px solid #e2e8f0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mjui .te-card__t td { padding: 3px 6px; border: 1px solid #e2e8f0; word-break: break-all; }
.mjui .te-v--empty { background: #efefef; }
/* 本物は「カーソルを乗せたとき」の色。見本では乗せられないので、その色で描いておく */
.mjui .te-v--hover { background: #eaf6e4; }
.mjui .te-card__t .te-ok { color: #b45309; background: #fff7ed; }
.mjui .te-okbox { width: 15px; height: 15px; }
.mjui .te-in {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 11.5px;
  padding: 2px 4px; border: 1px solid #8c6d1f; border-radius: 4px;
}
.mjui .te-suf { font-size: 10.5px; color: var(--muted); padding: 0 2px; }
.mjui .te-pill { display: inline-block; font-size: 11.5px; padding: 2px 9px; border-radius: 999px; margin-right: 6px; }
.mjui .te-pill--none { background: #d3d1c7; color: #2c2c2a; }
.mjui .te-pill--draft { background: #fac775; color: #412402; }
.mjui .te-pill--done { background: #c0dd97; color: #173404; }
.mjui .te-2col { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; }
.mjui .te-2col__left, .mjui .te-2col__right { min-width: 0; }

/* ---- テリトリー表（写し元：shucchou.html の .ta-*）---- */
.mjui .ta-table { font-size: 12px; }
.mjui .ta-table th {
  background: #f1f5f9; color: #475569; font-weight: 700; padding: 5px 6px; white-space: nowrap;
}
.mjui .ta-table td { padding: 4px 6px; border: 1px solid #cbd5e1; }
.mjui .ta-v--empty { background: #fcfcfc; }
.mjui .ta-cl { font-weight: 700; text-align: center; }
.mjui .ta-cl--none { background: #d3d1c7; color: #2c2c2a; }
.mjui .ta-cl--draft { background: #fac775; color: #412402; }
.mjui .ta-cl--done { background: #c0dd97; color: #173404; }
.mjui .ta-c { text-align: center; }
.mjui .ta-check { width: 14px; height: 14px; }

/* ---- テリトリー表の操作（2026-11-18 作り替え。写し元：shucchou.html の .ta-rh / .ta-fill / #taFillPop / .ta-full ほか）---- */
.mjui .ta-table--fit { table-layout: fixed; width: 100%; }
.mjui .ta-table--fit td { padding: 0 4px; height: 21px; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; position: relative; }
.mjui .ta-table .ta-rh { width: 26px; padding: 0 2px; text-align: center; font-size: 11px; color: #5f6368; background: #f8f9fa; }
.mjui .ta-table .ta-rh.is-sel { background: #d3e3fd; color: #0b57d0; font-weight: 700; }
.mjui .ta-anchor { box-shadow: inset 0 0 0 2px #8c6d1f; outline: 2px solid #8c6d1f; outline-offset: -2px; }
.mjui .ta-moveto { outline: 2px dashed #14523f; outline-offset: -2px; background: #e6f4ee !important; }
.mjui tr.ta-drop-after > td { box-shadow: inset 0 -3px 0 #14523f; }
.mjui .ta-cl--painted.ta-cl--done { box-shadow: inset 6px 0 0 #6aa84f; }
.mjui .ta-full { position: absolute; z-index: 5; max-width: 420px; padding: 6px 10px; background: #fffdf5; color: #2c2a24;
  border: 2px solid #8c6d1f; border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.18); font-size: 13px; line-height: 1.6; white-space: normal; }
.mjui .ta-in-wide { position: absolute; left: -1px; top: -1px; height: calc(100% + 2px); width: 340px; z-index: 6; background: #fff;
  font: inherit; font-size: 12px; padding: 2px 4px; border: 1px solid #8c6d1f; border-radius: 4px; }
.mjui .ta-tools { margin: 4px 0; padding: 4px 8px; border: 1px solid #d6e1db; border-radius: 10px; background: #f7faf8; display: flex; align-items: center; gap: 10px; }
.mjui .ta-tools button { min-height: 26px; border: 1px solid #aebfb4; border-radius: 6px; padding: 2px 10px; background: #fff; color: #25352f; font: inherit; font-size: 12px; }
.mjui .ta-fill-btn { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; color: #3c4043; }
.mjui .ta-fill-btn i { display: block; width: 22px; height: 4px; border: 1px solid rgba(0,0,0,.12); }
.mjui .mj-fillpop { width: 246px; padding: 8px 14px 12px; background: #fff; border-radius: 4px;
  box-shadow: 0 2px 6px 2px rgba(60,64,67,.15), 0 1px 2px rgba(60,64,67,.3); }
.mjui .mj-fillpop .r { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 6px; font-size: 13px; color: #3c4043; }
.mjui .mj-fillpop .g { display: grid; grid-template-columns: repeat(10, 18px); gap: 4px; margin: 6px 0 2px; }
.mjui .mj-fillpop .g span { position: relative; width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.08); }
.mjui .mj-fillpop .g span.on::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.mjui .mj-fillpop .h { margin: 10px 0 2px; font-size: 11px; color: #5f6368; }
.mjui .mj-fillpop hr { height: 1px; margin: 10px 0 0; background: #e8eaed; border: 0; }
.mjui .mj-mark { position: absolute; z-index: 7; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: #d23c5a; color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 2px 6px rgba(0,0,0,.25); }

/* ---- 左のメニュー（写し元：styles.css の .admin-panel--side > .admin-tabs ほか・2026-10-16）----
   ⚠ 本物は画面に貼り付く（position: fixed / sticky）。見本では置いた場所にそのまま描く。 */
.mjui .mj-side {
  width: 186px; padding: 8px 8px 10px; border: 1px solid var(--line); border-radius: 14px;
  background: #fff; box-shadow: 0 2px 10px -4px rgba(15, 76, 53, 0.18);
}
.mjui .mj-side .admin-side-fold {
  display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%;
  margin: 0 0 8px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--ivory-100); font: inherit; font-size: 12.5px; color: var(--muted);
}
.mjui .mj-side .admin-menu-grp {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  margin: 12px 0 3px; padding: 4px 8px; font-size: 11.5px; letter-spacing: .04em;
  color: var(--green-800); background: var(--green-100); border-radius: 6px;
}
.mjui .mj-side .admin-menu-grp:first-of-type { margin-top: 0; }
.mjui .mj-side .admin-menu-grp--pin { color: var(--gold-700); background: var(--gold-100); }
.mjui .mj-side .admin-menu-grp--jump { color: var(--muted); background: #f1efe9; }
.mjui .mj-side .admin-menu-grp__car { font-size: 10px; display: inline-block; }
.mjui .mj-side .admin-menu-grp.is-closed .admin-menu-grp__car { transform: rotate(-90deg); }
.mjui .mj-side .admin-tab {
  position: relative; display: block; width: 100%; text-align: left; padding: 7px 10px;
  border: 0; border-radius: 8px; background: none; font: inherit; font-size: 13.5px;
  font-weight: 700; line-height: 1.35; color: #1d2d26;
}
.mjui .mj-side .admin-tab.is-active { background: var(--green-900); color: #fff; }
/* 本物は「マウスを乗せたとき」の色。見本では乗せられないので、その色で描いておく */
.mjui .mj-side .admin-tab.is-hover { background: var(--green-50); color: var(--green-900); }
.mjui .mj-side .admin-pin {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  padding: 0 2px; font-size: 13px; color: #b3ab9b;
}
.mjui .mj-side .admin-pin.is-on { color: #d79a1b; }
.mjui .mj-side .admin-tab--jump { color: var(--muted); font-weight: 400; }
.mjui .mj-side .admin-tab--jump::after { content: " →"; font-size: 11px; opacity: .6; }
.mjui .mj-side .admin-pin-empty { margin: 2px 8px 6px; font-size: 11.5px; line-height: 1.5; color: var(--muted); }

/* ---- 行き先の項目の窓（写し元：shucchou.html の .sh-dlg / .sh-palette / .sh-tl・2026-10-16）---- */
.mjui .mj-dlg {
  width: 420px; background: #fff; border-radius: 12px; padding: 18px 20px;
  border: 1px solid #e2e8f0; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
}
.mjui .mj-dlg--wide { width: 560px; }
.mjui .sh-dlg__title { margin: 0 0 12px; font-size: 16px; color: var(--green-900); }
.mjui .sh-dlg__lbl { display: block; font-size: 12px; color: #475569; margin: 12px 0 4px; }
.mjui .sh-dlg__lbl:first-of-type { margin-top: 0; }
.mjui .mj-dlg input[type="text"], .mjui .mj-dlg select {
  width: 100%; box-sizing: border-box; padding: 7px 9px; font: inherit; font-size: 14px;
  border: 1px solid #cbd5e1; border-radius: 6px; background: #fff;
}
.mjui .sh-dlg__note { font-size: 11px; color: #64748B; margin: 4px 0 0; line-height: 1.6; }
.mjui .sh-dlg__btns { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }
.mjui .sh-palette { display: flex; flex-wrap: wrap; gap: 6px; }
.mjui .sh-sw { width: 52px; height: 30px; border-radius: 6px; border: 2px solid transparent; font-size: 10px; padding: 0; }
.mjui .sh-sw.on { border-color: #1E293B; box-shadow: 0 0 0 2px #fff inset; }
.mjui .sh-sw.used::after { content: "●"; display: block; font-size: 8px; line-height: 1; margin-top: -2px; }
.mjui .sh-mycolor { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.mjui .sh-mycolor__lbl { font-size: 12px; color: #475569; }
.mjui .sh-mycolor__box { width: 52px; height: 30px; border: 1px solid #cbd5e1; border-radius: 6px; }
.mjui .sh-tl { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.mjui .sh-tl__row {
  display: grid; grid-template-columns: 44px 1fr auto auto; align-items: center; gap: 8px;
  padding: 6px 8px; border: 1px solid #e2e8f0; border-radius: 8px;
}
.mjui .sh-tl__sw { width: 44px; height: 24px; border-radius: 6px; }
.mjui .sh-tl__name { font-weight: 700; font-size: 14px; line-height: 1.35; }
.mjui .sh-tl__how { display: block; font-size: 11px; font-weight: 400; color: #64748B; }
.mjui .sh-tl__lock { font-size: 11px; color: #94a3b8; padding: 0 4px; }
.mjui .admin-btn--danger { color: #b3261e; border-color: rgba(179, 38, 30, 0.35); }
/* チップの「＋ 項目を足す」「項目を直す・消す」（写し元：shucchou.html の .sh-pill--add / --edit） */
.mjui .sh-pill--add { border-style: dashed; border-color: #8ab884; color: var(--green-900); }
.mjui .sh-pill--edit { color: var(--muted); }

/* ---- 見本の中で「ここ」を示す印（マニュアル側の部品）---- */
/* ⚠ 本物の画面には無い。マニュアルで指さすためだけに足したもの。 */
.mj-ui-ring {
  position: absolute; border: 3px solid var(--mj-coral); border-radius: 10px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .8); pointer-events: none;
}
.mj-ui-note {
  position: absolute; background: var(--mj-coral); color: #fff;
  font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px;
  white-space: nowrap; pointer-events: none;
}

/* ---- 班設定（写し元：shucchou.html の #tab-teams .tset-* ・2026-11-18 班・所属の変え方マニュアル）---- */
.mjui .tset-toolbar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff8df; border: 1px solid #eadca9; border-radius: 8px; }
.mjui .tset-toolbar strong { margin-right: auto; }
.mjui .tset-msg { min-height: 1.2em; margin: 6px 0; font-size: 13px; font-weight: 600; color: #1d5c3c; }
.mjui .tset-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0 10px; }
.mjui .tset-chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; padding: 6px 12px; border: 1px solid #0002; border-radius: 8px; color: #27352e; background: var(--tc); font-size: 13px; }
.mjui .tset-chip small { font-weight: 400; }
.mjui .tset-add { padding: 6px 12px; border: 1px dashed #7b7364; background: #fff; border-radius: 8px; font-size: 13px; }
.mjui .tc0 { --tc: #f9dfd0; } .mjui .tc1 { --tc: #d9e6f6; } .mjui .tc2 { --tc: #e4ecd3; } .mjui .tc3 { --tc: #ece0f1; } .mjui .tcn { --tc: #e9e9e6; }
.mjui .tset-group { margin: 0 0 12px; border: 1px solid #c7cec7; border-radius: 6px; overflow: hidden; }
.mjui .tset-group__head { display: flex; align-items: center; gap: 10px; padding: 8px 14px; background: var(--tc); }
.mjui .tset-group__name { font-size: 14px; font-weight: 700; color: #27352e; }
.mjui .tset-group__n { font-size: 12px; color: #556; }
.mjui .tset-group__head .admin-btn { margin-left: auto; }
.mjui .tset-cols, .mjui .tset-row { display: grid; grid-template-columns: minmax(120px,1fr) minmax(130px,1fr) minmax(130px,1fr) minmax(110px,1fr); }
/* 既存・新人の列あり（2026-11-20） */
.mjui.tset5 .tset-cols, .mjui.tset5 .tset-row { grid-template-columns: minmax(110px,1fr) minmax(120px,1fr) minmax(120px,1fr) minmax(110px,1fr) minmax(110px,1fr); }
.mjui .tset-cols { background: #f0f1ef; font-size: 12px; font-weight: 700; }
.mjui .tset-cols > span, .mjui .tset-row > span { padding: 7px 14px; }
.mjui .tset-row { background: #fff; border-bottom: 1px solid #d9ded8; align-items: center; font-size: 13.5px; }
.mjui .tset-row.is-dirty { background: #fff6c5; }
.mjui .tset-row .sel { margin: 5px 12px; padding: 4px 8px; border: 1px solid #c8cfc8; border-radius: 6px; background: #fff; font-size: 13px; display: flex; justify-content: space-between; }
.mjui .tset-row .sel::after { content: "▾"; color: #889; }
.mjui .tset-row .sel.is-off { background: #f2f2ef; color: #8a8a80; }
.mjui .tset-row__name::before { content: "⋮⋮"; margin-right: 6px; color: #b5b5aa; letter-spacing: -2px; }
.mjui .tset-new { padding: 12px 16px; border: 1px dashed #ab9374; border-radius: 8px; background: #fffcf4; }
.mjui .tset-new__f { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.mjui .tset-new label, .mjui .mj-form label { display: grid; gap: 4px; font-size: 12.5px; color: #3a4a40; }
.mjui .mj-in { min-width: 150px; padding: 6px 9px; border: 1px solid #c8cfc8; border-radius: 6px; background: #fff; font-size: 13px; color: #222; }
.mjui .mj-in.is-hl { border: 2px solid #d23c5a; background: #fff6f8; }
.mjui .mj-list { min-width: 200px; border: 1px solid #c8cfc8; border-radius: 6px; background: #fff; font-size: 13px; }
.mjui .mj-list div { padding: 4px 9px; } .mjui .mj-list .on { background: #2b6cb0; color: #fff; }
.mjui .mj-dialog { width: 520px; padding: 16px 18px; border: 1px solid #d4d9d0; border-radius: 12px; background: #fffdf7; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.mjui .mj-dialog h3 { margin: 0 0 6px; font-size: 15px; }
.mjui .mj-pick { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-bottom: 1px solid #ece9df; font-size: 13px; }
.mjui .mj-pick small { color: #667; margin-left: auto; }
.mjui .mj-confirm { width: 420px; padding: 14px 16px; border-radius: 10px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.25); font-size: 13px; line-height: 1.7; }
.mjui .mj-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; padding: 14px; border: 1px solid #e3e3da; border-radius: 10px; background: #fff; }
.mjui .th-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.mjui .th-table th, .mjui .th-table td { padding: 5px 8px; border-bottom: 1px solid #e6e6df; text-align: left; }
.mjui .th-table th { background: #f4f6f4; color: #475569; }
.mjui .mj-mark { position: absolute; z-index: 7; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: #d23c5a; color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
