/* 알람 벨 토글 + 롱프레스 드롭다운 — FXTester · GoldMiner 공유.
   (createAlarmToggleController 가 이 클래스들을 붙인다. 컨트롤러를 패키지로 승격하면서
    FX style.css 에 있던 규칙을 여기로 옮겼다 — 두 앱의 UI 를 "동일" 하게 유지하려면
    스타일도 단일 출처여야 한다.)

   ⚠️ 로드 순서: price-alarm.css **뒤** 여야 한다(.alarm-snap-card--pairb 가 카드
      기본 tone 을 덮어쓴다). 두 앱 index.html 모두 그 순서로 링크돼 있다. */

/* 좌하단 그룹의 오른쪽 끝. 드로잉 "도구"가 아니라 알림 스위치라, 앞에 여백 구분을
   둬 도구 묶음과 시각적으로 분리한다. 크기·hover 는 .btn-draw-tool 기본값 상속.
   켜짐 색은 알람 계열 amber(#e3b341 = core-price-alarm ALARM_COLOR) — 드로잉
   active 의 파랑(#58a6ff)과 겹치지 않아 "선택된 도구"로 오독되지 않는다. */
.btn-band-touch-alert {
  margin-left: 6px;
}
/* .is-on 이 정본. aria-pressed 는 접근성 표현이자 클래스 누락 시의 안전망 —
   토글 컨트롤러가 항상 둘을 함께 갱신한다. */
.btn-band-touch-alert.is-on,
.btn-band-touch-alert[aria-pressed="true"] {
  background: rgba(227, 179, 65, 0.14);
  border-color: #e3b341;
  color: #e3b341;
}
.btn-band-touch-alert.is-on:hover,
.btn-band-touch-alert[aria-pressed="true"]:hover {
  background: rgba(227, 179, 65, 0.24);
}

/* 롱프레스 드롭다운 (컨트롤러가 런타임 생성해 document.body 에 붙인다).
   ⚠️ 드로잉 툴 메뉴와 달리 **래퍼 div 가 없다** — #drawToolGroup 의 직계 자식
   순서를 id 배열로 단언하는 spec 계약 때문에 버튼을 감쌀 수 없어서, 리스트를 body 에
   붙이고 열림 표시도 리스트 자신의 .open 으로 한다. 스킨(fixed·다크·그림자)은
   각 앱의 .draw-tool-list 를 그대로 상속한다. */
.alarm-toggle-list.open {
  display: flex;
  min-width: 152px;
}
.alarm-toggle-item {
  justify-content: flex-start;
  font-weight: 500;
}
/* 쌍비 하위 TF — 들여쓰기로 "쌍비 알람" 행에 종속됨을 표시. */
.alarm-toggle-sub {
  margin-left: 16px;
}
/* 쌍비 알람 해제 시 하위 TF 는 값은 보존하고 조작만 막는다(input.disabled 와 짝). */
.alarm-toggle-item.is-disabled {
  opacity: 0.45;
  cursor: default;
}
.alarm-toggle-item.is-disabled input[type="checkbox"] {
  cursor: default;
}
.alarm-toggle-item.is-disabled:hover {
  background: #111722;
  border-color: var(--border);
}

/* 알람 스냅샷 카드 tone — 베이스는 core-price-alarm/src/price-alarm.css.
   notify({tone:'pairb'}) → .alarm-snap-card--pairb. 골드 좌측 보더로 밴드터치
   카드(tone:'band', amber #e3b341)와 한눈에 구분된다 — 골드 = 쌍비 신호 계열색. */
.alarm-snap-card--pairb {
  border-color: #ffd700;
  border-left: 3px solid #ffd700;
}
