:root { --ink: #1f2933; --muted: #5f6b76; --line: #e3e5e8; --bg: #f6f6f3; --card: #fff; --accent: #1f3a6b; --warn: #8a5a00; --err: #a3261c; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.75 "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif; }
.top, main { max-width: 720px; margin: 0 auto; padding: 0 16px; }
.top { padding-top: 28px; }
h1 { font-size: 22px; margin: 0 0 4px; letter-spacing: .02em; }
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; }   /* 2回押しの文が長いときは、見出しを割らずにリンクを下の行へ */
/* ツール一覧へ：文字のリンク。押せる広さは縦横44px以上（帯は見出しより5pxだけ高くなる）。2回押しの文は「。」のあとで折り、下の行へ回っても次の文と重ならない（負の余白を使わない） */
.to-tools { display: inline-flex; align-items: center; justify-content: flex-end; min-height: 44px; min-width: 44px; margin: 0;
  flex-shrink: 0; margin-left: auto; font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--accent); text-align: right;
  text-decoration: underline; text-underline-offset: 3px; white-space: pre-line; }
.to-tools:focus-visible { outline: 2px solid #9db1d6; outline-offset: 2px; }
h2 { font-size: 17px; margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0 0 16px; font-size: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 18px 16px; margin: 0 0 14px; }
.field { display: block; margin: 0 0 12px; }
.field span { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
input, textarea { width: 100%; font: inherit; color: inherit; border: 1px solid #cfd4da; border-radius: 8px; padding: 10px 12px; background: #fff; }
textarea { resize: vertical; line-height: 1.7; }
input:focus, textarea:focus { outline: 2px solid #9db1d6; outline-offset: 0; border-color: #9db1d6; }
button { font: inherit; border-radius: 8px; padding: 11px 18px; cursor: pointer; border: 1px solid transparent; }
button:disabled { opacity: .55; cursor: default; }
.primary { background: var(--accent); color: #fff; font-weight: 600; }
.ghost { background: transparent; color: var(--accent); border-color: #c4ccd8; }
.small { padding: 6px 12px; font-size: 14px; }
.hint { color: var(--muted); font-size: 14px; margin: 4px 0 10px; }
.warn { color: var(--warn); }
.err { color: var(--err); font-size: 14px; margin: 6px 0 10px; }
.lead { font-weight: 600; margin: 0 0 4px; }
.label { font-size: 13px; color: var(--muted); margin: 0 0 2px; }
.company { font-size: 18px; font-weight: 600; margin: 0 0 6px; }
.company a { color: var(--ink); text-decoration-color: #c4ccd8; }
.note { background: #f3f5f8; border-radius: 8px; padding: 10px 12px; font-size: 14px; }
.q { font-weight: 600; font-size: 14px; margin: 14px 0 4px; }
.kpi { margin: 12px 0 0; }
.paste textarea { min-height: 3.2em; }
.paste .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.paste .count { font-size: 13px; color: var(--muted); }
.paste .count.over { color: var(--err); font-weight: 600; }
.paste .leak { color: var(--err); font-size: 13px; margin: 4px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0; }
.chips button { background: #f3f5f8; border-color: #d7dde5; color: var(--ink); padding: 7px 12px; font-size: 14px; text-align: left; }
.steps { margin: 0; padding-left: 1.4em; }
.steps a { color: var(--accent); }
details summary { cursor: pointer; font-weight: 600; }
#issueCard details { margin-top: 12px; }
#issueCard details summary { font-size: 14px; color: var(--muted); font-weight: 500; }
#issueCard .primary { margin: 4px 0 8px; }
#research { padding-left: 1.4em; font-size: 14px; }
#research li { margin: 0 0 10px; }
#research .why { color: var(--muted); display: block; }
#research a { color: var(--accent); word-break: break-all; font-size: 13px; }
#uncertain { margin: 0; padding-left: 1.2em; font-size: 14px; }
.actions .primary { margin-bottom: 4px; }
#copyCard { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
#copyCard .hint { flex-basis: 100%; margin: 2px 0 0; }
.bar { height: 3px; background: #e7eaee; border-radius: 2px; overflow: hidden; margin: 12px 0 6px; }
.bar span { display: block; height: 100%; width: 30%; background: #c9a227; animation: slide 1.6s ease-in-out infinite; }
@keyframes slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(340%); } }
@media (prefers-reduced-motion: reduce) { .bar span { animation: none; width: 100%; opacity: .5; } }

/* 要望やアイデアの受け皿（社内向けの入口の style.css の fb- を写し、この道具の色に合わせた） */
.fb { max-width: 720px; margin: 0 auto; padding: 0 16px 32px; }
.fb:empty { display: none; }
.fb [hidden] { display: none !important; }   /* .fb-form の display:grid が hidden を打ち消して、閉じても欄が残った（10/10 描画で見つけた） */
.link { background: none; border: 0; padding: 10px 0; min-height: 44px; font: inherit; font-size: 15px; color: var(--accent); text-decoration: underline; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.fb-line { margin: 0; }
.fb-form { display: grid; gap: 10px; margin: 6px 0 0; }
.fb-text { font: inherit; font-size: 16px; resize: vertical; }
.fb-note { margin: 0; font-size: 14px; color: var(--muted); }
.fb-err { margin: 0; font-size: 14px; color: var(--err); }
.fb-foot { display: flex; gap: 16px; justify-content: flex-end; align-items: center; }
.fb-send { font: inherit; font-size: 16px; font-weight: 600; padding: 10px 22px; background: var(--accent); color: #fff; border: 1px solid transparent; border-radius: 8px; cursor: pointer; }
.fb-thanks { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
