@import url('./concepts/transformer-paths.css');

.concept-sentence { cursor: pointer; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-style: dashed; text-underline-offset: 4px; }
.concept-sentence:hover { text-decoration-style: solid; }
.concept-link { display: inline; margin-left: 4px; padding: 2px 5px; border: 0; border-radius: 3px; color: var(--accent); font-size: 13px; vertical-align: baseline; user-select: none; }
.concept-link:hover { background: var(--soft); }
.concept-viewer { width: 840px; max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 24px; border: 1px solid var(--line); border-radius: 6px; overflow: auto; color: var(--text); background: var(--surface); }
.concept-viewer::backdrop { background: #0006; }
.concept-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 12px; color: var(--muted); }
.concept-header button { border: 0; font-size: 26px; line-height: 1; padding: 2px 6px; }
.concept-viewer h2 { font-size: 24px; margin: 12px 0 20px; line-height: 1.3; }
@media (max-width: 600px) {
  .concept-viewer { padding: 16px; }
  .concept-viewer h2 { font-size: 21px; }
}
@media print {
  .concept-link, .concept-viewer::backdrop { display: none !important; }
  .concept-sentence { text-decoration: none; }
}
