/*
 * Advance Camera App Builder 共通ベースCSS
 * - カード… AAM (.aam-card) を使用
 * - フォーム／テーブル… ASB(.asb-*)のレイアウトを acab-* にコピー
 * - ページャの「前へ/次へ」… 白い角丸ボタン（クイズと同系統）
 * - エディターヘッダ（パンくず＋戻る＋タブ）… 戻る＋左詰めタブ
 * - APIキー設定カード… 60% / 40%・3行構成
 * - 詳細ログ用の黒パネル＆開閉ボタン
 */

/* AAMカードの形を利用 */

/* ラッパー */
.aam-wrap.acab-wrap {
  max-width: 980px;
  margin: 20px auto;
  padding: 0 12px 32px;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 1.6;
}

/* パンくず：少し小さめに */
.aam-breadcrumb.acab-breadcrumb {
  margin-top: 6px;
  margin-bottom: 8px;
  color: #666;
  font-size: 12px;
}

/* カード内タイトル */
.aam-card .acab-sec-title {
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 15px;
}

/* 管理画面用の外側余白を安定化 */
.acab-admin-page {
  margin-top: 16px;
}
.acab-admin-page .aam-wrap.acab-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 4px;
}
.acab-admin-page .aam-card {
  margin-bottom: 16px;
}

/* タブ群は折り返し許可して管理画面でも崩れにくくする */
.acab-tab-headers {
  flex-wrap: wrap;
}

/* 管理ページ全体でカード・フォームの見た目を少し統一 */
.aam-card {
  box-sizing: border-box;
}
.aam-card table.acab-api-table,
.aam-card table.acab-param-table,
.aam-card table.acab-table {
  margin-top: 0;
}
.acab-log-header .acab-sec-title,
.aam-card > .acab-sec-title {
  margin-bottom: 0;
}

/* シナリオカードを親カード内でも同系統に揃える */
#acab-scenario-list .aam-card[data-scenario-id] {
  margin-bottom: 12px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}
#acab-scenario-list .aam-card[data-scenario-id]:last-child {
  margin-bottom: 0;
}



/* ========= エディターヘッダ（戻る＋タブ） ========= */
/* カード無し。戻るボタンの右側にタブボタンを左詰めで並べる */

.acab-editor-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}

.acab-editor-header-left {
  flex-shrink: 0;
}

.acab-editor-header-right {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

/* ========= ボタン ========= */

.acab-btn {
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 8px 12px;
  background: #f9fafb;
  cursor: pointer;
  font-size: clamp(12px, 1.4vw, 14px);  /* 変動タイプで小さめ統一 */
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  box-sizing: border-box;
}
.acab-btn.-primary {
  background: #111827;
  color: #fff;
  border-color: #111827;
  text-align: center;
}
.acab-btn.-ghost {
  background: #fff;
}
.acab-btn.-danger {
  background: #fee2e2;
  border-color: #fecaca;
}

/* ========= 入力フォーム ========= */

.acab-input,
.acab-table input,
.acab-table select,
.acab-table textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: clamp(12px, 1.4vw, 14px);
}
.acab-input--sm {
  width: auto;
  padding: 6px 8px;
}

/* ========= 新規作成フォーム（リスト側） ========= */

.aam-card table.acab-create-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  border-spacing: 0;
}
.aam-card table.acab-create-table tr {
  margin: 0;
}
.aam-card table.acab-create-table td {
  padding: 4px 0;
  border: 0;
  vertical-align: middle;
}
.aam-card table.acab-create-table .td-input {
  padding-right: 8px;
}
.aam-card table.acab-create-table .td-actions {
  white-space: nowrap;
  text-align: center;
}
.aam-card table.acab-create-table .td-actions .acab-btn {
  margin: 0 auto;
}

/* 入力:ボタン = 80% : 20% */
.aam-card table.acab-create-table col:first-child {
  width: 80% !important;
}
.aam-card table.acab-create-table col:last-child {
  width: 20% !important;
}

/* 入力直下の余白を削る（新規作成フォーム） */
.aam-card .acab-create-table input[type="text"],
.aam-card .acab-create-table .acab-input {
  margin-bottom: 0 !important;
}

/* ========= 一覧テーブル ========= */

.aam-card table.acab-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  border-spacing: 0;
}
.aam-card table.acab-table th,
.aam-card table.acab-table td {
  border-top: 1px solid #eee;
  padding: 10px;
  vertical-align: top;
  text-align: left;
}
.aam-card table.acab-table th {
  font-weight: 600;
  color: #111;
  background: #f6f7f7;
}
.aam-card table.acab-table td {
  background: #fff;
}
.acab-w64  { width: 64px; }
.acab-w120 { width: 120px; }

/* ========= ツールバー／ページネーション ========= */

.acab-list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 8px 0;
  gap: 12px;
}
.acab-list-toolbar label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.acab-muted {
  font-size: 0.9rem;
  color: #666;
}

.acab-pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 10px;
}
.acab-pagination .acab-btn {
  min-width: 70px;
}
.acab-page-info {
  color: #333;
  font-size: 0.9rem;
}

/* ========= タブUI（エディターページ用） ========= */

.acab-tabs {
  /* ヘッダ内に置くだけなので装飾は最小限 */
}

.acab-tab-headers {
  display: flex;
  gap: 6px;
  margin-bottom: 0;
}

.acab-tab-btn {
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;            /* 角を少し緩め */
  background: #fff;
  font-size: clamp(12px, 1.4vw, 14px);
  cursor: pointer;
  color: #111;                    /* 非アクティブ時は黒 */
}
.acab-tab-btn.is-active {
  background: #111827;
  color: #fff;
  border-color: #111827;
}

.acab-tab-panel {
  display: none;
}
.acab-tab-panel.is-active {
  display: block;
}

/* ========= APIキー設定カード専用レイアウト（60% / 40%・3行構成） ========= */

.acab-api-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

/* テーブルセルは「下だけ白ボーダー」、他は消す */
.acab-api-table td,
.acab-api-table th {
  background: transparent !important;
  border: 0;
  border-bottom: 1px solid #fff;
  padding: 8px 10px;
  vertical-align: top;
}

/* 左60% / 右40% */
.acab-api-main {
  width: 60%;
}
.acab-api-side {
  width: 40%;
  text-align: left;        /* セル自体は左寄せ */
}

/* APIテーブル内フォームの下余白も消す */
.acab-api-table .acab-input,
.acab-api-table input,
.acab-api-table select {
  margin-bottom: 0 !important;
}

/* テーブルセルは縦方向も中央寄せにしておく */
.acab-api-table td {
  vertical-align: middle;
}

/* ラベル：チェック＋テキストを「普通の1行ラベル」にする */
.acab-api-label-side {
  font-size: clamp(10px, 1.2vw, 12px);
  display: inline-block;   /* ★ flexやwidth指定はやめる */
  margin: 0;
  padding: 0;
  line-height: 1.3;
  max-width: 100%;
  white-space: normal;     /* ★ 通常の改行ルールに戻す */
}

/* ラベル内のチェックボックス：余白を完全リセット＋横並び */
.acab-api-label-side input[type="checkbox"] {
  display: inline-block;   /* ★ ブロック化させない */
  margin: 0 !important;  /* 左0, 右4pxだけ隙間 */
  padding: 0 !important;
  vertical-align: middle;  /* テキストと上下中央揃え */
}
  
/* フィールド */
.acab-api-field {
  display: block;
}

input.acab-api-keepcheckbox {
  width: auto;
}

/* ========= アプリパラメーター設定カード用テーブル ========= */
/* 背景なし・下線だけ白・フォーム下余白もゼロに */

.aam-card .acab-param-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

/* th, td とも背景色なし・下ボーダーだけ白 */
.aam-card .acab-param-table th,
.aam-card .acab-param-table td {
  background: transparent !important;   /* ★ 背景色なし */
  border: 0;                            /* 上・左右ボーダー消す */
  border-bottom: 1px solid #fff;        /* ★ 下線だけ白 */
  padding: 8px 10px;
  vertical-align: middle;               /* セル内縦方向を中央寄せ */
}

/* 項目名（th）の文字だけ少し強調 */
.aam-card .acab-param-table th {
  font-weight: 600;
  color: #111;
}

/* このカード内のフォーム類は下余白を消す */
.acab-param-table .acab-input,
.acab-param-table input,
.acab-param-table select,
.acab-param-table textarea {
  margin-bottom: 0 !important;          /* ★ フォーム直下の余白ゼロ */
}

/* 詳細データカードのヘッダー行：左にタイトル、右にボタン */
.acab-log-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

/* 詳細データ見出しの左側（タイトル＋疎通テストボタン） */
.acab-log-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* アプリパラメーター：ヘッダー（トグル＋詳細開閉） */
.acab-param-head {
  margin-bottom: 10px;
}
.acab-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin-bottom: 8px;
}
.acab-toggle-label {
  font-weight: 600;
}

/* iOS風の左右トグル */
.acab-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 30px;
}
.acab-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.acab-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: .2s;
  border-radius: 999px;
}
.acab-slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .2s;
  border-radius: 999px;
}
.acab-switch input:checked + .acab-slider {
  background-color: #22c55e;
}
.acab-switch input:checked + .acab-slider:before {
  transform: translateX(22px);
}

/* 詳細設定パネル（初期は閉じる） */
.acab-adv-panel {
  display: none;
}

/* ログパネル：黒背景＋緑文字 */
.acab-log-panel {
  display: none;
  margin-top: 4px;
  padding: 10px 12px;
  background: #000;              /* 黒 */
  color: #22c55e;                /* 緑系（見やすいグリーン） */
  border-radius: 8px;
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  line-height: 1.5;
  max-height: 260px;
  overflow: auto;
}
.acab-log-panel.is-open {
  display: block;
}

/* 汎用：開閉パネル（デフォルト閉） */
.acab-fold-panel {
  display: none;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}
.acab-fold-panel.is-open {
  display: block;
}

/* 開閉パネル内のpre（テスト結果など） */
.acab-pre {
  margin: 0;
  padding: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  line-height: 1.5;
}


/* マスクキー入力欄の背景とボーダーを完全に消す */
.acab-api-table .acab-input-masked {
  background-color: transparent !important;
  border: none !important;
}


/* 保存／削除ボタンは横並び＋50%ずつ */
.acab-api-actions {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 6px;
}
.acab-api-actions .acab-btn {
  flex: 1 1 50%;
  max-width: 50%;
  justify-content: center;
}

/* マスク済みキー表示用 */
.acab-input-masked {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* 注釈テキスト（小さめ） */
.acab-api-note {
  font-size: clamp(10px, 1.2vw, 12px);  /* ★ 小さく統一 */
  color: #555;
}

/* マスクキー + 残り時間 + 注釈 の横並び行 */
.acab-api-mask-row {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;   /* 左詰め */
}

/* マスクキーは可変幅・最小限（背景・ボーダーなし） */
.acab-api-table .acab-input-masked {
  background-color: transparent !important;
  border: none !important;
  padding: 0 4px;
  width: auto;                   /* 可変幅 */
  flex: 0 0 auto;                /* 必要なだけの幅 */
}

/* 残り時間表示（中央） */
.acab-api-remaining {
  font-size: clamp(10px, 1.2vw, 12px);
  color: #333;
  white-space: nowrap;           /* 折り返さない */
}

/* 右端の注釈 */
.acab-api-note-inline {
  font-size: clamp(10px, 1.2vw, 12px);
  color: #555;
  line-height: 1.4;
  text-align: left;
  flex: 1 1 auto;               /* 余ったスペースをここで受ける */
}

/* スマホ用調整 */
@media (max-width: 640px) {
  .acab-api-main,
  .acab-api-side {
    width: auto;
  }
  .acab-api-actions {
    flex-wrap: wrap;
    justify-content: center;
  }
  .acab-api-actions .acab-btn {
    max-width: none;
    flex: 1 1 45%;
  }
  .acab-api-note {
    margin-top: 4px;
  }
}


/* ========= 詳細ログパネル ========= */

.acab-log-toggle {
  margin-top: 4px;
}

.acab-log-panel {
  display: none;
  margin-top: 8px;
  padding: 10px 12px;
  background: #111827;
  color: #f9fafb;
  border-radius: 8px;
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  line-height: 1.5;
  max-height: 260px;
  overflow: auto;
}
.acab-log-panel.is-open {
  display: block;
}

/* ========== スマホ向けレスポンシブ調整 ========== */
@media (max-width: 640px) {

  /* エディターヘッダは縦積み */
  .acab-editor-header {
    flex-direction: column;
    align-items: stretch;
  }
  .acab-editor-header-right {
    justify-content: flex-start;
  }

  .aam-card table.acab-create-table td {
    padding: 2vw 0;
  }

  .aam-card table.acab-table th,
  .aam-card table.acab-table td {
    padding: 2.4vw 3vw;
  }

  .acab-tab-btn {
    font-size: 3.4vw;
    padding: 2.2vw 3vw;
  }

  /* APIカード：スマホでは左右幅にあまり縛られないように */
  .acab-api-main,
  .acab-api-side {
    width: auto;
  }
  .acab-api-actions {
    flex-wrap: wrap;
    justify-content: center;
  }
  .acab-api-actions .acab-btn {
    max-width: none;
    flex: 1 1 45%;
  }
  .acab-api-note {
    margin-top: 4px;
  }
}

/* ログパネル：黒背景＋中の文字をすべて緑に固定 */
.acab-log-panel {
  display: none;
  margin-top: 4px;
  padding: 10px 12px;
  background: #000;
  color: #22c55e;
  border-radius: 8px;
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  line-height: 1.5;
  max-height: 260px;
  overflow: auto;
}

/* テキスト系がテーマCSSに上書きされないよう強制 */
.acab-log-panel * {
  color: #22c55e !important;
}
.acab-log-panel.is-open {
  display: block;
}



/* AIA logs */
.acab-log-controls{display:flex;gap:8px;align-items:center;margin:8px 0;}
.acab-log-body{white-space:pre-wrap;font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;font-size:12px;line-height:1.5;}
.acab-log-row{padding:6px 0;border-bottom:1px solid rgba(0,0,0,.08);}
.acab-log-row:last-child{border-bottom:none;}
.acab-log-meta{opacity:.75;font-size:11px;}


/* ===== AIA log enhancements (client_id / summary) ===== */
.acab-log-summary{
  margin: 10px 0 12px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  font-size: 12px;
}
.acab-log-summary .acab-log-summary-title{
  font-weight: 700;
  margin: 0 0 6px;
}
.acab-log-summary .acab-log-summary-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
.acab-log-client-line{
  margin-top: 6px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12px;
}
.acab-log-client-badge{
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid rgba(34,197,94,.45);
  border-radius: 999px;
  background: transparent;
}
.acab-log-client-badge.is-blocked{
  border-color: rgba(239,68,68,.7);
}
.acab-btn.-xs{
  padding: 4px 8px;
  font-size: 12px;
  line-height: 1.2;
}


/* acab-log-failonly-toggle */
.acab-logfailonly-wrap{display:inline-flex;align-items:center;gap:8px;margin-left:12px;font-size:12px;}
.acab-logfailonly-switch{position:relative;display:inline-block;width:44px;height:22px;vertical-align:middle;}
.acab-logfailonly-switch input{opacity:0;width:0;height:0;}
.acab-logfailonly-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background:#666;transition:.15s;border-radius:999px;}
.acab-logfailonly-slider:before{position:absolute;content:"";height:16px;width:16px;left:3px;bottom:3px;background:#fff;transition:.15s;border-radius:50%;}
.acab-logfailonly-switch input:checked + .acab-logfailonly-slider{background:#2d8f2d;}
.acab-logfailonly-switch input:checked + .acab-logfailonly-slider:before{transform:translateX(22px);}

/* ===== モデル検証バッジ ===== */
.acab-model-badge{display:inline-flex;align-items:center;justify-content:center;font-size:12px;line-height:1;padding:5px 8px;border-radius:999px;border:1px solid rgba(0,0,0,0.12);background:#f6f7f7;color:#1d2327;}
.acab-model-badge--ok{background:#e7f7ee;border-color:#b7e6c9;}
.acab-model-badge--ng{background:#fde8e8;border-color:#f5b5b5;}
.acab-model-badge--unknown{background:#f6f7f7;border-color:rgba(0,0,0,0.12);}
.acab-model-badge--warn{background:#fff6e5;border-color:#f2d19a;}

/* ===== ACB: editor tabs width/spacing unification ===== */
.aam-wrap.acab-wrap .acab-tab-panel > .aam-card {
  width: 100%;
  margin: 0 0 16px;
}

.aam-wrap.acab-wrap .acab-tab-panel > .aam-card:last-child {
  margin-bottom: 0;
}

.aam-wrap.acab-wrap .acab-tab-panel .acab-log-header,
.aam-wrap.acab-wrap .acab-tab-panel .acab-sec-title {
  margin-bottom: 10px;
}

.aam-wrap.acab-wrap .acab-tab-panel .acab-log-header .acab-sec-title {
  margin-bottom: 0;
}

.aam-wrap.acab-wrap .acab-tab-panel .acab-param-table,
.aam-wrap.acab-wrap .acab-tab-panel .acab-api-table,
.aam-wrap.acab-wrap .acab-tab-panel .acab-table {
  width: 100%;
  margin-top: 0;
}

.aam-wrap.acab-wrap .acab-tab-panel .acab-btn + .acab-btn {
  margin-left: 0;
}

.aam-wrap.acab-wrap .acab-tab-panel [style*="display:flex"] {
  row-gap: 8px;
}

#acab-scenario-list .aam-card[data-scenario-id] {
  width: 100%;
  margin: 0 0 12px;
}

#acab-scenario-list .aam-card[data-scenario-id] .acab-param-table {
  margin-top: 0;
}


/* アプリビルダーバナーはカード内に収める */
.aam-card .banner_image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 0 14px;
  box-sizing: border-box;
}

/* 念のためカード外へのはみ出しを防ぐ */
.aam-card {
  overflow: hidden;
}

/* ========= ACB phase1 modules ========= */
.acab-inline-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 16px;
}
.acab-inline-fields {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}
.acab-module-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.acab-spec-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  margin-top: 12px;
}
.acab-spec-item-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.acab-spec-pre {
  white-space: pre-wrap;
  margin: 0;
}
@media (max-width: 760px) {
  .acab-inline-fields {
    grid-template-columns: 1fr;
  }
}


.acab-inline-fields--compact{gap:6px;}
#acab-bm-table tr.is-selected{outline:2px solid rgba(34,113,177,.22);outline-offset:-2px;background:#f6fbff;}
#acab-bm-selected-key{word-break:break-all;}
#acab-bm-table .acab-btn{white-space:nowrap;}


/* ACB AI Bot Manager UI */







/* ACB admin footer overlap fix */
body.toplevel_page_acab-builder #wpfooter{display:none !important;}
body.toplevel_page_acab-builder #wpcontent{padding-bottom:24px !important;}












/* v1.3.240: AI key boolean controls as real toggles */
.acab-ai-key-toggle{display:inline-flex;align-items:center;gap:8px;cursor:pointer;vertical-align:middle;user-select:none;}
.acab-ai-key-toggle input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none;}
.acab-ai-key-toggle-slider{position:relative;display:inline-block;width:44px;height:24px;border-radius:999px;background:#8b8f98;transition:background .15s ease, box-shadow .15s ease;box-shadow:inset 0 0 0 1px rgba(0,0,0,.12);}
.acab-ai-key-toggle-slider:before{content:"";position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .15s ease;}
.acab-ai-key-toggle input:checked + .acab-ai-key-toggle-slider{background:#2271b1;}
.acab-ai-key-toggle input:checked + .acab-ai-key-toggle-slider:before{transform:translateX(20px);}
.acab-ai-key-toggle-text{font-size:12px;font-weight:700;line-height:1;color:#4b5563;min-width:32px;}
.acab-ai-key-toggle .acab-ai-key-toggle-on{display:none;}
.acab-ai-key-toggle .acab-ai-key-toggle-off{display:inline;}
.acab-ai-key-toggle input:checked ~ .acab-ai-key-toggle-text .acab-ai-key-toggle-on{display:inline;}
.acab-ai-key-toggle input:checked ~ .acab-ai-key-toggle-text .acab-ai-key-toggle-off{display:none;}
