/* 統合アプリ: 記録の残り（x_rec.js）の 見た目。色・字・部品は app.css の決まり（変数）を使う */
/* 場所を えらぶ画面（マス＝スパン × 西東。押す・なぞる） */
.xpmap{display:grid; grid-template-columns:repeat(var(--n, 4), minmax(44px, 1fr)); gap:6px; margin-top:12px; overflow-x:auto; padding-bottom:4px}
.xpb{display:flex; flex-direction:column; gap:4px; min-width:0}
.xph{min-height:var(--tap); border:1.5px solid var(--edge); border-radius:8px; background:var(--bg2); color:var(--ink); font-size:17px; font-weight:800}
.xph.on{background:var(--accent); border-color:var(--accent); color:var(--accent-ink)}
.xpcs{display:flex; flex-direction:column; gap:3px}
.xpr{display:flex; align-items:stretch; gap:3px}
.xpn{flex:0 0 auto; width:1.4em; font-size:12px; font-weight:700; color:var(--ink2); display:flex; align-items:center; justify-content:flex-end}
.xpc{flex:1 1 0; min-width:0; min-height:36px; padding:0; border:1.5px solid var(--edge); border-radius:6px; background:var(--card); color:var(--ink2); font-size:12px; font-weight:700; touch-action:none; user-select:none; -webkit-user-select:none}
.xpc.on{background:var(--accent); border-color:var(--accent); color:var(--accent-ink)}
#sec-place .navrow.box + .navrow.box{margin-top:8px}
/* 天敵の単位（いまの値の1行 → 押すと えらぶ一覧）・品種の色・前の記録と同じにする */
.xrunit{display:flex; align-items:center; justify-content:space-between; gap:8px; width:100%; min-height:var(--tap); padding:8px 12px; border:1.5px solid var(--edge); border-radius:8px; background:var(--card); color:var(--ink); font-size:17px}
.xrunit .chev{font-size:22px; font-weight:700; color:var(--ink2); line-height:1}
.xvd{display:inline-block; width:12px; height:12px; border-radius:50%; margin-right:6px; vertical-align:middle}
.xrprev{margin-bottom:12px}
/* 3. 日報: 圃場モニタの値・病害虫の知らせ */
.xmon dd small{display:block; color:var(--ink2); font-size:14px}
.xpnr{margin-top:8px}
.xpn .pre{white-space:pre-wrap}
/* 4. マップ: 表示の1行・なぞって記録の行 */
.xmapf{margin-bottom:10px}
.xmapf.on .nvl{color:var(--accent)}
.xmaprows{margin:12px 0}
