/* =========================================================
   出張進捗（携帯）の見た目
   ⚠ もとの「出張進捗アプリ」の index.html の写し。
     内勤用（shinchoku.html）と外勤用（shinchoku-cl.html）の両方から読む。
     ⚠ 2つのHTMLに書き写さないこと。片方だけ直して食い違う。
   ========================================================= */
/* =========================================================
   出張進捗（本人用・携帯）

   ⚠ この画面だけ styles.css を読まない。ポータルの共通CSSは
     パソコンの管理画面向けで、字も余白も大きい。

   ⚠ 下の「もとのアプリの指定」は index.html から そのまま写したもの。
     見た目を完全に同じにするため、直さないこと。
     直すと、使い慣れた人が別のアプリだと思ってしまう。
   ========================================================= */

/* ---- ボタンの既定の見た目を消す（もとのアプリより前に書く） ----
   もとのアプリは押せる所を <div onclick> で書いていたが、こちらは
   <button> で書いている（キーボードでも押せて、読み上げにも
   「ボタン」と伝わるため）。ブラウザが勝手に付ける枠・背景・字を消す。
   ⚠ 必ず「もとのアプリの指定」より前に置くこと。
     後ろに置くと、こちらの font-size が向こうの指定に勝ってしまい、
     下のナビが9px→16pxになって字が折り返した（実際にそうなった）。 */
.me-bar, .member-list-card .item, .month-tabs .tab, .bottom-nav .item,
.tf-check, .tf-datebtn, .wk-toggle, .save-btn, .tf-actions .draft,
.tf-actions .submit, .tfcal-actions .a, .travel-btn, .add-btn-row, .me-set,
.top-bar .back, .top-bar .gear,
/* ⚠ カレンダーの日と月送りもここに入れる。入れ忘れると、ブラウザが付ける
   枠と背景が残って、日が四角い箱に見える（実際に「キモい」と言われた）。 */
.cal-day, .tfcal-nav .nv, .cal-actions .btn, .goal-table .row .days-btn {
  font: inherit; color: inherit; border: 0; background: none;
  -webkit-appearance: none; appearance: none;
  width: 100%; text-align: inherit; display: block;
}
.member-list-card .item { text-align: left; }
.member-list-card .item .mini-bar { display: block; }
.tf-datebtn { text-align: left; }
.top-bar .back, .top-bar .gear { width: auto; }

/* ================== ここから もとのアプリの指定（そのまま） ================== */

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Helvetica Neue', Meiryo, 'Yu Gothic', 'Noto Sans JP', Arial, sans-serif; background: #EEF2F7; color: #0F172A; min-height: 100vh; padding: 12px; padding-bottom: 80px; }
.container { max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.loading { text-align: center; padding: 40px; color: #64748B; font-size: 14px; }
.error { background: #FEE2E2; border: 1px solid #FCA5A5; border-radius: 8px; padding: 12px; color: #991B1B; font-size: 12px; }
.top-bar { display: flex; justify-content: space-between; align-items: center; }
.top-bar .gear { font-size: 22px; cursor: pointer; padding: 8px; background: #fff; border-radius: 8px; line-height: 1; }
.top-bar .back { font-size: 13px; color: #1E40AF; cursor: pointer; padding: 8px 12px; background: #fff; border-radius: 8px; }
.top-bar .title { font-size: 14px; font-weight: 500; }
.team-card { background: #1E3A8A; border-radius: 10px; padding: 12px 14px; color: #fff; }
.team-card .label { font-size: 10px; color: #93C5FD; }
.team-card .row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 4px; }
.team-card .total { font-size: 18px; font-weight: 500; }
.team-card .goal { font-size: 11px; color: #93C5FD; }
.team-card .bar { height: 5px; background: rgba(255,255,255,0.15); border-radius: 999px; margin-top: 8px; overflow: hidden; }
.team-card .bar .fill { height: 100%; background: #60A5FA; }
.team-card .rate { font-size: 10px; color: #93C5FD; margin-top: 4px; text-align: right; }
.member-list-card { background: #fff; border-radius: 10px; padding: 4px; }
.team-header { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px 8px; border-bottom: 1.5px solid #1E3A8A; }
.team-header .team-name { font-size: 13px; font-weight: 600; color: #1E3A8A; }
.team-header .team-sub { font-size: 10px; color: #64748B; }
.team-header .team-sub b { color: #1E3A8A; font-size: 12px; margin-left: 2px; }
.member-list-card .list-title { padding: 12px 14px 6px; font-size: 12px; color: #64748B; font-weight: 500; }
.member-list-card .item { padding: 12px 14px; border-bottom: 0.5px solid #F1F5F9; cursor: pointer; }
.member-list-card .item:last-child { border-bottom: none; }
.member-list-card .item .head { display: flex; justify-content: space-between; align-items: center; }
.member-list-card .item .name { font-size: 15px; font-weight: 500; }
.member-list-card .item .rate { font-size: 12px; font-weight: 500; }
.member-list-card .item .rate .chev { color: #94A3B8; font-size: 15px; margin-left: 4px; }
.member-list-card .item .mini-bar { height: 4px; background: #F1F5F9; border-radius: 999px; margin-top: 6px; overflow: hidden; }
.member-list-card .item .mini-bar .fill { height: 100%; }
.member-list-card .item .sub { display: flex; justify-content: space-between; font-size: 10px; color: #94A3B8; margin-top: 4px; }
.member-list-card .item-simple { padding: 14px; font-size: 15px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; border-bottom: 0.5px solid #F1F5F9; }
.member-list-card .item-simple:last-child { border-bottom: none; }
.member-list-card .item-simple .chev { color: #94A3B8; font-size: 18px; }
.member-list-card .item-with-action .delete-btn { color: #DC2626; font-size: 12px; padding: 5px 12px; background: #FEE2E2; border-radius: 4px; }
.add-btn-row { padding: 14px; text-align: center; color: #1E40AF; font-size: 13px; font-weight: 500; cursor: pointer; border-top: 0.5px dashed #CBD5E1; margin-top: 4px; }
.header-card { background: #fff; border-radius: 10px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; }
.header-card .label { font-size: 10px; color: #64748B; margin-bottom: 2px; }
.date-line { display: flex; align-items: baseline; gap: 4px; }
.date-line .year { font-size: 11px; color: #94A3B8; }
.date-line .num { font-size: 20px; font-weight: 500; line-height: 1; }
.date-line .unit { font-size: 12px; color: #64748B; }
.date-line .dow { font-size: 11px; color: #94A3B8; margin-left: 2px; }
.header-card .right { text-align: right; }
.header-card .right .progress { font-size: 18px; font-weight: 500; color: #C2410C; line-height: 1; }
.header-card .right .progress-sub { font-size: 10px; color: #94A3B8; }
.page-header { background: #fff; border-radius: 10px; padding: 12px 14px; }
.page-header .title { font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.page-header .range { font-size: 11px; color: #64748B; }
.section-title { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: 0.03em; margin-bottom: 10px; margin-top: 8px; color: #fff; }
.section-title.month { background: #1E3A8A; }
.section-title.pace { background: #475569; }
.section-title.week { background: #1E40AF; }
.section-title.daily { background: #64748B; }
.month-card { background: #1E3A8A; border-radius: 10px; padding: 14px; color: #fff; }
.month-blocks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-bottom: 12px; }
.block { background: rgba(255,255,255,0.06); padding: 8px 10px; border-radius: 6px; }
.block.goal { background: #FFF7ED; border: 1.5px solid #FDBA74; }
.block.goal .label { color: #C2410C; }
.block.goal .value { color: #9A3412; }
.block.alert { background: rgba(252,211,77,0.15); border: 0.5px solid rgba(252,211,77,0.4); }
.block.alert .label { color: #FCD34D; }
.block.alert .value { color: #FCD34D; }
.block .label { font-size: 9px; color: #93C5FD; }
.block .value { font-size: 12px; font-weight: 500; color: #fff; margin-top: 2px; }
.achievement { background: rgba(255,255,255,0.1); padding: 12px; border-radius: 8px; margin-bottom: 8px; border: 0.5px solid rgba(255,255,255,0.15); }
.achievement-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.achievement .label { font-size: 10px; color: #93C5FD; }
.achievement .value-area { display: flex; align-items: baseline; gap: 4px; }
.achievement .num { font-size: 24px; font-weight: 500; line-height: 1; }
.achievement .unit { font-size: 12px; color: #93C5FD; }
.achievement .comment { font-size: 10px; color: #93C5FD; }
.progress-bar { height: 6px; background: rgba(255,255,255,0.15); border-radius: 999px; overflow: hidden; }
.progress-bar .fill { height: 100%; background: #60A5FA; transition: width 0.5s; }
.today-line { background: rgba(255,255,255,0.06); border-radius: 8px; padding: 8px 10px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.today-line .lbl { font-size: 10px; color: #93C5FD; }
.today-line .val { font-size: 14px; font-weight: 500; }
.today-line .val .sub { font-size: 9px; color: #93C5FD; font-weight: 400; }
.month-footer { display: flex; justify-content: space-between; padding: 0 4px; font-size: 11px; }
.month-footer .item { color: #fff; }
.month-footer .lbl { color: #93C5FD; font-size: 9px; margin-right: 4px; }
.pace-card { background: #fff; border-radius: 10px; padding: 10px; }
.pace-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.pace-cell { background: #F8FAFC; border-radius: 6px; padding: 7px 9px; }
.pace-cell .lbl { font-size: 9px; color: #64748B; }
.pace-cell .val { font-size: 12px; font-weight: 500; margin-top: 2px; }
.pace-cell.bad { background: #FEF2F2; }
.pace-cell.bad .lbl, .pace-cell.bad .val { color: #B91C1C; }
.pace-cell.good { background: #F0FDF4; }
.pace-cell.good .lbl, .pace-cell.good .val { color: #15803D; }
.forecast { margin-top: 6px; background: #EFF6FF; border-radius: 6px; padding: 8px 10px; display: flex; justify-content: space-between; align-items: baseline; }
.forecast .lbl { font-size: 9px; color: #3B82F6; }
.forecast .val { font-size: 13px; font-weight: 500; color: #1E3A8A; }
.forecast .val .sub { font-size: 9px; color: #3B82F6; font-weight: 400; }
.week-card { background: #1E40AF; border-radius: 10px; padding: 12px 14px; color: #fff; display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.week-card .label { font-size: 9px; opacity: 0.7; margin-bottom: 4px; }
.week-card .value { font-size: 16px; font-weight: 500; line-height: 1.1; }
.week-card .right { text-align: right; font-size: 10px; }
.week-card .right .lbl { opacity: 0.7; }
.stat-block { background: #fff; border-radius: 8px; padding: 10px; margin-bottom: 6px; border: 0.5px solid #BFDBFE; }
.stat-block-header { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.stat-block-header .bar { width: 3px; height: 14px; border-radius: 2px; background: #1E40AF; }
.stat-block-header .title { font-size: 11px; font-weight: 500; color: #1E40AF; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.stat-cell { text-align: center; padding: 6px 4px; border-radius: 6px; background: #EFF6FF; }
.stat-cell .lbl { font-size: 9px; color: #3B82F6; }
.stat-cell .val { font-size: 16px; font-weight: 500; margin-top: 2px; line-height: 1.1; color: #1E3A8A; }
.stat-cell .val .pct { font-size: 10px; }
.stat-cell.hl { background: #1E40AF; }
.stat-cell.hl .lbl { color: #BFDBFE; }
.stat-cell.hl .val { color: #fff; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 6px; }
.stat-row .item { padding: 6px 8px; border-radius: 6px; background: #EFF6FF; }
.stat-row .lbl { font-size: 9px; color: #3B82F6; }
.stat-row .val { font-size: 12px; font-weight: 500; margin-top: 2px; color: #1E3A8A; }
.daily-card { background: #fff; border-radius: 8px; padding: 10px; }
.daily-header { display: grid; grid-template-columns: 34px 1fr 84px; gap: 8px; padding: 0 8px 6px; }
.daily-header .label { font-size: 9px; text-align: right; font-weight: 500; color: #1E40AF; }
.daily-row { display: grid; grid-template-columns: 34px 1fr 84px; gap: 8px; align-items: center; padding: 8px; border-radius: 6px; border: 0.5px solid transparent; margin-bottom: 4px; }
.daily-row.normal { border-color: #E2E8F0; }
.daily-row.rest { background: #F8FAFC; color: #94A3B8; }
.daily-row.today { background: #FFF7ED; border-color: #FDBA74; border-width: 1.5px; }
.daily-row.future { opacity: 0.4; }
.daily-row .day { font-size: 11px; font-weight: 500; }
.daily-row.today .day { color: #C2410C; }
.daily-row .bar-area { display: flex; gap: 2px; align-items: center; }
.daily-row .bar { height: 4px; border-radius: 999px; }
.daily-row .bar-v { background: #1E40AF; }
.daily-row.today .bar-v { background: #C2410C; }
.daily-row .bar-empty { background: #F1F5F9; flex: 1; height: 4px; border-radius: 999px; }
.daily-row.today .bar-empty { background: #FED7AA; }
.daily-row .amount { font-size: 11px; font-weight: 500; text-align: right; color: #1E40AF; }
/* 成績の日の印（3件以下の日は次に働いた日の成績・2026-11-18） */
.daily-row .perf-mark { display: block; font-size: 9px; font-weight: 700; color: #1f6fb2; white-space: nowrap; }
.daily-row .amount.muted { color: #94A3B8; }
.daily-row.today .amount { color: #C2410C; }
.daily-row .rest-label { font-size: 10px; color: #94A3B8; }
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 0.5px solid #E2E8F0; padding: 8px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; max-width: 480px; margin: 0 auto; }
.bottom-nav .item { text-align: center; padding: 6px 0; color: #94A3B8; cursor: pointer; font-size: 9px; border-radius: 6px; }
.bottom-nav .item.active { color: #1E40AF; font-weight: 500; background: #EFF6FF; }
.bottom-nav .item .icon { display: block; font-size: 18px; margin-bottom: 2px; }
.month-tabs { background: #fff; border-radius: 10px; padding: 4px; display: flex; gap: 2px; }
.month-tabs .tab { flex: 1; padding: 8px 4px; text-align: center; font-size: 12px; color: #94A3B8; cursor: pointer; border-radius: 6px; }
.month-tabs .tab.active { background: #1E40AF; color: #fff; font-weight: 500; }
.month-tabs .tab.active-teal { background: #0F766E; color: #fff; font-weight: 500; }
.save-btn.teal { background: #0F766E; }
.goal-table .row .perday { font-size: 10px; color: #0F766E; text-align: center; font-weight: 500; }
.goal-table .row .perday .sub { display: block; font-size: 8px; color: #94A3B8; font-weight: 400; }
.wt-card { background: #1E40AF; border-radius: 10px; padding: 12px; color: #fff; margin-bottom: 6px; }
.wt-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 8px; }
.wt-block { background: rgba(255,255,255,0.08); border-radius: 6px; padding: 7px 9px; }
.wt-block.goal { background: #FFF7ED; border: 1.5px solid #FDBA74; }
.wt-block.goal .lbl { color: #C2410C; }
.wt-block.goal .val { color: #9A3412; }
.wt-block .lbl { font-size: 9px; color: #93C5FD; }
.wt-block .val { font-size: 13px; font-weight: 500; margin-top: 2px; }
.wt-ach { background: rgba(255,255,255,0.1); border: 0.5px solid rgba(255,255,255,0.15); border-radius: 8px; padding: 8px 10px; }
.wt-ach-head { display: flex; justify-content: space-between; align-items: baseline; }
.wt-ach .lbl { font-size: 10px; color: #93C5FD; }
.wt-ach .num { font-size: 20px; font-weight: 500; }
.wt-ach .unit { font-size: 11px; color: #93C5FD; }
.wt-bar { height: 5px; background: rgba(255,255,255,0.15); border-radius: 999px; overflow: hidden; margin-top: 5px; }
.wt-bar .fill { height: 100%; background: #60A5FA; }
.wt-foot { display: flex; justify-content: space-between; font-size: 10px; padding: 6px 2px 0; }
.wt-foot .lbl { color: #93C5FD; font-size: 9px; }
.tg-table { background: #fff; border-radius: 8px; padding: 10px; font-size: 11px; border: 0.5px solid #BFDBFE; margin-bottom: 6px; }
.tg-head { display: grid; grid-template-columns: 1fr 80px 80px; gap: 6px; padding: 4px; color: #64748B; font-size: 10px; border-bottom: 0.5px solid #E2E8F0; }
.tg-head .t { text-align: right; color: #C2410C; }
.tg-head .r { text-align: right; color: #1E40AF; }
.tg-row { display: grid; grid-template-columns: 1fr 80px 80px; gap: 6px; padding: 6px 4px; border-bottom: 0.5px solid #F1F5F9; }
.tg-row:last-child { border-bottom: none; }
.tg-row .k { color: #64748B; }
.tg-row .t { text-align: right; }
.tg-row .r { text-align: right; font-weight: 500; }
.tg-row .r.ok { color: #0F766E; }
.tg-row .r.ng { color: #B91C1C; }
.tg-row .r.nu { color: #1E3A8A; }
.travel-btn { background: #fff; border: 1px solid #B91C1C; color: #B91C1C; border-radius: 8px; padding: 8px; text-align: center; font-size: 11px; font-weight: 500; margin-bottom: 8px; cursor: pointer; }
.travel-btn .st { font-weight: 400; font-size: 9px; margin-left: 4px; }
.month-tabs .tab.active-red { background: #B91C1C; color: #fff; font-weight: 500; }
.tf-card { background: #fff; border-radius: 10px; padding: 10px; }
.tf-group { margin-top: 8px; }
.tf-group:first-child { margin-top: 0; }
.tf-lbl { font-size: 9px; color: #64748B; margin-bottom: 2px; }
.tf-lbl .req { color: #DC2626; }
.tf-card input, .tf-card select, .tf-card textarea { width: 100%; border: 0.5px solid #E2E8F0; border-radius: 4px; padding: 7px 8px; font-size: 12px; box-sizing: border-box; background: #fff; font-family: inherit; }
.tf-card select { background: #F8FAFC; }
.tf-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tf-range { display: flex; gap: 4px; align-items: center; }
.tf-range input { text-align: center; }
.tf-range .sep { color: #94A3B8; flex-shrink: 0; }
.tf-checks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.tf-datebtn { border: 0.5px solid #E2E8F0; border-radius: 4px; padding: 7px 8px; font-size: 12px; background: #fff; cursor: pointer; min-height: 17px; }
.tf-datebtn .ph { color: #CBD5E1; font-size: 11px; }
.tfcal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.tfcal-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.tfcal-nav .ttl { font-size: 13px; font-weight: 500; }
.tfcal-nav .nv { width: 32px; height: 32px; border-radius: 8px; background: #F1F5F9; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #475569; cursor: pointer; }
.tfcal-nav .nv.dis { opacity: 0.3; cursor: default; }
.tfcal-actions { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 6px; margin-top: 12px; }
.tfcal-actions .a { padding: 10px; text-align: center; border-radius: 6px; font-size: 12px; font-weight: 500; cursor: pointer; }
.tfcal-actions .clear { background: #F1F5F9; color: #64748B; }
.tfcal-actions .cancel { background: #F1F5F9; color: #64748B; }
.tfcal-actions .ok { color: #fff; }
.tf-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.tf-day { border: 0.5px solid #E2E8F0; background: #F8FAFC; color: #64748B; border-radius: 6px; padding: 6px 0; text-align: center; font-size: 10px; cursor: pointer; }
.tf-day .w { display: block; font-size: 8px; color: #94A3B8; }
.tf-day.on { background: #FEE2E2; border-color: #FCA5A5; color: #DC2626; font-weight: 500; }
.tf-day.on .w { color: #F87171; }
.tf-check { border: 0.5px solid #E2E8F0; background: #F8FAFC; color: #94A3B8; border-radius: 6px; padding: 6px 2px; text-align: center; font-size: 9px; cursor: pointer; }
.tf-check.on { background: #F0FDF4; border-color: #86EFAC; color: #15803D; font-weight: 500; }
.tf-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 6px; margin-top: 10px; }
.tf-actions .draft { background: #fff; border: 1px solid #B91C1C; color: #B91C1C; border-radius: 8px; padding: 10px; text-align: center; font-size: 11px; font-weight: 500; cursor: pointer; }
.tf-actions .submit { background: #B91C1C; color: #fff; border-radius: 8px; padding: 10px; text-align: center; font-size: 11px; font-weight: 500; cursor: pointer; }
.tf-status { display: inline-block; font-size: 9px; border-radius: 999px; padding: 2px 8px; margin-left: 4px; font-weight: 500; }
.tf-status.done { background: #DCFCE7; color: #15803D; }
.tf-status.draft { background: #FFEDD5; color: #C2410C; }
.tf-locked-note { background: #F1F5F9; border: 1px solid #CBD5E1; color: #475569; border-radius: 8px; padding: 10px 12px; font-size: 11px; line-height: 1.6; margin-bottom: 8px; }
.tf-locked-note b { color: #B91C1C; }
.tf-card.locked { opacity: 0.75; }
.tf-card.locked input, .tf-card.locked select { background: #F8FAFC; color: #64748B; }
.tf-card.locked .tf-datebtn, .tf-card.locked .tf-check { background: #F8FAFC; color: #94A3B8; cursor: default; }
.tperm-week { font-size: 11px; font-weight: 500; color: #0F172A; margin: 8px 0 4px; }
.cfm-title { font-size: 15px; font-weight: 600; color: #0F172A; margin-bottom: 10px; }
.cfm-body { font-size: 12px; color: #334155; line-height: 1.8; }
.cfm-body .warn { color: #B91C1C; font-weight: 500; }
.cfm-actions { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; margin-top: 16px; }
.cfm-actions .btn { padding: 12px; text-align: center; border-radius: 8px; font-size: 13px; font-weight: 500; cursor: pointer; }
.cfm-actions .cancel { background: #F1F5F9; color: #64748B; }
.cfm-actions .ok { background: #B91C1C; color: #fff; }
.cfm-actions .ok.blue { background: #1E40AF; }
.cfm-input { width: 100%; padding: 12px; border: 1px solid #CBD5E1; border-radius: 8px; font-size: 16px; text-align: center; letter-spacing: 0.2em; margin-top: 12px; box-sizing: border-box; }
.cfm-error { color: #B91C1C; font-size: 11px; margin-top: 6px; text-align: center; }
.me-bar { background: #1E3A8A; color: #fff; border-radius: 10px; padding: 10px 14px; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.me-bar .lbl { font-size: 10px; color: #93C5FD; }
.me-bar .nm { font-size: 14px; font-weight: 500; }
.me-bar .chev { margin-left: auto; color: #93C5FD; font-size: 16px; }
.me-set { border-top: 0.5px dashed #CBD5E1; margin-top: 4px; padding: 12px 14px; text-align: center; color: #1E40AF; font-size: 12px; font-weight: 500; cursor: pointer; }
.me-chip { display: inline-block; background: #DBEAFE; color: #1E40AF; font-size: 9px; border-radius: 4px; padding: 1px 5px; margin-left: 4px; vertical-align: 1px; font-weight: 500; }
/* iPhone は入力欄のフォントが16px未満だと、タップしたときに画面が勝手に拡大する。
   16pxにすると拡大しない。数字が少し大きく見えるが、操作しやすさを優先する。 */
@supports (-webkit-touch-callout: none) {
  .goal-table .row input,
  .wk-in input,
  .tf-card input,
  .tf-card select,
  .tf-card textarea,
  .add-form input { font-size: 16px; }
}
.perm-card { background: #fff; border-radius: 10px; padding: 12px; }
.perm-title { font-size: 12px; font-weight: 500; color: #0F172A; margin-bottom: 6px; }
.perm-note { font-size: 10px; color: #64748B; line-height: 1.6; margin-bottom: 8px; }
.perm-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.perm-chip { border: 1px solid #E2E8F0; background: #F8FAFC; color: #64748B; border-radius: 999px; padding: 6px 12px; font-size: 11px; cursor: pointer; }
.perm-chip.on { background: #DCFCE7; border-color: #22C55E; color: #15803D; font-weight: 500; }
.save-btn.attn { animation: attnPulse 1.2s ease-in-out infinite; }
@keyframes attnPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(194,65,12,0.5); } 50% { box-shadow: 0 0 0 8px rgba(194,65,12,0); } }
.unsaved-bar { position: fixed; bottom: 88px; left: 50%; transform: translateX(-50%); background: #C2410C; color: #fff; padding: 8px 14px; border-radius: 999px; font-size: 11px; font-weight: 500; z-index: 7000; box-shadow: 0 4px 12px rgba(194,65,12,0.4); cursor: pointer; white-space: nowrap; }
.unsaved-bar .tap { background: #fff; color: #C2410C; border-radius: 999px; padding: 3px 10px; margin-left: 6px; font-size: 10px; }
.shift-banner { background: #FFF7ED; border: 1px solid #FB923C; color: #C2410C; border-radius: 8px; padding: 10px 12px; font-size: 11px; font-weight: 500; margin-bottom: 8px; cursor: pointer; }
.shift-banner.info { background: #EFF6FF; border-color: #60A5FA; color: #1E40AF; }
.shift-banner.urgent { background: #FEE2E2; border-color: #F87171; color: #B91C1C; }
/* 足りない欄（要修正）は至急。赤地に白で大きく（2026-11-12 ご指摘「通知の部分が緊急性なさそう」） */
.shift-banner.alert { background: #DC2626; border-color: #B91C1C; color: #fff; font-size: 13px; font-weight: 700; padding: 12px 14px; }
.cl-note.cl-note--urgent { background: #FEE2E2; border: 2px solid #DC2626; border-left-width: 6px; }
.cl-note.cl-note--urgent .cl-note__t1 { color: #B91C1C; }
.cl-note.cl-note--urgent .cl-note__t2 { color: #7F1D1D; }
.cl-note__badge { display: inline-block; background: #DC2626; color: #fff; font-size: 11px; font-weight: 700; border-radius: 4px; padding: 1px 6px; margin-bottom: 3px; }
/* 修正の許可の依頼（2026-11-12） */
.tf-req-btn { display: block; width: 100%; margin-top: 8px; padding: 10px; border: 0; border-radius: 8px; background: #DC2626; color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.tf-req-btn:disabled { opacity: .6; }
.tf-req-done { display: block; margin-top: 4px; color: #B91C1C; font-weight: 700; }
.goal-table .row .name.unsubmitted { color: #DC2626; }
.unsub-tag { display: inline-block; background: #FEE2E2; color: #DC2626; font-size: 8px; border-radius: 4px; padding: 1px 4px; margin-left: 3px; font-weight: 500; vertical-align: 1px; }
.cal-locked-note { background: #F1F5F9; border: 0.5px solid #CBD5E1; color: #64748B; border-radius: 6px; padding: 8px 10px; font-size: 10px; margin-bottom: 8px; line-height: 1.5; }
.wk-toggle { background: #F0FDFA; border: 0.5px dashed #0F766E; border-radius: 6px; padding: 6px; text-align: center; color: #0F766E; font-size: 10px; font-weight: 500; margin: 0 0 8px; cursor: pointer; }
.wk-toggle.open { background: #0F766E; border: 0.5px solid #0F766E; color: #fff; border-radius: 6px 6px 0 0; margin-bottom: 0; }
.wk-detail { background: #F8FAFC; border-radius: 0 0 8px 8px; padding: 8px; margin: 0 0 8px; border: 0.5px solid #E2E8F0; border-top: none; }
.wk-detail-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.wk-in { background: #F0FDFA; border: 0.5px dashed #0F766E; border-radius: 8px; padding: 6px 8px; }
.wk-in .lbl { display: block; font-size: 9px; color: #0F766E; font-weight: 500; margin-bottom: 3px; }
.wk-in .lbl .opt { font-weight: 400; color: #5EEAD4; color: #14B8A6; }
.wk-in input { width: 100%; border: 0.5px solid #99F6E4; background: #fff; border-radius: 4px; padding: 4px 6px; text-align: right; font-size: 12px; box-sizing: border-box; }
.wk-calc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.wk-calc .c { background: #fff; border-radius: 6px; padding: 6px 4px; text-align: center; border: 0.5px solid #F1F5F9; }
.wk-calc .l { font-size: 8px; color: #94A3B8; }
.wk-calc .v { font-size: 11px; font-weight: 500; color: #475569; margin-top: 2px; }
.month-tabs .tab .period { display: block; font-size: 9px; opacity: 0.75; margin-top: 2px; }
.goal-table { background: #fff; border-radius: 10px; padding: 10px; }
.goal-table .header { display: grid; grid-template-columns: 86px 1fr 74px; gap: 8px; padding: 6px 4px; border-bottom: 0.5px solid #E2E8F0; font-size: 10px; color: #64748B; font-weight: 500; }
.goal-table .header .ra { text-align: right; }
.goal-table .header .ca { text-align: center; }
.goal-table .row { display: grid; grid-template-columns: 86px 1fr 74px; gap: 8px; padding: 8px 4px; border-bottom: 0.5px solid #F1F5F9; align-items: center; }
.goal-table .row .name { font-size: 13px; font-weight: 500; }
/* ⚠ 班は名前の下に、折り返さずに出す。名前の横に置くと、名前の長さで
   班の位置が人ごとにずれ、「南／口班」のように途中で切れる。 */
.goal-table .row .name .tm {
  display: block; font-size: 9px; color: #94A3B8;
  white-space: nowrap; margin-top: 1px; font-weight: 400;
}
.goal-table .row input { width: 100%; padding: 6px 8px; border: 0.5px solid #E2E8F0; border-radius: 4px; font-size: 12px; text-align: right; }
.goal-table .row .days-btn { width: 100%; padding: 6px 8px; border: 0.5px solid #E2E8F0; border-radius: 4px; font-size: 12px; text-align: center; background: #EFF6FF; color: #1E40AF; cursor: pointer; font-weight: 500; }
.save-btn { margin-top: 12px; background: #1E40AF; color: #fff; text-align: center; padding: 12px; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; }
.save-btn.saving { background: #94A3B8; }
.goal-note { font-size: 10px; color: #64748B; margin-top: 8px; padding: 0 4px; line-height: 1.6; }
.add-form { background: #fff; border-radius: 10px; padding: 14px; margin-top: 8px; }
.add-form .label { font-size: 11px; color: #64748B; margin-bottom: 4px; display: block; margin-top: 8px; }
.add-form input { width: 100%; padding: 8px 10px; border: 0.5px solid #E2E8F0; border-radius: 6px; font-size: 13px; }
.add-form .actions { display: flex; gap: 8px; margin-top: 14px; }
.add-form .btn { flex: 1; padding: 10px; text-align: center; border-radius: 6px; font-size: 13px; cursor: pointer; }
.add-form .btn-primary { background: #1E40AF; color: #fff; font-weight: 500; }
.add-form .btn-secondary { background: #F1F5F9; color: #64748B; }
.toast { position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%); background: #0F172A; color: #fff; padding: 10px 20px; border-radius: 999px; font-size: 12px; z-index: 9999; }
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(15,23,42,0.6); z-index: 8000; display: flex; align-items: center; justify-content: center; padding: 12px; }
.modal-content { background: #fff; border-radius: 12px; padding: 14px; max-width: 400px; width: 100%; max-height: 90vh; overflow-y: auto; }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.modal-header .title { font-size: 14px; font-weight: 500; }
.modal-header .today-info { font-size: 11px; color: #94A3B8; }
.cal-dow-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; font-size: 10px; color: #94A3B8; text-align: center; margin-bottom: 6px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-day { height: 44px; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 10px; padding: 2px; }
.cal-day .num { font-weight: 500; }
.cal-day .mark { font-size: 12px; line-height: 1; }
.cal-day .mark.small { font-size: 9px; }
.cal-day.empty { visibility: hidden; }
.cal-day.past-on { background: #DBEAFE; color: #1E40AF; }
.cal-day.past-off { background: #F1F5F9; color: #94A3B8; }
.cal-day.past-other { background: #FEF3C7; color: #78350F; }
.cal-day.today-cell { border: 2px solid #C2410C; background: #FFF7ED; color: #C2410C; }
.cal-day.future-on { background: #EFF6FF; color: #1E40AF; border: 0.5px dashed #93C5FD; cursor: pointer; }
.cal-day.future-off { background: #F8FAFC; color: #94A3B8; border: 0.5px dashed #CBD5E1; cursor: pointer; }
.cal-day.future-other { background: #FDE68A; color: #78350F; border: 0.5px dashed #F59E0B; cursor: pointer; }
/* =========================================================
   行き先の項目の色。出張管理のシフト表（pages/shucchou.html の .sh-c-*）と
   まったく同じ11色（ユーザー確認：「地域と〇以外の項目の配色はシフト表と一緒に」）。
   ⚠ 色を決めるのはサーバー（lib/trip.js の shiftCellColor）。
     画面で言葉から色を決めないこと（項目を足したときに食い違う）。
   ⚠ .cal-day を付けて書く。付けないと .cal-day.past-other のほうが強く、
     この色が出ない。
   ⚠ これからの日は点線の枠を残す（押せる日だと分かるように）。
   ========================================================= */
.cal-day.sh-c-yellow { background: #fdf4d3; color: #6b5310; }
.cal-day.sh-c-green  { background: #c6e5b8; color: #1d5a16; }
.cal-day.sh-c-teal   { background: #bfe0e8; color: #0d4b57; }
.cal-day.sh-c-blue   { background: #e6f0fb; color: #17427a; }
.cal-day.sh-c-indigo { background: #cfd2f2; color: #2e3183; }
.cal-day.sh-c-purple { background: #ece7f6; color: #4a3a7a; }
.cal-day.sh-c-pink   { background: #f2a9c4; color: #6e1c3c; }
.cal-day.sh-c-khaki  { background: #e2ddc2; color: #57501c; }
.cal-day.sh-c-orange { background: #f6c445; color: #6b4e05; }
.cal-day.sh-c-red    { background: #fbeceb; color: #b3352e; }
.cal-day.sh-c-gray   { background: #eceae3; color: #55554a; }
/* 今日のマスは枠を残す（色が付いても「今日」が分かるように） */
.cal-day.today-cell[class*="sh-c-"] { border: 2px solid #C2410C; }
.cal-legend { display: flex; justify-content: space-around; font-size: 9px; color: #64748B; margin-top: 12px; padding-top: 10px; border-top: 0.5px solid #E2E8F0; flex-wrap: wrap; gap: 4px; }
.cal-legend .li { display: flex; align-items: center; gap: 4px; }
.cal-legend .dot { width: 10px; height: 10px; border-radius: 2px; }
.cal-note { background: #FFF7ED; border: 1px solid #FDBA74; border-radius: 6px; padding: 8px 10px; margin-top: 10px; font-size: 10px; color: #9A3412; line-height: 1.5; }
.cal-total { background: #FFF7ED; border: 1px solid #FDBA74; padding: 10px 12px; margin-top: 10px; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; }
.cal-total .lbl { font-size: 12px; color: #9A3412; }
.cal-total .val { font-size: 20px; font-weight: 500; color: #9A3412; }
.cal-actions { display: flex; gap: 8px; margin-top: 12px; }
.cal-actions .btn { flex: 1; text-align: center; padding: 10px; border-radius: 6px; font-size: 13px; cursor: pointer; }
.cal-actions .btn-cancel { background: #F1F5F9; color: #64748B; }
.cal-actions .btn-save { background: #1E40AF; color: #fff; font-weight: 500; }
.cal-actions .btn-save.saving { background: #94A3B8; }
/* ---- 🔀 並び順設定 ---- */
.ord-row { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 0.5px solid #F1F5F9; }
.ord-row:last-child { border-bottom: none; }
.ord-name { flex: 1; font-size: 14px; }
.ord-crown { font-size: 15px; opacity: 0.2; cursor: pointer; width: 24px; text-align: center; }
.ord-crown.on { opacity: 1; }
.ord-star { font-size: 14px; opacity: 0.2; cursor: pointer; width: 24px; text-align: center; }
.ord-star.on { opacity: 1; }
.ord-btns { display: flex; gap: 4px; }
.ord-btn { width: 32px; height: 30px; display: flex; align-items: center; justify-content: center; background: #F1F5F9; color: #475569; border-radius: 6px; font-size: 12px; cursor: pointer; }
.ord-btn.dis { opacity: 0.2; }
.team-header .ord-btns { margin-left: auto; }
/* =========================================================
   日報。⚠ いまの日報の画面（/business-trip-report）をそのまま枠の中に出す。
   ⚠ 日報の見た目は日報側のCSS（trip-report.html）が持っている。ここでは触らない。
     ここにあるのは「枠の大きさ」と「ご自身のぶんです」の知らせだけ。
   ========================================================= */
.np-lock { background: #FFF7ED; border: 1px solid #FB923C; color: #9A3412; border-radius: 8px;
  padding: 10px 12px; font-size: 11px; line-height: 1.7; margin-bottom: 8px; }
.np-lock b { font-weight: 500; }
/* 日報の画面をはめる枠。
   ⚠ 高さは「画面の高さ − 下のナビ − 上下の余白」。決め打ちにすると、
     機種によって下が切れたり、二重にスクロールが出たりする。
   ⚠ 画面ぜんぶを使う。日報は項目が多いので、狭いと使いものにならない。 */
/* 週間目標を月間から割り出したときの小さな印（2026-10-13）。
   ⚠ 本人が入れた数字と見分けが付くようにするためのもの。消さないこと。 */
.wt-from { display: inline-block; margin-left: 5px; padding: 1px 6px; border-radius: 999px;
  background: #EFF6FF; color: #1E40AF; font-size: 9px; font-weight: 500; vertical-align: 1px; }

.np-frame { display: block; width: 100%; border: 0; border-radius: 10px;
  background: #fff; height: calc(100vh - 92px); }

/* 日報を打ち込んでいる間は、下のメニューを引っ込めて日報を広く使う
   （ご指示 2026-10-08「入力するときこうなるんだけど入力しづらくない？？」）。
   ⚠ 携帯でキーボードが出ると、下のメニューと日報の「戻る・保存する」の帯で、
     見えるところが1〜2行しか残らない。
   ⚠ 「戻る・保存する」の帯は残す。打ちながらでも保存を押せるようにするため。
   ⚠ 印を付け外しするのは shinchoku.js（日報の窓からの知らせを受けて）。 */
body.is-typing .bottom-nav { display: none; }
body.is-typing .np-frame { height: 100vh; }

/* シフトのタブのカレンダー（2026-10-08）。
   ⚠ 小窓（.modal-content）の中と同じ見た目にする。中身の決まりは上の .cal-* を使い回す。 */
.cal-card { background: #fff; border-radius: 12px; padding: 14px; margin-bottom: 12px; }

/* シフトのタブで月を前後に動かす帯（2026-10-08）。
   ⚠ 来月ぶんを入れるのに要る。押せないほうは灰色にして、端だと分かるようにする。 */
.cal-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 10px; }
.cal-nav__btn {
  border: 1px solid #CBD5E1; background: #fff; border-radius: 999px;
  width: 34px; height: 34px; font-size: 14px; color: #334155; cursor: pointer;
}
.cal-nav__btn:disabled { opacity: .35; cursor: default; }
.cal-nav__now { font-size: 15px; font-weight: 600; color: #1e293b; min-width: 84px; text-align: center; }

/* ---- 外勤マニュアルへの入口「？ 使い方」（ご指示 2026-10-19）----
   ⚠ 外勤用のページ（shinchoku-cl.html）だけに置いてある。上に細い1行で、右はしに寄せる。
   ⚠ 下のメニューは7つのまま増やさない。 */
.np-helpbar { display: flex; justify-content: flex-end; margin: -4px 0 6px; }
.np-helpbar[hidden] { display: none; }
.np-help {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border-radius: 999px;
  border: 1px solid #93C5FD; background: #fff; color: #1E40AF; font-size: 12px; font-weight: 500; text-decoration: none;
}

/* ---- 数字の入力欄の「▲▼」を出さない（ご指示 2026-10-22「どの画面でも、数字入力の際の△は無くしてほしい」）----
   ⚠ 見た目だけ消す。数字キーが出る・数字しか入らないのは今までどおり。
   ⚠ お金の欄は type="number" にしない（money-input.js で3桁カンマ）。ここは件数・分・％などの欄のため。 */
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---- ランキング（ご指示 2026-10-23「出張アプリの方にランキング表示したい」）----
   下のメニューの「🏆 順位」→ 自分の順位カード（7種類）。押すと全員の一覧（同じ rank の画面）。
   ⚠ 色（赤・黄・水色・紫）は裏込み収支表と同じ意味・同じ色（styles.css の .uk-v--◯◯）。
   ⚠ 月の帯はポータル共通の .nm-period と同じ形（見ている期間＋◀＋大きいプルダウン＋▶）。
     このアプリは styles.css を読まないので、同じ見た目をここに書いてある。 */
.rk-range { font-size: 11px; color: #64748B; margin: -4px 2px 8px; }
.rk-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.rk-card { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: baseline;
  gap: 2px 6px; padding: 9px 11px; background: #fff; border: 1px solid #E2E8F0; border-radius: 10px;
  font: inherit; text-align: left; cursor: pointer; color: #1E293B; }
.rk-card__lbl { font-size: 11px; color: #64748B; grid-column: 1; }
.rk-card__no { font-size: 20px; font-weight: 600; grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.rk-card__no small { font-size: 11px; font-weight: 400; margin-left: 1px; }
.rk-card__val { font-size: 11px; color: #475569; grid-column: 1; }
.rk-period { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 6px; padding: 8px 12px;
  background: #eef3ef; border: 1px solid #e5e7eb; border-radius: 8px; }
.rk-period__lbl { font-size: 12px; color: #6b7280; }
.rk-period__sel { padding: 6px 10px; font: inherit; font-size: 16px; font-weight: 700; color: #0f4c35;
  border: 1px solid #d1d5db; border-radius: 6px; background: #fff; }
.rk-period__arrow { min-width: 38px; padding: 6px 10px; font: inherit; cursor: pointer; color: #0f4c35;
  border: 1px solid #d1d5db; border-radius: 6px; background: #fff; }
/* ⚠ 端まで来たら押せないことを見せる（ポータル共通と同じ） */
.rk-period__arrow:disabled { opacity: .3; cursor: default; }
.rk-chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 8px; }
.rk-chip { padding: 5px 11px; font: inherit; font-size: 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid #CBD5E1; background: #fff; color: #475569; }
.rk-chip.is-on { background: #92400E; border-color: #92400E; color: #fff; }
.rk-list { background: #fff; border-radius: 10px; overflow: hidden; margin-bottom: 12px; }
.rk-row { display: grid; grid-template-columns: 2.2em minmax(0, 1fr) auto; align-items: center; gap: 8px;
  padding: 8px 12px; border-bottom: 1px solid #F1F5F9; font-size: 13px; }
.rk-row:last-child { border-bottom: none; }
.rk-row__no { font-weight: 600; text-align: center; color: #475569; }
.rk-row__name { min-width: 0; overflow-wrap: anywhere; }
.rk-row__val { font-weight: 600; padding: 2px 6px; border-radius: 6px; text-align: right; white-space: nowrap; }
/* 自分の行。⚠ 一覧のどこにいても見つけられるように */
.rk-row.is-me { background: #FFF7ED; }
.rk-me { font-style: normal; font-size: 10px; margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: #C2410C; color: #fff; }
.rk-note { font-size: 12px; color: #64748B; padding: 8px 2px; }
.rk-c--red .rk-card__no, .rk-row__val.rk-c--red { background: #f7d6d3; color: #8d2b25; }
.rk-c--yellow .rk-card__no, .rk-row__val.rk-c--yellow { background: #fbf1c6; color: #6a5910; }
.rk-c--cyan .rk-card__no, .rk-row__val.rk-c--cyan { background: #d4eef8; color: #1b5a70; }
.rk-c--purple .rk-card__no, .rk-row__val.rk-c--purple { background: #e5dbf5; color: #493476; }
.rk-card[class*="rk-c--"] .rk-card__no { padding: 1px 7px; border-radius: 6px; }

/* =========================================================
   外勤用URL（/shinchoku-cl）の新しい並び（2026-10-30・デザインA案「白×紺のまま整える」）
   下のメニュー：日報・入力する・見る・通知／上：名前と締め期間の帯＋切り替えボタン
   ⚠ body.cl-mode と cl- で始まるものだけ。内勤用（/shinchoku）の見た目は変えない。
   ========================================================= */
body.cl-mode .bottom-nav { padding: 6px 8px calc(8px + env(safe-area-inset-bottom)); }
body.cl-mode .bottom-nav .item { position: relative; font-size: 11px; padding: 7px 0 6px; border-radius: 10px; }
body.cl-mode .bottom-nav .item .icon { font-size: 21px; }
body.cl-mode .bottom-nav .item.active { font-weight: 700; }
.nav-badge { position: absolute; top: 1px; left: 56%; min-width: 17px; height: 17px; padding: 0 5px; border-radius: 9px;
  background: #DC2626; color: #fff; font-size: 10.5px; font-weight: 700; line-height: 17px; text-align: center; font-style: normal; }

.cl-top { background: #fff; border-radius: 12px; padding: 10px 14px; margin-bottom: 10px; border: 1px solid #E2E8F0; }
.cl-top__nm { font-size: 16px; font-weight: 700; color: #0F172A; }
.cl-top__pd { font-size: 11.5px; color: #64748B; margin-top: 2px; }

.cl-seg { display: flex; gap: 3px; background: #fff; border-radius: 12px; padding: 4px; margin-bottom: 12px; }
.cl-seg__b { flex: 1; position: relative; border: 0; background: none; font: inherit; font-size: 12.5px; color: #64748B;
  padding: 9px 2px; border-radius: 9px; cursor: pointer; white-space: nowrap; }
.cl-seg--5 .cl-seg__b { font-size: 11.5px; }
.cl-seg__b.is-on { background: #1E40AF; color: #fff; font-weight: 700; }
.cl-seg__b i { position: absolute; top: 3px; right: 4px; width: 7px; height: 7px; border-radius: 50%; background: #DC2626; }

.cl-h { font-size: 12.5px; font-weight: 700; color: #475569; margin: 2px 2px 8px; }
.cl-task, .cl-note { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; font: inherit; color: inherit;
  background: #fff; border: 0; border-radius: 12px; padding: 12px; margin-bottom: 8px; cursor: pointer; }
.cl-task__ic { width: 38px; height: 38px; flex: none; border-radius: 10px; background: #EFF6FF; display: grid; place-items: center; font-size: 19px; }
.cl-task__t, .cl-note__t { flex: 1; min-width: 0; }
.cl-task__t1, .cl-note__t1 { display: block; font-size: 14px; font-weight: 700; color: #0F172A; }
.cl-task__t2, .cl-note__t2 { display: block; font-size: 11.5px; color: #64748B; margin-top: 2px; line-height: 1.5; }
.cl-task--off { opacity: .6; }
.cl-chip { flex: none; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 99px; white-space: nowrap; }
.cl-chip--ng { background: #FEE2E2; color: #B91C1C; }
.cl-chip--mid { background: #FEF3C7; color: #92400E; }
.cl-chip--ok { background: #DCFCE7; color: #166534; }
.cl-chip--off { background: #F1F5F9; color: #64748B; }
.cl-note { border-left: 4px solid #DC2626; align-items: flex-start; }
.cl-note__ic { font-size: 20px; flex: none; }
.cl-note__go { align-self: center; color: #1E40AF; font-size: 20px; }
.cl-empty { background: #fff; border-radius: 12px; padding: 18px; text-align: center; font-size: 13px; color: #475569; }

.cl-hero { background: #1E40AF; color: #fff; border-radius: 12px; padding: 14px; margin-bottom: 8px; }
.cl-hero__l { font-size: 12px; opacity: .85; }
.cl-hero__v { font-size: 26px; font-weight: 700; margin-top: 3px; font-variant-numeric: tabular-nums; }
.cl-hero__g { font-size: 11.5px; opacity: .9; margin-top: 2px; }
.cl-hero__bar { height: 8px; background: rgba(255,255,255,.25); border-radius: 9px; margin-top: 10px; overflow: hidden; }
.cl-hero__bar span { display: block; height: 100%; background: #93C5FD; border-radius: 9px; }
.cl-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.cl-kpi { display: block; text-align: left; font: inherit; color: inherit; background: #fff; border: 0; border-radius: 12px; padding: 10px 11px; }
button.cl-kpi { cursor: pointer; }
.cl-kpi__l { display: block; font-size: 11px; color: #64748B; }
.cl-kpi__v { display: block; font-size: 17px; font-weight: 700; margin-top: 3px; font-variant-numeric: tabular-nums; color: #0F172A; }
.cl-kpi__v small { font-size: 11px; font-weight: 500; color: #64748B; }
.cl-kpi__v.is-good { color: #0F766E; }
.cl-kpi__v.is-bad { color: #B91C1C; }
/* 週間目標が無い週の案内（ご指摘 2026-11-05） */
.cl-nogoal { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; padding: 10px 12px; background: #FFF7ED; border: 1px solid #FDBA74; border-radius: 10px; font-size: 12px; color: #9A3412; }
.cl-nogoal__b { flex: none; padding: 8px 12px; border: 0; border-radius: 8px; background: #1E40AF; color: #fff; font-size: 12px; font-weight: 700; }
/* 今月の数字。週間進捗の続きに見えないよう、帯と枠でひとかたまりに（ご指摘 2026-11-05） */
.cl-month { margin-top: 22px; padding: 0 10px 10px; background: #EEF2FF; border: 2px solid #1E3A8A; border-radius: 14px; overflow: hidden; }
.cl-month__head { margin: 0 -10px 6px; padding: 10px 14px; background: #1E3A8A; color: #fff; font-size: 16px; font-weight: 700; }
.cl-month__head small { margin-left: 8px; font-size: 12px; font-weight: 400; opacity: 0.85; }
.cl-more { background: #fff; border-radius: 12px; padding: 4px 10px; margin-top: 10px; }
.cl-more > summary { font-size: 13px; font-weight: 700; color: #1E40AF; padding: 10px 2px; cursor: pointer; }
.cl-more[open] { padding-bottom: 10px; }

.cl-focus { background: #fff; border-radius: 12px; padding: 12px; margin-bottom: 10px; border: 1.5px solid #BFDBFE; }
.cl-focus__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.cl-focus__ttl { font-size: 14px; font-weight: 700; color: #1E3A8A; }
.cl-focus__wk { font-size: 11.5px; color: #64748B; white-space: nowrap; }
.cl-focus__row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.cl-focus__no { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #1E40AF; color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.cl-focus__row input { flex: 1; min-width: 0; border: 1px solid #CBD5E1; border-radius: 8px; padding: 9px 10px; font-size: 16px; font-family: inherit; }
.cl-focus__list { margin: 0 0 4px; padding-left: 22px; font-size: 14px; line-height: 1.7; color: #0F172A; }
.cl-focus__list .muted { color: #94A3B8; }
.cl-focus__btns { display: flex; gap: 8px; align-items: stretch; margin-top: 8px; }
.cl-focus__btns .save-btn { flex: 1; margin-top: 0; border: 0; font-family: inherit; }
.cl-line { flex: 1; border: 0; border-radius: 8px; background: #06C755; color: #fff; font: inherit; font-size: 14px; font-weight: 700; padding: 12px; cursor: pointer; }
.cl-btn-sub { flex: none; border: 1px solid #CBD5E1; border-radius: 8px; background: #fff; color: #334155; font: inherit; font-size: 13px; padding: 0 16px; cursor: pointer; }
.cl-copy { display: block; margin: 8px auto 0; border: 0; background: none; color: #1E40AF; font: inherit; font-size: 11.5px; text-decoration: underline; cursor: pointer; }
.cl-focus__note, .cl-focus__msg { font-size: 11px; color: #64748B; margin-top: 6px; }
.cl-focus__msg:empty { display: none; }
.cl-kpi__v small.cl-kpi__sub { display: block; margin-top: 1px; }
/* ホテル（準備中）・マニュアル（資料）（2026-10-30） */
.cl-soon { background: #fff; border-radius: 12px; padding: 22px 16px; text-align: center; }
.cl-soon__ic { font-size: 34px; }
.cl-soon__t1 { font-size: 15px; font-weight: 700; color: #1E3A8A; margin-top: 6px; }
.cl-soon__t2 { font-size: 12.5px; color: #475569; margin-top: 8px; line-height: 1.7; }
.cl-doc-grp { font-size: 12px; font-weight: 700; color: #1E40AF; margin: 12px 4px 6px; }
.cl-doc .cl-task__ic { background: #F1F5F9; }
a.cl-doc { text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
/* 必要な出勤（今のBPのまま）は横いっぱい（2026-11-02） */
.cl-kpi--wide { grid-column: 1 / -1; }
/* ホテル・フライト・レンタカー（内勤が公開したもの・2026-11-02） */
.cl-stay { background: #fff; border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; }
.cl-stay__name { font-size: 15px; font-weight: 700; color: #0F172A; }
.cl-stay__when { font-size: 13px; color: #1E3A8A; margin-top: 3px; font-weight: 600; }
.cl-stay__sub { font-size: 12px; color: #64748B; margin-top: 4px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ---- 資料の PDF を見る画面（doc-viewer.js・ご依頼 2026-11-05「横画面に変える」「戻る」）---- */
body.dv-open { overflow: hidden; }
.dv { position: fixed; inset: 0; z-index: 2000; background: #334155; }
.dv__frame { position: absolute; top: 0; left: 0; width: 100vw; height: 100vh; height: 100dvh; display: flex; flex-direction: column; }
/* 横向き：中身を時計回りに90度まわして、横長で読めるようにする（iPhone は向きの固定ができないため） */
.dv.is-rot .dv__frame { width: 100vh; width: 100dvh; height: 100vw; transform-origin: top left; transform: rotate(90deg) translateY(-100%); }
.dv__bar { flex: none; display: flex; align-items: center; gap: 6px; padding: 8px 10px; padding-top: max(8px, env(safe-area-inset-top)); background: #0F172A; color: #fff; }
.dv__t { flex: 1; min-width: 0; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dv__t small { font-weight: 400; opacity: .8; }
.dv__b { flex: none; min-width: 40px; padding: 8px 10px; border: 0; border-radius: 8px; background: #1E40AF; color: #fff; font-size: 14px; font-weight: 700; }
.dv__b:disabled { opacity: .4; }
.dv__back { background: #fff; color: #0F172A; }
.dv__body { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; padding: 8px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.dv__body.is-zoom { align-items: flex-start; }
.dv__page { flex: none; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.dv__msg { margin: 40px 16px; color: #fff; font-size: 14px; line-height: 1.8; text-align: center; }
.dv__open { display: inline-block; margin-top: 12px; padding: 10px 16px; border-radius: 10px; background: #fff; color: #1E40AF; font-weight: 700; text-decoration: none; }
.cl-stay__price { margin-top: 3px; font-size: 13px; font-weight: 700; color: #0F172A; }
/* レンタカーのナンバーを送る（2026-11-11） */
.cl-plate { margin-top: 8px; padding: 8px; border-radius: 10px; background: #F8FAFC; border: 1px solid #E2E8F0; }
.cl-plate__ask { font-size: 12px; font-weight: 700; color: #B45309; margin-bottom: 6px; }
.cl-plate__now { font-size: 13px; color: #0F172A; margin-bottom: 6px; }
.cl-plate__row { display: flex; gap: 6px; }
.cl-plate__in { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid #CBD5E1; border-radius: 8px; font-size: 15px; }
.cl-plate__btn { flex: none; padding: 8px 14px; border: 0; border-radius: 8px; background: #1E40AF; color: #fff; font-weight: 700; }
.cl-plate__btn:disabled { opacity: .5; }
.cl-plate__msg { font-size: 12px; color: #B91C1C; margin-top: 4px; min-height: 0; }

/* 手配を出せなかったときの赤い帯（2026-11-12） */
.tf-err, .te-err { display: block; margin: 12px 0; padding: 14px 16px; border: 3px solid #c0392b; border-radius: 12px; background: #fdecea; color: #8e1b10; font-size: 15px; line-height: 1.6; font-weight: 700; }
.tf-err b, .te-err b { display: block; font-size: 18px; margin-bottom: 4px; }
.tf-none-btn { margin-top: 6px; padding: 6px 12px; font: inherit; font-size: 13px; font-weight: 700; border: 1px solid #94a3b8; border-radius: 999px; background: #fff; color: #334155; cursor: pointer; }

/* 直行・東京へ戻る（今週／来週）にどの週かを添える（2026-11-12） */
.tf-sub { display: block; font-size: 10px; font-weight: 400; color: #64748B; }

/* 自己手配（入力する → 自己手配・2026-11-12） */
.cl-selfday { margin: 0 0 10px; padding: 12px; border: 1px solid #e2e8f0; border-left: 4px solid #cbd5e1; border-radius: 12px; background: #fff; }
.cl-selfday--ng { border-left-color: #dc2626; }
.cl-selfday--ok { border-left-color: #16a34a; }
.cl-selfday__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.cl-selfday__d { font-weight: 700; }
.cl-selfday__note { margin: 0 0 8px; font-size: 12px; color: #b91c1c; font-weight: 700; }
.cl-selfday__now { font-size: 14px; }
.cl-selfday__in { display: block; width: 100%; box-sizing: border-box; margin: 0 0 6px; padding: 10px; border: 1px solid #cbd5e1; border-radius: 10px; font-size: 16px; }
.cl-selfday__btn { width: 100%; margin-top: 2px; }
/* まとめて送る枠（2026-11-12「一週間同じホテルなら日別に送る？」） */
.cl-selfform { padding: 12px; border: 1px solid #e2e8f0; border-radius: 14px; background: #f8fafc; }
.cl-selfform__h { margin: 4px 0 8px; font-weight: 700; font-size: 13px; color: #1e3a8a; }
.cl-selfform .cl-selfday { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 8px; padding: 10px; cursor: pointer; }
.cl-selfform .cl-selfday.is-off { opacity: .6; cursor: default; }
.cl-selfday__ck { width: 22px; height: 22px; margin: 2px 0 0; flex: none; }
.cl-selfday__body { flex: 1; min-width: 0; display: block; }
.cl-selfform .cl-selfday__top { display: flex; margin-bottom: 2px; }
.cl-selfform .cl-selfday__note, .cl-selfform .cl-selfday__now { display: block; margin: 4px 0 0; overflow-wrap: anywhere; }
.cl-plate__msg.is-ok { color: #15803d; font-weight: 700; }
/* 送った内容（2026-11-13） */
.cl-selfsent__row { margin: 0 0 8px; padding: 10px 12px; border: 1px solid #bbf7d0; border-left: 4px solid #16a34a; border-radius: 12px; background: #f0fdf4; }
.cl-selfsent__d { font-weight: 700; margin-bottom: 4px; }
.cl-selfsent__d small { margin-left: 8px; font-weight: 400; color: #64748b; font-size: 12px; }
.cl-selfsent__v { display: flex; gap: 8px; font-size: 14px; line-height: 1.6; }
.cl-selfsent__v span { flex: none; width: 5.5em; white-space: nowrap; color: #64748b; font-size: 12px; padding-top: 2px; }
.cl-selfsent__v b { font-weight: 600; overflow-wrap: anywhere; }
.cl-selfsent__src { font-size: 12px; color: #64748b; margin-top: 2px; }

/* ボタンで選ぶ欄（この週の内容・ホテルの手配・2026-11-12） */
.tf-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.tf-pick__b { flex: 1 1 auto; min-width: 30%; padding: 9px 6px; border: 1px solid #CBD5E1; border-radius: 8px; background: #fff; color: #334155; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.tf-pick__b.on { background: #1E40AF; border-color: #1E40AF; color: #fff; }
.tf-pick__b:disabled { cursor: default; opacity: .7; }
.tf-pick-note { margin: -2px 0 10px; padding: 8px 10px; background: #FFF7ED; border: 1px solid #FDBA74; border-radius: 8px; color: #9A3412; font-size: 12px; }

/* 研修・テレアポ・同行の日（2026-11-12） */
.tf-train-kinds { margin-bottom: 8px; }
.tf-train-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.tf-train-day { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; border: 1px solid #CBD5E1; border-radius: 8px; background: #fff; font: inherit; cursor: pointer; }
.tf-train-day:disabled { cursor: default; opacity: .7; }
.tf-train-day__d { font-size: 11px; color: #334155; }
.tf-train-day__k { font-size: 10.5px; font-weight: 700; color: #94A3B8; }
.tf-train-day.on .tf-train-day__d, .tf-train-day.on .tf-train-day__k { color: #fff; }
.tf-pick__b.tf-train--研修.on, .tf-train-day.tf-train--研修.on { background: #0F766E; border-color: #0F766E; color: #fff; }
.tf-pick__b.tf-train--テレアポ.on, .tf-train-day.tf-train--テレアポ.on { background: #7C3AED; border-color: #7C3AED; color: #fff; }
.tf-pick__b.tf-train--同行.on, .tf-train-day.tf-train--同行.on { background: #C2410C; border-color: #C2410C; color: #fff; }

/* 一部自己手配で選んでいない日の知らせ（2026-11-12） */
.tf-err.tf-err--sm { font-size: 12px; padding: 8px 10px; margin: -2px 0 10px; }

/* 修正が許可された（2026-11-12） */
.shift-banner.allowed { background: #15803D; border-color: #166534; color: #fff; font-size: 13px; font-weight: 700; padding: 12px 14px; }
.tf-allowed { background: #DCFCE7; border: 2px solid #16A34A; color: #14532D; border-radius: 8px; padding: 10px 12px; font-size: 13px; margin-bottom: 8px; }
.tf-allowed b { display: block; font-size: 15px; color: #15803D; margin-bottom: 2px; }
.tf-status.allowed { background: #16A34A; color: #fff; }

/* 週の予定の「営業」「休み」（2026-11-12） */
.tf-pick__b.tf-train--営業.on, .tf-train-day.tf-train--営業.on { background: #1E40AF; border-color: #1E40AF; color: #fff; }
.tf-pick__b.tf-train--休み.on, .tf-train-day.tf-train--休み.on { background: #64748B; border-color: #64748B; color: #fff; }
.tf-pick.tf-train-kinds .tf-pick__b { min-width: 18%; }
.tf-pick__b.tf-train--その他.on, .tf-train-day.tf-train--その他.on { background: #A16207; border-color: #A16207; color: #fff; }
.tf-pick.tf-train-kinds .tf-pick__b { min-width: 30%; }

/* スマホ通知（2026-11-13・通知の画面のいちばん上） */
.cl-pushbox { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; padding: 12px 14px; border: 1px solid #bfdbfe; border-radius: 14px; background: #eff6ff; font-size: 13px; line-height: 1.6; }
.cl-pushbox b { font-size: 14px; color: #1e3a8a; }
.cl-pushbox.is-on { background: #f0fdf4; border-color: #bbf7d0; }
.cl-pushbox.is-on b { color: #15803d; }
.cl-pushbox.is-off { background: #f8fafc; border-color: #e2e8f0; }
.cl-pushbox.is-off b { color: #475569; }
.cl-pushbox__btn { padding: 10px; border: 0; border-radius: 10px; background: #1e40af; color: #fff; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.cl-pushbox__btn:disabled { opacity: .6; }
.cl-pushbox__off { align-self: flex-start; padding: 6px 10px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; color: #475569; font: inherit; font-size: 12px; cursor: pointer; }
.cl-pushbox__msg { color: #15803d; font-weight: 700; font-size: 12px; }
.cl-pushbox__msg:empty { display: none; }
.tf-train-day.tf-train--当欠.on { background: #DC2626; border-color: #DC2626; color: #fff; }
span.tf-train-day { cursor: default; }

/* フライト・レンタカーの中身を見出しつきの行で（2026-11-16） */
.cl-kv { display: grid; grid-template-columns: 4.5em 1fr; gap: 4px 10px; margin: 8px 0 2px; font-size: 14px; }
.cl-kv dt { color: #64748B; font-size: 12px; padding-top: 2px; }
.cl-kv dd { margin: 0; color: #0F172A; font-weight: 700; overflow-wrap: anywhere; white-space: pre-line; }

/* ---- 手配のカード：電話・住所・内勤が添えた文とURL（2026-11-16）---- */
.cl-link { color: #1D4ED8; text-decoration: underline; word-break: break-all; }
.cl-pre { white-space: pre-wrap; word-break: break-word; }
.cl-travel-note { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #FFF8E1; border: 1px solid #FDE68A; font-size: 14px; line-height: 1.6; color: #1F2937; }
.cl-travel-note__h { font-size: 12px; font-weight: 700; color: #92400E; margin-bottom: 4px; }
.cl-travel-note__url { display: block; margin-top: 6px; font-size: 13px; }

/* 早めバック・ロレックスチャレンジ（2026-11-19・shinchoku.js の seidoHtml）。「見る → 今週」のまとめのすぐ下 */
.sd-cards { display: grid; gap: 10px; margin: 0 0 12px; }
.sd-card { background: #fff; border-radius: 12px; padding: 12px; border: 1.5px solid #BFDBFE; }
.sd-card__head { font-size: 14px; font-weight: 700; color: #1E3A8A; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.sd-card__head small { font-size: 11.5px; font-weight: 400; color: #64748B; white-space: nowrap; }
.sd-eb__big { margin: 8px 0 4px; padding: 10px 12px; border-radius: 10px; font-size: 18px; font-weight: 700; }
.sd-eb__big.is-ok { background: #DCFCE7; color: #166534; }
.sd-eb__big.is-ng { background: #FEE2E2; color: #B91C1C; }
.sd-eb__big.is-none, .sd-eb__big.is-before { background: #F1F5F9; color: #475569; font-size: 16px; }
.sd-eb__day { font-size: 13px; color: #0F172A; margin: 2px 0 6px; }
.sd-eb__short { margin: 0 0 6px; padding-left: 18px; font-size: 12.5px; color: #B91C1C; line-height: 1.6; }
.sd-eb__short--run { color: #9A3412; }
.sd-eb__row { display: grid; gap: 2px; padding: 7px 0; border-top: 1px solid #E2E8F0; }
.sd-eb__lbl { font-size: 11px; color: #64748B; }
.sd-eb__v { font-size: 13px; font-variant-numeric: tabular-nums; color: #0F172A; }
.sd-tag { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.sd-tag.is-ok { background: #DCFCE7; color: #166534; }
.sd-tag.is-ng { background: #FEE2E2; color: #B91C1C; }
.sd-tag.is-none, .sd-tag.is-before { background: #F1F5F9; color: #475569; }
.sd-rx__done { margin: 8px 0 2px; padding: 10px 12px; border-radius: 10px; background: #FEF3C7; color: #92400E; font-size: 20px; font-weight: 700; }
.sd-rx__done small { margin-left: 8px; font-size: 12px; font-weight: 400; }
.sd-rx__count { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 4px; }
.sd-rx__count > div { background: #EEF2FF; border-radius: 10px; padding: 8px 10px; font-size: 12px; color: #1E3A8A; }
.sd-rx__count span { display: block; font-size: 11px; color: #64748B; }
.sd-rx__count b { font-size: 22px; margin-right: 2px; }
.sd-rx__left { font-size: 12.5px; color: #334155; margin: 4px 0 6px; }
.sd-rx__months { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 6px; }
.sd-rx__m { display: inline-grid; min-width: 52px; padding: 4px 6px; border-radius: 8px; background: #F8FAFC; border: 1px solid #E2E8F0; font-size: 12px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.sd-rx__m small { font-size: 10px; font-weight: 400; color: #64748B; }
.sd-rx__m.is-high { background: #FEF3C7; border-color: #F59E0B; color: #92400E; }
.sd-rx__m.is-low { background: #DCFCE7; border-color: #22C55E; color: #166534; }
.sd-rx__m.is-open { color: #1E40AF; }
.sd-rx__m.is-wait { color: #92400E; }
.sd-rules { margin-top: 6px; border-top: 1px solid #E2E8F0; }
.sd-rules > summary { font-size: 13px; font-weight: 700; color: #1E40AF; padding: 9px 2px 3px; cursor: pointer; }
.sd-rules__body { font-size: 12.5px; line-height: 1.7; color: #0F172A; }
.sd-rules__body p { margin: 6px 0; }
.sd-rules__body ul { margin: 0 0 6px; padding-left: 2px; list-style: none; }
.sd-rules__h { font-weight: 700; color: #1E3A8A; }
.sd-rules__note { display: block; color: #9A3412; }
.sd-rules__foot { font-size: 11.5px; color: #64748B; }

/* =========================================================
   過去最高売上・現在の売上のゲージ（2026-11-19）。中身は shinchoku.js の salesGaugeHtml
   絵（assets/images/shinchoku/sales-gauge-*.webp・2:1）の上に、文字と塗りを％で重ねる。
   ⚠ 位置は元の絵（1774×887）で測った値：
     上の箱（過去最高）x 568〜1228・y 160〜290／まん中の箱（現在）x 707〜1268・y 452〜555／
     バーの内側 x 369〜1533・y 670〜762／贈り物の線 x 1438.5（＝1,500万円の位置）
   ⚠ 文字の大きさは絵の幅に合わせる（cqw＝絵の幅の1%）。
   ========================================================= */
.sg { margin: 0 0 12px; }
.sg__art { position: relative; width: 100%; max-width: 480px; margin: 0 auto; aspect-ratio: 2 / 1; container-type: inline-size; }
.sg__img { display: block; width: 100%; height: 100%; border-radius: 14px; }
.sg__box { position: absolute; display: flex; align-items: center; justify-content: center; text-align: center; white-space: nowrap; }
.sg__box b { font-weight: 800; letter-spacing: .01em; }
/* ⚠ 看板（プラカード）は右上がりに 3.3度かたむいている（元の絵で測った：中の枠の上の線 x600→y200・x1200→y165）。
     文字も同じだけかたむける（2026-11-19 ご指示「プラカードに合わせて斜めに綺麗に」）。中心は x900・y238.5 */
.sg__box--best { left: 32.4%; width: 36.6%; top: 20.3%; height: 13.2%; transform: rotate(-3.3deg); transform-origin: 50% 50%; }
.sg__box--best b { color: #6B3F12; font-size: 6.4cqw; }
.sg__box--now { left: 39.9%; width: 31.6%; top: 51.0%; height: 11.6%; }
.sg__box--now b { color: #1E3A8A; font-size: 5.6cqw; }
.sg__box b.is-none { font-size: 3.6cqw; font-weight: 700; color: #94A3B8; }
.sg__when { position: absolute; left: 50.7%; top: 33.4%; transform: translateX(-50%) rotate(-3.3deg); font-size: 2.6cqw; font-weight: 700;
  color: #8A5A1F; background: rgba(255, 248, 230, .95); border: 1px solid #E8C67A; border-radius: 999px; padding: .2cqw 1.6cqw; white-space: nowrap; }
/* バーの内側 */
.sg__bar { position: absolute; left: 20.8%; width: 65.6%; top: 75.6%; height: 10.4%; border-radius: 999px; overflow: hidden; }
.sg__fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px 0 0 999px; }
.sg__fill--best { background: linear-gradient(180deg, #A7F3C0, #6EE7A0); opacity: .75; }
.sg__fill--now { background: linear-gradient(180deg, #22C55E, #15803D); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15); }
.sg__seg { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: rgba(15, 30, 60, .55); }
.sg__mark { position: absolute; top: 0; bottom: 0; margin-left: -1.5px; width: 3px; }
.sg__mark--low { background: rgba(255, 255, 255, .85); }
.sg__mark--high { background: #FACC15; box-shadow: 0 0 4px rgba(250, 204, 21, .9); }
/* 贈り物の線の丸は絵に描いてあるので出さない */
.sg__dot { display: none; }
.sg__prize { position: absolute; left: 83.4%; top: 62.4%; transform: translateX(-50%); font-size: 2.5cqw; font-weight: 800; color: #7C4A03;
  background: #FFF3C4; border: 1px solid #F2C14E; border-radius: 999px; padding: .1cqw 1.4cqw; white-space: nowrap; }
/* 目盛りの文字（バーの下）。--at＝バーの内側の％ */
.sg__tick { position: absolute; top: 87.4%; left: calc(20.8% + 65.6% * var(--at) / 100); transform: translateX(-50%);
  font-size: 2.4cqw; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(15, 30, 60, .8); white-space: nowrap; }
.sg__tick--high { color: #FDE68A; }
.sg__cap { max-width: 480px; margin: 6px auto 0; text-align: center; }
.sg__cap p { margin: 2px 0; font-size: 13px; color: #1E3A8A; }
.sg__cap b { font-size: 15px; }
.sg__cap small { font-size: 11.5px; color: #15803D; margin-left: 4px; }
.sg__rec { font-weight: 800; color: #B45309 !important; }
.sg__note { font-size: 10.5px !important; color: #64748B !important; }
.sg.is-goal .sg__fill--now { background: linear-gradient(180deg, #FDE047, #EAB308); }

/* ロレックスチャレンジの期間と回数（2026-11-20）。数えるのはサーバー（/seido の rolex.progress） */
.sg__period { max-width: 480px; margin: 0 auto 6px; text-align: center; background: #FFF7DB; border: 1px solid #F2C14E; border-radius: 12px; padding: 5px 10px; }
.sg__period b { display: block; font-size: 13px; color: #7C4A03; }
.sg__period span { display: block; font-size: 12px; font-weight: 700; color: #92400E; }
.sg__rxh { font-size: 11.5px !important; color: #64748B !important; margin: 6px 0 2px !important; }
.sg__rx { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 auto 2px; max-width: 360px; }
.sg__rxi { display: flex; flex-direction: column; align-items: center; background: #fff; border: 1.5px solid #C7D7F5; border-radius: 10px;
  padding: 4px 6px; color: #1E3A8A; line-height: 1.3; }
.sg__rxi small { font-size: 11px; color: #475569; white-space: nowrap; }
.sg__rxi span { font-size: 13px; white-space: nowrap; }
.sg__rxi b { font-size: 18px; color: #B45309; margin: 0 1px; }
.sg__rxi em { font-style: normal; font-size: 11px; color: #64748B; }
p.sg__rx.is-done { display: block; font-weight: 800; color: #15803D; font-size: 14px; }
