
  /* 色（2026-10-19 見た目の作り直し。運営者「1」）: 温かい白＋深い緑。暗い画面も同じ緑系で作り直した。
     変数の名前（--mint など）は前のままにして、中身だけ替えている（ほかの画面がこの名前で色を借りているため） */
  :root {
    --bg: #111814; --card: #18211c; --card-2: #1e2822;
    --ink: #edf2ee; --ink-2: #c6d0c9; --muted: #9ba79f;
    --line: rgba(200, 220, 208, .12); --line-2: rgba(200, 220, 208, .26);
    --mint: #5cc497; --amber: #e7b24c; --red: #f0716b; --blue: #6aa8d6; --purple: #a99be0;
    --num: "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
    --strong: #ffffff; --av-a: #33423a; --av-b: #222d27;
  }
  [data-theme="light"] {
    --bg: #f7f5f0; --card: #ffffff; --card-2: #f3f1ec;
    --ink: #1d2721; --ink-2: #3b463f; --muted: #5f6a63;
    --line: rgba(29, 39, 33, .10); --line-2: rgba(29, 39, 33, .20);
    --mint: #1f6b4f; --amber: #b5701a; --red: #c63f3a; --blue: #2c6a9a; --purple: #6a58a8;
    --strong: #13201a; --av-a: #d6dcd7; --av-b: #a9b3ac;
  }
  * { box-sizing: border-box; }
  html { color-scheme: dark; }
  html[data-theme="light"] { color-scheme: light; }
  [data-theme="light"] body { background-image: none; }
  [data-theme="light"] .card, [data-theme="light"] .store-card, [data-theme="light"] .tile { box-shadow: 0 1px 2px rgba(29, 39, 33, .04), 0 6px 18px rgba(29, 39, 33, .05); }
  [data-theme="light"] .alert { color: #9f1239; background: rgba(225, 29, 72, .08); border-color: rgba(225, 29, 72, .3); }
  [data-theme="light"] .note { color: #92400e; background: rgba(217, 119, 6, .08); border-color: rgba(217, 119, 6, .3); }
  [data-theme="light"] .tile.blue .v { color: var(--blue); }
  [data-theme="light"] .pw { color: var(--mint); }
  [data-theme="light"] .hd .bell b { color: #fff; }
  .hd .theme { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--ink-2); text-decoration: none; border: 1px solid var(--line); background: var(--card); margin-left: 8px; }
  body {
    margin: 0; background: var(--bg); color: var(--ink);
    font-family: "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, sans-serif;
    font-size: 16px; line-height: 1.6; -webkit-text-size-adjust: 100%; font-feature-settings: "tnum" 1;
    background-image: none;
  }
  .wrap { max-width: 720px; margin: 0 auto; padding: 14px 16px 96px; }
  /* ワイドの画面では広げる（2026-09-18 運営者「俺のパソコンワイドだから」）。
     スマホでは今までどおり。管理画面の表が右に切れていたのも、これで収まる。 */
  @media (min-width: 1080px) {
    .wrap { max-width: 1240px; padding-left: 24px; padding-right: 24px; }
    /* 左の柱（lib/nav.js）に CREVE OS が出るので、あたまの名乗りは重ねない */
    .hd .brand, .hd .tag { display: none; }
    .hd { justify-content: flex-end; }
  }
  @media (min-width: 1560px) { .wrap { max-width: 1560px; } }
  /* MIX LAB の作りの画面（スタイリスト。lib/ml-skin.js）は、上の帯を端から端まで出すので枠を外す */
  .wrap:has(> .mls) { max-width: none; padding: 0; }
  body:has(.mls) { background: #fff; }
  a { color: var(--mint); }
  /* あたま */
  .hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0 14px; }
  .hd .brand { font-family: var(--num); font-size: 22px; font-weight: 800; letter-spacing: .12em; line-height: 1; white-space: nowrap; color: var(--mint); }
  .hd .tag { font-size: 10.5px; color: var(--muted); letter-spacing: .04em; margin-top: 3px; white-space: nowrap; }
  @media (max-width: 420px) { .hd .tag { display: none; } .hd .date { font-size: 12px; } }
  .hd .date { font-size: 12px; color: var(--ink-2); text-align: right; }
  .hd .wx { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; line-height: 1.35; }
  .hd .wx-1, .hd .wx-2 { display: block; white-space: nowrap; }
  .hd .wx b { color: var(--ink); font-family: var(--num); font-size: 13px; }
  .hd .bell { position: relative; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--ink-2); text-decoration: none; border: 1px solid var(--line); background: var(--card); margin-left: 10px; }
  .hd .bell b { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; }
  .hd.sub { padding: 10px 0 12px; justify-content: flex-start; }
  .hd.sub a.back { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 20px; }
  .hd.sub h1 { font-size: 17px; font-weight: 800; margin: 0; }
  h1.plain { font-size: 22px; font-weight: 800; margin: 0 0 4px; }
  .lead { color: var(--muted); font-size: 13px; margin: 0 0 16px; }
  /* 合言葉 */
  label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--ink-2); }
  input[type=password] { width: 100%; font-size: 16px; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); color: var(--ink); caret-color: var(--mint); }
  input[type=password]:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px rgba(52, 211, 153, .18); }
  button.primary { width: 100%; margin-top: 16px; font-size: 15px; font-weight: 800; padding: 14px; border: 0; border-radius: 12px; cursor: pointer; color: #fff; background: var(--mint); }
  .alert { background: rgba(240, 78, 106, .12); border: 1px solid rgba(240, 78, 106, .35); color: #ffb3c1; border-radius: 12px; padding: 10px 12px; font-size: 13px; margin-bottom: 14px; }
  .muted { color: var(--muted); font-size: 12.5px; }
  .pw { font-family: var(--num); font-weight: 800; background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .35); border-radius: 8px; padding: 2px 10px; font-size: 15px; letter-spacing: .1em; color: var(--mint); }
  footer { margin-top: 26px; text-align: center; }
  form.logout { display: inline; }
  form.logout button { background: none; border: 0; color: var(--muted); font-size: 12.5px; text-decoration: underline; cursor: pointer; padding: 0; }
  
  .card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; margin-bottom: 12px; }
  .card.tight { padding: 14px 16px; }
  .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
  .ttl { font-size: 14px; font-weight: 700; color: var(--ink); }
  .ttl small { font-weight: 500; color: var(--muted); font-size: 13.5px; margin-left: 4px; }
  .sec { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 2px 10px; }
  .sec h2 { font-size: 16px; font-weight: 800; margin: 0; letter-spacing: .01em; }
  .sec a { font-size: 13.5px; color: var(--muted); text-decoration: none; }
  .pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
  .pill i { width: 6px; height: 6px; border-radius: 99px; background: currentColor; display: inline-block; }
  .pill.good { color: var(--mint); background: rgba(52, 211, 153, .13); }
  .pill.warn { color: var(--amber); background: rgba(245, 183, 61, .14); }
  .pill.bad  { color: var(--red);  background: rgba(240, 78, 106, .14); }
  .pill.none { color: var(--muted); background: rgba(148, 163, 184, .12); }
  .big { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
  .big .amount { font-family: var(--num); font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--strong); }
  .big .unit { font-size: 14px; color: var(--muted); }
  .big .right { margin-left: auto; font-size: 14px; color: var(--ink-2); }
  .big .right b { color: var(--strong); font-size: 15px; }
  .bar { height: 8px; border-radius: 99px; background: rgba(148, 163, 184, .16); overflow: hidden; margin: 10px 0 8px; }
  .bar > span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #2dd4bf, #34d399); }
  .bar > span.c1 { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
  .bar > span.c2 { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
  .sub { font-size: 14px; color: var(--ink-2); display: flex; gap: 12px; flex-wrap: wrap; }
  .sub .sep { color: var(--line-2); }
  .stats3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
  .stats3 > div { padding: 0 8px; border-left: 1px solid var(--line); min-width: 0; overflow-wrap: anywhere; }
  .stats3 > div:first-child { border-left: 0; padding-left: 0; }
  .stats3 .k { font-size: 12.5px; color: var(--muted); }
  .stats3 .v { font-family: var(--num); font-size: 19px; font-weight: 800; color: var(--strong); margin-top: 2px; letter-spacing: -.01em; }
  .stats3 .v small { font-size: 12.5px; font-weight: 500; color: var(--muted); margin-left: 2px; }
  .stats3 .s { font-size: 12px; color: var(--muted); margin-top: 1px; white-space: normal; }
  .up { color: var(--mint); font-weight: 700; } .down { color: var(--red); font-weight: 700; } .flat { color: var(--muted); }
  .amb { color: var(--amber); font-weight: 700; }
  /* 店舗カード */
  .store-card { display: block; text-decoration: none; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; margin-bottom: 10px; }
  .store-card .name { font-family: var(--num); font-size: 17px; font-weight: 800; }
  .store-card .amt { font-family: var(--num); font-size: 22px; font-weight: 800; margin-top: 6px; color: var(--strong); }
  .store-card .amt small { font-size: 14px; font-weight: 600; color: var(--muted); }
  .store-card .pace { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
  .store-card .chev { color: var(--muted); }
  .store-card .pct { font-size: 13.5px; color: var(--ink-2); margin-left: 8px; }
  /* ワイドでは3店を横に並べる。縦に積むと、それだけで画面1つ分を使ってしまうため（2026-09-18） */
  .store-row { display: block; }
  @media (min-width: 1080px) {
    .store-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .store-row .store-card { margin-bottom: 0; }
  }
  /* 目標バー。補填があるときはバー全体＝補填込みの目標、通常の目標の位置に縦の印、その先を縞で塗る */
  .gbar { position: relative; overflow: visible; height: 8px; border-radius: 99px; background: rgba(148, 163, 184, .16); margin: 10px 0 5px; }
  .gbar .val { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(90deg, #2dd4bf, #34d399); }
  .gbar .val.c1 { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
  .gbar .val.c2 { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
  .gbar .fillzone { position: absolute; top: 0; bottom: 0; right: 0; border-radius: 0 99px 99px 0; background: repeating-linear-gradient(135deg, rgba(245, 158, 11, .55) 0 3px, transparent 3px 6px); }
  .gbar .tick { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--ink); border-radius: 1px; }
  .barlbl { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
  .barlbl b { color: var(--strong); font-family: var(--num); font-weight: 700; }
  .barlbl .fillamt { color: #f59e0b; font-weight: 700; }
  .legend i.tgt { border-top: 2px solid currentColor; }
  .legend i.fillline { border-top: 1.5px dashed #f59e0b; }
  /* ワイドの画面では2〜3列に流す（2026-09-18 運営者の要望）。
     細い画面（スマホ）では今までどおり1列。列に分けるのは並べるブロックだけで、
     全店の数字・見張り・店舗ごとの状況は、どの幅でも横いっぱいに出す。 */
  .home-grid { display: block; }
  /* いちばん上の3つ（通販の注文・SIX のクーポン・届いたファイル）。ワイドでは横並び、細い画面では縦に積む（2026-10-07） */
  .top3 { display: grid; grid-template-columns: 1fr; gap: 0 22px; align-items: start; }
  .top3 .t3 > .sec:first-child { margin-top: 0; }
  @media (min-width: 1080px) { .top3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 8px; } }
  /* 今日やること と 店長・代表のやること。ワイドでは横に2つ（2026-10-07） */
  .task2 { display: grid; grid-template-columns: 1fr; gap: 0 22px; align-items: start; }
  @media (min-width: 1080px) { .task2:has(> .blk + .blk) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  /* 段組みにすると高さが自動でそろい、すきまが空かない（格子だと行の高さが背の高い方に合ってしまう） */
  .blk { break-inside: avoid; page-break-inside: avoid; }
  .blk > .sec:first-child { margin-top: 0; }
  @media (min-width: 1080px) {
    .home-grid { column-count: 2; column-gap: 22px; }
    .blk { margin-bottom: 16px; }
  }
  @media (min-width: 1560px) {
    .home-grid { column-count: 3; }
  }
  /* ---- 見た目の作り直し（2026-10-19）。管理者のホーム ---- */
  /* 確認してほしいこと ◯件。どのタブを開いていても上に出す */
  .attn { border: 1px solid color-mix(in srgb, var(--red) 35%, transparent); background: color-mix(in srgb, var(--red) 7%, var(--card)); border-radius: 14px; padding: 12px 16px; margin: 4px 0 14px; }
  .attn.ok { border-color: var(--line); background: var(--card); }
  .attn.ok .attn-ttl { color: var(--mint); }
  .attn-ttl { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 800; color: var(--red); }
  .attn-ttl b { font-family: var(--num); }
  .attn-mark { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 99px; background: var(--red); color: #fff; font-size: 14px; font-weight: 800; }
  .attn ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 4px 18px; }
  @media (min-width: 1080px) { .attn ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .attn li a { display: flex; justify-content: space-between; gap: 10px; align-items: center; min-height: 40px; padding: 6px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 14.5px; background: color-mix(in srgb, var(--card) 70%, transparent); }
  .attn li a:hover, .attn li a:focus-visible { background: var(--card); }
  .attn li a span { color: var(--muted); font-size: 18px; }
  /* 「見た」（2026-10-23）。行の右に小さく。押せる高さは44px */
  .attn li:has(> .attn-f) { display: flex; gap: 6px; align-items: stretch; }
  .attn li:has(> .attn-f) > a { flex: 1; min-width: 0; }
  .attn-f { margin: 0; display: flex; }
  .attn-b { font: inherit; font-size: 14px; font-weight: 700; color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 10px; min-height: 44px; min-width: 52px; padding: 0 10px; cursor: pointer; white-space: nowrap; }
  .attn-b:hover, .attn-b:focus-visible { color: var(--ink); border-color: var(--muted); }
  .attn-seen { margin-top: 6px; font-size: 14px; color: var(--muted); }
  .attn.all-seen .attn-seen { margin-top: 0; }
  .attn-seen summary { cursor: pointer; padding: 6px 0; }
  .attn-seen ul { opacity: .8; }
  /* タブ。JS が無いときは出さない（全部並ぶ） */
  .htabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 0 0 14px; overflow-x: auto; }
  .htabs button { font: inherit; font-size: 15px; font-weight: 700; color: var(--muted); background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px; min-height: 44px; cursor: pointer; white-space: nowrap; }
  .htabs button.on { color: var(--mint); border-bottom-color: var(--mint); }
  .htabs button:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; border-radius: 6px; }
  .htabs small { font-family: var(--num); font-size: 13.5px; background: var(--card-2); border-radius: 99px; padding: 1px 8px; margin-left: 4px; }
  .hpanel .blk { margin-bottom: 16px; }
  /* 今日の仕事のいちばん上（今月の売上・今日の売上目標）は、ワイドでは横に2つ */
  @media (min-width: 1080px) {
    .pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; align-items: start; }
    .pair:not(:has(> .blk + .blk)) { grid-template-columns: 1fr; }
    #h-inbox { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; align-items: start; }
    /* お店の数字は、前のホームと同じ段組み（グラフや表がこの幅で作られている）。表の広いものだけ横いっぱい */
    #h-numbers { column-count: 2; column-gap: 22px; }
    #h-numbers > .blk.wide { column-span: all; }
  }
  @media (min-width: 1560px) {
    #h-numbers { column-count: 3; }
  }
  @media print { .htabs { display: none; } .hpanel[hidden] { display: block !important; } }
  /* やることの店の切り替え（管理者だけ） */
  .tk-stores { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
  .tk-stores a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--ink-2); text-decoration: none; font-size: 14.5px; font-weight: 700; background: var(--card); }
  .tk-stores a.on { background: var(--mint); border-color: var(--mint); color: #fff; }
  /* できた仕事は畳む */
  details.tk-done { margin: 6px 0 10px; }
  details.tk-done > summary { cursor: pointer; color: var(--muted); font-size: 14px; padding: 6px 0; }
  /* 見出しの直下に置く、赤字のまとめ。「事実 → だから何をするか」 */
  .lead-box { margin: 2px 0 10px; }
  .lead-line { margin: 0 0 5px; font-size: 14px; line-height: 1.55; }
  .lead-line.act { color: var(--red); }
  .lead-line.good { color: var(--mint); }
  [data-theme="light"] .lead-line.act { color: #be123c; }
  /* いつのデータか。見出しの横に小さく */
  .asof { font-size: 13px; color: var(--muted); font-weight: 500; }
  /* 細い画面では、見出しの横ではなく下の行に。横に並べると見出しが2行に割れる */
  @media (max-width: 560px) { .sec h2 .asof { display: block; margin-top: 2px; } }
  .fill { font-size: 14px; color: var(--ink-2); margin: 2px 0 6px; }
  .fill b { color: var(--strong); font-family: var(--num); }
  .fill small { color: var(--muted); }
  /* サマリータイル */
  .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .tile { border-radius: 16px; padding: 12px 12px 10px; border: 1px solid var(--line); background: var(--card); }
  .tile .k { font-size: 12.5px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
  .tile .v { font-family: var(--num); font-size: 24px; font-weight: 800; margin: 4px 0 0; line-height: 1.1; }
  .tile .s { font-size: 12px; color: var(--muted); margin-top: 3px; }
  .tile.mint { background: linear-gradient(160deg, rgba(52,211,153,.16), rgba(52,211,153,.04)); border-color: rgba(52,211,153,.3); } .tile.mint .v { color: var(--mint); }
  .tile.blue { background: linear-gradient(160deg, rgba(59,130,246,.18), rgba(59,130,246,.04)); border-color: rgba(59,130,246,.3); } .tile.blue .v { color: #7fb1ff; }
  .tile.amber { background: linear-gradient(160deg, rgba(245,183,61,.16), rgba(245,183,61,.04)); border-color: rgba(245,183,61,.3); } .tile.amber .v { color: var(--amber); }
  /* 最新の日 */
  .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
  .cell { border: 1px solid var(--line); border-radius: 12px; padding: 9px 10px; text-decoration: none; color: inherit; background: var(--card-2); }
  .cell .k { font-size: 12.5px; color: var(--muted); }
  .cell .v { font-family: var(--num); font-size: 17px; font-weight: 800; color: var(--strong); margin-top: 2px; }
  .cell .v small { font-size: 12.5px; font-weight: 500; color: var(--muted); }
  .cell .s { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
  /* 気をつけること */
  .alert-row { display: flex; gap: 10px; align-items: flex-start; text-decoration: none; border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; font-size: 14px; line-height: 1.5; border: 1px solid var(--line); background: var(--card-2); color: var(--ink-2); }
  .alert-row .dot { width: 8px; height: 8px; border-radius: 99px; margin-top: 6px; flex: 0 0 auto; }
  .alert-row.warn .dot { background: var(--amber); } .alert-row.info .dot { background: var(--blue); }
  .alert-row.bad .dot { background: var(--red); } .alert-row.bad { border-color: rgba(240, 78, 106, .35); }
  /* 見張り: ツールが生きているかの札 */
  .chip.on { color: var(--mint); border-color: rgba(52,211,153,.35); }
  .chip.off { color: var(--red); border-color: rgba(240,78,106,.45); font-weight: 700; }
  /* 表 */
  table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
  table.tbl th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12.5px; padding: 8px 6px; background: var(--card-2); }
  table.tbl th:first-child { border-radius: 8px 0 0 8px; } table.tbl th:last-child { border-radius: 0 8px 8px 0; }
  table.tbl td { padding: 10px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; color: var(--ink-2); vertical-align: middle; }
  table.tbl tr:last-child td { border-bottom: 0; }
  table.tbl td.n, table.tbl th.n { text-align: right; font-variant-numeric: tabular-nums; }
  table.tbl td.name { color: var(--ink); font-weight: 600; }
  .av { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 99px; margin-right: 8px; font-size: 13.5px; font-weight: 700; color: var(--strong); background: linear-gradient(160deg, var(--av-a), var(--av-b)); border: 1px solid var(--line-2); vertical-align: middle; }
  table.tbl td.name .tag { margin-left: 8px; font-size: 12px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 2px 7px; vertical-align: middle; }
  /* 技術チェックの一覧（2026-09-25）。受かったぶんと、残りを並べて出す */
  .skills { display: grid; gap: 4px 20px; margin-top: 10px; }
  @media (min-width: 640px) { .skills { grid-template-columns: 1fr 1fr; } }
  .skills .list li { padding-left: 22px; }
  .skills .list li::before { display: none; }
  .skills .ok { position: absolute; left: 0; color: var(--mint); font-weight: 700; }
  .skills .yet { position: absolute; left: 2px; color: var(--line-2); }
  .skills .when { color: var(--muted); font-size: 12.5px; margin-left: 6px; }
  .skills li.next { color: var(--ink); font-weight: 700; }
  .skills .tagnext { font-size: 12px; font-weight: 700; color: var(--amber); border: 1px solid rgba(245,183,61,.45); border-radius: 99px; padding: 1px 7px; margin-left: 8px; }
  .skills li.none { color: var(--muted); }
  .skills .ok-list li { color: var(--ink-2); }
  /* 自分の情報の入力欄（2026-09-25）。スマホで打つので、欄を縦に積んで大きめに */
  .pf-form { margin-top: 10px; }
  .pf { display: block; margin-bottom: 14px; }
  .pf .k { display: block; font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
  .pf .h { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }
  .pf input { width: 100%; box-sizing: border-box; font-size: 16px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card-2); color: var(--ink); }
  .pf input:focus { outline: 2px solid var(--mint); outline-offset: 1px; }
  .pf-form button.go { font-size: 15px; font-weight: 700; padding: 11px 22px; border: 1px solid rgba(52,211,153,.5); border-radius: 10px; background: rgba(52,211,153,.12); color: var(--mint); cursor: pointer; }
  .flash { border-radius: 12px; padding: 10px 14px; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
  .flash.ok { background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.4); color: var(--mint); }
  .flash.ng { background: rgba(240,78,106,.10); border: 1px solid rgba(240,78,106,.4); color: var(--red); }
  /* 「全員を見る」の折りたたみ。押せることが見て分かるよう、丸い札の形にする */
  details.more { margin-top: 10px; }
  details.more > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); background: var(--card-2); border: 1px solid var(--line); border-radius: 99px; padding: 7px 14px; user-select: none; }
  details.more > summary::-webkit-details-marker { display: none; }
  details.more > summary::after { content: "▾"; font-size: 11.5px; color: var(--muted); }
  details.more[open] > summary::after { content: "▴"; }
  details.more > summary:hover { border-color: var(--line-2); color: var(--ink); }
  details.more > div { margin-top: 10px; }
  /* スタッフ上位は横いっぱいに置くが、表が伸びきると名前と前年比が離れすぎて行を追えない */
  .staffcard table.tbl { max-width: 1080px; }
  /* 店舗の共用パソコン（受付・バックルーム）。立ったまま少し離れて見るので、
     表は画面いっぱいに使い、文字と行の高さを一回り大きくする（2026-09-26） */
  .store-home .staffcard table.tbl { max-width: none; }
  .store-home table.tbl th { font-size: 14px; }
  .store-home table.tbl td { font-size: 15px; padding: 12px 8px; }
  .store-home .sec h2 { font-size: 19px; }
  .store-home .lead li { font-size: 14.5px; }
  /* 店舗の共用パソコンで足したカード（2026-09-26） */
  /* 今日やること（2026-09-26）。指でも押せる大きさにする */
  /* 店長・代表のぶんは、店のぶんと取り違えないよう左に印を付ける */
  .card.tk-mgr { border-left: 3px solid var(--violet, #a78bfa); }
  ul.tasks { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
  ul.tasks li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--card-2); }
  ul.tasks li.none { color: var(--muted); font-size: 14px; justify-content: center; }
  ul.tasks li.is-done { opacity: .62; }
  .tk-tag { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 1px 8px; border-radius: 999px; margin: 0 6px 2px 0; background: rgba(59, 130, 246, .16); color: var(--ink-2); }
  .tk-tag.late { background: rgba(239, 68, 68, .18); color: #ef4444; }
  .tk-cal-links { display: flex; gap: 8px 18px; flex-wrap: wrap; margin: 12px 0 0; font-size: 14px; font-weight: 700; }
  .cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
  .cal .wd { font-size: 13.5px; color: var(--muted); text-align: center; }
  .cal a.day, .cal span.day { display: block; min-height: 64px; padding: 6px; border-radius: 10px; background: var(--card-2); color: var(--ink); text-decoration: none; font-size: 14px; }
  .cal span.day { background: transparent; }
  .cal a.day.today { outline: 2px solid var(--ink); }
  .cal a.day.past { opacity: .7; }
  .cal .n { display: block; font-weight: 700; font-size: 13.5px; margin-top: 4px; }
  .cal .ng { color: #ef4444; font-weight: 700; font-size: 12.5px; display: block; }
  .cal .ok { color: #10b981; font-weight: 700; font-size: 12.5px; display: block; }
  .rule-form { display: grid; gap: 10px; max-width: 760px; }
  .rule-form .wds { display: flex; gap: 10px; flex-wrap: wrap; font-size: 14px; }
  ul.tasks li.is-done .tk-body p { text-decoration: line-through; }
  ul.tasks form { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
  /* 「振り込みました」を選ぶお知らせ（2026-10-05）。選ぶ欄で文章が細くならないよう、文章を上・ボタンを下に並べる */
  ul.tasks li:has(select[name="paid"]) { flex-direction: column; align-items: stretch; }
  ul.tasks li:has(select[name="paid"]) form { order: 2; justify-content: flex-end; }
  .tk-body { min-width: 0; flex: 1; }
  .tk-body p { margin: 0; font-size: 14.5px; color: var(--ink); line-height: 1.5; overflow-wrap: anywhere; }
  .tk-when { font-size: 13px; color: var(--muted); }
  .tk-btn { border: 0; border-radius: 99px; padding: 8px 14px; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; }
  .tk-btn.do { background: linear-gradient(90deg, #2dd4bf, #34d399); color: #06281f; }
  .tk-btn.undo { background: rgba(148, 163, 184, .18); color: var(--ink-2); }
  .tk-add { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; max-width: 760px; }
  .tk-pic { border: 1px dashed var(--line-2); border-radius: 10px; padding: 9px 14px; font-size: 14px; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
  .tk-pic:hover { border-color: var(--mint); color: var(--mint); }
  .tk-pic-name { font-size: 13.5px; color: var(--muted); align-self: center; }
  /* 写真を上げる画面のメニューえらび。スマホで押すものなので、指で押しやすいチップにする */
  .menu-pick { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); border-radius: 99px; padding: 8px 14px; margin: 0 6px 8px 0; font-size: 14px; color: var(--ink-2); cursor: pointer; }
  .menu-pick input { margin: 0; }
  .menu-pick:has(input:checked) { border-color: var(--mint); color: var(--mint); background: rgba(52, 211, 153, .12); font-weight: 700; }
  /* メニューの囲い。ブラウザの既定の枠は黒い画面では白く浮いて見えるので、自分で決める */
  form#up fieldset { border: 0; padding: 0; margin: 0 0 10px; }
  form#up legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--muted); }
  /* > [!important] この機能の唯一の入口（2026-09-27）
     施術の合間にスマホで押すものなので、指で押せる大きさ（44px 以上）にする。
     文字のリンクのままだと、.fine（11px）を受け継いだ小さな緑の字にしかならなかった */
  a.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 12px 22px; border: 0; border-radius: 12px; font-size: 15px; font-weight: 800; text-decoration: none; color: #06281f; background: linear-gradient(90deg, #2dd4bf, #34d399); }
  a.btn:hover { filter: brightness(1.06); }
  /* 素の .go にしない。管理画面の「足す」「外す」なども同じ class を使っていて
     （lib/admin-html.js）、どちらの CSS も同じ style に入るので、余白が漏れて移ってしまう */
  p.go { margin: 12px 0 0; } /* ボタンを置く行。.fine（11px）を受け継がせないために分けてある */
  @media (max-width: 560px) { a.btn { width: 100%; } }
  /* 取り消せる写真の一覧。名前と「取り消す」を1行に並べる（form は放っておくと行を折る） */
  ul.cancels { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  ul.cancels li { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 8px 12px; border-radius: 10px; background: var(--card-2); }
  ul.cancels .thumb { width: 48px; height: 48px; flex: none; border-radius: 8px; object-fit: cover; background: var(--card); border: 1px solid var(--line-2); }
  ul.cancels code { flex: 1; min-width: 0; font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }
  ul.cancels button { min-height: 40px; border: 1px solid var(--line-2); border-radius: 99px; padding: 8px 16px; font-size: 14px; font-weight: 700; color: var(--ink-2); background: rgba(148, 163, 184, .18); cursor: pointer; white-space: nowrap; }
  ul.cancels button:hover { border-color: var(--red); color: var(--red); }
  form.inline { display: inline; margin: 0; }
  .tk-img { display: block; margin-top: 6px; }
  .tk-img img { max-width: 260px; max-height: 200px; border-radius: 8px; border: 1px solid var(--line); display: block; }
  @media (max-width: 560px) { .tk-img img { max-width: 100%; } }
  ul.cmts { list-style: none; margin: 8px 0 0; padding: 0 0 0 12px; border-left: 2px solid var(--line); display: grid; gap: 6px; }
  ul.cmts li { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
  ul.cmts .cm-body { display: block; overflow-wrap: anywhere; }
  ul.cmts .tk-img img { max-width: 180px; max-height: 140px; }
  details.cm-add { margin-top: 6px; }
  details.cm-add > summary { cursor: pointer; font-size: 13.5px; color: var(--muted); list-style: none; display: inline-block; padding: 3px 10px; border: 1px solid var(--line); border-radius: 99px; }
  details.cm-add > summary::-webkit-details-marker { display: none; }
  details.cm-add > summary:hover { color: var(--ink-2); border-color: var(--line-2); }
  details.cm-add .tk-add { margin-top: 8px; }
  .tk-add input[type=text] { flex: 1; min-width: 180px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card-2); color: var(--ink); font-size: 14px; }
  .tk-add select, ul.tasks select { padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--card-2); color: var(--ink); font-size: 14px; }
  .tk-add button { border: 0; border-radius: 10px; padding: 10px 18px; font-weight: 700; font-size: 14px; cursor: pointer; background: var(--ink); color: var(--card); }
  @media (max-width: 560px) { ul.tasks li { flex-wrap: wrap; } .tk-body { order: -1; width: 100%; } }
  /* 今日の仕込み（2026-09-26）。ワイドでは2列、スマホでは1列 */
  .prep { display: grid; gap: 14px 24px; margin-top: 12px; }
  @media (min-width: 900px) { .prep { grid-template-columns: 1.4fr 1fr; } }
  .prep > div { min-width: 0; }
  .pr-h { font-size: 14px; color: var(--muted); margin: 0 0 6px; font-weight: 700; }
  .prep table.tbl td.txt { white-space: normal; text-align: left; overflow-wrap: anywhere; min-width: 0; max-width: none; }
  .prep table.tbl td + td { width: 4.5em; }
  .hours { display: flex; gap: 4px; align-items: flex-end; }
  .hcol { flex: 1; min-width: 0; text-align: center; }
  .hbar { height: 52px; border-radius: 4px; background: rgba(148,163,184,.14); position: relative; overflow: hidden; }
  .hbar .val { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, #2dd4bf, #34d399); }
  .hlbl { font-size: 12px; color: var(--muted); margin-top: 4px; font-variant-numeric: tabular-nums; }
  .hlbl small { font-size: 10.5px; }
  .hnum { font-size: 13px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
  .prep table.tbl td.txt .tag { margin-left: 8px; font-size: 12px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 2px 7px; white-space: nowrap; }
  /* 混雑予測（2026-09-26）。段階ごとに色を変え、遠くからでも形で分かるようにする */
  .crowd { display: flex; gap: 6px; margin-top: 12px; }
  .cday { flex: 1; min-width: 0; text-align: center; }
  .clv { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
  .cday.hot .clv { color: #fb923c; } .cday.cool .clv { color: #38bdf8; } .cday.mid .clv { color: var(--ink-2); }
  .cbar { height: 72px; border-radius: 6px; background: rgba(148, 163, 184, .14); position: relative; overflow: hidden; }
  .cbar .val { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, #475569, #334155); }
  .cday.hot .cbar .val { background: linear-gradient(180deg, #fb923c, #f97316); }
  .cday.mid .cbar .val { background: linear-gradient(180deg, #34d399, #10b981); }
  .cday.cool .cbar .val { background: linear-gradient(180deg, #38bdf8, #0ea5e9); }
  .cday.closed .cbar { background: repeating-linear-gradient(135deg, rgba(148,163,184,.12) 0 4px, transparent 4px 8px); }
  .cdate { font-size: 13px; color: var(--muted); margin-top: 5px; font-variant-numeric: tabular-nums; }
  .cdate small { display: block; font-size: 12px; }
  .cdate.sun { color: #f87171; } .cdate.sat { color: #60a5fa; }
  .cnum { font-size: 14px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
  /* 7日の帯を押すと開く今月・来月のカレンダー（2026-10-28） */
  details.cmore > summary { list-style: none; cursor: pointer; }
  details.cmore > summary::-webkit-details-marker { display: none; }
  .cmore-lbl { display: block; text-align: center; font-size: 13px; font-weight: 700; color: #60a5fa; margin-top: 6px; }
  .cmore-lbl::before { content: "▼ "; }
  details.cmore[open] .cmore-lbl::before { content: "▲ "; }
  details.cmore[open] .cmore-lbl { font-size: 0; } details.cmore[open] .cmore-lbl::before { font-size: 13px; content: "▲ 閉じる"; }
  .cm-wrap { display: grid; gap: 14px; margin-top: 8px; }
  @media (min-width: 1080px) { .cm-wrap { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }
  .cm-month h3 { font-size: 14px; margin: 0 0 6px; color: var(--ink); }
  .cm-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px 5px; }
  .cm-day .clv { font-size: 12px; margin-bottom: 3px; white-space: nowrap; }
  .cm-day .cbar { height: 48px; }
  .cm-day .cdate { margin-top: 3px; }
  .cm-day .cnum { font-size: 12.5px; }
  .cm-day.past { opacity: .3; }
  .cm-day.today .cbar { outline: 2px solid var(--ink); outline-offset: 1px; }
  .cm-w { text-align: center; font-size: 12px; color: var(--muted); } .cm-w.sun { color: #f87171; } .cm-w.sat { color: #60a5fa; }
  .cm-d { min-height: 46px; border-radius: 5px; background: rgba(148, 163, 184, .1); padding: 3px 2px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1px; font-variant-numeric: tabular-nums; }
  .cm-d.blank { background: none; } .cm-d.past { opacity: .35; }
  .cm-d.closed { background: repeating-linear-gradient(135deg, rgba(148,163,184,.12) 0 4px, transparent 4px 8px); }
  .cm-d.hot { background: rgba(249, 115, 22, .22); } .cm-d.mid { background: rgba(16, 185, 129, .14); } .cm-d.cool { background: rgba(14, 165, 233, .24); }
  .cm-d.today { outline: 2px solid var(--ink); outline-offset: -2px; }
  .cm-n { font-size: 12.5px; color: var(--ink-2); } .cm-n.sun { color: #f87171; } .cm-n.sat { color: #60a5fa; }
  .cm-l { font-size: 12px; font-weight: 700; color: var(--ink); } .cm-d.hot .cm-l { color: #ea580c; } .cm-d.cool .cm-l { color: #0284c7; }
  .cm-p { font-size: 11.5px; color: var(--muted); }
  .cm-g { width: 60%; max-width: 34px; height: 26px; border-radius: 4px; background: rgba(148, 163, 184, .18); position: relative; overflow: hidden; margin: 2px 0 1px; }
  .cm-g i { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, #475569, #334155); }
  .cm-d.hot .cm-g i { background: linear-gradient(180deg, #fb923c, #f97316); }
  .cm-d.mid .cm-g i { background: linear-gradient(180deg, #34d399, #10b981); }
  .cm-d.cool .cm-g i { background: linear-gradient(180deg, #38bdf8, #0ea5e9); }
  .days { display: flex; gap: 6px; margin-top: 12px; }
  .daycol { flex: 1; min-width: 0; text-align: center; }
  .dbar { height: 44px; border-radius: 6px; background: rgba(148, 163, 184, .14); position: relative; overflow: hidden; }
  .dbar .val { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, #2dd4bf, #34d399); }
  .dlbl { font-size: 13px; color: var(--muted); margin-top: 5px; font-variant-numeric: tabular-nums; }
  .dlbl small { display: block; font-size: 12px; }
  .dnum { font-size: 12.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
  .months { display: flex; gap: 5px; margin-top: 12px; align-items: flex-end; }
  .mcol { flex: 1; min-width: 0; text-align: center; }
  .mbar { height: 88px; position: relative; display: flex; align-items: flex-end; justify-content: center; }
  .mbar .prev { position: absolute; left: 12%; right: 12%; bottom: 0; background: rgba(148, 163, 184, .28); border-radius: 4px 4px 0 0; }
  .mbar .val { position: relative; width: 62%; background: linear-gradient(180deg, #2dd4bf, #34d399); border-radius: 4px 4px 0 0; }
  .mbar .val.down { background: linear-gradient(180deg, #fbbf24, #f59e0b); }
  .mlbl { font-size: 12.5px; color: var(--muted); margin-top: 5px; font-variant-numeric: tabular-nums; }
  .mlbl .wip { display: block; font-size: 11.5px; color: var(--amber, #f59e0b); }
  .mnum { font-size: 12.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
  .revs { display: grid; gap: 8px; margin-top: 12px; }
  .rev { border-left: 3px solid var(--line-2); padding: 2px 0 2px 10px; }
  .rev .stars { color: #fbbf24; font-size: 13.5px; letter-spacing: 1px; }
  .rev p { margin: 2px 0; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
  .rev .when { font-size: 12.5px; color: var(--muted); }
  .heatwrap { overflow-x: auto; margin-top: 12px; }
  table.heat-tbl td, table.heat-tbl th { padding: 6px 4px; text-align: center; font-size: 13px; }
  table.heat-tbl td.heat { background: color-mix(in srgb, var(--mint) calc(var(--v) * 72%), transparent); border-radius: 4px; color: var(--ink); font-variant-numeric: tabular-nums; }
  table.heat-tbl td.name { text-align: center; font-weight: 700; }
  table.tbl tr.mine td { background: rgba(45, 212, 191, .07); }
  table.tbl td .muted { color: var(--muted); }
  .store-home ul.list { list-style: none; margin: 10px 0 0; padding: 0; }
  .store-home ul.list li { position: relative; padding: 3px 0 3px 14px; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
  .store-home ul.list li::before { content: "・"; position: absolute; left: 0; color: var(--muted); }
  .store-home ul.list .when { color: var(--muted); font-size: 13px; }
  /* 文章の入るセル。既定は右寄せ・折り返しなしなので、そのままだと横にはみ出す */
  table.tbl td.txt { white-space: normal; text-align: left; color: var(--ink); line-height: 1.45; min-width: 200px; max-width: 460px; }
  /* 細い画面（スマホ）では、いちばん見たい先月比・前年比を画面の中に収める。
     客数・指名率・新規は隠し、丸い頭文字をやめて、店の名前は名前の下へ回す */
  @media (max-width: 760px) {
    .staffcard table.tbl th.dim, .staffcard table.tbl td.dim { display: none; }
    .staffcard table.tbl td.name .av { display: none; }
    .staffcard table.tbl td.name .tag { display: block; margin: 2px 0 0; padding: 0; border: 0; font-size: 12px; }
  }
  .fine { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; line-height: 1.5; }
  .chips { display: flex; gap: 8px; flex-wrap: wrap; }
  .chip { font-size: 13.5px; border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; color: var(--ink-2); text-decoration: none; background: var(--card-2); }
  .kv { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; font-size: 14px; }
  .kv .k { color: var(--muted); } .kv .v { color: var(--ink); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
  .kv .v small { color: var(--muted); font-weight: 500; }
  .list { margin: 6px 0 0; padding-left: 0; list-style: none; font-size: 14px; }
  .list li { padding: 4px 0 4px 18px; position: relative; color: var(--ink-2); line-height: 1.5; }
  .list li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; border-radius: 99px; background: var(--muted); }
  .list.good li::before { background: var(--mint); } .list.watch li::before { background: var(--amber); } .list.moves li::before { background: var(--blue); }
  /* 「今日のやること」の1件ごとの行き先。押せる場所だと分かる大きさにする */
  .todo-go { display: inline-block; margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--mint); text-decoration: none; border: 1px solid rgba(52,211,153,.35); background: rgba(52,211,153,.08); border-radius: 99px; padding: 5px 12px; }
  .todo-go:hover { background: rgba(52,211,153,.16); }
  .act .ck.todo { border-color: var(--amber); color: var(--amber); }
  .oiri { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
  .oiri span { font-size: 12.5px; border-radius: 99px; padding: 4px 10px; border: 1px solid var(--line); color: var(--muted); }
  .oiri span.ok { border-color: rgba(52,211,153,.4); color: var(--mint); background: rgba(52,211,153,.1); }
  /* 店舗詳細のあたま */
  .storehead { display: flex; align-items: center; gap: 12px; margin: 4px 2px 14px; }
  .storehead .avatar { --c: #34d399; width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; font-family: var(--num); font-size: 26px; font-weight: 800; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); }
  .storehead .name { font-family: var(--num); font-size: 24px; font-weight: 800; line-height: 1.1; }
  .storehead .sub { font-size: 13.5px; color: var(--muted); }
  .storehead .pill { margin-left: auto; }
  .segs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 4px 0 12px; overflow-x: auto; }
  .segs a { flex: 0 0 auto; padding: 10px 12px; font-size: 14px; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
  .segs a.on { color: var(--mint); border-bottom-color: var(--mint); font-weight: 700; }
  .segs.pillsty { border: 0; gap: 8px; }
  .segs.pillsty a { border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px; margin: 0; background: var(--card-2); }
  .segs.pillsty a.on { background: rgba(52,211,153,.14); border-color: rgba(52,211,153,.35); }
  .monthnav { display: flex; justify-content: center; align-items: center; gap: 18px; font-family: var(--num); font-size: 17px; font-weight: 800; margin: 4px 0 12px; }
  .monthnav span.arrow { color: var(--muted); font-weight: 500; }
  /* グラフ */
  .legend { display: flex; gap: 14px; font-size: 13px; color: var(--muted); }
  .legend i { display: inline-block; width: 16px; height: 0; border-top: 2px solid var(--mint); vertical-align: middle; margin-right: 6px; }
  .legend i.dash { border-top: 2px dashed currentColor; }
  svg.chart { width: 100%; height: auto; display: block; margin-top: 10px; }
  /* 進捗リスト */
  /* CSVのダウンロードの帯。**いちばん上に、細く。** 毎朝ここを押すので、開いてすぐ目に入る高さに置く。
     並びの中に札として置いたら、スマホでは 6500px のページの真ん中に埋もれて見つけてもらえなかった
     （2026-09-19 運営者「csvの取り込みボタンどこに作ってくれた？」）。
     組み方は grid ではなく flex。grid で組んだら細い画面で4列に割れ、文字が1字ずつ縦に流れた。 */
  .csvbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px;
            background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--mint);
            border-radius: 14px; padding: 13px 16px; margin: 0 0 12px; }
  .csvbar.act { border-left-color: var(--red); }
  .csvbar .who { flex: 0 0 auto; display: flex; align-items: baseline; gap: 10px; }
  .csvbar .who .ttl { font-size: 14.5px; font-weight: 800; white-space: nowrap; }
  .csvbar .who .asof { font-size: 13px; color: var(--muted); white-space: nowrap; }
  .csvbar .msg { flex: 1 1 240px; margin: 0; font-size: 14px; font-weight: 600; color: var(--mint); line-height: 1.55; }
  .csvbar.act .msg { color: var(--red); }
  [data-theme="light"] .csvbar.act .msg { color: #be123c; }
  .csvbar .act { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; }
  .csvbar .act button { font-size: 14px; font-weight: 800; padding: 10px 18px; border-radius: 10px; cursor: pointer;
                        border: 1px solid var(--mint); background: rgba(52, 211, 153, .12); color: var(--mint); white-space: nowrap; }
  .csvbar.act .act button { border-color: var(--red); background: rgba(240, 78, 106, .12); color: var(--red); }
  .csvbar .act button.sub { border-color: var(--line-2); background: transparent; color: var(--ink-2); font-weight: 700; }
  .csvbar.act .act button.sub { border-color: var(--line-2); background: transparent; color: var(--ink-2); }
  .csvbar .act a { font-size: 14px; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
  .csvbar .fine { flex: 1 1 100%; margin: 4px 0 0; }
  /* 細い画面では、文とボタンをそれぞれ1行ぶん使う（指で押しやすく） */
  @media (max-width: 700px) {
    .csvbar .who { flex: 1 1 100%; }
    .csvbar .msg { flex: 1 1 100%; }
    /* ボタンは1つずつ横いっぱいに積む。2つ並べると「サロンボードにログイン」が
       入りきらず、その先のリンクが画面の外へ出てしまう（2026-09-19 実測） */
    .csvbar .act { flex: 1 1 100%; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
    .csvbar .act form { flex: 1 1 100%; }
    .csvbar .act button { width: 100%; }
    .csvbar .act a { flex: 1 1 100%; text-align: center; padding: 2px 0; }
  }
  /* 押せる並び（いま落とす・画面をひらく）。ボタンとリンクを1行に */
  .btnrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
  .btnrow button.go { font-size: 14px; font-weight: 800; padding: 10px 18px; border-radius: 10px; border: 1px solid var(--mint); background: rgba(52,211,153,.12); color: var(--mint); cursor: pointer; }
  .btnrow a.sub { font-size: 14px; color: var(--ink-2); text-decoration: none; }
  .prog { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .prog:last-child { border-bottom: 0; }
  .prog .row .nm { font-family: var(--num); font-weight: 800; font-size: 15px; }
  .prog .row .nums { font-size: 14px; color: var(--ink-2); }
  .prog .row .nums b { color: var(--strong); }
  /* アクション */
  .act { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .act:last-child { border-bottom: 0; }
  .act .ck { width: 18px; height: 18px; border-radius: 99px; border: 1.5px solid var(--mint); color: var(--mint); display: grid; place-items: center; font-size: 12.5px; flex: 0 0 auto; margin-top: 2px; }
  .act .t { color: var(--ink); font-weight: 600; } .act .d { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
  .note { background: rgba(245, 183, 61, .10); border: 1px solid rgba(245, 183, 61, .3); color: #fcd34d; border-radius: 12px; padding: 9px 12px; font-size: 13.5px; margin-top: 10px; }
  .memo { display: flex; gap: 12px; align-items: flex-start; }
  .memo .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); flex: 0 0 auto; }
  .memo .body { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
  .memo .when { font-size: 12.5px; color: var(--muted); margin-top: 6px; }

  
  .apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .app { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit;
         background: var(--card-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
  .app .ic { --c: #34d399; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 auto;
             color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
  .app .lb { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.2; }
  .app .sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
  @media (max-width: 380px) { .apps { grid-template-columns: repeat(2, 1fr); } }

  
  .adm { margin-bottom: 18px; }
  .adm table { width: 100%; border-collapse: collapse; font-size: 14px; }
  .adm th, .adm td { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
  .adm th { color: var(--muted); font-weight: 600; font-size: 13px; white-space: nowrap; }
  .adm .who { font-family: var(--num); font-weight: 700; white-space: nowrap; }
  .adm .roma { font-family: var(--num); color: var(--ink-2); }
  /* 入力欄とボタンを1行に収める。width:100% だとボタンが下に落ちて、行が倍の高さになっていた（2026-09-18） */
  .adm input[type=text] { flex: 1 1 110px; width: auto; min-width: 80px; max-width: 220px; font-size: 14px; padding: 7px 9px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--bg); color: var(--ink); }
  .adm select { font-size: 14px; padding: 7px 9px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--bg); color: var(--ink); }
  .adm button { font-size: 14px; font-weight: 700; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--card-2); color: var(--ink); cursor: pointer; white-space: nowrap; }
  .adm button.go { border-color: rgba(52,211,153,.5); color: var(--mint); }
  /* 給与計算ツールの「スタッフ登録」へ飛ぶボタン（2026-09-25）。
     人を増やすのはあちらが正なので、ここからはっきり行けるようにする */
  .adm a.addbtn { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; padding: 8px 14px; border: 1px solid rgba(52,211,153,.5); border-radius: 9px; background: rgba(52,211,153,.10); color: var(--mint); text-decoration: none; white-space: nowrap; }
  .adm a.addbtn:hover { background: rgba(52,211,153,.18); }
  .adm .tag0 { font-size: 12.5px; color: var(--amber); border: 1px solid rgba(245,183,61,.4); border-radius: 99px; padding: 1px 8px; white-space: nowrap; }
  /* 辞めた人の行。消さずに薄く残す（誰だったか分からなくならないように） */
  .adm tr.dim td { opacity: .55; }
  .adm .tagok { font-size: 12.5px; color: var(--muted); }
  .adm .row-form { display: flex; gap: 6px; align-items: center; flex-wrap: nowrap; }
  .perm td, .perm th { text-align: center; }
  .perm td:first-child, .perm th:first-child { text-align: left; white-space: nowrap; }
  .perm input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--mint); }
  .flash { border-radius: 12px; padding: 10px 12px; font-size: 14px; margin-bottom: 12px; }
  .flash.ok { background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.35); color: var(--mint); }
  .flash.ng { background: rgba(240,78,106,.12); border: 1px solid rgba(240,78,106,.35); color: #ffb3c1; }
  .flash .pw { font-family: var(--num); font-weight: 800; font-size: 17px; letter-spacing: .12em; }

