/* 右の器（地図・3D・報告書の置き場）と、その上に重ねる物: 見え方の切替・角の釦と札・探す欄と候補の印・作業の印・層の板・
   計算中の札・時間バー・3D の視点の釦・断面。部品は js/stage/・js/timeline/・js/layers/・js/profile/ と、地図の印（js/map2d/）。
   地図・3D の上の釦と札は白・影1段・角 12px。真ん中を覆わない（角の小さな釦と札・下端に寄せた札だけ）。 */

/* ---------------------------------------------------------------- 器（stage/StagePane.js）: 見え方は地図・3D・報告書 */
.stagepane { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; min-width: 0; background: var(--bg-0); }
.stagepane[data-mode="sheet"] { grid-template-rows: auto minmax(0, 1fr); }      /* 報告書の間は、上の帯＋紙の2段 */
.view { position: relative; min-height: 0; overflow: hidden; background: var(--bg-2); container: pcview / inline-size; }
/* 地図の部品は容器に position: relative を付けるので、強い指定で全面に置く */
.view > .stage { position: absolute; inset: 0; width: auto; height: auto; }
.view > .stage[aria-hidden="true"] { visibility: hidden; }
.stage.s3d:focus-visible { outline: 2px solid var(--sel); outline-offset: -2px; }       /* 3D に焦点（キーで回す） */
.s2d .maplibregl-canvas:focus-visible { outline: 2px solid var(--sel); }
/* 器の真ん中の知らせ（3D の準備中・地図を描けない） */
.stage-msg { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); z-index: 2; display: flex; align-items: center; gap: 8px;
  width: min(420px, calc(100% - 32px)); padding: 12px 14px; border-radius: var(--r-l); background: var(--bg-1); box-shadow: var(--sh-2); font-size: 13.5px; }
/* T16 第4回（t1.10）: 3D を置いた後、初めの瓦を描き終えるまでの札（眺めの真ん中を覆わない・押せる物の邪魔をしない） */
.stage-msg.s3d-wait { top: 40%; width: auto; max-width: calc(100% - 32px); pointer-events: none; }
/* T16 第5回（t1）: 読み込みの札が、地図に重ねる値の札（z-index 5〜7）の下に隠れて見えにくかった。押せる物の邪魔をしないまま上に出す */
.view > .stage.s3d .stage-msg.s3d-wait { z-index: 9; }

/* ---------------------------------------------------------------- 角に重ねる物（.ov。tl＝左上の短い札・tr＝右上の釦・br＝右下） */
.ov { position: absolute; z-index: 4; display: flex; gap: 6px; max-width: calc(100% - 20px); pointer-events: none; }
.ov > * { pointer-events: auto; }
.ov.tl { top: 10px; left: 10px; flex-direction: column; align-items: flex-start; max-width: calc(100% - 330px); }
.ov.tr { top: 10px; right: 10px; flex-wrap: wrap; align-items: flex-start; justify-content: flex-end; }
.ov.br { right: 10px; bottom: 24px; flex-direction: column; align-items: flex-end; }
.view[data-dim="3d"] .ov.br { bottom: 82px; }                                           /* 3D では視点の釦の列の上へ */
.ov .btn { border: 0; border-radius: var(--r-l); background: var(--bg-1); box-shadow: var(--sh-2); }
.ov .btn:hover { background: var(--bg-2); }
.ov .ibtn { width: 36px; height: 36px; border: 0; border-radius: var(--r-l); background: var(--bg-1); box-shadow: var(--sh-2); color: var(--fg-1); }
.ov .ibtn:hover { background: var(--bg-2); }
/* 右上の釦の列（見え方の切替・層・現在地） */
.stagetop { z-index: 6; }
.stagetop .btn { min-height: 36px; }
.stagetop .seg { border-radius: var(--r-l); background: var(--bg-1); box-shadow: var(--sh-2); }
.stagetop .seg button { min-height: 34px; padding: 3px 14px; border-radius: 9px; font-size: 14px; }
.stagetop .seg button[aria-pressed="true"] { background: var(--sel); color: var(--on-sel); box-shadow: none; }
/* 見え方の切替（［地図｜3D｜報告書］。報告書の間は上の帯に出る）は押しやすい大きさに */
.dimsw button { min-height: 34px; padding: 4px 14px; font-size: 13.5px; }
/* 左上の短い札（計算中・過去の再現・夜の時刻・固定 URL） */
.tag { display: flex; align-items: center; gap: 5px; max-width: 100%; padding: 2px 8px; border-radius: var(--r-l); background: var(--bg-1); box-shadow: var(--sh-2);
  font-size: 13.5px; font-weight: 700; line-height: 1.45; }
.tag.k3 { border: 1.5px solid var(--k3); color: var(--k3); }
/* T47 v H5: 影の札「建物の影（晴れた場合）」は、括弧の前でだけ折れる（stage/ResultOverlay.js の <wbr>）。スマホの幅では札の幅を右上の［地図｜3D｜報告書］の分だけ空ける（下の 〜767 の節） */
.tag.shade .shw { word-break: keep-all; }
/* 結果の 3D の色の読み方（stage/ResultOverlay.js の ViewKey。語と見本の並びは型のファイルの viewKey）: 見本の四角＋語。
   take＝撮る面の縁の橙（T30 C5: 壁は塗らないので、見本も縁の線だけ。前の lit〈直射の壁〉・shade〈影の壁〉の見本は外した） */
.vkey { flex-wrap: wrap; gap: 1px 12px; font-weight: 600; }
.vk-g { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.vk-l { color: var(--fg-2); }
.vk-i { display: inline-flex; align-items: center; gap: 4px; }
.vk-i i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; }
.vk-i i.take { border: 2px solid var(--part-bar); background: transparent; }
/* T50（本人の答え「地面に線で描く」・scene3d/power.js）: 3D の送電線の凡例 1 行「━ 送電線　地図の線の位置です。…」。線を描いている間だけ、3D の置き場の
   左下（出典の 1 行の右の同じ段か、左の端で下の物の上。置き場は power.js が決める）。地は不透明・字 13px。狭い幅は語の切れ目（「。」「、」と字の間の空き）で折る。
   見本（pwr-sw・結果の左上の読み方の pwr）は 3D の線と同じ色（T54 から青。前は桃色）に白い縁 */
/* T88: 3D の左下の凡例の列（scene3d/keyrows.js）。行は上から 送電線（.pwr-key）・稜線（.rdg-key＝稜線の札の置き場が無い時だけ。字は札の字のまま）。
   箱の置き場は keyrows.js が決める（前は power.js が .pwr-key を置いた）。行は字の幅だけ（箱より広くならない） */
.key-rows { position: absolute; left: 6px; bottom: 18px; z-index: 4; max-width: calc(100% - 12px); display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.key-rows > * { max-width: 100%; box-sizing: border-box; }
.pwr-key, .rdg-key { padding: 0 6px; border-radius: 4px; background: var(--bg-1);
  box-shadow: var(--sh-1); color: var(--fg-1); font-size: 13px; line-height: 18px; word-break: keep-all; overflow-wrap: anywhere; }
.pwr-key b { color: var(--fg-0); font-weight: 700; }
/* 稜線の行の見本は 3D の稜線の線と同じ色（overlay.js の --fg-1）の細い線 */
.rdg-sw { display: inline-block; width: 18px; height: 3px; border-radius: 2px; margin-right: 5px; vertical-align: 3px; background: var(--fg-1); }
.pwr-sw, .vk-i i.pwr { display: inline-block; width: 18px; height: 5px; border-radius: 3px; background: var(--pwr-line); box-shadow: 0 0 0 1.5px var(--bg-1); }
.pwr-sw { margin-right: 5px; vertical-align: 2px; }
/* 右下の角の ©（出典の帰属。押すと広がる） */
.attr { position: absolute; right: 6px; bottom: 2px; z-index: 5; max-width: 60%; min-height: 16px; padding: 0 2px; border: 0; background: transparent;
  color: var(--fg-2); font-size: 13px; line-height: 1.3; text-align: right; }
.attr[aria-expanded="true"] { z-index: 7; padding: 2px 6px; border: 1px solid var(--rule-1); border-radius: 4px; background: var(--bg-1); }
/* T47 v ui-10: 指で押す幅（スマホ 〜767・指で触る端末の 〜899。横向きの iPad・PC は替えない）は、［©］の押せる箱を 44×44 に（前は 15×17px。字は右下の角のまま）。
   真上に在る方位の釦（3D）・右の列の釦（地図）と重なる所は、そちらが上（閉じている間の ［©］ は z-index 4＝.vctl〈5〉・.stagetop〈6〉の下。開いた間は 7 のまま） */
@media (max-width: 767px), (pointer: coarse) and (max-width: 899px) {
  .attr { display: flex; align-items: flex-end; justify-content: flex-end; min-width: 44px; min-height: 44px; z-index: 4; }
}

/* ---------------------------------------------------------------- 地図の探す欄（stage/MapSearch.js。左上）と候補の印
   候補は点線の枠（まだ決めていない。選んだ候補も点線のまま太く）。場所が決まるのは地図を押した時 */
/* --ms-side＝右に空ける幅（右上の釦の列の分。MapSearch が釦の列の幅を測って、欄に直に置く。ここの数は、測る前の初めの幅） */
.msrch { --ms-side: 200px; position: absolute; top: 10px; left: 10px; z-index: 6; display: flex; flex-direction: column; gap: 6px; width: min(360px, calc(100% - var(--ms-side)));
  max-height: calc(100% - 20px); pointer-events: none; }
.msrch > * { pointer-events: auto; }
.msform { display: flex; align-items: center; gap: 4px; padding: 3px 4px 3px 10px; border-radius: var(--r-l); background: var(--bg-1); box-shadow: var(--sh-2); }
.msform:focus-within { box-shadow: var(--sh-2), 0 0 0 2px var(--sel); }
.msic { display: grid; place-items: center; color: var(--fg-2); }
.msform input { flex: 1; min-width: 0; min-height: 36px; padding: 0 4px; border: 0; background: transparent; color: var(--fg-0);
  font-size: max(15px, calc(var(--fs-label) + 1.5px)); outline: none; }
.msform input::placeholder { color: var(--fg-2); opacity: 1; }
.msform input::-webkit-search-cancel-button { display: none; }
.msform .msgo { min-width: 52px; min-height: 32px; }
.msform .msgo[aria-disabled="true"] { opacity: .7; cursor: progress; }
.msres { min-height: 0; overflow: auto; padding: 8px 10px 0; border-radius: var(--r-l); background: var(--bg-1); box-shadow: var(--sh-2);
  font-size: max(14px, calc(var(--fs-label) + .5px)); }
.msres > :last-child { margin-bottom: 8px; }
.msres .msone { display: flex; align-items: center; gap: 8px; min-width: 0; }
.msone .msnm { flex: 1; min-width: 0; overflow: hidden; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.mslist { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.msitem { display: flex; align-items: flex-start; gap: 8px; width: 100%; min-height: 40px; padding: 6px 8px; border: 0; border-radius: var(--r-m); background: transparent;
  color: var(--fg-0); font-size: max(14px, calc(var(--fs-label) + .5px)); text-align: left; cursor: pointer; }
.msitem:hover, .msitem:focus-visible { background: var(--bg-2); }
.msno { display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border: 1.5px dashed var(--sel); border-radius: 11px; color: var(--sel); font-size: 13px; }
.mstx { display: flex; flex-direction: column; min-width: 0; }
.mstx small { color: var(--fg-2); font-size: max(13px, calc(var(--fs-label) - .5px)); }
.msback { flex: none; min-height: 32px; font-size: var(--fs-label); }
/* 地名の出どころは一覧を送っても見える所に（一覧の箱の下の端に貼る） */
.msattr { position: sticky; bottom: 0; margin: 6px -10px 0; padding: 4px 10px 6px; background: var(--bg-1); color: var(--fg-2); font-size: max(13px, calc(var(--fs-label) - .5px)); }
.msres > .msattr:last-child { margin-bottom: 0; }
/* 右の地図が狭いとき（MapSearch が枠の幅を測って付ける）: 欄を右上の釦の下に、地図の幅いっぱいで */
.msrch.narrow { top: 58px; width: calc(100% - 20px); }
/* 探す欄と結果の左上の短い札が一緒に出る時（計算をくり返す作業の、直せる計画の結果）: 札は探す欄の下の段へ */
.msrch ~ .ov.tl.rov { top: 58px; }
.msrch.narrow ~ .ov.tl.rov { top: 108px; }
/* 引いて入れられる候補（今の作業に落とす先が在る間。components/dnd.js）: 行の右の端につまみの印・行と印は指の形 */
.msrow { display: flex; align-items: center; min-width: 0; border-radius: var(--r-m); }
.msrow .msitem { flex: 1 1 auto; min-width: 0; }
.msrow.dragsrc:hover { background: var(--bg-2); }
.msrow.dragsrc .msitem, .srpin.dragsrc { cursor: grab; }
.msrow .draggrip { width: 28px; height: 28px; }
.msone.dragsrc { margin: -4px -6px; padding: 4px 6px; border-radius: var(--r-m); background: var(--bg-2); }
.srpin { display: flex; align-items: center; gap: 6px; max-width: 220px; min-height: 36px; padding: 3px 4px; border: 2px dashed var(--sel); border-radius: var(--r-pill);
  background: var(--bg-1); color: var(--fg-0); font: 700 max(13px, calc(var(--fs-label) - .5px))/1.3 var(--f-ui); box-shadow: var(--sh-2); cursor: pointer; }
.srpin .spno { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 12px; background: var(--bg-2); color: var(--sel); }
.srpin .spnm { display: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srpin.named, .srpin:hover, .srpin:focus-visible { padding-right: 10px; }
.srpin.named .spnm, .srpin:hover .spnm, .srpin:focus-visible .spnm { display: inline; }
.srpin.on { border-width: 3px; box-shadow: var(--sh-2), 0 0 0 3px color-mix(in srgb, var(--sel) 30%, transparent); }
.srpin.hot, .srpin:hover, .srpin:focus-visible { background: var(--sel-soft); }
.srpin:focus-visible { outline: 2px solid var(--sel); outline-offset: 2px; }

/* ---------------------------------------------------------------- 作業の印（stage/markers.js）: 丸い印（番号・字）と右の名前の札
   cls: sel＝選んでいる・dim＝薄い・ok/part/no＝照合の色。名前の札は丸の右に浮かせる（丸が場所の真上に立つ） */
.wsmark { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--fg-0); font: inherit; cursor: default; }
button.wsmark { cursor: pointer; }
.wsmark b { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 15px; border: 2px solid var(--bg-1);
  background: var(--sel); color: var(--on-sel); font-size: 14px; font-weight: 700; box-shadow: var(--sh-1); }
.wsmark.dim b { background: var(--bg-1); color: var(--fg-1); border-color: var(--rule-2); }
.wsmark.sel b { box-shadow: 0 0 0 4px var(--sel-ring), var(--sh-1); }
.wsmark.ok b { background: var(--ok-bar); } .wsmark.part b { background: var(--part-bar); color: var(--part-fg); } .wsmark.no b { background: var(--no-bar); }
.wsmlabel { position: absolute; left: calc(100% + 6px); top: 50%; transform: translateY(-50%); padding: 1px 8px; border: 1px solid var(--rule-2);
  border-radius: var(--r-s); background: var(--bg-1); font-size: 13px; font-weight: 600; white-space: nowrap; max-width: 14em; overflow: hidden;
  text-overflow: ellipsis; box-shadow: var(--sh-1); }
.wsmark.sel .wsmlabel { border-color: var(--sel); color: var(--sel); }
/* 2D の地図の値の印（map2d/Map2D.js。矢・数字だけの値・雨の柱・値なし）と、面の照合の札。押せない（地図の操作を妨げない） */
.mk2 { display: flex; flex-direction: column; align-items: center; gap: 1px; pointer-events: none; }
.mk2 .sym { display: block; width: 20px; height: 20px; }
.mk2.arrow .sym { width: 22px; height: 22px; background: currentColor; clip-path: polygon(50% 0, 92% 46%, 64% 46%, 64% 100%, 36% 100%, 36% 46%, 8% 46%);
  filter: drop-shadow(0 0 1px var(--fg-0)); }
.mk2.value .sym { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--fg-0); }
.mk2.column .sym { width: 10px; height: 26px; background: var(--q-rain-5); border: 1.5px solid var(--fg-0); border-radius: 2px; }
/* T28 D7: データ無しの印は斜線をやめ、淡い無地＋点線の枠（雲の灰と見分ける） */
.mk2.nodata .sym { width: 16px; height: 16px; border: 1.5px dashed var(--q-nodata); background-color: var(--bg-1);
  box-shadow: inset 0 0 0 8px color-mix(in srgb, var(--q-nodata) 22%, transparent); }
.mk2 .num { padding: 0 3px; border: 1px solid var(--rule-2); border-radius: 3px; background: var(--bg-1); color: var(--fg-0); font: 700 13px/1.3 var(--f-mono); white-space: nowrap; }
.mk2.nodata .num { font-family: var(--f-ui); font-weight: 500; }
.fc2 { min-width: 20px; height: 20px; font-size: 13px; box-shadow: 0 0 0 1px var(--rule-2); pointer-events: none; }   /* 面の札（照合の札 .st に重ねる） */

/* ---------------------------------------------------------------- 層の板（layers/LayersPanel.js。右上の［層］で開く） */
.layers { position: absolute; top: 52px; right: 10px; z-index: 8; display: flex; flex-direction: column; width: 340px; max-height: calc(100% - 64px);
  border: 1px solid var(--rule-1); border-radius: var(--r-xl); background: var(--bg-1); box-shadow: var(--sh-3); overflow: hidden; }
.layers .lh { display: flex; align-items: center; gap: 8px; flex: none; padding: 8px 8px 8px 12px; border-bottom: 1px solid var(--rule-1); }
.layers .lh h3 { font-size: 14.5px; }
.layers .lb { min-height: 0; padding: 6px 12px 12px; overflow-y: auto; }
.layers input[type=search] { width: 100%; min-height: 40px; padding: 4px 10px; border: 1px solid var(--rule-1); border-radius: var(--r-m); background: var(--bg-2); font-size: 14px; }
.layers h4 { margin: 12px 0 4px; color: var(--fg-2); font-size: 13px; font-weight: 700; }
.lrow { display: grid; grid-template-columns: 22px 1fr; gap: 2px 6px; align-items: start; padding: 6px 0; border-bottom: 1px solid var(--rule-1); font-size: 13.5px; }
.lrow .sym { display: grid; place-items: center; height: 22px; }
.lrow .sq { width: 12px; height: 12px; border-radius: 2px; background: var(--fg-1); }
.lrow .ln { width: 14px; height: 3px; border-radius: 2px; background: var(--fg-1); }
.lrow .ln1 { display: flex; align-items: center; gap: 6px; }
.lrow .ln1 .ibtn { margin-left: auto; }
.lrow .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--fg-2); font-size: 13px; }
/* T47 wx-08 の残り（合わせた後の直し B7）: 塗りの資料が替わる日の 1 行（layers/LayersPanel.js の .lfill）は、行の添え（--fg-2）より 1 段濃い本文の二番目の色（灰でぼかさない） */
.lrow .meta .lfill { color: var(--fg-1); }
/* T50: 自動で足した層の行の注（store/layers.js の autoNoteOf。赤外線で撮り方がドローン・併用の間の区域と送電線）。行の添えの下の 1 行 */
.lrow .meta .lauto { flex-basis: 100%; color: var(--fg-1); }
/* T50: 区域と送電線の層の見本（2D の地図と同じ色の名前＝tokens.css の --reg-did・--reg-rz・--reg-yz・--reg-air・--pwr-line）。
   レッドゾーン＝赤（--reg-rz）・イエローゾーン＝黄（--reg-yz）は本人の決め（2026-10-29「レッドは赤・イエローは黄で塗る」）で、L-09 の例外は
   2D のこの 2 つの層とその見本だけ（ほかは警戒レベルの色を使わない＝L-09・T17 B14。--warn-* とは別の名前）。
   層の板の行の頭（LayersPanel.js。sw-ry＝レッド／イエローの 1 つの層＝左上が赤・右下が黄）と、赤外線「2 どの建物」の一覧の行の名前の後ろ（EntryReg.js）と、
   T56 の赤外線の地図の右の色の説明（workspaces/ir/RegKey.js）が同じ形を使う。
   T54（本人 2026-10-31「見た目をドローンフライトナビに寄せて」→「人口集中地区だけ赤にする」「斜線なし」）: 人口集中地区＝淡い赤の塗りと実線・レッド＝濃い赤の
   塗りと太い実線（しましまは使わない＝T28）・イエロー＝黄の塗りと実線・空港の周辺＝緑の淡い塗りと実線・送電線＝青の線（T56 から map2d/regtiles.js の層と同じ）。
   T59（本人 2026-11-02「人口集中地区（DID）は紫にしてください」）: 人口集中地区は淡い紫の塗りと実線（値は tokens.css だけで替えた） */
.lsw { display: inline-block; flex: none; width: 16px; height: 11px; border-radius: 2px; }
.lsw.sw-did { background: color-mix(in srgb, var(--reg-did) 22%, transparent); border: 1.5px solid var(--reg-did); }
.lsw.sw-rz { background: color-mix(in srgb, var(--reg-rz) 40%, transparent); border: 2px solid var(--reg-rz); }
.lsw.sw-yz { background: color-mix(in srgb, var(--reg-yz) 32%, transparent); border: 1.5px solid var(--reg-yz-line); }
.lsw.sw-ry { border: 2px solid var(--reg-rz); border-right: 1.5px solid var(--reg-yz-line); border-bottom: 1.5px solid var(--reg-yz-line);
  background: linear-gradient(135deg, color-mix(in srgb, var(--reg-rz) 40%, transparent) 50%, color-mix(in srgb, var(--reg-yz) 32%, transparent) 50%); }
.lsw.sw-airport { background: color-mix(in srgb, var(--reg-air) 18%, transparent); border: 1.5px solid var(--reg-air); }
.lsw.sw-power { height: 4px; border-radius: 2px; background: var(--pwr-line); box-shadow: 0 0 0 1px var(--bg-1); }
/* T56: 空港の高い所の表面（地図では塗らずに細く淡い線）の見本は線だけ。使うのは赤外線の地図の右の色の説明（workspaces/ir/RegKey.js）。
   地図の線は淡さ 0.55 だが、升の空港の層は面とその縁をなぞった閉じた線を持ち、同じ所に 2 回描く（1 − 0.45² ≈ 0.8）ので、見本は空港の色の 80%
   （前の 55% は地との比 1.9 で、地図より薄く見えた）。空港の周辺の見本の塗りは地図の塗り 0.18 と同じ 18%（目視の案 A2） */
.lsw.sw-airhi { height: 0; border-radius: 0; border-top: 1.5px solid color-mix(in srgb, var(--reg-air) 80%, transparent); }
.lrow .op { display: flex; align-items: center; gap: 6px; }
.lrow .op input { flex: 1; min-width: 80px; }
.warnline { color: var(--fg-0); font-weight: 700; }
.lgrp { margin-bottom: 4px; }
.lgh { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 4px 0; font-size: 13px; font-weight: 700; }
.lcat { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--rule-1); font-size: 13px; }
.lcat .nm { font-weight: 700; }
.lcat .d { display: block; color: var(--fg-2); font-size: 13px; }

/* ---------------------------------------------------------------- 計算中の読み込みの札（stage/Loading.js。地図の下端に寄せる。地図は覆わない） */
.loadcard { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 7; width: min(460px, calc(100% - 24px)); max-height: 52%; overflow-y: auto;
  padding: 12px 16px; border: 1px solid var(--rule-1); border-radius: var(--r-xl); background: var(--bg-1); box-shadow: var(--sh-3); }
.lhd { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.pbar { position: relative; display: block; height: 4px; border-radius: 2px; background: var(--bg-3); overflow: hidden; }      /* 進みの棒 */
.pbar i { display: block; height: 100%; border-radius: 2px; background: var(--sel); transition: width .4s ease; }
.pbar.ind i { width: 32%; animation: pbar-ind 1.4s ease-in-out infinite; }
@keyframes pbar-ind { 0% { transform: translateX(-100%); } 100% { transform: translateX(320%); } }
.loadcard .pbar { margin-top: 8px; }
/* 予定を足すたびに計算し直す作業（旅行・ツアー）の1行の札（T16 第2回 UT-4。地図を覆わない＝札の外の地図は押せる） */
.loadcard.slim { left: auto; right: 12px; bottom: 30px; transform: none; width: auto; max-width: calc(100% - 24px); padding: 4px 10px; border-radius: var(--r-l); }
.loadcard.slim .lhd { font-size: var(--fs-label); white-space: nowrap; }
.loadcard.slim .lnow { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* 段の一覧は点（T21: 段の名前は点に触れた時の字と読み上げ）。済んだ段は塗り・今の段は太い輪・まだの段は細い輪 */
.lsteps { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.lsteps li { position: relative; flex: none; width: 10px; height: 10px; border: 1.5px solid var(--fg-3); border-radius: 50%; }
.lsteps li.done { border-color: var(--sel); background: var(--sel); }
.lsteps li.act { border-width: 3px; border-color: var(--sel); }

/* ---------------------------------------------------------------- 時間バー（timeline/TimeBar.js。結果の地図・3D の下の細い帯）: 再生・時刻・帯とつまみ */
.tbar { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 56px; padding: 6px 10px; border-top: 1px solid var(--rule-1); background: var(--bg-1); }
.stagepane[data-folded="1"] .tbar { display: none; }      /* 縦に積む幅で地図をたたんだ間は時間バーも出さない（T16 第2回 UT-12。StagePane.js の folded） */
.play { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 0; border-radius: 20px; background: var(--sel); color: var(--on-sel); }
.play:disabled { opacity: .4; }
.play .i { width: 18px; height: 18px; }
.tlab { display: flex; flex-direction: column; flex: none; min-width: 0; max-width: 150px; line-height: 1.2; }
.tlab .l1 { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.tlab .big { font-size: 18px; font-weight: 700; }
.tlab .dd { color: var(--fg-1); font-size: 13.5px; white-space: nowrap; }
.tlab .iv { overflow: hidden; color: var(--fg-2); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
/* T18 K21: 作業が予定の始まりの並び（Screen.stage().timeSteps）を置いた時の［前の予定］［次の予定］と、時刻の下の予定の名前（timeLabel） */
.tstep { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 1px solid var(--rule-2); border-radius: 20px; background: var(--bg-1); color: var(--fg-0); }
.tstep:disabled { opacity: .4; }
.tstep .i { width: 18px; height: 18px; }
.tlab .tev { overflow: hidden; color: var(--fg-0); font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.tbar.tsteps .tlab { max-width: 210px; }
/* 日本の外の地点の時計の「現地」の札。時刻と横並び（スマホで l1 が縦になっても時刻の横に残る） */
.tlab .hm { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.ztag { display: inline-block; padding: 0 4px; border: 1.5px solid var(--k2); border-radius: 4px; color: var(--k2); font-size: 13px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.tsvg { flex: 1; display: block; min-width: 0; height: 44px; cursor: pointer; touch-action: none; }
.tsvg:focus-visible { outline: 2px solid var(--sel); outline-offset: 1px; }
.tbar.off .tlab .big { color: var(--fg-2); }       /* 使えない間: 時刻の字は薄くせず色で弱める */
/* 帯の絵（SVG）。段を分ける（数字と帯を重ねない）: 上＝軌道（1本の太い帯。夜・薄明の地の色＋状態の色）とつまみ／中＝データの種類の細い線／
   下＝目盛りと時刻の数字。軌道の状態の色は、作業が渡す帯（.tb-s in 撮れる・edge 境目・out 外れる・unknown 確かめられない・deferred 当日に確かめる・
   withheld 伏せた＝カレンダーの升の帯と同じ色）か、サーバーの帯の範囲外（.tb-s out2）・確かめられない */
.tb-hit { fill: transparent; }
.tb-off { fill: var(--dim-bg); }
.tb-track { fill: var(--bg-3); }
.tb-edge { fill: none; stroke: var(--rule-2); stroke-width: 1; }
.tb-past { fill: var(--past); }
.tb-twilight { fill: var(--tw); }
.tb-night { fill: var(--night); }
.tb-s.in { fill: var(--ok-bar); }
.tb-s.edge { fill: var(--part-bar); }
.tb-s.out { fill: var(--no-bar); opacity: .3; }
.tb-s.out2 { fill: var(--no-bar); }
/* T28（本人の答え 10/19「しましまは全部やめる」）: 確かめられない（？）は灰の無地（前の斜線の模様 #tb-hatch はやめた）。前の結果の分かれる（split）も同じ灰
   （T16 第5回 ir5 の「色が無く SVG の既定の黒」にはしない。前の縦の縞 #tb-split はやめた） */
.tb-s.unknown, .tb-s.split { fill: var(--unk-bar); }
.tb-s.deferred { fill: var(--fg-3); opacity: .5; }
.tb-s.withheld { fill: var(--bg-3); }
.tb-s.past { fill: var(--unk-bar); opacity: .25; }      /* T79: 過ぎた時間（計算した時刻より前の今日の作業の時間。升の .b-past は真ん中の細い線・時間バーは薄い無地） */
.tb-dk { fill: none; stroke-width: 2; }
.tb-dk.k1 { stroke: var(--k1); }
.tb-dk.k2 { stroke: var(--k2); stroke-dasharray: 6 3; }
.tb-dk.k3 { stroke: var(--k3); stroke-dasharray: 2 3; }
.tb-dk.none { stroke: var(--rule-2); stroke-dasharray: 1 4; }
.tb-warn.w5 { fill: var(--warn-5); } .tb-warn.w4 { fill: var(--warn-4); } .tb-warn.w3 { fill: var(--warn-3); } .tb-warn.w2 { fill: var(--warn-2); }
.tb-warn.w1 { fill: var(--warn-1); stroke: var(--fg-1); stroke-width: .6; }
.tb-day { stroke: var(--fg-1); stroke-width: 1.2; }
.tb-tick { stroke: var(--rule-2); stroke-width: 1; }
.tb-t { fill: var(--fg-1); font-family: var(--f-mono); font-size: 13px; }
.tb-t.day { fill: var(--fg-0); font-weight: 700; }
.tb-t.now { fill: var(--fg-0); font-weight: 700; }
.tb-now { stroke: var(--fg-0); stroke-width: 1.5; stroke-dasharray: 3 2; }
.tb-cur { stroke: var(--sel); stroke-width: 2.5; }
.tb-knob { fill: var(--sel); stroke: var(--bg-1); stroke-width: 2.5; }
.tb-hl-mark { fill: var(--fg-1); }

/* ---------------------------------------------------------------- 追う移動体を選ぶ（移動体が2つ以上のとき。右下） */
.mover-pick { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 2px 4px 2px 10px; border-radius: var(--r-l); background: var(--bg-1);
  box-shadow: var(--sh-2); font-size: 13px; }
.mover-pick .k { color: var(--fg-1); font-weight: 700; white-space: nowrap; }
.mover-pick select { min-width: 0; max-width: 200px; min-height: 32px; border: 1px solid var(--rule-2); border-radius: var(--r-s); background: var(--bg-0); color: var(--fg-0); font: inherit; }

/* ---------------------------------------------------------------- 3D の視点の釦（stage/ViewControls.js。3D の下の端の真ん中）
   枠の端から端（8px ずつ空ける）に置き、中身を真ん中に寄せる。枠の上の空いた所は押せる（pointer-events は中身だけ）。
   今の視点は強調の色で塗る。枠が狭い（620px 以下）ときは端から端まで広げる。釦は T21 からどの幅も印だけ（名前は title と読み上げ） */
.vctl { position: absolute; left: 8px; right: 8px; bottom: 22px; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.vctl > * { pointer-events: auto; }
.vbar { display: flex; align-items: center; gap: 8px; max-width: 100%; }
.vseg { display: inline-flex; gap: 2px; min-width: 0; padding: 3px; border: 1px solid var(--line-strong); border-radius: var(--r-l); background: var(--bg-1); box-shadow: var(--sh-2); }
.vbtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 38px; min-height: 34px; padding: 0 10px; border: 0; border-radius: 9px;
  background: transparent; color: var(--fg-1); font: inherit; font-size: 13.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; cursor: pointer; }
.vbtn .i { width: 18px; height: 18px; vertical-align: 0; }
.vbtn:hover { background: var(--bg-2); color: var(--fg-0); }
.vbtn.on { background: var(--sel); color: var(--on-sel); }
.vbtn.on:hover { background: var(--sel-hover); }
/* 手で動かした後の今の視点（押すとこの視点の眺めに戻る）: 薄い地に強調の色の線 */
.vbtn.on.back { background: var(--sel-soft); color: var(--sel); box-shadow: inset 0 0 0 1.5px var(--sel); }
.vbtn:focus-visible, .vcompass:focus-visible, .vhelp:focus-visible, .vhint-x:focus-visible { outline: 2px solid var(--sel); outline-offset: 2px; }
/* 方位の印（針の先の N が北。押すと北を上に）と［？］ */
.vcompass, .vhelp { display: grid; place-items: center; flex: none; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--bg-1);
  color: var(--fg-1); box-shadow: var(--sh-2); cursor: pointer; }
.vcompass { width: 42px; height: 42px; }
.vcompass svg { width: 100%; height: 100%; transition: transform .25s ease-out; }
.vcompass svg.spin { transition: none; }
.vcompass text { fill: var(--sel); font-family: var(--f-ui); font-size: 13px; font-weight: 700; }
.vcompass .nn { fill: var(--sel); }
.vcompass .ns { fill: var(--fg-3); }
.vcompass:hover, .vhelp:hover { background: var(--bg-2); }
.vhelp { width: 34px; height: 34px; }
.vhelp[aria-expanded="true"] { border-color: var(--sel); color: var(--sel); }
/* 操作の説明（最初の1回・［？］）。広い枠では列の上の真ん中。左右に 70px ずつ空けて右下の［断面］にかけない */
.vhint { display: flex; align-items: center; gap: 10px; max-width: min(100%, calc(100cqw - 140px)); padding: 7px 8px 7px 14px; border: 1px solid var(--line-strong);
  border-radius: var(--r-l); background: var(--bg-1); box-shadow: var(--sh-2); color: var(--fg-1); font-size: 13.5px; line-height: 1.5; }
/* T21: 説明は絵だけ（.vh-g＝操作の絵と動きの絵の組。字は title と読み上げ） */
.vhint-t { display: inline-flex; align-items: center; gap: 14px; }
.vh-g { display: inline-flex; align-items: center; gap: 2px; color: var(--fg-0); }
.vh-g .i { width: 20px; height: 20px; }
.vhint-x { display: grid; place-items: center; flex: none; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: transparent;
  color: var(--fg-2); cursor: pointer; }
.vhint-x:hover { background: var(--bg-2); }

/* ---------------------------------------------------------------- 断面・時系列・天空図（profile/Profile.js。Screen の stage().profile で出す。3D の下の引き出し） */
.prof { display: flex; flex-direction: column; min-width: 0; height: 168px; border-top: 1px solid var(--rule-1); background: var(--bg-1); }
.prof.col { height: 38px; }                           /* 畳んだ形 */
.prof .phd { display: flex; align-items: center; gap: 8px; flex: none; min-height: 37px; padding: 0 8px; border-bottom: 1px solid var(--rule-1); }
.prof .phd .note { flex: 1; min-width: 0; overflow: hidden; color: var(--fg-2); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.prof .phd .seg button { min-height: 28px; padding: 1px 10px; font-size: 13px; }
.profsvg { flex: 1; display: block; width: 100%; min-height: 0; cursor: pointer; }
/* 天空図: 図の横に稜線の説明（下に積むと図が潰れる。図は高さいっぱい） */
.skywrap { flex: 1; display: flex; align-items: stretch; min-height: 0; overflow: auto; }
.skywrap > .profsvg { flex: 1 1 auto; min-width: 0; height: auto; }
.skycaps { flex: 0 0 34%; max-width: 320px; padding: 4px 0; border-left: 1px solid var(--rule-1); overflow-y: auto; }
.skycap { padding: 0 10px 4px; }
/* 図（SVG）の字と線 */
.pf-t, .pf-l { fill: var(--fg-1); font-family: var(--f-ui); font-size: 13px; }
.pf-u, .pf-ch { fill: var(--fg-2); font-family: var(--f-ui); font-size: 13px; }
.pf-ch { font-weight: 700; }
.pf-st { stroke: var(--rule-1); stroke-width: .5; }
.pf-st.in { fill: var(--in-bg); }
.pf-st.edge { fill: var(--edge-bg); }
.pf-st.out { fill: var(--out-bg); }
.pf-st.unknown { fill: var(--dim-bg); }
.pf-st.warm { fill: var(--q-amber-lo); }
.pf-st.hold { fill: var(--q-amber-lo); opacity: .7; }
.pf-lit { fill: var(--q-amber-hi); opacity: .8; }
.pf-v { stroke: var(--k1); stroke-width: 2.5; }
.pf-v.ref { stroke: var(--k2); stroke-dasharray: 5 3; }
/* 過去の再現の取り方（当時・最良推定・実況）と陸の代わりの行 */
.pf-v.b-as_known { stroke: var(--sel); stroke-dasharray: none; }
.pf-v.b-best_estimate { stroke: var(--q-amber-hi); stroke-dasharray: 6 3; }
.pf-v.b-observed { stroke: var(--fg-0); stroke-dasharray: 2 2; }
.pf-v.alt { stroke-width: 1.5; stroke-dasharray: 1 3; }
.pf-thr { stroke: var(--out-bg); stroke-width: 1.2; stroke-dasharray: 4 3; }
.pf-cur { stroke: var(--sel); stroke-width: 2; }
.pf-grid { stroke: var(--rule-1); stroke-width: .6; }
.pf-hz { stroke: var(--fg-2); stroke-width: 1.2; }
.pf-face { fill: var(--sel-soft); opacity: .6; }
.pf-facen { stroke: var(--sel); stroke-dasharray: 3 3; }
.pf-sun { fill: none; stroke: var(--q-amber-hi); stroke-width: 2.5; }
.pf-sundot { fill: var(--q-amber-hi); stroke: var(--bg-1); stroke-width: 2; }
/* 天空図の稜線と、稜線の下に入る太陽の軌跡（破線） */
.pf-ridge { fill: var(--bg-3); opacity: .85; }
.pf-ridgel { fill: none; stroke: var(--fg-1); stroke-width: 1.4; }
.pf-sun.hid { stroke-dasharray: 4 3; opacity: .75; }
.pf-sundot.hid { fill: var(--bg-1); stroke: var(--q-amber-hi); stroke-width: 2; }
.profdrawer { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; flex-direction: column; height: min(46%, 300px); border-top: 1px solid var(--rule-2); background: var(--bg-1); }
.profdrawer .prof { flex: 1; min-height: 0; height: auto; border-top: 0; }
.profdrawer .pdclose { position: absolute; right: 6px; top: 2px; z-index: 2; }
.profdrawer .prof .phd { padding-right: 48px; }

/* ================================================================ 3D の枠が狭い（620px 以下。スマホ・左右半々の 1024 以下）: 視点の釦を端から端まで */
@container pcview (max-width: 620px) {
  .vctl { bottom: 20px; }
  .vbar { width: 100%; gap: 6px; }
  .vseg { flex: 1; padding: 2px; }
  .vbtn { flex: 1 1 0; padding: 0 4px; font-size: 13.5px; }
  /* 操作の説明: 左の端に絵だけ、枠の真ん中より左だけに置く（真ん中は追っている移動体・対象の所）。帯のどこを押しても閉じる */
  .vctl .vhint { position: relative; align-self: flex-start; max-width: max(156px, calc(50cqw - 28px)); min-height: 46px; padding: 5px 22px 5px 10px; line-height: 1.4; }
  .vctl .vhint:hover { background: var(--bg-2); }
  .vctl .vhint-x { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: flex-end; width: auto; height: auto; padding: 4px 4px 0 0;
    border-radius: inherit; background: transparent; }
  .vctl .vhint-x:hover { background: transparent; }
  .vctl .vhint-x .i { width: 12px; height: 12px; }
}

/* ================================================================ 幅ごと */
@media (min-width: 768px) and (max-width: 1279px) {
  .ov.tl { max-width: calc(100% - 250px); }
}
/* 右の器そのものが狭い時（左の欄が広い作業の、幅 1024 前後）: 左上の札は、右上の釦（地図｜3D｜報告書・層・現在地＝約 300px）の手前で折り返す。
   画面の幅でなく器の幅で決める（左の欄の幅は作業が決めるので、同じ画面の幅でも器の幅が違う） */
@media (min-width: 768px) {
  @container pcview (max-width: 700px) {
    .ov.tl { max-width: calc(100% - 320px); }
  }
}
/* 幅 900px 未満（縦に積む）: 読み込みの札は今の段だけの細い札にして地図の下端に付ける（左下の出典の1行は隠さない） */
@media (max-width: 899px) {
  .loadcard { left: 8px; right: 8px; bottom: 30px; transform: none; width: auto; max-height: 128px; padding: 8px 12px; border-radius: var(--r-l); }
  .loadcard .pbar { height: 3px; margin-top: 4px; }
  .lsteps { margin-top: 6px; }
}
/* スマホ 〜767: 押す所 44px */
@media (max-width: 767px) {
  .ov.tl { max-width: calc(100% - 150px); }
  /* T47 v H5: 影の札は、右上の切替（約 180px）と左右の余白を空けた幅まで（器の幅 400px 未満＝360・375・390 は 2 行「建物の影／（晴れた場合）」。前は 360・375 で切替の手前で切れ、
     390 は切替との間が 4px だった。414 から 1 行） */
  .ov.tl .tag.shade { max-width: calc(100cqw - 214px); }
  .ov.tr { flex-direction: column; align-items: flex-end; }
  /* 下見（計算の前の 3D）の間は、右上の釦を1段に並べる: 見え方の切替の下に［層］を積むと、3D の上から約 104px が釦の段になる
     （幅 390 の下見は 3D の見える所が狭い＝T5 の点検）。下見の間は左上に探す欄・結果の札が無いので、1段に並べても重ならない */
  .stagepane[data-preview="1"] .ov.tr { flex-direction: row; align-items: flex-start; }
  .ov.br { bottom: 22px; }
  .ov .ibtn { width: 44px; height: 44px; }
  .stagetop .btn, .stagetop .seg button, .dimsw button { min-height: 44px; }
  .tag { padding: 3px 8px; }
  .msrch { width: calc(100% - 80px); }
  /* 結果の間も探す欄を出す作業（直せる計画）: 右上に見え方の切替が出ている間は、欄をその下の段へ（切替の釦と重ねない） */
  .view:has(.stagetop .dimsw) .msrch { top: 62px; }
  .view:has(.stagetop .dimsw) .msrch ~ .ov.tl.rov { top: 116px; }
  /* T18 fix u2（統合役が歩いて見つけた所 3: 幅 390 の結果の地図〈高さ約 220px〉を覆いが埋め、線と印が見えなかった）: 計算をくり返す作業（旅行）の結果を
     スマホで見ている間（StagePane.js の data-compact）は、右上の釦を上の端の1段に並べる（縦に積むと地図の右の半分を覆った）。切替の釦の左右を詰め、
     段の左の端に畳んだ探す欄の虫眼鏡（MapSearch.js の SearchFold）。開いた欄は段の下に地図の幅いっぱい。左上の短い札は段の下へ */
  .stagepane[data-compact="1"] .ov.tr { top: 8px; flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
  .stagepane[data-compact="1"] .stagetop .seg { padding: 2px; }
  .stagepane[data-compact="1"] .dimsw button { padding: 4px 7px; }
  .stagepane[data-compact="1"] .ov.tl.rov { top: 62px; }
  .msrch.unfold { width: calc(100% - 20px); }
  .stagetop .msfold[aria-expanded="true"] { background: var(--sel-soft); color: var(--sel); }
  .msform input { min-height: 44px; font-size: 16px; }      /* iOS は 16px 未満の入力欄に触れると画面を拡大する */
  .msform .msgo, .msitem, .msback { min-height: 44px; }
  .mslist { max-height: 132px; overflow: auto; }             /* 一覧は約3件ぶん（地図を覆いすぎない） */
  .srpin { max-width: 180px; min-height: 44px; }
  .layers { left: 8px; right: 8px; width: auto; max-height: calc(100% - 60px); }   /* スマホは器の幅いっぱいの板 */
  .layers input[type=search] { min-height: 44px; }
  .tbar { padding: 2px 6px; }
  .play { width: 44px; height: 44px; border-radius: 22px; }
  .tlab { max-width: 84px; }
  .tlab .l1 { flex-direction: column; align-items: flex-start; gap: 0; }
  .tlab .big { font-size: 17px; }
  .tlab .iv { display: none; }
  .tsvg { height: 52px; }
  /* 予定の釦の在る時間バー（旅行）: 釦と時刻・予定の名前を上の段に、帯を下の段に（帯の幅を残す。釦は指で押せる 44px） */
  .tstep { width: 44px; height: 44px; border-radius: 22px; }
  .tbar.tsteps { flex-wrap: wrap; row-gap: 0; }
  .tbar.tsteps .tlab { flex: 1; max-width: none; }
  .tbar.tsteps .tlab .l1 { flex-direction: row; align-items: baseline; gap: 6px; }
  .tbar.tsteps .tsvg { flex-basis: 100%; }
  .mover-pick select { max-width: 150px; min-height: 44px; }
  .profdrawer { height: 62%; }
  .vbtn { padding: 0 2px; font-size: 13px; }
  .vhint { padding: 2px 2px 2px 12px; font-size: 13px; }
  .vhelp { display: none; }                                  /* 釦6つが 390 幅で 44px を保てるよう、［？］は出さない */
}
/* 指で触る端末・スマホの幅: 3D の釦の押す所 44×44 以上 */
@media (pointer: coarse), (max-width: 767px) {
  .vbtn { min-width: 44px; min-height: 44px; }
  .vcompass { width: 48px; height: 48px; }
  .vhint-x { width: 44px; height: 44px; }
  .view[data-dim="3d"] .ov.br { bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .pbar.ind i { width: 100%; animation: none; opacity: .4; }
  .vcompass svg { transition: none; }
}

/* ================================================================ T47 の 10/28 の直し（記録 docs/_records/phase_t/T47_int.md の V）
   全体管理の決め V26（点検 ui-10 の残り）: 指で押す幅（スマホ 〜767・指で触る端末の 〜899）で、［©］の押せる箱（44×44）を、重なる釦の下にしない。
   - 赤外線の結果と下見の 3D（作業が compassTop を渡す＝StagePane.js が右上の段にも方位の印 Compass を置く）で、視点の釦の列が器の幅いっぱい（器 620px 以下）の間は、
     方位の印を右上の段に出して列から外し、列の右の端を箱の左まで（right 64px）にする（前は列の右の端の方位の釦が箱の上の 26px を覆い、© に当たるのは 18px 四方だった。
     列を上げる形は、初めの操作の説明が上へ動いて稜線の札の置き場と重なり、低い器〈375×667 の 195px〉で右上の段と重なったので採らない）。
   - 赤外線の結果の縦のスマホ（〜767）は、右上の釦を段に分ける: 切替｜方位の印・現在地・高さの釦｜［層］（右の端の 1 列の高さを詰め、低い器〈360×740 の 223px〉でも
     右の端の列が箱に届かない。前は地図で［地図をたたむ］が箱の上の 32px を覆った）。［層］を 3 段目にするのは、2 段目に 3 つ並べると、道具の段のすぐ下の稜線の点の札
     （幅 300px ほど・点の上）の置き場が道具の段に掛かったため（test_t23_map の「道具の列の下」）。高さ 720px 未満の端末（375×667＝器 195px）は 3 段目が箱に掛かるので
     ［層］も 2 段目（3 つ並ぶ）。
   - 横向きのスマホの左右の形（data-side。器の幅 294〜403px）は、列を右の端まで残し（6 つの釦が入る幅のため）、箱を列のすぐ上へ（下の節）。
   方位の釦の絵（回す svg）は押す所に数えない（回した絵の四角が丸の外の箱へ 7px ほどはみ出した）。旅行の 3D・横向きの iPad（幅 900 以上）・PC は前のまま */
.vcompass svg { pointer-events: none; }
.stagetop .vcompass { display: none; }
@media (max-width: 767px), (pointer: coarse) and (max-width: 899px) {
  @container pcview (max-width: 620px) {
    .stagetop .vcompass { display: grid; width: 44px; height: 44px; }
    .view:has(.stagetop .vcompass) .vctl .vcompass { display: none; }
    .view[data-dim="3d"]:has(.stagetop .vcompass) .vctl { right: 64px; }
  }
}
@media (max-width: 767px) {
  .shell[data-ws="ir"]:not([data-side]):has(.lpane > .irx-l18) .stagepane:not([data-preview="1"]) .ov.tr.stagetop { flex-direction: row; flex-wrap: wrap;
    align-items: flex-start; justify-content: flex-end; max-width: 196px; }
  .shell[data-ws="ir"]:not([data-side]):has(.lpane > .irx-l18) .stagepane:not([data-preview="1"]) .ov.tr.stagetop > .seg { order: 1; }
  .shell[data-ws="ir"]:not([data-side]):has(.lpane > .irx-l18) .stagepane:not([data-preview="1"]) .ov.tr.stagetop > :is(.ibtn, .vcompass) { order: 2; }
  .shell[data-ws="ir"]:not([data-side]):has(.lpane > .irx-l18) .stagepane:not([data-preview="1"]) .ov.tr.stagetop > .stsize { order: 3; }
  .shell[data-ws="ir"]:not([data-side]):has(.lpane > .irx-l18) .stagepane:not([data-preview="1"]) .ov.tr.stagetop > .btn { order: 5; }
}
@media (max-width: 767px) and (min-height: 720px) {
  .shell[data-ws="ir"]:not([data-side]):has(.lpane > .irx-l18) .stagepane:not([data-preview="1"]) .ov.tr.stagetop::after { content: ""; order: 4; flex-basis: 100%; height: 0; }
}
/* 全体管理の決め V20（点検 N1）: 横向きのスマホの左右の形（骨組みの data-side＝store/index.js の landSide。幅 640〜899・高さ 480 未満の赤外線の結果）の右の器は
   294〜403px（縦のスマホと同じ程度の幅）。右上の釦（切替・［層］・方位の印）は上の端の 1 段・左上の札はその下の段（前の並びでは、300px の器で影の札「建物の影（晴れた場合）」が
   切替の手前で切れ、380px の器では札の箱が 50px に縮んだ）。方位の印は視点の釦の列から右上の段へ（StagePane.js の Compass。列に 6 つの釦〈44px〉と印〈48px〉が入らず、
   300px の器で 6 つ目の釦が印の下に隠れた）。指の端末なので、幅 768 以上でも右上の釦と再生の釦は 44px（縦のスマホと同じ） */
.app.shell[data-side] #stage .ov.tr.stagetop { top: 8px; flex-direction: row; flex-wrap: nowrap; align-items: flex-start; max-width: calc(100% - 16px); }
.app.shell[data-side] #stage .dimsw button { min-width: 44px; padding: 4px 10px; }
.app.shell[data-side] #stage .ov.tl.rov { top: 60px; max-width: calc(100% - 20px); }
.app.shell[data-side] #stage .ov.tl .tag.shade { max-width: none; }
.app.shell[data-side] #stage .stagetop .btn, .app.shell[data-side] #stage .stagetop .seg button { min-height: 44px; }
.app.shell[data-side] #stage .stagetop > .btn { min-width: 44px; justify-content: center; }
.app.shell[data-side] #stage .ov .ibtn { width: 44px; height: 44px; }
.app.shell[data-side] #stage .play { width: 44px; height: 44px; border-radius: 22px; }
/* V26 の左右の形: 視点の釦の列は右の端まで（6 つの釦〈44px〉が入る幅のため。上の節の right 64px を外す）、［©］の押せる箱を列のすぐ上（右の端）へ。
   右下の追う移動体・［断面］はその上 */
.app.shell[data-side] #stage .view[data-dim="3d"] .vctl { right: 8px; }
.app.shell[data-side] #stage .view[data-dim="3d"] .attr { bottom: 72px; }
.app.shell[data-side] #stage .view[data-dim="3d"] .ov.br { bottom: 124px; }
