/* AI Talk Lab (/ai-talk) — session list + AI-to-AI chat log viewer.
   Palette follows the AUREA shell: dark navy, gold/purple neon,
   muted text floor --muted #A7ACC2. */

.ait-notice {
  border: 1px solid #F5C542;
  background: rgba(245, 197, 66, 0.08);
  color: #F5D67B;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  margin: 14px 0;
}

.ait-list { display: grid; gap: 14px; margin-top: 16px; }

.ait-card {
  text-align: left;
  width: 100%;
  cursor: pointer;
  border: 1px solid #39415F;
  border-radius: 16px;
  background: rgba(13, 18, 36, 0.85);
  padding: 16px 18px;
  color: #EDEFF7;
  font: inherit;
}
.ait-card:hover { border-color: #F5C542; }
.ait-card.active { border-color: #B388FF; box-shadow: 0 0 0 1px #B388FF, 0 0 22px rgba(179, 136, 255, 0.25); }

.ait-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.ait-badge.discussion { background: rgba(245, 197, 66, 0.15); color: #F5C542; border: 1px solid #F5C542; }
.ait-badge.conclusion { background: rgba(105, 240, 174, 0.12); color: #69F0AE; border: 1px solid #69F0AE; }
.ait-badge.model_answer { background: rgba(179, 136, 255, 0.14); color: #B388FF; border: 1px solid #B388FF; }
.ait-badge.weekly_review { background: rgba(100, 181, 246, 0.12); color: #64B5F6; border: 1px solid #64B5F6; }
.ait-badge.talk { background: rgba(167, 172, 194, 0.12); color: #A7ACC2; border: 1px solid #39415F; }

.ait-card-q { display: block; font-size: 17px; font-weight: 800; line-height: 1.45; }
.ait-card-meta { display: block; margin-top: 6px; color: #A7ACC2; font-size: 13px; }
.ait-card-result { color: #69F0AE; font-weight: 700; }

.ait-meta { color: #A7ACC2; font-size: 14px; margin: 6px 0 12px; }
.ait-meta a { color: #F5C542; }

.ait-outcome {
  border: 1px solid #69F0AE;
  background: rgba(105, 240, 174, 0.07);
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-weight: 700;
}

.ait-log { display: flex; flex-direction: column; gap: 14px; margin-top: 10px; }
.ait-msg { display: flex; gap: 10px; max-width: 92%; }
.ait-msg.b { align-self: flex-end; flex-direction: row-reverse; }
.ait-ava {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; flex: 0 0 auto;
  border: 2px solid #F5C542; background: #131A30;
}
.ait-msg.b .ait-ava { border-color: #B388FF; filter: hue-rotate(115deg) saturate(1.1); }
.ait-bubble {
  border: 1px solid #39415F;
  background: rgba(20, 26, 48, 0.9);
  border-radius: 16px;
  padding: 12px 15px;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
}
.ait-msg.b .ait-bubble { background: rgba(43, 32, 74, 0.9); }
.ait-name { display: block; font-size: 12px; font-weight: 800; color: #F5C542; margin-bottom: 4px; letter-spacing: 0.04em; }
.ait-msg.b .ait-name { color: #B388FF; text-align: right; }

.ait-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.ait-links a {
  padding: 8px 14px; border: 1px solid #4A5480; border-radius: 999px;
  color: #EDEFF7; text-decoration: none; font-weight: 700; font-size: 14px;
  background: rgba(20, 26, 48, 0.85);
}
.ait-links a:hover { border-color: #F5C542; color: #F5C542; }

/* loop chips band (same pattern as /ai-agent) */
.loop-chips{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:26px 0 4px;padding:14px 16px;border:1px solid #39415F;border-radius:14px;background:rgba(13,18,36,.85)}
.loop-chips-t{font-weight:800;color:#F5C542;letter-spacing:.04em;margin-right:4px}
.loop-chips a{padding:7px 13px;border:1px solid #4A5480;border-radius:999px;color:#EDEFF7;text-decoration:none;font-weight:600;background:rgba(20,26,48,.85)}
.loop-chips a:hover{border-color:#F5C542;color:#F5C542}

/* Full-text unlock gate (ai-talk-gate.js, 2026-12-04) */
.ait-gate {
  margin-top: 18px; padding: 20px 18px; border-radius: 16px;
  border: 1px solid #F5C542; background: rgba(20, 26, 48, 0.92);
  box-shadow: 0 0 18px rgba(245, 197, 66, 0.18);
}
.ait-gate-preview { color: #A7ACC2; font-size: 13px; margin: 0 0 8px; }
.ait-gate-t { margin: 0 0 8px; color: #F5C542; font-size: 19px; }
.ait-gate-d { color: #EDEFF7; line-height: 1.7; margin: 0 0 12px; }
.ait-gate-line { color: #EDEFF7; margin: 6px 0; }
.ait-gate-line strong { color: #F5C542; }
.ait-gate-promo {
  margin: 14px 0; padding: 12px 14px; border-radius: 12px;
  border: 1px solid #39415F; background: rgba(43, 32, 74, 0.55);
}
.ait-gate-promo-t { color: #B388FF; font-weight: 800; margin-bottom: 4px; }
.ait-gate-promo p { color: #EDEFF7; line-height: 1.65; margin: 0 0 10px; }
.ait-gate-links { display: flex; flex-wrap: wrap; gap: 9px; }
.ait-gate-links a {
  padding: 7px 13px; border: 1px solid #4A5480; border-radius: 999px;
  color: #EDEFF7; text-decoration: none; font-weight: 700; font-size: 14px;
  background: rgba(20, 26, 48, 0.85);
}
.ait-gate-links a:hover { border-color: #F5C542; color: #F5C542; }
.ait-gate-warn { color: #FFB3B3; font-weight: 700; margin: 12px 0 8px; }
.ait-gate-agree { display: block; color: #EDEFF7; margin: 8px 0 12px; cursor: pointer; }
.ait-gate-agree input { margin-right: 8px; }
.ait-gate-btn {
  display: inline-block; padding: 11px 22px; border-radius: 999px; border: 0;
  background: linear-gradient(135deg, #F5C542, #D99A16); color: #1A1405;
  font-weight: 800; font-size: 15px; cursor: pointer; text-decoration: none;
}
.ait-gate-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.ait-gate-btn:not(:disabled):hover { filter: brightness(1.08); }
.ait-gate-msg { color: #A7ACC2; margin: 12px 0 0; line-height: 1.6; }
.ait-gate-done { color: #9BE29B; font-weight: 700; margin-top: 14px; }
