/* tools-menu.css: "다른 도구" 펼침 메뉴 (사이트 기본 디자인과 같은 흑백 톤) */
.tm-wrap { position: relative; display: inline-flex; }
.tm-btn {
  border: 0; background: none; padding: 0; cursor: pointer;
  font: inherit; font-size: inherit; color: var(--ink-2, #555);
}
.tm-btn:hover, .tm-btn[aria-expanded="true"] { color: var(--ink, #111); }
.tm-btn::after { content: " ▾"; font-size: .8em; }

.tm-panel {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 50;
  width: 280px; max-width: calc(100vw - 24px);
  background: #fff; border: 1px solid var(--line, #e4e4e4); border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  padding: 8px; text-align: left; line-height: 1.4;
}
.tm-title { font-size: 12px; color: var(--ink-3, #8a8a8a); padding: 4px 8px 6px; }

.tm-item {
  position: relative; display: block; padding: 10px 12px; border-radius: 8px;
  text-decoration: none; color: var(--ink, #111);
}
a.tm-item:hover { background: #f4f4f4; }
.tm-item strong { display: block; font-size: 14px; font-weight: 600; }
.tm-item span { display: block; font-size: 12.5px; color: var(--ink-3, #8a8a8a); margin-top: 2px; }
.tm-item em {
  position: absolute; top: 10px; right: 10px; font-style: normal; font-size: 11px;
  color: var(--ink-2, #555); background: #f1f1f1; border-radius: 999px; padding: 1px 8px;
}
.tm-item.is-current { background: #fafafa; }
.tm-item.is-soon strong, .tm-item.is-soon span { color: var(--ink-3, #8a8a8a); }

.tm-all {
  display: block; margin-top: 4px; padding: 10px 12px; border-top: 1px solid var(--line, #e4e4e4);
  font-size: 13px; color: var(--ink-2, #555); text-decoration: none;
}
.tm-all:hover { color: var(--ink, #111); }

@media (max-width: 720px) {
  .tm-panel { position: fixed; top: 56px; right: 12px; left: 12px; width: auto; }
}
