/* GeneralConferenceDuo - Application Core Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Lora:ital,wght@0,400;0,600;1,400&family=Noto+Sans+JP:wght@400;500;700&display=swap');

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

.font-serif {
  font-family: 'Lora', 'Noto Sans JP', Georgia, serif;
}

/* Japanese Ruby Tag Formatting */
ruby.ruby-text {
  ruby-align: center;
  ruby-position: over;
}

rt.rt-text {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  font-size: 0.55em;
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: #2563eb;
  padding-bottom: 2px;
}

/* Token Hover & Interactivity */
.token-hoverable {
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.token-hoverable:hover {
  background-color: #e2e8f0;
  border-radius: 4px;
}

.pair-hovered {
  outline: 2px solid #3b82f6 !important;
  outline-offset: 1px;
  background-color: #dbeafe !important;
  border-radius: 4px;
}

/* 8-Color Accessible Highlight Palette */
.highlight-color-0 {
  background-color: #fef08a !important; /* Yellow */
  color: #854d0e !important;
  border-bottom: 2px solid #eab308;
}

.highlight-color-1 {
  background-color: #a5f3fc !important; /* Cyan */
  color: #0e7490 !important;
  border-bottom: 2px solid #06b6d4;
}

.highlight-color-2 {
  background-color: #a7f3d0 !important; /* Emerald/Mint */
  color: #047857 !important;
  border-bottom: 2px solid #10b981;
}

.highlight-color-3 {
  background-color: #fbcfe8 !important; /* Pink */
  color: #be185d !important;
  border-bottom: 2px solid #ec4899;
}

.highlight-color-4 {
  background-color: #e9d5ff !important; /* Purple */
  color: #6b21a8 !important;
  border-bottom: 2px solid #a855f7;
}

.highlight-color-5 {
  background-color: #fed7aa !important; /* Orange */
  color: #c2410c !important;
  border-bottom: 2px solid #f97316;
}

.highlight-color-6 {
  background-color: #99f6e4 !important; /* Teal */
  color: #0f766e !important;
  border-bottom: 2px solid #14b8a6;
}

.highlight-color-7 {
  background-color: #d9f99d !important; /* Lime */
  color: #3f6212 !important;
  border-bottom: 2px solid #84cc16;
}

/* Print Toolbar & UI adjustments */
.no-print {
  display: block;
}
