/* WorldMap UI components — tokens.css の後に読み込む。クラスは wm- で始まる */
:where([class^="wm-"],[class*=" wm-"]),:where([class^="wm-"],[class*=" wm-"])::before,:where([class^="wm-"],[class*=" wm-"])::after{box-sizing:border-box}
.wm-btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--wm-space-2);min-height:var(--wm-control-h);padding:0 22px;border:0;border-radius:var(--wm-radius-md);background:var(--wm-surface);color:var(--wm-text);font:var(--wm-weight-medium) var(--wm-text-md)/1 var(--wm-font);text-decoration:none;white-space:nowrap;cursor:pointer;transition:background-color var(--wm-dur-fast) var(--wm-ease),transform var(--wm-dur-fast) var(--wm-ease)}
.wm-btn:hover{background:var(--wm-surface-hover)}
.wm-btn:active{background:var(--wm-surface-active);transform:scale(.98)}
.wm-btn--primary{background:var(--wm-accent);color:var(--wm-on-accent)}
.wm-btn--primary:hover,.wm-btn--primary:active{background:var(--wm-accent-hover)}
.wm-btn--danger{background:var(--wm-danger);color:var(--wm-on-danger)}
.wm-btn--danger:hover,.wm-btn--danger:active{background:var(--wm-danger-hover)}
.wm-btn--text,.wm-btn--text:hover,.wm-btn--text:active{background:none;padding:0 var(--wm-space-1);color:var(--wm-text-muted);font-weight:var(--wm-weight-regular);transform:none}
.wm-btn--text:hover{color:var(--wm-text)}
.wm-btn--text.wm-btn--danger,.wm-btn--text.wm-btn--danger:hover{color:var(--wm-danger-text)}
.wm-btn:disabled,.wm-btn[aria-disabled="true"]{background:var(--wm-field);color:var(--wm-text-disabled);cursor:default;transform:none}
.wm-btn--text:disabled{background:none}

:where(.wm-btn,.wm-input,.wm-check input,.wm-tab,.wm-row,.wm-toast button):focus-visible{outline:2px solid var(--wm-text);outline-offset:2px}

.wm-field{display:flex;flex-direction:column;gap:var(--wm-space-2);min-width:0}
.wm-label{font:var(--wm-weight-medium) var(--wm-text-sm)/var(--wm-leading) var(--wm-font);color:var(--wm-text-muted)}
.wm-input{width:100%;min-width:0;height:var(--wm-control-h);padding:0 14px;border:0;border-radius:var(--wm-radius-md);background:var(--wm-field);color:var(--wm-text);font:var(--wm-text-md)/1.4 var(--wm-font);outline:none;box-shadow:inset 0 0 0 1px var(--wm-line);transition:box-shadow var(--wm-dur-fast) var(--wm-ease)}
textarea.wm-input{height:auto;min-height:96px;padding:12px 14px;line-height:var(--wm-leading);resize:vertical}
.wm-input::placeholder{color:var(--wm-placeholder);opacity:1}
.wm-input:focus{box-shadow:inset 0 0 0 2px var(--wm-text)}
.wm-input:focus-visible{outline:none}
.wm-input[aria-invalid="true"]{box-shadow:inset 0 0 0 2px var(--wm-danger)}
.wm-error{font:var(--wm-weight-medium) var(--wm-text-sm)/var(--wm-leading) var(--wm-font);color:var(--wm-danger-text)}

.wm-check{display:inline-flex;align-items:center;gap:10px;font:var(--wm-text-md)/var(--wm-leading) var(--wm-font);color:var(--wm-text);cursor:pointer}
.wm-check input{appearance:none;-webkit-appearance:none;display:grid;place-items:center;width:20px;height:20px;margin:0;border-radius:var(--wm-radius-sm);box-shadow:inset 0 0 0 1.5px var(--wm-line);cursor:pointer}
.wm-check input:checked{background:var(--wm-text);box-shadow:none}
.wm-check input:checked::after{content:"";width:10px;height:5px;border-left:2px solid var(--wm-bg);border-bottom:2px solid var(--wm-bg);transform:translateY(-1px) rotate(-45deg)}

.wm-tabs{display:flex;gap:var(--wm-space-1)}
.wm-tab{min-height:var(--wm-control-h);padding:0 14px;border:0;background:none;color:var(--wm-text-muted);font:var(--wm-text-md)/1 var(--wm-font);box-shadow:inset 0 -2px 0 transparent;cursor:pointer;transition:color var(--wm-dur-fast) var(--wm-ease),box-shadow var(--wm-dur) var(--wm-ease)}
.wm-tab:hover{color:var(--wm-text)}
.wm-tab[aria-selected="true"]{color:var(--wm-text);font-weight:var(--wm-weight-medium);box-shadow:inset 0 -2px 0 var(--wm-selected-mark)}

.wm-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.wm-row{display:flex;align-items:center;gap:var(--wm-space-4);width:100%;min-height:var(--wm-row-h);padding:0 14px;border:0;border-radius:var(--wm-radius-md);background:none;color:var(--wm-text);font:var(--wm-text-md)/var(--wm-leading) var(--wm-font);text-align:left;text-decoration:none;cursor:pointer;transition:background-color var(--wm-dur-fast) var(--wm-ease)}
.wm-list--bleed{margin-inline:-14px}
.wm-row:hover{background:var(--wm-hover)}
.wm-panel .wm-row:hover,.wm-dialog .wm-row:hover{background:var(--wm-surface)}
.wm-row[aria-current="true"],.wm-row[aria-selected="true"]{background:var(--wm-selected)}

.wm-status{display:inline-flex;align-items:center;gap:var(--wm-space-2);font:var(--wm-text-sm)/var(--wm-leading) var(--wm-font);color:var(--wm-text-muted);white-space:nowrap}
.wm-status::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:var(--wm-status-todo)}
.wm-status--doing::before{background:var(--wm-status-doing)}
.wm-status--review::before{background:var(--wm-status-review)}
.wm-status--done::before{background:var(--wm-status-done)}
.wm-status--overdue::before{background:var(--wm-status-overdue)}

.wm-project{display:inline-flex;align-items:center;gap:var(--wm-space-2);font:var(--wm-text-sm)/var(--wm-leading) var(--wm-font);color:var(--wm-text-muted)}
.wm-project::before{content:"";flex:none;width:9px;height:9px;border-radius:3px;background:var(--wm-project,var(--wm-project-gray))}

.wm-scrim{position:fixed;inset:0;display:grid;place-items:center;padding:var(--wm-space-5);background:var(--wm-scrim)}
.wm-dialog{width:min(440px,100%);max-height:calc(100dvh - 40px);overflow:auto;padding:var(--wm-space-8);border:0;border-radius:var(--wm-radius-lg);background:var(--wm-panel);color:var(--wm-text);display:flex;flex-direction:column;gap:var(--wm-space-2)}
dialog.wm-dialog::backdrop{background:var(--wm-scrim)}
dialog.wm-dialog:not([open]){display:none}
.wm-dialog h2{margin:0;font:var(--wm-weight-bold) var(--wm-text-xl)/var(--wm-leading-tight) var(--wm-font)}
.wm-dialog p{margin:0;color:var(--wm-text-muted);font-size:var(--wm-text-md)}
.wm-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:var(--wm-space-3);margin-top:var(--wm-space-4)}
.wm-actions__spacer{flex:1}

.wm-toast{display:inline-flex;align-items:center;gap:var(--wm-space-4);max-width:min(480px,calc(100vw - 32px));min-height:48px;padding:var(--wm-space-3) var(--wm-space-5);border-radius:10px;background:var(--wm-toast);color:var(--wm-on-toast);font:var(--wm-text-md)/1.5 var(--wm-font)}
.wm-toast button{flex:none;white-space:nowrap}
.wm-toast button{margin-right:-8px;min-height:36px;padding:0 10px;border:0;border-radius:7px;background:none;color:inherit;font-weight:var(--wm-weight-bold);text-decoration:underline;text-underline-offset:4px;cursor:pointer}

.wm-load{display:inline-grid;place-items:center;min-width:52px;height:40px;padding:0 var(--wm-space-2);border-radius:7px;background:var(--wm-load-cell);color:var(--wm-text);font:var(--wm-text-sm)/1 var(--wm-font);font-variant-numeric:tabular-nums}
.wm-load--empty{background:none;color:var(--wm-text-muted)}
.wm-load--near{background:var(--wm-load-near);color:var(--wm-on-load-near)}
.wm-load--over{background:var(--wm-load-over);color:var(--wm-on-load-over)}
.wm-bar{height:6px;border-radius:3px;background:var(--wm-load-cell);overflow:hidden}
.wm-bar > i{display:block;height:100%;border-radius:inherit;background:var(--wm-load-ok-bar)}
.wm-bar--near > i{background:var(--wm-load-near)}
.wm-bar--over > i{background:var(--wm-load-over)}

.wm-link{color:var(--wm-link);text-decoration:underline;text-underline-offset:3px}
.wm-link:hover{text-decoration-thickness:2px}


/* ---- 骨組み：ヘッダー・ナビゲーション・検索・テーマ切り替え ---- */
.wm-icon-btn{display:inline-grid;place-items:center;flex:none;width:var(--wm-control-h);height:var(--wm-control-h);padding:0;border:0;border-radius:var(--wm-radius-md);background:none;color:var(--wm-text-muted);cursor:pointer;transition:background-color var(--wm-dur-fast) var(--wm-ease),color var(--wm-dur-fast) var(--wm-ease)}
.wm-icon-btn:hover{background:var(--wm-hover);color:var(--wm-text)}
.wm-icon-btn:active{background:var(--wm-surface)}
.wm-icon-btn:focus-visible{outline:2px solid var(--wm-text);outline-offset:2px}

.wm-header{container:wm-header/inline-size}
.wm-header__bar{display:flex;align-items:center;gap:var(--wm-space-2) var(--wm-space-8);max-width:1184px;margin:0 auto;padding:var(--wm-space-4) var(--wm-space-8)}
.wm-header__logo{display:inline-flex;align-items:center;min-height:var(--wm-control-h);color:var(--wm-text);text-decoration:none}
.wm-header__nav{display:flex;gap:var(--wm-space-6)}
.wm-header__end{display:flex;align-items:center;gap:var(--wm-space-3);margin-left:auto;min-width:0}
.wm-header__search{flex:1 1 240px;max-width:400px;margin-left:auto}
.wm-header__search+.wm-header__end{margin-left:0}
@container wm-header (max-width:720px){
  .wm-header__bar{flex-wrap:wrap;padding:var(--wm-space-2) var(--wm-space-4);column-gap:var(--wm-space-2)}
  .wm-header__nav{order:3;flex:1 0 100%;gap:var(--wm-space-5);overflow-x:auto;scrollbar-width:none}
  .wm-header__search{flex:0 0 auto;margin-left:auto}
  .wm-header__search .wm-search-trigger__label{display:none}
  .wm-header__search .wm-search-trigger{width:var(--wm-control-h);padding:0;justify-content:center;background:none;box-shadow:none}
  .wm-header__search .wm-search-trigger:hover{background:var(--wm-hover)}
  .wm-header__end .wm-btn{padding:0 var(--wm-space-4)}
}

.wm-nav-link{display:inline-flex;align-items:center;flex:none;min-height:var(--wm-control-h);padding:0 var(--wm-space-1);color:var(--wm-text-muted);font:var(--wm-text-md)/1 var(--wm-font);text-decoration:none;white-space:nowrap;transition:color var(--wm-dur-fast) var(--wm-ease)}
.wm-nav-link:hover{color:var(--wm-text)}
.wm-nav-link[aria-current="page"]{color:var(--wm-text);font-weight:var(--wm-weight-medium)}
.wm-nav-link:focus-visible{outline:2px solid var(--wm-text);outline-offset:2px;border-radius:4px}

.wm-search{position:relative;display:flex;align-items:center;width:100%}
.wm-search>.wm-icon{position:absolute;left:14px;color:var(--wm-text-muted);pointer-events:none}
.wm-search>.wm-input{padding-left:42px}
.wm-search>.wm-input::-webkit-search-cancel-button{-webkit-appearance:none}
.wm-search--lg>.wm-icon{left:18px}
.wm-search--lg>.wm-input{height:56px;padding-left:48px;font-size:var(--wm-text-lg)}
.wm-search-trigger{display:flex;align-items:center;gap:10px;width:100%;height:var(--wm-control-h);padding:0 14px;border:0;border-radius:var(--wm-radius-md);background:var(--wm-field);color:var(--wm-text-muted);font:var(--wm-text-md)/1 var(--wm-font);text-decoration:none;box-shadow:inset 0 0 0 1px var(--wm-line);cursor:pointer;transition:color var(--wm-dur-fast) var(--wm-ease)}
.wm-search-trigger:hover{color:var(--wm-text)}
.wm-search-trigger:focus-visible{outline:2px solid var(--wm-text);outline-offset:2px}
mark.wm-mark,.wm-mark{background:none;color:var(--wm-text);font-weight:var(--wm-weight-bold)}

.wm-theme-toggle .wm-icon--moon{display:none}
:root[data-app-theme="light"] .wm-theme-toggle .wm-icon--sun{display:none}
:root[data-app-theme="light"] .wm-theme-toggle .wm-icon--moon{display:inline-block}

/* ---- 読む画面：本文・目次・面・発言 ---- */
.wm-title-row{display:flex;flex-wrap:wrap;align-items:flex-start;gap:var(--wm-space-2) var(--wm-space-4)}
.wm-title-row>.wm-title{flex:1 1 320px;min-width:0}
.wm-title-row__actions{display:flex;align-items:center;gap:var(--wm-space-1);margin-top:calc(var(--wm-space-2) + 2px)}

.wm-prose{max-width:40em;font:var(--wm-text-lg)/1.9 var(--wm-font);color:var(--wm-text)}
.wm-prose>*{margin:0}
.wm-prose>*+*{margin-top:1em}
.wm-prose h2{margin-top:2.5em;font-size:var(--wm-text-xl);font-weight:var(--wm-weight-bold);line-height:var(--wm-leading-tight);scroll-margin-top:var(--wm-space-6)}
.wm-prose h3{margin-top:1.75em;font-size:var(--wm-text-lg);font-weight:var(--wm-weight-bold);line-height:var(--wm-leading-tight);scroll-margin-top:var(--wm-space-6)}
.wm-prose h2+*,.wm-prose h3+*{margin-top:.6em}
.wm-prose>:first-child{margin-top:0}
.wm-prose ul,.wm-prose ol{padding-left:1.4em}
.wm-prose li+li{margin-top:.35em}
.wm-prose li::marker{color:var(--wm-text-muted)}
.wm-prose a{color:var(--wm-link);text-decoration:underline;text-underline-offset:3px}
.wm-prose a:hover{text-decoration-thickness:2px}
.wm-prose strong{font-weight:var(--wm-weight-bold)}
.wm-prose code{padding:.1em .35em;border-radius:var(--wm-radius-sm);background:var(--wm-surface);font:.9em/1 var(--wm-font-mono)}
.wm-prose blockquote{color:var(--wm-text-muted)}
.wm-prose blockquote cite{display:block;margin-top:.4em;font-size:var(--wm-text-sm);font-style:normal}
.wm-prose blockquote cite::before{content:"— "}

.wm-toc{position:sticky;top:var(--wm-space-6);display:flex;flex-direction:column;font:var(--wm-text-sm)/1.5 var(--wm-font)}
.wm-toc a{display:flex;align-items:center;min-height:36px;padding:var(--wm-space-1) 0;color:var(--wm-text-muted);text-decoration:none;transition:color var(--wm-dur-fast) var(--wm-ease)}
.wm-toc a:hover{color:var(--wm-text)}
.wm-toc a[aria-current="true"],.wm-toc a[aria-current="location"]{color:var(--wm-text);font-weight:var(--wm-weight-medium)}
.wm-toc .wm-toc__sub{padding-left:var(--wm-space-3)}
.wm-toc a:focus-visible{outline:2px solid var(--wm-text);outline-offset:2px;border-radius:4px}

.wm-panel{padding:var(--wm-space-8);border-radius:var(--wm-radius-lg);background:var(--wm-panel)}
@media (max-width:600px){.wm-panel{padding:var(--wm-space-6) var(--wm-space-5)}}
.wm-panel>*+*{margin-top:var(--wm-space-4)}
.wm-panel>.wm-kicker+*{margin-top:var(--wm-space-3)}

.wm-msg__who{margin:0;font:var(--wm-weight-medium) var(--wm-text-sm)/var(--wm-leading) var(--wm-font);color:var(--wm-text)}
.wm-msg__who .wm-row__sub,.wm-msg__role{margin-left:var(--wm-space-2);font-weight:var(--wm-weight-regular);color:var(--wm-text-muted)}
.wm-msg__body{margin:2px 0 0;max-width:40em;font:var(--wm-text-md)/1.8 var(--wm-font)}
.wm-thread{display:flex;flex-direction:column;gap:var(--wm-space-6)}

/* ---- 切り替えチップ（絞り込み） ---- */
.wm-chips{display:flex;flex-wrap:wrap;gap:var(--wm-space-2)}
.wm-chip{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 var(--wm-space-3);border:0;border-radius:var(--wm-radius-md);background:var(--wm-surface);color:var(--wm-text);font:var(--wm-text-sm)/1 var(--wm-font);white-space:nowrap;cursor:pointer;transition:background-color var(--wm-dur-fast) var(--wm-ease),color var(--wm-dur-fast) var(--wm-ease)}
.wm-chip:hover{background:var(--wm-surface-hover)}
.wm-chip[aria-pressed="true"]{background:var(--wm-text);color:var(--wm-bg);font-weight:var(--wm-weight-medium)}
.wm-chip:focus-visible{outline:2px solid var(--wm-text);outline-offset:2px}
.wm-chip .wm-fig{color:inherit;opacity:.8}

/* ---- 一覧の変化形 ---- */
.wm-row__excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:var(--wm-text-md);line-height:1.7;color:var(--wm-text-muted)}
.wm-row__meta{display:flex;flex-wrap:wrap;gap:var(--wm-space-1) var(--wm-space-4);margin-top:2px;font-size:var(--wm-text-sm);color:var(--wm-text-muted)}
.wm-tab .wm-fig{margin-left:var(--wm-space-2);font-size:var(--wm-text-sm);font-weight:var(--wm-weight-regular);color:var(--wm-text-muted)}
.wm-tab[aria-selected="true"] .wm-fig{color:var(--wm-text)}
.wm-more{display:flex;align-items:center;gap:var(--wm-space-4);margin-top:var(--wm-space-4)}
.wm-more .wm-fig{font-size:var(--wm-text-sm);color:var(--wm-text-muted)}

/* ---- 入力まわり ---- */
.wm-select{position:relative;display:flex;align-items:center}
.wm-select>select.wm-input{appearance:none;-webkit-appearance:none;padding-right:42px;cursor:pointer}
.wm-select>.wm-icon{position:absolute;right:14px;color:var(--wm-text-muted);pointer-events:none}
.wm-field__foot{display:flex;align-items:baseline;gap:var(--wm-space-4)}
.wm-field__foot>.wm-error{flex:1}
.wm-count{margin-left:auto;font:var(--wm-text-sm)/var(--wm-leading) var(--wm-font);font-variant-numeric:tabular-nums;color:var(--wm-text-muted);white-space:nowrap}
.wm-count--near{color:var(--wm-text);font-weight:var(--wm-weight-medium)}
.wm-count--over{color:var(--wm-danger-text);font-weight:var(--wm-weight-medium)}
.wm-suggest{margin-top:var(--wm-space-3)}
.wm-suggest .wm-row{min-height:44px}
.wm-suggest .wm-row[aria-selected="true"]{background:var(--wm-selected)}

/* ---- 状態：空・読み込み中・失敗 ---- */
.wm-empty{display:flex;flex-direction:column;align-items:flex-start;gap:var(--wm-space-2);padding:var(--wm-space-8) 0}
.wm-empty__title{margin:0;font:var(--wm-weight-medium) var(--wm-text-lg)/var(--wm-leading-tight) var(--wm-font);color:var(--wm-text)}
.wm-empty__body{margin:0;max-width:32em;font:var(--wm-text-md)/var(--wm-leading) var(--wm-font);color:var(--wm-text-muted)}
.wm-empty>.wm-btn{margin-top:var(--wm-space-3)}

@keyframes wm-pulse{50%{opacity:.5}}
.wm-skeleton{display:flex;flex-direction:column;gap:var(--wm-space-4);padding:var(--wm-space-3) 0}
.wm-skeleton>i{display:block;height:12px;border-radius:6px;background:var(--wm-surface);animation:wm-pulse 1.6s var(--wm-ease) infinite}
.wm-skeleton>i:nth-child(3n+1){width:62%}.wm-skeleton>i:nth-child(3n+2){width:88%}.wm-skeleton>i:nth-child(3n){width:44%}
.wm-loading{display:inline-flex;align-items:center;gap:var(--wm-space-2);font:var(--wm-text-sm)/var(--wm-leading) var(--wm-font);color:var(--wm-text-muted)}
.wm-btn[aria-busy="true"]{cursor:progress}
.wm-btn[aria-busy="true"]{background:var(--wm-surface);color:var(--wm-text)}
.wm-btn--primary[aria-busy="true"]{background:var(--wm-accent);color:var(--wm-on-accent)}
.wm-btn--danger[aria-busy="true"]{background:var(--wm-danger);color:var(--wm-on-danger)}

.wm-alert{display:flex;flex-wrap:wrap;align-items:center;gap:var(--wm-space-3) var(--wm-space-4);padding:var(--wm-space-3) var(--wm-space-3) var(--wm-space-3) var(--wm-space-4);border-radius:var(--wm-radius-md);background:var(--wm-panel);font:var(--wm-text-md)/var(--wm-leading) var(--wm-font);color:var(--wm-text)}
.wm-alert>.wm-icon{color:var(--wm-danger-text)}
.wm-alert__body{flex:1 1 240px;min-width:0;margin:0}
.wm-alert__body small{display:block;font-size:var(--wm-text-sm);color:var(--wm-text-muted)}
@media (prefers-reduced-motion: reduce){.wm-skeleton>i{animation:none}}

/* ---- 個性の層：文字で組む＋進む向き（2026-11-24 採用、数字はInter） ---- */
.wm-fig{font-family:var(--wm-font-figure);font-variant-numeric:tabular-nums}
.wm-fig--count{font-size:var(--wm-text-lg);line-height:1;color:var(--wm-text-muted);transition:color var(--wm-dur-fast) var(--wm-ease)}
.wm-row:hover .wm-fig--count,a:hover>.wm-fig--count{color:var(--wm-text)}

.wm-section-title{display:flex;align-items:baseline;gap:var(--wm-space-3);margin:0 0 var(--wm-space-2);font:var(--wm-weight-medium) var(--wm-text-sm)/var(--wm-leading) var(--wm-font);color:var(--wm-text-muted)}
.wm-section-title .wm-fig{font-size:var(--wm-text-sm);font-weight:var(--wm-weight-regular)}

.wm-kicker{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--wm-space-1) var(--wm-space-3);margin:0;font:var(--wm-text-sm)/var(--wm-leading) var(--wm-font);color:var(--wm-text-muted)}
.wm-kicker .wm-fig{font-size:var(--wm-text-lg);line-height:1}
.wm-kicker .wm-fig:first-child{color:var(--wm-text)}
.wm-title{margin:var(--wm-space-2) 0 0;font:var(--wm-weight-medium) var(--wm-text-3xl)/var(--wm-leading-tight) var(--wm-font);letter-spacing:-.005em;color:var(--wm-text)}

.wm-row--index{display:grid;grid-template-columns:56px 1fr;align-items:baseline;gap:0 var(--wm-space-5);padding:var(--wm-space-3) 14px}
.wm-row--index>.wm-fig{font-size:var(--wm-text-lg);line-height:1.5;color:var(--wm-text-muted)}
.wm-row__body{display:flex;flex-direction:column;gap:2px;min-width:0}
.wm-row__title{font-size:var(--wm-text-lg);font-weight:var(--wm-weight-medium)}
.wm-row__sub{font-size:var(--wm-text-sm);color:var(--wm-text-muted)}

.wm-hang{display:grid;grid-template-columns:88px 1fr;gap:0 var(--wm-space-5);margin-left:-108px;align-items:baseline}
.wm-hang>.wm-fig{font-size:var(--wm-text-xs);color:var(--wm-text-muted);text-align:right;white-space:nowrap}
@media (max-width:1000px){.wm-hang{margin-left:0;grid-template-columns:1fr}.wm-hang>.wm-fig{order:2;text-align:left}}

.wm-go::after{content:"→";display:inline-block;margin-left:var(--wm-space-2);font:var(--wm-text-lg)/1 var(--wm-font-figure);color:var(--wm-text-muted);transition:transform 160ms var(--wm-ease-out),color var(--wm-dur-fast) var(--wm-ease)}
.wm-row.wm-go{gap:0}
.wm-go:hover::after{transform:translateX(4px);color:var(--wm-text)}
.wm-back{display:inline-flex;align-items:center;gap:var(--wm-space-2);min-height:32px;color:var(--wm-text-muted);font:var(--wm-text-sm)/1 var(--wm-font);text-decoration:none}
.wm-back::before{content:"←";font:var(--wm-text-md)/1 var(--wm-font-figure);transition:transform 160ms var(--wm-ease-out)}
.wm-back:hover{color:var(--wm-text)}
.wm-back:hover::before{transform:translateX(-4px)}

@keyframes wm-enter{from{opacity:0;transform:translateX(16px)}to{opacity:1;transform:none}}
@keyframes wm-enter-back{from{opacity:0;transform:translateX(-16px)}to{opacity:1;transform:none}}
.wm-page-enter{animation:wm-enter 240ms var(--wm-ease-out) both}
.wm-page-enter--back{animation-name:wm-enter-back}

@media (prefers-reduced-motion: reduce){.wm-btn,.wm-btn:active{transform:none}.wm-go:hover::after,.wm-back:hover::before{transform:none}.wm-page-enter{animation:none}}

/* アイコン：Lucide（https://lucide.dev、ISC License）。マスクで描くので色は文字色に従う */
.wm-icon{display:inline-block;flex:none;width:20px;height:20px;background:currentColor;-webkit-mask:var(--wm-icon) center/contain no-repeat;mask:var(--wm-icon) center/contain no-repeat;vertical-align:-4px}
.wm-icon--sm{width:16px;height:16px;vertical-align:-3px;-webkit-mask-image:var(--wm-icon-sm);mask-image:var(--wm-icon-sm)}
.wm-icon--search{--wm-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m21 21-4.34-4.34%22/%3E %3Ccircle cx=%2211%22 cy=%2211%22 r=%228%22/%3E%3C/svg%3E");--wm-icon-sm:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.25%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m21 21-4.34-4.34%22/%3E %3Ccircle cx=%2211%22 cy=%2211%22 r=%228%22/%3E%3C/svg%3E")}
.wm-icon--x{--wm-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M18 6 6 18%22/%3E %3Cpath d=%22m6 6 12 12%22/%3E%3C/svg%3E");--wm-icon-sm:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.25%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M18 6 6 18%22/%3E %3Cpath d=%22m6 6 12 12%22/%3E%3C/svg%3E")}
.wm-icon--arrow-left{--wm-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m12 19-7-7 7-7%22/%3E %3Cpath d=%22M19 12H5%22/%3E%3C/svg%3E");--wm-icon-sm:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.25%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m12 19-7-7 7-7%22/%3E %3Cpath d=%22M19 12H5%22/%3E%3C/svg%3E")}
.wm-icon--arrow-right{--wm-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12h14%22/%3E %3Cpath d=%22m12 5 7 7-7 7%22/%3E%3C/svg%3E");--wm-icon-sm:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.25%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12h14%22/%3E %3Cpath d=%22m12 5 7 7-7 7%22/%3E%3C/svg%3E")}
.wm-icon--arrow-up-right{--wm-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M7 7h10v10%22/%3E %3Cpath d=%22M7 17 17 7%22/%3E%3C/svg%3E");--wm-icon-sm:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.25%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M7 7h10v10%22/%3E %3Cpath d=%22M7 17 17 7%22/%3E%3C/svg%3E")}
.wm-icon--plus{--wm-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12h14%22/%3E %3Cpath d=%22M12 5v14%22/%3E%3C/svg%3E");--wm-icon-sm:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.25%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12h14%22/%3E %3Cpath d=%22M12 5v14%22/%3E%3C/svg%3E")}
.wm-icon--chevron-down{--wm-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m6 9 6 6 6-6%22/%3E%3C/svg%3E");--wm-icon-sm:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.25%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m6 9 6 6 6-6%22/%3E%3C/svg%3E")}
.wm-icon--check{--wm-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M20 6 9 17l-5-5%22/%3E%3C/svg%3E");--wm-icon-sm:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.25%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M20 6 9 17l-5-5%22/%3E%3C/svg%3E")}
.wm-icon--sun{--wm-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%224%22/%3E %3Cpath d=%22M12 2v2%22/%3E %3Cpath d=%22M12 20v2%22/%3E %3Cpath d=%22m4.93 4.93 1.41 1.41%22/%3E %3Cpath d=%22m17.66 17.66 1.41 1.41%22/%3E %3Cpath d=%22M2 12h2%22/%3E %3Cpath d=%22M20 12h2%22/%3E %3Cpath d=%22m6.34 17.66-1.41 1.41%22/%3E %3Cpath d=%22m19.07 4.93-1.41 1.41%22/%3E%3C/svg%3E");--wm-icon-sm:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.25%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%224%22/%3E %3Cpath d=%22M12 2v2%22/%3E %3Cpath d=%22M12 20v2%22/%3E %3Cpath d=%22m4.93 4.93 1.41 1.41%22/%3E %3Cpath d=%22m17.66 17.66 1.41 1.41%22/%3E %3Cpath d=%22M2 12h2%22/%3E %3Cpath d=%22M20 12h2%22/%3E %3Cpath d=%22m6.34 17.66-1.41 1.41%22/%3E %3Cpath d=%22m19.07 4.93-1.41 1.41%22/%3E%3C/svg%3E")}
.wm-icon--moon{--wm-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401%22/%3E%3C/svg%3E");--wm-icon-sm:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.25%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401%22/%3E%3C/svg%3E")}
.wm-icon--menu{--wm-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 5h16%22/%3E %3Cpath d=%22M4 12h16%22/%3E %3Cpath d=%22M4 19h16%22/%3E%3C/svg%3E");--wm-icon-sm:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.25%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 5h16%22/%3E %3Cpath d=%22M4 12h16%22/%3E %3Cpath d=%22M4 19h16%22/%3E%3C/svg%3E")}
.wm-icon--ellipsis{--wm-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%221%22/%3E %3Ccircle cx=%2219%22 cy=%2212%22 r=%221%22/%3E %3Ccircle cx=%225%22 cy=%2212%22 r=%221%22/%3E%3C/svg%3E");--wm-icon-sm:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.25%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%221%22/%3E %3Ccircle cx=%2219%22 cy=%2212%22 r=%221%22/%3E %3Ccircle cx=%225%22 cy=%2212%22 r=%221%22/%3E%3C/svg%3E")}
.wm-icon--pencil{--wm-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z%22/%3E %3Cpath d=%22m15 5 4 4%22/%3E%3C/svg%3E");--wm-icon-sm:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.25%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z%22/%3E %3Cpath d=%22m15 5 4 4%22/%3E%3C/svg%3E")}
.wm-icon--trash-2{--wm-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M10 11v6%22/%3E %3Cpath d=%22M14 11v6%22/%3E %3Cpath d=%22M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6%22/%3E %3Cpath d=%22M3 6h18%22/%3E %3Cpath d=%22M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2%22/%3E%3C/svg%3E");--wm-icon-sm:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.25%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M10 11v6%22/%3E %3Cpath d=%22M14 11v6%22/%3E %3Cpath d=%22M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6%22/%3E %3Cpath d=%22M3 6h18%22/%3E %3Cpath d=%22M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2%22/%3E%3C/svg%3E")}
.wm-icon--circle-alert{--wm-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2210%22/%3E %3Cline x1=%2212%22 x2=%2212%22 y1=%228%22 y2=%2212%22/%3E %3Cline x1=%2212%22 x2=%2212.01%22 y1=%2216%22 y2=%2216%22/%3E%3C/svg%3E");--wm-icon-sm:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.25%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2210%22/%3E %3Cline x1=%2212%22 x2=%2212%22 y1=%228%22 y2=%2212%22/%3E %3Cline x1=%2212%22 x2=%2212.01%22 y1=%2216%22 y2=%2216%22/%3E%3C/svg%3E")}
.wm-icon--loader-circle{--wm-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M21 12a9 9 0 1 1-6.219-8.56%22/%3E%3C/svg%3E");--wm-icon-sm:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222.25%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M21 12a9 9 0 1 1-6.219-8.56%22/%3E%3C/svg%3E")}
@keyframes wm-spin{to{transform:rotate(360deg)}}
.wm-icon--loader-circle{animation:wm-spin 900ms linear infinite}
@media (prefers-reduced-motion: reduce){.wm-icon--loader-circle{animation-duration:2.4s}}
