/* ToT 共通の土台スタイル。サイト共通の /css/common.css の後に読み込む。
   白基調・主操作は青・成功は緑・エラーは赤＋文字。common.css に合わせてダークモードにも対応。 */
:root {
  --tot-surface: #f6f8fb;
  --tot-field-bg: #ffffff;
  --tot-border: #d6dce5;
  --tot-input-border: #9aa5b5;
  --tot-text: #1a2230;
  --tot-muted: #5a6575;
  --tot-primary: #1d5fd1;
  --tot-primary-hover: #164ba8;
  --tot-primary-soft: #e8f0fd;
  --tot-on-primary: #ffffff;
  --tot-success: #157347;
  --tot-success-text: #0f5132;
  --tot-success-soft: #e7f5ee;
  --tot-danger: #b42318;
  --tot-danger-soft: #fdecea;
  --tot-focus: #f2a900;
  --tot-radius: 8px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --tot-surface: #20242b;
    --tot-field-bg: #15181d;
    --tot-border: #3a414c;
    --tot-input-border: #5c6675;
    --tot-text: #e8ecf2;
    --tot-muted: #a7b0bd;
    --tot-primary: #6ea2ff;
    --tot-primary-hover: #8fb7ff;
    --tot-primary-soft: #1d2a40;
    --tot-on-primary: #0b1220;
    --tot-success: #4cc38a;
    --tot-success-text: #9be0bd;
    --tot-success-soft: #15291f;
    --tot-danger: #ff8a7a;
    --tot-danger-soft: #3a1d1a;
  }
}

.tot-main *, .tot-main *::before, .tot-main *::after { box-sizing: border-box; }

.tot-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 16px 64px;
  color: var(--tot-text);
  font-size: 16px;
  line-height: 1.7;
}
.tot-main a { color: var(--tot-primary); }
/* ツールの表示部分。中の2列・1列の切り替えは画面幅ではなくこの幅で決める（@container tot-tool。作業画面の並べて表示の片側でも合う） */
.tot-tool { container: tot-tool / inline-size; }
.tot-main :focus-visible { outline: 3px solid var(--tot-focus); outline-offset: 2px; }

.tot-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.tot-main [hidden] { display: none !important; }

/* ── パンくず ── */
.tot-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0 6px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: var(--tot-muted);
}
.tot-crumbs li + li::before { content: "›"; margin-right: 6px; }
.tot-crumbs a { color: var(--tot-muted); text-decoration: none; }
.tot-crumbs a:hover { text-decoration: underline; }

/* ── タイトル ── */
.tot-version {
  display: inline-block;
  margin-bottom: 4px;
  padding: 0 8px;
  border: 1px solid var(--tot-border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--tot-muted);
}
.tot-main .tot-open-tab {
  display: inline-flex; align-items: center; min-height: 36px; margin-left: 8px; padding: 2px 12px;
  border: 1px solid var(--tot-primary); border-radius: var(--tot-radius);
  font-size: 14px; font-weight: 600; text-decoration: none; vertical-align: middle;
}
.tot-main .tot-open-tab:hover { background: var(--tot-primary-soft); }
.tot-main .tot-title h1 { margin: 0 0 4px; font-size: 26px; line-height: 1.35; letter-spacing: 0; }
.tot-main .tot-lead { margin: 0 0 12px; color: var(--tot-muted); }

.tot-main .tot-privacy {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 20px;
  padding: 10px 14px;
  border-radius: var(--tot-radius);
  background: var(--tot-success-soft);
  color: var(--tot-success-text);
  font-size: 14px;
}

.tot-doc { margin-top: 36px; }
.tot-main .tot-doc h2 {
  font-size: 20px;
  margin: 0 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--tot-border);
}

/* ── ボタン ── */
.tot-btn {
  appearance: none;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--tot-primary);
  border-radius: var(--tot-radius);
  background: transparent;
  color: var(--tot-primary);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.tot-btn:hover { background: var(--tot-primary-soft); }
.tot-btn-primary { background: var(--tot-primary); color: var(--tot-on-primary); }
.tot-btn-primary:hover { background: var(--tot-primary-hover); }
.tot-btn-quiet { border-color: var(--tot-border); color: var(--tot-muted); }
.tot-btn-quiet:hover { background: var(--tot-surface); }

@media (min-width: 900px) {
  .tot-main { padding: 24px 24px 80px; }
  .tot-main .tot-title h1 { font-size: 30px; }
}

/* 利用状況の計測の設定（src/shared/usage/usage-page.js。画面の下に出し、ツールの操作を妨げない。閉じられる） */
.tot-usage-note { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; max-width: 720px; max-height: 70vh; overflow: auto; margin: 0 auto; padding: 12px 14px; border: 1px solid var(--tot-border); border-radius: var(--tot-radius); background: var(--tot-field-bg); color: var(--tot-text); font-size: 13px; line-height: 1.6; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); }
.tot-usage-note p { margin: 0 0 6px; }
.tot-usage-title { font-weight: 700; font-size: 14px; }
.tot-usage-state { color: var(--tot-muted); }
.tot-usage-note a { color: var(--tot-primary); }
.tot-usage-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 8px; }
/* 「許可する」「許可しない」は同じ見た目（どちらかを目立たせない） */
.tot-usage-btn { min-height: 36px; padding: 4px 16px; border: 1px solid var(--tot-input-border); border-radius: 6px; background: var(--tot-surface); color: var(--tot-text); font: inherit; font-weight: 600; cursor: pointer; }
.tot-usage-btn:focus-visible, .tot-usage-note-close:focus-visible { outline: 3px solid var(--tot-focus); outline-offset: 2px; }
.tot-usage-note-close { margin-left: auto; padding: 2px 10px; border: 1px solid var(--tot-input-border); border-radius: 6px; background: transparent; color: var(--tot-text); font: inherit; cursor: pointer; }

/* ToT トップの作業画面（ビルドで src/shared/base.css の後に連結）。 */
.ws-page { max-width: 1320px; }
.ws-hero h1 { margin: 0; font-size: 24px; line-height: 1.3; }
.ws-lead { margin: 2px 0 12px; color: var(--tot-muted); font-size: 15px; }
.ws-muted { color: var(--tot-muted); font-size: 14px; margin: 6px 0; }
.ws-error { color: var(--tot-danger); font-weight: 600; }

.ws-btn {
  min-height: 40px;
  padding: 6px 14px;
  border: 1px solid var(--tot-primary);
  border-radius: var(--tot-radius);
  background: var(--tot-field-bg);
  color: var(--tot-primary);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.ws-btn:hover { background: var(--tot-primary-soft); }
.ws-btn:disabled { opacity: 0.5; cursor: not-allowed; background: transparent; }
.ws-btn-primary { background: var(--tot-primary); color: var(--tot-on-primary); }
.ws-btn-primary:hover { background: var(--tot-primary-hover); }
.ws-btn-danger { border-color: var(--tot-danger); color: var(--tot-danger); }
.ws-link { border: 0; padding: 0; background: none; color: var(--tot-primary); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }

/* 上部：会員・保存状態 */
.ws-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
  padding: 10px 14px; margin-bottom: 12px;
  border: 1px solid var(--tot-border); border-radius: var(--tot-radius); background: var(--tot-surface);
}
.ws-bar-text { flex: 1 1 22em; min-width: 0; }
.ws-bar-info, .ws-bar-status { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.ws-bar-status { color: var(--tot-muted); }
.ws-bar-status.is-warn, .ws-bar-status.is-error { color: var(--tot-danger); font-weight: 600; }
.ws-bar-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* 本体：ツール選択（広い画面は左）＋タブ */
.ws-body { display: grid; gap: 16px; }
.ws-main { min-width: 0; }
.ws-finder {
  padding: 12px; border: 1px solid var(--tot-border); border-radius: var(--tot-radius); background: var(--tot-field-bg);
}
.ws-finder:not(.is-compact) { display: none; }
.ws-finder.is-open { display: block; }
.ws-finder.is-compact { border: 0; padding: 0; background: none; }
.ws-finder-head { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.ws-finder-title { margin: 0; font-size: 16px; }
.ws-finder-close { display: none; }
.ws-input {
  width: 100%; min-height: 44px; padding: 8px 12px;
  border: 1px solid var(--tot-input-border); border-radius: var(--tot-radius);
  font: inherit; font-size: 16px; color: var(--tot-text); background: var(--tot-field-bg);
}
.ws-cat { margin-top: 12px; }
.ws-cat-path { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--tot-muted); }
.ws-tool-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ws-tool-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 10px; border: 1px solid var(--tot-border); border-radius: var(--tot-radius); background: var(--tot-field-bg);
}
.ws-tool-name { margin: 0; font-weight: 700; }
.ws-tool-sum { margin: 2px 0 0; font-size: 13px; color: var(--tot-muted); }
.ws-open { flex: none; min-height: 36px; padding: 4px 14px; }
.ws-finder-more { margin: 12px 0 0; font-size: 14px; }

/* タブ列 */
.ws-tabs-row { display: flex; align-items: center; gap: 8px; border-bottom: 2px solid var(--tot-border); padding-bottom: 6px; }
.ws-tablist-scroll { flex: 1 1 auto; min-width: 0; overflow-x: auto; }
.ws-tablist { display: flex; gap: 6px; width: max-content; }
.ws-tab {
  display: flex; align-items: center;
  border: 1px solid var(--tot-border); border-radius: var(--tot-radius) var(--tot-radius) 0 0;
  background: var(--tot-surface);
}
.ws-tab.is-active { border-color: var(--tot-primary); background: var(--tot-field-bg); box-shadow: inset 0 -3px 0 var(--tot-primary); }
.ws-tab-label {
  display: flex; align-items: center; gap: 6px;
  max-width: 15em; min-height: 40px; padding: 4px 6px 4px 12px;
  border: 0; background: none; color: var(--tot-text); font: inherit; font-size: 14px; cursor: pointer;
}
.ws-tab.is-active .ws-tab-label { font-weight: 700; }
.ws-tab-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-tab-flag { padding: 0 6px; border-radius: 999px; background: var(--tot-danger); color: var(--tot-field-bg); font-size: 12px; font-weight: 700; }
.ws-tab-menu, .ws-tab-close {
  min-width: 32px; min-height: 40px; border: 0; background: none; color: var(--tot-muted); font: inherit; font-size: 16px; cursor: pointer;
}
.ws-tab-menu:hover, .ws-tab-close:hover { color: var(--tot-text); background: var(--tot-primary-soft); }
.ws-add { flex: none; min-width: 44px; padding: 4px 10px; font-size: 20px; line-height: 1; }
.ws-count { flex: none; font-size: 14px; color: var(--tot-muted); font-variant-numeric: tabular-nums; }
.ws-finder-toggle { flex: none; display: inline-flex; align-items: center; gap: 6px; }
.ws-icon { flex: none; display: block; }

.ws-panels { min-width: 0; }
.ws-panel { padding-top: 12px; }
.ws-tool-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; margin-bottom: 8px; }
.ws-tool-path { margin: 0; width: 100%; font-size: 13px; color: var(--tot-muted); }
.ws-tool-title { margin: 0; font-size: 22px; line-height: 1.35; }
.ws-tool-links { margin: 0; font-size: 14px; }
.ws-empty-title { margin: 4px 0 8px; font-size: 18px; }
.ws-start { padding-top: 12px; }
.ws-start h2 { margin: 0 0 4px; font-size: 18px; }

.ws-banner {
  margin: 0 0 12px; padding: 10px 14px;
  border: 2px solid var(--tot-danger); border-radius: var(--tot-radius); background: var(--tot-danger-soft);
}
.ws-banner p { margin: 0 0 8px; font-weight: 600; }
.ws-banner-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ダイアログ・通知 */
.ws-dialog {
  position: fixed; inset: 0; margin: auto; height: fit-content; max-height: calc(100vh - 32px); overflow: auto;
  width: min(440px, calc(100vw - 32px)); padding: 0;
  border: 1px solid var(--tot-border); border-radius: var(--tot-radius);
  color: var(--tot-text); background: var(--tot-field-bg);
}
.ws-dialog::backdrop { background: rgb(0 0 0 / 0.4); }
.ws-dialog-form { padding: 18px; }
.ws-dialog-title { margin: 0 0 10px; font-size: 18px; }
.ws-dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.ws-dialog-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; }
.ws-label { display: grid; gap: 4px; margin-top: 10px; font-weight: 600; font-size: 14px; }
.ws-form-error { margin: 10px 0 0; color: var(--tot-danger); font-weight: 600; font-size: 14px; }
.ws-menu { display: grid; gap: 6px; }
.ws-menu-item { text-align: left; }
.ws-toast {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 50;
  display: flex; align-items: center; gap: 10px;
  width: max-content; max-width: calc(100vw - 32px); padding: 10px 14px;
  border-radius: var(--tot-radius); background: var(--tot-text); color: var(--tot-field-bg); font-size: 14px;
  box-shadow: 0 4px 16px rgb(0 0 0 / 0.25);
}
.ws-toast .ws-btn { min-height: 32px; padding: 2px 10px; background: transparent; color: inherit; border-color: currentColor; font-size: 14px; }
.ws-toast .ws-toast-close { border: 0; }

@media (max-width: 600px) {
  .ws-tabs-row { flex-wrap: wrap; }
  .ws-tablist-scroll { order: 3; flex-basis: 100%; }
  .ws-add { margin-left: auto; }
  .ws-tab-label { max-width: 9.5em; padding-left: 8px; }
  .ws-tab-menu, .ws-tab-close { min-width: 28px; }
  .ws-tool-title { font-size: 19px; }
}

@media (min-width: 1200px) {
  .ws-body { grid-template-columns: 300px minmax(0, 1fr); align-items: start; }
  .ws-finder:not(.is-compact) { display: block; position: sticky; top: 72px; max-height: calc(100vh - 90px); overflow: auto; }
  /* 広い画面は印だけの開閉ボタン。開いている時は見出しの左横（閉じる）、閉じている時はタブ列の左端（開く）。閉じるとタブが全幅になる */
  .ws-finder-toggle, .ws-finder-close { min-width: 40px; padding: 6px 9px; justify-content: center; border-color: var(--tot-border); color: var(--tot-text); }
  .ws-finder-close { display: inline-flex; align-items: center; flex: none; min-height: 36px; background: var(--tot-primary-soft); }
  .ws-finder-toggle-label { display: none; }
  .ws-body:not(.is-finder-collapsed) .ws-finder-toggle { display: none; }
  .ws-body.is-finder-collapsed { grid-template-columns: minmax(0, 1fr); }
  .ws-body.is-finder-collapsed .ws-finder:not(.is-compact) { display: none; }
}

/* ツール一覧（/tools/） */
.tl-title { margin: 4px 0 4px; font-size: 26px; }
.tl-section { margin-top: 28px; }
.tl-section h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 20px; }
.tl-badge { padding: 1px 10px; border-radius: 999px; border: 1px solid var(--tot-border); font-size: 13px; font-weight: 600; color: var(--tot-muted); }
.tl-badge-ok { border-color: var(--tot-success); color: var(--tot-success-text); background: var(--tot-success-soft); }
.tl-grid { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.tl-card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 14px 16px; border: 1px solid var(--tot-border); border-radius: var(--tot-radius); background: var(--tot-field-bg); }
.tl-card h3 { margin: 0; font-size: 17px; line-height: 1.4; }
.tl-card p { margin: 0; font-size: 14px; color: var(--tot-muted); flex: 1; }
.tl-meta { font-size: 12px; color: var(--tot-muted); }
.tl-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tl-actions a { display: inline-flex; align-items: center; min-height: 40px; padding: 4px 14px; border: 1px solid var(--tot-primary); border-radius: var(--tot-radius); font-weight: 600; text-decoration: none; }
.tl-actions a.is-primary { background: var(--tot-primary); color: var(--tot-on-primary); }
/* 用途別の開閉と全体検索（2026-11-22〜）。カードは名称・短い説明・主操作に絞り、「単独ページ」は文字のリンクにして主操作と重さを分ける */
.tl-search[hidden], .tl-empty[hidden], .tl-group[hidden], .tl-card[hidden] { display: none; }
.tl-search { margin-top: 16px; }
.tl-search-label { display: block; margin-bottom: 4px; font-weight: 600; }
.tl-search-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tl-search-row .tl-q { flex: 1 1 16em; min-width: 0; max-width: 100%; min-height: 44px; }
.tl-search-row .ws-btn { min-height: 44px; }
.tl-status { margin: 6px 0 0; min-height: 1.5em; font-size: 14px; color: var(--tot-muted); overflow-wrap: anywhere; }
.tl-empty { margin-top: 8px; padding: 12px 14px; border: 1px dashed var(--tot-border); border-radius: var(--tot-radius); }
.tl-empty p { margin: 0 0 8px; }
.tl-groups { display: flex; flex-direction: column; gap: 10px; }
.tl-group { border: 1px solid var(--tot-border); border-radius: var(--tot-radius); background: var(--tot-surface); }
.tl-group > summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 14px; cursor: pointer; list-style: none; border-radius: var(--tot-radius); }
.tl-group > summary::-webkit-details-marker { display: none; }
.tl-group > summary::before { content: ""; flex: none; width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 9px; border-color: transparent transparent transparent currentColor; transition: transform 0.15s; }
.tl-group[open] > summary::before { transform: rotate(90deg); }
.tl-group > summary:hover { background: var(--tot-primary-soft); }
.tl-group-h { margin: 0; font-size: 18px; line-height: 1.4; overflow-wrap: anywhere; }
.tl-section .tl-group-h { display: block; margin: 0; font-size: 18px; }
.tl-count { margin-left: 4px; font-size: 15px; font-weight: 600; color: var(--tot-muted); }
.tl-group > .tl-grid, .tl-group > .ws-muted { margin: 0; padding: 0 12px 12px; }
.tl-group > .ws-muted { padding-bottom: 4px; }
.tl-group .tl-card { padding: 10px 12px; gap: 4px; }
.tl-group .tl-card h3 { font-size: 16px; overflow-wrap: anywhere; }
.tl-card .tl-badge { align-self: flex-start; }
.tl-actions a.tl-sub { min-height: 40px; padding: 4px 6px; border-color: transparent; font-weight: 400; text-decoration: underline; }
.tl-meta { overflow-wrap: anywhere; }

/* 表示方式（2026-11-04）：「タブ管理」＝選択中のタブを1画面、「並べて表示」＝並び順の先頭2つを左・右。広い画面だけ横に並べる */
.ws-view-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 8px; }
.ws-view-switch { display: inline-flex; flex: none; }
.ws-view-btn { min-height: 40px; padding: 6px 14px; font-size: 14px; border-radius: 0; }
.ws-view-btn:first-child { border-radius: var(--tot-radius) 0 0 var(--tot-radius); }
.ws-view-btn:last-child { border-radius: 0 var(--tot-radius) var(--tot-radius) 0; margin-left: -1px; }
.ws-view-btn[aria-pressed="true"] { background: var(--tot-primary); color: var(--tot-on-primary); }
.ws-view-btn[aria-pressed="true"]::before { content: "✓ "; }
.ws-view-btn:disabled { opacity: 0.5; cursor: not-allowed; background: transparent; color: var(--tot-primary); }
.ws-view-btn:focus-visible { position: relative; z-index: 1; }
.ws-view-note { flex: 1 1 16em; min-width: 0; margin: 0; font-size: 13px; color: var(--tot-muted); overflow-wrap: anywhere; }
.ws-tab-side {
  flex: none; padding: 0 6px; border-radius: 4px; font-size: 12px; font-weight: 700;
  background: var(--tot-primary); color: var(--tot-on-primary);
}
.ws-tab-side.is-right { background: var(--tot-field-bg); color: var(--tot-primary); border: 1px solid var(--tot-primary); }
.ws-pane-caption { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--tot-muted); overflow-wrap: anywhere; }
/* 並べて表示（作業画面 1.5.0）：作業エリアをウィンドウの幅いっぱいに広げ（左右の余白 16〜24px）、中央の仕切りで左右の幅を変える。
   左右に並べるかは JS が作業エリアの幅で決める（各欄 360px 以上。足りない時は .is-split を付けず1つずつ表示）。
   --ws-left / --ws-right は左右の比率（JS が fr で入れる。初期は均等） */
.ws-page.is-pair { max-width: none; padding-left: clamp(16px, 1.5vw, 24px); padding-right: clamp(16px, 1.5vw, 24px); }
.ws-panels.is-split {
  display: grid; grid-template-columns: minmax(0, var(--ws-left, 1fr)) 16px minmax(0, var(--ws-right, 1fr));
  column-gap: 0; align-items: start;
}
.ws-panels.is-split > .ws-panel { min-width: 0; padding: 10px 12px 12px; margin-top: 12px; border: 1px solid var(--tot-border); border-radius: var(--tot-radius); }
.ws-panels.is-split > .ws-panel.is-left { order: 1; }
.ws-panels.is-split > .ws-divider { order: 2; }
.ws-panels.is-split > .ws-panel.is-right { order: 3; }
.ws-panels.is-split > .ws-panel.is-current { border-color: var(--tot-primary); box-shadow: inset 0 3px 0 var(--tot-primary); }
.ws-panels.is-split .ws-tool-title { font-size: 18px; }

/* 仕切り：縦の線と、ドラッグできることを示す持ち手（画面をスクロールしても見える位置に留まる） */
.ws-divider {
  position: relative; display: flex; justify-content: center; align-self: stretch;
  margin-top: 12px; cursor: col-resize; touch-action: none; border-radius: var(--tot-radius);
}
.ws-divider::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%);
  border-radius: 2px; background: var(--tot-border);
}
.ws-divider-grip {
  position: sticky; top: 40vh; z-index: 1; width: 14px; height: 56px; margin-top: 40px;
  border: 1px solid var(--tot-input-border); border-radius: 7px;
  background: var(--tot-field-bg) radial-gradient(circle, var(--tot-muted) 1.5px, transparent 2px) center / 6px 9px repeat-y;
}
.ws-divider:hover::before, .ws-divider:focus-visible::before, .ws-panels.is-resizing > .ws-divider::before { width: 4px; background: var(--tot-primary); }
.ws-divider:hover .ws-divider-grip, .ws-divider:focus-visible .ws-divider-grip, .ws-panels.is-resizing .ws-divider-grip { border-color: var(--tot-primary); background-color: var(--tot-primary-soft); }
.ws-divider:focus-visible { outline-offset: 0; }
.ws-panels.is-resizing { cursor: col-resize; user-select: none; }
.ws-panels.is-resizing > .ws-panel { pointer-events: none; }

/* 単独ページへのリンクをツールの下に置くツール（メモ） */
.ws-tool-foot { margin-top: 8px; }

/* アドレス統一の事前告知（作業画面 1.5.1）：旧URLで、このアドレスに作業タブの保存がある時だけ上部に出す */
.ws-notice {
  margin: 0 0 12px; padding: 10px 14px;
  border: 2px solid var(--tot-danger); border-left-width: 6px; border-radius: var(--tot-radius); background: var(--tot-danger-soft);
  font-size: 15px; overflow-wrap: anywhere;
}
.ws-notice summary { cursor: pointer; line-height: 1.5; }
.ws-notice p { margin: 8px 0 0; }
.ws-notice ol { margin: 8px 0 0; padding-left: 1.6em; display: grid; gap: 4px; }
