:root{
  --bg:#f3f5f1; --surface:#ffffff; --sunk:#e8ece5; --ink:#1c231e; --muted:#535d55; --line:#cdd4c9;
  --accent:#2c4a78; --accent-soft:#e3e9f3; --on-accent:#ffffff;
  --ng:#b3261e; --ng-soft:#fbe7e5; --warn:#855608; --warn-soft:#fbf0d9; --over:#c2410c; --ok:#27643d; --ok-soft:#e1f1e6;
  --g-kajitsu:#c0306e; --g-eda:#2f8a3a; --g-kankyo:#0f7f95; --g-shukaku:#d06a00; --g-kanri:#6b7280; /* 作業項目グループの色:色相を離し、明るさもずらす */
  --mock:#3b3350; --mock-ink:#f1eef8;
  --f-body:"BIZ UDPGothic","Hiragino Sans","Yu Gothic",system-ui,sans-serif;
  --f-num:"IBM Plex Mono",ui-monospace,"SFMono-Regular",monospace;
  --hh:52px;
  --gut:16px; /* 画面の左右の余白。スマホは下で切り詰める */
}

*{box-sizing:border-box}
body{background:var(--bg);color:var(--ink);font-family:var(--f-body);font-size:17px;line-height:1.6;margin:0;
  padding-left:max(var(--gut),env(safe-area-inset-left,0px));padding-right:max(var(--gut),env(safe-area-inset-right,0px));padding-block:0 96px}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:30;background:var(--mock)}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer;touch-action:manipulation}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
h1,h2,h3,p{margin:0} h1,h2,h3{text-wrap:balance}
.num{font-family:var(--f-num);font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.muted{color:var(--muted)} .small{font-size:14px}
.wrap{max-width:1240px;margin:0 auto}
.wrap.wide{max-width:1760px} /* 作業計画(カレンダー)は、広い画面では横に広げて箱の字を読みやすくする */
/* 画面を移っても上の帯・メニュー・切り替えの左端が動かないよう、枠はどの画面も 1760px でそろえ、
   作業計画のほかの画面の中身は 1240px のまま左に寄せる(2026-11-19 細野さん) */
main.wrap.narrow>*{max-width:1240px}
.stack{display:flex;flex-direction:column;gap:14px}
.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.grow{flex:1 1 0;min-width:0}
.jan{ } body.hide-jan .jan{display:none!important}

/* アプリの帯 */
.top{position:sticky;top:env(safe-area-inset-top,0px);z-index:20;background:var(--bg);border-bottom:1px solid var(--line);padding-block:10px;margin-bottom:16px}
.top .row{gap:8px 14px}
.brand{display:flex;align-items:center;gap:10px;border:0;background:transparent;padding:0;text-align:left}
.brand .ico{position:relative;width:40px;height:40px;border-radius:10px;background:var(--ok);color:var(--surface);display:grid;place-items:center;font-weight:700;font-size:13px;letter-spacing:.04em}
/* PGF はメニューを開く:右下に小さな「≡」を付けて、押せると分かるようにする */
/* ロゴには印を付けない。指を乗せる(ホバー)と全体がハンバーガーメニューの印に変わり、押すと上からメニューが出る(2026-11-20 細野さん) */
.brand{cursor:pointer}
.brand>span:last-child{display:flex;flex-direction:column;justify-content:center;gap:1px;height:40px}
.brand h1{font-size:19px;letter-spacing:.02em;line-height:1.15}
.who{font-size:13px;color:var(--muted);line-height:1.15}
.refyear{margin-left:auto;display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:4px 12px;font-size:14px;min-height:40px}
.refyear b{font-family:var(--f-num);font-size:16px}
.tabs{display:flex;gap:4px;flex-wrap:wrap}
.tabs button{border:0;background:transparent;border-radius:10px;padding:8px 14px;min-height:44px;color:var(--muted);font-weight:700}
.tabs button[aria-current=page]{background:var(--accent);color:var(--on-accent)}
.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:25;background:var(--surface);border-top:1px solid var(--line);display:none;
  padding:6px max(8px,env(safe-area-inset-left,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-right,0px))}
.tabbar{gap:6px;padding-top:12px!important;padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))!important}
.tabbar button{position:relative;flex:1 1 0;min-width:0;border:0;background:transparent;border-radius:0;min-height:49px;height:49px;font-size:17px;font-weight:700;color:var(--muted);padding:0;white-space:nowrap} /* 作業計画の画面の下のボタンの帯(「指示として保存」など)と同じ高さ・字の大きさ・形。画面を出すと、その帯が下のメニューにぴったり重なる(2026-11-20 細野さん) */
/* ボタンに見せない:枠も地の色も付けず、いまの画面は字の色と字の下の短い線で示す(2026-11-20 細野さん) */
.tabbar button[aria-current=page]{color:var(--accent)}
.tabbar button[aria-current=page]::after{content:"";position:absolute;left:50%;bottom:4px;width:28px;height:3px;border-radius:2px;background:currentColor;transform:translateX(-50%)}
.tabbar button.on-duty{background:var(--ng-soft)!important;color:var(--ng)!important;border-radius:999px;height:36px;min-height:36px;align-self:center;margin-inline:2px} /* 出勤中だけは薄い赤の札(2026-11-20 細野さん) */
.only-phone{display:none!important}
/* 部品 */
.btn{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:10px 16px;min-height:48px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:6px;text-align:center}
.btn.pri{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.btn.big{min-height:60px;font-size:19px;width:100%}
.btn.ng{color:var(--ng);border-color:var(--ng)}
.btn.sm{min-height:40px;padding:6px 12px;font-size:15px;border-radius:10px}
.btn:disabled{opacity:.45;cursor:default}
.seg{display:inline-flex;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface);max-width:100%}
.seg button{border:0;background:transparent;padding:8px 14px;min-height:44px;color:var(--muted);font-weight:700}
.seg button+button{border-left:1px solid var(--line)}
.seg button[aria-pressed=true]{background:var(--accent);color:var(--on-accent)}
.tdt .inp:first-child{flex:3 1 0} .tdt .inp:last-child{flex:2 1 0} /* 発生日時:月日の欄を広く */
.field{display:flex;flex-direction:column;gap:6px}
.field>span,.lbl{font-weight:700;font-size:15px}
.memo-v{margin:0;white-space:pre-wrap} /* 見る画面のメモ:改行をそのまま */
.inp,select.inp,textarea.inp{border:1px solid var(--muted);background:var(--surface);border-radius:10px;padding:10px 12px;min-height:48px;width:100%}
textarea.inp{min-height:96px;resize:vertical;line-height:1.6}
.pill{display:inline-flex;align-items:center;gap:4px;border-radius:999px;padding:2px 12px;font-weight:700;font-size:14px;white-space:nowrap;border:1px solid transparent}
.pill.ok{background:var(--ok-soft);color:var(--ok)} .pill.ng{background:var(--ng);color:var(--surface)} /* 遅延・実績未入力など赤の札は「重複」と同じ赤地に白(2026-11-19 細野さん) */ .pill.warn{background:var(--warn-soft);color:var(--warn)}
.pill.plain{background:var(--sunk);color:var(--muted)} .pill.done{background:transparent;border-color:var(--ok);color:var(--ok)}
.card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:16px}
.card.ng{border-color:var(--ng)} .card.warn{border-color:var(--warn)}
.note{border-radius:12px;padding:10px 14px;background:var(--sunk);font-size:15px}
.note.ng{background:var(--ng-soft);color:var(--ng);font-weight:700} .note.warn{background:var(--warn-soft);color:var(--warn);font-weight:700} .note.ok{background:var(--ok-soft);color:var(--ok);font-weight:700}
.sec-h{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.sec-h h2{font-size:20px} .sec-h h3{font-size:17px}
.req{color:var(--ng);font-weight:700;margin-left:2px} .sec-h h2+.small.muted{margin-left:auto} /* 必須の印と、見出しの右の「* 必須項目」 */
.chips{display:flex;gap:8px;flex-wrap:wrap}
.chip{border:1px solid var(--muted);background:var(--surface);border-radius:999px;padding:6px 14px;min-height:44px;font-weight:700;display:inline-flex;align-items:center;gap:6px}
.chip[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.step{display:inline-flex;align-items:center;border:1px solid var(--muted);border-radius:10px;overflow:hidden;background:var(--surface)}
.step button{border:0;background:var(--sunk);min-width:44px;min-height:44px;font-size:20px;font-weight:700}
.step output{min-width:64px;text-align:center;font-family:var(--f-num);font-size:17px;padding:0 6px}
.dot{width:12px;height:12px;border-radius:3px;display:inline-block;flex:none;background:var(--gc,var(--muted))}
.g-flower_fruit{--gc:var(--g-kajitsu)} .g-branch_seedling{--gc:var(--g-eda)} .g-environment{--gc:var(--g-kankyo)} .g-harvest{--gc:var(--g-shukaku)} .g-management{--gc:var(--g-kanri)}

/* 入り口 */
.home-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.tile{border:1px solid var(--line);background:var(--surface);border-radius:16px;min-height:104px;padding:14px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;text-align:left;font-size:20px;font-weight:700}
.tile small{font-size:14px;color:var(--muted);font-weight:400;line-height:1.4}
.tile.pri{background:var(--ok);border-color:var(--ok);color:var(--surface)} .tile.pri small{color:var(--surface)}
.today{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.shiji{border-left:6px solid var(--gc);padding-left:12px}
.shiji .t{font-family:var(--f-num);font-size:20px;font-weight:600}
.shiji h3{font-size:20px}

/* シート(スマホは下から、パソコンは右) */
.scrim{position:fixed;inset:0;background:rgb(0 0 0/.42);z-index:40}
.sheet{position:fixed;z-index:41;background:var(--bg);display:flex;flex-direction:column;right:0;top:0;bottom:0;width:min(480px,100%);box-shadow:-8px 0 24px rgb(0 0 0/.2)}
.sheet-h{display:flex;gap:10px;align-items:flex-start;padding:calc(14px + env(safe-area-inset-top,0px)) 16px 12px;border-bottom:1px solid var(--line);background:var(--surface)}
.sheet-h h2{font-size:20px;min-width:0;text-align:center;text-wrap:balance}
/* 題は中央。左に「‹ 戻る」、右に「閉じる」(どちらかだけ) */
.sheet-h{display:grid!important;grid-template-columns:minmax(72px,1fr) auto minmax(72px,1fr);align-items:center} .sheet-h .btn,.sheet-h.stg h2{white-space:nowrap} .sheet-h h2.long{font-size:17px} /* 題はいつも真ん中。左右は「閉じる」「‹ 戻る」が折り返さない幅(2026-11-20 細野さん) */
.sheet-h>span:last-child{justify-self:end}
.sheet-b{padding:16px;overflow:auto;flex:1 1 auto;display:flex;flex-direction:column;gap:16px}
.sheet-f{padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line);background:var(--surface);display:flex;gap:10px;flex-wrap:wrap}
.sheet-f .btn{flex:1 1 140px}
@media (max-width:820px){.sheet{left:0;top:auto;width:auto;max-height:92%;border-radius:18px 18px 0 0;box-shadow:0 -8px 24px rgb(0 0 0/.25)}
  .sheet-h{padding-top:14px;border-radius:18px 18px 0 0}}
.kv{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;align-items:baseline}
.kv dt{color:var(--muted);font-size:15px} .kv dd{margin:0;font-weight:700}
/* 作業計画の詳細:月日〜人時は同じ高さの行に並べ、−＋のコントロールは月日の幅にそろえる */
.kv-plan{align-items:center;grid-auto-rows:minmax(46px,auto)}
.kv-plan .step{display:flex;width:min(100%,214px)} .kv-plan .step output{flex:1 1 0;min-width:0}
.people{display:flex;flex-direction:column;gap:8px}
.person{display:flex;gap:10px;align-items:center;border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:8px 12px;min-height:56px;flex-wrap:wrap}
.person .nm{font-weight:700;flex:1 1 120px;min-width:0}
.person small{color:var(--muted);font-size:14px}
.person.empty{border:2px dashed var(--warn);background:var(--warn-soft);color:var(--warn);font-weight:700;min-height:48px} /* 作業者が決まっていない枠は目立たせる */
.person.empty .nm{flex:1 1 0}
.person.empty.add{border-color:var(--line);background:transparent;color:var(--muted)} /* 人数ぴったりのときの「作業者を追加する」は控えめに */
.person.empty .slot-b{min-height:34px;padding:0 12px;font-size:14px}
.cand{width:100%;text-align:left}
.ptime{flex-basis:100%;display:flex;gap:6px 12px;flex-wrap:wrap;align-items:center;font-size:14px;color:var(--muted)}
.ptime label{display:inline-flex;gap:6px;align-items:center}
.ptime .step{color:var(--ink)} .ptime .step button{min-width:40px;min-height:40px} .ptime .step output{min-width:54px;font-size:16px}
.toast{position:fixed;left:50%;bottom:calc(84px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:60;background:var(--ink);color:var(--bg);border-radius:12px;padding:12px 18px;max-width:min(92vw,560px);font-weight:700;box-shadow:0 6px 20px rgb(0 0 0/.3)}

/* スワイプで「解除」 */
.swipe{position:relative;overflow:hidden;border-radius:12px}
.swipe-act{position:absolute;top:0;bottom:0;right:0;width:88px;border:0;background:var(--ng);color:var(--surface);font-weight:700;font-size:17px;border-radius:0 12px 12px 0}
.swipe-in{position:relative;transition:transform .18s ease;touch-action:pan-y;background:var(--bg)}
.person,.jz-row{position:relative}
.xbtn{position:absolute;top:-1px;right:-1px;width:32px;height:32px;border-radius:0 12px 0 12px;border:1px solid var(--ng);background:var(--ng-soft);color:var(--ng);font-size:20px;font-weight:700;line-height:1;padding:0;opacity:0;transition:opacity .12s}
.person:hover .xbtn,.jz-row:hover .xbtn,.xbtn:focus-visible{opacity:1}
@media (hover:hover){.swipe-act{display:none}.swipe .person,.swipe .jz-row{padding-right:40px}}
@media (hover:none){.only-hover{display:none!important}}
@media (prefers-reduced-motion:reduce){.swipe-in{transition:none}}

/* 上の帯の指標 */
.navrow{gap:8px;flex-wrap:nowrap}
.today-d{margin-left:auto;font-size:17px;font-weight:600;white-space:nowrap}
.kpi{margin-left:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));min-width:340px;align-items:center;border:1px solid var(--line);background:var(--surface);border-radius:999px;min-height:44px;padding:0 6px;font-size:14px;white-space:nowrap}
.kpi span{padding:0 9px;color:var(--muted);text-align:center} .kpi span+span{border-left:1px solid var(--line)}
.kpi b{font-family:var(--f-num);font-size:16px}
.kpi .ng b{color:var(--ng)} .kpi .ok b{color:var(--ok)}
@media (max-width:820px){.kpi{margin-left:0;width:100%;min-width:0}}

/* 作業者の行の「︙」と、そこから出るメニュー */
.prow{position:relative}
.prow .person{padding-right:8px}
.mbtn{border:0;background:transparent;width:44px;height:44px;border-radius:10px;font-size:22px;font-weight:700;color:var(--muted);flex:none}
.mbtn[aria-expanded=true]{background:var(--sunk);color:var(--ink)}
.pmenu{position:absolute;right:8px;top:52px;z-index:5;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 24px rgb(0 0 0/.22);display:flex;flex-direction:column;min-width:170px;overflow:hidden}
.pmenu button{border:0;background:transparent;text-align:left;padding:0 16px;min-height:52px;font-weight:700}
.pmenu button+button{border-top:1px solid var(--line)}
.pmenu button.ng{color:var(--ng)} .pmenu button:disabled{opacity:.4}
.field .seg{flex-wrap:wrap}
.chip .dot,.pill .dot{margin-right:2px}
.seg .cnt{display:inline-grid;place-items:center;min-width:20px;height:20px;border-radius:10px;background:var(--ok);color:var(--surface);font-family:var(--f-num);font-size:13px;margin-left:5px;padding:0 4px}
.prow .jz-row{padding-right:8px}
.jz-row .hd{align-items:center;flex-wrap:nowrap}
@media (max-width:820px){.only-wide{display:none!important}}
/* 週・月の送り(◀ 日付 ▶)。パソコンは1行の中、スマホは「週間/月間・今日・過去」の次の行に、日付をはさんで並べる */
.navg{display:flex;align-items:center;gap:10px}
/* スマホ:1行目は「週間/月間・今日・過去・絞り込み」を下端でそろえて1行に。週の送りは日付ボタンの左右の ◀ ▶ が受け持つ(月間ビューだけ ◀ 年月 ▶ を次の行に出す) */
@media (max-width:820px){
  .caltop{flex-wrap:nowrap;align-items:flex-end;gap:6px}
  .caltop .seg{flex:none} .caltop .seg button{padding:8px 11px}
  .caltop>.btn.sm{flex:none;padding:6px 10px;white-space:nowrap}
  .caltop.ct-week .navg{display:none}
  .caltop.ct-month{flex-wrap:wrap} .caltop.ct-month .navg{order:9;flex-basis:100%;justify-content:space-between}
  .caltop .fbtn{order:5}
  /* 絞り込みの3つは1行に(字を小さくし、幅を3等分) */
  .filters{flex-wrap:nowrap;gap:6px}
  .toolbar.filters select{flex:1 1 0;min-width:0;font-size:15px;padding:6px 18px 6px 10px;text-overflow:ellipsis;appearance:none;-webkit-appearance:none;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23808a82' stroke-width='1.6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 7px center}
  .daystrip{gap:4px;overflow:visible}
  .daystrip button{flex:1 1 0;min-width:0;padding:6px 0}
  .daystrip button.arr{flex:0 0 30px;border-color:transparent;background:transparent;color:var(--muted);font-size:15px}
}
.jz-row .mbtn{width:40px;height:40px}

/* 一覧から選ぶ(作業項目・圃場) */
.lbox{background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden}
.lh{font-weight:700;font-size:14px;color:var(--muted);padding:10px 14px 8px;background:var(--sunk)}
.lh-btn{display:flex;align-items:center;width:100%;border:0;text-align:left;min-height:44px;cursor:pointer} .lh-btn .chev{font-size:18px} /* 押して開く見出し(すべての圃場) */
.li{display:flex;gap:10px;align-items:center;width:100%;min-height:54px;border:0;border-top:1px solid var(--line);background:transparent;padding:6px 14px;text-align:left}
.lbox>.li:first-child{border-top:0}
.li[aria-pressed=true]{background:var(--accent-soft)}
.li .lk{flex:0 0 76px;color:var(--muted);font-size:15px}
.li .chev{color:var(--muted);font-size:20px;flex:none;width:18px;text-align:center}
.ck{width:24px;height:24px;border:2px solid var(--muted);border-radius:6px;flex:none;display:grid;place-items:center;font-size:16px;font-weight:700;color:var(--on-accent)}
.ck.rd{border-radius:50%}
.li[aria-pressed=true] .ck{background:var(--accent);border-color:var(--accent)}
.li[aria-pressed=true] .ck::after{content:"✓"}
.gh{display:flex;align-items:center;border-top:1px solid var(--line);padding-right:10px}
.gh .li{border-top:0}
.gh .btn{white-space:nowrap;flex:none}
.cnt{display:inline-grid;place-items:center;min-width:20px;height:20px;border-radius:10px;background:var(--ok);color:var(--surface);font-family:var(--f-num);font-size:13px;margin-left:6px;padding:0 4px}
.lgrp+.lgrp{margin-top:14px}
.lgh{font-weight:700;font-size:17px;margin-bottom:6px;display:flex;gap:6px;align-items:center}
.lgrp .post:first-of-type{border-top:0;padding-top:0}
.result .short{color:var(--ng)}
.sheet-b>*{flex-shrink:0}

/* 左上は、アイコンと「名前／作業者グループ」だけ(農園の名前は書かない。将来、指標の右に天気予報を置く余地を空ける。2026-11-20 細野さん) */
.brand .who1 b{display:block;font-size:16px;font-weight:700;line-height:1.2;white-space:nowrap} .brand .who1 small{display:block;font-size:12px;color:var(--muted);line-height:1.2;white-space:nowrap}
.brand .ico::before{content:none}
.brand>span.who1{display:block;height:auto}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.g2 .full>span:first-child,.frow .flab{flex:none;white-space:nowrap} /* 圃場が何行にもなっても、見出しの「圃場」は横書きのまま(2026-11-20 細野さん) */
.sheet-f .one-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;font-size:clamp(12px,3.6vw,15px)} /* 確かめの文は1行に収める */
.stamp{margin-top:-6px;display:grid;gap:2px} .stamp p{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis} /* 新規作成・最終更新は各1行 */
.sheet-h.stg-minyu .stsw{border-color:var(--muted);background:repeating-linear-gradient(135deg,#d6c6a0 0 5px,#E8DCC2 5px 10px)} /* 実績未入力の作業指示は、カレンダーの箱と同じく札も灰色の太い線に縞(2026-11-20 細野さん) */
.brand .ico{border:0;padding:0;cursor:pointer;overflow:hidden}
.brand .ico:hover,.brand .ico:focus-visible{background:var(--surface)!important;box-shadow:inset 0 0 0 1.5px var(--line)}
.brand .ico:hover::after,.brand .ico:focus-visible::after{content:"";position:absolute;inset:11px 9px;background:linear-gradient(var(--ink) 0 0) top/100% 2.5px no-repeat,linear-gradient(var(--ink) 0 0) center/100% 2.5px no-repeat,linear-gradient(var(--ink) 0 0) bottom/100% 2.5px no-repeat;border-radius:2px}
.brand .who1{border:0;background:transparent;padding:0;text-align:left;cursor:pointer;color:inherit;font:inherit;min-width:0}
/* メニューは上から下りてくる */
.sheet.from-top{top:0;bottom:auto;left:0;right:0;width:auto;max-height:80%;border-radius:0 0 18px 18px;box-shadow:0 8px 24px rgb(0 0 0/.25);animation:fromTop .18s ease-out}
@media (min-width:821px){.sheet.from-top{top:0;bottom:0;left:0;right:auto;width:min(380px,100%);max-height:none;border-radius:0 18px 18px 0;box-shadow:8px 0 24px rgb(0 0 0/.2);animation:fromLeft .18s ease-out}} /* パソコンは左から(2026-11-20 細野さん) */
@keyframes fromLeft{from{transform:translateX(-100%)}to{transform:none}}
@keyframes fromTop{from{transform:translateY(-100%)}to{transform:none}}
.tabbar button.on-duty::after{bottom:-2.5px} /* 札の下に、ほかの項目と同じ高さで線を引く */
/* 同じ部品は、どの画面でも同じ高さにそろえる(2026-11-20 細野さん):
   欄(入力・プルダウン・作業項目や圃場を選ぶ行)=48px、ボタン=48px(大きいボタンも同じ)、小さいボタン・切り替え・丸い選択肢=40px */
.lbox>.li,.fbox-h .li,.frow,.fbox-h .frow{min-height:48px!important;height:48px;padding-block:0!important;box-sizing:border-box}
input.inp,select.inp,.tplace>.inp{height:48px;min-height:48px;box-sizing:border-box}
.mrow select{min-height:48px;height:48px;box-sizing:border-box}
.btn,.btn.big{min-height:48px;box-sizing:border-box} .btn.big{font-size:17px}
.btn.sm,.person.empty .slot-b,.crow .btn.sm,.kt-r .btn.sm{min-height:40px;height:40px;box-sizing:border-box}
.chip,.chips.hin .chip{min-height:40px;height:40px;box-sizing:border-box}
.seg:not(.vseg) button{min-height:38px;height:38px;padding-block:0}
@media (min-width:821px){.toolbar.filters select{flex:0 0 200px;width:200px}} /* 抽出の3つは同じ幅 */
/* スマホ:下のメニューバーを出し、上の切り替えを隠す */
@media (max-width:820px){body{padding-bottom:calc(var(--tabbar-h,69px) + 8px)}.tabs{display:none}.tabbar{display:flex}.brand h1{font-size:17px}.only-phone{display:inline-flex!important}}
.pending-mark{font-size:12px;color:var(--warn);background:var(--warn-soft);border-radius:999px;padding:2px 10px;font-weight:700}
.err-bar{background:var(--ng-soft);color:var(--ng);border-radius:12px;padding:10px 14px;font-weight:700}
.punch-slot:empty{display:none} /* 打刻の場所(punch.js が入れる。段3) */
a.map-a{color:var(--accent);font-weight:700;text-decoration:underline;text-underline-offset:3px}
button.dayitem{text-align:left;width:100%;cursor:pointer}
