/* 配色提案さん — スタイル。edi-tool 共通のデザイントークンに合わせる。 */
:root {
  --bg: #f5f5f7;
  --surface: #fff;
  --border: #dcdce1;
  --text: #0a0a0a;
  --text-sub: #52525b;
  --accent: #ff6a00;
  --accent-dark: #e85f00;
  --accent-soft: #f0f0f3;
  --accent-text: #c2410c;
  --focus: #c2410c;
  --danger: #c62828;
  --ok: #2e7d32;
  --radius: 12px;
  --card-min: 150px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0c;
    --surface: #161618;
    --border: #2a2a2e;
    --text: #f4f4f5;
    --text-sub: #a1a1aa;
    --accent-soft: #222225;
    --accent-text: #ff8a3d;
    --focus: #ff8a3d;
    --danger: #ff8a80;
    --ok: #81c784;
  }
}
* { box-sizing: border-box; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-wrap: anywhere;
}
body.sheet-open { overflow: hidden; }
.page { max-width: 1480px; margin: 0 auto; padding: 1rem; }
h1 { font-size: 1.6rem; margin: 0.2rem 0; }
h2 { font-size: 1.1rem; margin: 0 0 0.5rem; }
.lead { margin: 0.2rem 0 1rem; color: var(--text-sub); }

.panel, .results, .detail {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}
.controls { margin-bottom: 1rem; }
.notice { background: var(--accent-soft); border: 1px solid var(--accent); border-radius: 8px; padding: 0.6rem 0.8rem; margin: 0.6rem 0; font-size: 0.9rem; }

summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 7.2em), 1fr)); gap: 0.5rem; padding: 0.25rem 0 0.5rem; }
/* 印象語のボタンは文字数に関係なく同じ幅・高さにそろえる（押す位置を探しやすく） */
.chip {
  position: relative; min-height: 44px; min-width: 44px; padding: 0.3rem 1.3em;
  border: 2px solid var(--border); border-radius: 999px; line-height: 1.25;
  background: var(--surface); color: var(--text); font: inherit; cursor: pointer; text-align: center;
}
.chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); font-weight: 700; }
/* チェックは左の余白に重ねて、選んでも幅が変わらないようにする */
.chip[aria-pressed="true"]::before { content: ""; position: absolute; left: 0.5em; top: 50%; width: 0.9em; height: 0.9em; transform: translateY(-50%); background-color: currentColor; -webkit-mask: var(--et-check) center / contain no-repeat; mask: var(--et-check) center / contain no-repeat; }
.chip:disabled { opacity: 0.45; cursor: not-allowed; }

.field { margin: 0.8rem 0; min-width: 0; }
.field > label, legend { display: block; font-weight: 600; margin-bottom: 0.25rem; font-size: 0.9rem; }
input[type="search"], input[type="text"], select, textarea {
  width: 100%; min-height: 44px; padding: 0.5rem 0.7rem; font: inherit;
  border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text);
}
fieldset.seg { border: 0; padding: 0; margin: 0.8rem 0; }
.seg-opt { display: inline-flex; align-items: center; min-height: 44px; margin-right: 1rem; gap: 0.4rem; cursor: pointer; }
.seg-opt input { width: 1.25rem; height: 1.25rem; }
.grid-2 { display: grid; gap: 0 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.search-result { min-height: 1.5rem; font-size: 0.9rem; margin-top: 0.3rem; display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }

.btn {
  min-height: 44px; padding: 0 1rem; font: inherit; font-weight: 600; cursor: pointer;
  border: 2px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text);
}
.btn:hover:not(:disabled) { border-color: var(--accent); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: var(--accent); border-color: var(--accent-dark); color: #0a0a0a; }
.btn-primary:hover:not(:disabled) { background: var(--accent-dark); }
.btn-small { min-height: 44px; font-size: 0.9rem; }
.btn-ghost { background: transparent; }
.actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.8rem; }

.workspace { display: block; }
.results-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.count { font-weight: 400; font-size: 0.9rem; color: var(--text-sub); }
.deep-banner { margin: 0; font-size: 0.9rem; }
.empty { color: var(--text-sub); }
.grid { list-style: none; padding: 0; margin: 0.5rem 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--card-min)), 1fr)); }
.more { text-align: center; margin-top: 1rem; }

.card {
  display: flex; flex-direction: column; gap: 0.35rem; width: 100%; text-align: left;
  padding: 0.5rem; border: 3px solid var(--border); border-radius: var(--radius);
  background: var(--surface); color: var(--text); font: inherit; cursor: pointer;
}
.card:hover { border-color: var(--accent); }
.card[aria-pressed="true"] { border-color: var(--accent-dark); box-shadow: 0 0 0 2px var(--accent); }
.card-prev { position: relative; display: block; height: 4.2rem; border-radius: 8px; background: var(--bg); overflow: hidden; border: 1px solid rgba(0,0,0,.12); }
.cp-band { position: absolute; left: 0; right: 0; bottom: 0; height: 28%; background: var(--s); }
.cp-title { position: absolute; left: 0.5rem; top: 0.3rem; font-weight: 800; font-size: 1.1rem; color: var(--p); }
.cp-sub { position: absolute; left: 0.5rem; top: 1.9rem; font-size: 0.65rem; color: var(--t); }
.cp-dot { position: absolute; right: 0.5rem; top: 0.5rem; width: 1rem; height: 1rem; border-radius: 50%; background: var(--a); }
.card-sw { display: flex; height: 1.4rem; border-radius: 8px; overflow: hidden; border: 1px solid rgba(0,0,0,.12); }
.card-sw span { display: block; }
.card-label { font-size: 0.78rem; color: var(--text-sub); line-height: 1.3; }
.card-state { font-size: 0.8rem; font-weight: 700; color: var(--accent-text); min-height: 1.2em; }

/* 詳細: スマホは下から開くシート、PCは横に並べる */
.backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 40; }
.detail { display: none; }
.detail.is-open {
  display: block; position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; max-height: 90vh; max-height: 90dvh; overflow: auto;
  border-radius: 16px 16px 0 0; box-shadow: 0 -6px 24px rgba(0,0,0,.3);
}
.detail-head { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.detail-label { margin: 0 0 0.6rem; color: var(--text-sub); font-size: 0.85rem; }
.copy-block { position: sticky; top: -1rem; z-index: 2; background: var(--surface); padding: 0.4rem 0 0.6rem; }
.copy-options { margin-bottom: 0.4rem; }
.btn-copy { width: 100%; font-size: 1.05rem; }
.format-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.fmt { min-height: 44px; padding: 0 0.8rem; border: 2px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; cursor: pointer; }
.fmt[aria-pressed="true"] { border-color: var(--accent-dark); background: var(--accent-soft); font-weight: 700; }
.fmt[aria-pressed="true"]::before { content: ""; display: inline-block; width: 0.95em; height: 0.95em; margin-right: 0.3em; vertical-align: -0.12em; background-color: currentColor; -webkit-mask: var(--et-check) center / contain no-repeat; mask: var(--et-check) center / contain no-repeat; }
.export-preview { white-space: pre-wrap; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 0.7rem; font-size: 0.8rem; max-height: 16rem; overflow: auto; margin: 0.4rem 0 0; }
.copy-fallback { margin-top: 0.6rem; }
.copy-fallback textarea { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.8rem; }

.mock { --bg: #fff; --p: #333; --s: #ccc; --a: #f60; --t: #111; background: var(--bg); border: 1px solid rgba(0,0,0,.15); border-radius: 12px; padding: 0 0 0.9rem; margin: 0.6rem 0; overflow: hidden; }
.mock-band { height: 1.4rem; background: var(--s); }
.mock-title { margin: 0.7rem 0.9rem 0.2rem; font-weight: 800; font-size: 1.25rem; color: var(--p); }
.mock-body { margin: 0 0.9rem 0.6rem; color: var(--t); font-size: 0.9rem; }
.mock-btn { margin-left: 0.9rem; display: inline-block; padding: 0.25rem 0.8rem; border-radius: 999px; background: var(--a); color: var(--t); font-weight: 700; font-size: 0.85rem; }
.mock[data-usage="book-cover"] { aspect-ratio: 3 / 4; max-width: 15rem; display: flex; flex-direction: column; justify-content: center; }
.mock[data-usage="book-cover"] .mock-band { order: 5; margin-top: auto; }

.roles { list-style: none; padding: 0; margin: 0.6rem 0; display: grid; gap: 0.5rem; }
.roles > li { min-width: 0; }
.role { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 0.2rem 0.6rem; align-items: center; border: 1px solid var(--border); border-radius: 12px; padding: 0.5rem; }
.role-sw { width: 2.4rem; height: 2.4rem; border-radius: 8px; border: 1px solid rgba(0,0,0,.2); grid-row: span 2; }
.role-name { font-weight: 700; font-size: 0.9rem; }
.role-ctl { display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: center; grid-column: 2; }
.role-ctl input[type="text"] { width: min(7.5rem, 100%); font-family: ui-monospace, Menlo, Consolas, monospace; text-transform: uppercase; }
.role-ctl input[type="color"] { width: 44px; height: 44px; padding: 2px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.lock { min-height: 44px; padding: 0 0.7rem; border: 2px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; cursor: pointer; }
.lock[aria-pressed="true"] { border-color: var(--accent-dark); background: var(--accent-soft); font-weight: 700; }
.contrast { font-size: 0.9rem; margin: 0.3rem 0; }
.contrast.warn { color: var(--danger); font-weight: 600; }
.contrast .fix { margin-left: 0.4rem; }
.msg { min-height: 1.4rem; margin: 0.3rem 0; font-size: 0.9rem; }
.msg.error { color: var(--danger); font-weight: 600; }
.wrap { margin-top: 0.4rem; }

.toast { position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 100; background: #222; color: #fff; padding: 0.6rem 1rem; border-radius: 999px; font-size: 0.9rem; opacity: 0; pointer-events: none; transition: opacity .2s; max-width: 92vw; }
.toast.show { opacity: 1; }

.site-footer { margin-top: 1.5rem; font-size: 0.85rem; color: var(--text-sub); }
.site-footer a { color: var(--accent-text); }
.fine { font-size: 0.8rem; }

@media (min-width: 960px) {
  .workspace { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: 1rem; align-items: start; }
  .detail, .detail.is-open {
    display: block; position: sticky; top: 0.5rem; left: auto; right: auto; bottom: auto; z-index: auto;
    max-height: calc(100vh - 1rem); overflow: auto; border-radius: var(--radius); box-shadow: none;
  }
  .btn-close, .backdrop { display: none !important; }
  #btn-to-results { display: none; }
  body.sheet-open { overflow: auto; }
}
@media (min-width: 1200px) {
  :root { --card-min: 180px; }
  .workspace { grid-template-columns: minmax(0, 1fr) 24rem; }
}

/* 色覚の多様性のシミュレーション */
.aux-box { margin-top: 1rem; border-top: 1px solid var(--border); padding-top: 0.2rem; }
.aux-box > summary { font-weight: 600; font-size: 0.9rem; color: var(--text-sub); }
.aux-box > summary.warn { color: var(--danger); }
.vision-strip { display: flex; height: 2.4rem; margin-top: 0.5rem; border-radius: 8px; overflow: hidden; border: 1px solid rgba(0,0,0,.15); }
.vision-strip span { flex: 1; display: flex; align-items: flex-end; justify-content: center; }
.vision-strip b { font-size: 0.65rem; font-weight: 600; background: rgba(255,255,255,.85); color: #222; padding: 0 0.25rem; border-radius: 3px 3px 0 0; }
.vision-note { font-size: 0.85rem; margin: 0.4rem 0 0; color: var(--text-sub); }
.vision-note.warn { color: var(--danger); font-weight: 600; }

/* 色の系統・用途の説明 */
.field-label { display: block; font-weight: 600; margin: 0 0 0.25rem; font-size: 0.9rem; }
.field-note { margin: 0.3rem 0 0; font-size: 0.82rem; color: var(--text-sub); }
.hue-chip { display: inline-flex; align-items: center; justify-content: center; gap: 0.35em; }
.hue-dot { display: inline-block; width: 0.9em; height: 0.9em; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); flex: none; }

/* 用途別の見本: 同じ要素（帯・見出し・本文・差し色）の置き方を変えて、使われ方の違いを見せる */
.mock[data-usage="flyer"] { padding-bottom: 1.1rem; }
.mock[data-usage="flyer"] .mock-band { height: 2.6rem; background: var(--p); }
.mock[data-usage="flyer"] .mock-title { font-size: 1.7rem; line-height: 1.25; }
.mock[data-usage="flyer"] .mock-btn { font-size: 1rem; padding: 0.4rem 1.1rem; }
.mock[data-usage="teaching-material"] { padding: 0.8rem 0.9rem; }
.mock[data-usage="teaching-material"] .mock-band { display: none; }
.mock[data-usage="teaching-material"] .mock-title { margin: 0 0 0.5rem; padding: 0.2rem 0 0.2rem 0.6rem; border-left: 0.4rem solid var(--p); font-size: 1.1rem; color: var(--t); }
.mock[data-usage="teaching-material"] .mock-body { margin: 0 0 0.6rem; padding: 0.5rem 0.6rem; background: var(--s); border-radius: 8px; color: var(--t); }
.mock[data-usage="teaching-material"] .mock-btn { margin-left: 0; background: transparent; border: 2px solid var(--a); color: var(--t); border-radius: 4px; }
.mock[data-usage="web"] .mock-band { height: 2rem; background: var(--p); }
.mock[data-usage="web"] .mock-title { color: var(--t); }
.mock[data-usage="web"] .mock-body { padding: 0.4rem 0.6rem; margin: 0 0.9rem 0.6rem; background: var(--s); border-radius: 8px; }
.mock[data-usage="web"] .mock-btn { border-radius: 8px; padding: 0.4rem 1rem; }

/* ===== edi-tool 共通: 上部バーと見出し（edi-tool/.github DESIGN.md 2026-11-06「4. 部品」） ===== */
.et-bar { align-self: stretch; box-sizing: border-box; margin: var(--et-bar-margin, 0 0 16px); padding: var(--et-bar-padding, 0); background: var(--surface, #fff); border-bottom: 1px solid var(--border); }
.et-bar-inner { box-sizing: border-box; max-width: var(--et-bar-max, 1200px); margin: 0 auto; padding: 6px 8px; min-height: 56px; display: flex; align-items: center; gap: 2px; font-size: 0.9375rem; line-height: 1.4; text-align: left; letter-spacing: normal; }
.et-home { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px; border-radius: 8px; color: var(--text); font-weight: 800; text-decoration: none; transition: background-color 120ms cubic-bezier(.2, .8, .2, 1); }
.et-home:hover { background: var(--surface-2, #f0f0f3); color: var(--text); text-decoration: none; }
.et-mark { flex: none; width: 14px; height: 14px; border-radius: 4px; background: var(--accent); }
.et-sep { flex: none; width: 16px; height: 16px; color: var(--text-sub); }
.et-current { min-width: 0; padding: 0 8px; font-weight: 700; color: var(--text-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media print { .et-bar { display: none; } }
:root { --et-bar-max: 1480px; --et-bar-margin: 0; }
.site-header { padding-top: 0.5rem; }
h1 { font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); font-weight: 800; letter-spacing: -0.02em; }
.lead { font-size: 0.9375rem; }

/* スマホの結果カード: 389px 以下は2列、390px 以上（幅の広いスマホ）は3列に固定する */
@media (max-width: 389px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
}
@media (min-width: 390px) and (max-width: 599px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
  .card { padding: 0.375rem; }
  .cp-title { font-size: 0.875rem; left: 0.375rem; }
  .cp-sub { left: 0.375rem; top: 1.65rem; }
  .cp-dot { width: 0.75rem; height: 0.75rem; right: 0.375rem; top: 0.375rem; }
}

/* ===== edi-tool 共通: 線のアイコン（DESIGN.md「5. アイコン」。記号の文字の代わりに使う） ===== */
.et-i, [data-icon]:not([data-icon=""])::before { content: ""; display: inline-block; flex: none; width: 1.15em; height: 1.15em; vertical-align: -0.2em; background-color: currentColor; -webkit-mask: var(--et-i) center / contain no-repeat; mask: var(--et-i) center / contain no-repeat; }
[data-icon]:not([data-icon=""])::before { margin-right: 0.35em; }
[data-icon="check"], .et-i-check { --et-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
[data-icon="ok"], .et-i-ok { --et-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpolyline points='8 12 11 15 16 9'/%3E%3C/svg%3E"); }
[data-icon="warn"], .et-i-warn { --et-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E"); }
[data-icon="info"], .et-i-info { --et-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cline x1='12' y1='11' x2='12' y2='16'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E"); }
[data-icon="lock"], .et-i-lock { --et-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E"); }
[data-icon="arrow-down"], .et-i-arrow-down { --et-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cpolyline points='19 12 12 19 5 12'/%3E%3C/svg%3E"); }
[data-icon="arrow-right"], .et-i-arrow-right { --et-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E"); }
[data-icon="chevron-down"], .et-i-chevron-down { --et-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); }
[data-icon="chevron-left"], .et-i-chevron-left { --et-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E"); }
[data-icon="x"], .et-i-x { --et-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E"); }
.et-i { margin-inline-end: 0.35em; } .et-i.et-i-end { margin-inline: 0.35em 0; } .et-i.et-i-solo { margin: 0; }
footer a[href="https://edi-tool.github.io/"] { display: inline-flex; align-items: center; min-height: 44px; }
:root { --et-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.et-live { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* edi-tool 共通: ツールの説明（検索で見つけてもらうための本文。閉じた開閉パネルに入れる） */
.et-about { width: min(40rem, calc(100% - 2rem)); margin: 2.5rem auto 0; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; color: var(--text); font-size: 0.9375rem; line-height: 1.8; text-align: left; }
.et-about > summary { list-style: none; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.5rem 1rem; border-radius: 16px; cursor: pointer; font-weight: 700; color: var(--text-sub); }
.et-about > summary::-webkit-details-marker { display: none; }
.et-about > summary:hover { color: var(--text); }
.et-about > summary:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.et-about > summary .et-i { flex: none; transition: transform 200ms ease; }
.et-about[open] > summary .et-i { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .et-about > summary .et-i { transition: none; } }
.et-about-body { padding: 0 1rem 1rem; }
.et-about h2 { font-size: 1rem; font-weight: 700; line-height: 1.5; margin: 1.25rem 0 0.25rem; color: var(--text); }
.et-about-body > h2:first-child { margin-top: 0.25rem; }
.et-about p, .et-about ol, .et-about dl { margin: 0.25rem 0 0.75rem; color: var(--text-sub); }
.et-about ol { list-style: decimal; padding-left: 1.5em; }
.et-about li { margin: 0.125rem 0; }
.et-about dt { font-weight: 700; margin-top: 0.75rem; color: var(--text); }
.et-about dd { margin: 0.125rem 0 0; }
